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

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 (45) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.esm.js +945 -945
  3. package/dist/index.umd.js +1 -1
  4. package/lib/icon/image-fill.js +82 -167
  5. package/lib/icon/img-error.js +82 -167
  6. package/lib/icon/img-placehoulder.js +82 -167
  7. package/lib/icon/index.js +87 -2460
  8. package/lib/icon/info-line.js +82 -167
  9. package/lib/icon/info.js +82 -167
  10. package/lib/icon/left-shape.js +82 -167
  11. package/lib/icon/left-turn-line.js +82 -167
  12. package/lib/icon/loading.js +82 -167
  13. package/lib/icon/narrow-line.js +82 -167
  14. package/lib/icon/original.js +82 -167
  15. package/lib/icon/pdf-fill.js +82 -167
  16. package/lib/icon/play-shape.js +82 -167
  17. package/lib/icon/plus.js +82 -167
  18. package/lib/icon/ppt-fill.js +82 -167
  19. package/lib/icon/qq.js +82 -167
  20. package/lib/icon/right-shape.js +82 -167
  21. package/lib/icon/right-turn-line.js +82 -167
  22. package/lib/icon/search.js +82 -167
  23. package/lib/icon/share.js +82 -167
  24. package/lib/icon/spinner.js +82 -167
  25. package/lib/icon/success.js +82 -167
  26. package/lib/icon/switcher-loading.js +82 -167
  27. package/lib/icon/text-all.js +82 -167
  28. package/lib/icon/text-file.js +82 -167
  29. package/lib/icon/text-fill.js +82 -167
  30. package/lib/icon/transfer.js +82 -167
  31. package/lib/icon/tree-application-shape.js +82 -167
  32. package/lib/icon/unfull-screen.js +82 -167
  33. package/lib/icon/unvisible.js +82 -167
  34. package/lib/icon/up-shape.js +82 -167
  35. package/lib/icon/upload.js +82 -167
  36. package/lib/icon/video-fill.js +82 -167
  37. package/lib/icon/warn.js +82 -167
  38. package/lib/icon/weixin-pro.js +82 -167
  39. package/lib/icon/weixin.js +82 -167
  40. package/lib/table/components/table-column.d.ts +1 -1
  41. package/lib/table/index.d.ts +1 -1
  42. package/lib/table/index.js +12 -12
  43. package/lib/table-column/index.d.ts +3 -3
  44. package/lib/table-column/index.js +13 -13
  45. package/package.json +1 -1
@@ -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.38",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",