@creatorsn/vfluent3 0.3.67 → 0.3.68

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/vfluent3.js CHANGED
@@ -12363,7 +12363,8 @@ const ho = /* @__PURE__ */ ye(Cm, [["render", Vm]]), Tm = {
12363
12363
  },
12364
12364
  methods: {
12365
12365
  stylesInit() {
12366
- this.styles.listContainer.borderRadius = `${this.borderRadius}px`, this.styles.listContainer.background = this.dropDownListBackground, this.styles.listContainer.top = this.showStatus.top, this.styles.listContainer.bottom = this.showStatus.bottom, this.styles.listContainer.height = this.showStatus.height, this.styles.listContainer.maxHeight = `${this.showStatus.maxHeight}px`, this.styles.listContainer.overflow = this.showStatus.overflow, this.styles.title.color = this.dropDownListForeground;
12366
+ const e = this.maxHeight !== "" && this.maxHeight !== void 0 && this.maxHeight !== null;
12367
+ this.styles.listContainer.borderRadius = `${this.borderRadius}px`, this.styles.listContainer.background = this.dropDownListBackground, this.styles.listContainer.top = this.showStatus.top, this.styles.listContainer.bottom = this.showStatus.bottom, this.styles.listContainer.height = this.showStatus.height, this.styles.listContainer.maxHeight = this.maxHeight, this.styles.listContainer.overflow = e ? "auto" : this.showStatus.overflow, this.styles.title.color = this.dropDownListForeground;
12367
12368
  },
12368
12369
  valueTrigger(e) {
12369
12370
  return typeof e == "function" ? e() : e;
@@ -12681,6 +12682,7 @@ const co = /* @__PURE__ */ ye(Tm, [["render", xm]]), Em = {
12681
12682
  "onUpdate:modelValue": s[2] || (s[2] = (n) => t.choosenValue = n),
12682
12683
  options: e.options,
12683
12684
  multiple: e.multiple,
12685
+ maxHeight: e.maxHeight,
12684
12686
  borderRadius: e.borderRadius,
12685
12687
  checkBoxBackground: e.checkBoxBackground,
12686
12688
  dropDownListForeground: e.dropDownListForeground,
@@ -12696,7 +12698,7 @@ const co = /* @__PURE__ */ ye(Tm, [["render", xm]]), Em = {
12696
12698
  })
12697
12699
  ]),
12698
12700
  _: 3
12699
- }, 8, ["modelValue", "options", "multiple", "borderRadius", "checkBoxBackground", "dropDownListForeground", "dropDownListBackground", "showStatus", "theme", "onChooseItem"]), [
12701
+ }, 8, ["modelValue", "options", "multiple", "maxHeight", "borderRadius", "checkBoxBackground", "dropDownListForeground", "dropDownListBackground", "showStatus", "theme", "onChooseItem"]), [
12700
12702
  [x, t.show.listContainer]
12701
12703
  ])
12702
12704
  ]),