super-page-runtime 2.3.28 → 2.3.30-tmp1

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 (53) hide show
  1. package/dist/es/components/runtime/utils/anchor-util.js +73 -50
  2. package/dist/es/components/runtime/utils/page-init-util.js +2 -2
  3. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  4. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  5. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  6. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  7. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  8. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  11. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  14. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  16. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  17. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  18. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  19. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  20. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  21. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +41 -9
  22. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  23. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  25. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  26. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  27. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +5 -5
  34. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
  38. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +4 -4
  39. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  42. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
  45. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
  46. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +4 -4
  47. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  48. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  49. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  50. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  51. package/dist/es/components/runtime/views/super-page.vue2.js +1 -1
  52. package/dist/es/style.css +76 -76
  53. package/package.json +2 -2
@@ -1,69 +1,92 @@
1
- import { caculateShowCondition as t } from "./page-helper-util.js";
2
- import { getComponentRefByCode as o, getComponentRef as e } from "./global-refs.js";
3
- import { nextTick as n } from "vue";
4
- function l(t2, o2) {
5
- const l2 = e(t2, o2);
6
- l2 && n(() => {
7
- s(l2);
1
+ import { caculateShowCondition as e } from "./page-helper-util.js";
2
+ import { getComponentRefByCode as t, getComponentRef as n } from "./global-refs.js";
3
+ import { nextTick as o } from "vue";
4
+ function l(e2, t2) {
5
+ const l2 = n(e2, t2);
6
+ l2 && o(() => {
7
+ u(l2);
8
8
  });
9
9
  }
10
- function i(t2, e2) {
11
- const l2 = o(t2, e2);
12
- l2 && n(() => {
13
- s(l2);
10
+ function c(e2, n2) {
11
+ const l2 = t(e2, n2);
12
+ l2 && o(() => {
13
+ u(l2);
14
14
  });
15
15
  }
16
- function c(o2, n2) {
17
- if (o2 && 0 !== o2.length) for (let l2 = 0; l2 < o2.length; l2++) {
18
- const { uuid: i2, conditions: c2 } = o2[l2];
19
- if (t(n2, c2)) {
20
- r(() => {
21
- const t2 = e(n2, i2);
22
- t2 && s(t2);
16
+ function r(t2, o2) {
17
+ if (t2 && 0 !== t2.length) for (let l2 = 0; l2 < t2.length; l2++) {
18
+ const { uuid: c2, conditions: r2 } = t2[l2];
19
+ if (e(o2, r2)) {
20
+ i(() => {
21
+ const e2 = n(o2, c2);
22
+ e2 && u(e2);
23
23
  });
24
24
  break;
25
25
  }
26
26
  }
27
27
  }
28
- function r(t2, o2 = {}) {
29
- const { checkInterval: e2 = 50, stableCount: l2 = 2, maxWaitTime: i2 = 3e3 } = o2;
30
- let c2 = -1, r2 = 0, s2 = 0;
31
- const u = () => {
32
- const o3 = document.documentElement.scrollHeight || document.body.scrollHeight;
33
- if (o3 === c2) {
34
- if (r2++, r2 >= l2) return void n(() => {
35
- t2();
28
+ function i(e2, t2 = {}) {
29
+ const { checkInterval: n2 = 50, stableCount: l2 = 10, maxWaitTime: c2 = 3e3 } = t2;
30
+ let r2 = -1, i2 = 0, m2 = 0;
31
+ const u2 = () => {
32
+ const t3 = document.documentElement.scrollHeight || document.body.scrollHeight;
33
+ if (t3 === r2) {
34
+ if (i2++, i2 >= l2) return void o(() => {
35
+ e2();
36
36
  });
37
- } else c2 = o3, r2 = 0;
38
- s2 += e2, s2 >= i2 ? n(() => {
39
- t2();
40
- }) : setTimeout(u, e2);
37
+ } else r2 = t3, i2 = 0;
38
+ m2 += n2, m2 >= c2 ? o(() => {
39
+ e2();
40
+ }) : setTimeout(u2, n2);
41
41
  };
42
- n(() => {
43
- u();
42
+ o(() => {
43
+ u2();
44
44
  });
45
45
  }
46
- function s(t2) {
47
- let o2 = null;
48
- if (t2 && t2.$el ? o2 = t2.$el : t2 instanceof HTMLElement && (o2 = t2), o2) {
49
- o2.scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" });
50
- const t3 = function(t4) {
51
- let o3 = t4.parentElement;
52
- for (; o3; ) {
53
- const t5 = window.getComputedStyle(o3).overflowY;
54
- if ("auto" === t5 || "scroll" === t5) return o3;
55
- o3 = o3.parentElement;
56
- }
57
- return document.documentElement || document.body;
58
- }(o2);
59
- if (t3) {
60
- const e2 = o2.offsetTop;
61
- t3.scrollTo({ top: e2 - 20, behavior: "smooth" });
46
+ let m = null;
47
+ function u(e2) {
48
+ const t2 = function(e3) {
49
+ let t3 = null;
50
+ return e3 && e3.$el ? t3 = e3.$el : e3 instanceof HTMLElement && (t3 = e3), t3 && t3.nodeType !== Node.ELEMENT_NODE && (t3 = t3.nextElementSibling || t3.parentElement), t3 instanceof HTMLElement ? t3 : null;
51
+ }(e2);
52
+ if (!t2) return;
53
+ const n2 = function(e3) {
54
+ let t3 = e3.parentElement;
55
+ for (; t3; ) {
56
+ const e4 = window.getComputedStyle(t3).overflowY;
57
+ if (("auto" === e4 || "scroll" === e4) && t3.scrollHeight > t3.clientHeight) return t3;
58
+ t3 = t3.parentElement;
62
59
  }
60
+ return document.documentElement || document.body;
61
+ }(t2);
62
+ if (n2 && n2 !== document.documentElement && n2 !== document.body) {
63
+ const e3 = t2.getBoundingClientRect(), o2 = n2.getBoundingClientRect(), l2 = e3.top - o2.top + n2.scrollTop;
64
+ s(n2, Math.max(0, l2 - 20));
65
+ } else {
66
+ const e3 = t2.getBoundingClientRect(), n3 = window.pageYOffset || document.documentElement.scrollTop, o2 = Math.max(0, e3.top + n3 - 20);
67
+ !function() {
68
+ if (null !== m) return m;
69
+ try {
70
+ document.createElement("div").scrollIntoView({ behavior: "smooth" }), m = true;
71
+ } catch {
72
+ m = false;
73
+ }
74
+ return m;
75
+ }() ? s(document.documentElement, o2) : t2.scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" });
63
76
  }
64
77
  }
78
+ function s(e2, t2) {
79
+ if ("scrollBehavior" in document.documentElement.style) return void e2.scrollTo({ top: t2, behavior: "smooth" });
80
+ const n2 = e2.scrollTop, o2 = t2 - n2;
81
+ if (Math.abs(o2) < 1) return;
82
+ const l2 = performance.now ? performance.now() : Date.now();
83
+ requestAnimationFrame(function t3() {
84
+ const c2 = (performance.now ? performance.now() : Date.now()) - l2, r2 = Math.min(c2 / 300, 1), i2 = r2 < 0.5 ? 4 * r2 * r2 * r2 : 1 - Math.pow(-2 * r2 + 2, 3) / 2;
85
+ e2.scrollTop = n2 + o2 * i2, r2 < 1 && requestAnimationFrame(t3);
86
+ });
87
+ }
65
88
  export {
66
- i as scrollIntoComponentWithCode,
89
+ c as scrollIntoComponentWithCode,
67
90
  l as scrollIntoComponentWithUuid,
68
- c as scrollIntoViewWithContainer
91
+ r as scrollIntoViewWithContainer
69
92
  };
@@ -47,7 +47,7 @@ function b() {
47
47
  function y(e2) {
48
48
  var _a, _b, _c;
49
49
  if (null == e2) return null;
50
- const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
50
+ const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
51
51
  if (e2.props && e2.props.notIdInitializationList) {
52
52
  let i2 = e2.props.notIdInitializationList;
53
53
  "string" == typeof i2 && (i2 = JSON.parse(i2)), i2.length > 0 && (t2.notIdInitializationList = i2);
@@ -62,7 +62,7 @@ function y(e2) {
62
62
  const t3 = navigator ? navigator.userAgent : null;
63
63
  t3 ? t3.indexOf(" uni-app ") > 0 ? (e3.entity.page._isMobileApp = "true", e3.entity.page._isMobileBrowser = "false") : (e3.entity.page._isMobileApp = "false", e3.entity.page._isMobileBrowser = "true") : (e3.entity.page._isMobileApp = "false", e3.entity.page._isMobileBrowser = "false");
64
64
  } else e3.entity.page._isMobile = "false";
65
- }(t2), Object.assign(t2, e2), t2.dimensions = function() {
65
+ }(t2), Object.assign(t2, e2), t2.isWorkflowEntity = void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, t2.dimensions = function() {
66
66
  const e3 = window.outerWidth;
67
67
  if (!e3) return i.PC;
68
68
  return e3 > 768 ? i.PC : e3 > 414 ? i.IPAD : i.PHONE;
@@ -19,9 +19,9 @@ const V = { class: "page-runtime-header-btn" }, T = e({ __name: "button-runtime"
19
19
  b.pageContext.exportNoticeInfo && b.pageContext.exportNoticeInfo.noticeInterval && clearInterval(b.pageContext.exportNoticeInfo.noticeInterval);
20
20
  }), T2({ click: function() {
21
21
  R.value && R.value.$el.click();
22
- } }), (t2, l2) => {
23
- const i2 = o("el-link"), n2 = o("el-button");
24
- return u(), a("span", V, [z.value.text ? (u(), c(i2, { key: 0, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, loading: N(), onClick: l2[0] || (l2[0] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (u(), a(g, { key: 0 }, [d(f(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true)], 64)) : y("", true), z.value.iconType && z.value.iconValue ? (u(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : y("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (u(), a(g, { key: 2 }, [z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true), d(" " + f(p(m)(z.value.title)), 1)], 64)) : y("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (u(), c(n2, { key: 1, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain, loading: N(), onClick: l2[1] || (l2[1] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition ? (u(), a(g, { key: 0 }, [d(f(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true)], 64)) : y("", true), z.value.iconType && z.value.iconValue ? (u(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : y("", true), z.value.title && "right" != z.value.iconPosition ? (u(), a(g, { key: 2 }, [z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true), d(" " + f(p(m)(z.value.title)), 1)], 64)) : y("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
22
+ } }), (e3, t2) => {
23
+ const l2 = o("el-link"), i2 = o("el-button");
24
+ return u(), a("span", V, [z.value.text ? (u(), c(l2, { key: 0, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, loading: N(), onClick: t2[0] || (t2[0] = (t3) => p(C)(t3, e3.pageContext, e3.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (u(), a(g, { key: 0 }, [d(f(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true)], 64)) : y("", true), z.value.iconType && z.value.iconValue ? (u(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : y("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (u(), a(g, { key: 2 }, [z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true), d(" " + f(p(m)(z.value.title)), 1)], 64)) : y("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (u(), c(i2, { key: 1, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain, loading: N(), onClick: t2[1] || (t2[1] = (t3) => p(C)(t3, e3.pageContext, e3.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition ? (u(), a(g, { key: 0 }, [d(f(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true)], 64)) : y("", true), z.value.iconType && z.value.iconValue ? (u(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : y("", true), z.value.title && "right" != z.value.iconPosition ? (u(), a(g, { key: 2 }, [z.value.iconValue ? (u(), a(g, { key: 0 }, [d("   ")], 64)) : y("", true), d(" " + f(p(m)(z.value.title)), 1)], 64)) : y("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
25
25
  };
26
26
  } });
27
27
  export {
@@ -11,9 +11,9 @@ const C = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure
11
11
  u(() => {
12
12
  y(null, C2.pageContext, C2.configure, { componentRef: _.value, entity: C2.pageContext.entity.data, pageData: C2.pageContext.entity.page });
13
13
  });
14
- }), (t2, n2) => {
15
- const o2 = r("el-button-group");
16
- return p(), a(o2, { ref_key: "componentRef", ref: _, class: i(["amb-button-group-main", s(b)]), style: g(d.value) }, { default: l(() => [(p(true), c(f, null, m(e2.configure.items, (t3, n3) => (p(), a(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["class", "style"]);
14
+ }), (e3, t2) => {
15
+ const n2 = r("el-button-group");
16
+ return p(), a(n2, { ref_key: "componentRef", ref: _, class: i(["amb-button-group-main", s(b)]), style: g(d.value) }, { default: l(() => [(p(true), c(f, null, m(e3.configure.items, (t3, n3) => (p(), a(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["class", "style"]);
17
17
  };
18
18
  } });
19
19
  export {
@@ -31,9 +31,9 @@ const z = { key: 1 }, h = e({ __name: "dropdown-runtime", props: { pageContext:
31
31
  o(() => {
32
32
  k(null, h2.pageContext, h2.configure, { componentRef: V.value, entity: h2.pageContext.entity.data, pageData: h2.pageContext.entity.page });
33
33
  });
34
- }), (t2, l2) => {
35
- const n2 = u("el-button"), o2 = u("el-icon"), C2 = u("el-text"), k2 = u("el-dropdown-item"), _2 = u("el-dropdown-menu"), h3 = u("el-dropdown");
36
- return a(), i(h3, { ref_key: "componentRef", ref: V, class: p(s(A)), style: r(s(T)), placement: B.value.placement, "split-button": B.value.splitButton, disabled: "disabled" === B.value.state, type: B.value.buttonType, size: B.value.size, trigger: B.value.trigger, onVisibleChange: S }, { dropdown: c(() => [v(_2, null, { default: c(() => [(a(true), g(f, null, y(s(O), (t3, l3) => (a(), i(k2, { key: t3, onClick: (l4) => s(x)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: c(() => [d(m(s(w)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: c(() => ["button" === B.value.triggerElement ? (a(), g(f, { key: 0 }, [B.value.splitButton ? (a(), g("span", z, m(B.value.title), 1)) : (a(), i(n2, { key: 0, size: B.value.size, type: B.value.buttonType }, { default: c(() => [d(m(s(w)(B.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), i(C2, { key: 1 }, { default: c(() => [d(m(s(w)(B.value.title)) + " ", 1), v(o2, null, { default: c(() => [v(s(b))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
34
+ }), (e3, t2) => {
35
+ const l2 = u("el-button"), n2 = u("el-icon"), o2 = u("el-text"), C2 = u("el-dropdown-item"), k2 = u("el-dropdown-menu"), _2 = u("el-dropdown");
36
+ return a(), i(_2, { ref_key: "componentRef", ref: V, class: p(s(A)), style: r(s(T)), placement: B.value.placement, "split-button": B.value.splitButton, disabled: "disabled" === B.value.state, type: B.value.buttonType, size: B.value.size, trigger: B.value.trigger, onVisibleChange: S }, { dropdown: c(() => [v(k2, null, { default: c(() => [(a(true), g(f, null, y(s(O), (t3, l3) => (a(), i(C2, { key: t3, onClick: (l4) => s(x)(l4, e3.pageContext, e3.configure, "click", { menuItem: t3 }) }, { default: c(() => [d(m(s(w)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: c(() => ["button" === B.value.triggerElement ? (a(), g(f, { key: 0 }, [B.value.splitButton ? (a(), g("span", z, m(B.value.title), 1)) : (a(), i(l2, { key: 0, size: B.value.size, type: B.value.buttonType }, { default: c(() => [d(m(s(w)(B.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), i(o2, { key: 1 }, { default: c(() => [d(m(s(w)(B.value.title)) + " ", 1), v(n2, null, { default: c(() => [v(s(b))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
37
37
  };
38
38
  } });
39
39
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, createBlock as t, openBlock as o } from "vue";
2
2
  import n from "../button/button-runtime.vue2.js";
3
- const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (r2, u) => (o(), t(n, { configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])) });
3
+ const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (e3, r2) => (o(), t(n, { configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"])) });
4
4
  export {
5
5
  r as default
6
6
  };
@@ -11,9 +11,9 @@ const x = { key: 1 }, _ = e({ __name: "printlabel-runtime", props: { pageContext
11
11
  n(() => {
12
12
  j.value && y(null, _2.pageContext, _2.configure, { componentRef: R.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
13
13
  });
14
- }), (t2, l2) => {
15
- const n2 = u("el-button"), y2 = u("ArrowDown"), _3 = u("el-icon"), w2 = u("el-text"), T = u("el-dropdown-item"), h = u("el-dropdown-menu"), A = u("el-dropdown");
16
- return j.value ? (a(), o(A, { key: 1, ref_key: "componentRef", ref: R, class: p(r(D)), style: i(r(B)), placement: z.value.placement, "split-button": z.value.splitButton, disabled: "disabled" === z.value.state, type: z.value.buttonType, size: z.value.size, trigger: z.value.trigger }, { dropdown: s(() => [v(h, null, { default: s(() => [(a(true), g(c, null, d(z.value.template, (t3, l3) => (a(), o(T, { key: t3, onClick: (l4) => r(b)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: s(() => [m(f(r(C)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: s(() => ["button" === z.value.triggerElement ? (a(), g(c, { key: 0 }, [z.value.splitButton ? (a(), g("span", x, f(r(C)(z.value.title)), 1)) : (a(), o(n2, { key: 0, size: z.value.size, type: z.value.buttonType, onClick: l2[0] || (l2[0] = (t3) => r(b)(t3, e2.pageContext, e2.configure, "menuClick")) }, { default: s(() => [m(f(r(C)(z.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), o(w2, { key: 1 }, { default: s(() => [m(f(r(C)(z.value.title)) + " ", 1), v(_3, null, { default: s(() => [v(y2)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (a(), o(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]));
14
+ }), (e3, t2) => {
15
+ const l2 = u("el-button"), n2 = u("ArrowDown"), y2 = u("el-icon"), _3 = u("el-text"), w2 = u("el-dropdown-item"), T = u("el-dropdown-menu"), h = u("el-dropdown");
16
+ return j.value ? (a(), o(h, { key: 1, ref_key: "componentRef", ref: R, class: p(r(D)), style: i(r(B)), placement: z.value.placement, "split-button": z.value.splitButton, disabled: "disabled" === z.value.state, type: z.value.buttonType, size: z.value.size, trigger: z.value.trigger }, { dropdown: s(() => [v(T, null, { default: s(() => [(a(true), g(c, null, d(z.value.template, (t3, l3) => (a(), o(w2, { key: t3, onClick: (l4) => r(b)(l4, e3.pageContext, e3.configure, "click", { menuItem: t3 }) }, { default: s(() => [m(f(r(C)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: s(() => ["button" === z.value.triggerElement ? (a(), g(c, { key: 0 }, [z.value.splitButton ? (a(), g("span", x, f(r(C)(z.value.title)), 1)) : (a(), o(l2, { key: 0, size: z.value.size, type: z.value.buttonType, onClick: t2[0] || (t2[0] = (t3) => r(b)(t3, e3.pageContext, e3.configure, "menuClick")) }, { default: s(() => [m(f(r(C)(z.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), o(_3, { key: 1 }, { default: s(() => [m(f(r(C)(z.value.title)) + " ", 1), v(y2, null, { default: s(() => [v(n2)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (a(), o(k, { key: 0, configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"]));
17
17
  };
18
18
  } });
19
19
  export {
@@ -46,7 +46,7 @@ const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
46
46
  ee(true);
47
47
  }), A2({ updateChartDatas: oe, exportChart: function() {
48
48
  return d(S.value, M);
49
- }, chartOption: Q }), (r2, o2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: N }, [l(c(y, { ref_key: "headerRef", ref: U, headerInfo: s(M), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Y, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e2.pageContext.showHomepageSearch]]), c(s(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
49
+ }, chartOption: Q }), (e3, r2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: N }, [l(c(y, { ref_key: "headerRef", ref: U, headerInfo: s(M), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Y, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e3.pageContext.showHomepageSearch]]), c(s(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
50
50
  } });
51
51
  export {
52
52
  A as default
@@ -56,7 +56,7 @@ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "di
56
56
  _.value = true, k.value = N.configure.pushHomepage.searchConditions;
57
57
  } }), (t2, i2) => {
58
58
  const o2 = l("el-empty"), v2 = l("el-form"), h2 = l("el-button"), y2 = l("el-dialog");
59
- return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => [...i2[1] || (i2[1] = [p(" 确定 ", -1)])]), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => [...i2[2] || (i2[2] = [p("重置", -1)])]), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => [...i2[3] || (i2[3] = [p(" 保存为默认条件 ", -1)])]), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
59
+ return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => i2[1] || (i2[1] = [p(" 确定 ")])), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => i2[2] || (i2[2] = [p("重置")])), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => i2[3] || (i2[3] = [p(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
60
60
  };
61
61
  } });
62
62
  export {
@@ -28,7 +28,7 @@ const k = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }
28
28
  }
29
29
  return x(A.pageContext, K, J), k2({ updateChartDatas: L, exportChart: function() {
30
30
  return l(O.value, T);
31
- } }), (r2, t2) => (n(), a("div", { style: u(i(F)), class: s([i(P), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(p(v, { ref_key: "headerRef", ref: z, headerInfo: i(T), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(T).showHeader || e2.pageContext.showHomepageSearch]]), p(i(I), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: i(E), option: i(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: u(i(F)), class: s([i(P), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(p(v, { ref_key: "headerRef", ref: z, headerInfo: i(T), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(T).showHeader || e3.pageContext.showHomepageSearch]]), p(i(I), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: i(E), option: i(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  k as default
@@ -39,7 +39,7 @@ const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
39
39
  Y(true);
40
40
  }), A2({ updateChartDatas: $, exportChart: function() {
41
41
  return d(S.value, K);
42
- } }), (r2, o2) => (n(), a("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(s(k, { ref_key: "headerRef", ref: T, headerInfo: l(K), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(K).showHeader || e2.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
42
+ } }), (e3, r2) => (n(), a("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(s(k, { ref_key: "headerRef", ref: T, headerInfo: l(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(K).showHeader || e3.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
45
45
  A as default
@@ -28,7 +28,7 @@ const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
28
28
  }
29
29
  return x(H.pageContext, L, K), A2({ updateChartDatas: M, exportChart: function() {
30
30
  return l(z.value, q);
31
- } }), (r2, t2) => (n(), a("div", { style: u(i(P)), class: s([i(S), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(p(v, { ref_key: "headerRef", ref: D, headerInfo: i(q), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(q).showHeader || e2.pageContext.showHomepageSearch]]), p(i(k), { ref_key: "chartRef", ref: z, class: "amb-chart-content", theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: u(i(P)), class: s([i(S), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(p(v, { ref_key: "headerRef", ref: D, headerInfo: i(q), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(q).showHeader || e3.pageContext.showHomepageSearch]]), p(i(k), { ref_key: "chartRef", ref: z, class: "amb-chart-content", theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  A as default
@@ -28,7 +28,7 @@ const H = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {}
28
28
  }
29
29
  return x(O.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
30
30
  return l(D.value, B);
31
- } }), (r2, t2) => (n(), a("div", { style: c(u(S)), class: s([u(T), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: z }, [i(p(v, { ref_key: "headerRef", ref: F, headerInfo: u(B), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, u(B).showHeader || e2.pageContext.showHomepageSearch]]), p(u(A), { ref_key: "chartRef", ref: D, class: "amb-chart-content", theme: u(J), option: u(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: c(u(S)), class: s([u(T), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: z }, [i(p(v, { ref_key: "headerRef", ref: F, headerInfo: u(B), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, u(B).showHeader || e3.pageContext.showHomepageSearch]]), p(u(A), { ref_key: "chartRef", ref: D, class: "amb-chart-content", theme: u(J), option: u(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  H as default
@@ -28,7 +28,7 @@ const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { c
28
28
  }), b.value && 0 !== b.value.length || (m({ message: "无符合条件可导出的模板!", type: "warning" }), x("close")), 1 === (b == null ? void 0 : b.value.length) ? (N(b.value[0]), x("close")) : v.value = true;
29
29
  }), (e3, t2) => {
30
30
  const a2 = l("el-table-column"), s2 = l("el-button"), m2 = l("el-table"), c2 = l("el-dialog");
31
- return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: n(() => [i(m2, { data: b.value, style: { width: "100%" } }, { default: n(() => [i(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: n((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), i(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: n((t3) => [i(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: n(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 1 }, 8, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
31
+ return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: n(() => [i(m2, { data: b.value, style: { width: "100%" } }, { default: n(() => [i(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: n((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), i(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: n((t3) => [i(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: n(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
32
32
  };
33
33
  } });
34
34
  export {
@@ -27,7 +27,7 @@ const f = { class: "dialog-footer" }, v = e({ __name: "save-chart-condition-dial
27
27
  p({ showClose: true, type: "success", message: C("superPageRuntimeMessage.successfulDelete") }), $();
28
28
  });
29
29
  var l3;
30
- } }, { default: u(() => [s(y2)]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
30
+ } }, { default: u(() => [s(y2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
31
31
  };
32
32
  } });
33
33
  export {
@@ -19,9 +19,9 @@ const V = e({ __name: "card-runtime", props: { pageContext: {}, configure: {} },
19
19
  });
20
20
  }), V2({ test: function() {
21
21
  _.configure.props.title = "teee";
22
- } }), (o2, t2) => {
23
- const i2 = r("el-link");
24
- return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e2.configure.items, (o3, t3) => (s(), l(S, { key: o3.uuid, pageContext: e2.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e2.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : v("", true), x(" " + C(u(j)(e2.configure.props.base.title)), 1)], 4), R.value ? (s(), l(i2, { key: 0, underline: false, icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : v("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
22
+ } }), (e3, o2) => {
23
+ const t2 = r("el-link");
24
+ return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e3.configure.items, (o3, t3) => (s(), l(S, { key: o3.uuid, pageContext: e3.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : v("", true), x(" " + C(u(j)(e3.configure.props.base.title)), 1)], 4), R.value ? (s(), l(t2, { key: 0, underline: false, icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : v("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
25
25
  };
26
26
  } });
27
27
  export {
@@ -11,9 +11,9 @@ const _ = e({ __name: "collapse-runtime", props: { pageContext: {}, configure: {
11
11
  o(() => {
12
12
  j(null, _2.pageContext, _2.configure, { componentRef: b.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
13
13
  });
14
- }), (t2, n2) => {
15
- const o2 = l("SuperIcon"), j2 = l("el-collapse-item"), _3 = l("el-collapse");
16
- return u(), i(_3, { ref_key: "thisRef", ref: b, modelValue: a(h), "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => s(h) ? h.value = e3 : null), style: p(a(O)), accordion: a(T), class: r(a(R)) }, { default: c(() => [(u(true), f(g, null, m(e2.configure.items, (t3, n3) => (u(), i(j2, { name: t3.index }, { title: c(() => [d("div", { style: p([a(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (u(), i(o2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(a(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(u(true), f(g, null, m(t3.items, (t4, n4) => (u(), i(C, { key: t4.uuid, configure: t4, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
14
+ }), (e3, t2) => {
15
+ const n2 = l("SuperIcon"), o2 = l("el-collapse-item"), j2 = l("el-collapse");
16
+ return u(), i(j2, { ref_key: "thisRef", ref: b, modelValue: a(h), "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => s(h) ? h.value = e4 : null), style: p(a(O)), accordion: a(T), class: r(a(R)) }, { default: c(() => [(u(true), f(g, null, m(e3.configure.items, (t3, l2) => (u(), i(o2, { name: t3.index }, { title: c(() => [d("div", { style: p([a(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (u(), i(n2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(a(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(u(true), f(g, null, m(t3.items, (t4, n3) => (u(), i(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
17
  };
18
18
  } });
19
19
  export {
@@ -8,9 +8,9 @@ const C = e({ __name: "container-runtime", props: { pageContext: {}, configure:
8
8
  o(() => {
9
9
  d(null, C2.pageContext, C2.configure, { componentRef: _.value, entity: C2.pageContext.entity.data, pageData: C2.pageContext.entity.page });
10
10
  });
11
- }), (t2, n2) => {
12
- const o2 = u("el-aside"), d2 = u("el-main"), C3 = u("el-container");
13
- return i(), l(C3, { ref_key: "thisRef", ref: _ }, { default: r(() => [e2.configure.props.useLeft ? (i(), l(o2, { key: 0, style: g(f(v)) }, { default: r(() => [(i(true), p(c, null, y(e2.configure.leftAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true), a(d2, { style: g(f(j)), class: m(f(R)) }, { default: r(() => [(i(true), p(c, null, y(e2.configure.items, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e2.configure.props.useRight ? (i(), l(o2, { key: 1, style: g(f(h)) }, { default: r(() => [(i(true), p(c, null, y(e2.configure.rightAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true)]), _: 1 }, 512);
11
+ }), (e3, t2) => {
12
+ const n2 = u("el-aside"), o2 = u("el-main"), d2 = u("el-container");
13
+ return i(), l(d2, { ref_key: "thisRef", ref: _ }, { default: r(() => [e3.configure.props.useLeft ? (i(), l(n2, { key: 0, style: g(f(v)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.leftAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true), a(o2, { style: g(f(j)), class: m(f(R)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.items, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? (i(), l(n2, { key: 1, style: g(f(h)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.rightAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true)]), _: 1 }, 512);
14
14
  };
15
15
  } });
16
16
  export {
@@ -15,9 +15,9 @@ const _ = e({ __name: "flex-runtime", props: { pageContext: {}, configure: {} },
15
15
  s(() => {
16
16
  v(null, _2.pageContext, _2.configure, { componentRef: j.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
17
17
  });
18
- }), (t2, n2) => {
19
- const s2 = l("el-col"), C2 = l("el-row");
20
- return o(), i(C2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: u([{ display: "flex" }, r(h)]), class: a(r(w)) }, { default: f(() => [(o(true), p(g, null, m(e2.configure.items, (t3, n3) => c((o(), i(s2, { key: t3.uuid, style: u(t3.itemStyle), span: t3.flexSpan }, { default: f(() => [y(d, { pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[x, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
18
+ }), (e3, t2) => {
19
+ const n2 = l("el-col"), s2 = l("el-row");
20
+ return o(), i(s2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: u([{ display: "flex" }, r(h)]), class: a(r(w)) }, { default: f(() => [(o(true), p(g, null, m(e3.configure.items, (t3, s3) => c((o(), i(n2, { key: t3.uuid, style: u(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
21
  };
22
22
  } });
23
23
  export {
@@ -10,9 +10,9 @@ const b = e({ __name: "form-runtime", props: { pageContext: {}, configure: {} },
10
10
  i(() => {
11
11
  C(null, b2.pageContext, b2.configure, "afterFormLoad", { componentRef: P.value, entity: b2.pageContext.entity.data, pageData: b2.pageContext.entity.page });
12
12
  });
13
- }), (t2, o2) => {
14
- const i2 = n("el-form");
15
- return s(), l("div", null, [a(i2, { ref_key: "thisRef", ref: P, "label-width": p(j).labelWidth, "label-position": z.value, size: p(j).componentSize, style: u(_.value), class: r(p(k)) }, { default: f(() => [p(j).formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: u(w.value) }, g(p(j).formTitle), 5)) : m("", true), (s(true), l(c, null, d(e2.configure.items, (t3, o3) => (s(), y(v, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
13
+ }), (e3, t2) => {
14
+ const o2 = n("el-form");
15
+ return s(), l("div", null, [a(o2, { ref_key: "thisRef", ref: P, "label-width": p(j).labelWidth, "label-position": z.value, size: p(j).componentSize, style: u(_.value), class: r(p(k)) }, { default: f(() => [p(j).formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: u(w.value) }, g(p(j).formTitle), 5)) : m("", true), (s(true), l(c, null, d(e3.configure.items, (t3, o3) => (s(), y(v, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
16
16
  };
17
17
  } });
18
18
  export {
@@ -1,14 +1,46 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as r, createElementBlock as i, openBlock as o, normalizeStyle as s, normalizeClass as a, unref as u } from "vue";
2
- import "../../../../utils/global-refs.js";
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;
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, createElementBlock as r, openBlock as i, normalizeStyle as a, normalizeClass as s, unref as l } from "vue";
2
+ import { handleAfterInitEvent as c } from "../../../../utils/events/event-util.js";
3
+ import { getSystemFrontendUrl as u } from "agilebuilder-ui/src/utils/common-util.js";
4
+ const f = ["src"], g = e({ __name: "iframe-runtime", props: { pageContext: {}, configure: {}, indexObj: {}, selectWidget: {} }, setup(e2, { expose: g2 }) {
5
+ const p = e2, m = t(null), d = p.configure.runtime ? p.configure.runtime : {}, y = d.style, w = d.class, h = t();
6
+ if ("address" === d.linkType) h.value = d.src;
7
+ else if ("page" === d.linkType) {
8
+ v(d.linkPage.code, d.linkPage.systemCode);
9
+ }
10
+ function v(e3, t2) {
11
+ P(e3).then((n2) => {
12
+ if (t2 && "object" == typeof t2 && Object.keys(t2).length > 0) {
13
+ -1 === n2.indexOf("?") && (n2 += "?");
14
+ const o2 = e3 + "_" + Date.now();
15
+ window.sessionStorage.setItem(o2, JSON.stringify(t2)), n2 += "&paramStoreId=" + o2;
16
+ }
17
+ b(n2);
18
+ });
19
+ }
20
+ function P(e3) {
21
+ return new Promise((t2, n2) => {
22
+ const o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/with-page-codes/" + e3 + "?isNewPage=true";
23
+ window.$vueApp.config.globalProperties.$http.get(o2).then((o3) => {
24
+ if (o3) {
25
+ let n3 = u(o3.frontendUrl) + "/#/dsc-full-screen/page?isNewPage=true&customSystem=" + o3.code + "&pageCode=" + e3;
26
+ t2(n3);
27
+ } else n2(new Error("System not found"));
28
+ }).catch((e4) => {
29
+ console.error("Failed to load page for iframe:", e4), n2(e4);
30
+ });
31
+ });
32
+ }
33
+ function b(e3) {
34
+ h.value = e3;
35
+ }
6
36
  return n(() => {
7
- r(() => {
8
- l(null, p2.pageContext, p2.configure, { componentRef: c.value, entity: p2.pageContext.entity.data, pageData: p2.pageContext.entity.page });
37
+ o(() => {
38
+ c(null, p.pageContext, p.configure, { componentRef: m.value, entity: p.pageContext.entity.data, pageData: p.pageContext.entity.page });
9
39
  });
10
- }), (t2, n2) => (o(), i("iframe", { ref_key: "thisRef", ref: c, src: e2.configure.props.src, class: a(["amb-widget-container-iframe", u(x)]), style: s(u(m)) }, null, 14, f));
40
+ }), g2({ changeIframeSrc: b, changeIframeSrcByPage: v, getPagePathByCode: P, refreshIframe: function() {
41
+ m.value && m.value.contentWindow.location.reload();
42
+ } }), (e3, t2) => (i(), r("iframe", { ref_key: "thisRef", ref: m, src: h.value, class: s(["amb-widget-container-iframe", l(w)]), style: a(l(y)) }, null, 14, f));
11
43
  } });
12
44
  export {
13
- p as default
45
+ g as default
14
46
  };
@@ -86,9 +86,9 @@ const A = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} },
86
86
  P.configure.items.forEach((n2) => {
87
87
  e3.includes(n2.code) && t2.push(n2.code);
88
88
  }), w.value = [...new Set(t2)];
89
- } }), (t2, n2) => {
90
- const o2 = i("el-button");
91
- return u(), c(l(x), { ref_key: "thisRef", ref: O, modelValue: j.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => j.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: s(l(B)), class: r([l(z), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(u(true), f(d, null, m(P.configure.items, (t3, n3) => (u(), c(l(C), { key: n3, label: t3.label, name: t3.code, lazy: !!e2.configure.props.lazy }, { label: p(() => [t3.iconType && t3.iconValue ? (u(), c(l(E), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(I)) }, y(l(V)(t3.label)), 5)]), default: p(() => [(e2.configure.props.isFullyRendered ?? 1) || t3.code === j.value ? (u(true), f(d, { key: 0 }, m(t3.items, (t4) => (u(), c(T, { key: t4.uuid, pageContext: e2.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e2.configure.props.resetable ? (u(), c(o2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
89
+ } }), (e3, t2) => {
90
+ const n2 = i("el-button");
91
+ return u(), c(l(x), { ref_key: "thisRef", ref: O, modelValue: j.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => j.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, style: s(l(B)), class: r([l(z), "runtime-page-container-tabs-view"]), closable: e3.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(u(true), f(d, null, m(P.configure.items, (t3, n3) => (u(), c(l(C), { key: n3, label: t3.label, name: t3.code, lazy: !!e3.configure.props.lazy }, { label: p(() => [t3.iconType && t3.iconValue ? (u(), c(l(E), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(I)) }, y(l(V)(t3.label)), 5)]), default: p(() => [(e3.configure.props.isFullyRendered ?? 1) || t3.code === j.value ? (u(true), f(d, { key: 0 }, m(t3.items, (t4) => (u(), c(T, { key: t4.uuid, pageContext: e3.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e3.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e3.configure.props.resetable ? (u(), c(n2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e3.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
92
92
  };
93
93
  } });
94
94
  export {
@@ -78,7 +78,7 @@ const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }
78
78
  }, getColumns: function() {
79
79
  var _a;
80
80
  return (_a = b.value) == null ? void 0 : _a.getColumns();
81
- } }), (t2, n2) => (o(), u("div", null, [r(g) && "form" === r(g) && C.value ? (o(), a(i, { key: 0, ref_key: "gridRef", ref: b, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? l("", true) : (o(), a(c, { key: 1, ref_key: "gridRef", ref: b, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
81
+ } }), (e3, t2) => (o(), u("div", null, [r(g) && "form" === r(g) && C.value ? (o(), a(i, { key: 0, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? l("", true) : (o(), a(c, { key: 1, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
82
82
  } });
83
83
  export {
84
84
  f as default