super-page-runtime 2.0.16 → 2.0.22

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 (198) hide show
  1. package/dist/es/components/runtime/utils/api/api-util.js +16 -14
  2. package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
  4. package/dist/es/components/runtime/utils/assemblys-config.js +29 -7
  5. package/dist/es/components/runtime/utils/common-util.d.ts +3 -2
  6. package/dist/es/components/runtime/utils/common-util.js +21 -11
  7. package/dist/es/components/runtime/utils/events/event-util.js +9 -14
  8. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
  9. package/dist/es/components/runtime/utils/events/standard-event.js +128 -110
  10. package/dist/es/components/runtime/utils/events/validator-util.js +4 -3
  11. package/dist/es/components/runtime/utils/global-refs.js +12 -0
  12. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +3 -1
  13. package/dist/es/components/runtime/utils/page-helper-util.js +4 -4
  14. package/dist/es/components/runtime/utils/page-init-util.js +6 -3
  15. package/dist/es/components/runtime/utils/table-utils.js +4 -5
  16. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
  17. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +17 -17
  18. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
  19. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
  20. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +5 -5
  21. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +13 -8
  22. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +12 -13
  23. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -1
  24. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +11 -11
  25. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -28
  26. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +12 -12
  27. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
  28. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
  29. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +15 -15
  30. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +33 -33
  31. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
  32. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
  33. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +13 -13
  34. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -39
  35. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +27 -27
  36. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  37. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +42 -0
  38. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +13 -13
  39. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +10 -10
  40. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +14 -14
  41. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +8 -3
  42. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  43. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +40 -0
  44. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  45. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +40 -0
  46. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +5 -7
  47. package/dist/es/components/runtime/views/super-page.vue.js +2 -2
  48. package/package.json +3 -2
  49. package/dist/lib/_virtual/AttributeMap.js +0 -4
  50. package/dist/lib/_virtual/Delta.js +0 -4
  51. package/dist/lib/_virtual/Op.js +0 -4
  52. package/dist/lib/_virtual/OpIterator.js +0 -4
  53. package/dist/lib/_virtual/__vite-browser-external.js +0 -3
  54. package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
  55. package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  56. package/dist/lib/_virtual/dayjs.min.js +0 -4
  57. package/dist/lib/_virtual/index.js +0 -4
  58. package/dist/lib/_virtual/index2.js +0 -4
  59. package/dist/lib/_virtual/index3.js +0 -4
  60. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  61. package/dist/lib/assets/chart-themes/theme1.js +0 -7
  62. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  63. package/dist/lib/assets/chart-themes/theme2.js +0 -7
  64. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  65. package/dist/lib/assets/chart-themes/theme3.js +0 -7
  66. package/dist/lib/components/runtime/index.d.ts +0 -4
  67. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  68. package/dist/lib/components/runtime/utils/api/api-util.js +0 -128
  69. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -258
  70. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
  71. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -28
  72. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -16
  73. package/dist/lib/components/runtime/utils/common-util.js +0 -94
  74. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  75. package/dist/lib/components/runtime/utils/eventBus.js +0 -10
  76. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  77. package/dist/lib/components/runtime/utils/events/event-util.js +0 -526
  78. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  79. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1625
  80. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  81. package/dist/lib/components/runtime/utils/events/validator-util.js +0 -389
  82. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  83. package/dist/lib/components/runtime/utils/global-refs.js +0 -65
  84. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -223
  85. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
  86. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -106
  87. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -622
  88. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  89. package/dist/lib/components/runtime/utils/page-init-util.js +0 -200
  90. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  91. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  92. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  93. package/dist/lib/components/runtime/utils/store-util.js +0 -17
  94. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  95. package/dist/lib/components/runtime/utils/store.js +0 -3
  96. package/dist/lib/components/runtime/utils/table-utils.js +0 -24
  97. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  98. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  99. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  100. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  101. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  102. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  103. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  104. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -432
  105. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  106. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  107. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  108. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  109. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
  110. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  111. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  112. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -52
  113. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  114. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -54
  115. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  116. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -54
  117. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  118. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -56
  119. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  120. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -147
  121. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  122. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  123. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  124. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  125. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  126. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  127. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  128. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  129. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  130. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  131. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
  132. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  133. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
  134. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  135. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
  136. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  137. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
  138. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  139. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
  140. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  141. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
  142. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  143. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
  144. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
  145. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  146. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  147. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  148. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  149. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  150. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  151. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
  152. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  153. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  154. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
  155. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  156. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  157. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  158. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
  159. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  160. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  161. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  162. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  163. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  164. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  165. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  166. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  167. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  168. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -127
  169. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  170. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  171. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  172. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  173. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  174. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
  175. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  176. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -164
  177. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  178. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
  179. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  180. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  181. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  182. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  183. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  184. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  185. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  186. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -142
  187. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  188. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  189. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
  190. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
  191. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -73
  192. package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
  193. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  194. package/dist/lib/components/runtime/views/super-page.vue.js +0 -496
  195. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
  196. package/dist/lib/favicon.ico +0 -0
  197. package/dist/lib/index.d.ts +0 -8
  198. package/dist/lib/index.js +0 -15
@@ -1,4 +1,4 @@
1
- import { defineComponent, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import "agilebuilder-ui/src/utils/request";
4
4
  import "dayjs";
@@ -21,11 +21,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  let dynamicFields = getFormModelFields(props.pageContext, props.configure);
22
22
  const fieldName = dynamicFields.length > 0 ? dynamicFields[dynamicFields.length - 1] : props.configure.uuid;
23
23
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
24
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
24
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
25
25
  const runtimeStyle = runtimeInfo.style;
26
26
  const runtimeClass = runtimeInfo.class;
27
27
  const headerStyle = runtimeInfo.headerStyle;
28
- const autoSetFields = designProperty.autoSetFields ? designProperty.autoSetFields : [];
28
+ const autoSetFields = designProperty.value.autoSetFields ? designProperty.value.autoSetFields : [];
29
29
  function changeValue(value) {
30
30
  handleEvent(value, props.pageContext, props.configure, "change");
31
31
  }
@@ -36,29 +36,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  const _component_OrganizationInput = resolveComponent("OrganizationInput");
37
37
  const _component_el_form_item = resolveComponent("el-form-item");
38
38
  return openBlock(), createBlock(_component_el_form_item, {
39
- required: unref(designProperty).required,
39
+ required: designProperty.value.required,
40
40
  class: normalizeClass(unref(runtimeClass)),
41
- "label-width": unref(designProperty).labelWidth,
41
+ "label-width": designProperty.value.labelWidth,
42
42
  style: normalizeStyle(unref(runtimeStyle))
43
43
  }, {
44
44
  label: withCtx(() => [
45
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
45
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
46
46
  key: 0,
47
47
  style: normalizeStyle({ ...unref(headerStyle) })
48
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
48
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
49
49
  ]),
50
50
  default: withCtx(() => [
51
51
  createVNode(_component_OrganizationInput, {
52
- disabled: unref(designProperty).state == "disabled",
53
- multiple: unref(designProperty).multiple,
54
- treeType: unref(designProperty).treeType,
52
+ disabled: designProperty.value.state == "disabled",
53
+ multiple: designProperty.value.multiple,
54
+ treeType: designProperty.value.treeType,
55
55
  modelValue: unref(dataModel)[unref(fieldName)],
56
56
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(dataModel)[unref(fieldName)] = $event),
57
57
  models: unref(dataModel),
58
58
  fields: unref(autoSetFields),
59
- size: unref(designProperty).size,
59
+ size: designProperty.value.size,
60
60
  placeholder: "请选择",
61
- separator: unref(designProperty).separator,
61
+ separator: designProperty.value.separator,
62
62
  onChange: changeValue,
63
63
  onShowTree: showTree
64
64
  }, null, 8, ["disabled", "multiple", "treeType", "modelValue", "models", "fields", "size", "separator"])
@@ -1,5 +1,6 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeStyle, toDisplayString } from "vue";
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeStyle, toDisplayString } from "vue";
2
2
  import { formatVariableValue } from "../../../../utils/page-helper-util.js";
3
+ import { handleEvent } from "../../../../utils/events/event-util.js";
3
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
5
  __name: "divider-runtime",
5
6
  props: {
@@ -10,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  const props = __props;
11
12
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
12
13
  const headerStyle = runtimeInfo.headerStyle;
13
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
14
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
14
15
  let contentVariable = designProperty.value;
15
16
  const dynamicValue = computed(() => {
16
17
  if (!contentVariable) {
@@ -22,9 +23,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
23
  return (_ctx, _cache) => {
23
24
  const _component_el_divider = resolveComponent("el-divider");
24
25
  return openBlock(), createBlock(_component_el_divider, {
25
- direction: unref(designProperty).direction,
26
- "border-style": unref(designProperty).borderType,
27
- "content-position": unref(designProperty).titlePosition
26
+ direction: designProperty.value.direction,
27
+ "border-style": designProperty.value.borderType,
28
+ "content-position": designProperty.value.titlePosition,
29
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
28
30
  }, {
29
31
  default: withCtx(() => [
30
32
  createElementVNode("div", {
@@ -1,4 +1,4 @@
1
- import { defineComponent, watch, resolveComponent, unref, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
3
3
  import { fileUploadBeforeUpload, fileUploadUploaded, fileUploadBeforeDelete, fileUploadDeleted } from "../../../../utils/events/event-util.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -10,11 +10,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  setup(__props) {
11
11
  const props = __props;
12
12
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
13
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
13
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
14
14
  const runtimeStyle = runtimeInfo.style;
15
15
  const runtimeClass = runtimeInfo.class;
16
16
  const headerStyle = runtimeInfo.headerStyle;
17
- const fileSetObj = designProperty.fileSetObj;
17
+ const fileSetObj = designProperty.value.fileSetObj;
18
18
  fileSetObj.beforeUpload = beforeUpload;
19
19
  fileSetObj.pageContext = props.pageContext;
20
20
  fileSetObj.configureObj = props.configure;
@@ -57,24 +57,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
57
  return (_ctx, _cache) => {
58
58
  const _component_FsUploadList = resolveComponent("FsUploadList");
59
59
  const _component_el_form_item = resolveComponent("el-form-item");
60
- return unref(designProperty).tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
60
+ return designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
61
61
  key: 0,
62
- required: unref(designProperty).required,
62
+ required: designProperty.value.required,
63
63
  class: normalizeClass(unref(runtimeClass)),
64
- "label-width": unref(designProperty).labelWidth,
64
+ "label-width": designProperty.value.labelWidth,
65
65
  style: normalizeStyle(unref(runtimeStyle))
66
66
  }, {
67
67
  label: withCtx(() => [
68
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
68
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
69
69
  key: 0,
70
70
  style: normalizeStyle({ ...unref(headerStyle) })
71
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
71
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
72
72
  ]),
73
73
  default: withCtx(() => [
74
74
  createVNode(_component_FsUploadList, {
75
- disabled: unref(designProperty).state == "disabled",
76
- fileSetObj: unref(designProperty).fileSetObj,
77
- fileInfo: unref(fileInfo),
75
+ disabled: designProperty.value.state == "disabled",
76
+ fileSetObj: designProperty.value.fileSetObj,
77
+ fileInfo: fileInfo.value,
78
78
  onUploaded: uploaded,
79
79
  onBeforeDelete: beforeDelete,
80
80
  onDeleted: deleted
@@ -83,9 +83,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
83
83
  _: 1
84
84
  }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createBlock(_component_FsUploadList, {
85
85
  key: 1,
86
- disabled: unref(designProperty).state == "disabled",
87
- fileSetObj: unref(designProperty).fileSetObj,
88
- fileInfo: unref(fileInfo),
86
+ disabled: designProperty.value.state == "disabled",
87
+ fileSetObj: designProperty.value.fileSetObj,
88
+ fileInfo: fileInfo.value,
89
89
  onUploaded: uploaded,
90
90
  onBeforeDelete: beforeDelete,
91
91
  onDeleted: deleted
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
4
4
  import { handleEvent } from "../../../../utils/events/event-util.js";
@@ -24,35 +24,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  const runtimeStyle = runtimeInfo.style;
25
25
  const runtimeClass = runtimeInfo.class;
26
26
  const headerStyle = runtimeInfo.headerStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
28
28
  return (_ctx, _cache) => {
29
29
  const _component_el_input_number = resolveComponent("el-input-number");
30
30
  const _component_el_form_item = resolveComponent("el-form-item");
31
31
  return openBlock(), createBlock(_component_el_form_item, {
32
- required: unref(designProperty).required,
32
+ required: designProperty.value.required,
33
33
  class: normalizeClass(unref(runtimeClass)),
34
- "label-width": unref(designProperty).labelWidth,
34
+ "label-width": designProperty.value.labelWidth,
35
35
  style: normalizeStyle(unref(runtimeStyle))
36
36
  }, {
37
37
  label: withCtx(() => [
38
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
38
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
39
39
  key: 0,
40
40
  style: normalizeStyle({ ...unref(headerStyle) })
41
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
41
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
42
42
  ]),
43
43
  default: withCtx(() => [
44
44
  createVNode(_component_el_input_number, {
45
- disabled: unref(designProperty).state === "disabled",
46
- readonly: unref(designProperty).state === "readonly",
47
- controls: unref(designProperty).showButton,
48
- size: unref(designProperty).size,
49
- placeholder: unref(designProperty).placeholder,
45
+ disabled: designProperty.value.state === "disabled",
46
+ readonly: designProperty.value.state === "readonly",
47
+ controls: designProperty.value.showButton,
48
+ size: designProperty.value.size,
49
+ placeholder: designProperty.value.placeholder,
50
50
  modelValue: dynamicModelMethod.value,
51
51
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
52
- precision: unref(designProperty).precision,
53
- step: unref(designProperty).step,
54
- min: unref(designProperty).min,
55
- max: unref(designProperty).max,
52
+ precision: designProperty.value.precision,
53
+ step: designProperty.value.step,
54
+ min: designProperty.value.min,
55
+ max: designProperty.value.max,
56
56
  onChange: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
57
57
  onBlur: _cache[2] || (_cache[2] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
58
58
  onFocus: _cache[3] || (_cache[3] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus"))
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createSlots, createTextVNode } from "vue";
1
+ import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createSlots, createTextVNode } from "vue";
2
2
  import { SuperIcon } from "agilebuilder-ui";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
4
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
@@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  }
23
23
  });
24
24
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
25
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
25
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
26
26
  const runtimeStyle = runtimeInfo.style;
27
27
  const runtimeClass = runtimeInfo.class;
28
28
  const headerStyle = runtimeInfo.headerStyle;
@@ -40,26 +40,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  const _component_el_input = resolveComponent("el-input");
41
41
  const _component_el_form_item = resolveComponent("el-form-item");
42
42
  return openBlock(), createBlock(_component_el_form_item, {
43
- required: unref(designProperty).required ? true : false,
43
+ required: designProperty.value.required ? true : false,
44
44
  class: normalizeClass(unref(runtimeClass)),
45
- "label-width": unref(designProperty).labelWidth,
45
+ "label-width": designProperty.value.labelWidth,
46
46
  style: normalizeStyle(unref(runtimeStyle))
47
47
  }, {
48
48
  label: withCtx(() => [
49
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
49
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
50
50
  key: 0,
51
51
  style: normalizeStyle({ ...unref(headerStyle) })
52
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
52
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
53
53
  ]),
54
54
  default: withCtx(() => [
55
55
  createVNode(_component_el_input, {
56
- disabled: unref(designProperty).state === "disabled",
57
- readonly: unref(designProperty).state === "readonly",
58
- size: unref(designProperty).size,
59
- clearable: unref(designProperty).clearable,
60
- placeholder: unref(designProperty).placeholder,
61
- maxlength: unref(designProperty).maxLength,
62
- "show-word-limit": unref(designProperty).showInputNum,
56
+ disabled: designProperty.value.state === "disabled",
57
+ readonly: designProperty.value.state === "readonly",
58
+ size: designProperty.value.size,
59
+ clearable: designProperty.value.clearable,
60
+ placeholder: designProperty.value.placeholder,
61
+ maxlength: designProperty.value.maxLength,
62
+ "show-word-limit": designProperty.value.showInputNum,
63
63
  modelValue: dynamicModelMethod.value,
64
64
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
65
65
  onInput: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
@@ -68,51 +68,51 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
68
68
  onFocus: _cache[4] || (_cache[4] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
69
69
  onClick: _cache[5] || (_cache[5] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
70
70
  }, createSlots({ _: 2 }, [
71
- unref(designProperty).iconPosition != "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
71
+ designProperty.value.iconPosition != "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
72
72
  name: "prefix",
73
73
  fn: withCtx(() => [
74
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
74
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
75
75
  key: 0,
76
- iconType: unref(designProperty).preIconType,
77
- iconValue: unref(designProperty).preIconValue
76
+ iconType: designProperty.value.preIconType,
77
+ iconValue: designProperty.value.preIconValue
78
78
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
79
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
79
+ createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
80
80
  ]),
81
81
  key: "0"
82
82
  } : void 0,
83
- unref(designProperty).iconPosition == "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
83
+ designProperty.value.iconPosition == "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
84
84
  name: "prepend",
85
85
  fn: withCtx(() => [
86
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
86
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
87
87
  key: 0,
88
- iconType: unref(designProperty).preIconType,
89
- iconValue: unref(designProperty).preIconValue
88
+ iconType: designProperty.value.preIconType,
89
+ iconValue: designProperty.value.preIconValue
90
90
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
91
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
91
+ createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
92
92
  ]),
93
93
  key: "1"
94
94
  } : void 0,
95
- unref(designProperty).iconPosition != "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
95
+ designProperty.value.iconPosition != "outer" && (designProperty.value.sufIconType && designProperty.value.sufIconValue || designProperty.value.sufText) ? {
96
96
  name: "suffix",
97
97
  fn: withCtx(() => [
98
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
98
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
99
99
  key: 0,
100
- iconType: unref(designProperty).sufIconType,
101
- iconValue: unref(designProperty).sufIconValue
100
+ iconType: designProperty.value.sufIconType,
101
+ iconValue: designProperty.value.sufIconValue
102
102
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
103
- createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
103
+ createTextVNode(" " + toDisplayString(designProperty.value.sufText), 1)
104
104
  ]),
105
105
  key: "2"
106
106
  } : void 0,
107
- unref(designProperty).iconPosition == "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
107
+ designProperty.value.iconPosition == "outer" && (designProperty.value.sufIconType && designProperty.value.sufIconValue || designProperty.value.sufText) ? {
108
108
  name: "append",
109
109
  fn: withCtx(() => [
110
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
110
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
111
111
  key: 0,
112
- iconType: unref(designProperty).sufIconType,
113
- iconValue: unref(designProperty).sufIconValue
112
+ iconType: designProperty.value.sufIconType,
113
+ iconValue: designProperty.value.sufIconValue
114
114
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
115
- createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
115
+ createTextVNode(" " + toDisplayString(designProperty.value.sufText), 1)
116
116
  ]),
117
117
  key: "3"
118
118
  } : void 0
@@ -1,14 +1,10 @@
1
- import { defineComponent, computed, resolveComponent, unref, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, createTextVNode } from "vue";
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, createTextVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { queryOptions, formatVariableValue, formatValueByType } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon } from "agilebuilder-ui";
5
- const _hoisted_1 = { style: { "display": "flex", "width": "100%", "justify-content": "space-between" } };
6
- const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
7
- const _hoisted_3 = {
8
- key: 1,
9
- style: { "display": "flex", "justify-content": "space-between" }
10
- };
11
- const _hoisted_4 = ["title"];
5
+ import { handleEvent } from "../../../../utils/events/event-util.js";
6
+ const _hoisted_1 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
7
+ const _hoisted_2 = ["title"];
12
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
9
  __name: "label-runtime",
14
10
  props: {
@@ -24,8 +20,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
20
  const headerStyle = runtimeInfo.headerStyle;
25
21
  const appendClass = runtimeInfo.appendClass;
26
22
  const appendStyle = runtimeInfo.appendStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
- const listOptions = designProperty.options ? designProperty.options : [];
23
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
24
+ const listOptions = designProperty.value.options ? designProperty.value.options : [];
29
25
  const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
30
26
  const valueType = dataOrigin.optionValueSetType;
31
27
  if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
@@ -35,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
31
  console.log("lable组件查询数据源失败!", error);
36
32
  });
37
33
  }
38
- let contentVariable = designProperty.formatting;
34
+ let contentVariable = designProperty.value.formatting;
39
35
  if (!contentVariable) {
40
36
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
41
37
  contentVariable = propsBase.prop;
@@ -43,12 +39,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
39
  if (!contentVariable) {
44
40
  contentVariable = "${page." + props.configure.uuid + "}";
45
41
  }
46
- const formatType = designProperty.formatType;
42
+ const formatType = designProperty.value.formatType;
47
43
  const dynamicValue = computed(() => {
48
44
  let resultValue = formatVariableValue(props.pageContext, contentVariable);
49
45
  console.log("formatType", formatType);
50
46
  if (formatType) {
51
- if (designProperty.hasOptions) {
47
+ if (designProperty.value.hasOptions) {
52
48
  let selItems = null;
53
49
  if (listOptions.value) {
54
50
  selItems = listOptions.value.filter((item) => item.value == resultValue);
@@ -57,68 +53,75 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
53
  resultValue = selItems[0].label;
58
54
  }
59
55
  } else {
60
- resultValue = formatValueByType(resultValue, formatType, designProperty);
56
+ resultValue = formatValueByType(resultValue, formatType, designProperty.value);
61
57
  }
62
58
  }
63
59
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
64
60
  });
65
61
  return (_ctx, _cache) => {
66
62
  const _component_el_form_item = resolveComponent("el-form-item");
67
- return unref(designProperty).tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
63
+ return designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
68
64
  key: 0,
69
- required: unref(designProperty).required ? true : false,
65
+ required: designProperty.value.required ? true : false,
70
66
  class: normalizeClass(unref(runtimeClass)),
71
- "label-width": unref(designProperty).labelWidth,
67
+ "label-width": designProperty.value.labelWidth,
72
68
  style: normalizeStyle(unref(runtimeStyle))
73
69
  }, {
74
70
  label: withCtx(() => [
75
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
71
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
76
72
  key: 0,
77
73
  style: normalizeStyle({ ...unref(headerStyle) })
78
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
74
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
79
75
  ]),
80
76
  default: withCtx(() => [
81
- createElementVNode("div", _hoisted_1, [
82
- createElementVNode("span", _hoisted_2, [
83
- unref(designProperty).preIconValue || unref(designProperty).preText ? (openBlock(), createElementBlock("span", {
77
+ createElementVNode("div", {
78
+ style: { "display": "flex", "width": "100%", "justify-content": "space-between" },
79
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
80
+ }, [
81
+ createElementVNode("span", _hoisted_1, [
82
+ designProperty.value.preIconValue || designProperty.value.preText ? (openBlock(), createElementBlock("span", {
84
83
  key: 0,
85
- class: normalizeClass({ "el-input__suffix": unref(designProperty).iconPosition != "outer", "el-input-group__append": unref(designProperty).iconPosition == "outer" }),
84
+ class: normalizeClass({ "el-input__suffix": designProperty.value.iconPosition != "outer", "el-input-group__append": designProperty.value.iconPosition == "outer" }),
86
85
  style: normalizeStyle(unref(appendStyle))
87
86
  }, [
88
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
87
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
89
88
  key: 0,
90
- iconType: unref(designProperty).preIconType,
91
- iconValue: unref(designProperty).preIconValue
89
+ iconType: designProperty.value.preIconType,
90
+ iconValue: designProperty.value.preIconValue
92
91
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
93
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
92
+ createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
94
93
  ], 6)) : createCommentVNode("", true),
95
94
  createTextVNode("  " + toDisplayString(dynamicValue.value), 1)
96
95
  ]),
97
- unref(designProperty).sufIconValue || unref(designProperty).sufText ? (openBlock(), createElementBlock("span", {
96
+ designProperty.value.sufIconValue || designProperty.value.sufText ? (openBlock(), createElementBlock("span", {
98
97
  key: 0,
99
- class: normalizeClass({ "el-input__suffix": unref(designProperty).iconPosition != "outer", "el-input-group__append": unref(designProperty).iconPosition == "outer" })
98
+ class: normalizeClass({ "el-input__suffix": designProperty.value.iconPosition != "outer", "el-input-group__append": designProperty.value.iconPosition == "outer" })
100
99
  }, [
101
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
100
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
102
101
  key: 0,
103
102
  style: {},
104
- iconType: unref(designProperty).sufIconType,
105
- iconValue: unref(designProperty).sufIconValue
103
+ iconType: designProperty.value.sufIconType,
104
+ iconValue: designProperty.value.sufIconValue
106
105
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
107
- createElementVNode("span", null, " " + toDisplayString(unref(designProperty).sufText), 1)
106
+ createElementVNode("span", null, " " + toDisplayString(designProperty.value.sufText), 1)
108
107
  ], 2)) : createCommentVNode("", true)
109
108
  ])
110
109
  ]),
111
110
  _: 1
112
- }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", _hoisted_3, [
111
+ }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", {
112
+ key: 1,
113
+ style: { "display": "flex", "justify-content": "space-between" },
114
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
115
+ }, [
113
116
  createElementVNode("span", {
114
117
  style: { "overflow": "hidden", "white-space": "nowrap" },
115
118
  title: dynamicValue.value
116
- }, toDisplayString(unref(designProperty).prefixIcon) + " " + toDisplayString(dynamicValue.value), 9, _hoisted_4),
117
- unref(designProperty).suffixTxt ? (openBlock(), createElementBlock("span", {
119
+ }, toDisplayString(designProperty.value.prefixIcon) + " " + toDisplayString(dynamicValue.value) + "222", 9, _hoisted_2),
120
+ designProperty.value.suffixTxt ? (openBlock(), createElementBlock("span", {
118
121
  key: 0,
119
122
  class: normalizeClass(unref(appendClass)),
120
123
  style: normalizeStyle(unref(appendStyle))
121
- }, toDisplayString(unref(designProperty).suffixTxt), 7)) : createCommentVNode("", true)
124
+ }, toDisplayString(designProperty.value.suffixTxt) + "222", 7)) : createCommentVNode("", true)
122
125
  ]));
123
126
  };
124
127
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { formatVariableValue } from "../../../../utils/page-helper-util.js";
4
4
  import { handleEvent } from "../../../../utils/events/event-util.js";
@@ -15,8 +15,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  const runtimeStyle = runtimeInfo.style;
16
16
  const runtimeClass = runtimeInfo.class;
17
17
  const headerStyle = runtimeInfo.headerStyle;
18
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
19
- let contentVariable = designProperty.formatting;
18
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
19
+ let contentVariable = designProperty.value.formatting;
20
20
  if (!contentVariable) {
21
21
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
22
22
  contentVariable = propsBase.prop;
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  const resultValue = formatVariableValue(props.pageContext, contentVariable);
29
29
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
30
30
  });
31
- let tooltipVariable = designProperty.tooltip;
31
+ let tooltipVariable = designProperty.value.tooltip;
32
32
  const tooltipValue = computed(() => {
33
33
  const resultValue = formatVariableValue(props.pageContext, tooltipVariable);
34
34
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
@@ -39,14 +39,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
39
  const _component_el_form_item = resolveComponent("el-form-item");
40
40
  return openBlock(), createBlock(_component_el_form_item, {
41
41
  class: normalizeClass(unref(runtimeClass)),
42
- "label-width": unref(designProperty).labelWidth,
42
+ "label-width": designProperty.value.labelWidth,
43
43
  style: normalizeStyle(unref(runtimeStyle))
44
44
  }, {
45
45
  label: withCtx(() => [
46
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
46
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
47
47
  key: 0,
48
48
  style: normalizeStyle({ ...unref(headerStyle) })
49
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
49
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
50
50
  ]),
51
51
  default: withCtx(() => [
52
52
  createVNode(_component_el_tooltip, {
@@ -55,9 +55,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  }, {
56
56
  default: withCtx(() => [
57
57
  createVNode(_component_el_link, {
58
- disabled: unref(designProperty).state === "disabled",
59
- type: unref(designProperty).type,
60
- underline: unref(designProperty).underline,
58
+ disabled: designProperty.value.state === "disabled",
59
+ type: designProperty.value.type,
60
+ underline: designProperty.value.underline,
61
61
  onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
62
62
  }, {
63
63
  default: withCtx(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
1
+ import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
2
2
  import { getVariableValue, setVariableValue, getOptionDatasFromPage, autoSetAfterSelect, queryOptionDatasources } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
4
  import { handleEvent } from "../../../../utils/events/event-util.js";
@@ -24,8 +24,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  const runtimeStyle = runtimeInfo.style;
25
25
  const runtimeClass = runtimeInfo.class;
26
26
  const headerStyle = runtimeInfo.headerStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
- const listOptions = ref(designProperty.options ? designProperty.options : []);
27
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
28
+ const listOptions = ref(designProperty.value.options ? designProperty.value.options : []);
29
29
  const cacheOptions = getOptionDatasFromPage(props.pageContext, props.configure);
30
30
  if (cacheOptions.length > 0) {
31
31
  listOptions.value = cacheOptions;
@@ -48,8 +48,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  target: props.configure.props.base.optionProp
49
49
  });
50
50
  }
51
- designProperty.changeMethod = optionChange;
52
- const monitorFields = designProperty.monitorFields;
51
+ designProperty.value.changeMethod = optionChange;
52
+ const monitorFields = designProperty.value.monitorFields;
53
53
  const monitorFieldInfos = [];
54
54
  if (monitorFields) {
55
55
  const preFields = [];
@@ -80,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  }
81
81
  let initMonitorValue = getMonitorFieldValues();
82
82
  let monitorTimeout = false;
83
- const optionconfigInfo = designProperty.optionconfigInfo ? designProperty.optionconfigInfo : {};
83
+ const optionconfigInfo = designProperty.value.optionconfigInfo ? designProperty.value.optionconfigInfo : {};
84
84
  function monitorFieldChange() {
85
85
  if (monitorTimeout) {
86
86
  clearTimeout(monitorTimeout);
@@ -119,22 +119,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
119
  const _component_el_radio_group = resolveComponent("el-radio-group");
120
120
  const _component_el_form_item = resolveComponent("el-form-item");
121
121
  return openBlock(), createBlock(_component_el_form_item, {
122
- required: unref(designProperty).required,
122
+ required: designProperty.value.required,
123
123
  class: normalizeClass(unref(runtimeClass)),
124
- "label-width": unref(designProperty).labelWidth,
124
+ "label-width": designProperty.value.labelWidth,
125
125
  style: normalizeStyle(unref(runtimeStyle))
126
126
  }, {
127
127
  label: withCtx(() => [
128
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
128
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
129
129
  key: 0,
130
130
  style: normalizeStyle({ ...unref(headerStyle) })
131
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
131
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
132
132
  ]),
133
133
  default: withCtx(() => [
134
134
  createVNode(_component_el_radio_group, {
135
- disabled: unref(designProperty).state === "disabled",
136
- size: unref(designProperty).size,
137
- onChange: unref(designProperty).changeMethod,
135
+ disabled: designProperty.value.state === "disabled",
136
+ size: designProperty.value.size,
137
+ onChange: designProperty.value.changeMethod,
138
138
  modelValue: dynamicModelMethod.value,
139
139
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
140
140
  }, {