@mono-lit/utility 0.0.0-stage → 0.0.2

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.
Files changed (54) hide show
  1. package/LICENSE.md +54 -0
  2. package/README.md +157 -3
  3. package/dist/app-roots-CvJnmXcs.js +128 -0
  4. package/dist/app-roots-DK41xMWj.d.ts +90 -0
  5. package/dist/config-node-UzJrXg0Z.js +76 -0
  6. package/dist/config-node.d.ts +923 -0
  7. package/dist/config-node.js +7 -0
  8. package/dist/config.d.ts +2 -0
  9. package/dist/config.js +3 -0
  10. package/dist/create-config-B8IhX4ht.d.ts +735 -0
  11. package/dist/create-config-DdL3Fh6T.js +357 -0
  12. package/dist/fetching.d.ts +244 -0
  13. package/dist/fetching.js +1015 -0
  14. package/dist/generate-CJ7MtcDd.js +291 -0
  15. package/dist/index-BAy6tbOG.d.ts +371 -0
  16. package/dist/index-DYlzhHq7.d.ts +514 -0
  17. package/dist/index.d.ts +25 -0
  18. package/dist/index.js +941 -0
  19. package/dist/merge-file-CLc3wxY4.d.ts +99 -0
  20. package/dist/merge-file-CtyKTu5L.js +133 -0
  21. package/dist/mock-db-4tTWrF-P.js +1282 -0
  22. package/dist/mock-db.d.ts +2 -0
  23. package/dist/mock-db.js +4 -0
  24. package/dist/mono-alias-DNDm-jB_.js +508 -0
  25. package/dist/mono-clone.mjs +958 -0
  26. package/dist/mono-db.d.ts +1 -0
  27. package/dist/mono-db.js +158 -0
  28. package/dist/mono-env.mjs +231 -0
  29. package/dist/mono-git.mjs +798 -0
  30. package/dist/mono-link-YlOQ2PVS.js +488 -0
  31. package/dist/mono-prepare.d.ts +1 -0
  32. package/dist/mono-prepare.js +28 -0
  33. package/dist/mono-skills.d.ts +1 -0
  34. package/dist/mono-skills.js +837 -0
  35. package/dist/mono-tsconfig-D2qRL9_R.js +204 -0
  36. package/dist/mono.mjs +34 -0
  37. package/dist/nuxt-layers-DP1m7f1-.js +176 -0
  38. package/dist/nuxt-layers.d.ts +36 -0
  39. package/dist/nuxt-layers.js +3 -0
  40. package/dist/nuxt-runtime.d.ts +17 -0
  41. package/dist/nuxt-runtime.js +102 -0
  42. package/dist/nuxt.d.ts +390 -0
  43. package/dist/nuxt.js +737 -0
  44. package/dist/runtime-vs7U9Ed4.js +6054 -0
  45. package/dist/runtime.d.ts +2518 -0
  46. package/dist/runtime.js +4 -0
  47. package/dist/session-Bcig-rPi.js +1721 -0
  48. package/dist/types-B6FdB7LJ.d.ts +57 -0
  49. package/dist/universal-BR0O7Qwk.d.ts +59 -0
  50. package/dist/universal-DIVEzCvN.js +600 -0
  51. package/dist/virtual-mono-apps.d.ts +16 -0
  52. package/dist/vite.d.ts +943 -0
  53. package/dist/vite.js +1132 -0
  54. package/package.json +141 -3
@@ -0,0 +1,2518 @@
1
+ import { C as MonoSyncTransport, _ as MonoMergeableKey, c as MonoConfig, n as JWTCompleteTokenTypes, o as MonoAppType, t as DefaultJWTTokenTypes, w as MonoTemplate } from "./create-config-B8IhX4ht.js";
2
+ import { a as MonoFetchCookieOptions, i as LocalStorageParams, n as CookieTokenParams, o as NormalFetchOptions$1, r as JWTPayload, s as NormalFetchResult$1, t as CookieParams } from "./types-B6FdB7LJ.js";
3
+ import { a as monoToken, i as monoStorage, n as monoCookie, o as setMonoEventResolver, r as monoJwt, s as CookieApi, t as MonoRequestEvent } from "./universal-BR0O7Qwk.js";
4
+ import { A as ValidateErrorItem, B as NormalFetchOptions, C as Format, D as SchemaType, E as SchemaObject, F as LoopTemplate, G as NotifProps, H as OdataFetchTypes, I as PathValue, J as MonoNotifButton, K as MonoNotifActionProps, L as FetchLoading, M as ValidateSchema, N as Col, O as ValidateError, P as GroupTemplate, R as FetchOData, S as FilterExpression, T as Schema, U as TanstackFetchOptions, V as NormalFetchResult, W as useHelper, X as createStaticDatasource, Y as UseOdataStaticOpts, _ as getPrefetchBridge, a as TryCatchDatasourceParams, b as CustomSummary, c as extractErrorMessage, d as promiseWrapper, f as tryCatchDatasource, g as MonoPrefetchRequest, h as MonoPrefetchBridge, i as OdataFetchUniqueTypes, j as ValidateErrorSingle, k as ValidateErrorComplex, l as loadChuckStore, m as useNormalFetch, n as FetchOverrides, o as createFetcher, p as useFetchOData, q as MonoNotifActionTypes, r as LoadChunkStoreArgs, s as createUniqueFetcher, t as _default, u as parseDxError, v as setPrefetchBridge, w as HeaderFilter, x as DataGrid, y as OdataMapTypes, z as FetchParam } from "./index-DYlzhHq7.js";
5
+ import { InjectionKey, Plugin, Ref as Ref$1 } from "vue";
6
+ import { RouteRecordRaw } from "vue-router";
7
+ //#region src/token/client.d.ts
8
+ /** Client cookie util — `document.cookie` backed (unchanged public shape). */
9
+ export declare const useMyCookie: () => CookieApi;
10
+ /** Client token util — `document.cookie` backed (unchanged public shape). */
11
+ export declare const useMyToken: (options?: CookieTokenParams) => {
12
+ decode: <T extends object>(name?: CookieTokenParams["name"], split?: boolean) => JWTPayload<T> | null;
13
+ add: ({ name, value, days, milis, splitCookie }: Pick<CookieTokenParams, "name" | "value" | "days" | "milis" | "splitCookie">) => string | null | undefined;
14
+ get: (name?: CookieTokenParams["name"], split?: boolean) => CookieTokenParams["value"] | null;
15
+ replace: ({ name, value, days, milis, splitCookie }: Pick<CookieTokenParams, "name" | "value" | "days" | "milis" | "splitCookie">) => boolean;
16
+ fetch: <T = Record<string, any>>({ fetchParams, name, path, splitCookie }?: MonoFetchCookieOptions) => Promise<{
17
+ response: T | null;
18
+ cookie: string | null | undefined;
19
+ }>;
20
+ validate: (name?: CookieTokenParams["name"], split?: boolean) => boolean;
21
+ wrap: <T = any>({ name, fetchParams, path, splitCookie }?: Pick<CookieTokenParams, "name" | "splitCookie" | "fetchParams" | "path">, callback?: (value?: string | null) => T | undefined | Promise<T | undefined>) => Promise<T | undefined>;
22
+ };
23
+ //#endregion
24
+ //#region src/token/jwt.d.ts
25
+ export declare const useMyJwt: () => {
26
+ isJwt: (jwt: string) => boolean;
27
+ cookieDecode: <T extends object>({ cookie, token, splitCookie }: {
28
+ splitCookie?: CookieParams["split"];
29
+ cookie?: CookieParams["name"];
30
+ token?: CookieParams["value"];
31
+ }) => JWTPayload<T> | null;
32
+ };
33
+ //#endregion
34
+ //#region src/token/storage.d.ts
35
+ export declare const useMyStorage: (options?: LocalStorageParams) => {
36
+ get: (name: LocalStorageParams["name"]) => LocalStorageParams["value"] | LocalStorageParams[] | null;
37
+ add: ({ name, value, items }: Pick<LocalStorageParams, "name" | "value" | "items">) => string | null;
38
+ remove: (name: LocalStorageParams["name"]) => boolean;
39
+ change: ({ name, value }: Pick<LocalStorageParams, "name" | "value">) => string | null;
40
+ pull: (name: LocalStorageParams["name"]) => LocalStorageParams["value"] | null;
41
+ redirect: (url: string, { name, value, items }: Pick<LocalStorageParams, "name" | "value" | "items">) => void;
42
+ };
43
+ //#endregion
44
+ //#region src/token/fetch.d.ts
45
+ export declare function useMyFetch<T>(url: string, options: NormalFetchOptions$1): Promise<NormalFetchResult$1<T>>;
46
+ //#endregion
47
+ //#region src/composables/state.d.ts
48
+ /**
49
+ * `token` and `refreshToken` are always present (they reset to `{}` rather than vanish),
50
+ * so they stay named and typed. Any other key comes from a custom `jwt` entry in
51
+ * mono.config.ts — type those at the call site with `monoState<Override>()`.
52
+ */
53
+ type MonoJwtState = {
54
+ token: Partial<JWTCompleteTokenTypes>;
55
+ refreshToken: Partial<DefaultJWTTokenTypes>;
56
+ } & Record<string, Record<string, any>>;
57
+ type MonoStateShape = {
58
+ config?: MonoConfig;
59
+ cookie: Record<string, any>;
60
+ jwt: MonoJwtState;
61
+ };
62
+ export declare function monoStatePatch(patch: {
63
+ cookie?: Record<string, any>;
64
+ jwt?: Partial<MonoJwtState>;
65
+ }): void;
66
+ type DeepMerge<A, B> = { [K in keyof (A & B)]: K extends keyof A ? K extends keyof B ? A[K] extends object ? B[K] extends object ? DeepMerge<A[K], B[K]> : A[K] & B[K] : A[K] & B[K] : A[K] : K extends keyof B ? B[K] : never; };
67
+ export declare function monoState<Override extends object = {}>(): Readonly<Pick<DeepMerge<MonoStateShape, Override>, 'config' | 'cookie' | 'jwt'>>;
68
+ export declare function monoStateReset(): void;
69
+ /**
70
+ * Bridge between mono.config.ts and monoState().
71
+ *
72
+ * This reads:
73
+ * - configured cookies
74
+ * - configured jwt token cookie
75
+ * - configured refresh token cookie
76
+ *
77
+ * Then patches the shared reactive mono state.
78
+ */
79
+ export declare function initMono(option: MonoConfig): MonoConfig;
80
+ declare function monoConfig(): {
81
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | {
82
+ readonly config: (() => Partial<MonoConfig> | undefined) | {
83
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | {
84
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
85
+ readonly [x: string]: any;
86
+ }])[] | undefined;
87
+ readonly name?: string | undefined;
88
+ readonly type?: MonoAppType | undefined;
89
+ readonly template?: MonoTemplate | undefined;
90
+ readonly skill?: {
91
+ readonly url: string;
92
+ readonly envToken?: string | undefined;
93
+ } | undefined;
94
+ readonly menu?: readonly {
95
+ readonly title: string;
96
+ readonly subtitle?: string | undefined;
97
+ readonly url?: string | undefined;
98
+ readonly icon?: string | undefined;
99
+ readonly color?: string | undefined;
100
+ readonly button?: {
101
+ readonly title?: string | undefined;
102
+ readonly icon?: string | undefined;
103
+ } | undefined;
104
+ readonly items?: readonly /*elided*/ any[] | undefined;
105
+ readonly remoteName?: string | undefined;
106
+ readonly visible?: boolean | undefined;
107
+ readonly order?: number | undefined;
108
+ readonly route?: {
109
+ readonly meta: {
110
+ readonly layout: string;
111
+ readonly title: string;
112
+ };
113
+ } | undefined;
114
+ }[] | undefined;
115
+ readonly apps?: readonly {
116
+ readonly name: string;
117
+ readonly url?: string | undefined;
118
+ readonly path?: string | undefined;
119
+ readonly envToken?: string | undefined;
120
+ readonly transport?: MonoSyncTransport | undefined;
121
+ readonly type: MonoAppType;
122
+ }[] | undefined;
123
+ readonly fetching?: {
124
+ readonly api?: {
125
+ readonly [x: string]: {
126
+ readonly type: "restful" | "odata";
127
+ readonly url: string;
128
+ readonly oDataService?: any;
129
+ };
130
+ } | undefined;
131
+ readonly source?: {
132
+ readonly dataSource?: any;
133
+ readonly oDataStore?: any;
134
+ readonly customStore?: any;
135
+ } | undefined;
136
+ readonly auth?: {
137
+ readonly token?: string | undefined;
138
+ readonly tokenRefresh?: string | undefined;
139
+ readonly use?: "token" | "tokenRefresh" | {
140
+ readonly apiRequest?: string | undefined;
141
+ readonly refreshTokenRequest?: string | undefined;
142
+ } | undefined;
143
+ readonly requestRefreshTokenRequest?: {
144
+ readonly name?: string | undefined;
145
+ readonly path: {
146
+ readonly milis?: string | undefined;
147
+ readonly days?: string | undefined;
148
+ readonly value?: string | undefined;
149
+ readonly name?: string | undefined;
150
+ };
151
+ readonly splitCookie?: boolean | undefined;
152
+ readonly fetchParams: {
153
+ readonly url: string;
154
+ readonly options?: {
155
+ readonly [x: string]: any;
156
+ readonly baseUrl?: string | undefined;
157
+ } | undefined;
158
+ };
159
+ } | undefined;
160
+ readonly expiredBehaviour?: "refresh" | undefined;
161
+ } | undefined;
162
+ } | undefined;
163
+ readonly env?: {
164
+ readonly [x: string]: {
165
+ readonly [x: string]: string | number | boolean;
166
+ } | undefined;
167
+ readonly default?: {
168
+ readonly [x: string]: string | number | boolean;
169
+ } | undefined;
170
+ } | undefined;
171
+ readonly mockIndexedDB?: {
172
+ readonly dbName?: string | undefined;
173
+ readonly version?: number | undefined;
174
+ readonly seedCount?: number | undefined;
175
+ readonly seedRandom?: number | undefined;
176
+ readonly schema: {
177
+ readonly [x: string]: {
178
+ readonly [x: string]: {
179
+ readonly fields: {
180
+ readonly [x: string]: string;
181
+ };
182
+ readonly seed?: readonly {
183
+ readonly [x: string]: any;
184
+ }[] | undefined;
185
+ };
186
+ };
187
+ };
188
+ } | undefined;
189
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
190
+ readonly jwt?: {
191
+ readonly [x: string]: {
192
+ readonly name: string | {
193
+ readonly [x: string]: any;
194
+ };
195
+ readonly split?: boolean | undefined;
196
+ } | undefined;
197
+ readonly token?: {
198
+ readonly name: string | {
199
+ readonly USER_ID?: string | undefined;
200
+ readonly USER_NAME?: string | undefined;
201
+ readonly NAME?: string | undefined;
202
+ readonly CHANNEL?: string | undefined;
203
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
204
+ readonly ROLE_ID?: string | undefined;
205
+ readonly ROLE_NAME?: string | undefined;
206
+ readonly ROLE_TYPE?: string | undefined;
207
+ readonly ORG_NAME?: string | undefined;
208
+ readonly JOBPOS_ID?: string | undefined;
209
+ readonly JOBPOS_NAME?: string | undefined;
210
+ readonly JOBLVL_ID?: string | undefined;
211
+ readonly JOBLVL_NAME?: string | undefined;
212
+ readonly COMPANY_DB?: string | undefined;
213
+ readonly DEPT_CODE?: string | undefined;
214
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
215
+ readonly COMPANY_ID?: string | undefined;
216
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
217
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
218
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
219
+ readonly ALL_BRAND?: "0" | "1" | undefined;
220
+ readonly ALL_AREA?: "0" | "1" | undefined;
221
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
222
+ readonly USER_BRAND?: string | undefined;
223
+ readonly USER_AREA?: string | undefined;
224
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
225
+ readonly EXPIRED?: string | undefined;
226
+ readonly PERMISSIONS?: string | readonly {
227
+ readonly permId: number;
228
+ readonly module: string;
229
+ readonly canView: boolean;
230
+ readonly canEdit: boolean;
231
+ readonly canDelete: boolean;
232
+ readonly canCreate: boolean;
233
+ readonly canApprove: boolean;
234
+ readonly canReport: boolean;
235
+ }[] | undefined;
236
+ readonly nbf?: number | undefined;
237
+ readonly exp?: number | undefined;
238
+ readonly iat?: number | undefined;
239
+ };
240
+ readonly split?: boolean | undefined;
241
+ } | undefined;
242
+ readonly refreshToken?: {
243
+ readonly name: string | {
244
+ readonly nbf?: number | undefined;
245
+ readonly exp?: number | undefined;
246
+ readonly iat?: number | undefined;
247
+ };
248
+ readonly split?: boolean | undefined;
249
+ } | undefined;
250
+ } | undefined;
251
+ readonly cookie?: readonly {
252
+ readonly name: string;
253
+ readonly split?: boolean | undefined;
254
+ }[] | undefined;
255
+ readonly config?: never | undefined;
256
+ readonly merges?: never | undefined;
257
+ readonly ecosystems?: never | undefined;
258
+ } | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | {
259
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
260
+ readonly [x: string]: any;
261
+ }])[] | undefined;
262
+ readonly name?: string | undefined;
263
+ readonly type?: MonoAppType | undefined;
264
+ readonly template?: MonoTemplate | undefined;
265
+ readonly skill?: {
266
+ readonly url: string;
267
+ readonly envToken?: string | undefined;
268
+ } | undefined;
269
+ readonly menu?: readonly {
270
+ readonly title: string;
271
+ readonly subtitle?: string | undefined;
272
+ readonly url?: string | undefined;
273
+ readonly icon?: string | undefined;
274
+ readonly color?: string | undefined;
275
+ readonly button?: {
276
+ readonly title?: string | undefined;
277
+ readonly icon?: string | undefined;
278
+ } | undefined;
279
+ readonly items?: readonly /*elided*/ any[] | undefined;
280
+ readonly remoteName?: string | undefined;
281
+ readonly visible?: boolean | undefined;
282
+ readonly order?: number | undefined;
283
+ readonly route?: {
284
+ readonly meta: {
285
+ readonly layout: string;
286
+ readonly title: string;
287
+ };
288
+ } | undefined;
289
+ }[] | undefined;
290
+ readonly apps?: readonly {
291
+ readonly name: string;
292
+ readonly url?: string | undefined;
293
+ readonly path?: string | undefined;
294
+ readonly envToken?: string | undefined;
295
+ readonly transport?: MonoSyncTransport | undefined;
296
+ readonly type: MonoAppType;
297
+ }[] | undefined;
298
+ readonly fetching?: {
299
+ readonly api?: {
300
+ readonly [x: string]: {
301
+ readonly type: "restful" | "odata";
302
+ readonly url: string;
303
+ readonly oDataService?: any;
304
+ };
305
+ } | undefined;
306
+ readonly source?: {
307
+ readonly dataSource?: any;
308
+ readonly oDataStore?: any;
309
+ readonly customStore?: any;
310
+ } | undefined;
311
+ readonly auth?: {
312
+ readonly token?: string | undefined;
313
+ readonly tokenRefresh?: string | undefined;
314
+ readonly use?: "token" | "tokenRefresh" | {
315
+ readonly apiRequest?: string | undefined;
316
+ readonly refreshTokenRequest?: string | undefined;
317
+ } | undefined;
318
+ readonly requestRefreshTokenRequest?: {
319
+ readonly name?: string | undefined;
320
+ readonly path: {
321
+ readonly milis?: string | undefined;
322
+ readonly days?: string | undefined;
323
+ readonly value?: string | undefined;
324
+ readonly name?: string | undefined;
325
+ };
326
+ readonly splitCookie?: boolean | undefined;
327
+ readonly fetchParams: {
328
+ readonly url: string;
329
+ readonly options?: {
330
+ readonly [x: string]: any;
331
+ readonly baseUrl?: string | undefined;
332
+ } | undefined;
333
+ };
334
+ } | undefined;
335
+ readonly expiredBehaviour?: "refresh" | undefined;
336
+ } | undefined;
337
+ } | undefined;
338
+ readonly env?: {
339
+ readonly [x: string]: {
340
+ readonly [x: string]: string | number | boolean;
341
+ } | undefined;
342
+ readonly default?: {
343
+ readonly [x: string]: string | number | boolean;
344
+ } | undefined;
345
+ } | undefined;
346
+ readonly mockIndexedDB?: {
347
+ readonly dbName?: string | undefined;
348
+ readonly version?: number | undefined;
349
+ readonly seedCount?: number | undefined;
350
+ readonly seedRandom?: number | undefined;
351
+ readonly schema: {
352
+ readonly [x: string]: {
353
+ readonly [x: string]: {
354
+ readonly fields: {
355
+ readonly [x: string]: string;
356
+ };
357
+ readonly seed?: readonly {
358
+ readonly [x: string]: any;
359
+ }[] | undefined;
360
+ };
361
+ };
362
+ };
363
+ } | undefined;
364
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
365
+ readonly jwt?: {
366
+ readonly [x: string]: {
367
+ readonly name: string | {
368
+ readonly [x: string]: any;
369
+ };
370
+ readonly split?: boolean | undefined;
371
+ } | undefined;
372
+ readonly token?: {
373
+ readonly name: string | {
374
+ readonly USER_ID?: string | undefined;
375
+ readonly USER_NAME?: string | undefined;
376
+ readonly NAME?: string | undefined;
377
+ readonly CHANNEL?: string | undefined;
378
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
379
+ readonly ROLE_ID?: string | undefined;
380
+ readonly ROLE_NAME?: string | undefined;
381
+ readonly ROLE_TYPE?: string | undefined;
382
+ readonly ORG_NAME?: string | undefined;
383
+ readonly JOBPOS_ID?: string | undefined;
384
+ readonly JOBPOS_NAME?: string | undefined;
385
+ readonly JOBLVL_ID?: string | undefined;
386
+ readonly JOBLVL_NAME?: string | undefined;
387
+ readonly COMPANY_DB?: string | undefined;
388
+ readonly DEPT_CODE?: string | undefined;
389
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
390
+ readonly COMPANY_ID?: string | undefined;
391
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
392
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
393
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
394
+ readonly ALL_BRAND?: "0" | "1" | undefined;
395
+ readonly ALL_AREA?: "0" | "1" | undefined;
396
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
397
+ readonly USER_BRAND?: string | undefined;
398
+ readonly USER_AREA?: string | undefined;
399
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
400
+ readonly EXPIRED?: string | undefined;
401
+ readonly PERMISSIONS?: string | readonly {
402
+ readonly permId: number;
403
+ readonly module: string;
404
+ readonly canView: boolean;
405
+ readonly canEdit: boolean;
406
+ readonly canDelete: boolean;
407
+ readonly canCreate: boolean;
408
+ readonly canApprove: boolean;
409
+ readonly canReport: boolean;
410
+ }[] | undefined;
411
+ readonly nbf?: number | undefined;
412
+ readonly exp?: number | undefined;
413
+ readonly iat?: number | undefined;
414
+ };
415
+ readonly split?: boolean | undefined;
416
+ } | undefined;
417
+ readonly refreshToken?: {
418
+ readonly name: string | {
419
+ readonly nbf?: number | undefined;
420
+ readonly exp?: number | undefined;
421
+ readonly iat?: number | undefined;
422
+ };
423
+ readonly split?: boolean | undefined;
424
+ } | undefined;
425
+ } | undefined;
426
+ readonly cookie?: readonly {
427
+ readonly name: string;
428
+ readonly split?: boolean | undefined;
429
+ }[] | undefined;
430
+ readonly config?: never | undefined;
431
+ readonly merges?: never | undefined;
432
+ readonly ecosystems?: never | undefined;
433
+ } | readonly [string, {
434
+ readonly [x: string]: any;
435
+ }])[] | undefined;
436
+ readonly name?: string | undefined;
437
+ readonly type?: MonoAppType | undefined;
438
+ readonly template?: MonoTemplate | undefined;
439
+ readonly skill?: {
440
+ readonly url: string;
441
+ readonly envToken?: string | undefined;
442
+ } | undefined;
443
+ readonly menu?: readonly {
444
+ readonly title: string;
445
+ readonly subtitle?: string | undefined;
446
+ readonly url?: string | undefined;
447
+ readonly icon?: string | undefined;
448
+ readonly color?: string | undefined;
449
+ readonly button?: {
450
+ readonly title?: string | undefined;
451
+ readonly icon?: string | undefined;
452
+ } | undefined;
453
+ readonly items?: readonly /*elided*/ any[] | undefined;
454
+ readonly remoteName?: string | undefined;
455
+ readonly visible?: boolean | undefined;
456
+ readonly order?: number | undefined;
457
+ readonly route?: {
458
+ readonly meta: {
459
+ readonly layout: string;
460
+ readonly title: string;
461
+ };
462
+ } | undefined;
463
+ }[] | undefined;
464
+ readonly apps?: readonly {
465
+ readonly name: string;
466
+ readonly url?: string | undefined;
467
+ readonly path?: string | undefined;
468
+ readonly envToken?: string | undefined;
469
+ readonly transport?: MonoSyncTransport | undefined;
470
+ readonly type: MonoAppType;
471
+ }[] | undefined;
472
+ readonly fetching?: {
473
+ readonly api?: {
474
+ readonly [x: string]: {
475
+ readonly type: "restful" | "odata";
476
+ readonly url: string;
477
+ readonly oDataService?: any;
478
+ };
479
+ } | undefined;
480
+ readonly source?: {
481
+ readonly dataSource?: any;
482
+ readonly oDataStore?: any;
483
+ readonly customStore?: any;
484
+ } | undefined;
485
+ readonly auth?: {
486
+ readonly token?: string | undefined;
487
+ readonly tokenRefresh?: string | undefined;
488
+ readonly use?: "token" | "tokenRefresh" | {
489
+ readonly apiRequest?: string | undefined;
490
+ readonly refreshTokenRequest?: string | undefined;
491
+ } | undefined;
492
+ readonly requestRefreshTokenRequest?: {
493
+ readonly name?: string | undefined;
494
+ readonly path: {
495
+ readonly milis?: string | undefined;
496
+ readonly days?: string | undefined;
497
+ readonly value?: string | undefined;
498
+ readonly name?: string | undefined;
499
+ };
500
+ readonly splitCookie?: boolean | undefined;
501
+ readonly fetchParams: {
502
+ readonly url: string;
503
+ readonly options?: {
504
+ readonly [x: string]: any;
505
+ readonly baseUrl?: string | undefined;
506
+ } | undefined;
507
+ };
508
+ } | undefined;
509
+ readonly expiredBehaviour?: "refresh" | undefined;
510
+ } | undefined;
511
+ } | undefined;
512
+ readonly env?: {
513
+ readonly [x: string]: {
514
+ readonly [x: string]: string | number | boolean;
515
+ } | undefined;
516
+ readonly default?: {
517
+ readonly [x: string]: string | number | boolean;
518
+ } | undefined;
519
+ } | undefined;
520
+ readonly mockIndexedDB?: {
521
+ readonly dbName?: string | undefined;
522
+ readonly version?: number | undefined;
523
+ readonly seedCount?: number | undefined;
524
+ readonly seedRandom?: number | undefined;
525
+ readonly schema: {
526
+ readonly [x: string]: {
527
+ readonly [x: string]: {
528
+ readonly fields: {
529
+ readonly [x: string]: string;
530
+ };
531
+ readonly seed?: readonly {
532
+ readonly [x: string]: any;
533
+ }[] | undefined;
534
+ };
535
+ };
536
+ };
537
+ } | undefined;
538
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
539
+ readonly jwt?: {
540
+ readonly [x: string]: {
541
+ readonly name: string | {
542
+ readonly [x: string]: any;
543
+ };
544
+ readonly split?: boolean | undefined;
545
+ } | undefined;
546
+ readonly token?: {
547
+ readonly name: string | {
548
+ readonly USER_ID?: string | undefined;
549
+ readonly USER_NAME?: string | undefined;
550
+ readonly NAME?: string | undefined;
551
+ readonly CHANNEL?: string | undefined;
552
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
553
+ readonly ROLE_ID?: string | undefined;
554
+ readonly ROLE_NAME?: string | undefined;
555
+ readonly ROLE_TYPE?: string | undefined;
556
+ readonly ORG_NAME?: string | undefined;
557
+ readonly JOBPOS_ID?: string | undefined;
558
+ readonly JOBPOS_NAME?: string | undefined;
559
+ readonly JOBLVL_ID?: string | undefined;
560
+ readonly JOBLVL_NAME?: string | undefined;
561
+ readonly COMPANY_DB?: string | undefined;
562
+ readonly DEPT_CODE?: string | undefined;
563
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
564
+ readonly COMPANY_ID?: string | undefined;
565
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
566
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
567
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
568
+ readonly ALL_BRAND?: "0" | "1" | undefined;
569
+ readonly ALL_AREA?: "0" | "1" | undefined;
570
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
571
+ readonly USER_BRAND?: string | undefined;
572
+ readonly USER_AREA?: string | undefined;
573
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
574
+ readonly EXPIRED?: string | undefined;
575
+ readonly PERMISSIONS?: string | readonly {
576
+ readonly permId: number;
577
+ readonly module: string;
578
+ readonly canView: boolean;
579
+ readonly canEdit: boolean;
580
+ readonly canDelete: boolean;
581
+ readonly canCreate: boolean;
582
+ readonly canApprove: boolean;
583
+ readonly canReport: boolean;
584
+ }[] | undefined;
585
+ readonly nbf?: number | undefined;
586
+ readonly exp?: number | undefined;
587
+ readonly iat?: number | undefined;
588
+ };
589
+ readonly split?: boolean | undefined;
590
+ } | undefined;
591
+ readonly refreshToken?: {
592
+ readonly name: string | {
593
+ readonly nbf?: number | undefined;
594
+ readonly exp?: number | undefined;
595
+ readonly iat?: number | undefined;
596
+ };
597
+ readonly split?: boolean | undefined;
598
+ } | undefined;
599
+ } | undefined;
600
+ readonly cookie?: readonly {
601
+ readonly name: string;
602
+ readonly split?: boolean | undefined;
603
+ }[] | undefined;
604
+ };
605
+ readonly merges?: readonly MonoMergeableKey[] | undefined;
606
+ readonly ecosystems?: readonly string[] | undefined;
607
+ } | {
608
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | {
609
+ readonly config: (() => Partial<MonoConfig> | undefined) | {
610
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
611
+ readonly [x: string]: any;
612
+ }])[] | undefined;
613
+ readonly name?: string | undefined;
614
+ readonly type?: MonoAppType | undefined;
615
+ readonly template?: MonoTemplate | undefined;
616
+ readonly skill?: {
617
+ readonly url: string;
618
+ readonly envToken?: string | undefined;
619
+ } | undefined;
620
+ readonly menu?: readonly {
621
+ readonly title: string;
622
+ readonly subtitle?: string | undefined;
623
+ readonly url?: string | undefined;
624
+ readonly icon?: string | undefined;
625
+ readonly color?: string | undefined;
626
+ readonly button?: {
627
+ readonly title?: string | undefined;
628
+ readonly icon?: string | undefined;
629
+ } | undefined;
630
+ readonly items?: readonly /*elided*/ any[] | undefined;
631
+ readonly remoteName?: string | undefined;
632
+ readonly visible?: boolean | undefined;
633
+ readonly order?: number | undefined;
634
+ readonly route?: {
635
+ readonly meta: {
636
+ readonly layout: string;
637
+ readonly title: string;
638
+ };
639
+ } | undefined;
640
+ }[] | undefined;
641
+ readonly apps?: readonly {
642
+ readonly name: string;
643
+ readonly url?: string | undefined;
644
+ readonly path?: string | undefined;
645
+ readonly envToken?: string | undefined;
646
+ readonly transport?: MonoSyncTransport | undefined;
647
+ readonly type: MonoAppType;
648
+ }[] | undefined;
649
+ readonly fetching?: {
650
+ readonly api?: {
651
+ readonly [x: string]: {
652
+ readonly type: "restful" | "odata";
653
+ readonly url: string;
654
+ readonly oDataService?: any;
655
+ };
656
+ } | undefined;
657
+ readonly source?: {
658
+ readonly dataSource?: any;
659
+ readonly oDataStore?: any;
660
+ readonly customStore?: any;
661
+ } | undefined;
662
+ readonly auth?: {
663
+ readonly token?: string | undefined;
664
+ readonly tokenRefresh?: string | undefined;
665
+ readonly use?: "token" | "tokenRefresh" | {
666
+ readonly apiRequest?: string | undefined;
667
+ readonly refreshTokenRequest?: string | undefined;
668
+ } | undefined;
669
+ readonly requestRefreshTokenRequest?: {
670
+ readonly name?: string | undefined;
671
+ readonly path: {
672
+ readonly milis?: string | undefined;
673
+ readonly days?: string | undefined;
674
+ readonly value?: string | undefined;
675
+ readonly name?: string | undefined;
676
+ };
677
+ readonly splitCookie?: boolean | undefined;
678
+ readonly fetchParams: {
679
+ readonly url: string;
680
+ readonly options?: {
681
+ readonly [x: string]: any;
682
+ readonly baseUrl?: string | undefined;
683
+ } | undefined;
684
+ };
685
+ } | undefined;
686
+ readonly expiredBehaviour?: "refresh" | undefined;
687
+ } | undefined;
688
+ } | undefined;
689
+ readonly env?: {
690
+ readonly [x: string]: {
691
+ readonly [x: string]: string | number | boolean;
692
+ } | undefined;
693
+ readonly default?: {
694
+ readonly [x: string]: string | number | boolean;
695
+ } | undefined;
696
+ } | undefined;
697
+ readonly mockIndexedDB?: {
698
+ readonly dbName?: string | undefined;
699
+ readonly version?: number | undefined;
700
+ readonly seedCount?: number | undefined;
701
+ readonly seedRandom?: number | undefined;
702
+ readonly schema: {
703
+ readonly [x: string]: {
704
+ readonly [x: string]: {
705
+ readonly fields: {
706
+ readonly [x: string]: string;
707
+ };
708
+ readonly seed?: readonly {
709
+ readonly [x: string]: any;
710
+ }[] | undefined;
711
+ };
712
+ };
713
+ };
714
+ } | undefined;
715
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
716
+ readonly jwt?: {
717
+ readonly [x: string]: {
718
+ readonly name: string | {
719
+ readonly [x: string]: any;
720
+ };
721
+ readonly split?: boolean | undefined;
722
+ } | undefined;
723
+ readonly token?: {
724
+ readonly name: string | {
725
+ readonly USER_ID?: string | undefined;
726
+ readonly USER_NAME?: string | undefined;
727
+ readonly NAME?: string | undefined;
728
+ readonly CHANNEL?: string | undefined;
729
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
730
+ readonly ROLE_ID?: string | undefined;
731
+ readonly ROLE_NAME?: string | undefined;
732
+ readonly ROLE_TYPE?: string | undefined;
733
+ readonly ORG_NAME?: string | undefined;
734
+ readonly JOBPOS_ID?: string | undefined;
735
+ readonly JOBPOS_NAME?: string | undefined;
736
+ readonly JOBLVL_ID?: string | undefined;
737
+ readonly JOBLVL_NAME?: string | undefined;
738
+ readonly COMPANY_DB?: string | undefined;
739
+ readonly DEPT_CODE?: string | undefined;
740
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
741
+ readonly COMPANY_ID?: string | undefined;
742
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
743
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
744
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
745
+ readonly ALL_BRAND?: "0" | "1" | undefined;
746
+ readonly ALL_AREA?: "0" | "1" | undefined;
747
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
748
+ readonly USER_BRAND?: string | undefined;
749
+ readonly USER_AREA?: string | undefined;
750
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
751
+ readonly EXPIRED?: string | undefined;
752
+ readonly PERMISSIONS?: string | readonly {
753
+ readonly permId: number;
754
+ readonly module: string;
755
+ readonly canView: boolean;
756
+ readonly canEdit: boolean;
757
+ readonly canDelete: boolean;
758
+ readonly canCreate: boolean;
759
+ readonly canApprove: boolean;
760
+ readonly canReport: boolean;
761
+ }[] | undefined;
762
+ readonly nbf?: number | undefined;
763
+ readonly exp?: number | undefined;
764
+ readonly iat?: number | undefined;
765
+ };
766
+ readonly split?: boolean | undefined;
767
+ } | undefined;
768
+ readonly refreshToken?: {
769
+ readonly name: string | {
770
+ readonly nbf?: number | undefined;
771
+ readonly exp?: number | undefined;
772
+ readonly iat?: number | undefined;
773
+ };
774
+ readonly split?: boolean | undefined;
775
+ } | undefined;
776
+ } | undefined;
777
+ readonly cookie?: readonly {
778
+ readonly name: string;
779
+ readonly split?: boolean | undefined;
780
+ }[] | undefined;
781
+ };
782
+ readonly merges?: readonly MonoMergeableKey[] | undefined;
783
+ readonly ecosystems?: readonly string[] | undefined;
784
+ } | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | {
785
+ readonly config: (() => Partial<MonoConfig> | undefined) | {
786
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
787
+ readonly [x: string]: any;
788
+ }])[] | undefined;
789
+ readonly name?: string | undefined;
790
+ readonly type?: MonoAppType | undefined;
791
+ readonly template?: MonoTemplate | undefined;
792
+ readonly skill?: {
793
+ readonly url: string;
794
+ readonly envToken?: string | undefined;
795
+ } | undefined;
796
+ readonly menu?: readonly {
797
+ readonly title: string;
798
+ readonly subtitle?: string | undefined;
799
+ readonly url?: string | undefined;
800
+ readonly icon?: string | undefined;
801
+ readonly color?: string | undefined;
802
+ readonly button?: {
803
+ readonly title?: string | undefined;
804
+ readonly icon?: string | undefined;
805
+ } | undefined;
806
+ readonly items?: readonly /*elided*/ any[] | undefined;
807
+ readonly remoteName?: string | undefined;
808
+ readonly visible?: boolean | undefined;
809
+ readonly order?: number | undefined;
810
+ readonly route?: {
811
+ readonly meta: {
812
+ readonly layout: string;
813
+ readonly title: string;
814
+ };
815
+ } | undefined;
816
+ }[] | undefined;
817
+ readonly apps?: readonly {
818
+ readonly name: string;
819
+ readonly url?: string | undefined;
820
+ readonly path?: string | undefined;
821
+ readonly envToken?: string | undefined;
822
+ readonly transport?: MonoSyncTransport | undefined;
823
+ readonly type: MonoAppType;
824
+ }[] | undefined;
825
+ readonly fetching?: {
826
+ readonly api?: {
827
+ readonly [x: string]: {
828
+ readonly type: "restful" | "odata";
829
+ readonly url: string;
830
+ readonly oDataService?: any;
831
+ };
832
+ } | undefined;
833
+ readonly source?: {
834
+ readonly dataSource?: any;
835
+ readonly oDataStore?: any;
836
+ readonly customStore?: any;
837
+ } | undefined;
838
+ readonly auth?: {
839
+ readonly token?: string | undefined;
840
+ readonly tokenRefresh?: string | undefined;
841
+ readonly use?: "token" | "tokenRefresh" | {
842
+ readonly apiRequest?: string | undefined;
843
+ readonly refreshTokenRequest?: string | undefined;
844
+ } | undefined;
845
+ readonly requestRefreshTokenRequest?: {
846
+ readonly name?: string | undefined;
847
+ readonly path: {
848
+ readonly milis?: string | undefined;
849
+ readonly days?: string | undefined;
850
+ readonly value?: string | undefined;
851
+ readonly name?: string | undefined;
852
+ };
853
+ readonly splitCookie?: boolean | undefined;
854
+ readonly fetchParams: {
855
+ readonly url: string;
856
+ readonly options?: {
857
+ readonly [x: string]: any;
858
+ readonly baseUrl?: string | undefined;
859
+ } | undefined;
860
+ };
861
+ } | undefined;
862
+ readonly expiredBehaviour?: "refresh" | undefined;
863
+ } | undefined;
864
+ } | undefined;
865
+ readonly env?: {
866
+ readonly [x: string]: {
867
+ readonly [x: string]: string | number | boolean;
868
+ } | undefined;
869
+ readonly default?: {
870
+ readonly [x: string]: string | number | boolean;
871
+ } | undefined;
872
+ } | undefined;
873
+ readonly mockIndexedDB?: {
874
+ readonly dbName?: string | undefined;
875
+ readonly version?: number | undefined;
876
+ readonly seedCount?: number | undefined;
877
+ readonly seedRandom?: number | undefined;
878
+ readonly schema: {
879
+ readonly [x: string]: {
880
+ readonly [x: string]: {
881
+ readonly fields: {
882
+ readonly [x: string]: string;
883
+ };
884
+ readonly seed?: readonly {
885
+ readonly [x: string]: any;
886
+ }[] | undefined;
887
+ };
888
+ };
889
+ };
890
+ } | undefined;
891
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
892
+ readonly jwt?: {
893
+ readonly [x: string]: {
894
+ readonly name: string | {
895
+ readonly [x: string]: any;
896
+ };
897
+ readonly split?: boolean | undefined;
898
+ } | undefined;
899
+ readonly token?: {
900
+ readonly name: string | {
901
+ readonly USER_ID?: string | undefined;
902
+ readonly USER_NAME?: string | undefined;
903
+ readonly NAME?: string | undefined;
904
+ readonly CHANNEL?: string | undefined;
905
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
906
+ readonly ROLE_ID?: string | undefined;
907
+ readonly ROLE_NAME?: string | undefined;
908
+ readonly ROLE_TYPE?: string | undefined;
909
+ readonly ORG_NAME?: string | undefined;
910
+ readonly JOBPOS_ID?: string | undefined;
911
+ readonly JOBPOS_NAME?: string | undefined;
912
+ readonly JOBLVL_ID?: string | undefined;
913
+ readonly JOBLVL_NAME?: string | undefined;
914
+ readonly COMPANY_DB?: string | undefined;
915
+ readonly DEPT_CODE?: string | undefined;
916
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
917
+ readonly COMPANY_ID?: string | undefined;
918
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
919
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
920
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
921
+ readonly ALL_BRAND?: "0" | "1" | undefined;
922
+ readonly ALL_AREA?: "0" | "1" | undefined;
923
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
924
+ readonly USER_BRAND?: string | undefined;
925
+ readonly USER_AREA?: string | undefined;
926
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
927
+ readonly EXPIRED?: string | undefined;
928
+ readonly PERMISSIONS?: string | readonly {
929
+ readonly permId: number;
930
+ readonly module: string;
931
+ readonly canView: boolean;
932
+ readonly canEdit: boolean;
933
+ readonly canDelete: boolean;
934
+ readonly canCreate: boolean;
935
+ readonly canApprove: boolean;
936
+ readonly canReport: boolean;
937
+ }[] | undefined;
938
+ readonly nbf?: number | undefined;
939
+ readonly exp?: number | undefined;
940
+ readonly iat?: number | undefined;
941
+ };
942
+ readonly split?: boolean | undefined;
943
+ } | undefined;
944
+ readonly refreshToken?: {
945
+ readonly name: string | {
946
+ readonly nbf?: number | undefined;
947
+ readonly exp?: number | undefined;
948
+ readonly iat?: number | undefined;
949
+ };
950
+ readonly split?: boolean | undefined;
951
+ } | undefined;
952
+ } | undefined;
953
+ readonly cookie?: readonly {
954
+ readonly name: string;
955
+ readonly split?: boolean | undefined;
956
+ }[] | undefined;
957
+ };
958
+ readonly merges?: readonly MonoMergeableKey[] | undefined;
959
+ readonly ecosystems?: readonly string[] | undefined;
960
+ } | /*elided*/ any | readonly [string, {
961
+ readonly [x: string]: any;
962
+ }])[] | undefined;
963
+ readonly name?: string | undefined;
964
+ readonly type?: MonoAppType | undefined;
965
+ readonly template?: MonoTemplate | undefined;
966
+ readonly skill?: {
967
+ readonly url: string;
968
+ readonly envToken?: string | undefined;
969
+ } | undefined;
970
+ readonly menu?: readonly {
971
+ readonly title: string;
972
+ readonly subtitle?: string | undefined;
973
+ readonly url?: string | undefined;
974
+ readonly icon?: string | undefined;
975
+ readonly color?: string | undefined;
976
+ readonly button?: {
977
+ readonly title?: string | undefined;
978
+ readonly icon?: string | undefined;
979
+ } | undefined;
980
+ readonly items?: readonly /*elided*/ any[] | undefined;
981
+ readonly remoteName?: string | undefined;
982
+ readonly visible?: boolean | undefined;
983
+ readonly order?: number | undefined;
984
+ readonly route?: {
985
+ readonly meta: {
986
+ readonly layout: string;
987
+ readonly title: string;
988
+ };
989
+ } | undefined;
990
+ }[] | undefined;
991
+ readonly apps?: readonly {
992
+ readonly name: string;
993
+ readonly url?: string | undefined;
994
+ readonly path?: string | undefined;
995
+ readonly envToken?: string | undefined;
996
+ readonly transport?: MonoSyncTransport | undefined;
997
+ readonly type: MonoAppType;
998
+ }[] | undefined;
999
+ readonly fetching?: {
1000
+ readonly api?: {
1001
+ readonly [x: string]: {
1002
+ readonly type: "restful" | "odata";
1003
+ readonly url: string;
1004
+ readonly oDataService?: any;
1005
+ };
1006
+ } | undefined;
1007
+ readonly source?: {
1008
+ readonly dataSource?: any;
1009
+ readonly oDataStore?: any;
1010
+ readonly customStore?: any;
1011
+ } | undefined;
1012
+ readonly auth?: {
1013
+ readonly token?: string | undefined;
1014
+ readonly tokenRefresh?: string | undefined;
1015
+ readonly use?: "token" | "tokenRefresh" | {
1016
+ readonly apiRequest?: string | undefined;
1017
+ readonly refreshTokenRequest?: string | undefined;
1018
+ } | undefined;
1019
+ readonly requestRefreshTokenRequest?: {
1020
+ readonly name?: string | undefined;
1021
+ readonly path: {
1022
+ readonly milis?: string | undefined;
1023
+ readonly days?: string | undefined;
1024
+ readonly value?: string | undefined;
1025
+ readonly name?: string | undefined;
1026
+ };
1027
+ readonly splitCookie?: boolean | undefined;
1028
+ readonly fetchParams: {
1029
+ readonly url: string;
1030
+ readonly options?: {
1031
+ readonly [x: string]: any;
1032
+ readonly baseUrl?: string | undefined;
1033
+ } | undefined;
1034
+ };
1035
+ } | undefined;
1036
+ readonly expiredBehaviour?: "refresh" | undefined;
1037
+ } | undefined;
1038
+ } | undefined;
1039
+ readonly env?: {
1040
+ readonly [x: string]: {
1041
+ readonly [x: string]: string | number | boolean;
1042
+ } | undefined;
1043
+ readonly default?: {
1044
+ readonly [x: string]: string | number | boolean;
1045
+ } | undefined;
1046
+ } | undefined;
1047
+ readonly mockIndexedDB?: {
1048
+ readonly dbName?: string | undefined;
1049
+ readonly version?: number | undefined;
1050
+ readonly seedCount?: number | undefined;
1051
+ readonly seedRandom?: number | undefined;
1052
+ readonly schema: {
1053
+ readonly [x: string]: {
1054
+ readonly [x: string]: {
1055
+ readonly fields: {
1056
+ readonly [x: string]: string;
1057
+ };
1058
+ readonly seed?: readonly {
1059
+ readonly [x: string]: any;
1060
+ }[] | undefined;
1061
+ };
1062
+ };
1063
+ };
1064
+ } | undefined;
1065
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
1066
+ readonly jwt?: {
1067
+ readonly [x: string]: {
1068
+ readonly name: string | {
1069
+ readonly [x: string]: any;
1070
+ };
1071
+ readonly split?: boolean | undefined;
1072
+ } | undefined;
1073
+ readonly token?: {
1074
+ readonly name: string | {
1075
+ readonly USER_ID?: string | undefined;
1076
+ readonly USER_NAME?: string | undefined;
1077
+ readonly NAME?: string | undefined;
1078
+ readonly CHANNEL?: string | undefined;
1079
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
1080
+ readonly ROLE_ID?: string | undefined;
1081
+ readonly ROLE_NAME?: string | undefined;
1082
+ readonly ROLE_TYPE?: string | undefined;
1083
+ readonly ORG_NAME?: string | undefined;
1084
+ readonly JOBPOS_ID?: string | undefined;
1085
+ readonly JOBPOS_NAME?: string | undefined;
1086
+ readonly JOBLVL_ID?: string | undefined;
1087
+ readonly JOBLVL_NAME?: string | undefined;
1088
+ readonly COMPANY_DB?: string | undefined;
1089
+ readonly DEPT_CODE?: string | undefined;
1090
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
1091
+ readonly COMPANY_ID?: string | undefined;
1092
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
1093
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
1094
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
1095
+ readonly ALL_BRAND?: "0" | "1" | undefined;
1096
+ readonly ALL_AREA?: "0" | "1" | undefined;
1097
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
1098
+ readonly USER_BRAND?: string | undefined;
1099
+ readonly USER_AREA?: string | undefined;
1100
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
1101
+ readonly EXPIRED?: string | undefined;
1102
+ readonly PERMISSIONS?: string | readonly {
1103
+ readonly permId: number;
1104
+ readonly module: string;
1105
+ readonly canView: boolean;
1106
+ readonly canEdit: boolean;
1107
+ readonly canDelete: boolean;
1108
+ readonly canCreate: boolean;
1109
+ readonly canApprove: boolean;
1110
+ readonly canReport: boolean;
1111
+ }[] | undefined;
1112
+ readonly nbf?: number | undefined;
1113
+ readonly exp?: number | undefined;
1114
+ readonly iat?: number | undefined;
1115
+ };
1116
+ readonly split?: boolean | undefined;
1117
+ } | undefined;
1118
+ readonly refreshToken?: {
1119
+ readonly name: string | {
1120
+ readonly nbf?: number | undefined;
1121
+ readonly exp?: number | undefined;
1122
+ readonly iat?: number | undefined;
1123
+ };
1124
+ readonly split?: boolean | undefined;
1125
+ } | undefined;
1126
+ } | undefined;
1127
+ readonly cookie?: readonly {
1128
+ readonly name: string;
1129
+ readonly split?: boolean | undefined;
1130
+ }[] | undefined;
1131
+ readonly config?: never | undefined;
1132
+ readonly merges?: never | undefined;
1133
+ readonly ecosystems?: never | undefined;
1134
+ } | readonly (string | (() => Partial<MonoConfig> | undefined) | {
1135
+ readonly config: (() => Partial<MonoConfig> | undefined) | {
1136
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | {
1137
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
1138
+ readonly [x: string]: any;
1139
+ }])[] | undefined;
1140
+ readonly name?: string | undefined;
1141
+ readonly type?: MonoAppType | undefined;
1142
+ readonly template?: MonoTemplate | undefined;
1143
+ readonly skill?: {
1144
+ readonly url: string;
1145
+ readonly envToken?: string | undefined;
1146
+ } | undefined;
1147
+ readonly menu?: readonly {
1148
+ readonly title: string;
1149
+ readonly subtitle?: string | undefined;
1150
+ readonly url?: string | undefined;
1151
+ readonly icon?: string | undefined;
1152
+ readonly color?: string | undefined;
1153
+ readonly button?: {
1154
+ readonly title?: string | undefined;
1155
+ readonly icon?: string | undefined;
1156
+ } | undefined;
1157
+ readonly items?: readonly /*elided*/ any[] | undefined;
1158
+ readonly remoteName?: string | undefined;
1159
+ readonly visible?: boolean | undefined;
1160
+ readonly order?: number | undefined;
1161
+ readonly route?: {
1162
+ readonly meta: {
1163
+ readonly layout: string;
1164
+ readonly title: string;
1165
+ };
1166
+ } | undefined;
1167
+ }[] | undefined;
1168
+ readonly apps?: readonly {
1169
+ readonly name: string;
1170
+ readonly url?: string | undefined;
1171
+ readonly path?: string | undefined;
1172
+ readonly envToken?: string | undefined;
1173
+ readonly transport?: MonoSyncTransport | undefined;
1174
+ readonly type: MonoAppType;
1175
+ }[] | undefined;
1176
+ readonly fetching?: {
1177
+ readonly api?: {
1178
+ readonly [x: string]: {
1179
+ readonly type: "restful" | "odata";
1180
+ readonly url: string;
1181
+ readonly oDataService?: any;
1182
+ };
1183
+ } | undefined;
1184
+ readonly source?: {
1185
+ readonly dataSource?: any;
1186
+ readonly oDataStore?: any;
1187
+ readonly customStore?: any;
1188
+ } | undefined;
1189
+ readonly auth?: {
1190
+ readonly token?: string | undefined;
1191
+ readonly tokenRefresh?: string | undefined;
1192
+ readonly use?: "token" | "tokenRefresh" | {
1193
+ readonly apiRequest?: string | undefined;
1194
+ readonly refreshTokenRequest?: string | undefined;
1195
+ } | undefined;
1196
+ readonly requestRefreshTokenRequest?: {
1197
+ readonly name?: string | undefined;
1198
+ readonly path: {
1199
+ readonly milis?: string | undefined;
1200
+ readonly days?: string | undefined;
1201
+ readonly value?: string | undefined;
1202
+ readonly name?: string | undefined;
1203
+ };
1204
+ readonly splitCookie?: boolean | undefined;
1205
+ readonly fetchParams: {
1206
+ readonly url: string;
1207
+ readonly options?: {
1208
+ readonly [x: string]: any;
1209
+ readonly baseUrl?: string | undefined;
1210
+ } | undefined;
1211
+ };
1212
+ } | undefined;
1213
+ readonly expiredBehaviour?: "refresh" | undefined;
1214
+ } | undefined;
1215
+ } | undefined;
1216
+ readonly env?: {
1217
+ readonly [x: string]: {
1218
+ readonly [x: string]: string | number | boolean;
1219
+ } | undefined;
1220
+ readonly default?: {
1221
+ readonly [x: string]: string | number | boolean;
1222
+ } | undefined;
1223
+ } | undefined;
1224
+ readonly mockIndexedDB?: {
1225
+ readonly dbName?: string | undefined;
1226
+ readonly version?: number | undefined;
1227
+ readonly seedCount?: number | undefined;
1228
+ readonly seedRandom?: number | undefined;
1229
+ readonly schema: {
1230
+ readonly [x: string]: {
1231
+ readonly [x: string]: {
1232
+ readonly fields: {
1233
+ readonly [x: string]: string;
1234
+ };
1235
+ readonly seed?: readonly {
1236
+ readonly [x: string]: any;
1237
+ }[] | undefined;
1238
+ };
1239
+ };
1240
+ };
1241
+ } | undefined;
1242
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
1243
+ readonly jwt?: {
1244
+ readonly [x: string]: {
1245
+ readonly name: string | {
1246
+ readonly [x: string]: any;
1247
+ };
1248
+ readonly split?: boolean | undefined;
1249
+ } | undefined;
1250
+ readonly token?: {
1251
+ readonly name: string | {
1252
+ readonly USER_ID?: string | undefined;
1253
+ readonly USER_NAME?: string | undefined;
1254
+ readonly NAME?: string | undefined;
1255
+ readonly CHANNEL?: string | undefined;
1256
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
1257
+ readonly ROLE_ID?: string | undefined;
1258
+ readonly ROLE_NAME?: string | undefined;
1259
+ readonly ROLE_TYPE?: string | undefined;
1260
+ readonly ORG_NAME?: string | undefined;
1261
+ readonly JOBPOS_ID?: string | undefined;
1262
+ readonly JOBPOS_NAME?: string | undefined;
1263
+ readonly JOBLVL_ID?: string | undefined;
1264
+ readonly JOBLVL_NAME?: string | undefined;
1265
+ readonly COMPANY_DB?: string | undefined;
1266
+ readonly DEPT_CODE?: string | undefined;
1267
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
1268
+ readonly COMPANY_ID?: string | undefined;
1269
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
1270
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
1271
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
1272
+ readonly ALL_BRAND?: "0" | "1" | undefined;
1273
+ readonly ALL_AREA?: "0" | "1" | undefined;
1274
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
1275
+ readonly USER_BRAND?: string | undefined;
1276
+ readonly USER_AREA?: string | undefined;
1277
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
1278
+ readonly EXPIRED?: string | undefined;
1279
+ readonly PERMISSIONS?: string | readonly {
1280
+ readonly permId: number;
1281
+ readonly module: string;
1282
+ readonly canView: boolean;
1283
+ readonly canEdit: boolean;
1284
+ readonly canDelete: boolean;
1285
+ readonly canCreate: boolean;
1286
+ readonly canApprove: boolean;
1287
+ readonly canReport: boolean;
1288
+ }[] | undefined;
1289
+ readonly nbf?: number | undefined;
1290
+ readonly exp?: number | undefined;
1291
+ readonly iat?: number | undefined;
1292
+ };
1293
+ readonly split?: boolean | undefined;
1294
+ } | undefined;
1295
+ readonly refreshToken?: {
1296
+ readonly name: string | {
1297
+ readonly nbf?: number | undefined;
1298
+ readonly exp?: number | undefined;
1299
+ readonly iat?: number | undefined;
1300
+ };
1301
+ readonly split?: boolean | undefined;
1302
+ } | undefined;
1303
+ } | undefined;
1304
+ readonly cookie?: readonly {
1305
+ readonly name: string;
1306
+ readonly split?: boolean | undefined;
1307
+ }[] | undefined;
1308
+ readonly config?: never | undefined;
1309
+ readonly merges?: never | undefined;
1310
+ readonly ecosystems?: never | undefined;
1311
+ } | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | {
1312
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
1313
+ readonly [x: string]: any;
1314
+ }])[] | undefined;
1315
+ readonly name?: string | undefined;
1316
+ readonly type?: MonoAppType | undefined;
1317
+ readonly template?: MonoTemplate | undefined;
1318
+ readonly skill?: {
1319
+ readonly url: string;
1320
+ readonly envToken?: string | undefined;
1321
+ } | undefined;
1322
+ readonly menu?: readonly {
1323
+ readonly title: string;
1324
+ readonly subtitle?: string | undefined;
1325
+ readonly url?: string | undefined;
1326
+ readonly icon?: string | undefined;
1327
+ readonly color?: string | undefined;
1328
+ readonly button?: {
1329
+ readonly title?: string | undefined;
1330
+ readonly icon?: string | undefined;
1331
+ } | undefined;
1332
+ readonly items?: readonly /*elided*/ any[] | undefined;
1333
+ readonly remoteName?: string | undefined;
1334
+ readonly visible?: boolean | undefined;
1335
+ readonly order?: number | undefined;
1336
+ readonly route?: {
1337
+ readonly meta: {
1338
+ readonly layout: string;
1339
+ readonly title: string;
1340
+ };
1341
+ } | undefined;
1342
+ }[] | undefined;
1343
+ readonly apps?: readonly {
1344
+ readonly name: string;
1345
+ readonly url?: string | undefined;
1346
+ readonly path?: string | undefined;
1347
+ readonly envToken?: string | undefined;
1348
+ readonly transport?: MonoSyncTransport | undefined;
1349
+ readonly type: MonoAppType;
1350
+ }[] | undefined;
1351
+ readonly fetching?: {
1352
+ readonly api?: {
1353
+ readonly [x: string]: {
1354
+ readonly type: "restful" | "odata";
1355
+ readonly url: string;
1356
+ readonly oDataService?: any;
1357
+ };
1358
+ } | undefined;
1359
+ readonly source?: {
1360
+ readonly dataSource?: any;
1361
+ readonly oDataStore?: any;
1362
+ readonly customStore?: any;
1363
+ } | undefined;
1364
+ readonly auth?: {
1365
+ readonly token?: string | undefined;
1366
+ readonly tokenRefresh?: string | undefined;
1367
+ readonly use?: "token" | "tokenRefresh" | {
1368
+ readonly apiRequest?: string | undefined;
1369
+ readonly refreshTokenRequest?: string | undefined;
1370
+ } | undefined;
1371
+ readonly requestRefreshTokenRequest?: {
1372
+ readonly name?: string | undefined;
1373
+ readonly path: {
1374
+ readonly milis?: string | undefined;
1375
+ readonly days?: string | undefined;
1376
+ readonly value?: string | undefined;
1377
+ readonly name?: string | undefined;
1378
+ };
1379
+ readonly splitCookie?: boolean | undefined;
1380
+ readonly fetchParams: {
1381
+ readonly url: string;
1382
+ readonly options?: {
1383
+ readonly [x: string]: any;
1384
+ readonly baseUrl?: string | undefined;
1385
+ } | undefined;
1386
+ };
1387
+ } | undefined;
1388
+ readonly expiredBehaviour?: "refresh" | undefined;
1389
+ } | undefined;
1390
+ } | undefined;
1391
+ readonly env?: {
1392
+ readonly [x: string]: {
1393
+ readonly [x: string]: string | number | boolean;
1394
+ } | undefined;
1395
+ readonly default?: {
1396
+ readonly [x: string]: string | number | boolean;
1397
+ } | undefined;
1398
+ } | undefined;
1399
+ readonly mockIndexedDB?: {
1400
+ readonly dbName?: string | undefined;
1401
+ readonly version?: number | undefined;
1402
+ readonly seedCount?: number | undefined;
1403
+ readonly seedRandom?: number | undefined;
1404
+ readonly schema: {
1405
+ readonly [x: string]: {
1406
+ readonly [x: string]: {
1407
+ readonly fields: {
1408
+ readonly [x: string]: string;
1409
+ };
1410
+ readonly seed?: readonly {
1411
+ readonly [x: string]: any;
1412
+ }[] | undefined;
1413
+ };
1414
+ };
1415
+ };
1416
+ } | undefined;
1417
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
1418
+ readonly jwt?: {
1419
+ readonly [x: string]: {
1420
+ readonly name: string | {
1421
+ readonly [x: string]: any;
1422
+ };
1423
+ readonly split?: boolean | undefined;
1424
+ } | undefined;
1425
+ readonly token?: {
1426
+ readonly name: string | {
1427
+ readonly USER_ID?: string | undefined;
1428
+ readonly USER_NAME?: string | undefined;
1429
+ readonly NAME?: string | undefined;
1430
+ readonly CHANNEL?: string | undefined;
1431
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
1432
+ readonly ROLE_ID?: string | undefined;
1433
+ readonly ROLE_NAME?: string | undefined;
1434
+ readonly ROLE_TYPE?: string | undefined;
1435
+ readonly ORG_NAME?: string | undefined;
1436
+ readonly JOBPOS_ID?: string | undefined;
1437
+ readonly JOBPOS_NAME?: string | undefined;
1438
+ readonly JOBLVL_ID?: string | undefined;
1439
+ readonly JOBLVL_NAME?: string | undefined;
1440
+ readonly COMPANY_DB?: string | undefined;
1441
+ readonly DEPT_CODE?: string | undefined;
1442
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
1443
+ readonly COMPANY_ID?: string | undefined;
1444
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
1445
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
1446
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
1447
+ readonly ALL_BRAND?: "0" | "1" | undefined;
1448
+ readonly ALL_AREA?: "0" | "1" | undefined;
1449
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
1450
+ readonly USER_BRAND?: string | undefined;
1451
+ readonly USER_AREA?: string | undefined;
1452
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
1453
+ readonly EXPIRED?: string | undefined;
1454
+ readonly PERMISSIONS?: string | readonly {
1455
+ readonly permId: number;
1456
+ readonly module: string;
1457
+ readonly canView: boolean;
1458
+ readonly canEdit: boolean;
1459
+ readonly canDelete: boolean;
1460
+ readonly canCreate: boolean;
1461
+ readonly canApprove: boolean;
1462
+ readonly canReport: boolean;
1463
+ }[] | undefined;
1464
+ readonly nbf?: number | undefined;
1465
+ readonly exp?: number | undefined;
1466
+ readonly iat?: number | undefined;
1467
+ };
1468
+ readonly split?: boolean | undefined;
1469
+ } | undefined;
1470
+ readonly refreshToken?: {
1471
+ readonly name: string | {
1472
+ readonly nbf?: number | undefined;
1473
+ readonly exp?: number | undefined;
1474
+ readonly iat?: number | undefined;
1475
+ };
1476
+ readonly split?: boolean | undefined;
1477
+ } | undefined;
1478
+ } | undefined;
1479
+ readonly cookie?: readonly {
1480
+ readonly name: string;
1481
+ readonly split?: boolean | undefined;
1482
+ }[] | undefined;
1483
+ readonly config?: never | undefined;
1484
+ readonly merges?: never | undefined;
1485
+ readonly ecosystems?: never | undefined;
1486
+ } | readonly [string, {
1487
+ readonly [x: string]: any;
1488
+ }])[] | undefined;
1489
+ readonly name?: string | undefined;
1490
+ readonly type?: MonoAppType | undefined;
1491
+ readonly template?: MonoTemplate | undefined;
1492
+ readonly skill?: {
1493
+ readonly url: string;
1494
+ readonly envToken?: string | undefined;
1495
+ } | undefined;
1496
+ readonly menu?: readonly {
1497
+ readonly title: string;
1498
+ readonly subtitle?: string | undefined;
1499
+ readonly url?: string | undefined;
1500
+ readonly icon?: string | undefined;
1501
+ readonly color?: string | undefined;
1502
+ readonly button?: {
1503
+ readonly title?: string | undefined;
1504
+ readonly icon?: string | undefined;
1505
+ } | undefined;
1506
+ readonly items?: readonly /*elided*/ any[] | undefined;
1507
+ readonly remoteName?: string | undefined;
1508
+ readonly visible?: boolean | undefined;
1509
+ readonly order?: number | undefined;
1510
+ readonly route?: {
1511
+ readonly meta: {
1512
+ readonly layout: string;
1513
+ readonly title: string;
1514
+ };
1515
+ } | undefined;
1516
+ }[] | undefined;
1517
+ readonly apps?: readonly {
1518
+ readonly name: string;
1519
+ readonly url?: string | undefined;
1520
+ readonly path?: string | undefined;
1521
+ readonly envToken?: string | undefined;
1522
+ readonly transport?: MonoSyncTransport | undefined;
1523
+ readonly type: MonoAppType;
1524
+ }[] | undefined;
1525
+ readonly fetching?: {
1526
+ readonly api?: {
1527
+ readonly [x: string]: {
1528
+ readonly type: "restful" | "odata";
1529
+ readonly url: string;
1530
+ readonly oDataService?: any;
1531
+ };
1532
+ } | undefined;
1533
+ readonly source?: {
1534
+ readonly dataSource?: any;
1535
+ readonly oDataStore?: any;
1536
+ readonly customStore?: any;
1537
+ } | undefined;
1538
+ readonly auth?: {
1539
+ readonly token?: string | undefined;
1540
+ readonly tokenRefresh?: string | undefined;
1541
+ readonly use?: "token" | "tokenRefresh" | {
1542
+ readonly apiRequest?: string | undefined;
1543
+ readonly refreshTokenRequest?: string | undefined;
1544
+ } | undefined;
1545
+ readonly requestRefreshTokenRequest?: {
1546
+ readonly name?: string | undefined;
1547
+ readonly path: {
1548
+ readonly milis?: string | undefined;
1549
+ readonly days?: string | undefined;
1550
+ readonly value?: string | undefined;
1551
+ readonly name?: string | undefined;
1552
+ };
1553
+ readonly splitCookie?: boolean | undefined;
1554
+ readonly fetchParams: {
1555
+ readonly url: string;
1556
+ readonly options?: {
1557
+ readonly [x: string]: any;
1558
+ readonly baseUrl?: string | undefined;
1559
+ } | undefined;
1560
+ };
1561
+ } | undefined;
1562
+ readonly expiredBehaviour?: "refresh" | undefined;
1563
+ } | undefined;
1564
+ } | undefined;
1565
+ readonly env?: {
1566
+ readonly [x: string]: {
1567
+ readonly [x: string]: string | number | boolean;
1568
+ } | undefined;
1569
+ readonly default?: {
1570
+ readonly [x: string]: string | number | boolean;
1571
+ } | undefined;
1572
+ } | undefined;
1573
+ readonly mockIndexedDB?: {
1574
+ readonly dbName?: string | undefined;
1575
+ readonly version?: number | undefined;
1576
+ readonly seedCount?: number | undefined;
1577
+ readonly seedRandom?: number | undefined;
1578
+ readonly schema: {
1579
+ readonly [x: string]: {
1580
+ readonly [x: string]: {
1581
+ readonly fields: {
1582
+ readonly [x: string]: string;
1583
+ };
1584
+ readonly seed?: readonly {
1585
+ readonly [x: string]: any;
1586
+ }[] | undefined;
1587
+ };
1588
+ };
1589
+ };
1590
+ } | undefined;
1591
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
1592
+ readonly jwt?: {
1593
+ readonly [x: string]: {
1594
+ readonly name: string | {
1595
+ readonly [x: string]: any;
1596
+ };
1597
+ readonly split?: boolean | undefined;
1598
+ } | undefined;
1599
+ readonly token?: {
1600
+ readonly name: string | {
1601
+ readonly USER_ID?: string | undefined;
1602
+ readonly USER_NAME?: string | undefined;
1603
+ readonly NAME?: string | undefined;
1604
+ readonly CHANNEL?: string | undefined;
1605
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
1606
+ readonly ROLE_ID?: string | undefined;
1607
+ readonly ROLE_NAME?: string | undefined;
1608
+ readonly ROLE_TYPE?: string | undefined;
1609
+ readonly ORG_NAME?: string | undefined;
1610
+ readonly JOBPOS_ID?: string | undefined;
1611
+ readonly JOBPOS_NAME?: string | undefined;
1612
+ readonly JOBLVL_ID?: string | undefined;
1613
+ readonly JOBLVL_NAME?: string | undefined;
1614
+ readonly COMPANY_DB?: string | undefined;
1615
+ readonly DEPT_CODE?: string | undefined;
1616
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
1617
+ readonly COMPANY_ID?: string | undefined;
1618
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
1619
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
1620
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
1621
+ readonly ALL_BRAND?: "0" | "1" | undefined;
1622
+ readonly ALL_AREA?: "0" | "1" | undefined;
1623
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
1624
+ readonly USER_BRAND?: string | undefined;
1625
+ readonly USER_AREA?: string | undefined;
1626
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
1627
+ readonly EXPIRED?: string | undefined;
1628
+ readonly PERMISSIONS?: string | readonly {
1629
+ readonly permId: number;
1630
+ readonly module: string;
1631
+ readonly canView: boolean;
1632
+ readonly canEdit: boolean;
1633
+ readonly canDelete: boolean;
1634
+ readonly canCreate: boolean;
1635
+ readonly canApprove: boolean;
1636
+ readonly canReport: boolean;
1637
+ }[] | undefined;
1638
+ readonly nbf?: number | undefined;
1639
+ readonly exp?: number | undefined;
1640
+ readonly iat?: number | undefined;
1641
+ };
1642
+ readonly split?: boolean | undefined;
1643
+ } | undefined;
1644
+ readonly refreshToken?: {
1645
+ readonly name: string | {
1646
+ readonly nbf?: number | undefined;
1647
+ readonly exp?: number | undefined;
1648
+ readonly iat?: number | undefined;
1649
+ };
1650
+ readonly split?: boolean | undefined;
1651
+ } | undefined;
1652
+ } | undefined;
1653
+ readonly cookie?: readonly {
1654
+ readonly name: string;
1655
+ readonly split?: boolean | undefined;
1656
+ }[] | undefined;
1657
+ };
1658
+ readonly merges?: readonly MonoMergeableKey[] | undefined;
1659
+ readonly ecosystems?: readonly string[] | undefined;
1660
+ } | {
1661
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | {
1662
+ readonly config: (() => Partial<MonoConfig> | undefined) | {
1663
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
1664
+ readonly [x: string]: any;
1665
+ }])[] | undefined;
1666
+ readonly name?: string | undefined;
1667
+ readonly type?: MonoAppType | undefined;
1668
+ readonly template?: MonoTemplate | undefined;
1669
+ readonly skill?: {
1670
+ readonly url: string;
1671
+ readonly envToken?: string | undefined;
1672
+ } | undefined;
1673
+ readonly menu?: readonly {
1674
+ readonly title: string;
1675
+ readonly subtitle?: string | undefined;
1676
+ readonly url?: string | undefined;
1677
+ readonly icon?: string | undefined;
1678
+ readonly color?: string | undefined;
1679
+ readonly button?: {
1680
+ readonly title?: string | undefined;
1681
+ readonly icon?: string | undefined;
1682
+ } | undefined;
1683
+ readonly items?: readonly /*elided*/ any[] | undefined;
1684
+ readonly remoteName?: string | undefined;
1685
+ readonly visible?: boolean | undefined;
1686
+ readonly order?: number | undefined;
1687
+ readonly route?: {
1688
+ readonly meta: {
1689
+ readonly layout: string;
1690
+ readonly title: string;
1691
+ };
1692
+ } | undefined;
1693
+ }[] | undefined;
1694
+ readonly apps?: readonly {
1695
+ readonly name: string;
1696
+ readonly url?: string | undefined;
1697
+ readonly path?: string | undefined;
1698
+ readonly envToken?: string | undefined;
1699
+ readonly transport?: MonoSyncTransport | undefined;
1700
+ readonly type: MonoAppType;
1701
+ }[] | undefined;
1702
+ readonly fetching?: {
1703
+ readonly api?: {
1704
+ readonly [x: string]: {
1705
+ readonly type: "restful" | "odata";
1706
+ readonly url: string;
1707
+ readonly oDataService?: any;
1708
+ };
1709
+ } | undefined;
1710
+ readonly source?: {
1711
+ readonly dataSource?: any;
1712
+ readonly oDataStore?: any;
1713
+ readonly customStore?: any;
1714
+ } | undefined;
1715
+ readonly auth?: {
1716
+ readonly token?: string | undefined;
1717
+ readonly tokenRefresh?: string | undefined;
1718
+ readonly use?: "token" | "tokenRefresh" | {
1719
+ readonly apiRequest?: string | undefined;
1720
+ readonly refreshTokenRequest?: string | undefined;
1721
+ } | undefined;
1722
+ readonly requestRefreshTokenRequest?: {
1723
+ readonly name?: string | undefined;
1724
+ readonly path: {
1725
+ readonly milis?: string | undefined;
1726
+ readonly days?: string | undefined;
1727
+ readonly value?: string | undefined;
1728
+ readonly name?: string | undefined;
1729
+ };
1730
+ readonly splitCookie?: boolean | undefined;
1731
+ readonly fetchParams: {
1732
+ readonly url: string;
1733
+ readonly options?: {
1734
+ readonly [x: string]: any;
1735
+ readonly baseUrl?: string | undefined;
1736
+ } | undefined;
1737
+ };
1738
+ } | undefined;
1739
+ readonly expiredBehaviour?: "refresh" | undefined;
1740
+ } | undefined;
1741
+ } | undefined;
1742
+ readonly env?: {
1743
+ readonly [x: string]: {
1744
+ readonly [x: string]: string | number | boolean;
1745
+ } | undefined;
1746
+ readonly default?: {
1747
+ readonly [x: string]: string | number | boolean;
1748
+ } | undefined;
1749
+ } | undefined;
1750
+ readonly mockIndexedDB?: {
1751
+ readonly dbName?: string | undefined;
1752
+ readonly version?: number | undefined;
1753
+ readonly seedCount?: number | undefined;
1754
+ readonly seedRandom?: number | undefined;
1755
+ readonly schema: {
1756
+ readonly [x: string]: {
1757
+ readonly [x: string]: {
1758
+ readonly fields: {
1759
+ readonly [x: string]: string;
1760
+ };
1761
+ readonly seed?: readonly {
1762
+ readonly [x: string]: any;
1763
+ }[] | undefined;
1764
+ };
1765
+ };
1766
+ };
1767
+ } | undefined;
1768
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
1769
+ readonly jwt?: {
1770
+ readonly [x: string]: {
1771
+ readonly name: string | {
1772
+ readonly [x: string]: any;
1773
+ };
1774
+ readonly split?: boolean | undefined;
1775
+ } | undefined;
1776
+ readonly token?: {
1777
+ readonly name: string | {
1778
+ readonly USER_ID?: string | undefined;
1779
+ readonly USER_NAME?: string | undefined;
1780
+ readonly NAME?: string | undefined;
1781
+ readonly CHANNEL?: string | undefined;
1782
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
1783
+ readonly ROLE_ID?: string | undefined;
1784
+ readonly ROLE_NAME?: string | undefined;
1785
+ readonly ROLE_TYPE?: string | undefined;
1786
+ readonly ORG_NAME?: string | undefined;
1787
+ readonly JOBPOS_ID?: string | undefined;
1788
+ readonly JOBPOS_NAME?: string | undefined;
1789
+ readonly JOBLVL_ID?: string | undefined;
1790
+ readonly JOBLVL_NAME?: string | undefined;
1791
+ readonly COMPANY_DB?: string | undefined;
1792
+ readonly DEPT_CODE?: string | undefined;
1793
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
1794
+ readonly COMPANY_ID?: string | undefined;
1795
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
1796
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
1797
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
1798
+ readonly ALL_BRAND?: "0" | "1" | undefined;
1799
+ readonly ALL_AREA?: "0" | "1" | undefined;
1800
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
1801
+ readonly USER_BRAND?: string | undefined;
1802
+ readonly USER_AREA?: string | undefined;
1803
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
1804
+ readonly EXPIRED?: string | undefined;
1805
+ readonly PERMISSIONS?: string | readonly {
1806
+ readonly permId: number;
1807
+ readonly module: string;
1808
+ readonly canView: boolean;
1809
+ readonly canEdit: boolean;
1810
+ readonly canDelete: boolean;
1811
+ readonly canCreate: boolean;
1812
+ readonly canApprove: boolean;
1813
+ readonly canReport: boolean;
1814
+ }[] | undefined;
1815
+ readonly nbf?: number | undefined;
1816
+ readonly exp?: number | undefined;
1817
+ readonly iat?: number | undefined;
1818
+ };
1819
+ readonly split?: boolean | undefined;
1820
+ } | undefined;
1821
+ readonly refreshToken?: {
1822
+ readonly name: string | {
1823
+ readonly nbf?: number | undefined;
1824
+ readonly exp?: number | undefined;
1825
+ readonly iat?: number | undefined;
1826
+ };
1827
+ readonly split?: boolean | undefined;
1828
+ } | undefined;
1829
+ } | undefined;
1830
+ readonly cookie?: readonly {
1831
+ readonly name: string;
1832
+ readonly split?: boolean | undefined;
1833
+ }[] | undefined;
1834
+ };
1835
+ readonly merges?: readonly MonoMergeableKey[] | undefined;
1836
+ readonly ecosystems?: readonly string[] | undefined;
1837
+ } | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | {
1838
+ readonly config: (() => Partial<MonoConfig> | undefined) | {
1839
+ readonly extends?: string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly (string | (() => Partial<MonoConfig> | undefined) | /*elided*/ any | /*elided*/ any | readonly [string, {
1840
+ readonly [x: string]: any;
1841
+ }])[] | undefined;
1842
+ readonly name?: string | undefined;
1843
+ readonly type?: MonoAppType | undefined;
1844
+ readonly template?: MonoTemplate | undefined;
1845
+ readonly skill?: {
1846
+ readonly url: string;
1847
+ readonly envToken?: string | undefined;
1848
+ } | undefined;
1849
+ readonly menu?: readonly {
1850
+ readonly title: string;
1851
+ readonly subtitle?: string | undefined;
1852
+ readonly url?: string | undefined;
1853
+ readonly icon?: string | undefined;
1854
+ readonly color?: string | undefined;
1855
+ readonly button?: {
1856
+ readonly title?: string | undefined;
1857
+ readonly icon?: string | undefined;
1858
+ } | undefined;
1859
+ readonly items?: readonly /*elided*/ any[] | undefined;
1860
+ readonly remoteName?: string | undefined;
1861
+ readonly visible?: boolean | undefined;
1862
+ readonly order?: number | undefined;
1863
+ readonly route?: {
1864
+ readonly meta: {
1865
+ readonly layout: string;
1866
+ readonly title: string;
1867
+ };
1868
+ } | undefined;
1869
+ }[] | undefined;
1870
+ readonly apps?: readonly {
1871
+ readonly name: string;
1872
+ readonly url?: string | undefined;
1873
+ readonly path?: string | undefined;
1874
+ readonly envToken?: string | undefined;
1875
+ readonly transport?: MonoSyncTransport | undefined;
1876
+ readonly type: MonoAppType;
1877
+ }[] | undefined;
1878
+ readonly fetching?: {
1879
+ readonly api?: {
1880
+ readonly [x: string]: {
1881
+ readonly type: "restful" | "odata";
1882
+ readonly url: string;
1883
+ readonly oDataService?: any;
1884
+ };
1885
+ } | undefined;
1886
+ readonly source?: {
1887
+ readonly dataSource?: any;
1888
+ readonly oDataStore?: any;
1889
+ readonly customStore?: any;
1890
+ } | undefined;
1891
+ readonly auth?: {
1892
+ readonly token?: string | undefined;
1893
+ readonly tokenRefresh?: string | undefined;
1894
+ readonly use?: "token" | "tokenRefresh" | {
1895
+ readonly apiRequest?: string | undefined;
1896
+ readonly refreshTokenRequest?: string | undefined;
1897
+ } | undefined;
1898
+ readonly requestRefreshTokenRequest?: {
1899
+ readonly name?: string | undefined;
1900
+ readonly path: {
1901
+ readonly milis?: string | undefined;
1902
+ readonly days?: string | undefined;
1903
+ readonly value?: string | undefined;
1904
+ readonly name?: string | undefined;
1905
+ };
1906
+ readonly splitCookie?: boolean | undefined;
1907
+ readonly fetchParams: {
1908
+ readonly url: string;
1909
+ readonly options?: {
1910
+ readonly [x: string]: any;
1911
+ readonly baseUrl?: string | undefined;
1912
+ } | undefined;
1913
+ };
1914
+ } | undefined;
1915
+ readonly expiredBehaviour?: "refresh" | undefined;
1916
+ } | undefined;
1917
+ } | undefined;
1918
+ readonly env?: {
1919
+ readonly [x: string]: {
1920
+ readonly [x: string]: string | number | boolean;
1921
+ } | undefined;
1922
+ readonly default?: {
1923
+ readonly [x: string]: string | number | boolean;
1924
+ } | undefined;
1925
+ } | undefined;
1926
+ readonly mockIndexedDB?: {
1927
+ readonly dbName?: string | undefined;
1928
+ readonly version?: number | undefined;
1929
+ readonly seedCount?: number | undefined;
1930
+ readonly seedRandom?: number | undefined;
1931
+ readonly schema: {
1932
+ readonly [x: string]: {
1933
+ readonly [x: string]: {
1934
+ readonly fields: {
1935
+ readonly [x: string]: string;
1936
+ };
1937
+ readonly seed?: readonly {
1938
+ readonly [x: string]: any;
1939
+ }[] | undefined;
1940
+ };
1941
+ };
1942
+ };
1943
+ } | undefined;
1944
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
1945
+ readonly jwt?: {
1946
+ readonly [x: string]: {
1947
+ readonly name: string | {
1948
+ readonly [x: string]: any;
1949
+ };
1950
+ readonly split?: boolean | undefined;
1951
+ } | undefined;
1952
+ readonly token?: {
1953
+ readonly name: string | {
1954
+ readonly USER_ID?: string | undefined;
1955
+ readonly USER_NAME?: string | undefined;
1956
+ readonly NAME?: string | undefined;
1957
+ readonly CHANNEL?: string | undefined;
1958
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
1959
+ readonly ROLE_ID?: string | undefined;
1960
+ readonly ROLE_NAME?: string | undefined;
1961
+ readonly ROLE_TYPE?: string | undefined;
1962
+ readonly ORG_NAME?: string | undefined;
1963
+ readonly JOBPOS_ID?: string | undefined;
1964
+ readonly JOBPOS_NAME?: string | undefined;
1965
+ readonly JOBLVL_ID?: string | undefined;
1966
+ readonly JOBLVL_NAME?: string | undefined;
1967
+ readonly COMPANY_DB?: string | undefined;
1968
+ readonly DEPT_CODE?: string | undefined;
1969
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
1970
+ readonly COMPANY_ID?: string | undefined;
1971
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
1972
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
1973
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
1974
+ readonly ALL_BRAND?: "0" | "1" | undefined;
1975
+ readonly ALL_AREA?: "0" | "1" | undefined;
1976
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
1977
+ readonly USER_BRAND?: string | undefined;
1978
+ readonly USER_AREA?: string | undefined;
1979
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
1980
+ readonly EXPIRED?: string | undefined;
1981
+ readonly PERMISSIONS?: string | readonly {
1982
+ readonly permId: number;
1983
+ readonly module: string;
1984
+ readonly canView: boolean;
1985
+ readonly canEdit: boolean;
1986
+ readonly canDelete: boolean;
1987
+ readonly canCreate: boolean;
1988
+ readonly canApprove: boolean;
1989
+ readonly canReport: boolean;
1990
+ }[] | undefined;
1991
+ readonly nbf?: number | undefined;
1992
+ readonly exp?: number | undefined;
1993
+ readonly iat?: number | undefined;
1994
+ };
1995
+ readonly split?: boolean | undefined;
1996
+ } | undefined;
1997
+ readonly refreshToken?: {
1998
+ readonly name: string | {
1999
+ readonly nbf?: number | undefined;
2000
+ readonly exp?: number | undefined;
2001
+ readonly iat?: number | undefined;
2002
+ };
2003
+ readonly split?: boolean | undefined;
2004
+ } | undefined;
2005
+ } | undefined;
2006
+ readonly cookie?: readonly {
2007
+ readonly name: string;
2008
+ readonly split?: boolean | undefined;
2009
+ }[] | undefined;
2010
+ };
2011
+ readonly merges?: readonly MonoMergeableKey[] | undefined;
2012
+ readonly ecosystems?: readonly string[] | undefined;
2013
+ } | /*elided*/ any | readonly [string, {
2014
+ readonly [x: string]: any;
2015
+ }])[] | undefined;
2016
+ readonly name?: string | undefined;
2017
+ readonly type?: MonoAppType | undefined;
2018
+ readonly template?: MonoTemplate | undefined;
2019
+ readonly skill?: {
2020
+ readonly url: string;
2021
+ readonly envToken?: string | undefined;
2022
+ } | undefined;
2023
+ readonly menu?: readonly {
2024
+ readonly title: string;
2025
+ readonly subtitle?: string | undefined;
2026
+ readonly url?: string | undefined;
2027
+ readonly icon?: string | undefined;
2028
+ readonly color?: string | undefined;
2029
+ readonly button?: {
2030
+ readonly title?: string | undefined;
2031
+ readonly icon?: string | undefined;
2032
+ } | undefined;
2033
+ readonly items?: readonly /*elided*/ any[] | undefined;
2034
+ readonly remoteName?: string | undefined;
2035
+ readonly visible?: boolean | undefined;
2036
+ readonly order?: number | undefined;
2037
+ readonly route?: {
2038
+ readonly meta: {
2039
+ readonly layout: string;
2040
+ readonly title: string;
2041
+ };
2042
+ } | undefined;
2043
+ }[] | undefined;
2044
+ readonly apps?: readonly {
2045
+ readonly name: string;
2046
+ readonly url?: string | undefined;
2047
+ readonly path?: string | undefined;
2048
+ readonly envToken?: string | undefined;
2049
+ readonly transport?: MonoSyncTransport | undefined;
2050
+ readonly type: MonoAppType;
2051
+ }[] | undefined;
2052
+ readonly fetching?: {
2053
+ readonly api?: {
2054
+ readonly [x: string]: {
2055
+ readonly type: "restful" | "odata";
2056
+ readonly url: string;
2057
+ readonly oDataService?: any;
2058
+ };
2059
+ } | undefined;
2060
+ readonly source?: {
2061
+ readonly dataSource?: any;
2062
+ readonly oDataStore?: any;
2063
+ readonly customStore?: any;
2064
+ } | undefined;
2065
+ readonly auth?: {
2066
+ readonly token?: string | undefined;
2067
+ readonly tokenRefresh?: string | undefined;
2068
+ readonly use?: "token" | "tokenRefresh" | {
2069
+ readonly apiRequest?: string | undefined;
2070
+ readonly refreshTokenRequest?: string | undefined;
2071
+ } | undefined;
2072
+ readonly requestRefreshTokenRequest?: {
2073
+ readonly name?: string | undefined;
2074
+ readonly path: {
2075
+ readonly milis?: string | undefined;
2076
+ readonly days?: string | undefined;
2077
+ readonly value?: string | undefined;
2078
+ readonly name?: string | undefined;
2079
+ };
2080
+ readonly splitCookie?: boolean | undefined;
2081
+ readonly fetchParams: {
2082
+ readonly url: string;
2083
+ readonly options?: {
2084
+ readonly [x: string]: any;
2085
+ readonly baseUrl?: string | undefined;
2086
+ } | undefined;
2087
+ };
2088
+ } | undefined;
2089
+ readonly expiredBehaviour?: "refresh" | undefined;
2090
+ } | undefined;
2091
+ } | undefined;
2092
+ readonly env?: {
2093
+ readonly [x: string]: {
2094
+ readonly [x: string]: string | number | boolean;
2095
+ } | undefined;
2096
+ readonly default?: {
2097
+ readonly [x: string]: string | number | boolean;
2098
+ } | undefined;
2099
+ } | undefined;
2100
+ readonly mockIndexedDB?: {
2101
+ readonly dbName?: string | undefined;
2102
+ readonly version?: number | undefined;
2103
+ readonly seedCount?: number | undefined;
2104
+ readonly seedRandom?: number | undefined;
2105
+ readonly schema: {
2106
+ readonly [x: string]: {
2107
+ readonly [x: string]: {
2108
+ readonly fields: {
2109
+ readonly [x: string]: string;
2110
+ };
2111
+ readonly seed?: readonly {
2112
+ readonly [x: string]: any;
2113
+ }[] | undefined;
2114
+ };
2115
+ };
2116
+ };
2117
+ } | undefined;
2118
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
2119
+ readonly jwt?: {
2120
+ readonly [x: string]: {
2121
+ readonly name: string | {
2122
+ readonly [x: string]: any;
2123
+ };
2124
+ readonly split?: boolean | undefined;
2125
+ } | undefined;
2126
+ readonly token?: {
2127
+ readonly name: string | {
2128
+ readonly USER_ID?: string | undefined;
2129
+ readonly USER_NAME?: string | undefined;
2130
+ readonly NAME?: string | undefined;
2131
+ readonly CHANNEL?: string | undefined;
2132
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
2133
+ readonly ROLE_ID?: string | undefined;
2134
+ readonly ROLE_NAME?: string | undefined;
2135
+ readonly ROLE_TYPE?: string | undefined;
2136
+ readonly ORG_NAME?: string | undefined;
2137
+ readonly JOBPOS_ID?: string | undefined;
2138
+ readonly JOBPOS_NAME?: string | undefined;
2139
+ readonly JOBLVL_ID?: string | undefined;
2140
+ readonly JOBLVL_NAME?: string | undefined;
2141
+ readonly COMPANY_DB?: string | undefined;
2142
+ readonly DEPT_CODE?: string | undefined;
2143
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
2144
+ readonly COMPANY_ID?: string | undefined;
2145
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
2146
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
2147
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
2148
+ readonly ALL_BRAND?: "0" | "1" | undefined;
2149
+ readonly ALL_AREA?: "0" | "1" | undefined;
2150
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
2151
+ readonly USER_BRAND?: string | undefined;
2152
+ readonly USER_AREA?: string | undefined;
2153
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
2154
+ readonly EXPIRED?: string | undefined;
2155
+ readonly PERMISSIONS?: string | readonly {
2156
+ readonly permId: number;
2157
+ readonly module: string;
2158
+ readonly canView: boolean;
2159
+ readonly canEdit: boolean;
2160
+ readonly canDelete: boolean;
2161
+ readonly canCreate: boolean;
2162
+ readonly canApprove: boolean;
2163
+ readonly canReport: boolean;
2164
+ }[] | undefined;
2165
+ readonly nbf?: number | undefined;
2166
+ readonly exp?: number | undefined;
2167
+ readonly iat?: number | undefined;
2168
+ };
2169
+ readonly split?: boolean | undefined;
2170
+ } | undefined;
2171
+ readonly refreshToken?: {
2172
+ readonly name: string | {
2173
+ readonly nbf?: number | undefined;
2174
+ readonly exp?: number | undefined;
2175
+ readonly iat?: number | undefined;
2176
+ };
2177
+ readonly split?: boolean | undefined;
2178
+ } | undefined;
2179
+ } | undefined;
2180
+ readonly cookie?: readonly {
2181
+ readonly name: string;
2182
+ readonly split?: boolean | undefined;
2183
+ }[] | undefined;
2184
+ readonly config?: never | undefined;
2185
+ readonly merges?: never | undefined;
2186
+ readonly ecosystems?: never | undefined;
2187
+ } | readonly [string, {
2188
+ readonly [x: string]: any;
2189
+ }])[] | undefined;
2190
+ readonly name: string;
2191
+ readonly type: MonoAppType;
2192
+ readonly template?: MonoTemplate | undefined;
2193
+ readonly skill?: {
2194
+ readonly url: string;
2195
+ readonly envToken?: string | undefined;
2196
+ } | undefined;
2197
+ readonly menu?: readonly {
2198
+ readonly title: string;
2199
+ readonly subtitle?: string | undefined;
2200
+ readonly url?: string | undefined;
2201
+ readonly icon?: string | undefined;
2202
+ readonly color?: string | undefined;
2203
+ readonly button?: {
2204
+ readonly title?: string | undefined;
2205
+ readonly icon?: string | undefined;
2206
+ } | undefined;
2207
+ readonly items?: readonly /*elided*/ any[] | undefined;
2208
+ readonly remoteName?: string | undefined;
2209
+ readonly visible?: boolean | undefined;
2210
+ readonly order?: number | undefined;
2211
+ readonly route?: {
2212
+ readonly meta: {
2213
+ readonly layout: string;
2214
+ readonly title: string;
2215
+ };
2216
+ } | undefined;
2217
+ }[] | undefined;
2218
+ readonly apps: readonly {
2219
+ readonly name: string;
2220
+ readonly url?: string | undefined;
2221
+ readonly path?: string | undefined;
2222
+ readonly envToken?: string | undefined;
2223
+ readonly transport?: MonoSyncTransport | undefined;
2224
+ readonly type: MonoAppType;
2225
+ }[];
2226
+ readonly fetching?: {
2227
+ readonly api?: {
2228
+ readonly [x: string]: {
2229
+ readonly type: "restful" | "odata";
2230
+ readonly url: string;
2231
+ readonly oDataService?: any;
2232
+ };
2233
+ } | undefined;
2234
+ readonly source?: {
2235
+ readonly dataSource?: any;
2236
+ readonly oDataStore?: any;
2237
+ readonly customStore?: any;
2238
+ } | undefined;
2239
+ readonly auth?: {
2240
+ readonly token?: string | undefined;
2241
+ readonly tokenRefresh?: string | undefined;
2242
+ readonly use?: "token" | "tokenRefresh" | {
2243
+ readonly apiRequest?: string | undefined;
2244
+ readonly refreshTokenRequest?: string | undefined;
2245
+ } | undefined;
2246
+ readonly requestRefreshTokenRequest?: {
2247
+ readonly name?: string | undefined;
2248
+ readonly path: {
2249
+ readonly milis?: string | undefined;
2250
+ readonly days?: string | undefined;
2251
+ readonly value?: string | undefined;
2252
+ readonly name?: string | undefined;
2253
+ };
2254
+ readonly splitCookie?: boolean | undefined;
2255
+ readonly fetchParams: {
2256
+ readonly url: string;
2257
+ readonly options?: {
2258
+ readonly [x: string]: any;
2259
+ readonly baseUrl?: string | undefined;
2260
+ } | undefined;
2261
+ };
2262
+ } | undefined;
2263
+ readonly expiredBehaviour?: "refresh" | undefined;
2264
+ } | undefined;
2265
+ } | undefined;
2266
+ readonly env?: {
2267
+ readonly [x: string]: {
2268
+ readonly [x: string]: string | number | boolean;
2269
+ } | undefined;
2270
+ readonly default?: {
2271
+ readonly [x: string]: string | number | boolean;
2272
+ } | undefined;
2273
+ } | undefined;
2274
+ readonly mockIndexedDB?: {
2275
+ readonly dbName?: string | undefined;
2276
+ readonly version?: number | undefined;
2277
+ readonly seedCount?: number | undefined;
2278
+ readonly seedRandom?: number | undefined;
2279
+ readonly schema: {
2280
+ readonly [x: string]: {
2281
+ readonly [x: string]: {
2282
+ readonly fields: {
2283
+ readonly [x: string]: string;
2284
+ };
2285
+ readonly seed?: readonly {
2286
+ readonly [x: string]: any;
2287
+ }[] | undefined;
2288
+ };
2289
+ };
2290
+ };
2291
+ } | undefined;
2292
+ readonly renderFn?: (() => import("vue").VNode) | undefined;
2293
+ readonly jwt?: {
2294
+ readonly [x: string]: {
2295
+ readonly name: string | {
2296
+ readonly [x: string]: any;
2297
+ };
2298
+ readonly split?: boolean | undefined;
2299
+ } | undefined;
2300
+ readonly token?: {
2301
+ readonly name: string | {
2302
+ readonly USER_ID?: string | undefined;
2303
+ readonly USER_NAME?: string | undefined;
2304
+ readonly NAME?: string | undefined;
2305
+ readonly CHANNEL?: string | undefined;
2306
+ readonly IS_DEPT_HEAD?: "0" | "1" | undefined;
2307
+ readonly ROLE_ID?: string | undefined;
2308
+ readonly ROLE_NAME?: string | undefined;
2309
+ readonly ROLE_TYPE?: string | undefined;
2310
+ readonly ORG_NAME?: string | undefined;
2311
+ readonly JOBPOS_ID?: string | undefined;
2312
+ readonly JOBPOS_NAME?: string | undefined;
2313
+ readonly JOBLVL_ID?: string | undefined;
2314
+ readonly JOBLVL_NAME?: string | undefined;
2315
+ readonly COMPANY_DB?: string | undefined;
2316
+ readonly DEPT_CODE?: string | undefined;
2317
+ readonly IS_SUPERADMIN?: "0" | "1" | undefined;
2318
+ readonly COMPANY_ID?: string | undefined;
2319
+ readonly IS_LOCK_BUDGET?: "0" | "1" | undefined;
2320
+ readonly ALL_DEPARTMENT?: "0" | "1" | undefined;
2321
+ readonly ALL_COMPANY?: "0" | "1" | undefined;
2322
+ readonly ALL_BRAND?: "0" | "1" | undefined;
2323
+ readonly ALL_AREA?: "0" | "1" | undefined;
2324
+ readonly IS_APPROVAL_PROGRAM?: "0" | "1" | undefined;
2325
+ readonly USER_BRAND?: string | undefined;
2326
+ readonly USER_AREA?: string | undefined;
2327
+ readonly TOKEN_KIND?: "ACCESS" | "REFRESH" | undefined;
2328
+ readonly EXPIRED?: string | undefined;
2329
+ readonly PERMISSIONS?: string | readonly {
2330
+ readonly permId: number;
2331
+ readonly module: string;
2332
+ readonly canView: boolean;
2333
+ readonly canEdit: boolean;
2334
+ readonly canDelete: boolean;
2335
+ readonly canCreate: boolean;
2336
+ readonly canApprove: boolean;
2337
+ readonly canReport: boolean;
2338
+ }[] | undefined;
2339
+ readonly nbf?: number | undefined;
2340
+ readonly exp?: number | undefined;
2341
+ readonly iat?: number | undefined;
2342
+ };
2343
+ readonly split?: boolean | undefined;
2344
+ } | undefined;
2345
+ readonly refreshToken?: {
2346
+ readonly name: string | {
2347
+ readonly nbf?: number | undefined;
2348
+ readonly exp?: number | undefined;
2349
+ readonly iat?: number | undefined;
2350
+ };
2351
+ readonly split?: boolean | undefined;
2352
+ } | undefined;
2353
+ } | undefined;
2354
+ readonly cookie?: readonly {
2355
+ readonly name: string;
2356
+ readonly split?: boolean | undefined;
2357
+ }[] | undefined;
2358
+ } | undefined;
2359
+ /**
2360
+ * The active-environment values from `mono.config.ts`'s `env` block, resolved
2361
+ * for the current `NODE_ENV` (see {@link resolveEnv}) and merged across the
2362
+ * host+remote `extends` chain.
2363
+ *
2364
+ * - `monoEnv()` returns the whole flattened object.
2365
+ * - `monoEnv('API_BASE')` returns a single value (or `undefined`).
2366
+ *
2367
+ * Use it for non-secret, environment-specific values (e.g. an API base URL)
2368
+ * instead of a `.env` file — e.g. `fetching.api.main.url` can be built from
2369
+ * `monoEnv('API_BASE')`.
2370
+ */
2371
+ declare function monoEnv(): Record<string, string | number | boolean>;
2372
+ declare function monoEnv<T = string | number | boolean>(key: string): T | undefined;
2373
+ /**
2374
+ * Vue plugin version.
2375
+ *
2376
+ * Usage:
2377
+ *
2378
+ * createApp(App)
2379
+ * .use(createMono(config))
2380
+ * .mount('#app')
2381
+ */
2382
+ export declare function createMono(option: MonoConfig): Plugin;
2383
+ //#endregion
2384
+ //#region src/composables/nuxt-state.d.ts
2385
+ /**
2386
+ * Shared, keyed reactive state — the Vue/Vite stand-in for Nuxt's `useState`.
2387
+ *
2388
+ * const count = useState('count', () => 0) // shared by key
2389
+ * const local = useState(() => 'hello') // plain ref('hello')
2390
+ *
2391
+ * Differences from Nuxt's: no SSR payload (nothing to hydrate in a SPA), and a
2392
+ * missing/empty key is tolerated instead of throwing — Nuxt's build-time auto-key
2393
+ * transform never ran on this code, so `useState('', () => 'hello')` can only mean
2394
+ * "an unshared `ref('hello')`".
2395
+ *
2396
+ * `init` runs ONLY the first time a key is seen (as in Nuxt); later callers get
2397
+ * the existing ref untouched, even if their `init` differs. Returning a ref from
2398
+ * `init` adopts that ref rather than nesting it.
2399
+ */
2400
+ export declare function useState<T = any>(init?: (() => T | Ref$1<T>) | T): Ref$1<T>;
2401
+ export declare function useState<T = any>(key: string, init?: (() => T | Ref$1<T>) | T): Ref$1<T>;
2402
+ /** Explicit alias — for hosts that don't want the bare Nuxt name in scope. */
2403
+ export declare const monoUseState: typeof useState;
2404
+ /**
2405
+ * Drop keyed state so the next `useState(key, init)` re-runs `init` (Nuxt's
2406
+ * `clearNuxtState`). No argument clears everything; a predicate filters by key.
2407
+ *
2408
+ * Only the registry entry goes — refs already handed out keep working, they're
2409
+ * just no longer what that key resolves to.
2410
+ */
2411
+ export declare function clearNuxtState(keys?: string | string[] | ((key: string) => boolean)): void;
2412
+ /** The live keyed refs — for devtools/debugging, not app logic. */
2413
+ export declare function nuxtStateKeys(): string[];
2414
+ //#endregion
2415
+ //#region src/composables/combine-layout.d.ts
2416
+ interface SidebarMenu {
2417
+ title: string;
2418
+ subtitle?: string;
2419
+ url?: string;
2420
+ icon?: string;
2421
+ color?: string;
2422
+ button?: {
2423
+ title?: string;
2424
+ icon?: string;
2425
+ };
2426
+ items?: SidebarMenu[];
2427
+ remoteName?: string;
2428
+ visible?: boolean;
2429
+ order?: number;
2430
+ route?: {
2431
+ meta: {
2432
+ layout: string;
2433
+ title: string;
2434
+ };
2435
+ };
2436
+ }
2437
+ export declare let defineLayout: ({ menu, routes }: {
2438
+ menu: SidebarMenu[];
2439
+ routes: RouteRecordRaw[];
2440
+ }) => RouteRecordRaw[];
2441
+ //#endregion
2442
+ //#region src/composables/host-provider.d.ts
2443
+ type HostKey<T> = string | symbol | InjectionKey<Ref$1<T>>;
2444
+ type InjectHostOptions<T> = {
2445
+ key: HostKey<T>;
2446
+ defaultValue: T;
2447
+ };
2448
+ type HostProviderOptions<T> = {
2449
+ key: HostKey<T>;
2450
+ syncRef: Ref$1<T>;
2451
+ immediate?: boolean;
2452
+ deep?: boolean;
2453
+ resetOnUnmount?: boolean;
2454
+ resetValue?: T;
2455
+ deleteOnUnmount?: boolean;
2456
+ };
2457
+ export declare function monoInject<T>(options: InjectHostOptions<T>): Ref$1<T>;
2458
+ export declare function monoProvide<T>(options: HostProviderOptions<T>): Ref$1<T>;
2459
+ //#endregion
2460
+ //#region src/composables/use-mono-utility.d.ts
2461
+ /**
2462
+ * The shared helper surface — validation (Yup), notifications, list/DataSource
2463
+ * add-update-remove, OData filters, JSON parsing — combined into `@mono-lit/utility` so
2464
+ * apps import from one place:
2465
+ *
2466
+ * ```ts
2467
+ * import { useMonoUtility } from '@mono-lit/utility/runtime'
2468
+ * const { validateAllSchema, notif, replacerData } = useMonoUtility()
2469
+ * ```
2470
+ *
2471
+ * Same surface as the core `useUtils()` (src/core); `useMonoUtility` is the public name.
2472
+ */
2473
+ export declare const useMonoUtility: () => {
2474
+ isDate: (value: unknown) => value is Date;
2475
+ isJSONString: ({ input, strict, root }: {
2476
+ input: unknown;
2477
+ strict?: boolean;
2478
+ root?: ("object" | "any" | "array" | "primitive") | ReadonlyArray<"object" | "any" | "array" | "primitive">;
2479
+ }) => boolean;
2480
+ safeJSONParse: (str: string) => any;
2481
+ replacerData: <ComT>({ fn, type, item, key, items }: {
2482
+ fn: "push" | "remove" | "replace";
2483
+ type: "data";
2484
+ item: ComT;
2485
+ key?: (keyof ComT & (string | number)) | undefined;
2486
+ items: MaybeRef<ComT_1[]> | {
2487
+ key: string;
2488
+ var: any;
2489
+ };
2490
+ } | {
2491
+ fn: "push" | "remove" | "replace";
2492
+ type: "datasource";
2493
+ item: ComT;
2494
+ key?: (keyof ComT & (string | number)) | undefined;
2495
+ items: MaybeRef<import("@mono-lit/devextreme").DataSource<ComT_1, any> | null> | {
2496
+ key: string;
2497
+ var: any;
2498
+ };
2499
+ }) => void;
2500
+ filterOrIn: (field: string, values: any[], combine?: boolean) => any;
2501
+ validateAllSchema: <T extends object = any>({ schema, input, error }: ValidateSchema<T>, callback?: () => void) => Promise<boolean>;
2502
+ validateSchema: <T = any>({ schema, field, input, error }: ValidateSchema<T>, callback?: Function) => Promise<boolean>;
2503
+ validateAllSchemaCheck: (error: ValidateError<any>) => boolean;
2504
+ clearSchemaValidation: ({ error }: {
2505
+ error: Ref<any>;
2506
+ }) => void;
2507
+ notif: (options: NotifProps) => Promise<import("notivue").NotificationClearMethods | undefined>;
2508
+ dxFilterToString: ({ filter, encode }: {
2509
+ encode?: boolean;
2510
+ filter: string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | (string | number | boolean | Date | /*elided*/ any | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined)[] | [string, string, any] | null | undefined;
2511
+ }) => string;
2512
+ };
2513
+ //#endregion
2514
+ //#region src/components/MonoNotivue.vue.d.ts
2515
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2516
+ declare const _default$1: typeof __VLS_export;
2517
+ //#endregion
2518
+ export { type Col, type Col as MonoDataGridCol, type CustomSummary, type DataGrid, type DataGrid as MonoDataGridTypes, type FetchLoading, type FetchOData, type FetchParam, type FilterExpression, type Format, type GroupTemplate, type HeaderFilter, type LoopTemplate, type createStaticDatasource as MonoCreateStaticDatasource, type FetchOverrides as MonoFetchOverrides, type NormalFetchOptions as MonoNormalFetchTypes, type NormalFetchOptions, _default as MonoNotifAction, type MonoNotifActionProps as MonoNotifActionPropsTypes, type MonoNotifActionTypes, type MonoNotifButton as MonoNotifButtonTypes, type NotifProps as MonoNotifPropsTypes, type NotifProps, _default$1 as MonoNotivue, type OdataFetchTypes as MonoOdataFetchTypes, type OdataFetchTypes, type OdataFetchUniqueTypes as MonoOdataFetchUniqueTypes, type OdataMapTypes as MonoOdataMapTypes, type OdataMapTypes, type MonoPrefetchBridge, type MonoPrefetchRequest, type MonoRequestEvent, type SchemaObject as MonoSchemaObject, type SchemaObject, type LoadChunkStoreArgs as MonoStoreChunkTypes, type TanstackFetchOptions as MonoTanstackFetchTypes, type TanstackFetchOptions, type TryCatchDatasourceParams as MonoTryCatchDatasourceTypes, type UseOdataStaticOpts as MonoUseOdataStaticTypes, type ValidateErrorComplex as MonoValidateError, type ValidateErrorComplex, type ValidateErrorSingle as MonoValidateErrorSingle, type ValidateErrorSingle, type NormalFetchResult, type PathValue, type Schema, type SchemaType, type ValidateError, type ValidateErrorItem, type ValidateSchema, type createFetcher, type createUniqueFetcher, type extractErrorMessage, type useNormalFetch as fetchNormal, type useFetchOData as fetchOData, type getPrefetchBridge, type loadChuckStore, monoConfig, monoCookie, monoEnv, monoJwt, monoStorage, monoToken, type parseDxError, type promiseWrapper, setMonoEventResolver, type setPrefetchBridge, type tryCatchDatasource, useMonoUtility as useMonoUtils, useHelper as useUtils };