bkui-vue 1.0.3-beta.36 → 1.0.3-beta.37

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.
@@ -271,7 +271,7 @@ declare const _default: import("vue").DefineComponent<{
271
271
  }): {};
272
272
  rsolveIndexedColumn(): boolean;
273
273
  setNodeUid(): void;
274
- getNodeUid(props: any): any;
274
+ getNodeUid(ctx: any): any;
275
275
  updateColumnDefineByParent(): void;
276
276
  unmountColumn(): void;
277
277
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -1484,7 +1484,7 @@ declare const BkTable: {
1484
1484
  }): {};
1485
1485
  rsolveIndexedColumn(): boolean;
1486
1486
  setNodeUid(): void;
1487
- getNodeUid(props: any): any;
1487
+ getNodeUid(ctx: any): any;
1488
1488
  updateColumnDefineByParent(): void;
1489
1489
  unmountColumn(): void;
1490
1490
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -855,7 +855,7 @@ var TableColumnProp = {
855
855
  var resolveProp = Object.assign({}, this.copyProps(props), {
856
856
  field: props.prop || props.field,
857
857
  render: (_props$render = props.render) !== null && _props$render !== void 0 ? _props$render : this.$slots["default"],
858
- uniqueId: this.getNodeUid(props)
858
+ uniqueId: this.getNodeUid(this.$.ctx)
859
859
  });
860
860
  this.initColumns(resolveProp);
861
861
  return false;
@@ -863,21 +863,21 @@ var TableColumnProp = {
863
863
  return true;
864
864
  },
865
865
  setNodeUid: function setNodeUid() {
866
- var props = this.$.vnode.props;
867
- if (props.uniqueId && !props.uniqueId.val) {
868
- props.uniqueId.val = esm_browser_v4();
866
+ var ctx = this.$.ctx;
867
+ if (ctx.uniqueId && !ctx.uniqueId.val) {
868
+ ctx.uniqueId.val = esm_browser_v4();
869
869
  }
870
- if (!props.uniqueId && !(0,external_vue_namespaceObject.isProxy)(props)) {
871
- Object.assign(props, {
870
+ if (!ctx.uniqueId) {
871
+ Object.assign(ctx, {
872
872
  uniqueId: {
873
873
  val: esm_browser_v4()
874
874
  }
875
875
  });
876
876
  }
877
877
  },
878
- getNodeUid: function getNodeUid(props) {
879
- var _props$uniqueId;
880
- return (_props$uniqueId = props.uniqueId) === null || _props$uniqueId === void 0 ? void 0 : _props$uniqueId.val;
878
+ getNodeUid: function getNodeUid(ctx) {
879
+ var _ctx$uniqueId;
880
+ return (_ctx$uniqueId = ctx.uniqueId) === null || _ctx$uniqueId === void 0 ? void 0 : _ctx$uniqueId.val;
881
881
  },
882
882
  updateColumnDefineByParent: function updateColumnDefineByParent() {
883
883
  var _this = this;
@@ -899,7 +899,7 @@ var TableColumnProp = {
899
899
  return getTableNode(parentVnode);
900
900
  };
901
901
  var getNodeUid = function getNodeUid(node) {
902
- return _this.getNodeUid(node.props);
902
+ return _this.getNodeUid(node.ctx);
903
903
  };
904
904
  var tableNode = getTableNode(selfVnode);
905
905
  if (!tableNode) {
@@ -919,7 +919,7 @@ var TableColumnProp = {
919
919
  }, _this.copyProps(node.props), {
920
920
  field: node.props.prop || node.props.field,
921
921
  render: (_node$props$render = node.props.render) !== null && _node$props$render !== void 0 ? _node$props$render : (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children["default"],
922
- uniqueId: getNodeUid(node)
922
+ uniqueId: getNodeUid(node.ctx)
923
923
  });
924
924
  sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
925
925
  index = index + 1;
@@ -963,7 +963,7 @@ var TableColumnProp = {
963
963
  var resolveProp = Object.assign({}, this.copyProps(this.$props), {
964
964
  field: props.prop || props.field,
965
965
  render: (_props$render2 = props.render) !== null && _props$render2 !== void 0 ? _props$render2 : this.$slots["default"],
966
- uniqueId: this.getNodeUid(props)
966
+ uniqueId: this.getNodeUid(this.$.ctx)
967
967
  });
968
968
  this.initColumns(resolveProp, true);
969
969
  }
@@ -208,7 +208,7 @@ declare const BkTableColumn: {
208
208
  }): {};
209
209
  rsolveIndexedColumn(): boolean;
210
210
  setNodeUid(): void;
211
- getNodeUid(props: any): any;
211
+ getNodeUid(ctx: any): any;
212
212
  updateColumnDefineByParent(): void;
213
213
  unmountColumn(): void;
214
214
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
@@ -498,7 +498,7 @@ declare const BkTableColumn: {
498
498
  }): {};
499
499
  rsolveIndexedColumn(): boolean;
500
500
  setNodeUid(): void;
501
- getNodeUid(props: any): any;
501
+ getNodeUid(ctx: any): any;
502
502
  updateColumnDefineByParent(): void;
503
503
  unmountColumn(): void;
504
504
  }, {
@@ -725,7 +725,7 @@ declare const BkTableColumn: {
725
725
  }): {};
726
726
  rsolveIndexedColumn(): boolean;
727
727
  setNodeUid(): void;
728
- getNodeUid(props: any): any;
728
+ getNodeUid(ctx: any): any;
729
729
  updateColumnDefineByParent(): void;
730
730
  unmountColumn(): void;
731
731
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
@@ -83,7 +83,7 @@ function _defineProperty(obj, key, value) {
83
83
  ;// CONCATENATED MODULE: external "vue"
84
84
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
85
85
  var external_vue_y = x => () => x
86
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isProxy"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isProxy, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
86
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
87
87
  ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
88
88
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
89
89
  /* harmony default export */ const esm_browser_native = ({
@@ -816,7 +816,7 @@ var TableColumnProp = {
816
816
  var resolveProp = Object.assign({}, this.copyProps(props), {
817
817
  field: props.prop || props.field,
818
818
  render: (_props$render = props.render) !== null && _props$render !== void 0 ? _props$render : this.$slots["default"],
819
- uniqueId: this.getNodeUid(props)
819
+ uniqueId: this.getNodeUid(this.$.ctx)
820
820
  });
821
821
  this.initColumns(resolveProp);
822
822
  return false;
@@ -824,21 +824,21 @@ var TableColumnProp = {
824
824
  return true;
825
825
  },
826
826
  setNodeUid: function setNodeUid() {
827
- var props = this.$.vnode.props;
828
- if (props.uniqueId && !props.uniqueId.val) {
829
- props.uniqueId.val = esm_browser_v4();
827
+ var ctx = this.$.ctx;
828
+ if (ctx.uniqueId && !ctx.uniqueId.val) {
829
+ ctx.uniqueId.val = esm_browser_v4();
830
830
  }
831
- if (!props.uniqueId && !(0,external_vue_namespaceObject.isProxy)(props)) {
832
- Object.assign(props, {
831
+ if (!ctx.uniqueId) {
832
+ Object.assign(ctx, {
833
833
  uniqueId: {
834
834
  val: esm_browser_v4()
835
835
  }
836
836
  });
837
837
  }
838
838
  },
839
- getNodeUid: function getNodeUid(props) {
840
- var _props$uniqueId;
841
- return (_props$uniqueId = props.uniqueId) === null || _props$uniqueId === void 0 ? void 0 : _props$uniqueId.val;
839
+ getNodeUid: function getNodeUid(ctx) {
840
+ var _ctx$uniqueId;
841
+ return (_ctx$uniqueId = ctx.uniqueId) === null || _ctx$uniqueId === void 0 ? void 0 : _ctx$uniqueId.val;
842
842
  },
843
843
  updateColumnDefineByParent: function updateColumnDefineByParent() {
844
844
  var _this = this;
@@ -860,7 +860,7 @@ var TableColumnProp = {
860
860
  return getTableNode(parentVnode);
861
861
  };
862
862
  var getNodeUid = function getNodeUid(node) {
863
- return _this.getNodeUid(node.props);
863
+ return _this.getNodeUid(node.ctx);
864
864
  };
865
865
  var tableNode = getTableNode(selfVnode);
866
866
  if (!tableNode) {
@@ -880,7 +880,7 @@ var TableColumnProp = {
880
880
  }, _this.copyProps(node.props), {
881
881
  field: node.props.prop || node.props.field,
882
882
  render: (_node$props$render = node.props.render) !== null && _node$props$render !== void 0 ? _node$props$render : (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children["default"],
883
- uniqueId: getNodeUid(node)
883
+ uniqueId: getNodeUid(node.ctx)
884
884
  });
885
885
  sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
886
886
  index = index + 1;
@@ -924,7 +924,7 @@ var TableColumnProp = {
924
924
  var resolveProp = Object.assign({}, this.copyProps(this.$props), {
925
925
  field: props.prop || props.field,
926
926
  render: (_props$render2 = props.render) !== null && _props$render2 !== void 0 ? _props$render2 : this.$slots["default"],
927
- uniqueId: this.getNodeUid(props)
927
+ uniqueId: this.getNodeUid(this.$.ctx)
928
928
  });
929
929
  this.initColumns(resolveProp, true);
930
930
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "1.0.3-beta.36",
3
+ "version": "1.0.3-beta.37",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",