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,267 +0,0 @@
1
- <template>
2
- <el-drawer
3
- v-model="showContent"
4
- :with-header="!title"
5
- :title="title"
6
- direction="btt"
7
- :size="width"
8
- @open="emits('open')"
9
- @opened="emits('opened')"
10
- @close="emits('close')"
11
- @closed="emits('closed')"
12
- >
13
- <superPage v-if="pageCode" :pageCode="pageCode" :pageRequest="pageRequest"></superPage>
14
- <!-- <superPage :pageDesign="pageDesign"></superPage> -->
15
- </el-drawer>
16
- </template>
17
- <script lang="ts" setup>
18
- import { ref, reactive, onMounted, onUnmounted, onUpdated, nextTick } from 'vue'
19
- import { ElMessage } from 'element-plus'
20
- import superPage from '../runtime/views/super-page.vue'
21
-
22
- //定义初始化的参数
23
- interface MyProps {
24
- // 父页面的pageContext
25
- parentPageContext: {
26
- type: Object
27
- default: null
28
- }
29
- // 点击事件的参数
30
- parentPageEventParams: {
31
- type: Object
32
- default: null
33
- }
34
- // 解析后的弹框配置
35
- jumpPageSetting: {
36
- type: Object
37
- default: null
38
- }
39
- //是否测试
40
- isTest?: boolean
41
- }
42
- const props = defineProps<MyProps>()
43
- const emits = defineEmits(['open', 'opened', 'close', 'closed'])
44
- const showContent = ref(true)
45
- const pageDesign = {
46
- id: 31,
47
- code: '9307994b-2668-44e9-a266-5662780ba084',
48
- name: 'page',
49
- label: '页面',
50
- version: 1,
51
- systemCode: 'sqm',
52
- systemVersion: 1,
53
- dbName: '',
54
- tableName: '',
55
- tableAlias: '',
56
- workflowCode: '',
57
- workflowVersion: 0,
58
- modelFields: [],
59
- logicDesigns: [],
60
- items: [
61
- {
62
- name: 'button-detail',
63
- label: '按钮',
64
- icon: 'assets/images/button/button.png',
65
- design: {
66
- style: {
67
- display: 'inline-block',
68
- flex: '0'
69
- }
70
- },
71
- props: {
72
- base: {
73
- title: '按钮',
74
- isPermission: true,
75
- conversionCodes: [],
76
- condition: [
77
- {
78
- sqlFilterCondition: '[]'
79
- }
80
- ],
81
- setValueList: [
82
- {
83
- combination: '[]'
84
- }
85
- ],
86
- showCondition: '[]',
87
- type: 'primary',
88
- logSetting: [],
89
- templateFiles: []
90
- },
91
- verification: [],
92
- scan: {},
93
- preSuffix: {},
94
- prefix: {},
95
- size: {
96
- pc: {}
97
- },
98
- title: {}
99
- },
100
- style: {
101
- titleFont: {},
102
- background: {},
103
- margin: {},
104
- padding: {},
105
- border: {},
106
- shadow: {}
107
- },
108
- events: [
109
- {
110
- name: 'beforeValidateForm',
111
- label: '验证表单前',
112
- tip: '验证表单前,先于beforClick事件'
113
- },
114
- {
115
- name: 'beforClick',
116
- label: '点击前事件',
117
- tip: '点击前事件'
118
- },
119
- {
120
- name: 'click',
121
- label: '点击事件',
122
- tip: '点击事件'
123
- },
124
- {
125
- name: 'afterClick',
126
- label: '点击后事件',
127
- tip: '点击后事件'
128
- },
129
- {
130
- name: 'show',
131
- label: '显示',
132
- tip: '显示'
133
- },
134
- {
135
- name: 'hidden',
136
- label: '隐藏',
137
- tip: '隐藏'
138
- }
139
- ],
140
- uuid: '17c3c617561f4fc691b67ed1996be665',
141
- autoPermissions: [],
142
- componentIndex: 1,
143
- runtime: {
144
- common: {
145
- class: '',
146
- style: {
147
- pc_style: {},
148
- pc_class: ''
149
- }
150
- },
151
- style: {},
152
- class: '',
153
- headerStyle: {
154
- 'text-align': 'left'
155
- },
156
- props: {
157
- title: '按钮',
158
- tittleShow: false,
159
- required: false,
160
- options: [],
161
- monitorFields: [],
162
- type: 'primary'
163
- }
164
- },
165
- functionCodes: []
166
- }
167
- ],
168
- props: {
169
- notIdInitializationList: '[]',
170
- judgeHeavyList: []
171
- },
172
- style: {},
173
- events: [
174
- {
175
- name: 'beforeload',
176
- label: '加载前'
177
- },
178
- {
179
- name: 'load',
180
- label: '加载后'
181
- },
182
- {
183
- name: 'resize',
184
- label: '尺寸变化',
185
- params: [
186
- {
187
- name: 'width',
188
- label: '宽度',
189
- type: 'number'
190
- },
191
- {
192
- name: 'height',
193
- label: '高度',
194
- type: 'number'
195
- }
196
- ]
197
- }
198
- ],
199
- pagePermissions: [
200
- {
201
- source: 'auto',
202
- type: 'standard',
203
- simpleCode: 'page',
204
- name: '页面',
205
- uuids: ['-1'],
206
- funcType: 'AUTHORIZED',
207
- uuid: '23ade4ed84e848b68bd00956b32a57c6'
208
- },
209
- {
210
- source: 'auto',
211
- type: 'standard',
212
- simpleCode: 'gets',
213
- name: '获取表单数据',
214
- uuids: ['-1'],
215
- funcType: 'AUTHENTICATED',
216
- uuid: 'b50d611de9724f819b45129b7ac4dfc4'
217
- }
218
- ],
219
- runtime: {
220
- class: '',
221
- style: {}
222
- },
223
- variables: [],
224
- customEvents: [],
225
- initOptionConfigs: [],
226
- tableRuntimes: {}
227
- }
228
- const myJumpPageSetting = props.jumpPageSetting ? props.jumpPageSetting : null
229
- const width = ref(null)
230
- const title = ref(null)
231
- const pageCode = ref(null)
232
- const dataId = ref(null)
233
- const taskId = ref(null)
234
- const pageRequest = ref({})
235
- if (myJumpPageSetting) {
236
- title.value =
237
- myJumpPageSetting && myJumpPageSetting['jumpPageTitle']
238
- ? myJumpPageSetting['jumpPageTitle']
239
- : null
240
- width.value =
241
- myJumpPageSetting && myJumpPageSetting['jumpPageWidth']
242
- ? myJumpPageSetting['jumpPageWidth']
243
- : '100%'
244
- pageCode.value = myJumpPageSetting && myJumpPageSetting['pageCode']
245
- dataId.value =
246
- myJumpPageSetting && myJumpPageSetting['dataId'] ? myJumpPageSetting['dataId'] : null
247
- taskId.value =
248
- myJumpPageSetting && myJumpPageSetting['taskId'] ? myJumpPageSetting['taskId'] : null
249
- if (props.parentPageEventParams) {
250
- try {
251
- const pageParams = JSON.parse(JSON.stringify(props.parentPageEventParams))
252
- // TODO:待确认。父页面的pageContext和按钮配置信息不需要作为新弹出页面的附加参数。
253
- if (pageParams['pageContext']) {
254
- delete pageParams['pageContext']
255
- }
256
- if (pageParams['configureObj']) {
257
- delete pageParams['configureObj']
258
- }
259
- Object.assign(pageRequest.value, props.parentPageEventParams)
260
- } catch (error) {
261
- console.error(error)
262
- }
263
- }
264
- pageRequest.value['id'] = dataId.value
265
- pageRequest.value['taskId'] = taskId.value
266
- }
267
- </script>
@@ -1,2 +0,0 @@
1
- import WfEditor from './wf-editor.vue'
2
- export default WfEditor
@@ -1,15 +0,0 @@
1
- <template>
2
- <div>
3
- <button>Editoraaaaa</button>
4
- </div>
5
- </template>
6
-
7
- <script setup lang="ts">
8
-
9
- </script>
10
-
11
- <style scoped>
12
- button {
13
- color: blue;
14
- }
15
- </style>
@@ -1,8 +0,0 @@
1
- // https://on.cypress.io/api
2
-
3
- describe('My First Test', () => {
4
- it('visits the app root url', () => {
5
- cy.visit('/')
6
- cy.contains('h1', 'You did it!')
7
- })
8
- })
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.dom.json",
3
- "include": ["./**/*", "../support/**/*"],
4
- "compilerOptions": {
5
- "isolatedModules": false,
6
- "target": "es5",
7
- "lib": ["es5", "dom"],
8
- "types": ["cypress"]
9
- }
10
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "Using fixtures to represent data",
3
- "email": "hello@cypress.io",
4
- "body": "Fixtures are a great way to mock data for responses to routes"
5
- }
@@ -1,39 +0,0 @@
1
- /// <reference types="cypress" />
2
- // ***********************************************
3
- // This example commands.ts shows you how to
4
- // create various custom commands and overwrite
5
- // existing commands.
6
- //
7
- // For more comprehensive examples of custom
8
- // commands please read more here:
9
- // https://on.cypress.io/custom-commands
10
- // ***********************************************
11
- //
12
- //
13
- // -- This is a parent command --
14
- // Cypress.Commands.add('login', (email, password) => { ... })
15
- //
16
- //
17
- // -- This is a child command --
18
- // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19
- //
20
- //
21
- // -- This is a dual command --
22
- // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23
- //
24
- //
25
- // -- This will overwrite an existing command --
26
- // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27
- //
28
- // declare global {
29
- // namespace Cypress {
30
- // interface Chainable {
31
- // login(email: string, password: string): Chainable<void>
32
- // drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
33
- // dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
34
- // visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
35
- // }
36
- // }
37
- // }
38
-
39
- export {}
@@ -1,20 +0,0 @@
1
- // ***********************************************************
2
- // This example support/index.js is processed and
3
- // loaded automatically before your test files.
4
- //
5
- // This is a great place to put global configuration and
6
- // behavior that modifies Cypress.
7
- //
8
- // You can change the location of this file or turn off
9
- // automatically serving support files with the
10
- // 'supportFile' configuration option.
11
- //
12
- // You can read more here:
13
- // https://on.cypress.io/configuration
14
- // ***********************************************************
15
-
16
- // Import commands.js using ES2015 syntax:
17
- import './commands'
18
-
19
- // Alternatively you can use CommonJS syntax:
20
- // require('./commands')
package/cypress.config.ts DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'cypress'
2
-
3
- export default defineConfig({
4
- e2e: {
5
- specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
6
- baseUrl: 'http://localhost:4173'
7
- }
8
- })
package/env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
package/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" href="/favicon.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite App</title>
8
- </head>
9
- <body>
10
- <div id="app"></div>
11
- <script type="module" src="/main.ts"></script>
12
- </body>
13
- </html>
package/main.ts DELETED
@@ -1,11 +0,0 @@
1
- import './assets/main.css'
2
-
3
- import { createApp } from 'vue'
4
- import { createPinia } from 'pinia'
5
- import App from './App.vue'
6
-
7
- const app = createApp(App)
8
-
9
- app.use(createPinia())
10
-
11
- app.mount('#app')
package/package-ws.json DELETED
@@ -1,70 +0,0 @@
1
- {
2
- "name": "super-page-runtime",
3
- "version": "1.0.10",
4
- "description": "AgileBuilder super page runtime",
5
- "license": "ISC",
6
- "main": "src/index.ts",
7
- "files": [
8
- "dist/*"
9
- ],
10
- "typings": "dist/lib/index.d.ts",
11
- "scripts": {
12
- "dev": "vite",
13
- "build": "run-p type-check \"build-only {@}\" --",
14
- "preview": "vite preview",
15
- "test:unit": "vitest",
16
- "test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
17
- "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
18
- "build-only": "vite build",
19
- "type-check": "vue-tsc --build --force",
20
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
21
- "format": "prettier --write src/"
22
- },
23
- "dependencies": {
24
- "@vueup/vue-quill": "^1.2.0",
25
- "@vueuse/core": "^10.9.0",
26
- "agilebuilder-ui": "1.0.13",
27
- "async-validator": "^4.2.5",
28
- "dayjs": "^1.11.11",
29
- "echarts": "^5.5.0",
30
- "jsbarcode": "^3.11.6",
31
- "nprogress": "^0.2.0",
32
- "qrcode": "^1.5.3",
33
- "quill": "^2.0.1",
34
- "uuid": "^9.0.1",
35
- "vue-awesome": "^4.5.0",
36
- "vue-codemirror": "^6.1.1",
37
- "mitt": "^3.0.1",
38
- "vue-draggable-plus": "^0.3.5",
39
- "vue-echarts": "^6.6.9"
40
- },
41
- "devDependencies": {
42
- "@element-plus/icons": "^0.0.11",
43
- "@element-plus/icons-vue": "^2.3.1",
44
- "@rushstack/eslint-patch": "^1.3.3",
45
- "@types/jsdom": "^21.1.6",
46
- "@types/node": "^20.11.28",
47
- "@vitejs/plugin-vue-jsx": "^3.1.0",
48
- "@vue/eslint-config-prettier": "^8.0.0",
49
- "@vue/test-utils": "^2.4.4",
50
- "axios": "^1.6.8",
51
- "cypress": "^13.6.6",
52
- "element-plus": "^2.6.1",
53
- "eslint": "^8.49.0",
54
- "eslint-plugin-cypress": "^2.15.1",
55
- "eslint-plugin-vue": "^9.17.0",
56
- "js-cookie": "^3.0.5",
57
- "jsdom": "^24.0.0",
58
- "saas": "^1.0.0",
59
- "sass": "^1.72.0",
60
- "start-server-and-test": "^2.0.3",
61
- "typescript": "^5.4.5",
62
- "vite": "^5.1.6",
63
- "vite-plugin-dts": "^3.9.1",
64
- "vitest": "^1.3.1",
65
- "vue": "^3.4.21",
66
- "vue-i18n": "^9.10.2",
67
- "vue-router": "^4.3.0",
68
- "vuex": "^4.1.0"
69
- }
70
- }
Binary file
@@ -1,17 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- {
5
- "path": "./tsconfig.node.json"
6
- },
7
- {
8
- "path": "./tsconfig.app.json"
9
- },
10
- {
11
- "path": "./tsconfig.vitest.json"
12
- }
13
- ],
14
- "compilerOptions": {
15
- "module": "NodeNext"
16
- }
17
- }
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.dom.json",
3
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
4
- "exclude": ["src/**/__tests__/*"],
5
- "compilerOptions": {
6
- "composite": true,
7
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
8
-
9
- "baseUrl": ".",
10
- "paths": {
11
- "@/*": ["./src/*"]
12
- }
13
- }
14
- }
package/tsconfig.app.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.dom.json",
3
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "main.ts", "package/components/index.ts"],
4
- "exclude": ["src/**/__tests__/*"],
5
- "compilerOptions": {
6
- "composite": true,
7
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
8
-
9
- "baseUrl": ".",
10
- "paths": {
11
- "@/*": ["./src/*"]
12
- }
13
- }
14
- }
package/tsconfig.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- {
5
- "path": "./tsconfig.node.json"
6
- },
7
- {
8
- "path": "./tsconfig.app.json"
9
- },
10
- {
11
- "path": "./tsconfig.vitest.json"
12
- }
13
- ],
14
- "compilerOptions": {
15
- "module": "NodeNext"
16
- }
17
- }
@@ -1,19 +0,0 @@
1
- {
2
- "extends": "@tsconfig/node20/tsconfig.json",
3
- "include": [
4
- "vite.config.*",
5
- "vitest.config.*",
6
- "cypress.config.*",
7
- "nightwatch.conf.*",
8
- "playwright.config.*"
9
- ],
10
- "compilerOptions": {
11
- "composite": true,
12
- "noEmit": true,
13
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
14
-
15
- "module": "ESNext",
16
- "moduleResolution": "Bundler",
17
- "types": ["node"]
18
- }
19
- }
@@ -1,19 +0,0 @@
1
- {
2
- "extends": "@tsconfig/node20/tsconfig.json",
3
- "include": [
4
- "vite.config.*",
5
- "vitest.config.*",
6
- "cypress.config.*",
7
- "nightwatch.conf.*",
8
- "playwright.config.*"
9
- ],
10
- "compilerOptions": {
11
- "composite": true,
12
- "noEmit": true,
13
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
14
-
15
- "module": "ESNext",
16
- "moduleResolution": "Bundler",
17
- "types": ["node"]
18
- }
19
- }
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "./tsconfig.app.json",
3
- "exclude": [],
4
- "compilerOptions": {
5
- "composite": true,
6
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo",
7
-
8
- "lib": [],
9
- "types": ["node", "jsdom"]
10
- }
11
- }
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "./tsconfig.app.json",
3
- "exclude": [],
4
- "compilerOptions": {
5
- "composite": true,
6
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo",
7
-
8
- "lib": [],
9
- "types": ["node", "jsdom"]
10
- }
11
- }