@okiss/oms 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 (84) hide show
  1. package/README.md +3 -0
  2. package/dist/index.es.js +6156 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/style.css +1 -0
  5. package/dist/types/auto-imports.d.ts +53 -0
  6. package/dist/types/components.d.ts +50 -0
  7. package/dist/types/src/App.vue.d.ts +125 -0
  8. package/dist/types/src/admin.d.ts +8 -0
  9. package/dist/types/src/components/PageLoad.vue.d.ts +14 -0
  10. package/dist/types/src/components/VIcon.d.ts +13 -0
  11. package/dist/types/src/components/VTree.vue.d.ts +100 -0
  12. package/dist/types/src/components/chart/index.vue.d.ts +17 -0
  13. package/dist/types/src/components/report/NumberPanel.vue.d.ts +9 -0
  14. package/dist/types/src/components/report/option.d.ts +1 -0
  15. package/dist/types/src/components/report/part.vue.d.ts +168 -0
  16. package/dist/types/src/default.d.ts +4 -0
  17. package/dist/types/src/directive/devtool.d.ts +3 -0
  18. package/dist/types/src/directive/index.d.ts +4 -0
  19. package/dist/types/src/directive/outClick.d.ts +3 -0
  20. package/dist/types/src/directive/resize.d.ts +3 -0
  21. package/dist/types/src/directive/rightClick.d.ts +3 -0
  22. package/dist/types/src/index.d.ts +13 -0
  23. package/dist/types/src/init.d.ts +3 -0
  24. package/dist/types/src/mock/apis/index.d.ts +3 -0
  25. package/dist/types/src/mock/apis/user.d.ts +3 -0
  26. package/dist/types/src/mock/data/example.d.ts +897 -0
  27. package/dist/types/src/mock/data/menu.d.ts +104 -0
  28. package/dist/types/src/mock/data/role.d.ts +68 -0
  29. package/dist/types/src/mock/index.d.ts +3 -0
  30. package/dist/types/src/mock/types.d.ts +21 -0
  31. package/dist/types/src/plugins/element-plus.d.ts +6 -0
  32. package/dist/types/src/plugins/eventBus.d.ts +6 -0
  33. package/dist/types/src/router/guard/func.d.ts +3 -0
  34. package/dist/types/src/router/guard/index.d.ts +2 -0
  35. package/dist/types/src/router/guard/nprogress.d.ts +2 -0
  36. package/dist/types/src/router/guard/permission.d.ts +2 -0
  37. package/dist/types/src/router/guard/remote-routes.d.ts +2 -0
  38. package/dist/types/src/router/guard/set-page-title.d.ts +2 -0
  39. package/dist/types/src/router/index.d.ts +2 -0
  40. package/dist/types/src/router/remote.d.ts +3 -0
  41. package/dist/types/src/router/router.d.ts +3 -0
  42. package/dist/types/src/router/vue-router.d.ts +16 -0
  43. package/dist/types/src/scaffold/404.vue.d.ts +4 -0
  44. package/dist/types/src/scaffold/container.vue.d.ts +17 -0
  45. package/dist/types/src/scaffold/dashboard.vue.d.ts +3 -0
  46. package/dist/types/src/scaffold/devtool/formBuilder/index.vue.d.ts +280 -0
  47. package/dist/types/src/scaffold/devtool/tableBuilder/index.vue.d.ts +1115 -0
  48. package/dist/types/src/scaffold/form.vue.d.ts +59 -0
  49. package/dist/types/src/scaffold/index.d.ts +5 -0
  50. package/dist/types/src/scaffold/layout/components/AppMain.vue.d.ts +24 -0
  51. package/dist/types/src/scaffold/layout/components/Breadcrumb/index.vue.d.ts +25 -0
  52. package/dist/types/src/scaffold/layout/components/Hamburger/index.vue.d.ts +16 -0
  53. package/dist/types/src/scaffold/layout/components/Navbar.vue.d.ts +49 -0
  54. package/dist/types/src/scaffold/layout/components/PageEditor.vue.d.ts +23 -0
  55. package/dist/types/src/scaffold/layout/components/Sidebar/FixiOSBug.d.ts +10 -0
  56. package/dist/types/src/scaffold/layout/components/Sidebar/Link.vue.d.ts +21 -0
  57. package/dist/types/src/scaffold/layout/components/Sidebar/Logo.vue.d.ts +16 -0
  58. package/dist/types/src/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +21 -0
  59. package/dist/types/src/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +41 -0
  60. package/dist/types/src/scaffold/layout/components/Sidebar/index.vue.d.ts +3 -0
  61. package/dist/types/src/scaffold/layout/components/index.d.ts +3 -0
  62. package/dist/types/src/scaffold/layout/index.vue.d.ts +1965 -0
  63. package/dist/types/src/scaffold/login.vue.d.ts +17 -0
  64. package/dist/types/src/scaffold/report.vue.d.ts +485 -0
  65. package/dist/types/src/scaffold/table.vue.d.ts +54 -0
  66. package/dist/types/src/scaffold/tree.vue.d.ts +234 -0
  67. package/dist/types/src/shims-vue.d.ts +22 -0
  68. package/dist/types/src/store/index.d.ts +6 -0
  69. package/dist/types/src/store/modules/app.d.ts +5 -0
  70. package/dist/types/src/store/modules/builderSchema.d.ts +9 -0
  71. package/dist/types/src/store/modules/settings.d.ts +5 -0
  72. package/dist/types/src/store/modules/user.d.ts +5 -0
  73. package/dist/types/src/store/types.d.ts +42 -0
  74. package/dist/types/src/types.d.ts +105 -0
  75. package/dist/types/src/utils/container/index.d.ts +3 -0
  76. package/dist/types/src/utils/env.d.ts +3 -0
  77. package/dist/types/src/utils/index.d.ts +1 -0
  78. package/dist/types/src/utils/request/cache.d.ts +5 -0
  79. package/dist/types/src/utils/request/index.d.ts +8 -0
  80. package/dist/types/src/utils/request/interceptors.d.ts +3 -0
  81. package/dist/types/src/utils/request/types.d.ts +14 -0
  82. package/dist/types/src/utils/sso/index.d.ts +35 -0
  83. package/dist/types/src/utils/token.d.ts +3 -0
  84. package/package.json +80 -0
@@ -0,0 +1,1115 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ namespace components {
4
+ export { JsonView };
5
+ export { DevLayout };
6
+ export { VTable };
7
+ export { VForm };
8
+ export { VButton };
9
+ }
10
+ namespace props {
11
+ namespace schema {
12
+ export const type: ObjectConstructor;
13
+ function _default(_: any): void;
14
+ export { _default as default };
15
+ }
16
+ }
17
+ function data(): {
18
+ baseSchema: {
19
+ options: {
20
+ labelPosition: string;
21
+ submitButton: boolean;
22
+ cancelButton: boolean;
23
+ };
24
+ formItems: ({
25
+ type: string;
26
+ field: string;
27
+ label: string;
28
+ value: boolean;
29
+ } | {
30
+ type: string;
31
+ field: string;
32
+ label: string;
33
+ value?: undefined;
34
+ })[];
35
+ };
36
+ activeTab: string;
37
+ builderSchema: any;
38
+ baseOptions: {};
39
+ key: number;
40
+ ctrlKey: number;
41
+ activeCtrl: undefined;
42
+ activeBrick: undefined;
43
+ ctrlOptions: {};
44
+ ctrlSchema: {};
45
+ ctrlName: string;
46
+ activeIndex: undefined;
47
+ ctrlMap: {
48
+ filter: {
49
+ input: {
50
+ type: string;
51
+ name: string;
52
+ default: {
53
+ type: string;
54
+ label: string;
55
+ field: string;
56
+ };
57
+ builder: ({
58
+ type: string;
59
+ field: string;
60
+ label: string;
61
+ props?: undefined;
62
+ } | {
63
+ type: string;
64
+ field: string;
65
+ label: string;
66
+ props: {
67
+ options: {
68
+ labelPosition: string;
69
+ };
70
+ formItems: ({
71
+ type: string;
72
+ field: string;
73
+ label: string;
74
+ info?: undefined;
75
+ } | {
76
+ type: string;
77
+ field: string;
78
+ label: string;
79
+ info: string;
80
+ })[];
81
+ };
82
+ })[];
83
+ };
84
+ select: {
85
+ type: string;
86
+ name: string;
87
+ default: {
88
+ type: string;
89
+ label: string;
90
+ field: string;
91
+ };
92
+ builder: ({
93
+ type: string;
94
+ field: string;
95
+ label: string;
96
+ value?: undefined;
97
+ options?: undefined;
98
+ props?: undefined;
99
+ depend?: undefined;
100
+ } | {
101
+ type: string;
102
+ field: string;
103
+ label: string;
104
+ value: number;
105
+ options: {
106
+ value: number;
107
+ label: string;
108
+ }[];
109
+ props?: undefined;
110
+ depend?: undefined;
111
+ } | {
112
+ type: string;
113
+ field: string;
114
+ label: string;
115
+ props: {
116
+ repeat: boolean;
117
+ options: {
118
+ labelPosition: string;
119
+ };
120
+ formItems: {
121
+ type: string;
122
+ field: string;
123
+ label: string;
124
+ }[];
125
+ };
126
+ depend: {
127
+ field: string;
128
+ value: number;
129
+ };
130
+ value?: undefined;
131
+ options?: undefined;
132
+ } | {
133
+ type: string;
134
+ field: string;
135
+ label: string;
136
+ props: {
137
+ options: {
138
+ labelPosition: string;
139
+ };
140
+ formItems: ({
141
+ type: string;
142
+ field: string;
143
+ label: string;
144
+ depend: {
145
+ field: string;
146
+ value: number;
147
+ };
148
+ } | {
149
+ type: string;
150
+ field: string;
151
+ label: string;
152
+ depend?: undefined;
153
+ } | {
154
+ type: string;
155
+ field: string;
156
+ label: string;
157
+ depend: {
158
+ field: string;
159
+ value: boolean;
160
+ };
161
+ })[];
162
+ repeat?: undefined;
163
+ };
164
+ value?: undefined;
165
+ options?: undefined;
166
+ depend?: undefined;
167
+ })[];
168
+ trans(item: any): any;
169
+ };
170
+ date: {
171
+ type: string;
172
+ name: string;
173
+ default: {
174
+ type: string;
175
+ label: string;
176
+ field: string;
177
+ };
178
+ builder: {
179
+ type: string;
180
+ field: string;
181
+ label: string;
182
+ }[];
183
+ };
184
+ };
185
+ headers: {
186
+ span: {
187
+ type: string;
188
+ name: string;
189
+ default: {
190
+ type: string;
191
+ label: string;
192
+ field: string;
193
+ };
194
+ builder: {
195
+ type: string;
196
+ field: string;
197
+ label: string;
198
+ }[];
199
+ };
200
+ enum: {
201
+ type: string;
202
+ name: string;
203
+ default: {
204
+ type: string;
205
+ label: string;
206
+ field: string;
207
+ };
208
+ builder: ({
209
+ type: string;
210
+ field: string;
211
+ label: string;
212
+ props?: undefined;
213
+ value?: 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
+ }[];
227
+ };
228
+ value: never[];
229
+ })[];
230
+ trans(val: any): any;
231
+ };
232
+ html: {
233
+ type: string;
234
+ name: string;
235
+ default: {
236
+ type: string;
237
+ label: string;
238
+ field: string;
239
+ };
240
+ builder: {
241
+ type: string;
242
+ field: string;
243
+ label: string;
244
+ }[];
245
+ };
246
+ icon: {
247
+ type: string;
248
+ name: string;
249
+ default: {
250
+ type: string;
251
+ label: string;
252
+ field: string;
253
+ };
254
+ builder: {
255
+ type: string;
256
+ field: string;
257
+ label: string;
258
+ }[];
259
+ };
260
+ image: {
261
+ type: string;
262
+ name: string;
263
+ default: {
264
+ type: string;
265
+ label: string;
266
+ field: string;
267
+ };
268
+ builder: {
269
+ type: string;
270
+ field: string;
271
+ label: string;
272
+ }[];
273
+ };
274
+ json: {
275
+ type: string;
276
+ name: string;
277
+ default: {
278
+ type: string;
279
+ label: string;
280
+ field: string;
281
+ };
282
+ builder: {
283
+ type: string;
284
+ field: string;
285
+ label: string;
286
+ }[];
287
+ };
288
+ link: {
289
+ type: string;
290
+ name: string;
291
+ default: {
292
+ type: string;
293
+ label: string;
294
+ field: string;
295
+ };
296
+ builder: {
297
+ type: string;
298
+ field: string;
299
+ label: string;
300
+ }[];
301
+ };
302
+ rich: {
303
+ type: string;
304
+ name: string;
305
+ default: {
306
+ type: string;
307
+ label: string;
308
+ field: string;
309
+ };
310
+ builder: {
311
+ type: string;
312
+ field: string;
313
+ label: string;
314
+ }[];
315
+ };
316
+ tpl: {
317
+ type: string;
318
+ name: string;
319
+ default: {
320
+ type: string;
321
+ label: string;
322
+ field: string;
323
+ };
324
+ builder: ({
325
+ type: string;
326
+ field: string;
327
+ label: string;
328
+ info?: undefined;
329
+ } | {
330
+ type: string;
331
+ field: string;
332
+ label: string;
333
+ info: string;
334
+ })[];
335
+ };
336
+ };
337
+ buttons: {
338
+ jump: {
339
+ type: string;
340
+ name: string;
341
+ default: {
342
+ type: string;
343
+ target: string;
344
+ text: string;
345
+ };
346
+ builder: ({
347
+ type: string;
348
+ field: string;
349
+ label: string;
350
+ info: string;
351
+ props?: undefined;
352
+ } | {
353
+ type: string;
354
+ field: string;
355
+ label: string;
356
+ info?: undefined;
357
+ props?: undefined;
358
+ } | {
359
+ type: string;
360
+ field: string;
361
+ label: string;
362
+ props: {
363
+ options: {
364
+ labelPosition: string;
365
+ };
366
+ formItems: ({
367
+ type: string;
368
+ field: string;
369
+ label: string;
370
+ options?: undefined;
371
+ } | {
372
+ type: string;
373
+ field: string;
374
+ label: string;
375
+ options: {
376
+ value: string;
377
+ label: string;
378
+ }[];
379
+ })[];
380
+ };
381
+ info?: undefined;
382
+ })[];
383
+ };
384
+ api: {
385
+ type: string;
386
+ name: string;
387
+ default: {
388
+ type: string;
389
+ target: string;
390
+ text: string;
391
+ };
392
+ builder: ({
393
+ type: string;
394
+ field: string;
395
+ label: string;
396
+ info: string;
397
+ props?: undefined;
398
+ } | {
399
+ type: string;
400
+ field: string;
401
+ label: string;
402
+ info?: undefined;
403
+ props?: undefined;
404
+ } | {
405
+ type: string;
406
+ field: string;
407
+ label: string;
408
+ props: {
409
+ options: {
410
+ labelPosition: string;
411
+ };
412
+ formItems: ({
413
+ type: string;
414
+ field: string;
415
+ label: string;
416
+ options?: undefined;
417
+ info?: undefined;
418
+ } | {
419
+ type: string;
420
+ field: string;
421
+ label: string;
422
+ options: {
423
+ value: string;
424
+ label: string;
425
+ }[];
426
+ info?: undefined;
427
+ } | {
428
+ type: string;
429
+ field: string;
430
+ label: string;
431
+ info: string;
432
+ options?: undefined;
433
+ })[];
434
+ };
435
+ info?: undefined;
436
+ })[];
437
+ };
438
+ form: {
439
+ type: string;
440
+ name: string;
441
+ default: {
442
+ type: string;
443
+ target: string;
444
+ text: string;
445
+ };
446
+ builder: ({
447
+ type: string;
448
+ field: string;
449
+ label: string;
450
+ options?: undefined;
451
+ value?: undefined;
452
+ depend?: undefined;
453
+ } | {
454
+ type: string;
455
+ field: string;
456
+ label: string;
457
+ options: {
458
+ value: string;
459
+ label: string;
460
+ }[];
461
+ value: string;
462
+ depend?: undefined;
463
+ } | {
464
+ type: string;
465
+ field: string;
466
+ label: string;
467
+ options: {
468
+ value: number;
469
+ label: string;
470
+ }[];
471
+ value: number;
472
+ depend?: undefined;
473
+ } | {
474
+ type: string;
475
+ field: string;
476
+ label: string;
477
+ depend: {
478
+ field: string;
479
+ value: number;
480
+ };
481
+ options?: undefined;
482
+ value?: undefined;
483
+ })[];
484
+ };
485
+ table: {
486
+ type: string;
487
+ name: string;
488
+ default: {
489
+ type: string;
490
+ target: string;
491
+ text: string;
492
+ };
493
+ builder: ({
494
+ type: string;
495
+ field: string;
496
+ label: string;
497
+ options?: undefined;
498
+ value?: undefined;
499
+ depend?: undefined;
500
+ } | {
501
+ type: string;
502
+ field: string;
503
+ label: string;
504
+ options: {
505
+ value: string;
506
+ label: string;
507
+ }[];
508
+ value: string;
509
+ depend?: undefined;
510
+ } | {
511
+ type: string;
512
+ field: string;
513
+ label: string;
514
+ options: {
515
+ value: number;
516
+ label: string;
517
+ }[];
518
+ value: number;
519
+ depend?: undefined;
520
+ } | {
521
+ type: string;
522
+ field: string;
523
+ label: string;
524
+ depend: {
525
+ field: string;
526
+ value: number;
527
+ };
528
+ options?: undefined;
529
+ value?: undefined;
530
+ })[];
531
+ };
532
+ };
533
+ };
534
+ activeIndexReg: RegExp;
535
+ currentCtrlType: string;
536
+ };
537
+ function data(): {
538
+ baseSchema: {
539
+ options: {
540
+ labelPosition: string;
541
+ submitButton: boolean;
542
+ cancelButton: boolean;
543
+ };
544
+ formItems: ({
545
+ type: string;
546
+ field: string;
547
+ label: string;
548
+ value: boolean;
549
+ } | {
550
+ type: string;
551
+ field: string;
552
+ label: string;
553
+ value?: undefined;
554
+ })[];
555
+ };
556
+ activeTab: string;
557
+ builderSchema: any;
558
+ baseOptions: {};
559
+ key: number;
560
+ ctrlKey: number;
561
+ activeCtrl: undefined;
562
+ activeBrick: undefined;
563
+ ctrlOptions: {};
564
+ ctrlSchema: {};
565
+ ctrlName: string;
566
+ activeIndex: undefined;
567
+ ctrlMap: {
568
+ filter: {
569
+ input: {
570
+ type: string;
571
+ name: string;
572
+ default: {
573
+ type: string;
574
+ label: string;
575
+ field: string;
576
+ };
577
+ builder: ({
578
+ type: string;
579
+ field: string;
580
+ label: string;
581
+ props?: undefined;
582
+ } | {
583
+ type: string;
584
+ field: string;
585
+ label: string;
586
+ props: {
587
+ options: {
588
+ labelPosition: string;
589
+ };
590
+ formItems: ({
591
+ type: string;
592
+ field: string;
593
+ label: string;
594
+ info?: undefined;
595
+ } | {
596
+ type: string;
597
+ field: string;
598
+ label: string;
599
+ info: string;
600
+ })[];
601
+ };
602
+ })[];
603
+ };
604
+ select: {
605
+ type: string;
606
+ name: string;
607
+ default: {
608
+ type: string;
609
+ label: string;
610
+ field: string;
611
+ };
612
+ builder: ({
613
+ type: string;
614
+ field: string;
615
+ label: string;
616
+ value?: undefined;
617
+ options?: undefined;
618
+ props?: undefined;
619
+ depend?: undefined;
620
+ } | {
621
+ type: string;
622
+ field: string;
623
+ label: string;
624
+ value: number;
625
+ options: {
626
+ value: number;
627
+ label: string;
628
+ }[];
629
+ props?: undefined;
630
+ depend?: undefined;
631
+ } | {
632
+ type: string;
633
+ field: string;
634
+ label: string;
635
+ props: {
636
+ repeat: boolean;
637
+ options: {
638
+ labelPosition: string;
639
+ };
640
+ formItems: {
641
+ type: string;
642
+ field: string;
643
+ label: string;
644
+ }[];
645
+ };
646
+ depend: {
647
+ field: string;
648
+ value: number;
649
+ };
650
+ value?: undefined;
651
+ options?: undefined;
652
+ } | {
653
+ type: string;
654
+ field: string;
655
+ label: string;
656
+ props: {
657
+ options: {
658
+ labelPosition: string;
659
+ };
660
+ formItems: ({
661
+ type: string;
662
+ field: string;
663
+ label: string;
664
+ depend: {
665
+ field: string;
666
+ value: number;
667
+ };
668
+ } | {
669
+ type: string;
670
+ field: string;
671
+ label: string;
672
+ depend?: undefined;
673
+ } | {
674
+ type: string;
675
+ field: string;
676
+ label: string;
677
+ depend: {
678
+ field: string;
679
+ value: boolean;
680
+ };
681
+ })[];
682
+ repeat?: undefined;
683
+ };
684
+ value?: undefined;
685
+ options?: undefined;
686
+ depend?: undefined;
687
+ })[];
688
+ trans(item: any): any;
689
+ };
690
+ date: {
691
+ type: string;
692
+ name: string;
693
+ default: {
694
+ type: string;
695
+ label: string;
696
+ field: string;
697
+ };
698
+ builder: {
699
+ type: string;
700
+ field: string;
701
+ label: string;
702
+ }[];
703
+ };
704
+ };
705
+ headers: {
706
+ span: {
707
+ type: string;
708
+ name: string;
709
+ default: {
710
+ type: string;
711
+ label: string;
712
+ field: string;
713
+ };
714
+ builder: {
715
+ type: string;
716
+ field: string;
717
+ label: string;
718
+ }[];
719
+ };
720
+ enum: {
721
+ type: string;
722
+ name: string;
723
+ default: {
724
+ type: string;
725
+ label: string;
726
+ field: string;
727
+ };
728
+ builder: ({
729
+ type: string;
730
+ field: string;
731
+ label: string;
732
+ props?: undefined;
733
+ value?: undefined;
734
+ } | {
735
+ type: string;
736
+ field: string;
737
+ label: string;
738
+ props: {
739
+ options: {
740
+ labelPosition: string;
741
+ };
742
+ formItems: {
743
+ type: string;
744
+ field: string;
745
+ label: string;
746
+ }[];
747
+ };
748
+ value: never[];
749
+ })[];
750
+ trans(val: any): any;
751
+ };
752
+ html: {
753
+ type: string;
754
+ name: string;
755
+ default: {
756
+ type: string;
757
+ label: string;
758
+ field: string;
759
+ };
760
+ builder: {
761
+ type: string;
762
+ field: string;
763
+ label: string;
764
+ }[];
765
+ };
766
+ icon: {
767
+ type: string;
768
+ name: string;
769
+ default: {
770
+ type: string;
771
+ label: string;
772
+ field: string;
773
+ };
774
+ builder: {
775
+ type: string;
776
+ field: string;
777
+ label: string;
778
+ }[];
779
+ };
780
+ image: {
781
+ type: string;
782
+ name: string;
783
+ default: {
784
+ type: string;
785
+ label: string;
786
+ field: string;
787
+ };
788
+ builder: {
789
+ type: string;
790
+ field: string;
791
+ label: string;
792
+ }[];
793
+ };
794
+ json: {
795
+ type: string;
796
+ name: string;
797
+ default: {
798
+ type: string;
799
+ label: string;
800
+ field: string;
801
+ };
802
+ builder: {
803
+ type: string;
804
+ field: string;
805
+ label: string;
806
+ }[];
807
+ };
808
+ link: {
809
+ type: string;
810
+ name: string;
811
+ default: {
812
+ type: string;
813
+ label: string;
814
+ field: string;
815
+ };
816
+ builder: {
817
+ type: string;
818
+ field: string;
819
+ label: string;
820
+ }[];
821
+ };
822
+ rich: {
823
+ type: string;
824
+ name: string;
825
+ default: {
826
+ type: string;
827
+ label: string;
828
+ field: string;
829
+ };
830
+ builder: {
831
+ type: string;
832
+ field: string;
833
+ label: string;
834
+ }[];
835
+ };
836
+ tpl: {
837
+ type: string;
838
+ name: string;
839
+ default: {
840
+ type: string;
841
+ label: string;
842
+ field: string;
843
+ };
844
+ builder: ({
845
+ type: string;
846
+ field: string;
847
+ label: string;
848
+ info?: undefined;
849
+ } | {
850
+ type: string;
851
+ field: string;
852
+ label: string;
853
+ info: string;
854
+ })[];
855
+ };
856
+ };
857
+ buttons: {
858
+ jump: {
859
+ type: string;
860
+ name: string;
861
+ default: {
862
+ type: string;
863
+ target: string;
864
+ text: string;
865
+ };
866
+ builder: ({
867
+ type: string;
868
+ field: string;
869
+ label: string;
870
+ info: string;
871
+ props?: undefined;
872
+ } | {
873
+ type: string;
874
+ field: string;
875
+ label: string;
876
+ info?: undefined;
877
+ props?: undefined;
878
+ } | {
879
+ type: string;
880
+ field: string;
881
+ label: string;
882
+ props: {
883
+ options: {
884
+ labelPosition: string;
885
+ };
886
+ formItems: ({
887
+ type: string;
888
+ field: string;
889
+ label: string;
890
+ options?: undefined;
891
+ } | {
892
+ type: string;
893
+ field: string;
894
+ label: string;
895
+ options: {
896
+ value: string;
897
+ label: string;
898
+ }[];
899
+ })[];
900
+ };
901
+ info?: undefined;
902
+ })[];
903
+ };
904
+ api: {
905
+ type: string;
906
+ name: string;
907
+ default: {
908
+ type: string;
909
+ target: string;
910
+ text: string;
911
+ };
912
+ builder: ({
913
+ type: string;
914
+ field: string;
915
+ label: string;
916
+ info: string;
917
+ props?: undefined;
918
+ } | {
919
+ type: string;
920
+ field: string;
921
+ label: string;
922
+ info?: undefined;
923
+ props?: undefined;
924
+ } | {
925
+ type: string;
926
+ field: string;
927
+ label: string;
928
+ props: {
929
+ options: {
930
+ labelPosition: string;
931
+ };
932
+ formItems: ({
933
+ type: string;
934
+ field: string;
935
+ label: string;
936
+ options?: undefined;
937
+ info?: undefined;
938
+ } | {
939
+ type: string;
940
+ field: string;
941
+ label: string;
942
+ options: {
943
+ value: string;
944
+ label: string;
945
+ }[];
946
+ info?: undefined;
947
+ } | {
948
+ type: string;
949
+ field: string;
950
+ label: string;
951
+ info: string;
952
+ options?: undefined;
953
+ })[];
954
+ };
955
+ info?: undefined;
956
+ })[];
957
+ };
958
+ form: {
959
+ type: string;
960
+ name: string;
961
+ default: {
962
+ type: string;
963
+ target: string;
964
+ text: string;
965
+ };
966
+ builder: ({
967
+ type: string;
968
+ field: string;
969
+ label: string;
970
+ options?: undefined;
971
+ value?: undefined;
972
+ depend?: undefined;
973
+ } | {
974
+ type: string;
975
+ field: string;
976
+ label: string;
977
+ options: {
978
+ value: string;
979
+ label: string;
980
+ }[];
981
+ value: string;
982
+ depend?: undefined;
983
+ } | {
984
+ type: string;
985
+ field: string;
986
+ label: string;
987
+ options: {
988
+ value: number;
989
+ label: string;
990
+ }[];
991
+ value: number;
992
+ depend?: undefined;
993
+ } | {
994
+ type: string;
995
+ field: string;
996
+ label: string;
997
+ depend: {
998
+ field: string;
999
+ value: number;
1000
+ };
1001
+ options?: undefined;
1002
+ value?: undefined;
1003
+ })[];
1004
+ };
1005
+ table: {
1006
+ type: string;
1007
+ name: string;
1008
+ default: {
1009
+ type: string;
1010
+ target: string;
1011
+ text: string;
1012
+ };
1013
+ builder: ({
1014
+ type: string;
1015
+ field: string;
1016
+ label: string;
1017
+ options?: undefined;
1018
+ value?: undefined;
1019
+ depend?: undefined;
1020
+ } | {
1021
+ type: string;
1022
+ field: string;
1023
+ label: string;
1024
+ options: {
1025
+ value: string;
1026
+ label: string;
1027
+ }[];
1028
+ value: string;
1029
+ depend?: undefined;
1030
+ } | {
1031
+ type: string;
1032
+ field: string;
1033
+ label: string;
1034
+ options: {
1035
+ value: number;
1036
+ label: string;
1037
+ }[];
1038
+ value: number;
1039
+ depend?: undefined;
1040
+ } | {
1041
+ type: string;
1042
+ field: string;
1043
+ label: string;
1044
+ depend: {
1045
+ field: string;
1046
+ value: number;
1047
+ };
1048
+ options?: undefined;
1049
+ value?: undefined;
1050
+ })[];
1051
+ };
1052
+ };
1053
+ };
1054
+ activeIndexReg: RegExp;
1055
+ currentCtrlType: string;
1056
+ };
1057
+ namespace computed {
1058
+ function types(): any[];
1059
+ function types(): any[];
1060
+ function getSaveSchema(): any;
1061
+ function getSaveSchema(): any;
1062
+ function currentBuilderSchema(): any;
1063
+ function currentBuilderSchema(): any;
1064
+ }
1065
+ namespace watch {
1066
+ namespace baseOptions {
1067
+ const deep: boolean;
1068
+ const immediate: boolean;
1069
+ function handler(val: any): void;
1070
+ function handler(val: any): void;
1071
+ }
1072
+ namespace ctrlOptions {
1073
+ const deep_1: boolean;
1074
+ export { deep_1 as deep };
1075
+ export function handler(val: any): void;
1076
+ export function handler(val: any): void;
1077
+ }
1078
+ namespace currentCtrlType {
1079
+ function handler(val: any): void;
1080
+ function handler(val: any): void;
1081
+ }
1082
+ }
1083
+ function beforeCreate(): void;
1084
+ function beforeCreate(): void;
1085
+ function unmounted(): void;
1086
+ function unmounted(): void;
1087
+ namespace methods {
1088
+ function updateBuilderSchema(): void;
1089
+ function updateBuilderSchema(): void;
1090
+ function onDevAction(btnType: any, path: any): void;
1091
+ function onDevAction(btnType: any, path: any): void;
1092
+ function pushFilter(name: any): void;
1093
+ function pushFilter(name: any): void;
1094
+ function pushHeaders(name: any): void;
1095
+ function pushHeaders(name: any): void;
1096
+ function pushNormalButton(name: any): void;
1097
+ function pushNormalButton(name: any): void;
1098
+ function pushBatchButton(name: any): void;
1099
+ function pushBatchButton(name: any): void;
1100
+ function pushRowButton(name: any): void;
1101
+ function pushRowButton(name: any): void;
1102
+ function push(name: any, target: any, ctrlMapName: any, brick: any): void;
1103
+ function push(name: any, target: any, ctrlMapName: any, brick: any): void;
1104
+ function removeOne(): void;
1105
+ function removeOne(): void;
1106
+ function clicklabel(): void;
1107
+ function clicklabel(): void;
1108
+ function saveSchema(): void;
1109
+ function saveSchema(): void;
1110
+ }
1111
+ }
1112
+ import JsonView from "@okiss/jsonview";
1113
+ import { VTable } from "@okiss/lib/dist/types/vtable";
1114
+ import { VForm } from "@okiss/lib/dist/types/vform";
1115
+ import { VButton } from "@okiss/lib/dist/types/vbutton";