ocpview-plus 1.3.18 → 1.3.20

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.3.17";
456
+ const version$2 = "1.3.19";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -518,12 +518,15 @@ const dependencies = {
518
518
  viewerjs: "^1.11.6",
519
519
  "vue-draggable-plus": "^0.5.0",
520
520
  vuex: "^4.0.2",
521
- xlsx: "^0.18.5",
522
- "xlsx-style-vite": "^0.0.2",
523
521
  "vxe-table": "4.6.20",
524
- "xe-utils": "^3.5.32"
522
+ "xe-utils": "^3.5.32",
523
+ xlsx: "^0.18.5",
524
+ "xlsx-style-vite": "^0.0.2"
525
525
  };
526
526
  const devDependencies = {
527
+ "@babel/core": "^7.29.0",
528
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
529
+ "@babel/preset-env": "^7.29.2",
527
530
  "@vitejs/plugin-vue": "^1.9.3",
528
531
  "@vue/cli-plugin-babel": "~4.5.0",
529
532
  "@vue/cli-plugin-eslint": "~4.5.0",
@@ -531,10 +534,8 @@ const devDependencies = {
531
534
  "@vue/compiler-sfc": "^3.0.0",
532
535
  "autoprefixer-loader": "^3.2.0",
533
536
  "babel-cli": "^6.26.0",
534
- "babel-core": "^6.26.0",
535
537
  "babel-eslint": "^10.1.0",
536
538
  "babel-helper-vue-jsx-merge-props": "^2.0.3",
537
- "babel-loader": "^7.1.5",
538
539
  "babel-plugin-dynamic-import-node": "^1.2.0",
539
540
  "babel-plugin-import": "^1.13.3",
540
541
  "babel-plugin-syntax-jsx": "^6.18.0",
@@ -543,9 +544,6 @@ const devDependencies = {
543
544
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
544
545
  "babel-plugin-transform-runtime": "^6.23.0",
545
546
  "babel-plugin-transform-vue-jsx": "^3.7.0",
546
- "babel-preset-env": "^1.6.1",
547
- "babel-preset-stage-3": "^6.24.1",
548
- "babel-runtime": "^6.26.0",
549
547
  chai: "^4.2.0",
550
548
  "compression-webpack-plugin": "^1.1.12",
551
549
  "copy-webpack-plugin": "^6.4.1",
@@ -48839,7 +48837,7 @@ const _sfc_main$t = {
48839
48837
  methods: {
48840
48838
  onSubmit() {
48841
48839
  let flag = true;
48842
- if (this.$parent.onSubmitBefore() !== void 0) {
48840
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
48843
48841
  flag = this.$parent.onSubmitBefore();
48844
48842
  }
48845
48843
  if (flag) {
@@ -50049,7 +50047,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
50049
50047
  }, 8, ["modelValue"])
50050
50048
  ]);
50051
50049
  }
50052
- var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-6add5d16"]]);
50050
+ var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-03e86e78"]]);
50053
50051
  const _sfc_main$s = {
50054
50052
  name: "moperlog",
50055
50053
  data() {
@@ -57336,6 +57334,13 @@ const _sfc_main$b = {
57336
57334
  this.$emit("doAction", obj);
57337
57335
  }
57338
57336
  }
57337
+ },
57338
+ onSubmitBefore() {
57339
+ let flag = true;
57340
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
57341
+ flag = this.$parent.onSubmitBefore();
57342
+ }
57343
+ return flag;
57339
57344
  }
57340
57345
  },
57341
57346
  mounted() {
@@ -57781,7 +57786,7 @@ const _sfc_main$8 = {
57781
57786
  },
57782
57787
  onSubmitBefore() {
57783
57788
  let flag = true;
57784
- if (this.$parent.onSubmitBefore() !== void 0) {
57789
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
57785
57790
  flag = this.$parent.onSubmitBefore();
57786
57791
  }
57787
57792
  return flag;
@@ -58559,7 +58564,7 @@ const _sfc_main$5 = {
58559
58564
  },
58560
58565
  onSubmitBefore() {
58561
58566
  let flag = true;
58562
- if (this.$parent.onSubmitBefore() !== void 0) {
58567
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
58563
58568
  flag = this.$parent.onSubmitBefore();
58564
58569
  }
58565
58570
  return flag;