element-plus 2.2.13 → 2.2.14
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +292 -170
- package/dist/index.full.min.js +14 -14
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +15 -15
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +293 -171
- 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.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/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/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/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/carousel/index.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/src/index.mjs +9 -3
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/color-picker/src/index.mjs +2 -2
- package/es/components/color-picker/src/index.mjs.map +1 -1
- package/es/components/dialog/src/use-dialog.mjs +1 -1
- package/es/components/dialog/src/use-dialog.mjs.map +1 -1
- package/es/components/menu/src/menu.mjs +39 -17
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +6 -0
- package/es/components/pagination/src/components/next.d.ts +6 -0
- package/es/components/pagination/src/components/next.mjs +4 -0
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next.vue.d.ts +18 -1
- package/es/components/pagination/src/components/next2.mjs +2 -3
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.d.ts +6 -0
- package/es/components/pagination/src/components/prev.mjs +4 -0
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
- package/es/components/pagination/src/components/prev2.mjs +2 -3
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.d.ts +8 -0
- package/es/components/pagination/src/pagination.mjs +12 -0
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/popover/src/popover2.mjs +1 -1
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/select/src/useOption.mjs +2 -2
- package/es/components/select/src/useOption.mjs.map +1 -1
- package/es/components/select/src/useSelect.mjs +2 -2
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/slider/src/composables/use-marks.mjs +1 -1
- package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
- package/es/components/slot/src/only-child.mjs +3 -1
- package/es/components/slot/src/only-child.mjs.map +1 -1
- package/es/components/switch/src/switch2.mjs +2 -1
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +3 -3
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/render-helper.mjs +1 -1
- package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
- package/es/components/tree/src/model/node.mjs +3 -3
- package/es/components/tree/src/model/node.mjs.map +1 -1
- package/es/components/virtual-list/src/builders/build-list.mjs +3 -3
- package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
- package/es/hooks/use-id/index.mjs +4 -1
- package/es/hooks/use-id/index.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/carousel/index.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/src/index.js +9 -3
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/color-picker/src/index.js +2 -2
- package/lib/components/color-picker/src/index.js.map +1 -1
- package/lib/components/dialog/src/use-dialog.js +1 -1
- package/lib/components/dialog/src/use-dialog.js.map +1 -1
- package/lib/components/menu/src/menu.js +39 -17
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/pagination/index.d.ts +6 -0
- package/lib/components/pagination/src/components/next.d.ts +6 -0
- package/lib/components/pagination/src/components/next.js +4 -0
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
- package/lib/components/pagination/src/components/next2.js +1 -2
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.d.ts +6 -0
- package/lib/components/pagination/src/components/prev.js +4 -0
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
- package/lib/components/pagination/src/components/prev2.js +1 -2
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/pagination.d.ts +8 -0
- package/lib/components/pagination/src/pagination.js +12 -0
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/popover/src/popover2.js +1 -1
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/select/src/useOption.js +1 -1
- package/lib/components/select/src/useOption.js.map +1 -1
- package/lib/components/select/src/useSelect.js +1 -1
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/slider/src/composables/use-marks.js +1 -1
- package/lib/components/slider/src/composables/use-marks.js.map +1 -1
- package/lib/components/slot/src/only-child.js +3 -1
- package/lib/components/slot/src/only-child.js.map +1 -1
- package/lib/components/switch/src/switch2.js +2 -1
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +3 -3
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-body/render-helper.js +1 -1
- package/lib/components/table/src/table-body/render-helper.js.map +1 -1
- package/lib/components/tree/src/model/node.js +3 -3
- package/lib/components/tree/src/model/node.js.map +1 -1
- package/lib/components/virtual-list/src/builders/build-list.js +2 -2
- package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
- package/lib/hooks/use-id/index.js +4 -1
- package/lib/hooks/use-id/index.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 +3 -3
- package/tags.json +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/input.scss +1 -0
- package/theme-chalk/src/select/common.scss +3 -5
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.2.
|
|
1
|
+
/*! Element Plus v2.2.14 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
function identity(value) {
|
|
205
|
+
function identity$1(value) {
|
|
206
206
|
return value;
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
|
|
273
273
|
var metaMap = WeakMap && new WeakMap();
|
|
274
274
|
|
|
275
|
-
var baseSetData = !metaMap ? identity : function(func, data) {
|
|
275
|
+
var baseSetData = !metaMap ? identity$1 : function(func, data) {
|
|
276
276
|
metaMap.set(func, data);
|
|
277
277
|
return func;
|
|
278
278
|
};
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
}
|
|
542
542
|
}();
|
|
543
543
|
|
|
544
|
-
var baseSetToString = !defineProperty ? identity : function(func, string) {
|
|
544
|
+
var baseSetToString = !defineProperty ? identity$1 : function(func, string) {
|
|
545
545
|
return defineProperty(func, "toString", {
|
|
546
546
|
"configurable": true,
|
|
547
547
|
"enumerable": false,
|
|
@@ -957,7 +957,7 @@
|
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
function baseRest(func, start) {
|
|
960
|
-
return setToString(overRest(func, start, identity), func + "");
|
|
960
|
+
return setToString(overRest(func, start, identity$1), func + "");
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
var MAX_SAFE_INTEGER$4 = 9007199254740991;
|
|
@@ -2867,7 +2867,7 @@
|
|
|
2867
2867
|
return value;
|
|
2868
2868
|
}
|
|
2869
2869
|
if (value == null) {
|
|
2870
|
-
return identity;
|
|
2870
|
+
return identity$1;
|
|
2871
2871
|
}
|
|
2872
2872
|
if (typeof value == "object") {
|
|
2873
2873
|
return isArray$1(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
|
|
@@ -3372,7 +3372,7 @@
|
|
|
3372
3372
|
}
|
|
3373
3373
|
|
|
3374
3374
|
function castFunction(value) {
|
|
3375
|
-
return typeof value == "function" ? value : identity;
|
|
3375
|
+
return typeof value == "function" ? value : identity$1;
|
|
3376
3376
|
}
|
|
3377
3377
|
|
|
3378
3378
|
function forEach(collection, iteratee) {
|
|
@@ -3935,7 +3935,7 @@
|
|
|
3935
3935
|
value = nativeObjectToString$1.call(value);
|
|
3936
3936
|
}
|
|
3937
3937
|
result[value] = key;
|
|
3938
|
-
}, constant(identity));
|
|
3938
|
+
}, constant(identity$1));
|
|
3939
3939
|
|
|
3940
3940
|
var objectProto$4 = Object.prototype;
|
|
3941
3941
|
var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
|
|
@@ -4205,7 +4205,7 @@
|
|
|
4205
4205
|
}
|
|
4206
4206
|
|
|
4207
4207
|
function max$3(array) {
|
|
4208
|
-
return array && array.length ? baseExtremum(array, identity, baseGt) : void 0;
|
|
4208
|
+
return array && array.length ? baseExtremum(array, identity$1, baseGt) : void 0;
|
|
4209
4209
|
}
|
|
4210
4210
|
|
|
4211
4211
|
function maxBy(array, iteratee) {
|
|
@@ -4230,7 +4230,7 @@
|
|
|
4230
4230
|
}
|
|
4231
4231
|
|
|
4232
4232
|
function mean(array) {
|
|
4233
|
-
return baseMean(array, identity);
|
|
4233
|
+
return baseMean(array, identity$1);
|
|
4234
4234
|
}
|
|
4235
4235
|
|
|
4236
4236
|
function meanBy(array, iteratee) {
|
|
@@ -4254,7 +4254,7 @@
|
|
|
4254
4254
|
});
|
|
4255
4255
|
|
|
4256
4256
|
function min$3(array) {
|
|
4257
|
-
return array && array.length ? baseExtremum(array, identity, baseLt) : void 0;
|
|
4257
|
+
return array && array.length ? baseExtremum(array, identity$1, baseLt) : void 0;
|
|
4258
4258
|
}
|
|
4259
4259
|
|
|
4260
4260
|
function minBy(array, iteratee) {
|
|
@@ -4501,7 +4501,7 @@
|
|
|
4501
4501
|
return iteratee;
|
|
4502
4502
|
});
|
|
4503
4503
|
} else {
|
|
4504
|
-
iteratees = [identity];
|
|
4504
|
+
iteratees = [identity$1];
|
|
4505
4505
|
}
|
|
4506
4506
|
var index = -1;
|
|
4507
4507
|
iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
|
|
@@ -5156,7 +5156,7 @@
|
|
|
5156
5156
|
}
|
|
5157
5157
|
return high;
|
|
5158
5158
|
}
|
|
5159
|
-
return baseSortedIndexBy(array, value, identity, retHighest);
|
|
5159
|
+
return baseSortedIndexBy(array, value, identity$1, retHighest);
|
|
5160
5160
|
}
|
|
5161
5161
|
|
|
5162
5162
|
function sortedIndex(array, value) {
|
|
@@ -5280,7 +5280,7 @@
|
|
|
5280
5280
|
}, 0);
|
|
5281
5281
|
|
|
5282
5282
|
function sum$1(array) {
|
|
5283
|
-
return array && array.length ? baseSum(array, identity) : 0;
|
|
5283
|
+
return array && array.length ? baseSum(array, identity$1) : 0;
|
|
5284
5284
|
}
|
|
5285
5285
|
|
|
5286
5286
|
function sumBy(array, iteratee) {
|
|
@@ -6207,7 +6207,7 @@
|
|
|
6207
6207
|
defaultTo,
|
|
6208
6208
|
flow,
|
|
6209
6209
|
flowRight,
|
|
6210
|
-
identity,
|
|
6210
|
+
identity: identity$1,
|
|
6211
6211
|
iteratee,
|
|
6212
6212
|
matches,
|
|
6213
6213
|
matchesProperty,
|
|
@@ -6526,7 +6526,7 @@
|
|
|
6526
6526
|
lodash.has = object.has;
|
|
6527
6527
|
lodash.hasIn = object.hasIn;
|
|
6528
6528
|
lodash.head = array.head;
|
|
6529
|
-
lodash.identity = identity;
|
|
6529
|
+
lodash.identity = identity$1;
|
|
6530
6530
|
lodash.includes = collection.includes;
|
|
6531
6531
|
lodash.indexOf = array.indexOf;
|
|
6532
6532
|
lodash.inRange = number.inRange;
|
|
@@ -6695,7 +6695,7 @@
|
|
|
6695
6695
|
};
|
|
6696
6696
|
});
|
|
6697
6697
|
LazyWrapper.prototype.compact = function() {
|
|
6698
|
-
return this.filter(identity);
|
|
6698
|
+
return this.filter(identity$1);
|
|
6699
6699
|
};
|
|
6700
6700
|
LazyWrapper.prototype.find = function(predicate) {
|
|
6701
6701
|
return this.filter(predicate).head();
|
|
@@ -6891,44 +6891,36 @@
|
|
|
6891
6891
|
return (e) => e.pointerType === "mouse" ? handler(e) : void 0;
|
|
6892
6892
|
};
|
|
6893
6893
|
|
|
6894
|
-
var __defProp$
|
|
6895
|
-
var __defProps$
|
|
6896
|
-
var __getOwnPropDescs$
|
|
6897
|
-
var __getOwnPropSymbols$
|
|
6898
|
-
var __hasOwnProp$
|
|
6899
|
-
var __propIsEnum$
|
|
6900
|
-
var __defNormalProp$
|
|
6901
|
-
var __spreadValues$
|
|
6894
|
+
var __defProp$9 = Object.defineProperty;
|
|
6895
|
+
var __defProps$6 = Object.defineProperties;
|
|
6896
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
6897
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
6898
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
6899
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
6900
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6901
|
+
var __spreadValues$9 = (a, b) => {
|
|
6902
6902
|
for (var prop in b || (b = {}))
|
|
6903
|
-
if (__hasOwnProp$
|
|
6904
|
-
__defNormalProp$
|
|
6905
|
-
if (__getOwnPropSymbols$
|
|
6906
|
-
for (var prop of __getOwnPropSymbols$
|
|
6907
|
-
if (__propIsEnum$
|
|
6908
|
-
__defNormalProp$
|
|
6903
|
+
if (__hasOwnProp$b.call(b, prop))
|
|
6904
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
6905
|
+
if (__getOwnPropSymbols$b)
|
|
6906
|
+
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
6907
|
+
if (__propIsEnum$b.call(b, prop))
|
|
6908
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
6909
6909
|
}
|
|
6910
6910
|
return a;
|
|
6911
6911
|
};
|
|
6912
|
-
var __spreadProps$
|
|
6912
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
6913
6913
|
function computedEager(fn, options) {
|
|
6914
6914
|
var _a;
|
|
6915
6915
|
const result = vue.shallowRef();
|
|
6916
6916
|
vue.watchEffect(() => {
|
|
6917
6917
|
result.value = fn();
|
|
6918
|
-
}, __spreadProps$
|
|
6918
|
+
}, __spreadProps$6(__spreadValues$9({}, options), {
|
|
6919
6919
|
flush: (_a = options == null ? void 0 : options.flush) != null ? _a : "sync"
|
|
6920
6920
|
}));
|
|
6921
6921
|
return vue.readonly(result);
|
|
6922
6922
|
}
|
|
6923
6923
|
|
|
6924
|
-
function tryOnScopeDispose(fn) {
|
|
6925
|
-
if (vue.getCurrentScope()) {
|
|
6926
|
-
vue.onScopeDispose(fn);
|
|
6927
|
-
return true;
|
|
6928
|
-
}
|
|
6929
|
-
return false;
|
|
6930
|
-
}
|
|
6931
|
-
|
|
6932
6924
|
var _a;
|
|
6933
6925
|
const isClient = typeof window !== "undefined";
|
|
6934
6926
|
const isDef = (val) => typeof val !== "undefined";
|
|
@@ -6939,6 +6931,10 @@
|
|
|
6939
6931
|
};
|
|
6940
6932
|
isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
6941
6933
|
|
|
6934
|
+
function resolveUnref(r) {
|
|
6935
|
+
return typeof r === "function" ? r() : vue.unref(r);
|
|
6936
|
+
}
|
|
6937
|
+
|
|
6942
6938
|
function createFilterWrapper(filter, fn) {
|
|
6943
6939
|
function wrapper(...args) {
|
|
6944
6940
|
filter(() => fn.apply(this, args), { fn, thisArg: this, args });
|
|
@@ -6949,8 +6945,8 @@
|
|
|
6949
6945
|
let timer;
|
|
6950
6946
|
let maxTimer;
|
|
6951
6947
|
const filter = (invoke) => {
|
|
6952
|
-
const duration =
|
|
6953
|
-
const maxDuration =
|
|
6948
|
+
const duration = resolveUnref(ms);
|
|
6949
|
+
const maxDuration = resolveUnref(options.maxWait);
|
|
6954
6950
|
if (timer)
|
|
6955
6951
|
clearTimeout(timer);
|
|
6956
6952
|
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
@@ -6988,7 +6984,7 @@
|
|
|
6988
6984
|
}
|
|
6989
6985
|
};
|
|
6990
6986
|
const filter = (invoke) => {
|
|
6991
|
-
const duration =
|
|
6987
|
+
const duration = resolveUnref(ms);
|
|
6992
6988
|
const elapsed = Date.now() - lastExec;
|
|
6993
6989
|
clear();
|
|
6994
6990
|
if (duration <= 0) {
|
|
@@ -7012,6 +7008,17 @@
|
|
|
7012
7008
|
};
|
|
7013
7009
|
return filter;
|
|
7014
7010
|
}
|
|
7011
|
+
function identity(arg) {
|
|
7012
|
+
return arg;
|
|
7013
|
+
}
|
|
7014
|
+
|
|
7015
|
+
function tryOnScopeDispose(fn) {
|
|
7016
|
+
if (vue.getCurrentScope()) {
|
|
7017
|
+
vue.onScopeDispose(fn);
|
|
7018
|
+
return true;
|
|
7019
|
+
}
|
|
7020
|
+
return false;
|
|
7021
|
+
}
|
|
7015
7022
|
|
|
7016
7023
|
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
7017
7024
|
return createFilterWrapper(debounceFilter(ms, options), fn);
|
|
@@ -7028,7 +7035,7 @@
|
|
|
7028
7035
|
return debounced;
|
|
7029
7036
|
}
|
|
7030
7037
|
|
|
7031
|
-
function useThrottleFn(fn, ms = 200, trailing =
|
|
7038
|
+
function useThrottleFn(fn, ms = 200, trailing = false, leading = true) {
|
|
7032
7039
|
return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);
|
|
7033
7040
|
}
|
|
7034
7041
|
|
|
@@ -7064,7 +7071,7 @@
|
|
|
7064
7071
|
isPending.value = false;
|
|
7065
7072
|
timer = null;
|
|
7066
7073
|
cb(...args);
|
|
7067
|
-
},
|
|
7074
|
+
}, resolveUnref(interval));
|
|
7068
7075
|
}
|
|
7069
7076
|
if (immediate) {
|
|
7070
7077
|
isPending.value = true;
|
|
@@ -7081,7 +7088,7 @@
|
|
|
7081
7088
|
|
|
7082
7089
|
function unrefElement(elRef) {
|
|
7083
7090
|
var _a;
|
|
7084
|
-
const plain =
|
|
7091
|
+
const plain = resolveUnref(elRef);
|
|
7085
7092
|
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
7086
7093
|
}
|
|
7087
7094
|
|
|
@@ -7121,7 +7128,7 @@
|
|
|
7121
7128
|
}
|
|
7122
7129
|
|
|
7123
7130
|
function onClickOutside(target, handler, options = {}) {
|
|
7124
|
-
const { window = defaultWindow, ignore, capture = true } = options;
|
|
7131
|
+
const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;
|
|
7125
7132
|
if (!window)
|
|
7126
7133
|
return;
|
|
7127
7134
|
const shouldListen = vue.ref(true);
|
|
@@ -7153,12 +7160,26 @@
|
|
|
7153
7160
|
e.composedPath = () => path;
|
|
7154
7161
|
fallback = window.setTimeout(() => listener(e), 50);
|
|
7155
7162
|
}
|
|
7156
|
-
}, { passive: true })
|
|
7157
|
-
|
|
7163
|
+
}, { passive: true }),
|
|
7164
|
+
detectIframe && useEventListener(window, "blur", (event) => {
|
|
7165
|
+
var _a;
|
|
7166
|
+
const el = unrefElement(target);
|
|
7167
|
+
if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(document.activeElement)))
|
|
7168
|
+
handler(event);
|
|
7169
|
+
})
|
|
7170
|
+
].filter(Boolean);
|
|
7158
7171
|
const stop = () => cleanup.forEach((fn) => fn());
|
|
7159
7172
|
return stop;
|
|
7160
7173
|
}
|
|
7161
7174
|
|
|
7175
|
+
function useSupported(callback, sync = false) {
|
|
7176
|
+
const isSupported = vue.ref();
|
|
7177
|
+
const update = () => isSupported.value = Boolean(callback());
|
|
7178
|
+
update();
|
|
7179
|
+
tryOnMounted(update, sync);
|
|
7180
|
+
return isSupported;
|
|
7181
|
+
}
|
|
7182
|
+
|
|
7162
7183
|
const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
7163
7184
|
const globalKey = "__vueuse_ssr_handlers__";
|
|
7164
7185
|
_global[globalKey] = _global[globalKey] || {};
|
|
@@ -7174,17 +7195,17 @@
|
|
|
7174
7195
|
return visibility;
|
|
7175
7196
|
}
|
|
7176
7197
|
|
|
7177
|
-
var __getOwnPropSymbols$
|
|
7178
|
-
var __hasOwnProp$
|
|
7179
|
-
var __propIsEnum$
|
|
7198
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
7199
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
7200
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
7180
7201
|
var __objRest$2 = (source, exclude) => {
|
|
7181
7202
|
var target = {};
|
|
7182
7203
|
for (var prop in source)
|
|
7183
|
-
if (__hasOwnProp$
|
|
7204
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
7184
7205
|
target[prop] = source[prop];
|
|
7185
|
-
if (source != null && __getOwnPropSymbols$
|
|
7186
|
-
for (var prop of __getOwnPropSymbols$
|
|
7187
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7206
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
7207
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
7208
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
7188
7209
|
target[prop] = source[prop];
|
|
7189
7210
|
}
|
|
7190
7211
|
return target;
|
|
@@ -7192,7 +7213,7 @@
|
|
|
7192
7213
|
function useResizeObserver(target, callback, options = {}) {
|
|
7193
7214
|
const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, ["window"]);
|
|
7194
7215
|
let observer;
|
|
7195
|
-
const isSupported = window && "ResizeObserver" in window;
|
|
7216
|
+
const isSupported = useSupported(() => window && "ResizeObserver" in window);
|
|
7196
7217
|
const cleanup = () => {
|
|
7197
7218
|
if (observer) {
|
|
7198
7219
|
observer.disconnect();
|
|
@@ -7201,7 +7222,7 @@
|
|
|
7201
7222
|
};
|
|
7202
7223
|
const stopWatch = vue.watch(() => unrefElement(target), (el) => {
|
|
7203
7224
|
cleanup();
|
|
7204
|
-
if (isSupported && window && el) {
|
|
7225
|
+
if (isSupported.value && window && el) {
|
|
7205
7226
|
observer = new ResizeObserver(callback);
|
|
7206
7227
|
observer.observe(el, observerOptions);
|
|
7207
7228
|
}
|
|
@@ -7289,8 +7310,54 @@
|
|
|
7289
7310
|
SwipeDirection2["NONE"] = "NONE";
|
|
7290
7311
|
})(SwipeDirection || (SwipeDirection = {}));
|
|
7291
7312
|
|
|
7313
|
+
var __defProp = Object.defineProperty;
|
|
7314
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7315
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7316
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7317
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7318
|
+
var __spreadValues = (a, b) => {
|
|
7319
|
+
for (var prop in b || (b = {}))
|
|
7320
|
+
if (__hasOwnProp.call(b, prop))
|
|
7321
|
+
__defNormalProp(a, prop, b[prop]);
|
|
7322
|
+
if (__getOwnPropSymbols)
|
|
7323
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
7324
|
+
if (__propIsEnum.call(b, prop))
|
|
7325
|
+
__defNormalProp(a, prop, b[prop]);
|
|
7326
|
+
}
|
|
7327
|
+
return a;
|
|
7328
|
+
};
|
|
7329
|
+
const _TransitionPresets = {
|
|
7330
|
+
easeInSine: [0.12, 0, 0.39, 0],
|
|
7331
|
+
easeOutSine: [0.61, 1, 0.88, 1],
|
|
7332
|
+
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
7333
|
+
easeInQuad: [0.11, 0, 0.5, 0],
|
|
7334
|
+
easeOutQuad: [0.5, 1, 0.89, 1],
|
|
7335
|
+
easeInOutQuad: [0.45, 0, 0.55, 1],
|
|
7336
|
+
easeInCubic: [0.32, 0, 0.67, 0],
|
|
7337
|
+
easeOutCubic: [0.33, 1, 0.68, 1],
|
|
7338
|
+
easeInOutCubic: [0.65, 0, 0.35, 1],
|
|
7339
|
+
easeInQuart: [0.5, 0, 0.75, 0],
|
|
7340
|
+
easeOutQuart: [0.25, 1, 0.5, 1],
|
|
7341
|
+
easeInOutQuart: [0.76, 0, 0.24, 1],
|
|
7342
|
+
easeInQuint: [0.64, 0, 0.78, 0],
|
|
7343
|
+
easeOutQuint: [0.22, 1, 0.36, 1],
|
|
7344
|
+
easeInOutQuint: [0.83, 0, 0.17, 1],
|
|
7345
|
+
easeInExpo: [0.7, 0, 0.84, 0],
|
|
7346
|
+
easeOutExpo: [0.16, 1, 0.3, 1],
|
|
7347
|
+
easeInOutExpo: [0.87, 0, 0.13, 1],
|
|
7348
|
+
easeInCirc: [0.55, 0, 1, 0.45],
|
|
7349
|
+
easeOutCirc: [0, 0.55, 0.45, 1],
|
|
7350
|
+
easeInOutCirc: [0.85, 0, 0.15, 1],
|
|
7351
|
+
easeInBack: [0.36, 0, 0.66, -0.56],
|
|
7352
|
+
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
7353
|
+
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
7354
|
+
};
|
|
7355
|
+
__spreadValues({
|
|
7356
|
+
linear: identity
|
|
7357
|
+
}, _TransitionPresets);
|
|
7358
|
+
|
|
7292
7359
|
function useVModel(props, key, emit, options = {}) {
|
|
7293
|
-
var _a;
|
|
7360
|
+
var _a, _b, _c;
|
|
7294
7361
|
const {
|
|
7295
7362
|
passive = false,
|
|
7296
7363
|
eventName,
|
|
@@ -7298,7 +7365,7 @@
|
|
|
7298
7365
|
defaultValue
|
|
7299
7366
|
} = options;
|
|
7300
7367
|
const vm = vue.getCurrentInstance();
|
|
7301
|
-
const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm));
|
|
7368
|
+
const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
|
|
7302
7369
|
let event = eventName;
|
|
7303
7370
|
if (!key) {
|
|
7304
7371
|
{
|
|
@@ -7342,7 +7409,13 @@
|
|
|
7342
7409
|
return focused;
|
|
7343
7410
|
}
|
|
7344
7411
|
|
|
7345
|
-
function useWindowSize(
|
|
7412
|
+
function useWindowSize(options = {}) {
|
|
7413
|
+
const {
|
|
7414
|
+
window = defaultWindow,
|
|
7415
|
+
initialWidth = Infinity,
|
|
7416
|
+
initialHeight = Infinity,
|
|
7417
|
+
listenOrientation = true
|
|
7418
|
+
} = options;
|
|
7346
7419
|
const width = vue.ref(initialWidth);
|
|
7347
7420
|
const height = vue.ref(initialHeight);
|
|
7348
7421
|
const update = () => {
|
|
@@ -7354,6 +7427,8 @@
|
|
|
7354
7427
|
update();
|
|
7355
7428
|
tryOnMounted(update);
|
|
7356
7429
|
useEventListener("resize", update, { passive: true });
|
|
7430
|
+
if (listenOrientation)
|
|
7431
|
+
useEventListener("orientationchange", update, { passive: true });
|
|
7357
7432
|
return { width, height };
|
|
7358
7433
|
}
|
|
7359
7434
|
|
|
@@ -8839,6 +8914,72 @@
|
|
|
8839
8914
|
};
|
|
8840
8915
|
};
|
|
8841
8916
|
|
|
8917
|
+
const defaultNamespace = "el";
|
|
8918
|
+
const statePrefix = "is-";
|
|
8919
|
+
const _bem = (namespace, block, blockSuffix, element, modifier) => {
|
|
8920
|
+
let cls = `${namespace}-${block}`;
|
|
8921
|
+
if (blockSuffix) {
|
|
8922
|
+
cls += `-${blockSuffix}`;
|
|
8923
|
+
}
|
|
8924
|
+
if (element) {
|
|
8925
|
+
cls += `__${element}`;
|
|
8926
|
+
}
|
|
8927
|
+
if (modifier) {
|
|
8928
|
+
cls += `--${modifier}`;
|
|
8929
|
+
}
|
|
8930
|
+
return cls;
|
|
8931
|
+
};
|
|
8932
|
+
const useNamespace = (block) => {
|
|
8933
|
+
const globalConfig = useGlobalConfig("namespace");
|
|
8934
|
+
const namespace = vue.computed(() => globalConfig.value || defaultNamespace);
|
|
8935
|
+
const b = (blockSuffix = "") => _bem(vue.unref(namespace), block, blockSuffix, "", "");
|
|
8936
|
+
const e = (element) => element ? _bem(vue.unref(namespace), block, "", element, "") : "";
|
|
8937
|
+
const m = (modifier) => modifier ? _bem(vue.unref(namespace), block, "", "", modifier) : "";
|
|
8938
|
+
const be = (blockSuffix, element) => blockSuffix && element ? _bem(vue.unref(namespace), block, blockSuffix, element, "") : "";
|
|
8939
|
+
const em = (element, modifier) => element && modifier ? _bem(vue.unref(namespace), block, "", element, modifier) : "";
|
|
8940
|
+
const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(vue.unref(namespace), block, blockSuffix, "", modifier) : "";
|
|
8941
|
+
const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(vue.unref(namespace), block, blockSuffix, element, modifier) : "";
|
|
8942
|
+
const is = (name, ...args) => {
|
|
8943
|
+
const state = args.length >= 1 ? args[0] : true;
|
|
8944
|
+
return name && state ? `${statePrefix}${name}` : "";
|
|
8945
|
+
};
|
|
8946
|
+
const cssVar = (object) => {
|
|
8947
|
+
const styles = {};
|
|
8948
|
+
for (const key in object) {
|
|
8949
|
+
if (object[key]) {
|
|
8950
|
+
styles[`--${namespace.value}-${key}`] = object[key];
|
|
8951
|
+
}
|
|
8952
|
+
}
|
|
8953
|
+
return styles;
|
|
8954
|
+
};
|
|
8955
|
+
const cssVarBlock = (object) => {
|
|
8956
|
+
const styles = {};
|
|
8957
|
+
for (const key in object) {
|
|
8958
|
+
if (object[key]) {
|
|
8959
|
+
styles[`--${namespace.value}-${block}-${key}`] = object[key];
|
|
8960
|
+
}
|
|
8961
|
+
}
|
|
8962
|
+
return styles;
|
|
8963
|
+
};
|
|
8964
|
+
const cssVarName = (name) => `--${namespace.value}-${name}`;
|
|
8965
|
+
const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
|
|
8966
|
+
return {
|
|
8967
|
+
namespace,
|
|
8968
|
+
b,
|
|
8969
|
+
e,
|
|
8970
|
+
m,
|
|
8971
|
+
be,
|
|
8972
|
+
em,
|
|
8973
|
+
bm,
|
|
8974
|
+
bem,
|
|
8975
|
+
is,
|
|
8976
|
+
cssVar,
|
|
8977
|
+
cssVarName,
|
|
8978
|
+
cssVarBlock,
|
|
8979
|
+
cssVarBlockName
|
|
8980
|
+
};
|
|
8981
|
+
};
|
|
8982
|
+
|
|
8842
8983
|
const defaultIdInjection = {
|
|
8843
8984
|
prefix: Math.floor(Math.random() * 1e4),
|
|
8844
8985
|
current: 0
|
|
@@ -8846,7 +8987,8 @@
|
|
|
8846
8987
|
const ID_INJECTION_KEY = Symbol("elIdInjection");
|
|
8847
8988
|
const useId = (deterministicId) => {
|
|
8848
8989
|
const idInjection = vue.inject(ID_INJECTION_KEY, defaultIdInjection);
|
|
8849
|
-
const
|
|
8990
|
+
const namespace = useGlobalConfig("namespace", defaultNamespace);
|
|
8991
|
+
const idRef = vue.computed(() => vue.unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
|
|
8850
8992
|
return idRef;
|
|
8851
8993
|
};
|
|
8852
8994
|
|
|
@@ -9287,72 +9429,6 @@
|
|
|
9287
9429
|
return cRef;
|
|
9288
9430
|
}
|
|
9289
9431
|
|
|
9290
|
-
const defaultNamespace = "el";
|
|
9291
|
-
const statePrefix = "is-";
|
|
9292
|
-
const _bem = (namespace, block, blockSuffix, element, modifier) => {
|
|
9293
|
-
let cls = `${namespace}-${block}`;
|
|
9294
|
-
if (blockSuffix) {
|
|
9295
|
-
cls += `-${blockSuffix}`;
|
|
9296
|
-
}
|
|
9297
|
-
if (element) {
|
|
9298
|
-
cls += `__${element}`;
|
|
9299
|
-
}
|
|
9300
|
-
if (modifier) {
|
|
9301
|
-
cls += `--${modifier}`;
|
|
9302
|
-
}
|
|
9303
|
-
return cls;
|
|
9304
|
-
};
|
|
9305
|
-
const useNamespace = (block) => {
|
|
9306
|
-
const globalConfig = useGlobalConfig("namespace");
|
|
9307
|
-
const namespace = vue.computed(() => globalConfig.value || defaultNamespace);
|
|
9308
|
-
const b = (blockSuffix = "") => _bem(vue.unref(namespace), block, blockSuffix, "", "");
|
|
9309
|
-
const e = (element) => element ? _bem(vue.unref(namespace), block, "", element, "") : "";
|
|
9310
|
-
const m = (modifier) => modifier ? _bem(vue.unref(namespace), block, "", "", modifier) : "";
|
|
9311
|
-
const be = (blockSuffix, element) => blockSuffix && element ? _bem(vue.unref(namespace), block, blockSuffix, element, "") : "";
|
|
9312
|
-
const em = (element, modifier) => element && modifier ? _bem(vue.unref(namespace), block, "", element, modifier) : "";
|
|
9313
|
-
const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(vue.unref(namespace), block, blockSuffix, "", modifier) : "";
|
|
9314
|
-
const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(vue.unref(namespace), block, blockSuffix, element, modifier) : "";
|
|
9315
|
-
const is = (name, ...args) => {
|
|
9316
|
-
const state = args.length >= 1 ? args[0] : true;
|
|
9317
|
-
return name && state ? `${statePrefix}${name}` : "";
|
|
9318
|
-
};
|
|
9319
|
-
const cssVar = (object) => {
|
|
9320
|
-
const styles = {};
|
|
9321
|
-
for (const key in object) {
|
|
9322
|
-
if (object[key]) {
|
|
9323
|
-
styles[`--${namespace.value}-${key}`] = object[key];
|
|
9324
|
-
}
|
|
9325
|
-
}
|
|
9326
|
-
return styles;
|
|
9327
|
-
};
|
|
9328
|
-
const cssVarBlock = (object) => {
|
|
9329
|
-
const styles = {};
|
|
9330
|
-
for (const key in object) {
|
|
9331
|
-
if (object[key]) {
|
|
9332
|
-
styles[`--${namespace.value}-${block}-${key}`] = object[key];
|
|
9333
|
-
}
|
|
9334
|
-
}
|
|
9335
|
-
return styles;
|
|
9336
|
-
};
|
|
9337
|
-
const cssVarName = (name) => `--${namespace.value}-${name}`;
|
|
9338
|
-
const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
|
|
9339
|
-
return {
|
|
9340
|
-
namespace,
|
|
9341
|
-
b,
|
|
9342
|
-
e,
|
|
9343
|
-
m,
|
|
9344
|
-
be,
|
|
9345
|
-
em,
|
|
9346
|
-
bm,
|
|
9347
|
-
bem,
|
|
9348
|
-
is,
|
|
9349
|
-
cssVar,
|
|
9350
|
-
cssVarName,
|
|
9351
|
-
cssVarBlock,
|
|
9352
|
-
cssVarBlockName
|
|
9353
|
-
};
|
|
9354
|
-
};
|
|
9355
|
-
|
|
9356
9432
|
const useLockscreen = (trigger) => {
|
|
9357
9433
|
if (!vue.isRef(trigger)) {
|
|
9358
9434
|
throwError("[useLockscreen]", "You need to pass a ref param to this function");
|
|
@@ -10900,7 +10976,7 @@
|
|
|
10900
10976
|
return [recordCursor, setCursor];
|
|
10901
10977
|
}
|
|
10902
10978
|
|
|
10903
|
-
const version$1 = "2.2.
|
|
10979
|
+
const version$1 = "2.2.14";
|
|
10904
10980
|
|
|
10905
10981
|
const makeInstaller = (components = []) => {
|
|
10906
10982
|
const install = (app, options) => {
|
|
@@ -12391,8 +12467,9 @@
|
|
|
12391
12467
|
return null;
|
|
12392
12468
|
}
|
|
12393
12469
|
function wrapTextContent(s) {
|
|
12470
|
+
const ns = useNamespace("only-child");
|
|
12394
12471
|
return vue.createVNode("span", {
|
|
12395
|
-
"class": "
|
|
12472
|
+
"class": ns.e("content")
|
|
12396
12473
|
}, [s]);
|
|
12397
12474
|
}
|
|
12398
12475
|
|
|
@@ -20860,9 +20937,7 @@
|
|
|
20860
20937
|
updatePopperPosition();
|
|
20861
20938
|
vue.nextTick((_c = panel.value) == null ? void 0 : _c.scrollToExpandingNode);
|
|
20862
20939
|
} else if (props.filterable) {
|
|
20863
|
-
|
|
20864
|
-
inputValue.value = value;
|
|
20865
|
-
searchInputValue.value = value;
|
|
20940
|
+
syncPresentTextValue();
|
|
20866
20941
|
}
|
|
20867
20942
|
emit("visible-change", visible);
|
|
20868
20943
|
}
|
|
@@ -21019,8 +21094,16 @@
|
|
|
21019
21094
|
const handleClear = () => {
|
|
21020
21095
|
var _a;
|
|
21021
21096
|
(_a = panel.value) == null ? void 0 : _a.clearCheckedNodes();
|
|
21097
|
+
if (!popperVisible.value && props.filterable) {
|
|
21098
|
+
syncPresentTextValue();
|
|
21099
|
+
}
|
|
21022
21100
|
togglePopperVisible(false);
|
|
21023
21101
|
};
|
|
21102
|
+
const syncPresentTextValue = () => {
|
|
21103
|
+
const { value } = presentText;
|
|
21104
|
+
inputValue.value = value;
|
|
21105
|
+
searchInputValue.value = value;
|
|
21106
|
+
};
|
|
21024
21107
|
const handleSuggestionClick = (node) => {
|
|
21025
21108
|
var _a, _b;
|
|
21026
21109
|
const { checked } = node;
|
|
@@ -22736,7 +22819,7 @@
|
|
|
22736
22819
|
"stop-popper-mouse-event": false,
|
|
22737
22820
|
effect: "light",
|
|
22738
22821
|
trigger: "click",
|
|
22739
|
-
transition:
|
|
22822
|
+
transition: `${_ctx.ns.namespace.value}-zoom-in-top`,
|
|
22740
22823
|
persistent: ""
|
|
22741
22824
|
}, {
|
|
22742
22825
|
content: vue.withCtx(() => [
|
|
@@ -22865,7 +22948,7 @@
|
|
|
22865
22948
|
], 42, _hoisted_1$J)
|
|
22866
22949
|
]),
|
|
22867
22950
|
_: 1
|
|
22868
|
-
}, 8, ["visible", "popper-class"]);
|
|
22951
|
+
}, 8, ["visible", "popper-class", "transition"]);
|
|
22869
22952
|
}
|
|
22870
22953
|
var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$s], ["__file", "index.vue"]]);
|
|
22871
22954
|
|
|
@@ -26449,9 +26532,9 @@
|
|
|
26449
26532
|
closed.value = false;
|
|
26450
26533
|
open();
|
|
26451
26534
|
rendered.value = true;
|
|
26452
|
-
emit("open");
|
|
26453
26535
|
zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex();
|
|
26454
26536
|
vue.nextTick(() => {
|
|
26537
|
+
emit("open");
|
|
26455
26538
|
if (targetRef.value) {
|
|
26456
26539
|
targetRef.value.scrollTop = 0;
|
|
26457
26540
|
}
|
|
@@ -31443,6 +31526,7 @@
|
|
|
31443
31526
|
const menu = vue.ref();
|
|
31444
31527
|
const nsMenu = useNamespace("menu");
|
|
31445
31528
|
const nsSubMenu = useNamespace("sub-menu");
|
|
31529
|
+
const sliceIndex = vue.ref(-1);
|
|
31446
31530
|
const openedMenus = vue.ref(props.defaultOpeneds && !props.collapse ? props.defaultOpeneds.slice(0) : []);
|
|
31447
31531
|
const activeIndex = vue.ref(props.defaultActive);
|
|
31448
31532
|
const items = vue.ref({});
|
|
@@ -31516,8 +31600,42 @@
|
|
|
31516
31600
|
activeIndex.value = val;
|
|
31517
31601
|
}
|
|
31518
31602
|
};
|
|
31603
|
+
const calcSliceIndex = () => {
|
|
31604
|
+
var _a;
|
|
31605
|
+
const items2 = Array.from((_a = menu.value.childNodes) != null ? _a : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
|
|
31606
|
+
const moreItemWidth = 64;
|
|
31607
|
+
const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
|
|
31608
|
+
const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
|
|
31609
|
+
const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
|
|
31610
|
+
let calcWidth = 0;
|
|
31611
|
+
let sliceIndex2 = 0;
|
|
31612
|
+
items2.forEach((item, index) => {
|
|
31613
|
+
calcWidth += item.offsetWidth || 0;
|
|
31614
|
+
if (calcWidth <= menuWidth - moreItemWidth) {
|
|
31615
|
+
sliceIndex2 = index + 1;
|
|
31616
|
+
}
|
|
31617
|
+
});
|
|
31618
|
+
return sliceIndex2 === items2.length ? -1 : sliceIndex2;
|
|
31619
|
+
};
|
|
31620
|
+
const debounce = (fn, wait = 33.34) => {
|
|
31621
|
+
let timmer;
|
|
31622
|
+
return () => {
|
|
31623
|
+
timmer && clearTimeout(timmer);
|
|
31624
|
+
timmer = setTimeout(() => {
|
|
31625
|
+
fn();
|
|
31626
|
+
}, wait);
|
|
31627
|
+
};
|
|
31628
|
+
};
|
|
31629
|
+
let isFirstTimeRender = true;
|
|
31519
31630
|
const handleResize = () => {
|
|
31520
|
-
|
|
31631
|
+
const callback = () => {
|
|
31632
|
+
sliceIndex.value = -1;
|
|
31633
|
+
vue.nextTick(() => {
|
|
31634
|
+
sliceIndex.value = calcSliceIndex();
|
|
31635
|
+
});
|
|
31636
|
+
};
|
|
31637
|
+
isFirstTimeRender ? callback() : debounce(callback)();
|
|
31638
|
+
isFirstTimeRender = false;
|
|
31521
31639
|
};
|
|
31522
31640
|
vue.watch(() => props.defaultActive, (currentActive) => {
|
|
31523
31641
|
if (!items.value[currentActive]) {
|
|
@@ -31602,26 +31720,13 @@
|
|
|
31602
31720
|
return result;
|
|
31603
31721
|
};
|
|
31604
31722
|
return () => {
|
|
31605
|
-
var _a, _b
|
|
31723
|
+
var _a, _b;
|
|
31606
31724
|
let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
|
|
31607
31725
|
const vShowMore = [];
|
|
31608
31726
|
if (props.mode === "horizontal" && menu.value) {
|
|
31609
|
-
const items2 = Array.from((_d = (_c = menu.value) == null ? void 0 : _c.childNodes) != null ? _d : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
|
|
31610
31727
|
const originalSlot = flattedChildren(slot);
|
|
31611
|
-
const
|
|
31612
|
-
const
|
|
31613
|
-
const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
|
|
31614
|
-
const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
|
|
31615
|
-
let calcWidth = 0;
|
|
31616
|
-
let sliceIndex = 0;
|
|
31617
|
-
items2.forEach((item, index) => {
|
|
31618
|
-
calcWidth += item.offsetWidth || 0;
|
|
31619
|
-
if (calcWidth <= menuWidth - moreItemWidth) {
|
|
31620
|
-
sliceIndex = index + 1;
|
|
31621
|
-
}
|
|
31622
|
-
});
|
|
31623
|
-
const slotDefault = originalSlot.slice(0, sliceIndex);
|
|
31624
|
-
const slotMore = originalSlot.slice(sliceIndex);
|
|
31728
|
+
const slotDefault = sliceIndex.value === -1 ? originalSlot : originalSlot.slice(0, sliceIndex.value);
|
|
31729
|
+
const slotMore = sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value);
|
|
31625
31730
|
if ((slotMore == null ? void 0 : slotMore.length) && props.ellipsis) {
|
|
31626
31731
|
slot = slotDefault;
|
|
31627
31732
|
vShowMore.push(vue.h(SubMenu, {
|
|
@@ -31883,6 +31988,9 @@
|
|
|
31883
31988
|
},
|
|
31884
31989
|
prevText: {
|
|
31885
31990
|
type: String
|
|
31991
|
+
},
|
|
31992
|
+
prevIcon: {
|
|
31993
|
+
type: iconPropType
|
|
31886
31994
|
}
|
|
31887
31995
|
});
|
|
31888
31996
|
const paginationPrevEmits = {
|
|
@@ -31911,7 +32019,7 @@
|
|
|
31911
32019
|
}, [
|
|
31912
32020
|
_ctx.prevText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$h, vue.toDisplayString(_ctx.prevText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
|
|
31913
32021
|
default: vue.withCtx(() => [
|
|
31914
|
-
vue.
|
|
32022
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.prevIcon)))
|
|
31915
32023
|
]),
|
|
31916
32024
|
_: 1
|
|
31917
32025
|
}))
|
|
@@ -31933,6 +32041,9 @@
|
|
|
31933
32041
|
},
|
|
31934
32042
|
nextText: {
|
|
31935
32043
|
type: String
|
|
32044
|
+
},
|
|
32045
|
+
nextIcon: {
|
|
32046
|
+
type: iconPropType
|
|
31936
32047
|
}
|
|
31937
32048
|
});
|
|
31938
32049
|
|
|
@@ -31958,7 +32069,7 @@
|
|
|
31958
32069
|
}, [
|
|
31959
32070
|
_ctx.nextText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$g, vue.toDisplayString(_ctx.nextText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
|
|
31960
32071
|
default: vue.withCtx(() => [
|
|
31961
|
-
vue.
|
|
32072
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.nextIcon)))
|
|
31962
32073
|
]),
|
|
31963
32074
|
_: 1
|
|
31964
32075
|
}))
|
|
@@ -32008,7 +32119,7 @@
|
|
|
32008
32119
|
} else {
|
|
32009
32120
|
const valueKey = select.props.valueKey;
|
|
32010
32121
|
return arr && arr.some((item) => {
|
|
32011
|
-
return get(item, valueKey) === get(target, valueKey);
|
|
32122
|
+
return vue.toRaw(get(item, valueKey)) === get(target, valueKey);
|
|
32012
32123
|
});
|
|
32013
32124
|
}
|
|
32014
32125
|
};
|
|
@@ -32622,7 +32733,7 @@
|
|
|
32622
32733
|
const valueKey = props.valueKey;
|
|
32623
32734
|
let index = -1;
|
|
32624
32735
|
arr.some((item, i) => {
|
|
32625
|
-
if (get(item, valueKey) === get(value, valueKey)) {
|
|
32736
|
+
if (vue.toRaw(get(item, valueKey)) === get(value, valueKey)) {
|
|
32626
32737
|
index = i;
|
|
32627
32738
|
return true;
|
|
32628
32739
|
}
|
|
@@ -33938,10 +34049,18 @@
|
|
|
33938
34049
|
type: String,
|
|
33939
34050
|
default: ""
|
|
33940
34051
|
},
|
|
34052
|
+
prevIcon: {
|
|
34053
|
+
type: iconPropType,
|
|
34054
|
+
default: () => arrow_left_default
|
|
34055
|
+
},
|
|
33941
34056
|
nextText: {
|
|
33942
34057
|
type: String,
|
|
33943
34058
|
default: ""
|
|
33944
34059
|
},
|
|
34060
|
+
nextIcon: {
|
|
34061
|
+
type: iconPropType,
|
|
34062
|
+
default: () => arrow_right_default
|
|
34063
|
+
},
|
|
33945
34064
|
small: Boolean,
|
|
33946
34065
|
background: Boolean,
|
|
33947
34066
|
disabled: Boolean,
|
|
@@ -34089,6 +34208,7 @@
|
|
|
34089
34208
|
disabled: props.disabled,
|
|
34090
34209
|
currentPage: currentPageBridge.value,
|
|
34091
34210
|
prevText: props.prevText,
|
|
34211
|
+
prevIcon: props.prevIcon,
|
|
34092
34212
|
onClick: prev
|
|
34093
34213
|
}),
|
|
34094
34214
|
jumper: vue.h(Jumper),
|
|
@@ -34104,6 +34224,7 @@
|
|
|
34104
34224
|
currentPage: currentPageBridge.value,
|
|
34105
34225
|
pageCount: pageCountBridge.value,
|
|
34106
34226
|
nextText: props.nextText,
|
|
34227
|
+
nextIcon: props.nextIcon,
|
|
34107
34228
|
onClick: next
|
|
34108
34229
|
}),
|
|
34109
34230
|
sizes: vue.h(Sizes, {
|
|
@@ -34394,7 +34515,7 @@
|
|
|
34394
34515
|
return [ns.b(), props.popperClass, { [ns.m("plain")]: !!props.content }];
|
|
34395
34516
|
});
|
|
34396
34517
|
const gpuAcceleration = vue.computed(() => {
|
|
34397
|
-
return props.transition ===
|
|
34518
|
+
return props.transition === `${ns.namespace.value}-fade-in-linear`;
|
|
34398
34519
|
});
|
|
34399
34520
|
const hide = () => {
|
|
34400
34521
|
var _a;
|
|
@@ -35900,11 +36021,11 @@
|
|
|
35900
36021
|
if (layout === HORIZONTAL) {
|
|
35901
36022
|
if (direction === RTL) {
|
|
35902
36023
|
switch (getRTLOffsetType()) {
|
|
35903
|
-
case
|
|
36024
|
+
case RTL_OFFSET_NAG: {
|
|
35904
36025
|
windowElement.scrollLeft = -scrollOffset;
|
|
35905
36026
|
break;
|
|
35906
36027
|
}
|
|
35907
|
-
case
|
|
36028
|
+
case RTL_OFFSET_POS_ASC: {
|
|
35908
36029
|
windowElement.scrollLeft = scrollOffset;
|
|
35909
36030
|
break;
|
|
35910
36031
|
}
|
|
@@ -38809,7 +38930,7 @@
|
|
|
38809
38930
|
return [];
|
|
38810
38931
|
}
|
|
38811
38932
|
const marksKeys = Object.keys(props.marks);
|
|
38812
|
-
return marksKeys.map(parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
|
|
38933
|
+
return marksKeys.map(Number.parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
|
|
38813
38934
|
point,
|
|
38814
38935
|
position: (point - props.min) * 100 / (props.max - props.min),
|
|
38815
38936
|
mark: props.marks[point]
|
|
@@ -40289,7 +40410,8 @@
|
|
|
40289
40410
|
input.value.checked = checked.value;
|
|
40290
40411
|
});
|
|
40291
40412
|
expose({
|
|
40292
|
-
focus
|
|
40413
|
+
focus,
|
|
40414
|
+
checked
|
|
40293
40415
|
});
|
|
40294
40416
|
return (_ctx, _cache) => {
|
|
40295
40417
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -43096,7 +43218,7 @@
|
|
|
43096
43218
|
}, [
|
|
43097
43219
|
vue.h("td", {
|
|
43098
43220
|
colspan: columns.length,
|
|
43099
|
-
class: "
|
|
43221
|
+
class: `${ns.e("cell")} ${ns.e("expanded-cell")}`
|
|
43100
43222
|
}, [renderExpanded({ row, $index, store, expanded })])
|
|
43101
43223
|
])
|
|
43102
43224
|
]
|
|
@@ -43559,7 +43681,7 @@
|
|
|
43559
43681
|
layout.updateElsHeight();
|
|
43560
43682
|
}
|
|
43561
43683
|
layout.updateColumnsWidth();
|
|
43562
|
-
requestAnimationFrame(
|
|
43684
|
+
requestAnimationFrame(syncPosition);
|
|
43563
43685
|
};
|
|
43564
43686
|
vue.onMounted(async () => {
|
|
43565
43687
|
await vue.nextTick();
|
|
@@ -43602,7 +43724,7 @@
|
|
|
43602
43724
|
const { tableWrapper } = table.refs;
|
|
43603
43725
|
return !!(tableWrapper && tableWrapper.classList.contains(className));
|
|
43604
43726
|
};
|
|
43605
|
-
const
|
|
43727
|
+
const syncPosition = function() {
|
|
43606
43728
|
if (!table.refs.scrollBarRef)
|
|
43607
43729
|
return;
|
|
43608
43730
|
if (!layout.scrollX.value) {
|
|
@@ -43634,7 +43756,7 @@
|
|
|
43634
43756
|
if (!table.refs.scrollBarRef)
|
|
43635
43757
|
return;
|
|
43636
43758
|
if (table.refs.scrollBarRef.wrap$) {
|
|
43637
|
-
useEventListener(table.refs.scrollBarRef.wrap$, "scroll",
|
|
43759
|
+
useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPosition, {
|
|
43638
43760
|
passive: true
|
|
43639
43761
|
});
|
|
43640
43762
|
}
|
|
@@ -48883,7 +49005,7 @@
|
|
|
48883
49005
|
return { all, none, allWithoutDisable, half: !all && !none };
|
|
48884
49006
|
};
|
|
48885
49007
|
const reInitChecked = function(node) {
|
|
48886
|
-
if (node.childNodes.length === 0)
|
|
49008
|
+
if (node.childNodes.length === 0 || node.loading)
|
|
48887
49009
|
return;
|
|
48888
49010
|
const { all, none, half } = getChildState(node.childNodes);
|
|
48889
49011
|
if (all) {
|
|
@@ -49266,10 +49388,10 @@
|
|
|
49266
49388
|
if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {
|
|
49267
49389
|
this.loading = true;
|
|
49268
49390
|
const resolve = (children) => {
|
|
49269
|
-
this.loaded = true;
|
|
49270
|
-
this.loading = false;
|
|
49271
49391
|
this.childNodes = [];
|
|
49272
49392
|
this.doCreateChildren(children, defaultProps);
|
|
49393
|
+
this.loaded = true;
|
|
49394
|
+
this.loading = false;
|
|
49273
49395
|
this.updateLeafState();
|
|
49274
49396
|
if (callback) {
|
|
49275
49397
|
callback.call(this, children);
|