super-page-runtime 2.0.10 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/es/_virtual/AttributeMap.js +4 -0
  2. package/dist/es/_virtual/Delta.js +4 -0
  3. package/dist/es/_virtual/Op.js +4 -0
  4. package/dist/es/_virtual/OpIterator.js +4 -0
  5. package/dist/es/_virtual/__vite-browser-external.js +4 -0
  6. package/dist/es/_virtual/_commonjsHelpers.js +8 -0
  7. package/dist/es/_virtual/_plugin-vue_export-helper.js +10 -0
  8. package/dist/es/_virtual/dayjs.min.js +4 -0
  9. package/dist/es/_virtual/index.js +4 -0
  10. package/dist/es/_virtual/index2.js +4 -0
  11. package/dist/es/_virtual/index3.js +4 -0
  12. package/dist/es/components/runtime/index.d.ts +3 -3
  13. package/dist/es/components/runtime/utils/api/api-util.js +3 -3
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +1 -14
  15. package/dist/es/components/runtime/utils/common-util.d.ts +0 -5
  16. package/dist/es/components/runtime/utils/common-util.js +2 -15
  17. package/dist/es/components/runtime/utils/eventBus.js +1 -1
  18. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  19. package/dist/es/components/runtime/utils/events/standard-event.js +7 -6
  20. package/dist/es/components/runtime/utils/events/validator-util.js +4 -4
  21. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
  22. package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -19
  23. package/dist/es/components/runtime/utils/page-helper-util.js +3 -122
  24. package/dist/es/components/runtime/utils/page-init-util.js +2 -2
  25. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  27. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
  28. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +25 -392
  29. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +15 -12
  30. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +17 -13
  31. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +17 -13
  32. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +19 -14
  33. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
  34. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +5 -5
  37. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
  38. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -4
  39. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -3
  40. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +5 -5
  41. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +4 -2
  43. package/dist/es/components/runtime/views/super-page-dialog.vue.js +4 -5
  44. package/dist/es/components/runtime/views/super-page.vue.js +7 -20
  45. package/dist/es/index.d.ts +2 -7
  46. package/dist/es/index.js +2 -11
  47. package/dist/lib/components/runtime/index.d.ts +3 -3
  48. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -13
  49. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -5
  50. package/dist/lib/components/runtime/utils/common-util.js +0 -13
  51. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
  52. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -19
  53. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -119
  54. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +3 -376
  55. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +4 -4
  56. package/dist/lib/components/runtime/views/super-page.vue.js +0 -14
  57. package/dist/lib/index.d.ts +2 -7
  58. package/dist/lib/index.js +2 -11
  59. package/package.json +69 -70
  60. package/dist/es/assets/chart-themes/theme1.d.ts +0 -4
  61. package/dist/es/assets/chart-themes/theme2.d.ts +0 -4
  62. package/dist/es/assets/chart-themes/theme3.d.ts +0 -4
  63. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -11
  64. package/dist/es/components/runtime/utils/page-permission-util.d.ts +0 -26
  65. package/dist/es/components/runtime/utils/page-permission-util.js +0 -525
  66. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -44
  67. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  68. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -62
  69. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  70. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -127
  71. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  72. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  73. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  74. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  75. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
  76. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  77. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  78. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  79. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  80. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  81. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  82. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
  83. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
@@ -1,11 +0,0 @@
1
- /**
2
- * 获取主题对象
3
- * @param themeName 获取自定义的主题名称
4
- * @returns
5
- */
6
- export declare function getCustomTheme(themeName: string): any;
7
- /**
8
- * 获取所有主题对象
9
- * @returns
10
- */
11
- export declare function getCustomThemeOptions(): Array<any>;
@@ -1,26 +0,0 @@
1
- export declare enum FuncType {
2
- /**
3
- * 公用
4
- */
5
- AUTHENTICATED = "AUTHENTICATED",
6
- /**
7
- * 匿名
8
- */
9
- ANONYMOUS = "ANONYMOUS",
10
- /**
11
- * 专用
12
- */
13
- AUTHORIZED = "AUTHORIZED"
14
- }
15
- /**
16
- * 根据简码获取对应的资源信息
17
- * @param eventName 方法名
18
- * @returns
19
- */
20
- export declare function getStandPermissionInfo(eventName: string): any;
21
- /**
22
- * 获取资源信息
23
- * @param simpleCode
24
- * @returns
25
- */
26
- export declare function getFunctionInfo(simpleCode: string): any;
@@ -1,525 +0,0 @@
1
- var FuncType = /* @__PURE__ */ ((FuncType2) => {
2
- FuncType2["AUTHENTICATED"] = "AUTHENTICATED";
3
- FuncType2["ANONYMOUS"] = "ANONYMOUS";
4
- FuncType2["AUTHORIZED"] = "AUTHORIZED";
5
- return FuncType2;
6
- })(FuncType || {});
7
- const standardFuncUrlMap = {
8
- page: {
9
- label: "页面",
10
- functions: [
11
- {
12
- label: "页面",
13
- path: "temp"
14
- }
15
- ]
16
- },
17
- gets: {
18
- group: "表单标准功能",
19
- label: "获取表单数据",
20
- functions: [
21
- {
22
- funcType: "AUTHENTICATED",
23
- path: "/commons/gets$POST"
24
- }
25
- ]
26
- },
27
- workflowGets: {
28
- group: "标准流程",
29
- label: "获取表单及流程数据",
30
- functions: [
31
- {
32
- funcType: "AUTHENTICATED",
33
- path: "/workflow-commons/gets$POST"
34
- }
35
- ]
36
- },
37
- save: {
38
- group: "表单标准功能",
39
- label: "暂存",
40
- functions: [
41
- {
42
- code: "create",
43
- label: "暂存",
44
- path: "/commons$POST"
45
- },
46
- {
47
- code: "update",
48
- label: "修改",
49
- path: "/commons$POST"
50
- }
51
- ]
52
- },
53
- submit: {
54
- group: "表单标准功能",
55
- label: "提交",
56
- functions: [
57
- {
58
- path: "/commons/submits$POST"
59
- }
60
- ]
61
- },
62
- exportForm: {
63
- group: "表单标准功能",
64
- label: "导出报告",
65
- functions: [
66
- {
67
- path: "/commons/export-reports$POST"
68
- }
69
- ]
70
- },
71
- exportPDF: {
72
- group: "表单标准功能",
73
- label: "导出PDF",
74
- functions: [
75
- {
76
- path: "/commons/exportPDF$POST"
77
- }
78
- ]
79
- },
80
- agree: {
81
- group: "表单标准功能",
82
- label: "同意",
83
- functions: [
84
- {
85
- path: "/commons/approves$POST"
86
- }
87
- ]
88
- },
89
- disagree: {
90
- group: "表单标准功能",
91
- label: "不同意",
92
- functions: [
93
- {
94
- path: "/commons/refuses$POST"
95
- }
96
- ]
97
- },
98
- back: {
99
- group: "表单标准功能",
100
- label: "返回",
101
- functions: []
102
- //无资源时表示不需要控制
103
- },
104
- workflowSave: {
105
- group: "流程表单功能",
106
- label: "暂存",
107
- functions: [
108
- {
109
- funcType: "AUTHENTICATED",
110
- //公用
111
- path: "/workflow-commons$POST"
112
- }
113
- ]
114
- },
115
- submitProcess: {
116
- group: "流程表单功能",
117
- label: "提交流程",
118
- functions: [
119
- {
120
- funcType: "AUTHENTICATED",
121
- //公用
122
- path: "/workflow-commons/submit$POST"
123
- }
124
- ]
125
- },
126
- submitTask: {
127
- group: "流程表单功能",
128
- label: "提交任务",
129
- functions: [
130
- {
131
- funcType: "AUTHENTICATED",
132
- //公用
133
- code: "completeTask.submitTask",
134
- path: "/workflow-commons/complete-tasks$POST"
135
- }
136
- ]
137
- },
138
- approve: {
139
- group: "流程表单功能",
140
- label: "同意",
141
- functions: [
142
- {
143
- funcType: "AUTHENTICATED",
144
- //公用
145
- code: "completeTask.approve",
146
- path: "/workflow-commons/complete-tasks$POST"
147
- }
148
- ]
149
- },
150
- refuse: {
151
- group: "流程表单功能",
152
- label: "不同意",
153
- functions: [
154
- {
155
- funcType: "AUTHENTICATED",
156
- //公用
157
- code: "completeTask.refuse",
158
- path: "/workflow-commons/complete-tasks$POST"
159
- }
160
- ]
161
- },
162
- assign: {
163
- group: "流程表单功能",
164
- label: "指派",
165
- functions: [
166
- {
167
- funcType: "AUTHENTICATED",
168
- //公用
169
- path: "/workflow-commons/assigns$POST"
170
- }
171
- ]
172
- },
173
- drawTask: {
174
- group: "流程表单功能",
175
- label: "领取",
176
- functions: [
177
- {
178
- funcType: "AUTHENTICATED",
179
- //公用
180
- path: "/workflow-commons/draw-tasks$POST"
181
- }
182
- ]
183
- },
184
- abandonReceive: {
185
- group: "流程表单功能",
186
- label: "放弃领取",
187
- functions: [
188
- {
189
- funcType: "AUTHENTICATED",
190
- //公用
191
- path: "/workflow-commons/abandon-receives$POST"
192
- }
193
- ]
194
- },
195
- readed: {
196
- group: "流程表单功能",
197
- label: "已阅",
198
- functions: [
199
- {
200
- funcType: "AUTHENTICATED",
201
- //公用
202
- code: "completeTask.readed",
203
- path: "/workflow-commons/complete-tasks$POST"
204
- }
205
- ]
206
- },
207
- agreement: {
208
- group: "流程表单功能",
209
- label: "赞成",
210
- functions: [
211
- {
212
- funcType: "AUTHENTICATED",
213
- //公用
214
- code: "completeTask.agreement",
215
- path: "/workflow-commons/complete-tasks$POST"
216
- }
217
- ]
218
- },
219
- oppose: {
220
- group: "流程表单功能",
221
- label: "反对",
222
- functions: [
223
- {
224
- funcType: "AUTHENTICATED",
225
- //公用
226
- code: "completeTask.oppose",
227
- path: "/workflow-commons/complete-tasks$POST"
228
- }
229
- ]
230
- },
231
- kiken: {
232
- group: "流程表单功能",
233
- label: "弃权",
234
- functions: [
235
- {
236
- funcType: "AUTHENTICATED",
237
- //公用
238
- code: "completeTask.kiken",
239
- path: "/workflow-commons/complete-tasks$POST"
240
- }
241
- ]
242
- },
243
- addSigner: {
244
- group: "流程表单功能",
245
- label: "加签",
246
- functions: [
247
- {
248
- funcType: "AUTHENTICATED",
249
- //公用
250
- path: "/workflow-commons/add-signers$POST"
251
- }
252
- ]
253
- },
254
- removeSigner: {
255
- group: "流程表单功能",
256
- label: "减签",
257
- functions: [
258
- {
259
- funcType: "AUTHENTICATED",
260
- //公用
261
- path: "/workflow-commons/abandon-receives$POST"
262
- },
263
- {
264
- code: "getRemoveSigners",
265
- //有编码时,以此为准
266
- label: "获取可减签人员",
267
- //有标题时,以此为准
268
- funcType: "AUTHENTICATED",
269
- //公用
270
- path: "/workflow-commons/get-remove-signers$POST"
271
- }
272
- ]
273
- },
274
- copyTask: {
275
- group: "流程表单功能",
276
- label: "抄送",
277
- functions: [
278
- {
279
- funcType: "AUTHENTICATED",
280
- //公用
281
- path: "/workflow-commons/copies$POST"
282
- }
283
- ]
284
- },
285
- retrieveTask: {
286
- group: "流程表单功能",
287
- label: "取回",
288
- functions: [
289
- {
290
- funcType: "AUTHENTICATED",
291
- //公用
292
- path: "/workflow-commons/retrieves$POST"
293
- }
294
- ]
295
- },
296
- returnToPreviousTask: {
297
- group: "流程表单功能",
298
- label: "驳回",
299
- functions: [
300
- {
301
- funcType: "AUTHENTICATED",
302
- //公用
303
- path: "/workflow-commons/returnTaskTo$POST"
304
- }
305
- ]
306
- },
307
- returnTaskTo: {
308
- group: "流程表单功能",
309
- label: "退回",
310
- functions: [
311
- {
312
- funcType: "AUTHENTICATED",
313
- //公用
314
- path: "/workflow-commons/return-to-previous-tasks$POST"
315
- }
316
- ]
317
- },
318
- endInstance: {
319
- group: "流程表单功能",
320
- label: "强制结束",
321
- functions: [
322
- {
323
- funcType: "AUTHENTICATED",
324
- //公用
325
- path: "/workflow-commons/end-instance$POST"
326
- }
327
- ]
328
- },
329
- listData: {
330
- group: "列表功能",
331
- label: "列表数据",
332
- functions: [
333
- {
334
- funcType: "AUTHENTICATED",
335
- //公用
336
- path: "/commons/list$POST"
337
- }
338
- ]
339
- },
340
- listSubData: {
341
- group: "列表功能",
342
- label: "列表子级",
343
- functions: [
344
- {
345
- funcType: "AUTHENTICATED",
346
- //公用
347
- path: "/commons/list-subs$POST"
348
- }
349
- ]
350
- },
351
- saveList: {
352
- group: "列表功能",
353
- label: "暂存",
354
- functions: [
355
- {
356
- code: "create",
357
- label: "暂存",
358
- path: "/commons$POST"
359
- },
360
- {
361
- funcType: "AUTHENTICATED",
362
- //公用
363
- code: "update",
364
- label: "修改",
365
- path: "/commons$POST"
366
- }
367
- ]
368
- },
369
- delete: {
370
- group: "列表功能",
371
- label: "删除",
372
- functions: [
373
- {
374
- path: "/commons/{tableName}$DELETE"
375
- }
376
- ]
377
- },
378
- submitList: {
379
- group: "列表功能",
380
- label: "提交",
381
- functions: [
382
- {
383
- path: "/commons/batch-submits$POST"
384
- }
385
- ]
386
- },
387
- agreeList: {
388
- group: "列表功能",
389
- label: "同意",
390
- functions: [
391
- {
392
- path: "/commons/batch-approves$POST"
393
- }
394
- ]
395
- },
396
- disagreeList: {
397
- group: "列表功能",
398
- label: "不同意",
399
- functions: [
400
- {
401
- path: "/commons/batch-refuses$POST"
402
- }
403
- ]
404
- },
405
- import: {
406
- group: "列表功能",
407
- label: "导入",
408
- functions: [
409
- {
410
- path: "/commons/import-data$POST"
411
- }
412
- ]
413
- },
414
- export: {
415
- group: "列表功能",
416
- label: "导出",
417
- functions: [
418
- {
419
- path: "/commons/export-list-data$POST /commons/export-reports$POST"
420
- }
421
- ]
422
- },
423
- search: {
424
- group: "列表功能",
425
- label: "查询",
426
- functions: []
427
- },
428
- downloadTemplate: {
429
- group: "列表功能",
430
- label: "下载导入模板",
431
- functions: [
432
- {
433
- path: "/commons/download-files$GET"
434
- }
435
- ]
436
- },
437
- lineEditCreate: {
438
- group: "列表行编辑功能",
439
- label: "新建",
440
- functions: [
441
- {
442
- code: "create",
443
- label: "暂存",
444
- path: "/commons$POST"
445
- }
446
- ]
447
- },
448
- lineEditSave: {
449
- group: "列表行编辑功能",
450
- label: "保存",
451
- functions: [
452
- {
453
- code: "create",
454
- label: "保存",
455
- path: "/commons$POST"
456
- },
457
- {
458
- code: "update",
459
- label: "修改",
460
- path: "/commons$POST"
461
- }
462
- ]
463
- },
464
- lineEditDelete: {
465
- group: "列表行编辑功能",
466
- label: "删除",
467
- functions: [
468
- {
469
- code: "delete",
470
- path: "/commons/{tableName}$DELETE"
471
- }
472
- ]
473
- },
474
- lineEditUpdate: {
475
- group: "列表行编辑功能",
476
- label: "修改",
477
- functions: [
478
- {
479
- code: "update",
480
- label: "修改",
481
- path: "/commons$POST"
482
- }
483
- ]
484
- },
485
- restoreEdit: {
486
- group: "列表行编辑功能",
487
- label: "取消编辑",
488
- functions: []
489
- }
490
- };
491
- const functionMap = {};
492
- function getStandPermissionInfo(eventName) {
493
- return eventName ? standardFuncUrlMap[eventName] : void 0;
494
- }
495
- function getFunctionInfo(simpleCode) {
496
- if (!simpleCode) {
497
- return void 0;
498
- }
499
- let funcInfo = functionMap[simpleCode];
500
- if (funcInfo == void 0) {
501
- for (let eventName in standardFuncUrlMap) {
502
- const functions = standardFuncUrlMap[eventName].functions;
503
- if (!functions) {
504
- continue;
505
- }
506
- for (let f of functions) {
507
- const tempCode = f.code ? f.code : eventName;
508
- if (simpleCode === tempCode) {
509
- funcInfo = f;
510
- break;
511
- }
512
- }
513
- if (funcInfo) {
514
- break;
515
- }
516
- }
517
- functionMap[simpleCode] = funcInfo ? funcInfo : "";
518
- }
519
- return funcInfo ? funcInfo : void 0;
520
- }
521
- export {
522
- FuncType,
523
- getFunctionInfo,
524
- getStandPermissionInfo
525
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent, resolveComponent, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
2
- import { ArrowRight } from "@element-plus/icons-vue";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "common-chart-header-breadcrumb",
5
- props: {
6
- headerInfo: {
7
- type: Object,
8
- required: true
9
- }
10
- },
11
- emits: ["close-drill"],
12
- setup(__props, { emit: __emit }) {
13
- const $emits = __emit;
14
- function closeDrill(drillIndex) {
15
- $emits("close-drill", drillIndex);
16
- }
17
- return (_ctx, _cache) => {
18
- const _component_el_tag = resolveComponent("el-tag");
19
- const _component_el_breadcrumb = resolveComponent("el-breadcrumb");
20
- return openBlock(), createBlock(_component_el_breadcrumb, { "separator-icon": unref(ArrowRight) }, {
21
- default: withCtx(() => [
22
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headerInfo.drillOptions, (tag, index) => {
23
- return openBlock(), createBlock(_component_el_tag, {
24
- key: tag.name,
25
- closable: "",
26
- type: "success",
27
- style: { "margin-left": "4px" },
28
- onClose: ($event) => closeDrill(index)
29
- }, {
30
- default: withCtx(() => [
31
- createTextVNode(toDisplayString(tag.label), 1)
32
- ]),
33
- _: 2
34
- }, 1032, ["onClose"]);
35
- }), 128))
36
- ]),
37
- _: 1
38
- }, 8, ["separator-icon"]);
39
- };
40
- }
41
- });
42
- export {
43
- _sfc_main as default
44
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./common-chart-header-breadcrumb.vue.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,62 +0,0 @@
1
- import { defineComponent, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList } from "vue";
2
- const _sfc_main = /* @__PURE__ */ defineComponent({
3
- __name: "common-chart-header-group",
4
- props: {
5
- headerInfo: {
6
- type: Object,
7
- required: true
8
- }
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- watch(props.headerInfo, () => {
13
- console.log("props.headerInfo", props.headerInfo);
14
- });
15
- return (_ctx, _cache) => {
16
- const _component_el_checkbox = resolveComponent("el-checkbox");
17
- const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
18
- const _component_el_radio = resolveComponent("el-radio");
19
- const _component_el_radio_button = resolveComponent("el-radio-button");
20
- const _component_el_radio_group = resolveComponent("el-radio-group");
21
- return __props.headerInfo.groupComponent == "checkbox" ? (openBlock(), createBlock(_component_el_checkbox_group, {
22
- key: 0,
23
- modelValue: __props.headerInfo.groupValue,
24
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.headerInfo.groupValue = $event)
25
- }, {
26
- default: withCtx(() => [
27
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headerInfo.options, (o) => {
28
- return openBlock(), createBlock(_component_el_checkbox, {
29
- label: o.label,
30
- value: o.value
31
- }, null, 8, ["label", "value"]);
32
- }), 256))
33
- ]),
34
- _: 1
35
- }, 8, ["modelValue"])) : __props.headerInfo.groupComponent == "radio" ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.headerInfo.options, (o) => {
36
- return openBlock(), createBlock(_component_el_radio, {
37
- modelValue: __props.headerInfo.groupValue,
38
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.headerInfo.groupValue = $event),
39
- value: o.value,
40
- label: o.label
41
- }, null, 8, ["modelValue", "value", "label"]);
42
- }), 256)) : (openBlock(), createBlock(_component_el_radio_group, {
43
- key: 2,
44
- modelValue: __props.headerInfo.groupValue,
45
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.headerInfo.groupValue = $event)
46
- }, {
47
- default: withCtx(() => [
48
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headerInfo.options, (o) => {
49
- return openBlock(), createBlock(_component_el_radio_button, {
50
- label: o.label,
51
- value: o.value
52
- }, null, 8, ["label", "value"]);
53
- }), 256))
54
- ]),
55
- _: 1
56
- }, 8, ["modelValue"]));
57
- };
58
- }
59
- });
60
- export {
61
- _sfc_main as default
62
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./common-chart-header-group.vue.js";
2
- export {
3
- _sfc_main as default
4
- };