bkui-vue 0.0.1-beta.190 → 0.0.1-beta.192

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/index.esm.js CHANGED
@@ -10147,6 +10147,7 @@ const propsMixin$1 = {
10147
10147
  draggable: PropTypes.bool.def(true),
10148
10148
  quickClose: PropTypes.bool.def(true),
10149
10149
  transfer: PropTypes.bool.def(false),
10150
+ zIndex: PropTypes.number,
10150
10151
  maxHeight: PropTypes.string,
10151
10152
  direction: PropTypes.string,
10152
10153
  title: PropTypes.string.def(""),
@@ -10209,7 +10210,7 @@ var Component$u = defineComponent({
10209
10210
  "background-color": "rgba(0,0,0,0)"
10210
10211
  };
10211
10212
  const appendStyle = this.showMask ? {} : hideMaskStyle;
10212
- bkPopIndexManager.show(this.$el, this.showMask, appendStyle, this.transfer);
10213
+ bkPopIndexManager.show(this.$el, this.showMask, appendStyle, this.transfer, this.zIndex);
10213
10214
  this.$emit("shown");
10214
10215
  this.$emit("quick-close", this.$el);
10215
10216
  this.$emit("quickClose", this.$el);
@@ -16107,7 +16108,8 @@ const IColumnType = {
16107
16108
  sort: PropTypes.oneOfType([
16108
16109
  PropTypes.shape({
16109
16110
  sortFn: PropTypes.func.def(void 0),
16110
- sortScope: PropTypes.commonType(Object.values(SortScope)).def("current")
16111
+ sortScope: PropTypes.commonType(Object.values(SortScope)).def("current"),
16112
+ value: PropTypes.string.def(null)
16111
16113
  }),
16112
16114
  PropTypes.bool,
16113
16115
  PropTypes.string
@@ -17280,9 +17282,13 @@ var HeadSort = defineComponent({
17280
17282
  setup(props2, {
17281
17283
  emit
17282
17284
  }) {
17283
- const sortType = ref("");
17285
+ var _a, _b;
17286
+ const {
17287
+ value = SortType.NULL
17288
+ } = (_b = (_a = props2.column) == null ? void 0 : _a.sort) != null ? _b : {};
17289
+ const sortType = ref(value);
17284
17290
  const hanldeSortClick = (e, type) => {
17285
- var _a, _b;
17291
+ var _a2, _b2;
17286
17292
  e.stopImmediatePropagation();
17287
17293
  e.stopPropagation();
17288
17294
  e.preventDefault();
@@ -17305,8 +17311,8 @@ var HeadSort = defineComponent({
17305
17311
  }
17306
17312
  return String.prototype.localeCompare.call(val0, val1);
17307
17313
  };
17308
- const sortFn = typeof ((_a = props2.column.sort) == null ? void 0 : _a.sortFn) === "function" ? (_b = props2.column.sort) == null ? void 0 : _b.sortFn : sortFn0;
17309
- const execFn = sortType.value === SortType.NULL ? () => true : (_a2, _b2) => sortFn(_a2, _b2) * (type === SortType.DESC ? -1 : 1);
17314
+ const sortFn = typeof ((_a2 = props2.column.sort) == null ? void 0 : _a2.sortFn) === "function" ? (_b2 = props2.column.sort) == null ? void 0 : _b2.sortFn : sortFn0;
17315
+ const execFn = sortType.value === SortType.NULL ? () => true : (_a3, _b3) => sortFn(_a3, _b3) * (type === SortType.DESC ? -1 : 1);
17310
17316
  emit("change", execFn, type);
17311
17317
  };
17312
17318
  return () => createVNode("span", {