element-assits 0.0.96 → 0.0.97

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1461,7 +1461,7 @@ var mx = function() {
1461
1461
  } } }, [t._v("\u5168\u9009")]), i("el-button", { attrs: { type: "text" }, on: { click: function(a) {
1462
1462
  return t.handleSelectAll(0);
1463
1463
  } } }, [t._v("\u53D6\u6D88\u5168\u9009")])], 1) : t._e(), t._t("before-option"), i("VirtualScroll", { ref: "vs", attrs: { options: t.options, "item-size": 34 }, scopedSlots: t._u([{ key: "item", fn: function({ item: a }) {
1464
- return [i("el-option", { key: a[t.endProps.value], attrs: { label: a[t.endProps.label], value: a[t.endProps.value] } }, [t.endProps.desc ? [i("span", { staticClass: "select-item-value", style: { maxWidth: t.endItemMaxWidth[0] + "px" }, attrs: { title: a[t.endProps.label] } }, [t._v(" " + t._s(a[t.endProps.label]) + " ")]), i("span", { staticClass: "select-item-desc", style: { maxWidth: t.endItemMaxWidth[1] + "px" }, attrs: { title: a[t.endProps.desc] } }, [t._v(" " + t._s(a[t.endProps.desc]) + " ")])] : t._e()], 2)];
1464
+ return [i("el-option", { key: a[t.endProps.value], attrs: { label: a[t.endProps.label], value: a[t.endProps.value], disabled: t.endProps.disabled && a[t.endProps.disabled] || !1 } }, [t.endProps.desc ? [i("span", { staticClass: "select-item-value", style: { maxWidth: t.endItemMaxWidth[0] + "px" }, attrs: { title: a[t.endProps.label] } }, [t._v(" " + t._s(a[t.endProps.label]) + " ")]), i("span", { staticClass: "select-item-desc", style: { maxWidth: t.endItemMaxWidth[1] + "px" }, attrs: { title: a[t.endProps.desc] } }, [t._v(" " + t._s(a[t.endProps.desc]) + " ")])] : t._e()], 2)];
1465
1465
  } }]) }), t._t("after-option")], 2), t.loading ? i("i", { staticClass: "el-icon-loading async-loading" }) : t._e()], 1);
1466
1466
  }, yx = [], bx = /* @__PURE__ */ j(
1467
1467
  vx,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",