ocpview-pro 0.0.5 → 0.0.6

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 = "0.0.4";
456
+ const version$2 = "0.0.5";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -56981,7 +56981,8 @@ const _sfc_main$c = {
56981
56981
  },
56982
56982
  showGrid: true,
56983
56983
  showTitle: true,
56984
- dataInfo: {}
56984
+ dataInfo: {},
56985
+ readOnly: false
56985
56986
  };
56986
56987
  },
56987
56988
  computed: {},
@@ -56995,9 +56996,19 @@ const _sfc_main$c = {
56995
56996
  setData(data = [], flag = "set") {
56996
56997
  this.dataInfo = { ...data };
56997
56998
  },
56999
+ getData() {
57000
+ return this.dataInfo;
57001
+ },
57002
+ getChangeData() {
57003
+ return this.dataInfo;
57004
+ },
57005
+ valueChanged(obj) {
57006
+ return true;
57007
+ },
56998
57008
  clearData() {
56999
57009
  },
57000
57010
  setReadOnly(value) {
57011
+ this.readOnly = value;
57001
57012
  },
57002
57013
  doAction(params) {
57003
57014
  this.$emit("doAction", params);
@@ -57079,7 +57090,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
57079
57090
  config: $props.config,
57080
57091
  dictData: $props.dictData,
57081
57092
  doAction: $options.doAction,
57082
- dataInfo: $data.dataInfo
57093
+ dataInfo: $data.dataInfo,
57094
+ readOnly: $data.readOnly
57083
57095
  }) : createCommentVNode("", true)
57084
57096
  ], 512), [
57085
57097
  [vShow, $data.showGrid]