bkui-vue 0.0.1-beta.95 → 0.0.1-beta.98

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
@@ -11900,7 +11900,8 @@ var Component$h = defineComponent({
11900
11900
  placeholder: PropTypes.string.def("\u8BF7\u9009\u62E9"),
11901
11901
  selectAllText: PropTypes.string.def("\u5168\u90E8"),
11902
11902
  scrollLoading: PropTypes.bool.def(false),
11903
- allowCreate: PropTypes.bool.def(false)
11903
+ allowCreate: PropTypes.bool.def(false),
11904
+ popoverOptions: PropTypes.object.def({})
11904
11905
  },
11905
11906
  emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end"],
11906
11907
  setup(props, {
@@ -12266,12 +12267,21 @@ var Component$h = defineComponent({
12266
12267
  [this.size]: true,
12267
12268
  [this.behavior]: true
12268
12269
  });
12269
- const modifiers = [{
12270
- name: "offset",
12271
- options: {
12272
- offset: [0, 4]
12273
- }
12274
- }];
12270
+ const popoverOptions = Object.assign({
12271
+ theme: "light bk-select-popover",
12272
+ trigger: "manual",
12273
+ width: this.popperWidth,
12274
+ arrow: false,
12275
+ placement: "bottom",
12276
+ isShow: this.isPopoverShow,
12277
+ modifiers: [{
12278
+ name: "offset",
12279
+ options: {
12280
+ offset: [0, 4]
12281
+ }
12282
+ }],
12283
+ handleFirstUpdate: this.onPopoverFirstUpdate
12284
+ }, this.popoverOptions);
12275
12285
  const suffixIcon = () => {
12276
12286
  if (this.loading) {
12277
12287
  return createVNode(BkLoading, {
@@ -12375,17 +12385,9 @@ var Component$h = defineComponent({
12375
12385
  };
12376
12386
  return withDirectives(createVNode("div", {
12377
12387
  "class": selectClass
12378
- }, [createVNode(BkPopover, {
12379
- "ref": "popoverRef",
12380
- "theme": "light",
12381
- "trigger": "manual",
12382
- "width": this.popperWidth,
12383
- "arrow": false,
12384
- "placement": "bottom",
12385
- "isShow": this.isPopoverShow,
12386
- "modifiers": modifiers,
12387
- "handleFirstUpdate": this.onPopoverFirstUpdate
12388
- }, {
12388
+ }, [createVNode(BkPopover, mergeProps({
12389
+ "ref": "popoverRef"
12390
+ }, popoverOptions), {
12389
12391
  default: () => renderSelectTrigger(),
12390
12392
  content: () => renderSelectContent()
12391
12393
  })]), [[resolveDirective("clickoutside"), this.handleClickOutside]]);
@@ -17396,6 +17398,10 @@ const NavigationProps = {
17396
17398
  type: [Number, String],
17397
17399
  default: 260
17398
17400
  },
17401
+ showSideNavTitle: {
17402
+ type: Boolean,
17403
+ default: true
17404
+ },
17399
17405
  sideTitle: {
17400
17406
  type: String,
17401
17407
  default: ""
@@ -17521,7 +17527,7 @@ var Component$8 = defineComponent({
17521
17527
  width: !this.nav.hover ? `${this.navWidth}px` : `${this.hoverWidth}px`,
17522
17528
  borderRight: this.navigationType !== "top-bottom" ? "none" : "1px solid #DCDEE5"
17523
17529
  }
17524
- }, [this.navigationType !== "top-bottom" && createVNode(NavigationTitle, {
17530
+ }, [this.navigationType !== "top-bottom" && this.showSideNavTitle && createVNode(NavigationTitle, {
17525
17531
  "style": {
17526
17532
  flexBasis: `${this.headHeight}px`
17527
17533
  },