super-page-runtime 2.3.3 → 2.3.4
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.
- package/dist/es/components/runtime/utils/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +46 -45
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +16 -14
- package/dist/es/components/runtime/utils/charts/chart-util.js +26 -24
- package/dist/es/components/runtime/utils/events/event-util.js +116 -116
- package/dist/es/components/runtime/utils/events/print-label.js +1 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +475 -463
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
- package/dist/es/components/runtime/utils/page-helper-util.js +275 -275
- package/dist/es/components/runtime/utils/page-init-util.js +47 -44
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.js +30 -30
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -12
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +12 -11
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +18 -17
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +19 -18
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +19 -18
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +21 -19
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +55 -55
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +37 -35
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +123 -120
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +58 -57
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +29 -29
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +27 -27
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +27 -27
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
- package/dist/es/components/runtime/views/home-chart.vue.d.ts +3 -3
- package/dist/es/components/runtime/views/home-chart.vue.js +25 -23
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -6
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +131 -130
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +87 -87
- package/package.json +2 -2
|
@@ -49,7 +49,7 @@ function d(n2, s2, r2, i2, l2, o2) {
|
|
|
49
49
|
if (s2 && null !== s2 || !r2 || (u2 = {}), !u2 || 0 === Object.keys(u2).length) return n2.validateErrorField = "", true;
|
|
50
50
|
return new e(u2).validate(n2, { first: true }, (e2, o3) => {
|
|
51
51
|
let u3;
|
|
52
|
-
if (e2 ? (a2 = e2[0].message, u3 = e2[0].field, t({ message: a2, showClose: true, type: "warning", duration: 3e3 })) : a2 = true, u3 && true === l2) {
|
|
52
|
+
if (e2 ? (a2 = e2[0].message, u3 = e2[0].field, t({ message: a2, showClose: true, type: "warning", duration: 3e3 }), console.log("errors", e2, "fields", o3)) : a2 = true, u3 && true === l2) {
|
|
53
53
|
if (/[A-Z]+/.test(u3) && void 0 !== n2[u3.toLowerCase()]) {
|
|
54
54
|
const e3 = JSON.parse(JSON.stringify(n2));
|
|
55
55
|
e3[u3.toUpperCase()] = n2[u3.toLowerCase()], delete e3[u3.toLowerCase()], a2 = d(e3, s2, r2, i2, false);
|
|
@@ -44,8 +44,9 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
44
44
|
}
|
|
45
45
|
let res = false;
|
|
46
46
|
if (validStr) try {
|
|
47
|
-
res = eval("(" + validStr + ")");
|
|
47
|
+
console.log("validStr", validStr), res = eval("(" + validStr + ")"), console.log("res", res);
|
|
48
48
|
} catch (e) {
|
|
49
|
+
console.log(e);
|
|
49
50
|
}
|
|
50
51
|
else res = true;
|
|
51
52
|
if (res) return executeAnalysisForScan(scanValue, scanSet);
|
|
@@ -62,11 +63,11 @@ function executeAnalysisForScan(e, t) {
|
|
|
62
63
|
let n = e;
|
|
63
64
|
if (t2.splitChar && t2.splitNum) {
|
|
64
65
|
const a3 = (t2.splitChar, t2.splitChar), s2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
|
|
65
|
-
n = l <= s2.length ? s2[l - 1] : "";
|
|
66
|
+
console.log(n, a3, s2, l), n = l <= s2.length ? s2[l - 1] : "";
|
|
66
67
|
}
|
|
67
68
|
if (t2.splitChar2 && t2.splitNum2) {
|
|
68
69
|
const e2 = (t2.splitChar2, t2.splitChar2), a3 = n.split(e2), s2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
|
|
69
|
-
n = s2 <= a3.length ? a3[s2 - 1] : "";
|
|
70
|
+
console.log(n, e2, a3, s2), n = s2 <= a3.length ? a3[s2 - 1] : "";
|
|
70
71
|
}
|
|
71
72
|
if (n.length > 0) {
|
|
72
73
|
const e2 = _getScanIndexs(n, t2.startIndex, t2.endIndex), a3 = e2[0], s2 = e2[1];
|