@mono-lit/utility 0.0.0-stage → 0.0.1

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