super-page-runtime 1.0.16 → 1.0.17

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 (214) hide show
  1. package/package.json +5 -1
  2. package/.eslintrc.cjs +0 -26
  3. package/.prettierrc.json +0 -8
  4. package/App.vue +0 -9
  5. package/components/index.ts +0 -17
  6. package/components/runtime/index.ts +0 -2
  7. package/components/runtime/utils/assemblys-config.js +0 -294
  8. package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
  9. package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
  10. package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
  11. package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
  12. package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
  13. package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
  14. package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
  15. package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
  16. package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
  17. package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
  18. package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
  19. package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
  20. package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
  21. package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
  22. package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
  23. package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
  24. package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
  25. package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
  26. package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
  27. package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
  28. package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
  29. package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
  30. package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
  31. package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
  32. package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
  33. package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
  34. package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
  35. package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
  36. package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
  37. package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
  38. package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
  39. package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
  40. package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
  41. package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
  42. package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
  43. package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
  44. package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
  45. package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
  46. package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
  47. package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
  48. package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
  49. package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
  50. package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
  51. package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
  52. package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
  53. package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
  54. package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
  55. package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
  56. package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
  57. package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
  58. package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
  59. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
  60. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
  61. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
  62. package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
  63. package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
  64. package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
  65. package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
  66. package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
  67. package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
  68. package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
  69. package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
  70. package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
  71. package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
  72. package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
  73. package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
  74. package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
  75. package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
  76. package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
  77. package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
  78. package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
  79. package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
  80. package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
  81. package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
  82. package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
  83. package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
  84. package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
  85. package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
  86. package/components/runtime/views/assemblys/error-attr.vue +0 -15
  87. package/components/runtime/views/assemblys/error-render.vue +0 -17
  88. package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
  89. package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
  90. package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
  91. package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
  92. package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
  93. package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
  94. package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
  95. package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
  96. package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
  97. package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
  98. package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
  99. package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
  100. package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
  101. package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
  102. package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
  103. package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
  104. package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
  105. package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
  106. package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
  107. package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
  108. package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
  109. package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
  110. package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
  111. package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
  112. package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
  113. package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
  114. package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
  115. package/components/runtime/views/assemblys/form/common/title.vue +0 -20
  116. package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
  117. package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
  118. package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
  119. package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
  120. package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
  121. package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
  122. package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
  123. package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
  124. package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
  125. package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
  126. package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
  127. package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
  128. package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
  129. package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
  130. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
  131. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
  132. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
  133. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
  134. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
  135. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
  136. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
  137. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
  138. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
  139. package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
  140. package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
  141. package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
  142. package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
  143. package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
  144. package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
  145. package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
  146. package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
  147. package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
  148. package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
  149. package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
  150. package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
  151. package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
  152. package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
  153. package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
  154. package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
  155. package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
  156. package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
  157. package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
  158. package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
  159. package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
  160. package/components/runtime/views/assemblys/object-render.vue +0 -176
  161. package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
  162. package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
  163. package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
  164. package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
  165. package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
  166. package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
  167. package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
  168. package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
  169. package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
  170. package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
  171. package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
  172. package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
  173. package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
  174. package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
  175. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
  176. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
  177. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
  178. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
  179. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
  180. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
  181. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
  182. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
  183. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
  184. package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
  185. package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
  186. package/components/runtime/views/render/page-view.vue +0 -80
  187. package/components/runtime/views/super-page copy.vue +0 -61
  188. package/components/runtime/views/super-page.vue +0 -667
  189. package/components/super-page-dialog/index.ts +0 -2
  190. package/components/super-page-dialog/super-page-dialog.vue +0 -267
  191. package/components/wf-editor/index.ts +0 -2
  192. package/components/wf-editor/wf-editor.vue +0 -15
  193. package/cypress/e2e/example.cy.ts +0 -8
  194. package/cypress/e2e/tsconfig.json +0 -10
  195. package/cypress/fixtures/example.json +0 -5
  196. package/cypress/support/commands.ts +0 -39
  197. package/cypress/support/e2e.ts +0 -20
  198. package/cypress.config.ts +0 -8
  199. package/env.d.ts +0 -1
  200. package/index.html +0 -13
  201. package/main.ts +0 -11
  202. package/package-ws.json +0 -70
  203. package/public/favicon.ico +0 -0
  204. package/tsconfig copy.json +0 -17
  205. package/tsconfig.app copy.json +0 -14
  206. package/tsconfig.app.json +0 -14
  207. package/tsconfig.json +0 -17
  208. package/tsconfig.node copy.json +0 -19
  209. package/tsconfig.node.json +0 -19
  210. package/tsconfig.vitest copy.json +0 -11
  211. package/tsconfig.vitest.json +0 -11
  212. package/vite.config copy.ts +0 -109
  213. package/vite.config.ts +0 -86
  214. package/vitest.config.ts +0 -14
@@ -1,209 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="文本标签"
4
- name="styleLabel"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="是否显示" style="margin-top:4px;margin-bottom:-15px;">
8
- <el-switch v-model="configure.style.enableLabel"/>
9
- </el-form-item>
10
- <el-form-item
11
- v-show="configure.style.enableLabel"
12
- label="标签位置" style="margin-top:15px;">
13
- <el-select
14
- v-model="configure.style.labelPosition"
15
- placeholder="默认"
16
- clearable>
17
- <el-option v-for="item in labelPositions"
18
- :label="item" :value="item"/>
19
- </el-select>
20
- </el-form-item>
21
- <el-form-item
22
- v-show="configure.style.enableLabel&&isPieAttr&&configure.style.labelPosition=='outer'" label="对齐方式" style="margin-top:-10px;">
23
- <el-select
24
- v-model="configure.style.labelAlignTo"
25
- placeholder="默认"
26
- clearable>
27
- <el-option label="末端对齐" value="labelLine"/>
28
- <el-option label="文字对齐" value="edge"/>
29
- </el-select>
30
- </el-form-item>
31
- <el-form-item
32
- v-show="configure.style.enableLabel" label="数据格式" style="margin-top:-10px;">
33
- <el-checkbox-group v-model="configure.style.labelNumFormat">
34
- <el-row style="margin-top:-10px;">
35
- <el-col :span="14">
36
- <el-checkbox value="precision" label="小数位数" size="large" />
37
- </el-col>
38
- <el-col :span="8">
39
- <el-select
40
- style="width:70px;margin-top:8px;"
41
- size="small"
42
- v-model="configure.style.labelNumPrecision"
43
- :disabled="configure.style.labelNumFormat&&configure.style.labelNumFormat.indexOf('precision')==-1"
44
- placeholder="默认"
45
- clearable>
46
- <el-option label="1" value="1"/>
47
- <el-option label="2" value="2"/>
48
- <el-option label="3" value="3"/>
49
- <el-option label="4" value="4"/>
50
- <el-option label="5" value="5"/>
51
- <el-option label="6" value="6"/>
52
- </el-select>
53
- </el-col>
54
- </el-row>
55
- <el-row style="margin-top:-10px;">
56
- <el-col :span="14">
57
- <el-checkbox value="prefix" label="前缀" size="large" />
58
- </el-col>
59
- <el-col :span="8">
60
- <el-input
61
- style="width:70px;margin-top:8px;"
62
- size="small"
63
- v-model="configure.style.labelNumPrefix"
64
- :disabled="configure.style.labelNumFormat&&configure.style.labelNumFormat.indexOf('prefix')==-1"
65
- placeholder=""/>
66
- </el-col>
67
- </el-row>
68
- <el-row style="margin-top:-10px;">
69
- <el-col :span="14">
70
- <el-checkbox value="append" label="后缀" size="large" />
71
- </el-col>
72
- <el-col :span="8">
73
- <el-input
74
- style="width:70px;margin-top:8px;"
75
- size="small"
76
- v-model="configure.style.labelNumAppend"
77
- :disabled="configure.style.labelNumFormat&&configure.style.labelNumFormat.indexOf('append')==-1"
78
- placeholder=""/>
79
- </el-col>
80
- </el-row>
81
- </el-checkbox-group>
82
- </el-form-item>
83
- <el-form-item
84
- v-show="configure.style.enableLabel"
85
- label="文字字号" style="margin-top:-10px;">
86
- <el-select
87
- v-model="configure.style.labelFontSize"
88
- placeholder="默认"
89
- clearable>
90
- <el-option
91
- v-for="item in fontSizes"
92
- :label="item" :value="item"/>
93
- </el-select>
94
- </el-form-item>
95
- <el-form-item
96
- v-show="configure.style.enableLabel" label="文字颜色" style="margin-top:-10px;">
97
- <el-color-picker v-model="configure.style.labelColor" />
98
- </el-form-item>
99
- <el-form-item
100
- v-show="configure.style.enableLabel" label="文字粗细" style="margin-top:-10px;">
101
- <el-select
102
- v-model="configure.style.labelWeight"
103
- placeholder="默认"
104
- clearable>
105
- <el-option label="normal" value="normal"/>
106
- <el-option label="bold" value="bold"/>
107
- <el-option label="bolder" value="bolder"/>
108
- <el-option label="lighter" value="lighter"/>
109
- </el-select>
110
- </el-form-item>
111
- <el-form-item
112
- v-show="configure.style.enableLabel&&!isPieAttr" label="左右对齐" style="margin-top:-10px;">
113
- <el-radio-group v-model="configure.style.textAlign">
114
- <el-radio-button value="right">左</el-radio-button>
115
- <el-radio-button value="center">中</el-radio-button>
116
- <el-radio-button value="left">右</el-radio-button>
117
- </el-radio-group>
118
- </el-form-item>
119
- <el-form-item
120
- v-show="configure.style.enableLabel&&!isPieAttr" label="垂直对齐" style="margin-top:-10px;">
121
- <el-radio-group v-model="configure.style.verticalAlign">
122
- <el-radio-button value="bottom">上</el-radio-button>
123
- <el-radio-button value="middle">中</el-radio-button>
124
- <el-radio-button value="top">底</el-radio-button>
125
- </el-radio-group>
126
- </el-form-item>
127
- <el-form-item
128
- v-show="configure.style.enableLabel"
129
- label="旋转角度" style="margin-top:-10px;">
130
- <el-input-number v-model="configure.style.labelAngle" :min="-90" :max="90">
131
- </el-input-number>
132
- </el-form-item>
133
- <el-form-item
134
- v-show="configure.style.enableLabel"
135
- label="文字偏移" style="margin-top:-10px;">
136
- <el-col :span="12">
137
- <el-form-item
138
- label="左" label-width="40px;">
139
- <el-input
140
- style="width:50px;"
141
- v-model="configure.style.labelLeft"
142
- placeholder=""/>
143
- </el-form-item>
144
- </el-col>
145
- <el-col :span="12">
146
- <el-form-item
147
- label="上" label-width="40px;">
148
- <el-input
149
- style="width:50px;"
150
- v-model="configure.style.labelTop"
151
- placeholder=""/>
152
- </el-form-item>
153
- </el-col>
154
- <el-text style="line-height:15px;margin-top:5px;" type="success" size="small">
155
- 如30,左表示文字在横向上偏移30,上表示纵向上偏移 40
156
- </el-text>
157
- </el-form-item>
158
- <el-form-item
159
- v-show="configure.style.enableLabel"
160
- label="内容定义" style="margin-top:-10px;margin-bottom:-15px;">
161
- <el-input
162
- v-model="configure.style.labelFormatter"
163
- :rows="2"
164
- type="textarea"
165
- placeholder=""/>
166
- <el-text style="line-height:15px;margin-top:5px;" type="success" size="small">
167
- {a}:系列名;{b}:数据名;{c}:数据值;{@xxx};{@[n]}
168
- </el-text>
169
- </el-form-item>
170
- </div>
171
- </el-collapse-item>
172
- </template>
173
- <script lang='ts' setup>
174
- import {ref} from 'vue';
175
- const props = defineProps({
176
- configure:{
177
- type:Object,
178
- required:true
179
- },
180
- chartType:String
181
- });
182
- //字号
183
- const fontSizes = ["8","10","12","14","16","18","20","24","28"];
184
- //标签位置
185
- const labelPositions:any = [];
186
- const isPieAttr = ref(true);
187
- if(props.chartType=='seriesChart'){
188
- labelPositions.push('outer');
189
- labelPositions.push('inside');
190
- labelPositions.push('center');
191
- }else{
192
- isPieAttr.value = false;
193
- labelPositions.push('top');
194
- labelPositions.push('left');
195
- labelPositions.push('right');
196
- labelPositions.push('bottom');
197
- labelPositions.push('inside');
198
- labelPositions.push('insideLeft');
199
- labelPositions.push('insideRight');
200
- labelPositions.push('insideTop');
201
- labelPositions.push('insideBottom');
202
- labelPositions.push('insideTopLeft');
203
- labelPositions.push('insideBottomLeft');
204
- labelPositions.push('insideTopRight');
205
- labelPositions.push('insideBottomRight');
206
- }
207
-
208
- </script>
209
-
@@ -1,46 +0,0 @@
1
- <template>
2
- <div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
3
- <v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
4
- </div>
5
- </template>
6
- <script lang="ts" setup>
7
- import { ref } from 'vue'
8
- import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
9
- import type {
10
- Component,
11
- PageContext
12
- } from '../../../../../../src/utils/interfaces/page-design-types'
13
-
14
- import { use } from 'echarts/core'
15
- import { CanvasRenderer } from 'echarts/renderers'
16
- import { GaugeChart } from 'echarts/charts'
17
-
18
- import {
19
- GridComponent,
20
- TitleComponent,
21
- TooltipComponent,
22
- ToolboxComponent
23
- } from 'echarts/components'
24
-
25
- //统计图
26
- use([CanvasRenderer, GaugeChart, GridComponent, TitleComponent, TooltipComponent, ToolboxComponent])
27
-
28
- import VChart from 'vue-echarts'
29
-
30
- interface MyProps {
31
- pageContext: PageContext
32
- configure: Component
33
- }
34
- const props = defineProps<MyProps>()
35
- //自身引用
36
- const thisRef = ref(null)
37
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
38
- //运行时的自身详细参数
39
- const runtimeStyle = runtimeInfo.style
40
- const runtimeClass = runtimeInfo.class
41
-
42
- const chartOption: any = runtimeInfo.chartOption
43
- //自定义主题
44
- const configureProps = props.configure.props ? props.configure.props : {}
45
- const customTheme: any = getCustomTheme(configureProps.customTheme)
46
- </script>
@@ -1,56 +0,0 @@
1
- <template>
2
- <div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
3
- <v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
4
- </div>
5
- </template>
6
- <script lang="ts" setup>
7
- import { ref } from 'vue'
8
- import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
9
- import type {
10
- Component,
11
- PageContext
12
- } from '../../../../../../src/utils/interfaces/page-design-types'
13
-
14
- import { use } from 'echarts/core'
15
- import { CanvasRenderer } from 'echarts/renderers'
16
- import { PieChart } from 'echarts/charts'
17
-
18
- import {
19
- GridComponent,
20
- LegendComponent,
21
- TitleComponent,
22
- TooltipComponent,
23
- ToolboxComponent
24
- } from 'echarts/components'
25
-
26
- //统计图
27
- use([
28
- CanvasRenderer,
29
- PieChart,
30
- GridComponent,
31
- LegendComponent,
32
- TitleComponent,
33
- TooltipComponent,
34
- ToolboxComponent
35
- ])
36
-
37
- import VChart from 'vue-echarts'
38
-
39
- interface MyProps {
40
- pageContext: PageContext
41
- configure: Component
42
- }
43
- const props = defineProps<MyProps>()
44
- //自身引用
45
- const thisRef = ref(null)
46
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
47
- //运行时的自身详细参数
48
- const runtimeStyle = runtimeInfo.style
49
- const runtimeClass = runtimeInfo.class
50
-
51
- const chartOption: any = runtimeInfo.chartOption
52
-
53
- //自定义主题
54
- const configureProps = props.configure.props ? props.configure.props : {}
55
- const customTheme: any = getCustomTheme(configureProps.customTheme)
56
- </script>
@@ -1,55 +0,0 @@
1
- <template>
2
- <div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
3
- <v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
4
- </div>
5
- </template>
6
- <script lang="ts" setup>
7
- import { ref } from 'vue'
8
- import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
9
- import type {
10
- Component,
11
- PageContext
12
- } from '../../../../../../src/utils/interfaces/page-design-types'
13
-
14
- import { use } from 'echarts/core'
15
- import { CanvasRenderer } from 'echarts/renderers'
16
- import { RadarChart } from 'echarts/charts'
17
-
18
- import {
19
- LegendComponent,
20
- GridComponent,
21
- TitleComponent,
22
- TooltipComponent,
23
- ToolboxComponent
24
- } from 'echarts/components'
25
-
26
- //统计图
27
- use([
28
- CanvasRenderer,
29
- RadarChart,
30
- GridComponent,
31
- TitleComponent,
32
- TooltipComponent,
33
- ToolboxComponent,
34
- LegendComponent
35
- ])
36
-
37
- import VChart from 'vue-echarts'
38
-
39
- interface MyProps {
40
- pageContext: PageContext
41
- configure: Component
42
- }
43
- const props = defineProps<MyProps>()
44
- //自身引用
45
- const thisRef = ref(null)
46
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
47
- //运行时的自身详细参数
48
- const runtimeStyle = runtimeInfo.style
49
- const runtimeClass = runtimeInfo.class
50
-
51
- const chartOption: any = runtimeInfo.chartOption
52
- //自定义主题
53
- const configureProps = props.configure.props ? props.configure.props : {}
54
- const customTheme: any = getCustomTheme(configureProps.customTheme)
55
- </script>
@@ -1,57 +0,0 @@
1
- <template>
2
- <div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
3
- <v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
4
- </div>
5
- </template>
6
- <script lang="ts" setup>
7
- import { ref } from 'vue'
8
- import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
9
- import type {
10
- Component,
11
- PageContext
12
- } from '../../../../../../src/utils/interfaces/page-design-types'
13
-
14
- import { use } from 'echarts/core'
15
- import { CanvasRenderer } from 'echarts/renderers'
16
- import { ScatterChart } from 'echarts/charts'
17
-
18
- import {
19
- GridComponent,
20
- LegendComponent,
21
- TitleComponent,
22
- TooltipComponent,
23
- ToolboxComponent,
24
- DataZoomComponent
25
- } from 'echarts/components'
26
-
27
- //统计图
28
- use([
29
- CanvasRenderer,
30
- ScatterChart,
31
- GridComponent,
32
- LegendComponent,
33
- TitleComponent,
34
- TooltipComponent,
35
- ToolboxComponent,
36
- DataZoomComponent
37
- ])
38
-
39
- import VChart from 'vue-echarts'
40
-
41
- interface MyProps {
42
- pageContext: PageContext
43
- configure: Component
44
- }
45
- const props = defineProps<MyProps>()
46
- //自身引用
47
- const thisRef = ref(null)
48
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
49
- //运行时的自身详细参数
50
- const runtimeStyle = runtimeInfo.style
51
- const runtimeClass = runtimeInfo.class
52
-
53
- const chartOption: any = runtimeInfo.chartOption
54
- //自定义主题
55
- const configureProps = props.configure.props ? props.configure.props : {}
56
- const customTheme: any = getCustomTheme(configureProps.customTheme)
57
- </script>
@@ -1,23 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="鼠标手势"
4
- name="cursor"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-radio-group v-model="configure.style.cursor" class="ml-4">
8
- <el-radio value="default">Default</el-radio>
9
- <el-radio value="pointer">Pointer</el-radio>
10
- </el-radio-group>
11
- </div>
12
- </el-collapse-item>
13
- </template>
14
- <script lang='ts' setup>
15
- import {} from 'vue';
16
- defineProps({
17
- configure:{
18
- type:Object,
19
- required:true
20
- }
21
- });
22
- </script>
23
-
@@ -1,54 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="尺寸"
4
- name="attrSize"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="宽度" style="margin-top:4px;">
8
- <el-radio-group v-model="size.widthType">
9
- <el-radio-button value="flex">24格</el-radio-button>
10
- <el-radio-button value="fix">自定义</el-radio-button>
11
- </el-radio-group>
12
- </el-form-item>
13
- <el-form-item
14
- style="margin-top:-10px;"
15
- v-if="size.widthType!='fix'"
16
- label="栏数">
17
- <el-select
18
- v-model="size.flexSpan"
19
- placeholder="默认"
20
- clearable>
21
- <el-option
22
- :key="item"
23
- v-for="item in gutters"
24
- :label="item" :value="item"/>
25
- </el-select>
26
- </el-form-item>
27
- <el-form-item
28
- style="margin-top:-10px;"
29
- v-if="size.widthType=='fix'"
30
- label="宽度"
31
- title="未设置时自动宽度,可设置百分比">
32
- <el-input v-model="size.fixWidth" placeholder="请输入">
33
- </el-input>
34
- </el-form-item>
35
- <el-form-item
36
- label="高度" style="margin-top:-10px;margin-bottom:-15px;" title="未设置时自动高度,可设置百分比">
37
- <el-input v-model="size.fixHeight" placeholder="请输入">
38
- </el-input>
39
- </el-form-item>
40
- </div>
41
- </el-collapse-item>
42
- </template>
43
- <script lang='ts' setup>
44
- import {} from 'vue';
45
- const props = defineProps({
46
- size:{
47
- type:Object,
48
- required:true
49
- }
50
- });
51
- //分栏可选项
52
- const gutters = [2,4,6,8,10,12,14,16,18,20,24];
53
- </script>
54
-