@okiss/oms 0.0.2 → 0.0.5

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 (125) hide show
  1. package/dist/index.es.js +306 -386
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/{src/App.vue.d.ts → App.d.ts} +3 -4
  5. package/dist/types/admin.d.ts +11 -0
  6. package/dist/types/components/PageLoad.d.ts +29 -0
  7. package/dist/types/components/RightMenu.d.ts +43 -0
  8. package/dist/types/components/VLoading.d.ts +0 -0
  9. package/dist/types/{src/components/VTree.vue.d.ts → components/VTree.d.ts} +38 -9
  10. package/dist/types/components/report/NumberPanel.d.ts +14 -0
  11. package/dist/types/{src/components → components}/report/option.d.ts +0 -0
  12. package/dist/types/components/report/part.d.ts +66 -0
  13. package/dist/types/{src/default.d.ts → default.d.ts} +2 -2
  14. package/dist/types/{src/directive → directive}/devtool.d.ts +1 -1
  15. package/dist/types/{src/directive → directive}/index.d.ts +0 -0
  16. package/dist/types/{src/directive → directive}/outClick.d.ts +1 -1
  17. package/dist/types/{src/directive → directive}/resize.d.ts +1 -1
  18. package/dist/types/{src/directive → directive}/rightClick.d.ts +1 -1
  19. package/dist/types/{src/index.d.ts → index.d.ts} +3 -5
  20. package/dist/types/{src/init.d.ts → init.d.ts} +0 -0
  21. package/dist/types/{src/mock → mock}/apis/index.d.ts +1 -1
  22. package/dist/types/{src/mock → mock}/apis/user.d.ts +1 -1
  23. package/dist/types/{src/mock → mock}/data/example.d.ts +0 -0
  24. package/dist/types/{src/mock → mock}/data/menu.d.ts +0 -0
  25. package/dist/types/{src/mock → mock}/data/role.d.ts +0 -0
  26. package/dist/types/{src/mock → mock}/index.d.ts +1 -1
  27. package/dist/types/{src/mock → mock}/types.d.ts +0 -0
  28. package/dist/types/plugins/element-plus.d.ts +6 -0
  29. package/dist/types/plugins/eventBus.d.ts +5 -0
  30. package/dist/types/{src/router → router}/guard/func.d.ts +0 -0
  31. package/dist/types/{src/router → router}/guard/index.d.ts +1 -1
  32. package/dist/types/router/guard/nprogress.d.ts +3 -0
  33. package/dist/types/{src/router → router}/guard/permission.d.ts +1 -1
  34. package/dist/types/{src/router → router}/guard/remote-routes.d.ts +1 -1
  35. package/dist/types/{src/router → router}/guard/set-page-title.d.ts +1 -1
  36. package/dist/types/router/index.d.ts +2 -0
  37. package/dist/types/{src/router → router}/remote.d.ts +1 -1
  38. package/dist/types/router/router.d.ts +2 -0
  39. package/dist/types/router/types.d.ts +5 -0
  40. package/dist/types/scaffold/404.d.ts +4 -0
  41. package/dist/types/scaffold/container.d.ts +10 -0
  42. package/dist/types/scaffold/dashboard.d.ts +2 -0
  43. package/dist/types/scaffold/devtool/DevLayout.d.ts +0 -0
  44. package/dist/types/scaffold/devtool/base.d.ts +5 -0
  45. package/dist/types/scaffold/devtool/formBuilder/ctrls/checkbox.d.ts +32 -0
  46. package/dist/types/scaffold/devtool/formBuilder/ctrls/code.d.ts +17 -0
  47. package/dist/types/scaffold/devtool/formBuilder/ctrls/icon-select.d.ts +17 -0
  48. package/dist/types/scaffold/devtool/formBuilder/ctrls/input.d.ts +38 -0
  49. package/dist/types/scaffold/devtool/formBuilder/ctrls/json.d.ts +17 -0
  50. package/dist/types/scaffold/devtool/formBuilder/ctrls/number-range.d.ts +32 -0
  51. package/dist/types/scaffold/devtool/formBuilder/ctrls/number.d.ts +32 -0
  52. package/dist/types/scaffold/devtool/formBuilder/ctrls/radio.d.ts +31 -0
  53. package/dist/types/scaffold/devtool/formBuilder/ctrls/select.d.ts +90 -0
  54. package/dist/types/scaffold/devtool/formBuilder/ctrls/sub-form.d.ts +57 -0
  55. package/dist/types/scaffold/devtool/formBuilder/ctrls/switch.d.ts +32 -0
  56. package/dist/types/scaffold/devtool/formBuilder/ctrls/template.d.ts +17 -0
  57. package/dist/types/scaffold/devtool/formBuilder/ctrls/upload.d.ts +17 -0
  58. package/dist/types/scaffold/devtool/formBuilder/form.d.ts +76 -0
  59. package/dist/types/scaffold/devtool/formBuilder/index.d.ts +47 -0
  60. package/dist/types/scaffold/devtool/tableBuilder/btn/api.d.ts +57 -0
  61. package/dist/types/scaffold/devtool/tableBuilder/btn/form.d.ts +50 -0
  62. package/dist/types/scaffold/devtool/tableBuilder/index.d.ts +51 -0
  63. package/dist/types/scaffold/devtool/tableBuilder/table.d.ts +18 -0
  64. package/dist/types/scaffold/form.d.ts +22 -0
  65. package/dist/types/{src/scaffold → scaffold}/index.d.ts +0 -0
  66. package/dist/types/scaffold/login.d.ts +14 -0
  67. package/dist/types/scaffold/report.d.ts +11 -0
  68. package/dist/types/scaffold/table.d.ts +17 -0
  69. package/dist/types/scaffold/tree.d.ts +10 -0
  70. package/dist/types/{src/types.d.ts → types.d.ts} +10 -6
  71. package/package.json +50 -42
  72. package/README.md +0 -3
  73. package/dist/types/auto-imports.d.ts +0 -53
  74. package/dist/types/components.d.ts +0 -50
  75. package/dist/types/src/admin.d.ts +0 -8
  76. package/dist/types/src/components/PageLoad.vue.d.ts +0 -14
  77. package/dist/types/src/components/VIcon.d.ts +0 -13
  78. package/dist/types/src/components/chart/index.vue.d.ts +0 -17
  79. package/dist/types/src/components/report/NumberPanel.vue.d.ts +0 -9
  80. package/dist/types/src/components/report/part.vue.d.ts +0 -168
  81. package/dist/types/src/plugins/element-plus.d.ts +0 -6
  82. package/dist/types/src/plugins/eventBus.d.ts +0 -6
  83. package/dist/types/src/router/guard/nprogress.d.ts +0 -2
  84. package/dist/types/src/router/index.d.ts +0 -2
  85. package/dist/types/src/router/router.d.ts +0 -3
  86. package/dist/types/src/router/vue-router.d.ts +0 -16
  87. package/dist/types/src/scaffold/404.vue.d.ts +0 -4
  88. package/dist/types/src/scaffold/container.vue.d.ts +0 -17
  89. package/dist/types/src/scaffold/dashboard.vue.d.ts +0 -3
  90. package/dist/types/src/scaffold/devtool/formBuilder/index.vue.d.ts +0 -280
  91. package/dist/types/src/scaffold/devtool/tableBuilder/index.vue.d.ts +0 -1115
  92. package/dist/types/src/scaffold/form.vue.d.ts +0 -59
  93. package/dist/types/src/scaffold/layout/components/AppMain.vue.d.ts +0 -24
  94. package/dist/types/src/scaffold/layout/components/Breadcrumb/index.vue.d.ts +0 -25
  95. package/dist/types/src/scaffold/layout/components/Hamburger/index.vue.d.ts +0 -16
  96. package/dist/types/src/scaffold/layout/components/Navbar.vue.d.ts +0 -49
  97. package/dist/types/src/scaffold/layout/components/PageEditor.vue.d.ts +0 -23
  98. package/dist/types/src/scaffold/layout/components/Sidebar/FixiOSBug.d.ts +0 -10
  99. package/dist/types/src/scaffold/layout/components/Sidebar/Link.vue.d.ts +0 -21
  100. package/dist/types/src/scaffold/layout/components/Sidebar/Logo.vue.d.ts +0 -16
  101. package/dist/types/src/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +0 -21
  102. package/dist/types/src/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +0 -41
  103. package/dist/types/src/scaffold/layout/components/Sidebar/index.vue.d.ts +0 -3
  104. package/dist/types/src/scaffold/layout/components/index.d.ts +0 -3
  105. package/dist/types/src/scaffold/layout/index.vue.d.ts +0 -1965
  106. package/dist/types/src/scaffold/login.vue.d.ts +0 -17
  107. package/dist/types/src/scaffold/report.vue.d.ts +0 -485
  108. package/dist/types/src/scaffold/table.vue.d.ts +0 -54
  109. package/dist/types/src/scaffold/tree.vue.d.ts +0 -234
  110. package/dist/types/src/shims-vue.d.ts +0 -22
  111. package/dist/types/src/store/index.d.ts +0 -6
  112. package/dist/types/src/store/modules/app.d.ts +0 -5
  113. package/dist/types/src/store/modules/builderSchema.d.ts +0 -9
  114. package/dist/types/src/store/modules/settings.d.ts +0 -5
  115. package/dist/types/src/store/modules/user.d.ts +0 -5
  116. package/dist/types/src/store/types.d.ts +0 -42
  117. package/dist/types/src/utils/container/index.d.ts +0 -3
  118. package/dist/types/src/utils/env.d.ts +0 -3
  119. package/dist/types/src/utils/index.d.ts +0 -1
  120. package/dist/types/src/utils/request/cache.d.ts +0 -5
  121. package/dist/types/src/utils/request/index.d.ts +0 -8
  122. package/dist/types/src/utils/request/interceptors.d.ts +0 -3
  123. package/dist/types/src/utils/request/types.d.ts +0 -14
  124. package/dist/types/src/utils/sso/index.d.ts +0 -35
  125. package/dist/types/src/utils/token.d.ts +0 -3
@@ -1,1965 +0,0 @@
1
- import type { RouteLocationNormalizedLoaded, useRoute, onBeforeRouteLeave } from 'vue-router';
2
- import type { ComputedRef, Ref, DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- export default _sfc_main;
4
- declare namespace _sfc_main {
5
- function setup(__props: any, { expose }: {
6
- expose: any;
7
- }): {
8
- store: Store<any>;
9
- body: HTMLElement;
10
- WIDTH: number;
11
- sidebar: ComputedRef<any>;
12
- device: ComputedRef<any>;
13
- fixedHeader: ComputedRef<any>;
14
- classObj: ComputedRef<{
15
- hideSidebar: boolean;
16
- openSidebar: any;
17
- withoutAnimation: any;
18
- mobile: boolean;
19
- }>;
20
- isMobile: () => boolean;
21
- handleClickOutside: () => void;
22
- resizeHandler: () => void;
23
- Navbar: {
24
- components: {
25
- Breadcrumb: {
26
- data(): {
27
- levelList: null;
28
- };
29
- watch: {
30
- $route(): void;
31
- };
32
- created(): void;
33
- methods: {
34
- getBreadcrumb(): void;
35
- isDashboard(route: any): boolean;
36
- pathCompile(path: any): any;
37
- handleLink(item: any): void;
38
- };
39
- };
40
- Hamburger: {
41
- name: string;
42
- props: {
43
- isActive: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- };
48
- emits: string[];
49
- methods: {
50
- toggleClick(): void;
51
- };
52
- };
53
- VBtn: any;
54
- PageEditor: {
55
- name: string;
56
- components: {
57
- FormBuilder: {
58
- components: {
59
- DevLayout: any;
60
- VForm: any;
61
- VButton: any;
62
- JsonView: {
63
- name: string;
64
- props: {
65
- data: {
66
- type: (ObjectConstructor | ArrayConstructor)[];
67
- required: boolean;
68
- };
69
- jsonKey: {
70
- type: StringConstructor;
71
- default: string;
72
- };
73
- closed: {
74
- type: BooleanConstructor;
75
- default: boolean;
76
- };
77
- isLast: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- fontSize: {
82
- type: NumberConstructor;
83
- default: number;
84
- };
85
- lineHeight: {
86
- type: NumberConstructor;
87
- default: number;
88
- };
89
- deep: {
90
- type: NumberConstructor;
91
- default: number;
92
- };
93
- currentDeep: {
94
- type: NumberConstructor;
95
- default: number;
96
- };
97
- iconStyle: {
98
- type: StringConstructor;
99
- default: string;
100
- };
101
- iconColor: {
102
- type: ArrayConstructor;
103
- default(): never[];
104
- };
105
- theme: {
106
- type: StringConstructor;
107
- default: string;
108
- };
109
- hasSiblings: {
110
- type: BooleanConstructor;
111
- default: boolean;
112
- };
113
- tools: {
114
- type: BooleanConstructor;
115
- default: boolean;
116
- };
117
- };
118
- data(): {
119
- innerclosed: any;
120
- templateDeep: any;
121
- visible: boolean;
122
- };
123
- computed: {
124
- isArray(): any;
125
- length(): any;
126
- subfix(): any;
127
- prefix(): "[" | "{";
128
- items(): any;
129
- iconColors(): any;
130
- };
131
- watch: {
132
- closed(): void;
133
- };
134
- mounted(): void;
135
- methods: {
136
- getDataType(data: any): string;
137
- isObjectOrArray(source: any): boolean;
138
- toggleClose(): void;
139
- isClose(): any;
140
- isEmptyArrayOrObject(data: any): boolean;
141
- copy(): void;
142
- };
143
- };
144
- };
145
- props: {
146
- schema: {
147
- type: ObjectConstructor;
148
- default: (_: any) => void;
149
- };
150
- };
151
- data(): {
152
- sqlOptions: {};
153
- sqlSchema: {
154
- options: {
155
- submitButton: boolean;
156
- cancelButton: boolean;
157
- };
158
- formItems: {
159
- type: string;
160
- field: string;
161
- props: {
162
- repeat: boolean;
163
- formItems: ({
164
- type: string;
165
- field: string;
166
- label: string;
167
- options?: undefined;
168
- } | {
169
- type: string;
170
- field: string;
171
- label: string;
172
- options: any[];
173
- })[];
174
- };
175
- }[];
176
- };
177
- baseSchema: {
178
- options: {
179
- labelPosition: string;
180
- submitButton: boolean;
181
- cancelButton: boolean;
182
- };
183
- formItems: ({
184
- type: string;
185
- field: string;
186
- label: string;
187
- options?: undefined;
188
- value?: undefined;
189
- props?: undefined;
190
- } | {
191
- type: string;
192
- field: string;
193
- label: string;
194
- options: {
195
- value: string;
196
- label: string;
197
- }[];
198
- value?: undefined;
199
- props?: undefined;
200
- } | {
201
- type: string;
202
- field: string;
203
- label: string;
204
- value: string;
205
- options?: undefined;
206
- props?: undefined;
207
- } | {
208
- type: string;
209
- field: string;
210
- label: string;
211
- value: boolean;
212
- options?: undefined;
213
- props?: undefined;
214
- } | {
215
- type: string;
216
- field: string;
217
- label: string;
218
- props: {
219
- options: {
220
- labelPosition: string;
221
- };
222
- formItems: ({
223
- type: string;
224
- field: string;
225
- label: string;
226
- value: string;
227
- options?: undefined;
228
- } | {
229
- type: string;
230
- field: string;
231
- label: string;
232
- options: {
233
- value: string;
234
- label: string;
235
- }[];
236
- value?: undefined;
237
- })[];
238
- };
239
- options?: undefined;
240
- value?: undefined;
241
- })[];
242
- };
243
- activeTab: string;
244
- builderSchema: any;
245
- baseOptions: {};
246
- key: number;
247
- ctrlKey: number;
248
- activeCtrl: undefined;
249
- ctrlOptions: {};
250
- ctrlSchema: {};
251
- ctrlName: string;
252
- activeIndex: undefined;
253
- ctrlMap: {};
254
- activeIndexReg: RegExp;
255
- tableStruct: string;
256
- activeName: string;
257
- currentCtrlType: string;
258
- types: any[];
259
- };
260
- computed: {
261
- getSaveSchema(): any;
262
- };
263
- watch: {
264
- baseOptions: {
265
- deep: boolean;
266
- immediate: boolean;
267
- handler(val: any): void;
268
- };
269
- ctrlOptions: {
270
- deep: boolean;
271
- handler(val: any): void;
272
- };
273
- currentCtrlType: {
274
- handler(val: any): void;
275
- };
276
- };
277
- beforeCreate(): void;
278
- unmounted(): void;
279
- methods: {
280
- onDevAction(btnType: any, path: any): void;
281
- push(name: any): void;
282
- removeOne(): void;
283
- clicklabel(): void;
284
- saveSchema(): void;
285
- };
286
- };
287
- TableBuilder: {
288
- components: {
289
- JsonView: {
290
- name: string;
291
- props: {
292
- data: {
293
- type: (ObjectConstructor | ArrayConstructor)[];
294
- required: boolean;
295
- };
296
- jsonKey: {
297
- type: StringConstructor;
298
- default: string;
299
- };
300
- closed: {
301
- type: BooleanConstructor;
302
- default: boolean;
303
- };
304
- isLast: {
305
- type: BooleanConstructor;
306
- default: boolean;
307
- };
308
- fontSize: {
309
- type: NumberConstructor;
310
- default: number;
311
- };
312
- lineHeight: {
313
- type: NumberConstructor;
314
- default: number;
315
- };
316
- deep: {
317
- type: NumberConstructor;
318
- default: number;
319
- };
320
- currentDeep: {
321
- type: NumberConstructor;
322
- default: number;
323
- };
324
- iconStyle: {
325
- type: StringConstructor;
326
- default: string;
327
- };
328
- iconColor: {
329
- type: ArrayConstructor;
330
- default(): never[];
331
- };
332
- theme: {
333
- type: StringConstructor;
334
- default: string;
335
- };
336
- hasSiblings: {
337
- type: BooleanConstructor;
338
- default: boolean;
339
- };
340
- tools: {
341
- type: BooleanConstructor;
342
- default: boolean;
343
- };
344
- };
345
- data(): {
346
- innerclosed: any;
347
- templateDeep: any;
348
- visible: boolean;
349
- };
350
- computed: {
351
- isArray(): any;
352
- length(): any;
353
- subfix(): any;
354
- prefix(): "[" | "{";
355
- items(): any;
356
- iconColors(): any;
357
- };
358
- watch: {
359
- closed(): void;
360
- };
361
- mounted(): void;
362
- methods: {
363
- getDataType(data: any): string;
364
- isObjectOrArray(source: any): boolean;
365
- toggleClose(): void;
366
- isClose(): any;
367
- isEmptyArrayOrObject(data: any): boolean;
368
- copy(): void;
369
- };
370
- };
371
- DevLayout: any;
372
- VTable: any;
373
- VForm: any;
374
- VButton: any;
375
- };
376
- props: {
377
- schema: {
378
- type: ObjectConstructor;
379
- default: (_: any) => void;
380
- };
381
- };
382
- data(): {
383
- baseSchema: {
384
- options: {
385
- labelPosition: string;
386
- submitButton: boolean;
387
- cancelButton: boolean;
388
- };
389
- formItems: ({
390
- type: string;
391
- field: string;
392
- label: string;
393
- value: boolean;
394
- } | {
395
- type: string;
396
- field: string;
397
- label: string;
398
- value?: undefined;
399
- })[];
400
- };
401
- activeTab: string;
402
- builderSchema: any;
403
- baseOptions: {};
404
- key: number;
405
- ctrlKey: number;
406
- activeCtrl: undefined;
407
- activeBrick: undefined;
408
- ctrlOptions: {};
409
- ctrlSchema: {};
410
- ctrlName: string;
411
- activeIndex: undefined;
412
- ctrlMap: {
413
- filter: {
414
- input: {
415
- type: string;
416
- name: string;
417
- default: {
418
- type: string;
419
- label: string;
420
- field: string;
421
- };
422
- builder: ({
423
- type: string;
424
- field: string;
425
- label: string;
426
- props?: undefined;
427
- } | {
428
- type: string;
429
- field: string;
430
- label: string;
431
- props: {
432
- options: {
433
- labelPosition: string;
434
- };
435
- formItems: ({
436
- type: string;
437
- field: string;
438
- label: string;
439
- info?: undefined;
440
- } | {
441
- type: string;
442
- field: string;
443
- label: string;
444
- info: string;
445
- })[];
446
- };
447
- })[];
448
- };
449
- select: {
450
- type: string;
451
- name: string;
452
- default: {
453
- type: string;
454
- label: string;
455
- field: string;
456
- };
457
- builder: ({
458
- type: string;
459
- field: string;
460
- label: string;
461
- value?: undefined;
462
- options?: undefined;
463
- props?: undefined;
464
- depend?: undefined;
465
- } | {
466
- type: string;
467
- field: string;
468
- label: string;
469
- value: number;
470
- options: {
471
- value: number;
472
- label: string;
473
- }[];
474
- props?: undefined;
475
- depend?: undefined;
476
- } | {
477
- type: string;
478
- field: string;
479
- label: string;
480
- props: {
481
- repeat: boolean;
482
- options: {
483
- labelPosition: string;
484
- };
485
- formItems: {
486
- type: string;
487
- field: string;
488
- label: string;
489
- }[];
490
- };
491
- depend: {
492
- field: string;
493
- value: number;
494
- };
495
- value?: undefined;
496
- options?: undefined;
497
- } | {
498
- type: string;
499
- field: string;
500
- label: string;
501
- props: {
502
- options: {
503
- labelPosition: string;
504
- };
505
- formItems: ({
506
- type: string;
507
- field: string;
508
- label: string;
509
- depend: {
510
- field: string;
511
- value: number;
512
- };
513
- } | {
514
- type: string;
515
- field: string;
516
- label: string;
517
- depend?: undefined;
518
- } | {
519
- type: string;
520
- field: string;
521
- label: string;
522
- depend: {
523
- field: string;
524
- value: boolean;
525
- };
526
- })[];
527
- repeat?: undefined;
528
- };
529
- value?: undefined;
530
- options?: undefined;
531
- depend?: undefined;
532
- })[];
533
- trans(item: any): any;
534
- };
535
- date: {
536
- type: string;
537
- name: string;
538
- default: {
539
- type: string;
540
- label: string;
541
- field: string;
542
- };
543
- builder: {
544
- type: string;
545
- field: string;
546
- label: string;
547
- }[];
548
- };
549
- };
550
- headers: {
551
- span: {
552
- type: string;
553
- name: string;
554
- default: {
555
- type: string;
556
- label: string;
557
- field: string;
558
- };
559
- builder: {
560
- type: string;
561
- field: string;
562
- label: string;
563
- }[];
564
- };
565
- enum: {
566
- type: string;
567
- name: string;
568
- default: {
569
- type: string;
570
- label: string;
571
- field: string;
572
- };
573
- builder: ({
574
- type: string;
575
- field: string;
576
- label: string;
577
- props?: undefined;
578
- value?: undefined;
579
- } | {
580
- type: string;
581
- field: string;
582
- label: string;
583
- props: {
584
- options: {
585
- labelPosition: string;
586
- };
587
- formItems: {
588
- type: string;
589
- field: string;
590
- label: string;
591
- }[];
592
- };
593
- value: never[];
594
- })[];
595
- trans(val: any): any;
596
- };
597
- html: {
598
- type: string;
599
- name: string;
600
- default: {
601
- type: string;
602
- label: string;
603
- field: string;
604
- };
605
- builder: {
606
- type: string;
607
- field: string;
608
- label: string;
609
- }[];
610
- };
611
- icon: {
612
- type: string;
613
- name: string;
614
- default: {
615
- type: string;
616
- label: string;
617
- field: string;
618
- };
619
- builder: {
620
- type: string;
621
- field: string;
622
- label: string;
623
- }[];
624
- };
625
- image: {
626
- type: string;
627
- name: string;
628
- default: {
629
- type: string;
630
- label: string;
631
- field: string;
632
- };
633
- builder: {
634
- type: string;
635
- field: string;
636
- label: string;
637
- }[];
638
- };
639
- json: {
640
- type: string;
641
- name: string;
642
- default: {
643
- type: string;
644
- label: string;
645
- field: string;
646
- };
647
- builder: {
648
- type: string;
649
- field: string;
650
- label: string;
651
- }[];
652
- };
653
- link: {
654
- type: string;
655
- name: string;
656
- default: {
657
- type: string;
658
- label: string;
659
- field: string;
660
- };
661
- builder: {
662
- type: string;
663
- field: string;
664
- label: string;
665
- }[];
666
- };
667
- rich: {
668
- type: string;
669
- name: string;
670
- default: {
671
- type: string;
672
- label: string;
673
- field: string;
674
- };
675
- builder: {
676
- type: string;
677
- field: string;
678
- label: string;
679
- }[];
680
- };
681
- tpl: {
682
- type: string;
683
- name: string;
684
- default: {
685
- type: string;
686
- label: string;
687
- field: string;
688
- };
689
- builder: ({
690
- type: string;
691
- field: string;
692
- label: string;
693
- info?: undefined;
694
- } | {
695
- type: string;
696
- field: string;
697
- label: string;
698
- info: string;
699
- })[];
700
- };
701
- };
702
- buttons: {
703
- jump: {
704
- type: string;
705
- name: string;
706
- default: {
707
- type: string;
708
- target: string;
709
- text: string;
710
- };
711
- builder: ({
712
- type: string;
713
- field: string;
714
- label: string;
715
- info: string;
716
- props?: undefined;
717
- } | {
718
- type: string;
719
- field: string;
720
- label: string;
721
- info?: undefined;
722
- props?: undefined;
723
- } | {
724
- type: string;
725
- field: string;
726
- label: string;
727
- props: {
728
- options: {
729
- labelPosition: string;
730
- };
731
- formItems: ({
732
- type: string;
733
- field: string;
734
- label: string;
735
- options?: undefined;
736
- } | {
737
- type: string;
738
- field: string;
739
- label: string;
740
- options: {
741
- value: string;
742
- label: string;
743
- }[];
744
- })[];
745
- };
746
- info?: undefined;
747
- })[];
748
- };
749
- api: {
750
- type: string;
751
- name: string;
752
- default: {
753
- type: string;
754
- target: string;
755
- text: string;
756
- };
757
- builder: ({
758
- type: string;
759
- field: string;
760
- label: string;
761
- info: string;
762
- props?: undefined;
763
- } | {
764
- type: string;
765
- field: string;
766
- label: string;
767
- info?: undefined;
768
- props?: undefined;
769
- } | {
770
- type: string;
771
- field: string;
772
- label: string;
773
- props: {
774
- options: {
775
- labelPosition: string;
776
- };
777
- formItems: ({
778
- type: string;
779
- field: string;
780
- label: string;
781
- options?: undefined;
782
- info?: undefined;
783
- } | {
784
- type: string;
785
- field: string;
786
- label: string;
787
- options: {
788
- value: string;
789
- label: string;
790
- }[];
791
- info?: undefined;
792
- } | {
793
- type: string;
794
- field: string;
795
- label: string;
796
- info: string;
797
- options?: undefined;
798
- })[];
799
- };
800
- info?: undefined;
801
- })[];
802
- };
803
- form: {
804
- type: string;
805
- name: string;
806
- default: {
807
- type: string;
808
- target: string;
809
- text: string;
810
- };
811
- builder: ({
812
- type: string;
813
- field: string;
814
- label: string;
815
- options?: undefined;
816
- value?: undefined;
817
- depend?: undefined;
818
- } | {
819
- type: string;
820
- field: string;
821
- label: string;
822
- options: {
823
- value: string;
824
- label: string;
825
- }[];
826
- value: string;
827
- depend?: undefined;
828
- } | {
829
- type: string;
830
- field: string;
831
- label: string;
832
- options: {
833
- value: number;
834
- label: string;
835
- }[];
836
- value: number;
837
- depend?: undefined;
838
- } | {
839
- type: string;
840
- field: string;
841
- label: string;
842
- depend: {
843
- field: string;
844
- value: number;
845
- };
846
- options?: undefined;
847
- value?: undefined;
848
- })[];
849
- };
850
- table: {
851
- type: string;
852
- name: string;
853
- default: {
854
- type: string;
855
- target: string;
856
- text: string;
857
- };
858
- builder: ({
859
- type: string;
860
- field: string;
861
- label: string;
862
- options?: undefined;
863
- value?: undefined;
864
- depend?: undefined;
865
- } | {
866
- type: string;
867
- field: string;
868
- label: string;
869
- options: {
870
- value: string;
871
- label: string;
872
- }[];
873
- value: string;
874
- depend?: undefined;
875
- } | {
876
- type: string;
877
- field: string;
878
- label: string;
879
- options: {
880
- value: number;
881
- label: string;
882
- }[];
883
- value: number;
884
- depend?: undefined;
885
- } | {
886
- type: string;
887
- field: string;
888
- label: string;
889
- depend: {
890
- field: string;
891
- value: number;
892
- };
893
- options?: undefined;
894
- value?: undefined;
895
- })[];
896
- };
897
- };
898
- };
899
- activeIndexReg: RegExp;
900
- currentCtrlType: string;
901
- };
902
- computed: {
903
- types(): any[];
904
- getSaveSchema(): any;
905
- currentBuilderSchema(): any;
906
- };
907
- watch: {
908
- baseOptions: {
909
- deep: boolean;
910
- immediate: boolean;
911
- handler(val: any): void;
912
- };
913
- ctrlOptions: {
914
- deep: boolean;
915
- handler(val: any): void;
916
- };
917
- currentCtrlType: {
918
- handler(val: any): void;
919
- };
920
- };
921
- beforeCreate(): void;
922
- unmounted(): void;
923
- methods: {
924
- updateBuilderSchema(): void;
925
- onDevAction(btnType: any, path: any): void;
926
- pushFilter(name: any): void;
927
- pushHeaders(name: any): void;
928
- pushNormalButton(name: any): void;
929
- pushBatchButton(name: any): void;
930
- pushRowButton(name: any): void;
931
- push(name: any, target: any, ctrlMapName: any, brick: any): void;
932
- removeOne(): void;
933
- clicklabel(): void;
934
- saveSchema(): void;
935
- };
936
- };
937
- };
938
- setup(): {
939
- show: Ref<boolean>;
940
- key: Ref<number>;
941
- direction: string;
942
- pageSchema: ComputedRef<any>;
943
- };
944
- };
945
- };
946
- data(): any;
947
- computed: {
948
- hasNewMessage(): any;
949
- moduleName(): any;
950
- showPageJsonSchemaIcon(): any;
951
- name: Computed;
952
- sidebar: Computed;
953
- avatar: Computed;
954
- nickname: Computed;
955
- nav: Computed;
956
- };
957
- mounted(): void;
958
- methods: {
959
- toggleSideBar(): void;
960
- logout(): Promise<void>;
961
- getSetting(name: any): any;
962
- closeNavBarNotice(): Promise<void>;
963
- showPopover(): void;
964
- showNotice(text: any): boolean;
965
- closeNotice(text: any): void;
966
- gotoMenuEdit(): void;
967
- };
968
- };
969
- Sidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
970
- AppMain: {
971
- setup(__props: any, { expose }: {
972
- expose: any;
973
- }): {
974
- route: RouteLocationNormalizedLoaded;
975
- include: any[];
976
- key: Ref<number>;
977
- useRoute: typeof useRoute;
978
- onBeforeRouteLeave: typeof onBeforeRouteLeave;
979
- };
980
- };
981
- useEventListener: typeof useEventListener;
982
- useStore: typeof useStore;
983
- };
984
- function setup(__props: any, { expose }: {
985
- expose: any;
986
- }): {
987
- store: Store<any>;
988
- body: HTMLElement;
989
- WIDTH: number;
990
- sidebar: ComputedRef<any>;
991
- device: ComputedRef<any>;
992
- fixedHeader: ComputedRef<any>;
993
- classObj: ComputedRef<{
994
- hideSidebar: boolean;
995
- openSidebar: any;
996
- withoutAnimation: any;
997
- mobile: boolean;
998
- }>;
999
- isMobile: () => boolean;
1000
- handleClickOutside: () => void;
1001
- resizeHandler: () => void;
1002
- Navbar: {
1003
- components: {
1004
- Breadcrumb: {
1005
- data(): {
1006
- levelList: null;
1007
- };
1008
- watch: {
1009
- $route(): void;
1010
- };
1011
- created(): void;
1012
- methods: {
1013
- getBreadcrumb(): void;
1014
- isDashboard(route: any): boolean;
1015
- pathCompile(path: any): any;
1016
- handleLink(item: any): void;
1017
- };
1018
- };
1019
- Hamburger: {
1020
- name: string;
1021
- props: {
1022
- isActive: {
1023
- type: BooleanConstructor;
1024
- default: boolean;
1025
- };
1026
- };
1027
- emits: string[];
1028
- methods: {
1029
- toggleClick(): void;
1030
- };
1031
- };
1032
- VBtn: any;
1033
- PageEditor: {
1034
- name: string;
1035
- components: {
1036
- FormBuilder: {
1037
- components: {
1038
- DevLayout: any;
1039
- VForm: any;
1040
- VButton: any;
1041
- JsonView: {
1042
- name: string;
1043
- props: {
1044
- data: {
1045
- type: (ObjectConstructor | ArrayConstructor)[];
1046
- required: boolean;
1047
- };
1048
- jsonKey: {
1049
- type: StringConstructor;
1050
- default: string;
1051
- };
1052
- closed: {
1053
- type: BooleanConstructor;
1054
- default: boolean;
1055
- };
1056
- isLast: {
1057
- type: BooleanConstructor;
1058
- default: boolean;
1059
- };
1060
- fontSize: {
1061
- type: NumberConstructor;
1062
- default: number;
1063
- };
1064
- lineHeight: {
1065
- type: NumberConstructor;
1066
- default: number;
1067
- };
1068
- deep: {
1069
- type: NumberConstructor;
1070
- default: number;
1071
- };
1072
- currentDeep: {
1073
- type: NumberConstructor;
1074
- default: number;
1075
- };
1076
- iconStyle: {
1077
- type: StringConstructor;
1078
- default: string;
1079
- };
1080
- iconColor: {
1081
- type: ArrayConstructor;
1082
- default(): never[];
1083
- };
1084
- theme: {
1085
- type: StringConstructor;
1086
- default: string;
1087
- };
1088
- hasSiblings: {
1089
- type: BooleanConstructor;
1090
- default: boolean;
1091
- };
1092
- tools: {
1093
- type: BooleanConstructor;
1094
- default: boolean;
1095
- };
1096
- };
1097
- data(): {
1098
- innerclosed: any;
1099
- templateDeep: any;
1100
- visible: boolean;
1101
- };
1102
- computed: {
1103
- isArray(): any;
1104
- length(): any;
1105
- subfix(): any;
1106
- prefix(): "[" | "{";
1107
- items(): any;
1108
- iconColors(): any;
1109
- };
1110
- watch: {
1111
- closed(): void;
1112
- };
1113
- mounted(): void;
1114
- methods: {
1115
- getDataType(data: any): string;
1116
- isObjectOrArray(source: any): boolean;
1117
- toggleClose(): void;
1118
- isClose(): any;
1119
- isEmptyArrayOrObject(data: any): boolean;
1120
- copy(): void;
1121
- };
1122
- };
1123
- };
1124
- props: {
1125
- schema: {
1126
- type: ObjectConstructor;
1127
- default: (_: any) => void;
1128
- };
1129
- };
1130
- data(): {
1131
- sqlOptions: {};
1132
- sqlSchema: {
1133
- options: {
1134
- submitButton: boolean;
1135
- cancelButton: boolean;
1136
- };
1137
- formItems: {
1138
- type: string;
1139
- field: string;
1140
- props: {
1141
- repeat: boolean;
1142
- formItems: ({
1143
- type: string;
1144
- field: string;
1145
- label: string;
1146
- options?: undefined;
1147
- } | {
1148
- type: string;
1149
- field: string;
1150
- label: string;
1151
- options: any[];
1152
- })[];
1153
- };
1154
- }[];
1155
- };
1156
- baseSchema: {
1157
- options: {
1158
- labelPosition: string;
1159
- submitButton: boolean;
1160
- cancelButton: boolean;
1161
- };
1162
- formItems: ({
1163
- type: string;
1164
- field: string;
1165
- label: string;
1166
- options?: undefined;
1167
- value?: undefined;
1168
- props?: undefined;
1169
- } | {
1170
- type: string;
1171
- field: string;
1172
- label: string;
1173
- options: {
1174
- value: string;
1175
- label: string;
1176
- }[];
1177
- value?: undefined;
1178
- props?: undefined;
1179
- } | {
1180
- type: string;
1181
- field: string;
1182
- label: string;
1183
- value: string;
1184
- options?: undefined;
1185
- props?: undefined;
1186
- } | {
1187
- type: string;
1188
- field: string;
1189
- label: string;
1190
- value: boolean;
1191
- options?: undefined;
1192
- props?: undefined;
1193
- } | {
1194
- type: string;
1195
- field: string;
1196
- label: string;
1197
- props: {
1198
- options: {
1199
- labelPosition: string;
1200
- };
1201
- formItems: ({
1202
- type: string;
1203
- field: string;
1204
- label: string;
1205
- value: string;
1206
- options?: undefined;
1207
- } | {
1208
- type: string;
1209
- field: string;
1210
- label: string;
1211
- options: {
1212
- value: string;
1213
- label: string;
1214
- }[];
1215
- value?: undefined;
1216
- })[];
1217
- };
1218
- options?: undefined;
1219
- value?: undefined;
1220
- })[];
1221
- };
1222
- activeTab: string;
1223
- builderSchema: any;
1224
- baseOptions: {};
1225
- key: number;
1226
- ctrlKey: number;
1227
- activeCtrl: undefined;
1228
- ctrlOptions: {};
1229
- ctrlSchema: {};
1230
- ctrlName: string;
1231
- activeIndex: undefined;
1232
- ctrlMap: {};
1233
- activeIndexReg: RegExp;
1234
- tableStruct: string;
1235
- activeName: string;
1236
- currentCtrlType: string;
1237
- types: any[];
1238
- };
1239
- computed: {
1240
- getSaveSchema(): any;
1241
- };
1242
- watch: {
1243
- baseOptions: {
1244
- deep: boolean;
1245
- immediate: boolean;
1246
- handler(val: any): void;
1247
- };
1248
- ctrlOptions: {
1249
- deep: boolean;
1250
- handler(val: any): void;
1251
- };
1252
- currentCtrlType: {
1253
- handler(val: any): void;
1254
- };
1255
- };
1256
- beforeCreate(): void;
1257
- unmounted(): void;
1258
- methods: {
1259
- onDevAction(btnType: any, path: any): void;
1260
- push(name: any): void;
1261
- removeOne(): void;
1262
- clicklabel(): void;
1263
- saveSchema(): void;
1264
- };
1265
- };
1266
- TableBuilder: {
1267
- components: {
1268
- JsonView: {
1269
- name: string;
1270
- props: {
1271
- data: {
1272
- type: (ObjectConstructor | ArrayConstructor)[];
1273
- required: boolean;
1274
- };
1275
- jsonKey: {
1276
- type: StringConstructor;
1277
- default: string;
1278
- };
1279
- closed: {
1280
- type: BooleanConstructor;
1281
- default: boolean;
1282
- };
1283
- isLast: {
1284
- type: BooleanConstructor;
1285
- default: boolean;
1286
- };
1287
- fontSize: {
1288
- type: NumberConstructor;
1289
- default: number;
1290
- };
1291
- lineHeight: {
1292
- type: NumberConstructor;
1293
- default: number;
1294
- };
1295
- deep: {
1296
- type: NumberConstructor;
1297
- default: number;
1298
- };
1299
- currentDeep: {
1300
- type: NumberConstructor;
1301
- default: number;
1302
- };
1303
- iconStyle: {
1304
- type: StringConstructor;
1305
- default: string;
1306
- };
1307
- iconColor: {
1308
- type: ArrayConstructor;
1309
- default(): never[];
1310
- };
1311
- theme: {
1312
- type: StringConstructor;
1313
- default: string;
1314
- };
1315
- hasSiblings: {
1316
- type: BooleanConstructor;
1317
- default: boolean;
1318
- };
1319
- tools: {
1320
- type: BooleanConstructor;
1321
- default: boolean;
1322
- };
1323
- };
1324
- data(): {
1325
- innerclosed: any;
1326
- templateDeep: any;
1327
- visible: boolean;
1328
- };
1329
- computed: {
1330
- isArray(): any;
1331
- length(): any;
1332
- subfix(): any;
1333
- prefix(): "[" | "{";
1334
- items(): any;
1335
- iconColors(): any;
1336
- };
1337
- watch: {
1338
- closed(): void;
1339
- };
1340
- mounted(): void;
1341
- methods: {
1342
- getDataType(data: any): string;
1343
- isObjectOrArray(source: any): boolean;
1344
- toggleClose(): void;
1345
- isClose(): any;
1346
- isEmptyArrayOrObject(data: any): boolean;
1347
- copy(): void;
1348
- };
1349
- };
1350
- DevLayout: any;
1351
- VTable: any;
1352
- VForm: any;
1353
- VButton: any;
1354
- };
1355
- props: {
1356
- schema: {
1357
- type: ObjectConstructor;
1358
- default: (_: any) => void;
1359
- };
1360
- };
1361
- data(): {
1362
- baseSchema: {
1363
- options: {
1364
- labelPosition: string;
1365
- submitButton: boolean;
1366
- cancelButton: boolean;
1367
- };
1368
- formItems: ({
1369
- type: string;
1370
- field: string;
1371
- label: string;
1372
- value: boolean;
1373
- } | {
1374
- type: string;
1375
- field: string;
1376
- label: string;
1377
- value?: undefined;
1378
- })[];
1379
- };
1380
- activeTab: string;
1381
- builderSchema: any;
1382
- baseOptions: {};
1383
- key: number;
1384
- ctrlKey: number;
1385
- activeCtrl: undefined;
1386
- activeBrick: undefined;
1387
- ctrlOptions: {};
1388
- ctrlSchema: {};
1389
- ctrlName: string;
1390
- activeIndex: undefined;
1391
- ctrlMap: {
1392
- filter: {
1393
- input: {
1394
- type: string;
1395
- name: string;
1396
- default: {
1397
- type: string;
1398
- label: string;
1399
- field: string;
1400
- };
1401
- builder: ({
1402
- type: string;
1403
- field: string;
1404
- label: string;
1405
- props?: undefined;
1406
- } | {
1407
- type: string;
1408
- field: string;
1409
- label: string;
1410
- props: {
1411
- options: {
1412
- labelPosition: string;
1413
- };
1414
- formItems: ({
1415
- type: string;
1416
- field: string;
1417
- label: string;
1418
- info?: undefined;
1419
- } | {
1420
- type: string;
1421
- field: string;
1422
- label: string;
1423
- info: string;
1424
- })[];
1425
- };
1426
- })[];
1427
- };
1428
- select: {
1429
- type: string;
1430
- name: string;
1431
- default: {
1432
- type: string;
1433
- label: string;
1434
- field: string;
1435
- };
1436
- builder: ({
1437
- type: string;
1438
- field: string;
1439
- label: string;
1440
- value?: undefined;
1441
- options?: undefined;
1442
- props?: undefined;
1443
- depend?: undefined;
1444
- } | {
1445
- type: string;
1446
- field: string;
1447
- label: string;
1448
- value: number;
1449
- options: {
1450
- value: number;
1451
- label: string;
1452
- }[];
1453
- props?: undefined;
1454
- depend?: undefined;
1455
- } | {
1456
- type: string;
1457
- field: string;
1458
- label: string;
1459
- props: {
1460
- repeat: boolean;
1461
- options: {
1462
- labelPosition: string;
1463
- };
1464
- formItems: {
1465
- type: string;
1466
- field: string;
1467
- label: string;
1468
- }[];
1469
- };
1470
- depend: {
1471
- field: string;
1472
- value: number;
1473
- };
1474
- value?: undefined;
1475
- options?: undefined;
1476
- } | {
1477
- type: string;
1478
- field: string;
1479
- label: string;
1480
- props: {
1481
- options: {
1482
- labelPosition: string;
1483
- };
1484
- formItems: ({
1485
- type: string;
1486
- field: string;
1487
- label: string;
1488
- depend: {
1489
- field: string;
1490
- value: number;
1491
- };
1492
- } | {
1493
- type: string;
1494
- field: string;
1495
- label: string;
1496
- depend?: undefined;
1497
- } | {
1498
- type: string;
1499
- field: string;
1500
- label: string;
1501
- depend: {
1502
- field: string;
1503
- value: boolean;
1504
- };
1505
- })[];
1506
- repeat?: undefined;
1507
- };
1508
- value?: undefined;
1509
- options?: undefined;
1510
- depend?: undefined;
1511
- })[];
1512
- trans(item: any): any;
1513
- };
1514
- date: {
1515
- type: string;
1516
- name: string;
1517
- default: {
1518
- type: string;
1519
- label: string;
1520
- field: string;
1521
- };
1522
- builder: {
1523
- type: string;
1524
- field: string;
1525
- label: string;
1526
- }[];
1527
- };
1528
- };
1529
- headers: {
1530
- span: {
1531
- type: string;
1532
- name: string;
1533
- default: {
1534
- type: string;
1535
- label: string;
1536
- field: string;
1537
- };
1538
- builder: {
1539
- type: string;
1540
- field: string;
1541
- label: string;
1542
- }[];
1543
- };
1544
- enum: {
1545
- type: string;
1546
- name: string;
1547
- default: {
1548
- type: string;
1549
- label: string;
1550
- field: string;
1551
- };
1552
- builder: ({
1553
- type: string;
1554
- field: string;
1555
- label: string;
1556
- props?: undefined;
1557
- value?: undefined;
1558
- } | {
1559
- type: string;
1560
- field: string;
1561
- label: string;
1562
- props: {
1563
- options: {
1564
- labelPosition: string;
1565
- };
1566
- formItems: {
1567
- type: string;
1568
- field: string;
1569
- label: string;
1570
- }[];
1571
- };
1572
- value: never[];
1573
- })[];
1574
- trans(val: any): any;
1575
- };
1576
- html: {
1577
- type: string;
1578
- name: string;
1579
- default: {
1580
- type: string;
1581
- label: string;
1582
- field: string;
1583
- };
1584
- builder: {
1585
- type: string;
1586
- field: string;
1587
- label: string;
1588
- }[];
1589
- };
1590
- icon: {
1591
- type: string;
1592
- name: string;
1593
- default: {
1594
- type: string;
1595
- label: string;
1596
- field: string;
1597
- };
1598
- builder: {
1599
- type: string;
1600
- field: string;
1601
- label: string;
1602
- }[];
1603
- };
1604
- image: {
1605
- type: string;
1606
- name: string;
1607
- default: {
1608
- type: string;
1609
- label: string;
1610
- field: string;
1611
- };
1612
- builder: {
1613
- type: string;
1614
- field: string;
1615
- label: string;
1616
- }[];
1617
- };
1618
- json: {
1619
- type: string;
1620
- name: string;
1621
- default: {
1622
- type: string;
1623
- label: string;
1624
- field: string;
1625
- };
1626
- builder: {
1627
- type: string;
1628
- field: string;
1629
- label: string;
1630
- }[];
1631
- };
1632
- link: {
1633
- type: string;
1634
- name: string;
1635
- default: {
1636
- type: string;
1637
- label: string;
1638
- field: string;
1639
- };
1640
- builder: {
1641
- type: string;
1642
- field: string;
1643
- label: string;
1644
- }[];
1645
- };
1646
- rich: {
1647
- type: string;
1648
- name: string;
1649
- default: {
1650
- type: string;
1651
- label: string;
1652
- field: string;
1653
- };
1654
- builder: {
1655
- type: string;
1656
- field: string;
1657
- label: string;
1658
- }[];
1659
- };
1660
- tpl: {
1661
- type: string;
1662
- name: string;
1663
- default: {
1664
- type: string;
1665
- label: string;
1666
- field: string;
1667
- };
1668
- builder: ({
1669
- type: string;
1670
- field: string;
1671
- label: string;
1672
- info?: undefined;
1673
- } | {
1674
- type: string;
1675
- field: string;
1676
- label: string;
1677
- info: string;
1678
- })[];
1679
- };
1680
- };
1681
- buttons: {
1682
- jump: {
1683
- type: string;
1684
- name: string;
1685
- default: {
1686
- type: string;
1687
- target: string;
1688
- text: string;
1689
- };
1690
- builder: ({
1691
- type: string;
1692
- field: string;
1693
- label: string;
1694
- info: string;
1695
- props?: undefined;
1696
- } | {
1697
- type: string;
1698
- field: string;
1699
- label: string;
1700
- info?: undefined;
1701
- props?: undefined;
1702
- } | {
1703
- type: string;
1704
- field: string;
1705
- label: string;
1706
- props: {
1707
- options: {
1708
- labelPosition: string;
1709
- };
1710
- formItems: ({
1711
- type: string;
1712
- field: string;
1713
- label: string;
1714
- options?: undefined;
1715
- } | {
1716
- type: string;
1717
- field: string;
1718
- label: string;
1719
- options: {
1720
- value: string;
1721
- label: string;
1722
- }[];
1723
- })[];
1724
- };
1725
- info?: undefined;
1726
- })[];
1727
- };
1728
- api: {
1729
- type: string;
1730
- name: string;
1731
- default: {
1732
- type: string;
1733
- target: string;
1734
- text: string;
1735
- };
1736
- builder: ({
1737
- type: string;
1738
- field: string;
1739
- label: string;
1740
- info: string;
1741
- props?: undefined;
1742
- } | {
1743
- type: string;
1744
- field: string;
1745
- label: string;
1746
- info?: undefined;
1747
- props?: undefined;
1748
- } | {
1749
- type: string;
1750
- field: string;
1751
- label: string;
1752
- props: {
1753
- options: {
1754
- labelPosition: string;
1755
- };
1756
- formItems: ({
1757
- type: string;
1758
- field: string;
1759
- label: string;
1760
- options?: undefined;
1761
- info?: undefined;
1762
- } | {
1763
- type: string;
1764
- field: string;
1765
- label: string;
1766
- options: {
1767
- value: string;
1768
- label: string;
1769
- }[];
1770
- info?: undefined;
1771
- } | {
1772
- type: string;
1773
- field: string;
1774
- label: string;
1775
- info: string;
1776
- options?: undefined;
1777
- })[];
1778
- };
1779
- info?: undefined;
1780
- })[];
1781
- };
1782
- form: {
1783
- type: string;
1784
- name: string;
1785
- default: {
1786
- type: string;
1787
- target: string;
1788
- text: string;
1789
- };
1790
- builder: ({
1791
- type: string;
1792
- field: string;
1793
- label: string;
1794
- options?: undefined;
1795
- value?: undefined;
1796
- depend?: undefined;
1797
- } | {
1798
- type: string;
1799
- field: string;
1800
- label: string;
1801
- options: {
1802
- value: string;
1803
- label: string;
1804
- }[];
1805
- value: string;
1806
- depend?: undefined;
1807
- } | {
1808
- type: string;
1809
- field: string;
1810
- label: string;
1811
- options: {
1812
- value: number;
1813
- label: string;
1814
- }[];
1815
- value: number;
1816
- depend?: undefined;
1817
- } | {
1818
- type: string;
1819
- field: string;
1820
- label: string;
1821
- depend: {
1822
- field: string;
1823
- value: number;
1824
- };
1825
- options?: undefined;
1826
- value?: undefined;
1827
- })[];
1828
- };
1829
- table: {
1830
- type: string;
1831
- name: string;
1832
- default: {
1833
- type: string;
1834
- target: string;
1835
- text: string;
1836
- };
1837
- builder: ({
1838
- type: string;
1839
- field: string;
1840
- label: string;
1841
- options?: undefined;
1842
- value?: undefined;
1843
- depend?: undefined;
1844
- } | {
1845
- type: string;
1846
- field: string;
1847
- label: string;
1848
- options: {
1849
- value: string;
1850
- label: string;
1851
- }[];
1852
- value: string;
1853
- depend?: undefined;
1854
- } | {
1855
- type: string;
1856
- field: string;
1857
- label: string;
1858
- options: {
1859
- value: number;
1860
- label: string;
1861
- }[];
1862
- value: number;
1863
- depend?: undefined;
1864
- } | {
1865
- type: string;
1866
- field: string;
1867
- label: string;
1868
- depend: {
1869
- field: string;
1870
- value: number;
1871
- };
1872
- options?: undefined;
1873
- value?: undefined;
1874
- })[];
1875
- };
1876
- };
1877
- };
1878
- activeIndexReg: RegExp;
1879
- currentCtrlType: string;
1880
- };
1881
- computed: {
1882
- types(): any[];
1883
- getSaveSchema(): any;
1884
- currentBuilderSchema(): any;
1885
- };
1886
- watch: {
1887
- baseOptions: {
1888
- deep: boolean;
1889
- immediate: boolean;
1890
- handler(val: any): void;
1891
- };
1892
- ctrlOptions: {
1893
- deep: boolean;
1894
- handler(val: any): void;
1895
- };
1896
- currentCtrlType: {
1897
- handler(val: any): void;
1898
- };
1899
- };
1900
- beforeCreate(): void;
1901
- unmounted(): void;
1902
- methods: {
1903
- updateBuilderSchema(): void;
1904
- onDevAction(btnType: any, path: any): void;
1905
- pushFilter(name: any): void;
1906
- pushHeaders(name: any): void;
1907
- pushNormalButton(name: any): void;
1908
- pushBatchButton(name: any): void;
1909
- pushRowButton(name: any): void;
1910
- push(name: any, target: any, ctrlMapName: any, brick: any): void;
1911
- removeOne(): void;
1912
- clicklabel(): void;
1913
- saveSchema(): void;
1914
- };
1915
- };
1916
- };
1917
- setup(): {
1918
- show: Ref<boolean>;
1919
- key: Ref<number>;
1920
- direction: string;
1921
- pageSchema: ComputedRef<any>;
1922
- };
1923
- };
1924
- };
1925
- data(): any;
1926
- computed: {
1927
- hasNewMessage(): any;
1928
- moduleName(): any;
1929
- showPageJsonSchemaIcon(): any;
1930
- name: Computed;
1931
- sidebar: Computed;
1932
- avatar: Computed;
1933
- nickname: Computed;
1934
- nav: Computed;
1935
- };
1936
- mounted(): void;
1937
- methods: {
1938
- toggleSideBar(): void;
1939
- logout(): Promise<void>;
1940
- getSetting(name: any): any;
1941
- closeNavBarNotice(): Promise<void>;
1942
- showPopover(): void;
1943
- showNotice(text: any): boolean;
1944
- closeNotice(text: any): void;
1945
- gotoMenuEdit(): void;
1946
- };
1947
- };
1948
- Sidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
1949
- AppMain: {
1950
- setup(__props: any, { expose }: {
1951
- expose: any;
1952
- }): {
1953
- route: RouteLocationNormalizedLoaded;
1954
- include: any[];
1955
- key: Ref<number>;
1956
- useRoute: typeof useRoute;
1957
- onBeforeRouteLeave: typeof onBeforeRouteLeave;
1958
- };
1959
- };
1960
- useEventListener: typeof useEventListener;
1961
- useStore: typeof useStore;
1962
- };
1963
- }
1964
- import { useEventListener } from "@vueuse/core";
1965
- import type { Store, Computed, useStore } from 'vuex';