super-page-runtime 2.3.34 → 2.3.35-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 (72) hide show
  1. package/dist/es/components/runtime/utils/anchor-util.js +43 -51
  2. package/dist/es/components/runtime/utils/api/page-expose-util.js +131 -131
  3. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +98 -96
  4. package/dist/es/components/runtime/utils/events/event-util.js +131 -119
  5. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  6. package/dist/es/components/runtime/utils/events/standard-event.js +154 -138
  7. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  8. package/dist/es/components/runtime/utils/page-init-util.js +26 -28
  9. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  12. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  14. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  15. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  17. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  18. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +94 -99
  24. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  25. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  26. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  27. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  33. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  36. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  37. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  38. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
  39. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  41. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  44. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +35 -35
  45. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  47. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +68 -53
  48. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +37 -38
  50. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
  51. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +31 -22
  52. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  53. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  54. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +4 -5
  55. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  56. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  57. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  58. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  59. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  60. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +14 -16
  61. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
  62. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +4 -4
  63. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  64. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  65. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  66. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  67. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  68. package/dist/es/components/runtime/views/super-page.vue2.js +18 -19
  69. package/dist/es/i18n/langs/cn.js +1 -1
  70. package/dist/es/i18n/langs/en.js +1 -1
  71. package/dist/es/style.css +16 -15
  72. package/package.json +2 -2
@@ -1,10 +1,10 @@
1
- import { getValueFromSource as t, formatVariableValue as e, setValueForVariableName as o } from "../page-helper-util.js";
2
- import { deepCopy as i } from "../common-util.js";
3
- import { setDefaultGrid as s, CommonName as a, caculateFormulaValue as l, executeChartFormula as r, sortDatas as n, limitDatas as u, formatToolboxI18n as f } from "./chart-util.js";
4
- import { handleChartEvent as d } from "../events/event-util.js";
1
+ import { getValueFromSource as e, formatVariableValue as t, setValueForVariableName as i } from "../page-helper-util.js";
2
+ import { deepCopy as o } from "../common-util.js";
3
+ import { setDefaultGrid as s, CommonName as a, caculateFormulaValue as l, executeChartFormula as r, sortDatas as n, limitDatas as u, formatToolboxI18n as d } from "./chart-util.js";
4
+ import { handleChartEvent as f } from "../events/event-util.js";
5
5
  function c(c2, m, h, y) {
6
6
  if (!y || !y.result) return;
7
- s(h), h.tooltip || (h.tooltip = {}), d(c2, m, "beforeUpdateChart", h, { resultData: y });
7
+ s(h), h.tooltip || (h.tooltip = {}), f(c2, m, "beforeUpdateChart", h, { resultData: y });
8
8
  const g = y && y.result ? y.result : {};
9
9
  let v = y && y.groupValue ? y.groupValue : void 0;
10
10
  const F = m.serviceDataField;
@@ -13,152 +13,154 @@ function c(c2, m, h, y) {
13
13
  let D = m.props ? m.props.groups : null;
14
14
  if (D || (D = []), !v || 0 === v.length) {
15
15
  v = [];
16
- for (const t2 of D) v.push(t2.group);
16
+ for (const e2 of D) v.push(e2.group);
17
17
  }
18
18
  const _ = {}, x = [], A = [];
19
- for (const t2 of D) _[t2.group] = t2.target, t2.target && !x.includes(t2.target) && (x.push(t2.target), v.includes(t2.group) && A.push(t2.target));
19
+ for (const e2 of D) _[e2.group] = e2.target, e2.target && !x.includes(e2.target) && (x.push(e2.target), v.includes(e2.group) && A.push(e2.target));
20
20
  let N = m.props ? m.props.mulGroupShow : "";
21
21
  N = "break" == N ? "\r\n" : " ";
22
- for (const e2 of S) {
23
- if (!e2) continue;
24
- const o2 = [];
25
- for (const i3 of v) {
26
- const s2 = _[i3], a2 = t(e2, s2, void 0);
27
- a2 && o2.push(a2);
22
+ for (const t2 of S) {
23
+ if (!t2) continue;
24
+ const i2 = [];
25
+ for (const o3 of v) {
26
+ const s2 = _[o3], a2 = e(t2, s2, void 0);
27
+ a2 && i2.push(a2);
28
28
  }
29
- const i2 = o2.join(N);
30
- e2[a.X_FIELD_NAME] = i2;
29
+ const o2 = i2.join(N);
30
+ t2[a.X_FIELD_NAME] = o2;
31
31
  }
32
32
  const E = m.items ? m.items : [], C = [], b = {}, w = [], I = {}, X = [], L = [], M = /* @__PURE__ */ new Set(), j = l(E, S, M);
33
- for (const t2 of M) X.push(t2);
34
- for (const t2 of E) {
35
- const e2 = t2.props ? t2.props : {}, o2 = e2.yaxisSource, i2 = e2.yaxisField, s2 = e2.isCumulative;
33
+ for (const e2 of M) X.push(e2);
34
+ for (const e2 of E) {
35
+ const t2 = e2.props ? e2.props : {}, i2 = t2.yaxisSource, o2 = t2.yaxisField, s2 = t2.isCumulative;
36
36
  let a2 = null;
37
- if (!i2 || o2 && "variable" != o2) if ("formula" == o2) {
38
- let o3 = e2.formula ? e2.formula : "";
39
- for (const t3 in j) o3 = o3.replace(new RegExp(t3.replace("$", "\\$"), "g"), j[t3]);
40
- a2 = { uuid: t2.uuid, type: "formula", formula: o3, isFormulaCalculateAfterSort: e2.isFormulaCalculateAfterSort, data: [], dynamicDatas: [] };
41
- } else a2 = { uuid: t2.uuid, type: "fixed", field: e2.yaxisFix, data: [], dynamicDatas: [] };
42
- else a2 = { uuid: t2.uuid, type: "variable", field: i2, isCumulative: s2, data: [], dynamicDatas: [] }, i2 && !X.includes(i2) && X.push(i2), i2 && !L.includes(i2) && L.push(i2), s2 && !M.has(i2) && M.add(i2);
43
- null != a2 && (C.push(a2), b[t2.uuid] = a2), e2.dynamicSeriesField && !w.includes(e2.dynamicSeriesField) && a2 && (a2.dynamicField = e2.dynamicSeriesField, a2.dynamicSeriesTitle = e2.dynamicSeriesTitle, a2.dynamicShowStack = e2.dynamicShowStack, w.push(e2.dynamicSeriesField), I[e2.dynamicSeriesField] = i2);
37
+ if (!o2 || i2 && "variable" != i2) if ("formula" == i2) {
38
+ let i3 = t2.formula ? t2.formula : "";
39
+ for (const e3 in j) i3 = i3.replace(new RegExp(e3.replace("$", "\\$"), "g"), j[e3]);
40
+ a2 = { uuid: e2.uuid, type: "formula", formula: i3, isFormulaCalculateAfterSort: t2.isFormulaCalculateAfterSort, data: [], dynamicDatas: [] };
41
+ } else a2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [], dynamicDatas: [] };
42
+ else a2 = { uuid: e2.uuid, type: "variable", field: o2, isCumulative: s2, data: [], dynamicDatas: [] }, o2 && !X.includes(o2) && X.push(o2), o2 && !L.includes(o2) && L.push(o2), s2 && !M.has(o2) && M.add(o2);
43
+ null != a2 && (C.push(a2), b[e2.uuid] = a2), t2.dynamicSeriesField && !w.includes(t2.dynamicSeriesField) && a2 && (a2.dynamicField = t2.dynamicSeriesField, a2.dynamicSeriesTitle = t2.dynamicSeriesTitle, a2.dynamicShowStack = t2.dynamicShowStack, w.push(t2.dynamicSeriesField), I[t2.dynamicSeriesField] = o2), t2.dynamicSeriesDataField && t2.dynamicSeriesDataField.forEach((e3) => {
44
+ X.includes(e3) || X.push(e3);
45
+ });
44
46
  }
45
47
  const k = {};
46
48
  if (w.length > 0) {
47
- const e2 = [], o2 = {};
48
- for (const i2 of S) if (i2) for (const s2 of X) {
49
- const l2 = i2[a.X_FIELD_NAME];
50
- let r2 = o2[l2];
49
+ const t2 = [], i2 = {};
50
+ for (const o2 of S) if (o2) for (const s2 of X) {
51
+ const l2 = o2[a.X_FIELD_NAME];
52
+ let r2 = i2[l2];
51
53
  if (!r2) {
52
54
  r2 = {};
53
- for (const t2 of x) r2[t2] = i2[t2];
54
- r2[a.X_FIELD_NAME] = i2[a.X_FIELD_NAME], o2[l2] = r2, e2.push(r2);
55
+ for (const e2 of x) r2[e2] = o2[e2];
56
+ r2[a.X_FIELD_NAME] = o2[a.X_FIELD_NAME], i2[l2] = r2, t2.push(r2);
55
57
  }
56
- let n2 = t(i2, s2, void 0);
58
+ let n2 = e(o2, s2, void 0);
57
59
  if (!isNaN(n2)) {
58
- const t2 = r2[s2];
59
- isNaN || (n2 += t2), r2[s2] = n2;
60
+ const e2 = r2[s2];
61
+ isNaN(e2) || (n2 += e2), r2[s2] = n2;
60
62
  }
61
63
  }
62
- for (const e3 of w) {
63
- const i2 = [];
64
+ for (const t3 of w) {
65
+ const o2 = [];
64
66
  for (const s2 of S) {
65
67
  if (!s2) continue;
66
- const l2 = o2[s2[a.X_FIELD_NAME]];
68
+ const l2 = i2[s2[a.X_FIELD_NAME]];
67
69
  if (!l2) continue;
68
- let r2 = t(s2, e3, void 0);
69
- r2 = null == r2 || null == r2 ? "" : r2, i2.includes(r2) || (i2.push(r2), L.push(r2), M.add(r2));
70
- const n2 = I[e3];
70
+ let r2 = e(s2, t3, void 0);
71
+ r2 = null == r2 || null == r2 ? "" : r2, o2.includes(r2) || (o2.push(r2), L.push(r2), M.add(r2));
72
+ const n2 = I[t3];
71
73
  if (void 0 !== n2) {
72
- const e4 = t(s2, n2, void 0);
73
- let o3 = l2[r2];
74
- void 0 === o3 ? o3 = e4 : isNaN(e4) || (o3 += e4), l2[r2] = o3;
74
+ const t4 = e(s2, n2, void 0);
75
+ let i3 = l2[r2];
76
+ void 0 === i3 ? i3 = t4 : isNaN(t4) || (i3 += t4), l2[r2] = i3;
75
77
  }
76
78
  }
77
- k[e3] = i2;
79
+ k[t3] = o2;
78
80
  }
79
- S = e2;
81
+ S = t2;
80
82
  }
81
83
  let T = {};
82
84
  const V = /* @__PURE__ */ new Set(), $ = m.props ? m.props.orderByTarget : "";
83
- for (const t2 of C) "formula" === t2.type && t2.isFormulaCalculateAfterSort && $ !== t2.uuid && V.add(t2.uuid + "_field");
84
- for (const t2 of S) if (t2) {
85
- p(t2, M, T);
86
- for (const e2 of C) if ("formula" === e2.type && !e2.isFormulaCalculateAfterSort) {
87
- const o2 = r(e2.formula, T, t2, c2);
88
- t2[e2.uuid + "_field"] = o2;
85
+ for (const e2 of C) "formula" === e2.type && e2.isFormulaCalculateAfterSort && $ !== e2.uuid && V.add(e2.uuid + "_field");
86
+ for (const e2 of S) if (e2) {
87
+ p(e2, M, T);
88
+ for (const t2 of C) if ("formula" === t2.type && !t2.isFormulaCalculateAfterSort) {
89
+ const i2 = r(t2.formula, T, e2, c2);
90
+ e2[t2.uuid + "_field"] = i2;
89
91
  }
90
92
  }
91
93
  if (n(c2, m, S), V.size > 0) {
92
- const t2 = {};
93
- for (const e2 of S) {
94
- p(e2, M, t2);
95
- for (const o2 of C) if ("formula" === o2.type && V.has(o2.uuid + "_field")) {
96
- const i2 = r(o2.formula, t2, e2, c2);
97
- e2[o2.uuid + "_field"] = i2;
94
+ const e2 = {};
95
+ for (const t2 of S) {
96
+ p(t2, M, e2);
97
+ for (const i2 of C) if ("formula" === i2.type && V.has(i2.uuid + "_field")) {
98
+ const o2 = r(i2.formula, e2, t2, c2);
99
+ t2[i2.uuid + "_field"] = o2;
98
100
  }
99
101
  }
100
102
  }
101
103
  S = u(c2, m, S, x, L);
102
104
  const B = [];
103
105
  T = {};
104
- for (const e2 of S) if (e2) {
105
- for (const o2 of M) {
106
- const i2 = t(e2, o2, void 0);
107
- let s2 = T[o2];
108
- void 0 === i2 || isNaN(i2) || (void 0 === s2 ? s2 = i2 : s2 += i2), T[o2] = s2;
106
+ for (const t2 of S) if (t2) {
107
+ for (const i2 of M) {
108
+ const o2 = e(t2, i2, void 0);
109
+ let s2 = T[i2];
110
+ void 0 === o2 || isNaN(o2) || (void 0 === s2 ? s2 = o2 : s2 += o2), T[i2] = s2;
109
111
  }
110
- B.push(e2[a.X_FIELD_NAME]);
111
- for (const o2 of C) {
112
- let i2 = o2.data;
113
- const s2 = o2.dynamicDatas;
114
- if (o2.dynamicField) {
115
- let a2 = k[o2.dynamicField];
112
+ B.push(t2[a.X_FIELD_NAME]);
113
+ for (const i2 of C) {
114
+ let o2 = i2.data;
115
+ const s2 = i2.dynamicDatas;
116
+ if (i2.dynamicField) {
117
+ let a2 = k[i2.dynamicField];
116
118
  a2 = a2 || [];
117
119
  for (let l2 = 0; l2 < a2.length; l2++) {
118
- l2 >= s2.length && s2.push([]), i2 = s2[l2];
120
+ l2 >= s2.length && s2.push([]), o2 = s2[l2];
119
121
  const r2 = a2[l2];
120
- let n2 = t(e2, r2, void 0);
121
- o2.isCumulative && (n2 = T[r2]), i2.push(n2);
122
+ let n2 = e(t2, r2, void 0);
123
+ i2.isCumulative && (n2 = T[r2]), o2.push(n2);
122
124
  }
123
- } else if ("fixed" === o2.type) i2.push(o2.field);
124
- else if ("variable" === o2.type) {
125
- let s3 = t(e2, o2.field, void 0);
126
- o2.isCumulative && (s3 = T[o2.field]), i2.push(s3);
127
- } else "formula" === o2.type ? i2.push(e2[o2.uuid + "_field"]) : i2.push(void 0);
125
+ } else if ("fixed" === i2.type) o2.push(i2.field);
126
+ else if ("variable" === i2.type) {
127
+ let s3 = e(t2, i2.field, void 0);
128
+ i2.isCumulative && (s3 = T[i2.field]), o2.push(s3);
129
+ } else "formula" === i2.type ? o2.push(t2[i2.uuid + "_field"]) : o2.push(void 0);
128
130
  }
129
131
  }
130
- const G = m.defaultSeries, R = i(null == G ? [] : G), U = [];
131
- for (const t2 of R) {
132
- const o2 = b[t2.uuid];
133
- if (o2.dynamicField) {
134
- let s2 = k[o2.dynamicField];
132
+ const G = m.defaultSeries, R = o(null == G ? [] : G), U = [];
133
+ for (const e2 of R) {
134
+ const i2 = b[e2.uuid];
135
+ if (i2.dynamicField) {
136
+ let s2 = k[i2.dynamicField];
135
137
  s2 = s2 || [];
136
- const a2 = o2.dynamicDatas ? o2.dynamicDatas : [];
138
+ const a2 = i2.dynamicDatas ? i2.dynamicDatas : [];
137
139
  for (let l2 = 0; l2 < s2.length; l2++) {
138
- const r2 = s2[l2], n2 = i(t2);
139
- if (o2.dynamicSeriesTitle) {
140
- const t3 = o2.dynamicSeriesTitle.replace("${name}", r2);
141
- n2.name = e(c2, t3);
140
+ const r2 = s2[l2], n2 = o(e2);
141
+ if (i2.dynamicSeriesTitle) {
142
+ const e3 = i2.dynamicSeriesTitle.replace("${name}", r2);
143
+ n2.name = t(c2, e3);
142
144
  } else n2.name = r2;
143
- n2.data = l2 < a2.length ? a2[l2] : [], "bar" == t2.type && o2.dynamicShowStack && (n2.stack = t2.uuid), U.push(n2);
145
+ n2.data = l2 < a2.length ? a2[l2] : [], "bar" == e2.type && i2.dynamicShowStack && (n2.stack = e2.uuid), U.push(n2);
144
146
  }
145
- } else t2.data = o2 ? o2.data : [], U.push(t2);
147
+ } else e2.data = i2 ? i2.data : [], U.push(e2);
146
148
  }
147
149
  h.series = U;
148
150
  const z = m.defaultXaxis, Y = m.defaultYaxis;
149
151
  if (h.isBar) {
150
- if (Y) for (const t2 of Y) t2.data = B;
152
+ if (Y) for (const e2 of Y) e2.data = B;
151
153
  h.xAxis = z, h.yAxis = Y;
152
154
  } else z && z.length > 0 && (z[0].data = B), h.xAxis = z, h.yAxis = Y;
153
- f(h);
155
+ d(h);
154
156
  const q = m.props ? m.props.selGroupVariable : null;
155
- !(m.props ? m.props.enableDrill : null) && q && (m.highlightInfos = [], o(c2.entity, q, null)), d(c2, m, "afterUpdateChart", h, { resultData: y }), m.groupFields = A, m.cacheDatas = S, m.rawResult = y;
157
+ !(m.props ? m.props.enableDrill : null) && q && (m.highlightInfos = [], i(c2.entity, q, null)), f(c2, m, "afterUpdateChart", h, { resultData: y }), m.groupFields = A, m.cacheDatas = S, m.rawResult = y;
156
158
  }
157
- function p(e2, o2, i2) {
158
- for (const s2 of o2) {
159
- const o3 = t(e2, s2, void 0);
160
- let a2 = i2[s2];
161
- void 0 === o3 || isNaN(o3) || (void 0 === a2 ? a2 = o3 : a2 += o3), i2[s2] = a2;
159
+ function p(t2, i2, o2) {
160
+ for (const s2 of i2) {
161
+ const i3 = e(t2, s2, void 0);
162
+ let a2 = o2[s2];
163
+ void 0 === i3 || isNaN(i3) || (void 0 === a2 ? a2 = i3 : a2 += i3), o2[s2] = a2;
162
164
  }
163
165
  }
164
166
  export {