bkui-vue 0.0.1-beta.349 → 0.0.1-beta.350

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
@@ -9699,10 +9699,10 @@ var Component$x = defineComponent({
9699
9699
  "step": props2.step,
9700
9700
  "max": props2.max,
9701
9701
  "min": props2.min
9702
- }, eventListener, bindProps.value), null), !isTextArea.value && props2.clearable && !!props2.modelValue && createVNode(close$1, {
9703
- "onClick": clear,
9704
- "class": clearCls.value
9705
- }, null), suffixIcon.value, typeof props2.maxlength === "number" && (props2.showWordLimit || isTextArea.value) && createVNode("p", {
9702
+ }, eventListener, bindProps.value), null), !isTextArea.value && props2.clearable && !!props2.modelValue && createVNode("span", {
9703
+ "class": clearCls.value,
9704
+ "onClick": clear
9705
+ }, [createVNode(close$1, null, null)]), suffixIcon.value, typeof props2.maxlength === "number" && (props2.showWordLimit || isTextArea.value) && createVNode("p", {
9706
9706
  "class": getCls("max-length")
9707
9707
  }, [((_d = props2.modelValue) != null ? _d : "").toString().length, createTextVNode("/"), createVNode("span", null, [ceilMaxLength.value])]), isNumberInput.value && props2.showControl && createVNode("div", {
9708
9708
  "class": getCls("number-control")
@@ -16365,7 +16365,7 @@ var SORT_OPTION = /* @__PURE__ */ ((SORT_OPTION2) => {
16365
16365
  return SORT_OPTION2;
16366
16366
  })(SORT_OPTION || {});
16367
16367
  const SORT_OPTIONS = ["asc", "desc", "null", "custom"];
16368
- const COL_MIN_WIDTH = 20;
16368
+ const COL_MIN_WIDTH = 80;
16369
16369
  var SortScope = /* @__PURE__ */ ((SortScope2) => {
16370
16370
  SortScope2["CURRENT"] = "current";
16371
16371
  SortScope2["ALL"] = "all";
@@ -16396,7 +16396,7 @@ const IColumnType = {
16396
16396
  field: PropTypes.oneOfType([PropTypes.func.def(() => ""), PropTypes.string.def("")]),
16397
16397
  render: PropTypes.oneOfType([PropTypes.func.def(() => ""), PropTypes.string.def("")]),
16398
16398
  width: PropTypes.oneOfType([PropTypes.number.def(void 0), PropTypes.string.def("auto")]),
16399
- minWidth: PropTypes.oneOfType([PropTypes.number.def(void 0), PropTypes.string.def("auto")]).def(),
16399
+ minWidth: PropTypes.oneOfType([PropTypes.number.def(void 0), PropTypes.string.def("auto")]).def(80),
16400
16400
  columnKey: PropTypes.string.def(""),
16401
16401
  showOverflowTooltip: PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({
16402
16402
  content: PropTypes.string.def(""),
@@ -19255,7 +19255,7 @@ var Component$e = defineComponent({
19255
19255
  var _a, _b;
19256
19256
  updateBorderClass(root.value);
19257
19257
  const offset2 = getColumnsWidthOffsetWidth();
19258
- checked.length && resolveColumnWidth(root.value, colgroups, 20, offset2);
19258
+ checked.length && resolveColumnWidth(root.value, colgroups, COL_MIN_WIDTH, offset2);
19259
19259
  (_b = (_a = refVirtualRender.value) == null ? void 0 : _a.reset) == null ? void 0 : _b.call(_a);
19260
19260
  ctx.emit(EMIT_EVENTS.SETTING_CHANGE, {
19261
19261
  checked,