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,60 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="基本"
4
- name="propsBase"
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-text>{{configure.label}}({{configure.name}})</el-text>
9
- </el-form-item>
10
- <el-form-item
11
- label="组件名" style="margin-top:-10px;">
12
- <el-text>{{configure.props.refId}}</el-text>
13
- </el-form-item>
14
- <el-form-item
15
- label="主标题" style="margin-top:-10px">
16
- <el-input v-model="configure.props.title" placeholder="请输入">
17
- </el-input>
18
- </el-form-item>
19
- <el-form-item
20
- label="副标题" style="margin-top:-10px">
21
- <el-input v-model="configure.props.subTitle" placeholder="请输入">
22
- </el-input>
23
- </el-form-item>
24
- <el-form-item
25
- v-show="chartType=='columnLine'"
26
- label="条形图" style="margin-top:-10px">
27
- <el-switch v-model="configure.props.isBar"/>
28
- </el-form-item>
29
- <el-form-item
30
- label="主题" style="margin-top:-10px">
31
- <el-radio-group v-model="configure.props.theme">
32
- <el-radio-button value="default">默认</el-radio-button>
33
- <el-radio-button value="dark">暗黑</el-radio-button>
34
- </el-radio-group>
35
- </el-form-item>
36
- <el-form-item
37
- label="定时刷新" style="margin-top:-10px">
38
- <el-input v-model="configure.props.refreshInterval">
39
- <template #suffix>
40
-
41
- </template>
42
- </el-input>
43
- </el-form-item>
44
- <el-form-item
45
- label="状态" style="margin-top:-10px;margin-bottom:-10px;">
46
- <el-radio-group v-model="configure.props.state">
47
- <el-radio-button value="show">显示</el-radio-button>
48
- <el-radio-button value="hide">隐藏</el-radio-button>
49
- </el-radio-group>
50
- </el-form-item>
51
- </div>
52
- </el-collapse-item>
53
- </template>
54
- <script lang='ts' setup>
55
- defineProps({
56
- configure:Object,
57
- chartType:Object
58
- });
59
- </script>
60
-
@@ -1,39 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="数据钻取"
4
- name="propsDrill"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item
8
- label="开启" style="margin-top:0px;margin-bottom:-15px;">
9
- <el-switch v-model="configure.props.enableDrill"/>
10
- </el-form-item>
11
- <el-form-item
12
- v-show="configure.props.enableDrill"
13
- label="钻取顺序" style="margin-top:20px;margin-bottom:10px;">
14
- <el-input
15
- v-model="configure.props.drillOrders"
16
- placeholder="请输入"></el-input>
17
- <el-text type="success" size="small">逗号隔开,第一层为统计纬度</el-text>
18
- </el-form-item>
19
- <el-form-item
20
- v-show="configure.props.enableDrill"
21
- label="显示位置" style="margin-top:-10px;margin-bottom:-15px;">
22
- <el-radio-group v-model="configure.props.drillLabelAlign">
23
- <el-radio-button value="left">左</el-radio-button>
24
- <el-radio-button value="center">中</el-radio-button>
25
- <el-radio-button value="right">右</el-radio-button>
26
- </el-radio-group>
27
- </el-form-item>
28
- </div>
29
- </el-collapse-item>
30
- </template>
31
- <script lang='ts' setup>
32
- defineProps({
33
- configure:{
34
- required:true,
35
- type:Object
36
- }
37
- });
38
- </script>
39
-
@@ -1,104 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="统计纬度"
4
- name="propsGroup"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-radio-group v-model="configure.props.groupSource">
8
- <el-form-item style="margin-top:4px;">
9
- <template #label>
10
- <el-radio value="fix">固定维度</el-radio>
11
- </template>
12
- <el-input v-model="configure.props.groupFix" :disabled="configure.props.groupSource!='fix'"></el-input>
13
- <el-text v-show="configure.props.groupSource=='fix'" type="success" size="small">多维度用逗号隔开</el-text>
14
- </el-form-item>
15
- <el-form-item style="margin-top:-10px;">
16
- <template #label>
17
- <el-radio value="variable">变量维度</el-radio>
18
- </template>
19
- <el-cascader
20
- v-model="configure.props.groupVariable"
21
- :disabled="configure.props.groupSource!='variable'"
22
- :options="variableOptions"
23
- :props="variableProps"
24
- placeholder="请选择"
25
- clearable />
26
- </el-form-item>
27
- </el-radio-group>
28
- <el-form-item
29
- label="显示位置" style="margin-top:-10px;">
30
- <el-select
31
- v-model="configure.props.groupPosition"
32
- placeholder="默认"
33
- clearable>
34
- <el-option label="居左" value="left"></el-option>
35
- <el-option label="居中" value="center"></el-option>
36
- <el-option label="居右" value="right"></el-option>
37
- </el-select>
38
- </el-form-item>
39
- <el-form-item
40
- v-show="configure.props.groupPosition"
41
- label="显示组件" style="margin-top:-10px;">
42
- <el-radio-group v-model="configure.props.groupComponent">
43
- <el-radio-button value="group">选项组</el-radio-button>
44
- <el-radio-button value="radio">单选</el-radio-button>
45
- <el-radio-button value="checkbox">多选</el-radio-button>
46
- </el-radio-group>
47
- </el-form-item>
48
- <el-form-item
49
- label="多维度显示" style="margin-top:-10px;margin-bottom:-15px;">
50
- <el-radio-group v-model="configure.props.mulGroupShow">
51
- <el-radio-button value="space">空格</el-radio-button>
52
- <el-radio-button value="break">换行</el-radio-button>
53
- </el-radio-group>
54
- </el-form-item>
55
- <!--<el-form-item
56
- label="维度参数名" style="margin-top:-10px;margin-bottom:-15px;">
57
- <el-input v-model="configure.props.groupName" placeholder="请输入"></el-input>
58
- <el-text type="success" size="small">可为空,默认参数名为:groupBy</el-text>
59
- </el-form-item>-->
60
- </div>
61
- </el-collapse-item>
62
- </template>
63
- <script lang='ts' setup>
64
- defineProps({
65
- configure:{
66
- type:Object,
67
- required:true
68
- }
69
- });
70
- //可选变量维度
71
- const variableOptions = [
72
- {
73
- value: 'dataModel',
74
- label: '数据模型',
75
- children: [
76
- {
77
- value: 'field1',
78
- label: '字段1'
79
- },
80
- {
81
- value: 'field2',
82
- label: '字段2'
83
- }
84
- ]
85
- },{
86
- value: 'customParam',
87
- label: '自定义',
88
- children: [
89
- {
90
- value: 'field1',
91
- label: '字段1'
92
- },
93
- {
94
- value: 'field2',
95
- label: '字段2'
96
- }
97
- ]
98
- }];
99
- //可选变量属性
100
- const variableProps = {
101
- multiple: true
102
- };
103
- </script>
104
-
@@ -1,145 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="系列列表"
4
- name="seriesList"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-table :data="configure.items" style="width: 100%;margin-bottom:-10px;" class="panelTable">
8
- <el-table-column label="" width="32">
9
- <template #default="scope">
10
- <div style="text-align:center;margin:0px -8px;padding-top:4px;padding-left:2px;">
11
- <el-icon size="14" style="cursor: pointer;" @click="moveTop(scope.row)"><Top /></el-icon>
12
- <el-icon size="14" style="margin-left:2px;cursor: pointer;" @click="moveToBottom(scope.row)"><Bottom /></el-icon>
13
- </div>
14
- </template>
15
- </el-table-column>
16
- <el-table-column prop="label" label="名称" width="130">
17
- <template #default="scope">
18
- <el-input
19
- v-model="scope.row.props.title"
20
- size="small"></el-input>
21
- </template>
22
- </el-table-column>
23
- <el-table-column label="操作" width="90">
24
- <template #default="scope">
25
- <el-icon size="14" style="color:#5893EF;cursor: pointer;font-weight:bold;margin-right:8px;" @click="addSeries(scope.row)">
26
- <Plus />
27
- </el-icon>
28
- <el-icon size="14" style="color:#5893EF;cursor: pointer;" @click="deleteSeries(scope.row)">
29
- <Delete />
30
- </el-icon>
31
- </template>
32
- </el-table-column>
33
- </el-table>
34
- </div>
35
- </el-collapse-item>
36
- </template>
37
- <script lang='ts' setup>
38
- import {
39
- Plus,
40
- Delete,
41
- Top,
42
- Bottom
43
- } from '@element-plus/icons-vue';
44
- const props = defineProps({
45
- configure:{
46
- type:Object,
47
- required:true
48
- },
49
- defaultType:{
50
- type:String,
51
- default:''
52
- }
53
- });
54
-
55
- /**
56
- * 向上移动
57
- * @param rowItem
58
- */
59
- function moveTop(rowItem:any){
60
- let sortIndex:any = -1;
61
- const itemLen = props.configure.items.length;
62
- for(let index=0;index<itemLen;index++){
63
- if(props.configure.items[index].index==rowItem.index){
64
- sortIndex = index;
65
- break;
66
- }
67
- }
68
- if(sortIndex<1){
69
- return;
70
- }
71
- const items = props.configure.items;
72
- [items[sortIndex-1],items[sortIndex]] = [items[sortIndex],items[sortIndex-1]];
73
- }
74
-
75
- /**
76
- * 向下移动
77
- * @param rowItem
78
- */
79
- function moveToBottom(rowItem:any){
80
- let sortIndex:any = -1;
81
- const itemLen = props.configure.items.length;
82
- for(let index=0;index<itemLen;index++){
83
- if(props.configure.items[index].index==rowItem.index){
84
- sortIndex = index;
85
- break;
86
- }
87
- }
88
- if(sortIndex==-1||props.configure.items.length==sortIndex+1){
89
- return;
90
- }
91
- const items = props.configure.items;
92
- [items[sortIndex],items[sortIndex+1]] = [items[sortIndex+1],items[sortIndex]];
93
- }
94
-
95
- /**
96
- * 添加系列
97
- */
98
- function addSeries(rowItem:any){
99
- //查询最大的index
100
- let maxIndex = -1;
101
- let currentIndex = -1;
102
- props.configure.items.find((item:any,index:any)=>{
103
- if(item.index==rowItem.index){
104
- currentIndex = index;
105
- }
106
- if(item.index>maxIndex){
107
- maxIndex = item.index;
108
- }
109
- });
110
- if(currentIndex>-1){
111
- props.configure.items.splice(currentIndex+1,0,{
112
- type:props.defaultType?props.defaultType:'bar',//默认柱状图
113
- index:maxIndex+1,
114
- props:{
115
- title:'系列'+(maxIndex+1)
116
- },
117
- style:{yaxisLeft:{},yaxisRight:{}}
118
- });
119
- }
120
- }
121
-
122
- /**
123
- * 删除系列
124
- */
125
- function deleteSeries(rowItem:any){
126
- if(props.configure.items.length==1){
127
- alert("必须保留一个系列!");
128
- return;
129
- }
130
- if(!confirm("确定要删除吗?")){
131
- return;
132
- }
133
- let delIdnex:any = -1;
134
- for(let index in props.configure.items){
135
- if(props.configure.items[index].index==rowItem.index){
136
- delIdnex = index;
137
- break;
138
- }
139
- }
140
- if(delIdnex>-1){
141
- props.configure.items.splice(delIdnex,1);
142
- }
143
- }
144
- </script>
145
-
@@ -1,119 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="排序"
4
- name="propsSort"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item
8
- label="排序对象" style="margin-top:4px;margin-bottom:10px">
9
- <el-cascader
10
- v-model="configure.props.orderByTarget"
11
- :options="variableOptions"
12
- :props="variableProps"
13
- placeholder="请选择"
14
- clearable />
15
- </el-form-item>
16
- <el-radio-group v-model="configure.props.orderSource">
17
- <el-form-item style="margin-top:-10px;">
18
- <template #label>
19
- <el-radio value="fix">排序方式</el-radio>
20
- </template>
21
- <el-select
22
- style="width:90px;"
23
- v-model="configure.props.orderFix"
24
- :disabled="configure.props.orderSource!='fix'"
25
- placeholder="默认"
26
- clearable>
27
- <el-option label="升序" value="asc"></el-option>
28
- <el-option label="降序" value="desc"></el-option>
29
- </el-select>
30
- </el-form-item>
31
- <el-form-item style="margin-top:-10px;">
32
- <template #label>
33
- <el-radio value="variable">排序变量</el-radio>
34
- </template>
35
- <el-cascader
36
- v-model="configure.props.orderVariable"
37
- :disabled="configure.props.orderSource!='variable'"
38
- :options="variableOptions"
39
- :props="variableProps"
40
- placeholder="请选择"
41
- clearable />
42
- <el-text v-show="configure.props.orderSource=='variable'" type="success" size="small">将根据此变量排序</el-text>
43
- </el-form-item>
44
- </el-radio-group>
45
- <el-radio-group v-model="configure.props.itemNumSource">
46
- <el-form-item style="margin-top:-10px;">
47
- <template #label>
48
- <el-radio value="fix">显示数量</el-radio>
49
- </template>
50
- <el-input
51
- v-model="configure.props.itemNumFix"
52
- :disabled="configure.props.itemNumSource!='fix'"
53
- placeholder="请输入"></el-input>
54
- </el-form-item>
55
- <el-form-item style="margin-top:-10px;">
56
- <template #label>
57
- <el-radio value="variable">数量变量</el-radio>
58
- </template>
59
- <el-cascader
60
- v-model="configure.props.itemNumVariable"
61
- :disabled="configure.props.itemNumSource!='variable'"
62
- :options="variableOptions"
63
- :props="variableProps"
64
- placeholder="请选择"
65
- clearable />
66
- <el-text v-show="configure.props.itemNumSource=='variable'" type="success" size="small">将根据此变量控制显示数量</el-text>
67
- </el-form-item>
68
- </el-radio-group>
69
- <el-form-item label="超出时别名" style="margin-top:-10px;margin-bottom:-15px;">
70
- <el-input
71
- v-model="configure.props.overItemAlias"
72
- placeholder="请输入"></el-input>
73
- <el-text type="success" size="small">未设置时不显示超出数量的数据项</el-text>
74
- </el-form-item>
75
- </div>
76
- </el-collapse-item>
77
- </template>
78
- <script lang='ts' setup>
79
- defineProps({
80
- configure:{
81
- type:Object,
82
- required:true
83
- }
84
- });
85
- //可选变量维度
86
- const variableOptions = [
87
- {
88
- value: 'dataModel',
89
- label: '数据模型',
90
- children: [
91
- {
92
- value: 'field1',
93
- label: '字段1'
94
- },
95
- {
96
- value: 'field2',
97
- label: '字段2'
98
- }
99
- ]
100
- },{
101
- value: 'customParam',
102
- label: '自定义',
103
- children: [
104
- {
105
- value: 'field1',
106
- label: '字段1'
107
- },
108
- {
109
- value: 'field2',
110
- label: '字段2'
111
- }
112
- ]
113
- }];
114
- //可选变量属性
115
- const variableProps = {
116
- multiple: true
117
- };
118
- </script>
119
-
@@ -1,28 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="自定义配置项"
4
- name="styleCustom"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form label-position="top">
8
- <el-form-item style="margin-top:4px;margin-bottom:-15px;">
9
- <el-input
10
- v-model="configure.style.customAttr"
11
- :rows="10"
12
- type="textarea"
13
- placeholder='title:{link:""},最外层可不需要大括号'
14
- />
15
- </el-form-item>
16
- </el-form>
17
- </div>
18
- </el-collapse-item>
19
- </template>
20
- <script lang='ts' setup>
21
- defineProps({
22
- configure:{
23
- type:Object,
24
- required:true
25
- }
26
- });
27
- </script>
28
-
@@ -1,45 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="缩略轴(横坐标)"
4
- name="styleDatazoom"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="是否显示" style="margin-top:0px;margin-bottom:-15px;">
8
- <el-switch v-model="configure.style.enableDatazoom"/>
9
- </el-form-item>
10
- <el-form-item
11
- v-show="configure.style.enableDatazoom"
12
- label="类型" style="margin-top:18px;">
13
- <el-radio-group v-model="configure.style.dataZoomType">
14
- <el-radio-button value="">默认</el-radio-button>
15
- <el-radio-button value="slider">滑动</el-radio-button>
16
- <el-radio-button value="inside">内置</el-radio-button>
17
- </el-radio-group>
18
- </el-form-item>
19
- <el-form-item
20
- v-show="configure.style.enableDatazoom"
21
- label="开始比例" style="margin-top:-10px;">
22
- <el-input-number v-model="configure.style.dataZoomStart" :min="0" :max="configure.style.dataZoomEnd">
23
- </el-input-number>
24
- </el-form-item>
25
- <el-form-item
26
- v-show="configure.style.enableDatazoom"
27
- label="结束比例" style="margin-top:-10px;margin-bottom:-15px;">
28
- <el-input-number v-model="configure.style.dataZoomEnd" :min="configure.style.dataZoomStart" :max="100">
29
- </el-input-number>、
30
- <el-text style="line-height:15px;margin-top:5px;" type="success" size="small">
31
- 数据窗口范围的起始百分比,范围是:0 ~ 100,表示 0% ~ 100%
32
- </el-text>
33
- </el-form-item>
34
- </div>
35
- </el-collapse-item>
36
- </template>
37
- <script lang='ts' setup>
38
- defineProps({
39
- configure:{
40
- type:Object,
41
- required:true
42
- }
43
- });
44
- </script>
45
-
@@ -1,78 +0,0 @@
1
- <template>
2
- <!--统计图-->
3
- <el-collapse-item
4
- title="副标题"
5
- name="subtitleFont"
6
- class="amb-design-attr-group-header">
7
- <div style="padding:8px 0px 0px 0px;">
8
- <el-form-item label="颜色" style="margin-top:4px;">
9
- <el-color-picker v-model="configure.style.subtitleColor" />
10
- </el-form-item>
11
- <el-form-item
12
- label="字号" style="margin-top:-10px;">
13
- <el-select
14
- v-model="configure.style.subtitleFontSize"
15
- placeholder="默认"
16
- clearable>
17
- <el-option
18
- v-for="item in fontSizes"
19
- :label="item" :value="item"/>
20
- </el-select>
21
- </el-form-item>
22
- <el-form-item
23
- label="文字粗细" style="margin-top:-10px;margin-bottom:-15px;">
24
- <el-select
25
- v-model="configure.style.subtitleFontWeight"
26
- placeholder="默认"
27
- clearable>
28
- <el-option label="normal" value="normal"/>
29
- <el-option label="bold" value="bold"/>
30
- <el-option label="bolder" value="bolder"/>
31
- <el-option label="lighter" value="lighter"/>
32
- </el-select>
33
- </el-form-item>
34
- <el-form-item
35
- v-show="chartType=='seriesChart'"
36
- label="位置" style="margin-top:24px;margin-bottom:-15px;">
37
- <el-col :span="12">
38
- <el-form-item
39
- label-width="40"
40
- label="left">
41
- <el-input
42
- style="width:40px;"
43
- v-model="configure.style.subtitleLeft"
44
- placeholder=''
45
- />
46
- </el-form-item>
47
- </el-col>
48
- <el-col :span="12">
49
- <el-form-item
50
- label-width="40"
51
- label="top">
52
- <el-input
53
- style="width:40px;"
54
- v-model="configure.style.subtitleTop"
55
- placeholder=''
56
- />
57
- </el-form-item>
58
- </el-col>
59
- <el-text type="success" size="small" style="line-height:15px;margin-top:4px;">值可以是像 20 这样的具体像素值,可以是像 '20%' 这样相对于容器高宽的百分比</el-text>
60
- </el-form-item>
61
- </div>
62
- </el-collapse-item>
63
- </template>
64
- <script lang='ts' setup>
65
- defineProps({
66
- configure:{
67
- type:Object,
68
- required:true
69
- },
70
- chartType:{
71
- type:String,
72
- default:''
73
- }
74
- });
75
- //字号
76
- const fontSizes = ["8","10","12","14","16","18","20","24","28"];
77
- </script>
78
-
@@ -1,56 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="主标题"
4
- name="titleFont"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item
8
- label="颜色" style="margin-top:4px;">
9
- <el-color-picker v-model="configure.style.titleColor" />
10
- </el-form-item>
11
- <el-form-item
12
- label="字号" style="margin-top:-10px;">
13
- <el-select
14
- v-model="configure.style.titleFontSize"
15
- placeholder="默认"
16
- clearable>
17
- <el-option
18
- v-for="item in fontSizes"
19
- :label="item" :value="item"/>
20
- </el-select>
21
- </el-form-item>
22
- <el-form-item
23
- label="文字粗细" style="margin-top:-10px;">
24
- <el-select
25
- v-model="configure.style.titleFontWeight"
26
- placeholder="默认"
27
- clearable>
28
- <el-option label="normal" value="normal"/>
29
- <el-option label="bold" value="bold"/>
30
- <el-option label="bolder" value="bolder"/>
31
- <el-option label="lighter" value="lighter"/>
32
- </el-select>
33
- </el-form-item>
34
- <el-form-item
35
- label="左右对齐" style="margin-top:-10px;margin-bottom:-15px;">
36
- <el-radio-group v-model="configure.style.titleTextAlign">
37
- <el-radio-button value="left">左</el-radio-button>
38
- <el-radio-button value="center">中</el-radio-button>
39
- <el-radio-button value="right">右</el-radio-button>
40
- </el-radio-group>
41
- </el-form-item>
42
- </div>
43
- </el-collapse-item>
44
- </template>
45
- <script lang='ts' setup>
46
- const props = defineProps({
47
- configure:{
48
- type:Object,
49
- required:true
50
- },
51
- chartType:Object
52
- });
53
- //字号
54
- const fontSizes = ["8","10","12","14","16","18","20","24","28"];
55
- </script>
56
-