super-page-runtime 2.0.19 → 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 (189) 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/common-util.d.ts +2 -2
  5. package/dist/es/components/runtime/utils/common-util.js +7 -11
  6. package/dist/es/components/runtime/utils/events/event-util.js +9 -14
  7. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
  8. package/dist/es/components/runtime/utils/events/standard-event.js +124 -110
  9. package/dist/es/components/runtime/utils/events/validator-util.js +4 -3
  10. package/dist/es/components/runtime/utils/global-refs.js +12 -0
  11. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
  12. package/dist/es/components/runtime/utils/page-helper-util.js +4 -4
  13. package/dist/es/components/runtime/utils/page-init-util.js +5 -3
  14. package/dist/es/components/runtime/utils/table-utils.js +4 -5
  15. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
  16. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +17 -17
  17. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
  18. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
  19. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +5 -5
  20. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +12 -13
  21. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -1
  22. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +11 -11
  23. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -28
  24. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +12 -12
  25. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
  26. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
  27. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +15 -15
  28. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
  29. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
  30. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +13 -13
  31. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -39
  32. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  33. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +13 -13
  34. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +10 -10
  35. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +14 -14
  36. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +5 -7
  38. package/dist/es/components/runtime/views/super-page.vue.js +2 -2
  39. package/package.json +3 -2
  40. package/dist/lib/_virtual/AttributeMap.js +0 -4
  41. package/dist/lib/_virtual/Delta.js +0 -4
  42. package/dist/lib/_virtual/Op.js +0 -4
  43. package/dist/lib/_virtual/OpIterator.js +0 -4
  44. package/dist/lib/_virtual/__vite-browser-external.js +0 -3
  45. package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
  46. package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  47. package/dist/lib/_virtual/dayjs.min.js +0 -4
  48. package/dist/lib/_virtual/index.js +0 -4
  49. package/dist/lib/_virtual/index2.js +0 -4
  50. package/dist/lib/_virtual/index3.js +0 -4
  51. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  52. package/dist/lib/assets/chart-themes/theme1.js +0 -7
  53. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  54. package/dist/lib/assets/chart-themes/theme2.js +0 -7
  55. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  56. package/dist/lib/assets/chart-themes/theme3.js +0 -7
  57. package/dist/lib/components/runtime/index.d.ts +0 -4
  58. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  59. package/dist/lib/components/runtime/utils/api/api-util.js +0 -128
  60. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -258
  61. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
  62. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -28
  63. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -16
  64. package/dist/lib/components/runtime/utils/common-util.js +0 -94
  65. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  66. package/dist/lib/components/runtime/utils/eventBus.js +0 -10
  67. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  68. package/dist/lib/components/runtime/utils/events/event-util.js +0 -526
  69. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  70. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1625
  71. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  72. package/dist/lib/components/runtime/utils/events/validator-util.js +0 -389
  73. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  74. package/dist/lib/components/runtime/utils/global-refs.js +0 -65
  75. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -223
  76. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
  77. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -106
  78. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -622
  79. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  80. package/dist/lib/components/runtime/utils/page-init-util.js +0 -200
  81. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  82. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  83. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  84. package/dist/lib/components/runtime/utils/store-util.js +0 -17
  85. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  86. package/dist/lib/components/runtime/utils/store.js +0 -3
  87. package/dist/lib/components/runtime/utils/table-utils.js +0 -24
  88. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  89. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  90. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  91. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  92. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  93. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  94. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  95. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -432
  96. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  97. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  98. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  99. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  100. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
  101. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  102. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  103. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -52
  104. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  105. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -54
  106. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  107. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -54
  108. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  109. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -56
  110. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  111. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -147
  112. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  113. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  114. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  115. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  116. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  117. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  118. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  119. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  120. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  121. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  122. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
  123. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  124. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
  125. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  126. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
  127. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  128. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
  129. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  130. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
  131. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  132. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
  133. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  134. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
  135. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
  136. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  137. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  138. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  139. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  140. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  141. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  142. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
  143. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  144. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  145. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
  146. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  147. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  148. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  149. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
  150. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  151. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  152. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  153. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  154. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  155. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  156. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  157. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  158. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  159. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -127
  160. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  161. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  162. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  163. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  164. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  165. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
  166. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  167. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -164
  168. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  169. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
  170. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  171. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  172. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  173. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  174. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  175. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  176. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  177. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -142
  178. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  179. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  180. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
  181. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
  182. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -73
  183. package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
  184. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  185. package/dist/lib/components/runtime/views/super-page.vue.js +0 -496
  186. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
  187. package/dist/lib/favicon.ico +0 -0
  188. package/dist/lib/index.d.ts +0 -8
  189. package/dist/lib/index.js +0 -15
@@ -1,156 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const pageHelperUtil = require("../../../../utils/page-helper-util.js");
4
- const pageInitUtil = require("../../../../utils/page-init-util.js");
5
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
6
- __name: "checkbox-runtime",
7
- props: {
8
- pageContext: {},
9
- configure: {}
10
- },
11
- setup(__props, { expose: __expose }) {
12
- const props = __props;
13
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
14
- let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
15
- const dynamicModelMethod = Vue.computed({
16
- get() {
17
- return pageHelperUtil.getVariableValue(entity, dynamicFields);
18
- },
19
- set(value) {
20
- pageHelperUtil.setVariableValue(entity, dynamicFields, value);
21
- }
22
- });
23
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
24
- const runtimeStyle = runtimeInfo.style;
25
- const runtimeClass = runtimeInfo.class;
26
- const headerStyle = runtimeInfo.headerStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
- const listOptions = Vue.ref(designProperty.options ? designProperty.options : []);
29
- const cacheOptions = pageHelperUtil.getOptionDatasFromPage(props.pageContext, props.configure);
30
- if (cacheOptions.length > 0) {
31
- listOptions.value = cacheOptions;
32
- }
33
- const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
34
- const valueType = dataOrigin.optionValueSetType;
35
- let autoSets = [];
36
- if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
37
- if (dataOrigin.autoSets) {
38
- for (let obj of dataOrigin.autoSets) {
39
- if (obj.source) {
40
- autoSets.push(obj);
41
- }
42
- }
43
- }
44
- }
45
- if (props.configure && props.configure.props && props.configure.props.base && props.configure.props.base.optionProp) {
46
- autoSets.push({
47
- source: "label",
48
- target: props.configure.props.base.optionProp
49
- });
50
- }
51
- if (autoSets.length > -1) {
52
- designProperty.changeMethod = optionChange;
53
- }
54
- const monitorFields = designProperty.monitorFields;
55
- const monitorFieldInfos = [];
56
- if (monitorFields) {
57
- const preFields = [];
58
- for (let propName of monitorFields) {
59
- if (propName.startsWith("${")) {
60
- propName = propName.substring(2, propName.length - 1);
61
- const fields = propName.split(".");
62
- if (fields[0] === "page" || fields[0] === "task" || fields[0] === "data") {
63
- monitorFieldInfos.push(fields);
64
- if (!preFields.includes(fields[0])) {
65
- preFields.push(fields[0]);
66
- }
67
- }
68
- }
69
- }
70
- for (let preField of preFields) {
71
- Vue.watch(entity[preField], () => {
72
- monitorFieldChange();
73
- });
74
- }
75
- }
76
- function getMonitorFieldValues() {
77
- let values = "";
78
- for (let fieldInfo of monitorFieldInfos) {
79
- values += "_" + pageHelperUtil.getVariableValue(entity, fieldInfo);
80
- }
81
- return values;
82
- }
83
- let initMonitorValue = getMonitorFieldValues();
84
- let monitorTimeout = false;
85
- const optionconfigInfo = designProperty.optionconfigInfo ? designProperty.optionconfigInfo : {};
86
- function monitorFieldChange() {
87
- if (monitorTimeout) {
88
- clearTimeout(monitorTimeout);
89
- }
90
- monitorTimeout = setTimeout(function() {
91
- const newValue = getMonitorFieldValues();
92
- if (newValue == initMonitorValue) {
93
- return;
94
- }
95
- initMonitorValue = newValue;
96
- pageHelperUtil.queryOptionDatasources(props.pageContext, optionconfigInfo, void 0).then((error) => {
97
- console.log("查询失败!", error);
98
- });
99
- }, 200);
100
- }
101
- function optionChange(value) {
102
- let selItems = null;
103
- if (listOptions.value && value != void 0 && value != null) {
104
- selItems = listOptions.value.filter((item) => {
105
- return Array.isArray(value) ? value.includes(item.value) : value === item.value;
106
- });
107
- }
108
- pageHelperUtil.autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems);
109
- }
110
- function updateOptions(newOptions) {
111
- listOptions.value = newOptions ? newOptions : [];
112
- }
113
- __expose({
114
- updateOptions
115
- });
116
- return (_ctx, _cache) => {
117
- const _component_el_checkbox = Vue.resolveComponent("el-checkbox");
118
- const _component_el_checkbox_group = Vue.resolveComponent("el-checkbox-group");
119
- const _component_el_form_item = Vue.resolveComponent("el-form-item");
120
- return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
121
- class: Vue.normalizeClass(Vue.unref(runtimeClass)),
122
- "label-width": Vue.unref(designProperty).labelWidth,
123
- style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
124
- }, {
125
- label: Vue.withCtx(() => [
126
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
127
- key: 0,
128
- style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
129
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
130
- ]),
131
- default: Vue.withCtx(() => [
132
- Vue.createVNode(_component_el_checkbox_group, {
133
- disabled: Vue.unref(designProperty).state === "disabled",
134
- size: Vue.unref(designProperty).size,
135
- onChange: Vue.unref(designProperty).changeMethod,
136
- modelValue: dynamicModelMethod.value,
137
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
138
- }, {
139
- default: Vue.withCtx(() => [
140
- (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(listOptions.value, (item) => {
141
- return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
142
- key: item.value,
143
- value: item.value,
144
- label: item.label
145
- }, null, 8, ["value", "label"]);
146
- }), 128))
147
- ]),
148
- _: 1
149
- }, 8, ["disabled", "size", "onChange", "modelValue"])
150
- ]),
151
- _: 1
152
- }, 8, ["class", "label-width", "style"]);
153
- };
154
- }
155
- });
156
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const datepickerRuntime_vue_vue_type_script_setup_true_lang = require("./datepicker-runtime.vue2.js");
3
- module.exports = datepickerRuntime_vue_vue_type_script_setup_true_lang;
@@ -1,82 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const pageInitUtil = require("../../../../utils/page-init-util.js");
4
- const pageHelperUtil = require("../../../../utils/page-helper-util.js");
5
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
6
- __name: "datepicker-runtime",
7
- props: {
8
- pageContext: {},
9
- configure: {}
10
- },
11
- setup(__props) {
12
- const props = __props;
13
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
14
- let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
15
- const dynamicModelMethod = Vue.computed({
16
- get() {
17
- return pageHelperUtil.getVariableValue(entity, dynamicFields);
18
- },
19
- set(value) {
20
- pageHelperUtil.setVariableValue(entity, dynamicFields, value);
21
- }
22
- });
23
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
24
- const runtimeStyle = runtimeInfo.style;
25
- const runtimeClass = runtimeInfo.class;
26
- const headerStyle = runtimeInfo.headerStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
- return (_ctx, _cache) => {
29
- const _component_el_time_picker = Vue.resolveComponent("el-time-picker");
30
- const _component_el_date_picker = Vue.resolveComponent("el-date-picker");
31
- const _component_el_form_item = Vue.resolveComponent("el-form-item");
32
- return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
33
- required: Vue.unref(designProperty).required,
34
- class: Vue.normalizeClass(Vue.unref(runtimeClass)),
35
- "label-width": Vue.unref(designProperty).labelWidth,
36
- style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
37
- }, {
38
- label: Vue.withCtx(() => [
39
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
40
- key: 0,
41
- style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
42
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
43
- ]),
44
- default: Vue.withCtx(() => [
45
- Vue.unref(designProperty).dateType == "time" || Vue.unref(designProperty).dateType == "timerange" ? (Vue.openBlock(), Vue.createBlock(_component_el_time_picker, {
46
- key: 0,
47
- "is-range": Vue.unref(designProperty).dateType == "timerange",
48
- "range-separator": "-",
49
- clearable: Vue.unref(designProperty).clearable,
50
- disabled: Vue.unref(designProperty).state === "disabled",
51
- readonly: Vue.unref(designProperty).state === "readonly",
52
- size: Vue.unref(designProperty).size,
53
- placeholder: Vue.unref(designProperty).placeholder,
54
- "start-placeholder": Vue.unref(designProperty).placeholder,
55
- "end-placeholder": Vue.unref(designProperty).endPlaceholder,
56
- format: Vue.unref(designProperty).format,
57
- modelValue: dynamicModelMethod.value,
58
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
59
- shortcuts: Vue.unref(designProperty).shortcuts,
60
- type: Vue.unref(designProperty).dateType
61
- }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (Vue.openBlock(), Vue.createBlock(_component_el_date_picker, {
62
- key: 1,
63
- clearable: Vue.unref(designProperty).clearable,
64
- disabled: Vue.unref(designProperty).state === "disabled",
65
- readonly: Vue.unref(designProperty).state === "readonly",
66
- size: Vue.unref(designProperty).size,
67
- placeholder: Vue.unref(designProperty).placeholder,
68
- "start-placeholder": Vue.unref(designProperty).placeholder,
69
- "end-placeholder": Vue.unref(designProperty).endPlaceholder,
70
- format: Vue.unref(designProperty).format,
71
- modelValue: dynamicModelMethod.value,
72
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dynamicModelMethod.value = $event),
73
- shortcuts: Vue.unref(designProperty).shortcuts,
74
- type: Vue.unref(designProperty).dateType
75
- }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
76
- ]),
77
- _: 1
78
- }, 8, ["required", "class", "label-width", "style"]);
79
- };
80
- }
81
- });
82
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const depttreeRuntime_vue_vue_type_script_setup_true_lang = require("./depttree-runtime.vue2.js");
3
- module.exports = depttreeRuntime_vue_vue_type_script_setup_true_lang;
@@ -1,64 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const pageInitUtil = require("../../../../utils/page-init-util.js");
4
- require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js");
5
- require("../../../../../../node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/dayjs.min.js");
6
- require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/src/i18n/i18n.js");
7
- require("../../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js");
8
- require("../../../../utils/global-refs.js");
9
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
10
- __name: "depttree-runtime",
11
- props: {
12
- pageContext: {},
13
- configure: {}
14
- },
15
- setup(__props) {
16
- const props = __props;
17
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
18
- if (!entity.data) {
19
- entity.data = {};
20
- }
21
- const dataModel = entity.data;
22
- let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
23
- const fieldName = dynamicFields.length > 0 ? dynamicFields[dynamicFields.length - 1] : props.configure.uuid;
24
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
25
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
26
- const runtimeStyle = runtimeInfo.style;
27
- const runtimeClass = runtimeInfo.class;
28
- const headerStyle = runtimeInfo.headerStyle;
29
- const autoSetFields = designProperty.autoSetFields ? designProperty.autoSetFields : [];
30
- return (_ctx, _cache) => {
31
- const _component_OrganizationInput = Vue.resolveComponent("OrganizationInput");
32
- const _component_el_form_item = Vue.resolveComponent("el-form-item");
33
- return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
34
- required: Vue.unref(designProperty).required,
35
- class: Vue.normalizeClass(Vue.unref(runtimeClass)),
36
- "label-width": Vue.unref(designProperty).labelWidth,
37
- style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
38
- }, {
39
- label: Vue.withCtx(() => [
40
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
41
- key: 0,
42
- style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
43
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
44
- ]),
45
- default: Vue.withCtx(() => [
46
- Vue.createVNode(_component_OrganizationInput, {
47
- disabled: Vue.unref(designProperty).state == "disabled",
48
- multiple: Vue.unref(designProperty).multiple,
49
- treeType: Vue.unref(designProperty).treeType,
50
- modelValue: Vue.unref(dataModel)[Vue.unref(fieldName)],
51
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.unref(dataModel)[Vue.unref(fieldName)] = $event),
52
- models: Vue.unref(dataModel),
53
- fields: Vue.unref(autoSetFields),
54
- size: Vue.unref(designProperty).size,
55
- placeholder: "请选择",
56
- separator: Vue.unref(designProperty).separator
57
- }, null, 8, ["disabled", "multiple", "treeType", "modelValue", "models", "fields", "size", "separator"])
58
- ]),
59
- _: 1
60
- }, 8, ["required", "class", "label-width", "style"]);
61
- };
62
- }
63
- });
64
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const dividerRuntime_vue_vue_type_script_setup_true_lang = require("./divider-runtime.vue2.js");
3
- module.exports = dividerRuntime_vue_vue_type_script_setup_true_lang;
@@ -1,40 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const pageHelperUtil = require("../../../../utils/page-helper-util.js");
4
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
5
- __name: "divider-runtime",
6
- props: {
7
- pageContext: {},
8
- configure: {}
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
13
- const headerStyle = runtimeInfo.headerStyle;
14
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
15
- let contentVariable = designProperty.value;
16
- const dynamicValue = Vue.computed(() => {
17
- if (!contentVariable) {
18
- return "";
19
- }
20
- const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
21
- return resultValue == void 0 || resultValue == null ? "" : resultValue;
22
- });
23
- return (_ctx, _cache) => {
24
- const _component_el_divider = Vue.resolveComponent("el-divider");
25
- return Vue.openBlock(), Vue.createBlock(_component_el_divider, {
26
- direction: Vue.unref(designProperty).direction,
27
- "border-style": Vue.unref(designProperty).borderType,
28
- "content-position": Vue.unref(designProperty).titlePosition
29
- }, {
30
- default: Vue.withCtx(() => [
31
- Vue.createElementVNode("div", {
32
- style: Vue.normalizeStyle(Vue.unref(headerStyle))
33
- }, Vue.toDisplayString(dynamicValue.value), 5)
34
- ]),
35
- _: 1
36
- }, 8, ["direction", "border-style", "content-position"]);
37
- };
38
- }
39
- });
40
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const fileuploadRuntime_vue_vue_type_script_setup_true_lang = require("./fileupload-runtime.vue2.js");
3
- module.exports = fileuploadRuntime_vue_vue_type_script_setup_true_lang;
@@ -1,74 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const pageHelperUtil = require("../../../../utils/page-helper-util.js");
4
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
5
- __name: "fileupload-runtime",
6
- props: {
7
- pageContext: {},
8
- configure: {}
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
13
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
14
- const runtimeStyle = runtimeInfo.style;
15
- const runtimeClass = runtimeInfo.class;
16
- const headerStyle = runtimeInfo.headerStyle;
17
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
18
- const propsBase = props.configure.props.base ? props.configure.props.base : {};
19
- propsBase.prop;
20
- const pathFields = getFieldsByVariable(propsBase.prop);
21
- const nameFields = getFieldsByVariable(propsBase.propName);
22
- const initNames = pageHelperUtil.getVariableValue(entity, nameFields);
23
- const initPaths = pageHelperUtil.getVariableValue(entity, pathFields);
24
- const fileInfo = ref({
25
- name: initNames ? initNames : "",
26
- serverPath: initPaths ? initPaths : ""
27
- });
28
- Vue.watch(fileInfo, () => {
29
- pageHelperUtil.setVariableValue(entity, nameFields, fileInfo.name);
30
- pageHelperUtil.setVariableValue(entity, pathFields, fileInfo.serverPath);
31
- });
32
- function getFieldsByVariable(variableName) {
33
- if (!variableName) {
34
- return [];
35
- }
36
- if (variableName.startsWith("${")) {
37
- variableName = variableName.substring(2, variableName.length - 1);
38
- }
39
- return variableName.split(".");
40
- }
41
- return (_ctx, _cache) => {
42
- const _component_FsUploadList = Vue.resolveComponent("FsUploadList");
43
- const _component_el_form_item = Vue.resolveComponent("el-form-item");
44
- return Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
45
- key: 0,
46
- required: Vue.unref(designProperty).required,
47
- class: Vue.normalizeClass(Vue.unref(runtimeClass)),
48
- "label-width": Vue.unref(designProperty).labelWidth,
49
- style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
50
- }, {
51
- label: Vue.withCtx(() => [
52
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
53
- key: 0,
54
- style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
55
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
56
- ]),
57
- default: Vue.withCtx(() => [
58
- Vue.createVNode(_component_FsUploadList, {
59
- disabled: Vue.unref(designProperty).state == "disabled",
60
- fileSetObj: Vue.unref(designProperty).fileSetObj,
61
- fileInfo: Vue.unref(fileInfo)
62
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"])
63
- ]),
64
- _: 1
65
- }, 8, ["required", "class", "label-width", "style"])) : (Vue.openBlock(), Vue.createBlock(_component_FsUploadList, {
66
- key: 1,
67
- disabled: Vue.unref(designProperty).state == "disabled",
68
- fileSetObj: Vue.unref(designProperty).fileSetObj,
69
- fileInfo: Vue.unref(fileInfo)
70
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"]));
71
- };
72
- }
73
- });
74
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const inputNumberRuntime_vue_vue_type_script_setup_true_lang = require("./input-number-runtime.vue2.js");
3
- module.exports = inputNumberRuntime_vue_vue_type_script_setup_true_lang;
@@ -1,63 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const pageInitUtil = require("../../../../utils/page-init-util.js");
4
- const pageHelperUtil = require("../../../../utils/page-helper-util.js");
5
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
6
- __name: "input-number-runtime",
7
- props: {
8
- pageContext: {},
9
- configure: {}
10
- },
11
- setup(__props) {
12
- const props = __props;
13
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
14
- let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
15
- const dynamicModelMethod = Vue.computed({
16
- get() {
17
- return pageHelperUtil.getVariableValue(entity, dynamicFields);
18
- },
19
- set(value) {
20
- pageHelperUtil.setVariableValue(entity, dynamicFields, value);
21
- }
22
- });
23
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
24
- const runtimeStyle = runtimeInfo.style;
25
- const runtimeClass = runtimeInfo.class;
26
- const headerStyle = runtimeInfo.headerStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
- return (_ctx, _cache) => {
29
- const _component_el_input_number = Vue.resolveComponent("el-input-number");
30
- const _component_el_form_item = Vue.resolveComponent("el-form-item");
31
- return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
32
- required: Vue.unref(designProperty).required,
33
- class: Vue.normalizeClass(Vue.unref(runtimeClass)),
34
- "label-width": Vue.unref(designProperty).labelWidth,
35
- style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
36
- }, {
37
- label: Vue.withCtx(() => [
38
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
39
- key: 0,
40
- style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
41
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
42
- ]),
43
- default: Vue.withCtx(() => [
44
- Vue.createVNode(_component_el_input_number, {
45
- disabled: Vue.unref(designProperty).state === "disabled",
46
- readonly: Vue.unref(designProperty).state === "readonly",
47
- controls: Vue.unref(designProperty).showButton,
48
- size: Vue.unref(designProperty).size,
49
- placeholder: Vue.unref(designProperty).placeholder,
50
- modelValue: dynamicModelMethod.value,
51
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
52
- precision: Vue.unref(designProperty).precision,
53
- step: Vue.unref(designProperty).step,
54
- min: Vue.unref(designProperty).min,
55
- max: Vue.unref(designProperty).max
56
- }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
57
- ]),
58
- _: 1
59
- }, 8, ["required", "class", "label-width", "style"]);
60
- };
61
- }
62
- });
63
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const inputtextRuntime_vue_vue_type_script_setup_true_lang = require("./inputtext-runtime.vue2.js");
3
- module.exports = inputtextRuntime_vue_vue_type_script_setup_true_lang;
@@ -1,127 +0,0 @@
1
- "use strict";
2
- const Vue = require("vue");
3
- const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
4
- const pageInitUtil = require("../../../../utils/page-init-util.js");
5
- const pageHelperUtil = require("../../../../utils/page-helper-util.js");
6
- const eventUtil = require("../../../../utils/events/event-util.js");
7
- const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
8
- __name: "inputtext-runtime",
9
- props: {
10
- pageContext: {},
11
- configure: {}
12
- },
13
- setup(__props, { expose: __expose }) {
14
- const props = __props;
15
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
16
- let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
17
- const dynamicModelMethod = Vue.computed({
18
- get() {
19
- return pageHelperUtil.getVariableValue(entity, dynamicFields);
20
- },
21
- set(value) {
22
- pageHelperUtil.setVariableValue(entity, dynamicFields, value);
23
- }
24
- });
25
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
26
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
- const runtimeStyle = runtimeInfo.style;
28
- const runtimeClass = runtimeInfo.class;
29
- const headerStyle = runtimeInfo.headerStyle;
30
- function getValue() {
31
- return pageHelperUtil.getVariableValue(entity, dynamicFields);
32
- }
33
- function setValue(value) {
34
- return pageHelperUtil.setVariableValue(entity, dynamicFields, value);
35
- }
36
- __expose({
37
- getValue,
38
- setValue
39
- });
40
- return (_ctx, _cache) => {
41
- const _component_el_input = Vue.resolveComponent("el-input");
42
- const _component_el_form_item = Vue.resolveComponent("el-form-item");
43
- return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
44
- required: Vue.unref(designProperty).required ? true : false,
45
- class: Vue.normalizeClass(Vue.unref(runtimeClass)),
46
- "label-width": Vue.unref(designProperty).labelWidth,
47
- style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
48
- }, {
49
- label: Vue.withCtx(() => [
50
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
51
- key: 0,
52
- style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
53
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
54
- ]),
55
- default: Vue.withCtx(() => [
56
- Vue.createVNode(_component_el_input, {
57
- disabled: Vue.unref(designProperty).state === "disabled",
58
- readonly: Vue.unref(designProperty).state === "readonly",
59
- size: Vue.unref(designProperty).size,
60
- clearable: Vue.unref(designProperty).clearable,
61
- placeholder: Vue.unref(designProperty).placeholder,
62
- maxlength: Vue.unref(designProperty).maxLength,
63
- "show-word-limit": Vue.unref(designProperty).showInputNum,
64
- modelValue: dynamicModelMethod.value,
65
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
66
- onInput: _cache[1] || (_cache[1] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
67
- onChange: _cache[2] || (_cache[2] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
68
- onBlur: _cache[3] || (_cache[3] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
69
- onFocus: _cache[4] || (_cache[4] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
70
- onClick: _cache[5] || (_cache[5] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
71
- }, Vue.createSlots({ _: 2 }, [
72
- Vue.unref(designProperty).iconPosition != "outer" && (Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue || Vue.unref(designProperty).preText) ? {
73
- name: "prefix",
74
- fn: Vue.withCtx(() => [
75
- Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
76
- key: 0,
77
- iconType: Vue.unref(designProperty).preIconType,
78
- iconValue: Vue.unref(designProperty).preIconValue
79
- }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
80
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).preText), 1)
81
- ]),
82
- key: "0"
83
- } : void 0,
84
- Vue.unref(designProperty).iconPosition == "outer" && (Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue || Vue.unref(designProperty).preText) ? {
85
- name: "prepend",
86
- fn: Vue.withCtx(() => [
87
- Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
88
- key: 0,
89
- iconType: Vue.unref(designProperty).preIconType,
90
- iconValue: Vue.unref(designProperty).preIconValue
91
- }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
92
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).preText), 1)
93
- ]),
94
- key: "1"
95
- } : void 0,
96
- Vue.unref(designProperty).iconPosition != "outer" && (Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue || Vue.unref(designProperty).sufText) ? {
97
- name: "suffix",
98
- fn: Vue.withCtx(() => [
99
- Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
100
- key: 0,
101
- iconType: Vue.unref(designProperty).sufIconType,
102
- iconValue: Vue.unref(designProperty).sufIconValue
103
- }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
104
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).sufText), 1)
105
- ]),
106
- key: "2"
107
- } : void 0,
108
- Vue.unref(designProperty).iconPosition == "outer" && (Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue || Vue.unref(designProperty).sufText) ? {
109
- name: "append",
110
- fn: Vue.withCtx(() => [
111
- Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
112
- key: 0,
113
- iconType: Vue.unref(designProperty).sufIconType,
114
- iconValue: Vue.unref(designProperty).sufIconValue
115
- }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
116
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).sufText), 1)
117
- ]),
118
- key: "3"
119
- } : void 0
120
- ]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])
121
- ]),
122
- _: 1
123
- }, 8, ["required", "class", "label-width", "style"]);
124
- };
125
- }
126
- });
127
- module.exports = _sfc_main;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- const labelRuntime_vue_vue_type_script_setup_true_lang = require("./label-runtime.vue2.js");
3
- module.exports = labelRuntime_vue_vue_type_script_setup_true_lang;