@element-plus/nightly 0.0.20241114 → 0.0.20241116
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.full.js +22 -23
- package/dist/index.full.min.js +12 -12
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +12 -12
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +22 -23
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/pagination/src/components/next.mjs +19 -36
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next2.mjs +36 -19
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/table/src/table/style-helper.d.ts +0 -10
- package/es/components/table/src/table/style-helper.mjs +0 -14
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table.mjs +2 -5
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +0 -10
- package/es/components/tree-v2/src/tree-node.mjs +17 -1
- package/es/components/tree-v2/src/tree-node.mjs.map +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +12 -11
- package/es/components/tree-v2/src/tree.vue.d.ts +2 -0
- package/es/components/tree-v2/src/types.d.ts +3 -0
- package/es/components/tree-v2/src/virtual-tree.d.ts +3 -1
- package/es/components/tree-v2/src/virtual-tree.mjs +3 -1
- package/es/components/tree-v2/src/virtual-tree.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/pagination/src/components/next.js +19 -36
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next2.js +36 -19
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +0 -10
- package/lib/components/table/src/table/style-helper.js +0 -14
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table.js +2 -5
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +0 -10
- package/lib/components/tree-v2/src/tree-node.js +17 -1
- package/lib/components/tree-v2/src/tree-node.js.map +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +12 -11
- package/lib/components/tree-v2/src/tree.vue.d.ts +2 -0
- package/lib/components/tree-v2/src/types.d.ts +3 -0
- package/lib/components/tree-v2/src/virtual-tree.d.ts +3 -1
- package/lib/components/tree-v2/src/virtual-tree.js +3 -1
- package/lib/components/tree-v2/src/virtual-tree.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Element Plus v0.0.
|
1
|
+
/*! Element Plus v0.0.20241116 */
|
2
2
|
|
3
3
|
(function (global, factory) {
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
@@ -11567,7 +11567,7 @@
|
|
11567
11567
|
|
11568
11568
|
const ElConfigProvider = withInstall(ConfigProvider);
|
11569
11569
|
|
11570
|
-
const version$1 = "0.0.
|
11570
|
+
const version$1 = "0.0.20241116";
|
11571
11571
|
|
11572
11572
|
const makeInstaller = (components = []) => {
|
11573
11573
|
const install = (app, options) => {
|
@@ -46848,19 +46848,6 @@
|
|
46848
46848
|
height
|
46849
46849
|
};
|
46850
46850
|
});
|
46851
|
-
const tableInnerStyle = vue.computed(() => {
|
46852
|
-
if (props.height) {
|
46853
|
-
return {
|
46854
|
-
height: !Number.isNaN(Number(props.height)) ? `${props.height}px` : props.height
|
46855
|
-
};
|
46856
|
-
}
|
46857
|
-
if (props.maxHeight) {
|
46858
|
-
return {
|
46859
|
-
maxHeight: !Number.isNaN(Number(props.maxHeight)) ? `${props.maxHeight}px` : props.maxHeight
|
46860
|
-
};
|
46861
|
-
}
|
46862
|
-
return {};
|
46863
|
-
});
|
46864
46851
|
const scrollbarStyle = vue.computed(() => {
|
46865
46852
|
if (props.height) {
|
46866
46853
|
return {
|
@@ -46912,7 +46899,6 @@
|
|
46912
46899
|
tableBodyStyles,
|
46913
46900
|
tableLayout,
|
46914
46901
|
scrollbarViewStyle,
|
46915
|
-
tableInnerStyle,
|
46916
46902
|
scrollbarStyle
|
46917
46903
|
};
|
46918
46904
|
}
|
@@ -47149,7 +47135,6 @@
|
|
47149
47135
|
tableBodyStyles,
|
47150
47136
|
tableLayout,
|
47151
47137
|
scrollbarViewStyle,
|
47152
|
-
tableInnerStyle,
|
47153
47138
|
scrollbarStyle
|
47154
47139
|
} = useStyle(props, layout, store, table);
|
47155
47140
|
const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar$1();
|
@@ -47215,7 +47200,6 @@
|
|
47215
47200
|
computedEmptyText,
|
47216
47201
|
tableLayout,
|
47217
47202
|
scrollbarViewStyle,
|
47218
|
-
tableInnerStyle,
|
47219
47203
|
scrollbarStyle,
|
47220
47204
|
scrollBarRef,
|
47221
47205
|
scrollTo,
|
@@ -47257,8 +47241,7 @@
|
|
47257
47241
|
onMouseleave: _ctx.handleMouseLeave
|
47258
47242
|
}, [
|
47259
47243
|
vue.createElementVNode("div", {
|
47260
|
-
class: vue.normalizeClass(_ctx.ns.e("inner-wrapper"))
|
47261
|
-
style: vue.normalizeStyle(_ctx.tableInnerStyle)
|
47244
|
+
class: vue.normalizeClass(_ctx.ns.e("inner-wrapper"))
|
47262
47245
|
}, [
|
47263
47246
|
vue.createElementVNode("div", {
|
47264
47247
|
ref: "hiddenColumns",
|
@@ -47409,7 +47392,7 @@
|
|
47409
47392
|
key: 2,
|
47410
47393
|
class: vue.normalizeClass(_ctx.ns.e("border-left-patch"))
|
47411
47394
|
}, null, 2)) : vue.createCommentVNode("v-if", true)
|
47412
|
-
],
|
47395
|
+
], 2),
|
47413
47396
|
vue.withDirectives(vue.createElementVNode("div", {
|
47414
47397
|
ref: "resizeProxy",
|
47415
47398
|
class: vue.normalizeClass(_ctx.ns.e("column-resize-proxy"))
|
@@ -54291,6 +54274,7 @@
|
|
54291
54274
|
TreeOptionsEnum2["LABEL"] = "label";
|
54292
54275
|
TreeOptionsEnum2["CHILDREN"] = "children";
|
54293
54276
|
TreeOptionsEnum2["DISABLED"] = "disabled";
|
54277
|
+
TreeOptionsEnum2["CLASS"] = "";
|
54294
54278
|
return TreeOptionsEnum2;
|
54295
54279
|
})(TreeOptionsEnum || {});
|
54296
54280
|
var SetOperationEnum = /* @__PURE__ */ ((SetOperationEnum2) => {
|
@@ -54320,7 +54304,8 @@
|
|
54320
54304
|
children: "children" /* CHILDREN */,
|
54321
54305
|
label: "label" /* LABEL */,
|
54322
54306
|
disabled: "disabled" /* DISABLED */,
|
54323
|
-
value: "id" /* KEY
|
54307
|
+
value: "id" /* KEY */,
|
54308
|
+
class: "" /* CLASS */
|
54324
54309
|
})
|
54325
54310
|
},
|
54326
54311
|
highlightCurrent: {
|
@@ -54985,6 +54970,19 @@
|
|
54985
54970
|
var _a;
|
54986
54971
|
return (_a = tree == null ? void 0 : tree.props.icon) != null ? _a : caret_right_default;
|
54987
54972
|
});
|
54973
|
+
const getNodeClass = (node) => {
|
54974
|
+
const nodeClassFunc = tree == null ? void 0 : tree.props.props.class;
|
54975
|
+
if (!nodeClassFunc)
|
54976
|
+
return {};
|
54977
|
+
let className;
|
54978
|
+
if (isFunction$1(nodeClassFunc)) {
|
54979
|
+
const { data } = node;
|
54980
|
+
className = nodeClassFunc(data, node);
|
54981
|
+
} else {
|
54982
|
+
className = nodeClassFunc;
|
54983
|
+
}
|
54984
|
+
return isString$1(className) ? { [className]: true } : className;
|
54985
|
+
};
|
54988
54986
|
const handleClick = (e) => {
|
54989
54987
|
emit("click", props.node, e);
|
54990
54988
|
};
|
@@ -55014,7 +55012,8 @@
|
|
55014
55012
|
vue.unref(ns).is("expanded", _ctx.expanded),
|
55015
55013
|
vue.unref(ns).is("current", _ctx.current),
|
55016
55014
|
vue.unref(ns).is("focusable", !_ctx.disabled),
|
55017
|
-
vue.unref(ns).is("checked", !_ctx.disabled && _ctx.checked)
|
55015
|
+
vue.unref(ns).is("checked", !_ctx.disabled && _ctx.checked),
|
55016
|
+
getNodeClass(_ctx.node)
|
55018
55017
|
]),
|
55019
55018
|
role: "treeitem",
|
55020
55019
|
tabindex: "-1",
|