bkui-vue 0.0.1-beta.170 → 0.0.1-beta.171

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
@@ -24270,7 +24270,6 @@ var DateRangePanel = defineComponent({
24270
24270
  });
24271
24271
  },
24272
24272
  render() {
24273
- var _a, _b, _c;
24274
24273
  return createVNode("div", {
24275
24274
  "class": ["bk-picker-panel-body-wrapper", "bk-date-picker-with-range", this.shortcuts.length || this.$slots.shortcuts ? "bk-picker-panel-with-sidebar" : ""],
24276
24275
  "onMousedown": (e) => {
@@ -24408,7 +24407,7 @@ var DateRangePanel = defineComponent({
24408
24407
  }
24409
24408
  })() : ""]), [[vShow, !this.isTime]])]), this.hasShortcuts ? createVNode("div", {
24410
24409
  "class": "bk-picker-panel-sidebar"
24411
- }, [((_c = (_b = (_a = this.$slots).shortcuts) == null ? void 0 : _b.call(_a)) != null ? _c : this.shortcuts.length) ? createVNode("div", {
24410
+ }, [this.$slots.shortcuts ? typeof this.$slots.shortcuts === "function" ? this.$slots.shortcuts() : this.$slots.shortcuts : this.shortcuts.length ? createVNode("div", {
24412
24411
  "class": "bk-picker-panel-shortcuts"
24413
24412
  }, [this.shortcuts.map((item, index) => createVNode("div", {
24414
24413
  "key": index,