super-page-runtime 2.3.19-sit3 → 2.3.20-sit1

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 (28) hide show
  1. package/dist/es/components/runtime/utils/anchor-util.d.ts +13 -0
  2. package/dist/es/components/runtime/utils/anchor-util.js +69 -0
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +64 -60
  4. package/dist/es/components/runtime/utils/events/data-backfill-util.js +23 -23
  5. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
  6. package/dist/es/components/runtime/utils/events/standard-event.js +643 -615
  7. package/dist/es/components/runtime/utils/page-store.d.ts +13 -1
  8. package/dist/es/components/runtime/utils/page-store.js +46 -19
  9. package/dist/es/components/runtime/utils/table-utils.d.ts +2 -0
  10. package/dist/es/components/runtime/utils/table-utils.js +63 -54
  11. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +20 -18
  12. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +10 -11
  13. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +3 -2
  14. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  15. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  16. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +4 -0
  17. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  18. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  19. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +4 -0
  20. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +176 -156
  21. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +15 -15
  22. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +32 -34
  23. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  24. package/dist/es/components/runtime/views/super-page.vue2.js +193 -192
  25. package/dist/es/i18n/langs/cn.js +1 -1
  26. package/dist/es/i18n/langs/en.js +1 -1
  27. package/dist/es/style.css +76 -76
  28. package/package.json +2 -2
@@ -0,0 +1,13 @@
1
+ /**
2
+ * 滚动到指定 UUID 的组件
3
+ * @param uuid 组件 UUID
4
+ * @param pageContext 页面上下文
5
+ */
6
+ export declare function scrollIntoComponentWithUuid(pageContext: any, uuid: string): void;
7
+ /**
8
+ * 滚动到指定 code 的组件
9
+ * @param pageContext 页面上下文
10
+ * @param code 组件 code
11
+ */
12
+ export declare function scrollIntoComponentWithCode(pageContext: any, code: string): void;
13
+ export declare function scrollIntoViewWithContainer(anchorConditions: any[], pageContext: any): void;
@@ -0,0 +1,69 @@
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);
8
+ });
9
+ }
10
+ function i(t2, e2) {
11
+ const l2 = o(t2, e2);
12
+ l2 && n(() => {
13
+ s(l2);
14
+ });
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);
23
+ });
24
+ break;
25
+ }
26
+ }
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();
36
+ });
37
+ } else c2 = o3, r2 = 0;
38
+ s2 += e2, s2 >= i2 ? n(() => {
39
+ t2();
40
+ }) : setTimeout(u, e2);
41
+ };
42
+ n(() => {
43
+ u();
44
+ });
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" });
62
+ }
63
+ }
64
+ }
65
+ export {
66
+ i as scrollIntoComponentWithCode,
67
+ l as scrollIntoComponentWithUuid,
68
+ c as scrollIntoViewWithContainer
69
+ };
@@ -1,4 +1,4 @@
1
- import { getOptionDatasSourceMap as e, getComponentOptionDatasFromPage as t, getVariableValue as n, setVariableValue as i, setValueForVariableName as o } from "../page-helper-util.js";
1
+ import { getOptionDatasSourceMap as e, getComponentOptionDatasFromPage as t, getVariableValue as n, setVariableValue as o, setValueForVariableName as i } from "../page-helper-util.js";
2
2
  import { getComponentRef as a, getComponentRefByCode as s } from "../global-refs.js";
3
3
  import r from "../eventBus.js";
4
4
  import l from "agilebuilder-ui/src/utils/request";
@@ -6,22 +6,22 @@ import { getFormData as c, getAdditionalParamMap as u, refreshPage as m } from "
6
6
  import { dynamicControlTableEdit as f, disabledAllFields as p, updateFormItemEditState as d } from "../events/validator-util.js";
7
7
  import { deepCopy as g, getBaseUrl as y } from "../common-util.js";
8
8
  import { replacePrefix as b, isMobileBrowser as h } from "agilebuilder-ui/src/utils/common-util";
9
- import { getFormModelFields as E, getModelFields as P } from "../page-init-util.js";
10
- import { getCustomFunc as C } from "../events/event-util.js";
9
+ import { getFormModelFields as E, getModelFields as C } from "../page-init-util.js";
10
+ import { getCustomFunc as P } from "../events/event-util.js";
11
11
  import { isHasFieldPermissionAuth as k } from "../table-utils.js";
12
- import "dayjs";
13
- const T = { showElement: function(e2, t2, n2) {
14
- n2 ? V(e2, "showElement", t2) : t2.forEach((t3) => {
12
+ import { scrollIntoComponentWithCode as T, scrollIntoComponentWithUuid as v } from "../anchor-util.js";
13
+ const j = { showElement: function(e2, t2, n2) {
14
+ n2 ? D(e2, "showElement", t2) : t2.forEach((t3) => {
15
15
  const n3 = s(e2, t3);
16
16
  n3 && n3.show();
17
17
  });
18
18
  }, hideElement: function(e2, t2, n2) {
19
- n2 ? V(e2, "hideElement", t2) : t2.forEach((t3) => {
19
+ n2 ? D(e2, "hideElement", t2) : t2.forEach((t3) => {
20
20
  const n3 = s(e2, t3);
21
21
  n3 && n3.hide();
22
22
  });
23
23
  }, enableElement: function(e2, t2, n2) {
24
- n2 ? V(e2, "enableElement", t2) : t2.forEach((t3) => {
24
+ n2 ? D(e2, "enableElement", t2) : t2.forEach((t3) => {
25
25
  const n3 = s(e2, t3);
26
26
  if (n3) {
27
27
  const e3 = n3.getConfigure();
@@ -29,7 +29,7 @@ const T = { showElement: function(e2, t2, n2) {
29
29
  }
30
30
  });
31
31
  }, disableElement: function(e2, t2, n2) {
32
- n2 ? V(e2, "disableElement", t2) : t2.forEach((t3) => {
32
+ n2 ? D(e2, "disableElement", t2) : t2.forEach((t3) => {
33
33
  const n3 = s(e2, t3);
34
34
  if (n3) {
35
35
  const e3 = n3.getConfigure();
@@ -38,140 +38,144 @@ const T = { showElement: function(e2, t2, n2) {
38
38
  });
39
39
  }, setEntityDataValue: function(e2, t2) {
40
40
  Object.keys(t2).forEach((n2) => {
41
- o(e2.entity, n2.startsWith("${") ? n2 : "${data." + n2 + "}", t2[n2]);
41
+ i(e2.entity, n2.startsWith("${") ? n2 : "${data." + n2 + "}", t2[n2]);
42
42
  });
43
43
  }, setEntityPageValue: function(e2, t2) {
44
44
  Object.keys(t2).forEach((n2) => {
45
- o(e2.entity, n2.startsWith("${") ? n2 : "${page." + n2 + "}", t2[n2]);
45
+ i(e2.entity, n2.startsWith("${") ? n2 : "${page." + n2 + "}", t2[n2]);
46
46
  });
47
47
  }, setEntityValueByType: function(e2, t2, n2) {
48
- Object.keys(n2).forEach((i2) => {
49
- o(e2.entity, i2.startsWith("${") ? i2 : "${" + t2 + "." + i2 + "}", n2[i2]);
48
+ Object.keys(n2).forEach((o2) => {
49
+ i(e2.entity, o2.startsWith("${") ? o2 : "${" + t2 + "." + o2 + "}", n2[o2]);
50
50
  });
51
51
  }, dynamicControlFormEdit: function(e2, t2, n2) {
52
- n2 ? V(e2, "dynamicControlFormEdit", t2) : d(e2, t2);
52
+ n2 ? D(e2, "dynamicControlFormEdit", t2) : d(e2, t2);
53
53
  }, disabledAllFields(e2) {
54
54
  p(e2);
55
55
  }, dynamicControlTableEdit(e2, t2, n2) {
56
56
  f(e2, t2, n2);
57
57
  }, executeServiceFlow: function(e2, t2, n2) {
58
- const i2 = e2.code;
58
+ const o2 = e2.code;
59
59
  n2 || (n2 = { entity: e2.entity.data, serviceVariables: {}, requestParams: u(e2), taskParamMap: e2.entity.task, dynamicDimensionValue: [], dynamicSortValue: "" }), n2.entity || (n2.entity = e2.entity.data), n2.requestParams || (n2.requestParams = u(e2)), n2.taskParamMap || (n2.taskParamMap = e2.entity.task);
60
- const o2 = e2.backendUrl, a2 = y(o2, e2.isTest);
61
- return l.post(`${a2}/dsc/service-flow/execute/${i2}/${t2}`, n2);
60
+ const i2 = e2.backendUrl, a2 = y(i2, e2.isTest);
61
+ return l.post(`${a2}/dsc/service-flow/execute/${o2}/${t2}`, n2);
62
62
  }, openPage: function(e2, t2) {
63
63
  r.$emit(e2.code + "_open-dialog", { pageContext: e2, eventParams: t2.eventParams, configureObj: { props: { linkPage: t2 } } });
64
64
  }, refreshPage: function(e2, t2) {
65
65
  m(e2, t2);
66
66
  }, refreshSubTableHandle: function(e2, t2) {
67
67
  let n2;
68
- const i2 = s(e2, t2);
69
- if (i2) {
70
- const e3 = i2.getConfigure();
68
+ const o2 = s(e2, t2);
69
+ if (o2) {
70
+ const e3 = o2.getConfigure();
71
71
  e3 && e3.uuid && e3.name && "table" === e3.name && (n2 = e3.uuid);
72
72
  }
73
73
  n2 && r.$emit("_refreshSubTableHandle_" + n2);
74
74
  }, refreshChildData(e2, t2, n2) {
75
- let i2;
76
- const o2 = s(e2, t2);
77
- if (o2) {
78
- const e3 = o2.getConfigure();
79
- e3 && e3.uuid && e3.name && "table" === e3.name && (i2 = e3.uuid);
75
+ let o2;
76
+ const i2 = s(e2, t2);
77
+ if (i2) {
78
+ const e3 = i2.getConfigure();
79
+ e3 && e3.uuid && e3.name && "table" === e3.name && (o2 = e3.uuid);
80
80
  }
81
- i2 && r.$emit("_refreshChildData_" + i2, n2);
81
+ o2 && r.$emit("_refreshChildData_" + o2, n2);
82
82
  }, getServerConfigValue: (e2) => window.$vueApp.config.globalProperties[e2], getBackendUrl: (e2) => y(e2.backendUrl, false), getPlateBackendUrl: () => window.$vueApp.config.globalProperties.baseAPI, getEntity: (e2) => e2.entity.data, getEntityValue: (e2, t2) => e2.entity.data ? e2.entity.data[t2] : null, getPageData: (e2) => e2.entity.page, getPageDataValue: (e2, t2) => e2.entity.page ? e2.entity.page[t2] : null, getAdditionalParams: (e2) => u(e2), getAdditionalParamValue(e2, t2) {
83
83
  const n2 = u(e2);
84
84
  return n2 ? n2[t2] : null;
85
- }, isMobile: () => h(), getComponentRefByProp: (e2, t2) => s(e2, t2), getComponentRefByCode: (e2, t2) => a(e2, t2), getFormViewData(o2) {
85
+ }, isMobile: () => h(), getComponentRefByProp: (e2, t2) => s(e2, t2), getComponentRefByCode: (e2, t2) => a(e2, t2), getFormViewData(i2) {
86
86
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
87
- const s2 = o2.entity ? o2.entity : {}, r2 = g(s2), l2 = e(o2);
87
+ const s2 = i2.entity ? i2.entity : {}, r2 = g(s2), l2 = e(i2);
88
88
  for (const e2 in l2) {
89
- const s3 = t(o2, e2), l3 = a(o2, e2);
89
+ const s3 = t(i2, e2), l3 = a(i2, e2);
90
90
  if (l3) {
91
91
  const e3 = l3.getConfigure();
92
92
  if (e3) if (!((_b = (_a = e3.props) == null ? void 0 : _a.dataOrigin) == null ? void 0 : _b.optionValueSetType) || "static" !== ((_d = (_c = e3.props) == null ? void 0 : _c.dataOrigin) == null ? void 0 : _d.optionValueSetType) && "optionGroup" !== ((_f = (_e = e3.props) == null ? void 0 : _e.dataOrigin) == null ? void 0 : _f.optionValueSetType)) {
93
93
  if ("dynamicData" === ((_h = (_g = e3 == null ? void 0 : e3.props) == null ? void 0 : _g.dataOrigin) == null ? void 0 : _h.optionValueSetType) && ("select" === (e3 == null ? void 0 : e3.name) || "checkbox" === (e3 == null ? void 0 : e3.name) || "radio" === (e3 == null ? void 0 : e3.name))) {
94
- const t2 = E(o2, e3), a2 = l3.getSelectItemsTitle(), s4 = a2 && a2.length > 0 ? a2 : n(r2, t2);
95
- i(r2, t2, s4);
94
+ const t2 = E(i2, e3), a2 = l3.getSelectItemsTitle(), s4 = a2 && a2.length > 0 ? a2 : n(r2, t2);
95
+ o(r2, t2, s4);
96
96
  }
97
97
  } else if (e3.name && ("select" === e3.name && ((_j = (_i = e3.props) == null ? void 0 : _i.base) == null ? void 0 : _j.multiple) || "checkbox" === e3.name)) {
98
- const t2 = E(o2, e3), a2 = n(r2, t2);
98
+ const t2 = E(i2, e3), a2 = n(r2, t2);
99
99
  if (a2) {
100
- const e4 = j(a2.split(","), s3);
101
- i(r2, t2, e4);
100
+ const e4 = V(a2.split(","), s3);
101
+ o(r2, t2, e4);
102
102
  }
103
103
  } else {
104
- const t2 = E(o2, e3), a2 = j(n(r2, t2), s3);
105
- i(r2, t2, a2);
104
+ const t2 = E(i2, e3), a2 = V(n(r2, t2), s3);
105
+ o(r2, t2, a2);
106
106
  }
107
107
  }
108
108
  }
109
- const c2 = o2.listCodesMap;
109
+ const c2 = i2.listCodesMap;
110
110
  for (const e2 in c2) {
111
111
  let t2;
112
112
  if (e2.indexOf("__") > 0 && (t2 = e2.substring(e2.lastIndexOf("__") + 2)), t2) {
113
- const i2 = a(o2, t2);
114
- if (i2) {
115
- const t3 = i2.getConfigure(), o3 = t3.code ? t3.code : e2, a2 = P(t3, o3), s3 = n(r2, a2), l3 = i2.getTableSelectOptions(e2), c3 = i2.getColumns(), u2 = {}, m2 = {};
113
+ const o2 = a(i2, t2);
114
+ if (o2) {
115
+ const t3 = o2.getConfigure(), i3 = t3.code ? t3.code : e2, a2 = C(t3, i3), s3 = n(r2, a2), l3 = o2.getTableSelectOptions(e2), c3 = o2.getColumns(), u2 = {}, m2 = {};
116
116
  c3 && c3.length > 0 && c3.forEach((e3) => {
117
117
  "DATE" !== e3.dataType && "TIME" !== e3.dataType || (m2[e3.prop] = e3);
118
- }), u2.formatDateColumns = m2, v(l3, s3, u2, i2);
118
+ }), u2.formatDateColumns = m2, O(l3, s3, u2, o2);
119
119
  }
120
120
  }
121
121
  }
122
122
  return r2.data;
123
- }, getFormData: (e2, t2) => c(e2, t2), getCustomFunc: (e2, t2) => C(e2, t2), replaceUrlPrefix: (e2) => b(e2), isHasFieldAuthPermission: (e2) => {
123
+ }, getFormData: (e2, t2) => c(e2, t2), getCustomFunc: (e2, t2) => P(e2, t2), replaceUrlPrefix: (e2) => b(e2), isHasFieldAuthPermission: (e2) => {
124
124
  var _a, _b, _c, _d;
125
125
  return !(void 0 !== ((_b = (_a = e2 == null ? void 0 : e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isHasFieldAuthPermission) && !((_d = (_c = e2 == null ? void 0 : e2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.isHasFieldAuthPermission));
126
126
  }, isHasFieldAuth(e2, t2) {
127
127
  k(e2, null, t2);
128
128
  }, isHasFieldAuthWithTable(e2, t2, n2) {
129
129
  k(e2, t2, n2);
130
+ }, scrollIntoComponentWithUuid(e2, t2) {
131
+ v(e2, t2);
132
+ }, scrollIntoComponentWithCode(e2, t2) {
133
+ T(e2, t2);
130
134
  } };
131
- function v(e2, t2, n2, i2) {
135
+ function O(e2, t2, n2, o2) {
132
136
  if (e2 && t2) {
133
- const o2 = i2.getSuperGridRef();
137
+ const i2 = o2.getSuperGridRef();
134
138
  t2.forEach((t3) => {
135
139
  if (n2 == null ? void 0 : n2.formatDateColumns) {
136
140
  const e3 = n2.formatDateColumns;
137
141
  Object.keys(e3).forEach((n3) => {
138
- const i3 = e3[n3];
139
- t3[n3] && (t3[n3] = o2.rowDoFormat(i3, t3[n3]));
142
+ const o3 = e3[n3];
143
+ t3[n3] && (t3[n3] = i2.rowDoFormat(o3, t3[n3]));
140
144
  });
141
145
  }
142
146
  Object.keys(e2).forEach((n3) => {
143
- const i3 = t3[n3], o3 = e2[n3], a2 = o3.options, s2 = o3.column;
147
+ const o3 = t3[n3], i3 = e2[n3], a2 = i3.options, s2 = i3.column;
144
148
  let r2;
145
149
  if (s2 && s2.componentType && ("multiselect" === s2.componentType || "checkbox" === s2.componentType)) {
146
- if (i3) {
147
- r2 = j(i3.split(","), a2);
150
+ if (o3) {
151
+ r2 = V(o3.split(","), a2);
148
152
  }
149
- } else r2 = j(i3, a2);
153
+ } else r2 = V(o3, a2);
150
154
  t3[n3] = r2;
151
155
  });
152
156
  });
153
157
  }
154
158
  }
155
- function j(e2, t2) {
159
+ function V(e2, t2) {
156
160
  let n2;
157
- return null != e2 && t2 && (Array.isArray(e2) ? (n2 = "", e2.forEach((i2) => {
158
- n2 = n2 + O(e2, t2) + ",";
159
- }), n2.indexOf(",") > 0 && (n2 = n2.substring(0, n2.lastIndexOf(",")))) : (n2 = e2, n2 = O(e2, t2))), n2;
161
+ return null != e2 && t2 && (Array.isArray(e2) ? (n2 = "", e2.forEach((o2) => {
162
+ n2 = n2 + A(e2, t2) + ",";
163
+ }), n2.indexOf(",") > 0 && (n2 = n2.substring(0, n2.lastIndexOf(",")))) : (n2 = e2, n2 = A(e2, t2))), n2;
160
164
  }
161
- function O(e2, t2) {
165
+ function A(e2, t2) {
162
166
  let n2 = e2;
163
- if (null != e2 && t2) for (let i2 = 0; i2 < t2.length; i2++) {
164
- const o2 = t2[i2].value, a2 = t2[i2].label ? t2[i2].label : t2[i2].name;
165
- if (e2 + "" == o2 + "" && null != a2) {
167
+ if (null != e2 && t2) for (let o2 = 0; o2 < t2.length; o2++) {
168
+ const i2 = t2[o2].value, a2 = t2[o2].label ? t2[o2].label : t2[o2].name;
169
+ if (e2 + "" == i2 + "" && null != a2) {
166
170
  n2 = a2;
167
171
  break;
168
172
  }
169
173
  }
170
174
  return n2;
171
175
  }
172
- function V(e2, t2, n2) {
176
+ function D(e2, t2, n2) {
173
177
  e2.initInfo || (e2.initInfo = {}), e2.initInfo[t2] = n2;
174
178
  }
175
179
  export {
176
- T as functions
180
+ j as functions
177
181
  };
@@ -1,39 +1,39 @@
1
- import { getUsername as e } from "agilebuilder-ui/src/utils/auth";
2
- function t(e2, t2) {
1
+ import "agilebuilder-ui/src/utils/auth";
2
+ function e(e2, n2) {
3
3
  let i2 = "new";
4
- return t2.id ? i2 = t2.id : t2.ID && (i2 = t2.ID), n(e2, i2);
4
+ return n2.id ? i2 = n2.id : n2.ID && (i2 = n2.ID), t(e2, i2);
5
+ }
6
+ function t(e2, t2) {
7
+ return t2 ? `backfill_data_${e2}_${t2}` : `backfill_data_${e2}_new`;
5
8
  }
6
9
  function n(t2, n2) {
7
- return n2 ? `${e()}_backfill_data_${t2}_${n2}` : `${e()}_backfill_data_${t2}_new`;
10
+ sessionStorage.setItem(e(t2, n2), JSON.stringify(n2));
8
11
  }
9
- function i(e2, n2) {
10
- sessionStorage.setItem(t(e2, n2), JSON.stringify(n2));
12
+ function i(t2, n2) {
13
+ sessionStorage.removeItem(e(t2, n2));
11
14
  }
12
15
  function o(e2, n2) {
13
16
  sessionStorage.removeItem(t(e2, n2));
14
17
  }
15
- function r(e2, t2) {
16
- sessionStorage.removeItem(n(e2, t2));
17
- }
18
- function s(e2, t2) {
19
- return null !== sessionStorage.getItem(n(e2, t2));
18
+ function r(e2, n2) {
19
+ return null !== sessionStorage.getItem(t(e2, n2));
20
20
  }
21
- function u(e2, t2, i2) {
22
- const o2 = sessionStorage.getItem(n(e2, t2));
21
+ function s(e2, n2, i2) {
22
+ const o2 = sessionStorage.getItem(t(e2, n2));
23
23
  if (o2) {
24
24
  const e3 = JSON.parse(o2);
25
- let t3 = null;
26
- e3.version ? t3 = e3.version : e3.VERSION && (t3 = e3.VERSION);
27
- let n2 = null;
28
- if (i2.version ? n2 = i2.version : i2.VERSION && (n2 = i2.VERSION), t3 == n2) return e3;
25
+ let t2 = null;
26
+ e3.version ? t2 = e3.version : e3.VERSION && (t2 = e3.VERSION);
27
+ let n3 = null;
28
+ if (i2.version ? n3 = i2.version : i2.VERSION && (n3 = i2.VERSION), t2 == n3) return e3;
29
29
  }
30
30
  return i2;
31
31
  }
32
32
  export {
33
- i as cacheBackfillData,
34
- n as getBackFillDataKey,
35
- u as getRealFillData,
36
- s as hasBackfillData,
37
- o as removeCacheFillData,
38
- r as removeCacheFillDataById
33
+ n as cacheBackfillData,
34
+ t as getBackFillDataKey,
35
+ s as getRealFillData,
36
+ r as hasBackfillData,
37
+ i as removeCacheFillData,
38
+ o as removeCacheFillDataById
39
39
  };
@@ -96,3 +96,4 @@ export declare function getFormData(pageContext: PageContext, id?: any, isNeedId
96
96
  export declare function saveChartConditionBase(pageContext: any, conditionName: string): any;
97
97
  export declare function listChartConditions(pageContext: any): any;
98
98
  export declare function deleteChartCondition(conditionId: any): any;
99
+ export declare function doFileTaskFunc(pageContext: any): void;