super-page-runtime 2.1.933 → 2.2.0

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 (160) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +6 -7
  2. package/dist/es/assets/chart-themes/theme1.js +2 -6
  3. package/dist/es/assets/chart-themes/theme2.js +2 -6
  4. package/dist/es/assets/chart-themes/theme3.js +2 -6
  5. package/dist/es/components/runtime/utils/api/api-util.js +4 -7
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +137 -433
  7. package/dist/es/components/runtime/utils/assemblys-config.js +12 -366
  8. package/dist/es/components/runtime/utils/barcode-util.js +10 -33
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +138 -300
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +29 -66
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +71 -147
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +52 -122
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +40 -98
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +237 -478
  15. package/dist/es/components/runtime/utils/common-util.js +82 -152
  16. package/dist/es/components/runtime/utils/eventBus.js +3 -9
  17. package/dist/es/components/runtime/utils/events/event-util.js +361 -727
  18. package/dist/es/components/runtime/utils/events/print-label.js +73 -140
  19. package/dist/es/components/runtime/utils/events/standard-event.js +838 -2285
  20. package/dist/es/components/runtime/utils/events/validator-util.js +237 -536
  21. package/dist/es/components/runtime/utils/form/date-shortcuts.js +29 -88
  22. package/dist/es/components/runtime/utils/form/scan-util.js +60 -154
  23. package/dist/es/components/runtime/utils/global-refs.js +45 -69
  24. package/dist/es/components/runtime/utils/i18n-util.js +12 -20
  25. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +2 -7
  26. package/dist/es/components/runtime/utils/page-helper-util.js +298 -628
  27. package/dist/es/components/runtime/utils/page-init-util.js +134 -368
  28. package/dist/es/components/runtime/utils/page-permission-util.js +24 -531
  29. package/dist/es/components/runtime/utils/page-store.js +8 -12
  30. package/dist/es/components/runtime/utils/store-util.js +9 -13
  31. package/dist/es/components/runtime/utils/store.js +2 -2
  32. package/dist/es/components/runtime/utils/table-utils.js +49 -84
  33. package/dist/es/components/runtime/utils/tree-utils.js +18 -36
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +19 -75
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -46
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +37 -132
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +2 -2
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +4 -18
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +2 -2
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -107
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +54 -198
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +12 -42
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +7 -60
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +48 -169
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +2 -2
  53. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +32 -107
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +43 -164
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +32 -115
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +32 -116
  60. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +208 -439
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +4 -42
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +8 -62
  64. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +63 -226
  66. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -62
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +2 -2
  70. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +168 -512
  71. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +29 -139
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +2 -2
  73. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +23 -125
  74. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +2 -2
  75. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +16 -102
  76. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +2 -2
  78. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +18 -81
  79. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +2 -2
  80. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -82
  81. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +14 -86
  83. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +21 -79
  85. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +2 -2
  86. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +16 -61
  87. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -37
  89. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  90. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +38 -127
  91. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +28 -76
  93. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +2 -2
  94. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +61 -178
  95. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +311 -800
  96. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +2 -2
  97. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +251 -592
  98. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +2 -2
  99. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +2 -2
  100. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +43 -115
  101. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  102. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +56 -215
  103. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +3 -21
  104. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +2 -2
  105. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +2 -2
  106. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +44 -154
  107. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +36 -98
  108. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +2 -2
  110. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +54 -200
  111. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +2 -2
  112. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +69 -239
  113. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +28 -98
  115. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +2 -2
  116. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +22 -59
  117. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +52 -173
  119. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +22 -103
  121. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +2 -2
  122. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -249
  123. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +34 -174
  125. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +28 -107
  127. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +5 -5
  128. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -50
  129. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +1 -0
  130. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +66 -189
  132. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -243
  134. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +82 -261
  136. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +13 -57
  138. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +2 -2
  139. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +30 -155
  140. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +41 -129
  142. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  143. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +22 -107
  144. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +133 -252
  145. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +2 -2
  146. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +2 -2
  147. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +19 -46
  148. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +2 -2
  149. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +22 -49
  150. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +2 -2
  151. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +21 -58
  152. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +2 -2
  153. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +16 -53
  154. package/dist/es/components/runtime/views/super-page-dialog.vue.js +18 -134
  155. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
  156. package/dist/es/components/runtime/views/super-page.vue.js +233 -708
  157. package/dist/es/components/runtime/views/super-page.vue2.js +2 -2
  158. package/dist/es/i18n/langs/cn.js +2 -55
  159. package/dist/es/i18n/langs/en.js +2 -55
  160. package/package.json +74 -73
@@ -1,86 +1,21 @@
1
- import { defineComponent, ref, onMounted, nextTick, resolveComponent, openBlock, createBlock, unref, isRef, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createElementVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import _sfc_main$1 from "../../object-render.vue.js";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as l, openBlock as i, createBlock as u, unref as r, isRef as a, normalizeStyle as p, normalizeClass as s, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createElementVNode as d, createCommentVNode as y, createTextVNode as x, toDisplayString as v } from "vue";
2
+ import C from "../../object-render.vue.js";
3
3
  import "../../../../utils/global-refs.js";
4
- import { $t } from "../../../../utils/i18n-util.js";
5
- import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
6
- const _sfc_main = /* @__PURE__ */ defineComponent({
7
- __name: "collapse-runtime",
8
- props: {
9
- pageContext: {},
10
- configure: {}
11
- },
12
- setup(__props) {
13
- const props = __props;
14
- if (!props.configure.props) {
15
- props.configure.props = {};
16
- }
17
- const activeName = props.configure.props.defaultOpens ? props.configure.props.defaultOpens : [1];
18
- const accordion = props.configure.props.accordion ? true : false;
19
- const thisRef = ref(null);
20
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
21
- const runtimeStyle = runtimeInfo.style;
22
- const runtimeClass = runtimeInfo.class;
23
- const headerStyle = runtimeInfo.headerStyle;
24
- onMounted(() => {
25
- nextTick(() => {
26
- handleAfterInitEvent(null, props.pageContext, props.configure, {
27
- componentRef: thisRef.value,
28
- entity: props.pageContext.entity.data,
29
- pageData: props.pageContext.entity.page
30
- });
31
- });
4
+ import { $t as V } from "../../../../utils/i18n-util.js";
5
+ import { handleAfterInitEvent as j } from "../../../../utils/events/event-util.js";
6
+ const _ = e({ __name: "collapse-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
+ const _2 = e2;
8
+ _2.configure.props || (_2.configure.props = {});
9
+ const h = _2.configure.props.defaultOpens ? _2.configure.props.defaultOpens : [1], T = !!_2.configure.props.accordion, b = t(null), k = _2.configure.runtime ? _2.configure.runtime : {}, O = k.style, R = k.class, S = k.headerStyle;
10
+ return n(() => {
11
+ o(() => {
12
+ j(null, _2.pageContext, _2.configure, { componentRef: b.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
32
13
  });
33
- return (_ctx, _cache) => {
34
- const _component_SuperIcon = resolveComponent("SuperIcon");
35
- const _component_el_collapse_item = resolveComponent("el-collapse-item");
36
- const _component_el_collapse = resolveComponent("el-collapse");
37
- return openBlock(), createBlock(_component_el_collapse, {
38
- ref_key: "thisRef",
39
- ref: thisRef,
40
- modelValue: unref(activeName),
41
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null),
42
- style: normalizeStyle(unref(runtimeStyle)),
43
- accordion: unref(accordion),
44
- class: normalizeClass(unref(runtimeClass))
45
- }, {
46
- default: withCtx(() => [
47
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (item, index) => {
48
- return openBlock(), createBlock(_component_el_collapse_item, {
49
- name: item.index
50
- }, {
51
- title: withCtx(() => [
52
- createElementVNode("div", {
53
- style: normalizeStyle([unref(headerStyle), { "width": "100%" }])
54
- }, [
55
- item.iconType && item.iconValue ? (openBlock(), createBlock(_component_SuperIcon, {
56
- key: 0,
57
- iconType: item.iconType,
58
- iconValue: item.iconValue,
59
- style: { "margin-right": "2px" }
60
- }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
61
- createTextVNode(" " + toDisplayString(unref($t)(item.label)), 1)
62
- ], 4)
63
- ]),
64
- default: withCtx(() => [
65
- createElementVNode("div", null, [
66
- (openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (element, itemIndex) => {
67
- return openBlock(), createBlock(_sfc_main$1, {
68
- key: element.uuid,
69
- configure: element,
70
- pageContext: _ctx.pageContext
71
- }, null, 8, ["configure", "pageContext"]);
72
- }), 128))
73
- ])
74
- ]),
75
- _: 2
76
- }, 1032, ["name"]);
77
- }), 256))
78
- ]),
79
- _: 1
80
- }, 8, ["modelValue", "style", "accordion", "class"]);
81
- };
82
- }
83
- });
14
+ }), (e3, t2) => {
15
+ const n2 = l("SuperIcon"), o2 = l("el-collapse-item"), j2 = l("el-collapse");
16
+ return i(), u(j2, { ref_key: "thisRef", ref: b, modelValue: r(h), "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => a(h) ? h.value = e4 : null), style: p(r(O)), accordion: r(T), class: s(r(R)) }, { default: c(() => [(i(true), f(g, null, m(e3.configure.items, (t3, l2) => (i(), u(o2, { name: t3.index }, { title: c(() => [d("div", { style: p([r(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (i(), u(n2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(r(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(i(true), f(g, null, m(t3.items, (t4, n3) => (i(), u(C, { key: t4.uuid, configure: t4, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
17
+ };
18
+ } });
84
19
  export {
85
- _sfc_main as default
20
+ _ as default
86
21
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./container-runtime.vue2.js";
1
+ import e from "./container-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,90 +1,18 @@
1
- import { defineComponent, ref, onMounted, nextTick, resolveComponent, openBlock, createBlock, withCtx, normalizeStyle, unref, createElementBlock, Fragment, renderList, createCommentVNode, createVNode, normalizeClass } from "vue";
2
- import _sfc_main$1 from "../../object-render.vue.js";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as u, openBlock as l, createBlock as i, withCtx as r, normalizeStyle as s, unref as a, createElementBlock as g, Fragment as f, renderList as p, createCommentVNode as c, createVNode as y, normalizeClass as m } from "vue";
2
+ import x from "../../object-render.vue.js";
3
3
  import "../../../../utils/global-refs.js";
4
- import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "container-runtime",
7
- props: {
8
- pageContext: {},
9
- configure: {}
10
- },
11
- setup(__props) {
12
- const props = __props;
13
- const thisRef = ref(null);
14
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
15
- const leftStyle = runtimeInfo.leftStyle;
16
- const rightStyle = runtimeInfo.rightStyle;
17
- const mainStyle = runtimeInfo.style;
18
- const mainClass = runtimeInfo.class;
19
- onMounted(() => {
20
- nextTick(() => {
21
- handleAfterInitEvent(null, props.pageContext, props.configure, {
22
- componentRef: thisRef.value,
23
- entity: props.pageContext.entity.data,
24
- pageData: props.pageContext.entity.page
25
- });
26
- });
4
+ import { handleAfterInitEvent as d } from "../../../../utils/events/event-util.js";
5
+ const C = e({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
6
+ const C2 = e2, _ = t(null), k = C2.configure.runtime ? C2.configure.runtime : {}, v = k.leftStyle, h = k.rightStyle, j = k.style, R = k.class;
7
+ return n(() => {
8
+ o(() => {
9
+ d(null, C2.pageContext, C2.configure, { componentRef: _.value, entity: C2.pageContext.entity.data, pageData: C2.pageContext.entity.page });
27
10
  });
28
- return (_ctx, _cache) => {
29
- const _component_el_aside = resolveComponent("el-aside");
30
- const _component_el_main = resolveComponent("el-main");
31
- const _component_el_container = resolveComponent("el-container");
32
- return openBlock(), createBlock(_component_el_container, {
33
- ref_key: "thisRef",
34
- ref: thisRef
35
- }, {
36
- default: withCtx(() => [
37
- _ctx.configure.props.useLeft ? (openBlock(), createBlock(_component_el_aside, {
38
- key: 0,
39
- style: normalizeStyle(unref(leftStyle))
40
- }, {
41
- default: withCtx(() => [
42
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.leftAslides, (element, itemIndex) => {
43
- return openBlock(), createBlock(_sfc_main$1, {
44
- key: element.uuid,
45
- pageContext: _ctx.pageContext,
46
- configure: element
47
- }, null, 8, ["pageContext", "configure"]);
48
- }), 128))
49
- ]),
50
- _: 1
51
- }, 8, ["style"])) : createCommentVNode("", true),
52
- createVNode(_component_el_main, {
53
- style: normalizeStyle(unref(mainStyle)),
54
- class: normalizeClass(unref(mainClass))
55
- }, {
56
- default: withCtx(() => [
57
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
58
- return openBlock(), createBlock(_sfc_main$1, {
59
- key: element.uuid,
60
- pageContext: _ctx.pageContext,
61
- configure: element
62
- }, null, 8, ["pageContext", "configure"]);
63
- }), 128))
64
- ]),
65
- _: 1
66
- }, 8, ["style", "class"]),
67
- _ctx.configure.props.useRight ? (openBlock(), createBlock(_component_el_aside, {
68
- key: 1,
69
- style: normalizeStyle(unref(rightStyle))
70
- }, {
71
- default: withCtx(() => [
72
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.rightAslides, (element, itemIndex) => {
73
- return openBlock(), createBlock(_sfc_main$1, {
74
- key: element.uuid,
75
- pageContext: _ctx.pageContext,
76
- configure: element
77
- }, null, 8, ["pageContext", "configure"]);
78
- }), 128))
79
- ]),
80
- _: 1
81
- }, 8, ["style"])) : createCommentVNode("", true)
82
- ]),
83
- _: 1
84
- }, 512);
85
- };
86
- }
87
- });
11
+ }), (e3, t2) => {
12
+ const n2 = u("el-aside"), o2 = u("el-main"), d2 = u("el-container");
13
+ return l(), i(d2, { ref_key: "thisRef", ref: _ }, { default: r(() => [e3.configure.props.useLeft ? (l(), i(n2, { key: 0, style: s(a(v)) }, { default: r(() => [(l(true), g(f, null, p(e3.configure.leftAslides, (t3, n3) => (l(), i(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : c("", true), y(o2, { style: s(a(j)), class: m(a(R)) }, { default: r(() => [(l(true), g(f, null, p(e3.configure.items, (t3, n3) => (l(), i(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? (l(), i(n2, { key: 1, style: s(a(h)) }, { default: r(() => [(l(true), g(f, null, p(e3.configure.rightAslides, (t3, n3) => (l(), i(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : c("", true)]), _: 1 }, 512);
14
+ };
15
+ } });
88
16
  export {
89
- _sfc_main as default
17
+ C as default
90
18
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./flex-runtime.vue2.js";
1
+ import e from "./flex-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,83 +1,25 @@
1
- import { defineComponent, ref, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeStyle, unref, normalizeClass, withCtx, createElementBlock, Fragment, renderList, withDirectives, createVNode, vShow } from "vue";
2
- import _sfc_main$1 from "../../object-render.vue.js";
3
- import { PageDimensions } from "../../../../utils/interfaces/page-design-types.js";
4
- import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "flex-runtime",
7
- props: {
8
- pageContext: {},
9
- configure: {}
10
- },
11
- setup(__props) {
12
- const props = __props;
13
- const thisRef = ref(null);
14
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
15
- const runtimeStyle = runtimeInfo.style;
16
- const runtimeClass = runtimeInfo.class;
17
- const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
18
- if (props.configure.items) {
19
- const pageDimensions = props.pageContext && props.pageContext.dimensions ? props.pageContext.dimensions : PageDimensions.PC;
20
- for (let item of props.configure.items) {
21
- const itemCommon = item.runtime && item.runtime.common ? item.runtime.common : {};
22
- const sizeStyle = itemCommon.style ? itemCommon.style[pageDimensions + "_style"] : void 0;
23
- const itemStyle = {};
24
- if (sizeStyle) {
25
- item.flexSpan = sizeStyle.flexSpan ? sizeStyle.flexSpan : -2;
26
- Object.assign(itemStyle, sizeStyle);
27
- delete itemStyle.height;
28
- delete sizeStyle.width;
29
- }
30
- item.itemStyle = itemStyle;
31
- if (itemCommon.style) {
32
- itemCommon.style[pageDimensions + "_class"] = "";
33
- }
34
- }
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as s, resolveComponent as l, openBlock as i, createBlock as o, normalizeStyle as a, unref as u, normalizeClass as r, withCtx as f, createElementBlock as p, Fragment as g, renderList as m, withDirectives as c, createVNode as y, vShow as x } from "vue";
2
+ import d from "../../object-render.vue.js";
3
+ import { PageDimensions as C } from "../../../../utils/interfaces/page-design-types.js";
4
+ import { handleAfterInitEvent as v } from "../../../../utils/events/event-util.js";
5
+ const _ = e({ __name: "flex-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
6
+ const _2 = e2, j = t(null), S = _2.configure.runtime ? _2.configure.runtime : {}, h = S.style, w = S.class, b = t(S.props ? S.props : {});
7
+ if (_2.configure.items) {
8
+ const e3 = _2.pageContext && _2.pageContext.dimensions ? _2.pageContext.dimensions : C.PC;
9
+ for (let t2 of _2.configure.items) {
10
+ const n2 = t2.runtime && t2.runtime.common ? t2.runtime.common : {}, s2 = n2.style ? n2.style[e3 + "_style"] : void 0, l2 = {};
11
+ s2 && (t2.flexSpan = s2.flexSpan ? s2.flexSpan : -2, Object.assign(l2, s2), delete l2.height, delete s2.width), t2.itemStyle = l2, n2.style && (n2.style[e3 + "_class"] = "");
35
12
  }
36
- onMounted(() => {
37
- nextTick(() => {
38
- handleAfterInitEvent(null, props.pageContext, props.configure, {
39
- componentRef: thisRef.value,
40
- entity: props.pageContext.entity.data,
41
- pageData: props.pageContext.entity.page
42
- });
43
- });
44
- });
45
- return (_ctx, _cache) => {
46
- const _component_el_col = resolveComponent("el-col");
47
- const _component_el_row = resolveComponent("el-row");
48
- return openBlock(), createBlock(_component_el_row, {
49
- ref_key: "thisRef",
50
- ref: thisRef,
51
- justify: designProperty.value.flexJustify,
52
- gutter: designProperty.value.flexGutter,
53
- align: designProperty.value.alignItems,
54
- style: normalizeStyle([{ "display": "flex" }, unref(runtimeStyle)]),
55
- class: normalizeClass(unref(runtimeClass))
56
- }, {
57
- default: withCtx(() => [
58
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
59
- return withDirectives((openBlock(), createBlock(_component_el_col, {
60
- key: element.uuid,
61
- style: normalizeStyle(element.itemStyle),
62
- span: element.flexSpan
63
- }, {
64
- default: withCtx(() => [
65
- createVNode(_sfc_main$1, {
66
- pageContext: _ctx.pageContext,
67
- configure: element
68
- }, null, 8, ["pageContext", "configure"])
69
- ]),
70
- _: 2
71
- }, 1032, ["style", "span"])), [
72
- [vShow, element._dynamicShowFlag]
73
- ]);
74
- }), 128))
75
- ]),
76
- _: 1
77
- }, 8, ["justify", "gutter", "align", "style", "class"]);
78
- };
79
13
  }
80
- });
14
+ return n(() => {
15
+ s(() => {
16
+ v(null, _2.pageContext, _2.configure, { componentRef: j.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
17
+ });
18
+ }), (e3, t2) => {
19
+ const n2 = l("el-col"), s2 = l("el-row");
20
+ return i(), o(s2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: a([{ display: "flex" }, u(h)]), class: r(u(w)) }, { default: f(() => [(i(true), p(g, null, m(e3.configure.items, (t3, s3) => c((i(), o(n2, { key: t3.uuid, style: a(t3.itemStyle), span: t3.flexSpan }, { default: f(() => [y(d, { pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[x, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
21
+ };
22
+ } });
81
23
  export {
82
- _sfc_main as default
24
+ _ as default
83
25
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./form-runtime.vue2.js";
1
+ import r from "./form-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ r as default
4
4
  };
@@ -1,70 +1,25 @@
1
- import { defineComponent, ref, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createVNode, unref, normalizeStyle, normalizeClass, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock } from "vue";
2
- import _sfc_main$1 from "../../object-render.vue.js";
1
+ import { defineComponent as e, ref as t, onMounted as i, nextTick as l, resolveComponent as o, openBlock as r, createElementBlock as u, createVNode as s, unref as n, normalizeStyle as a, normalizeClass as p, withCtx as c, toDisplayString as m, createCommentVNode as f, Fragment as g, renderList as d, createBlock as y } from "vue";
2
+ import b from "../../object-render.vue.js";
3
3
  import "../../../../utils/global-refs.js";
4
4
  import "agilebuilder-ui/src/utils/common-util";
5
5
  import "agilebuilder-ui/src/utils/util";
6
6
  import "agilebuilder-ui/src/utils/request";
7
7
  import "dayjs";
8
8
  import "agilebuilder-ui/src/utils/calculator/calculator-util";
9
- import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
10
- const _sfc_main = /* @__PURE__ */ defineComponent({
11
- __name: "form-runtime",
12
- props: {
13
- pageContext: {},
14
- configure: {}
15
- },
16
- setup(__props) {
17
- const props = __props;
18
- if (!props.configure.items) {
19
- props.configure.items = [];
20
- }
21
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
22
- const runtimeProps = runtimeInfo.props ? runtimeInfo.props : {};
23
- const runtimeStyle = ref(runtimeInfo.style ? runtimeInfo.style : {});
24
- const runtimeClass = runtimeInfo.class;
25
- const titleStyle = ref(runtimeInfo.titleStyle ? runtimeInfo.titleStyle : {});
26
- const thisRef = ref(null);
27
- onMounted(() => {
28
- nextTick(() => {
29
- handleAfterInitEvent(null, props.pageContext, props.configure, {
30
- componentRef: thisRef.value,
31
- entity: props.pageContext.entity.data,
32
- pageData: props.pageContext.entity.page
33
- });
34
- });
9
+ import { handleAfterInitEvent as v } from "../../../../utils/events/event-util.js";
10
+ const x = e({ __name: "form-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
11
+ const x2 = e2;
12
+ x2.configure.items || (x2.configure.items = []);
13
+ const C = x2.configure.runtime ? x2.configure.runtime : {}, j = C.props ? C.props : {}, h = t(C.style ? C.style : {}), _ = C.class, k = t(C.titleStyle ? C.titleStyle : {}), w = t(null);
14
+ return i(() => {
15
+ l(() => {
16
+ v(null, x2.pageContext, x2.configure, { componentRef: w.value, entity: x2.pageContext.entity.data, pageData: x2.pageContext.entity.page });
35
17
  });
36
- return (_ctx, _cache) => {
37
- const _component_el_form = resolveComponent("el-form");
38
- return openBlock(), createElementBlock("div", null, [
39
- createVNode(_component_el_form, {
40
- ref_key: "thisRef",
41
- ref: thisRef,
42
- "label-width": unref(runtimeProps).labelWidth,
43
- "label-position": unref(runtimeProps).labelPosition,
44
- size: unref(runtimeProps).componentSize,
45
- style: normalizeStyle(runtimeStyle.value),
46
- class: normalizeClass(unref(runtimeClass))
47
- }, {
48
- default: withCtx(() => [
49
- unref(runtimeProps).formTitle ? (openBlock(), createElementBlock("div", {
50
- key: 0,
51
- class: "amb-widget-form-title",
52
- style: normalizeStyle(titleStyle.value)
53
- }, toDisplayString(unref(runtimeProps).formTitle), 5)) : createCommentVNode("", true),
54
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
55
- return openBlock(), createBlock(_sfc_main$1, {
56
- key: element.uuid,
57
- pageContext: _ctx.pageContext,
58
- configure: element
59
- }, null, 8, ["pageContext", "configure"]);
60
- }), 128))
61
- ]),
62
- _: 1
63
- }, 8, ["label-width", "label-position", "size", "style", "class"])
64
- ]);
65
- };
66
- }
67
- });
18
+ }), (e3, t2) => {
19
+ const i2 = o("el-form");
20
+ return r(), u("div", null, [s(i2, { ref_key: "thisRef", ref: w, "label-width": n(j).labelWidth, "label-position": n(j).labelPosition, size: n(j).componentSize, style: a(h.value), class: p(n(_)) }, { default: c(() => [n(j).formTitle ? (r(), u("div", { key: 0, class: "amb-widget-form-title", style: a(k.value) }, m(n(j).formTitle), 5)) : f("", true), (r(true), u(g, null, d(e3.configure.items, (t3, i3) => (r(), y(b, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
21
+ };
22
+ } });
68
23
  export {
69
- _sfc_main as default
24
+ x as default
70
25
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./iframe-runtime.vue2.js";
1
+ import e from "./iframe-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ e as default
4
4
  };
@@ -1,41 +1,14 @@
1
- import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as r, openBlock as i, createElementBlock as o, normalizeClass as s, unref as a, normalizeStyle as u } from "vue";
2
2
  import "../../../../utils/global-refs.js";
3
- import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
4
- const _hoisted_1 = ["src"];
5
- const _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "iframe-runtime",
7
- props: {
8
- pageContext: {},
9
- configure: {},
10
- indexObj: {},
11
- selectWidget: {}
12
- },
13
- setup(__props) {
14
- const props = __props;
15
- const thisRef = ref(null);
16
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
17
- const runtimeStyle = runtimeInfo.style;
18
- const runtimeClass = runtimeInfo.class;
19
- onMounted(() => {
20
- nextTick(() => {
21
- handleAfterInitEvent(null, props.pageContext, props.configure, {
22
- componentRef: thisRef.value,
23
- entity: props.pageContext.entity.data,
24
- pageData: props.pageContext.entity.page
25
- });
26
- });
3
+ import { handleAfterInitEvent as l } from "../../../../utils/events/event-util.js";
4
+ const f = ["src"], p = e({ __name: "iframe-runtime", props: { pageContext: {}, configure: {}, indexObj: {}, selectWidget: {} }, setup(e2) {
5
+ const p2 = e2, c = t(null), g = p2.configure.runtime ? p2.configure.runtime : {}, m = g.style, x = g.class;
6
+ return n(() => {
7
+ r(() => {
8
+ l(null, p2.pageContext, p2.configure, { componentRef: c.value, entity: p2.pageContext.entity.data, pageData: p2.pageContext.entity.page });
27
9
  });
28
- return (_ctx, _cache) => {
29
- return openBlock(), createElementBlock("iframe", {
30
- ref_key: "thisRef",
31
- ref: thisRef,
32
- src: _ctx.configure.props.src,
33
- class: normalizeClass(["amb-widget-container-iframe", unref(runtimeClass)]),
34
- style: normalizeStyle(unref(runtimeStyle))
35
- }, null, 14, _hoisted_1);
36
- };
37
- }
38
- });
10
+ }), (e3, t2) => (i(), o("iframe", { ref_key: "thisRef", ref: c, src: e3.configure.props.src, class: s(["amb-widget-container-iframe", a(x)]), style: u(a(m)) }, null, 14, f));
11
+ } });
39
12
  export {
40
- _sfc_main as default
13
+ p as default
41
14
  };
@@ -1,4 +1,4 @@
1
- import _sfc_main from "./tabs-runtime.vue2.js";
1
+ import t from "./tabs-runtime.vue2.js";
2
2
  export {
3
- _sfc_main as default
3
+ t as default
4
4
  };