@element-plus/nightly 0.0.20231010 → 0.0.20231011
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 +157 -46
- package/dist/index.full.min.js +24 -24
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +25 -25
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +157 -46
- 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/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/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 +5 -0
- package/es/components/carousel/src/carousel.vue.d.ts +5 -0
- package/es/components/carousel/src/carousel2.mjs +7 -2
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel.d.ts +6 -0
- package/es/components/carousel/src/use-carousel.mjs +33 -1
- package/es/components/carousel/src/use-carousel.mjs.map +1 -1
- package/es/components/checkbox/index.d.ts +12 -0
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
- package/es/components/checkbox/src/checkbox.d.ts +1 -0
- package/es/components/checkbox/src/checkbox.mjs +2 -1
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +4 -0
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs +2 -2
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +18 -1
- package/es/components/color-picker/src/color-picker.d.ts +2 -0
- package/es/components/color-picker/src/color-picker.mjs +3 -1
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +18 -1
- package/es/components/color-picker/src/color-picker2.mjs +83 -11
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/descriptions/src/description-item.mjs.map +1 -1
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/table/src/table.mjs +2 -1
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +40 -0
- package/es/components/transfer/src/transfer-panel.vue.d.ts +8 -0
- package/es/components/transfer/src/transfer.vue.d.ts +40 -0
- package/es/components/tree-v2/index.d.ts +8 -0
- package/es/components/tree-v2/src/tree-node.vue.d.ts +8 -0
- package/es/components/tree-v2/src/tree.vue.d.ts +8 -0
- package/es/hooks/use-focus-controller/index.d.ts +6 -1
- package/es/hooks/use-focus-controller/index.mjs +5 -2
- package/es/hooks/use-focus-controller/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 +5 -0
- package/lib/components/carousel/src/carousel.vue.d.ts +5 -0
- package/lib/components/carousel/src/carousel2.js +7 -2
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/carousel/src/use-carousel.d.ts +6 -0
- package/lib/components/carousel/src/use-carousel.js +32 -0
- package/lib/components/carousel/src/use-carousel.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +12 -0
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
- package/lib/components/checkbox/src/checkbox.d.ts +1 -0
- package/lib/components/checkbox/src/checkbox.js +2 -1
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -0
- package/lib/components/checkbox/src/composables/use-checkbox-status.js +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +18 -1
- package/lib/components/color-picker/src/color-picker.d.ts +2 -0
- package/lib/components/color-picker/src/color-picker.js +3 -1
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +18 -1
- package/lib/components/color-picker/src/color-picker2.js +93 -21
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/descriptions/src/description-item.js.map +1 -1
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/table/src/table.js +2 -1
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/transfer/index.d.ts +40 -0
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +8 -0
- package/lib/components/transfer/src/transfer.vue.d.ts +40 -0
- package/lib/components/tree-v2/index.d.ts +8 -0
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +8 -0
- package/lib/components/tree-v2/src/tree.vue.d.ts +8 -0
- package/lib/hooks/use-focus-controller/index.d.ts +6 -1
- package/lib/hooks/use-focus-controller/index.js +5 -2
- package/lib/hooks/use-focus-controller/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 +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-color-picker.css +1 -1
- package/theme-chalk/el-table-v2.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/color-picker.scss +8 -2
- package/theme-chalk/src/common/var.scss +1 -0
- package/theme-chalk/src/table.scss +16 -9
- 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.20231011 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -11132,7 +11132,7 @@
|
|
|
11132
11132
|
});
|
|
11133
11133
|
};
|
|
11134
11134
|
|
|
11135
|
-
function useFocusController(target, { afterFocus, afterBlur } = {}) {
|
|
11135
|
+
function useFocusController(target, { afterFocus, beforeBlur, afterBlur } = {}) {
|
|
11136
11136
|
const instance = vue.getCurrentInstance();
|
|
11137
11137
|
const { emit } = instance;
|
|
11138
11138
|
const wrapperRef = vue.shallowRef();
|
|
@@ -11146,7 +11146,8 @@
|
|
|
11146
11146
|
};
|
|
11147
11147
|
const handleBlur = (event) => {
|
|
11148
11148
|
var _a;
|
|
11149
|
-
|
|
11149
|
+
const cancelBlur = isFunction$1(beforeBlur) ? beforeBlur(event) : false;
|
|
11150
|
+
if (cancelBlur || event.relatedTarget && ((_a = wrapperRef.value) == null ? void 0 : _a.contains(event.relatedTarget)))
|
|
11150
11151
|
return;
|
|
11151
11152
|
isFocused.value = false;
|
|
11152
11153
|
emit("blur", event);
|
|
@@ -11290,7 +11291,7 @@
|
|
|
11290
11291
|
|
|
11291
11292
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11292
11293
|
|
|
11293
|
-
const version$1 = "0.0.
|
|
11294
|
+
const version$1 = "0.0.20231011";
|
|
11294
11295
|
|
|
11295
11296
|
const makeInstaller = (components = []) => {
|
|
11296
11297
|
const install = (app, options) => {
|
|
@@ -13580,7 +13581,7 @@
|
|
|
13580
13581
|
};
|
|
13581
13582
|
|
|
13582
13583
|
const _hoisted_1$11 = ["role"];
|
|
13583
|
-
const _hoisted_2$
|
|
13584
|
+
const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
13584
13585
|
const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
13585
13586
|
const __default__$1y = vue.defineComponent({
|
|
13586
13587
|
name: "ElInput",
|
|
@@ -13899,7 +13900,7 @@
|
|
|
13899
13900
|
onBlur: _cache[1] || (_cache[1] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args)),
|
|
13900
13901
|
onChange: handleChange,
|
|
13901
13902
|
onKeydown: handleKeydown
|
|
13902
|
-
}), null, 16, _hoisted_2$
|
|
13903
|
+
}), null, 16, _hoisted_2$H),
|
|
13903
13904
|
vue.createCommentVNode(" suffix slot "),
|
|
13904
13905
|
vue.unref(suffixVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
13905
13906
|
key: 1,
|
|
@@ -15852,7 +15853,7 @@
|
|
|
15852
15853
|
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "content.vue"]]);
|
|
15853
15854
|
|
|
15854
15855
|
const _hoisted_1$10 = ["innerHTML"];
|
|
15855
|
-
const _hoisted_2$
|
|
15856
|
+
const _hoisted_2$G = { key: 1 };
|
|
15856
15857
|
const __default__$1q = vue.defineComponent({
|
|
15857
15858
|
name: "ElTooltip"
|
|
15858
15859
|
});
|
|
@@ -15994,7 +15995,7 @@
|
|
|
15994
15995
|
_ctx.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
15995
15996
|
key: 0,
|
|
15996
15997
|
innerHTML: _ctx.content
|
|
15997
|
-
}, null, 8, _hoisted_1$10)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
15998
|
+
}, null, 8, _hoisted_1$10)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$G, vue.toDisplayString(_ctx.content), 1))
|
|
15998
15999
|
]),
|
|
15999
16000
|
_ctx.showArrow ? (vue.openBlock(), vue.createBlock(vue.unref(ElPopperArrow), {
|
|
16000
16001
|
key: 0,
|
|
@@ -16091,7 +16092,7 @@
|
|
|
16091
16092
|
};
|
|
16092
16093
|
|
|
16093
16094
|
const _hoisted_1$$ = ["aria-expanded", "aria-owns"];
|
|
16094
|
-
const _hoisted_2$
|
|
16095
|
+
const _hoisted_2$F = { key: 0 };
|
|
16095
16096
|
const _hoisted_3$k = ["id", "aria-selected", "onClick"];
|
|
16096
16097
|
const COMPONENT_NAME$i = "ElAutocomplete";
|
|
16097
16098
|
const __default__$1p = vue.defineComponent({
|
|
@@ -16337,7 +16338,7 @@
|
|
|
16337
16338
|
role: "listbox"
|
|
16338
16339
|
}, {
|
|
16339
16340
|
default: vue.withCtx(() => [
|
|
16340
|
-
vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$
|
|
16341
|
+
vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$F, [
|
|
16341
16342
|
vue.createVNode(vue.unref(ElIcon), {
|
|
16342
16343
|
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
16343
16344
|
}, {
|
|
@@ -18507,7 +18508,7 @@
|
|
|
18507
18508
|
});
|
|
18508
18509
|
|
|
18509
18510
|
const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18510
|
-
const _hoisted_2$
|
|
18511
|
+
const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18511
18512
|
const __default__$1h = vue.defineComponent({
|
|
18512
18513
|
name: "Picker"
|
|
18513
18514
|
});
|
|
@@ -19100,7 +19101,7 @@
|
|
|
19100
19101
|
onBlur: handleBlurInput,
|
|
19101
19102
|
onInput: handleEndInput,
|
|
19102
19103
|
onChange: handleEndChange
|
|
19103
|
-
}, null, 42, _hoisted_2$
|
|
19104
|
+
}, null, 42, _hoisted_2$E),
|
|
19104
19105
|
_ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
19105
19106
|
key: 1,
|
|
19106
19107
|
class: vue.normalizeClass(vue.unref(clearIconKls)),
|
|
@@ -19446,7 +19447,7 @@
|
|
|
19446
19447
|
});
|
|
19447
19448
|
|
|
19448
19449
|
const _hoisted_1$X = ["onClick"];
|
|
19449
|
-
const _hoisted_2$
|
|
19450
|
+
const _hoisted_2$D = ["onMouseenter"];
|
|
19450
19451
|
const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
|
|
19451
19452
|
__name: "basic-time-spinner",
|
|
19452
19453
|
props: basicTimeSpinnerProps,
|
|
@@ -19727,7 +19728,7 @@
|
|
|
19727
19728
|
], 2);
|
|
19728
19729
|
}), 128))
|
|
19729
19730
|
], 2)
|
|
19730
|
-
], 42, _hoisted_2$
|
|
19731
|
+
], 42, _hoisted_2$D);
|
|
19731
19732
|
}), 128)) : vue.createCommentVNode("v-if", true)
|
|
19732
19733
|
], 2);
|
|
19733
19734
|
};
|
|
@@ -20418,7 +20419,7 @@
|
|
|
20418
20419
|
};
|
|
20419
20420
|
|
|
20420
20421
|
const _hoisted_1$V = { key: 0 };
|
|
20421
|
-
const _hoisted_2$
|
|
20422
|
+
const _hoisted_2$C = ["onClick"];
|
|
20422
20423
|
const __default__$1g = vue.defineComponent({
|
|
20423
20424
|
name: "DateTable"
|
|
20424
20425
|
});
|
|
@@ -20490,7 +20491,7 @@
|
|
|
20490
20491
|
vue.createElementVNode("span", null, vue.toDisplayString(cell.text), 1)
|
|
20491
20492
|
])
|
|
20492
20493
|
], 2)
|
|
20493
|
-
], 10, _hoisted_2$
|
|
20494
|
+
], 10, _hoisted_2$C);
|
|
20494
20495
|
}), 128))
|
|
20495
20496
|
], 2);
|
|
20496
20497
|
}), 128))
|
|
@@ -20877,11 +20878,13 @@
|
|
|
20877
20878
|
addChild: addItem,
|
|
20878
20879
|
removeChild: removeItem
|
|
20879
20880
|
} = useOrderedChildren(vue.getCurrentInstance(), "ElCarouselItem");
|
|
20881
|
+
const slots = vue.useSlots();
|
|
20880
20882
|
const activeIndex = vue.ref(-1);
|
|
20881
20883
|
const timer = vue.ref(null);
|
|
20882
20884
|
const hover = vue.ref(false);
|
|
20883
20885
|
const root = vue.ref();
|
|
20884
20886
|
const containerHeight = vue.ref(0);
|
|
20887
|
+
const isItemsTwoLength = vue.ref(true);
|
|
20885
20888
|
const arrowDisplay = vue.computed(() => props.arrow !== "never" && !vue.unref(isVertical));
|
|
20886
20889
|
const hasLabel = vue.computed(() => {
|
|
20887
20890
|
return items.value.some((item) => item.props.label.toString().length > 0);
|
|
@@ -20905,6 +20908,11 @@
|
|
|
20905
20908
|
const throttledIndicatorHover = throttle((index) => {
|
|
20906
20909
|
handleIndicatorHover(index);
|
|
20907
20910
|
}, THROTTLE_TIME);
|
|
20911
|
+
const isTwoLengthShow = (index) => {
|
|
20912
|
+
if (!isItemsTwoLength.value)
|
|
20913
|
+
return true;
|
|
20914
|
+
return activeIndex.value <= 1 ? index <= 1 : index > 1;
|
|
20915
|
+
};
|
|
20908
20916
|
function pauseTimer() {
|
|
20909
20917
|
if (timer.value) {
|
|
20910
20918
|
clearInterval(timer.value);
|
|
@@ -21022,8 +21030,29 @@
|
|
|
21022
21030
|
return;
|
|
21023
21031
|
containerHeight.value = height;
|
|
21024
21032
|
}
|
|
21033
|
+
function PlaceholderItem() {
|
|
21034
|
+
var _a;
|
|
21035
|
+
const defaultSlots = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
21036
|
+
if (!defaultSlots)
|
|
21037
|
+
return null;
|
|
21038
|
+
const flatSlots = flattedChildren(defaultSlots);
|
|
21039
|
+
const carouselItemsName = "ElCarouselItem";
|
|
21040
|
+
const normalizeSlots = flatSlots.filter((slot) => {
|
|
21041
|
+
return vue.isVNode(slot) && slot.type.name === carouselItemsName;
|
|
21042
|
+
});
|
|
21043
|
+
if ((normalizeSlots == null ? void 0 : normalizeSlots.length) === 2 && props.loop && !isCardType.value) {
|
|
21044
|
+
isItemsTwoLength.value = true;
|
|
21045
|
+
return normalizeSlots;
|
|
21046
|
+
}
|
|
21047
|
+
isItemsTwoLength.value = false;
|
|
21048
|
+
return null;
|
|
21049
|
+
}
|
|
21025
21050
|
vue.watch(() => activeIndex.value, (current, prev2) => {
|
|
21026
21051
|
resetItemPosition(prev2);
|
|
21052
|
+
if (isItemsTwoLength.value) {
|
|
21053
|
+
current = current % 2;
|
|
21054
|
+
prev2 = prev2 % 2;
|
|
21055
|
+
}
|
|
21027
21056
|
if (prev2 > -1) {
|
|
21028
21057
|
emit("change", current, prev2);
|
|
21029
21058
|
}
|
|
@@ -21076,6 +21105,7 @@
|
|
|
21076
21105
|
items,
|
|
21077
21106
|
isVertical,
|
|
21078
21107
|
containerStyle,
|
|
21108
|
+
isItemsTwoLength,
|
|
21079
21109
|
handleButtonEnter,
|
|
21080
21110
|
handleButtonLeave,
|
|
21081
21111
|
handleIndicatorClick,
|
|
@@ -21084,13 +21114,15 @@
|
|
|
21084
21114
|
setActiveItem,
|
|
21085
21115
|
prev,
|
|
21086
21116
|
next,
|
|
21117
|
+
PlaceholderItem,
|
|
21118
|
+
isTwoLengthShow,
|
|
21087
21119
|
throttledArrowClick,
|
|
21088
21120
|
throttledIndicatorHover
|
|
21089
21121
|
};
|
|
21090
21122
|
};
|
|
21091
21123
|
|
|
21092
21124
|
const _hoisted_1$U = ["onMouseenter", "onClick"];
|
|
21093
|
-
const _hoisted_2$
|
|
21125
|
+
const _hoisted_2$B = { key: 0 };
|
|
21094
21126
|
const COMPONENT_NAME$f = "ElCarousel";
|
|
21095
21127
|
const __default__$1d = vue.defineComponent({
|
|
21096
21128
|
name: COMPONENT_NAME$f
|
|
@@ -21119,6 +21151,8 @@
|
|
|
21119
21151
|
setActiveItem,
|
|
21120
21152
|
prev,
|
|
21121
21153
|
next,
|
|
21154
|
+
PlaceholderItem,
|
|
21155
|
+
isTwoLengthShow,
|
|
21122
21156
|
throttledArrowClick,
|
|
21123
21157
|
throttledIndicatorHover
|
|
21124
21158
|
} = useCarousel(props, emit);
|
|
@@ -21216,6 +21250,7 @@
|
|
|
21216
21250
|
]),
|
|
21217
21251
|
_: 1
|
|
21218
21252
|
})) : vue.createCommentVNode("v-if", true),
|
|
21253
|
+
vue.createVNode(vue.unref(PlaceholderItem)),
|
|
21219
21254
|
vue.renderSlot(_ctx.$slots, "default")
|
|
21220
21255
|
], 6),
|
|
21221
21256
|
_ctx.indicatorPosition !== "none" ? (vue.openBlock(), vue.createElementBlock("ul", {
|
|
@@ -21223,7 +21258,7 @@
|
|
|
21223
21258
|
class: vue.normalizeClass(vue.unref(indicatorsClasses))
|
|
21224
21259
|
}, [
|
|
21225
21260
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(items), (item, index) => {
|
|
21226
|
-
return vue.openBlock(), vue.createElementBlock("li", {
|
|
21261
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
|
|
21227
21262
|
key: index,
|
|
21228
21263
|
class: vue.normalizeClass([
|
|
21229
21264
|
vue.unref(ns).e("indicator"),
|
|
@@ -21236,9 +21271,11 @@
|
|
|
21236
21271
|
vue.createElementVNode("button", {
|
|
21237
21272
|
class: vue.normalizeClass(vue.unref(ns).e("button"))
|
|
21238
21273
|
}, [
|
|
21239
|
-
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
21274
|
+
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$B, vue.toDisplayString(item.props.label), 1)) : vue.createCommentVNode("v-if", true)
|
|
21240
21275
|
], 2)
|
|
21241
|
-
], 42, _hoisted_1$U)
|
|
21276
|
+
], 42, _hoisted_1$U)), [
|
|
21277
|
+
[vue.vShow, vue.unref(isTwoLengthShow)(index)]
|
|
21278
|
+
]);
|
|
21242
21279
|
}), 128))
|
|
21243
21280
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
21244
21281
|
], 34);
|
|
@@ -21442,7 +21479,8 @@
|
|
|
21442
21479
|
default: void 0
|
|
21443
21480
|
},
|
|
21444
21481
|
label: {
|
|
21445
|
-
type: [String, Boolean, Number, Object]
|
|
21482
|
+
type: [String, Boolean, Number, Object],
|
|
21483
|
+
default: void 0
|
|
21446
21484
|
},
|
|
21447
21485
|
indeterminate: Boolean,
|
|
21448
21486
|
disabled: Boolean,
|
|
@@ -21607,7 +21645,7 @@
|
|
|
21607
21645
|
return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
|
|
21608
21646
|
}));
|
|
21609
21647
|
const hasOwnLabel = vue.computed(() => {
|
|
21610
|
-
return !!
|
|
21648
|
+
return !!slots.default || !isNil(props.label);
|
|
21611
21649
|
});
|
|
21612
21650
|
return {
|
|
21613
21651
|
checkboxButtonSize,
|
|
@@ -21668,7 +21706,7 @@
|
|
|
21668
21706
|
};
|
|
21669
21707
|
|
|
21670
21708
|
const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
|
|
21671
|
-
const _hoisted_2$
|
|
21709
|
+
const _hoisted_2$A = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21672
21710
|
const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
|
|
21673
21711
|
const __default__$1b = vue.defineComponent({
|
|
21674
21712
|
name: "ElCheckbox"
|
|
@@ -21741,7 +21779,7 @@
|
|
|
21741
21779
|
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21742
21780
|
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21743
21781
|
}, ["stop"]))
|
|
21744
|
-
}, null, 42, _hoisted_2$
|
|
21782
|
+
}, null, 42, _hoisted_2$A)), [
|
|
21745
21783
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21746
21784
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21747
21785
|
key: 1,
|
|
@@ -21784,7 +21822,7 @@
|
|
|
21784
21822
|
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "checkbox.vue"]]);
|
|
21785
21823
|
|
|
21786
21824
|
const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21787
|
-
const _hoisted_2$
|
|
21825
|
+
const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
|
|
21788
21826
|
const __default__$1a = vue.defineComponent({
|
|
21789
21827
|
name: "ElCheckboxButton"
|
|
21790
21828
|
});
|
|
@@ -21859,7 +21897,7 @@
|
|
|
21859
21897
|
onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
|
|
21860
21898
|
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
21861
21899
|
}, ["stop"]))
|
|
21862
|
-
}, null, 42, _hoisted_2$
|
|
21900
|
+
}, null, 42, _hoisted_2$z)), [
|
|
21863
21901
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21864
21902
|
]),
|
|
21865
21903
|
_ctx.$slots.default || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -22410,7 +22448,7 @@
|
|
|
22410
22448
|
}
|
|
22411
22449
|
});
|
|
22412
22450
|
const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
|
|
22413
|
-
const _hoisted_2$
|
|
22451
|
+
const _hoisted_2$y = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
22414
22452
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22415
22453
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
22416
22454
|
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
@@ -22458,7 +22496,7 @@
|
|
|
22458
22496
|
}, {
|
|
22459
22497
|
default: vue.withCtx(() => [
|
|
22460
22498
|
vue.createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),
|
|
22461
|
-
_hoisted_2$
|
|
22499
|
+
_hoisted_2$y
|
|
22462
22500
|
]),
|
|
22463
22501
|
_: 1
|
|
22464
22502
|
}, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : _ctx.isLeaf && _ctx.node.checked ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
@@ -23310,7 +23348,7 @@
|
|
|
23310
23348
|
};
|
|
23311
23349
|
|
|
23312
23350
|
const _hoisted_1$N = { key: 0 };
|
|
23313
|
-
const _hoisted_2$
|
|
23351
|
+
const _hoisted_2$x = ["placeholder", "onKeydown"];
|
|
23314
23352
|
const _hoisted_3$i = ["onClick"];
|
|
23315
23353
|
const COMPONENT_NAME$e = "ElCascader";
|
|
23316
23354
|
const __default__$14 = vue.defineComponent({
|
|
@@ -23843,7 +23881,7 @@
|
|
|
23843
23881
|
onCompositionend: handleComposition,
|
|
23844
23882
|
onFocus: handleFocus,
|
|
23845
23883
|
onBlur: handleBlur
|
|
23846
|
-
}, null, 42, _hoisted_2$
|
|
23884
|
+
}, null, 42, _hoisted_2$x)), [
|
|
23847
23885
|
[vue.vModelText, searchInputValue.value]
|
|
23848
23886
|
]) : vue.createCommentVNode("v-if", true)
|
|
23849
23887
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
@@ -24380,7 +24418,7 @@
|
|
|
24380
24418
|
};
|
|
24381
24419
|
|
|
24382
24420
|
const _hoisted_1$M = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
|
|
24383
|
-
const _hoisted_2$
|
|
24421
|
+
const _hoisted_2$w = ["id", "aria-hidden", "aria-labelledby"];
|
|
24384
24422
|
const __default__$_ = vue.defineComponent({
|
|
24385
24423
|
name: "ElCollapseItem"
|
|
24386
24424
|
});
|
|
@@ -24452,7 +24490,7 @@
|
|
|
24452
24490
|
}, [
|
|
24453
24491
|
vue.renderSlot(_ctx.$slots, "default")
|
|
24454
24492
|
], 2)
|
|
24455
|
-
], 10, _hoisted_2$
|
|
24493
|
+
], 10, _hoisted_2$w), [
|
|
24456
24494
|
[vue.vShow, vue.unref(isActive)]
|
|
24457
24495
|
])
|
|
24458
24496
|
]),
|
|
@@ -24819,7 +24857,9 @@
|
|
|
24819
24857
|
const colorPickerEmits = {
|
|
24820
24858
|
[UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNil(val),
|
|
24821
24859
|
[CHANGE_EVENT]: (val) => isString$1(val) || isNil(val),
|
|
24822
|
-
activeChange: (val) => isString$1(val) || isNil(val)
|
|
24860
|
+
activeChange: (val) => isString$1(val) || isNil(val),
|
|
24861
|
+
focus: (event) => event instanceof FocusEvent,
|
|
24862
|
+
blur: (event) => event instanceof FocusEvent
|
|
24823
24863
|
};
|
|
24824
24864
|
const colorPickerContextKey = Symbol("colorPickerContextKey");
|
|
24825
24865
|
|
|
@@ -25251,7 +25291,7 @@
|
|
|
25251
25291
|
}
|
|
25252
25292
|
});
|
|
25253
25293
|
const _hoisted_1$K = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
|
|
25254
|
-
const _hoisted_2$
|
|
25294
|
+
const _hoisted_2$v = [
|
|
25255
25295
|
_hoisted_1$K
|
|
25256
25296
|
];
|
|
25257
25297
|
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -25273,12 +25313,13 @@
|
|
|
25273
25313
|
top: _ctx.cursorTop + "px",
|
|
25274
25314
|
left: _ctx.cursorLeft + "px"
|
|
25275
25315
|
})
|
|
25276
|
-
}, _hoisted_2$
|
|
25316
|
+
}, _hoisted_2$v, 6)
|
|
25277
25317
|
], 6);
|
|
25278
25318
|
}
|
|
25279
25319
|
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
|
|
25280
25320
|
|
|
25281
|
-
const _hoisted_1$J = ["
|
|
25321
|
+
const _hoisted_1$J = ["onKeydown"];
|
|
25322
|
+
const _hoisted_2$u = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
|
|
25282
25323
|
const __default__$Y = vue.defineComponent({
|
|
25283
25324
|
name: "ElColorPicker"
|
|
25284
25325
|
});
|
|
@@ -25300,6 +25341,27 @@
|
|
|
25300
25341
|
const sv = vue.ref();
|
|
25301
25342
|
const alpha = vue.ref();
|
|
25302
25343
|
const popper = vue.ref();
|
|
25344
|
+
const triggerRef = vue.ref();
|
|
25345
|
+
const inputRef = vue.ref();
|
|
25346
|
+
const {
|
|
25347
|
+
isFocused,
|
|
25348
|
+
handleFocus: _handleFocus,
|
|
25349
|
+
handleBlur
|
|
25350
|
+
} = useFocusController(triggerRef, {
|
|
25351
|
+
beforeBlur(event) {
|
|
25352
|
+
var _a;
|
|
25353
|
+
return (_a = popper.value) == null ? void 0 : _a.isFocusInsideContent(event);
|
|
25354
|
+
},
|
|
25355
|
+
afterBlur() {
|
|
25356
|
+
setShowPicker(false);
|
|
25357
|
+
resetColor();
|
|
25358
|
+
}
|
|
25359
|
+
});
|
|
25360
|
+
const handleFocus = (event) => {
|
|
25361
|
+
if (colorDisabled.value)
|
|
25362
|
+
return blur();
|
|
25363
|
+
_handleFocus(event);
|
|
25364
|
+
};
|
|
25303
25365
|
let shouldActiveChange = true;
|
|
25304
25366
|
const color = vue.reactive(new Color({
|
|
25305
25367
|
enableAlpha: props.showAlpha,
|
|
@@ -25328,7 +25390,8 @@
|
|
|
25328
25390
|
return [
|
|
25329
25391
|
ns.b("picker"),
|
|
25330
25392
|
ns.is("disabled", colorDisabled.value),
|
|
25331
|
-
ns.bm("picker", colorSize.value)
|
|
25393
|
+
ns.bm("picker", colorSize.value),
|
|
25394
|
+
ns.is("focused", isFocused.value)
|
|
25332
25395
|
];
|
|
25333
25396
|
});
|
|
25334
25397
|
function displayedRgb(color2, showAlpha) {
|
|
@@ -25399,6 +25462,41 @@
|
|
|
25399
25462
|
}
|
|
25400
25463
|
resetColor();
|
|
25401
25464
|
}
|
|
25465
|
+
function handleClickOutside(event) {
|
|
25466
|
+
if (!showPicker.value)
|
|
25467
|
+
return;
|
|
25468
|
+
hide();
|
|
25469
|
+
if (isFocused.value) {
|
|
25470
|
+
const _event = new FocusEvent("focus", event);
|
|
25471
|
+
handleBlur(_event);
|
|
25472
|
+
}
|
|
25473
|
+
}
|
|
25474
|
+
function handleEsc(event) {
|
|
25475
|
+
event.preventDefault();
|
|
25476
|
+
event.stopPropagation();
|
|
25477
|
+
setShowPicker(false);
|
|
25478
|
+
resetColor();
|
|
25479
|
+
}
|
|
25480
|
+
function handleKeyDown(event) {
|
|
25481
|
+
switch (event.code) {
|
|
25482
|
+
case EVENT_CODE.enter:
|
|
25483
|
+
case EVENT_CODE.space:
|
|
25484
|
+
event.preventDefault();
|
|
25485
|
+
event.stopPropagation();
|
|
25486
|
+
show();
|
|
25487
|
+
inputRef.value.focus();
|
|
25488
|
+
break;
|
|
25489
|
+
case EVENT_CODE.esc:
|
|
25490
|
+
handleEsc(event);
|
|
25491
|
+
break;
|
|
25492
|
+
}
|
|
25493
|
+
}
|
|
25494
|
+
function focus() {
|
|
25495
|
+
triggerRef.value.focus();
|
|
25496
|
+
}
|
|
25497
|
+
function blur() {
|
|
25498
|
+
triggerRef.value.blur();
|
|
25499
|
+
}
|
|
25402
25500
|
vue.onMounted(() => {
|
|
25403
25501
|
if (props.modelValue) {
|
|
25404
25502
|
customInput.value = currentColor.value;
|
|
@@ -25436,7 +25534,9 @@
|
|
|
25436
25534
|
expose({
|
|
25437
25535
|
color,
|
|
25438
25536
|
show,
|
|
25439
|
-
hide
|
|
25537
|
+
hide,
|
|
25538
|
+
focus,
|
|
25539
|
+
blur
|
|
25440
25540
|
});
|
|
25441
25541
|
return (_ctx, _cache) => {
|
|
25442
25542
|
return vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
|
|
@@ -25452,10 +25552,13 @@
|
|
|
25452
25552
|
effect: "light",
|
|
25453
25553
|
trigger: "click",
|
|
25454
25554
|
transition: `${vue.unref(ns).namespace.value}-zoom-in-top`,
|
|
25455
|
-
persistent: ""
|
|
25555
|
+
persistent: "",
|
|
25556
|
+
onHide: _cache[2] || (_cache[2] = ($event) => setShowPicker(false))
|
|
25456
25557
|
}, {
|
|
25457
25558
|
content: vue.withCtx(() => [
|
|
25458
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div",
|
|
25559
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
25560
|
+
onKeydown: vue.withKeys(handleEsc, ["esc"])
|
|
25561
|
+
}, [
|
|
25459
25562
|
vue.createElementVNode("div", {
|
|
25460
25563
|
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "main-wrapper"))
|
|
25461
25564
|
}, [
|
|
@@ -25491,6 +25594,8 @@
|
|
|
25491
25594
|
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "value"))
|
|
25492
25595
|
}, [
|
|
25493
25596
|
vue.createVNode(vue.unref(ElInput), {
|
|
25597
|
+
ref_key: "inputRef",
|
|
25598
|
+
ref: inputRef,
|
|
25494
25599
|
modelValue: customInput.value,
|
|
25495
25600
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customInput.value = $event),
|
|
25496
25601
|
"validate-event": false,
|
|
@@ -25522,20 +25627,25 @@
|
|
|
25522
25627
|
_: 1
|
|
25523
25628
|
}, 8, ["class"])
|
|
25524
25629
|
], 2)
|
|
25525
|
-
])), [
|
|
25526
|
-
[vue.unref(ClickOutside),
|
|
25630
|
+
], 40, _hoisted_1$J)), [
|
|
25631
|
+
[vue.unref(ClickOutside), handleClickOutside]
|
|
25527
25632
|
])
|
|
25528
25633
|
]),
|
|
25529
25634
|
default: vue.withCtx(() => [
|
|
25530
25635
|
vue.createElementVNode("div", {
|
|
25531
25636
|
id: vue.unref(buttonId),
|
|
25637
|
+
ref_key: "triggerRef",
|
|
25638
|
+
ref: triggerRef,
|
|
25532
25639
|
class: vue.normalizeClass(vue.unref(btnKls)),
|
|
25533
25640
|
role: "button",
|
|
25534
25641
|
"aria-label": vue.unref(buttonAriaLabel),
|
|
25535
25642
|
"aria-labelledby": vue.unref(buttonAriaLabelledby),
|
|
25536
25643
|
"aria-description": vue.unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
|
|
25537
|
-
|
|
25538
|
-
|
|
25644
|
+
"aria-disabled": vue.unref(colorDisabled),
|
|
25645
|
+
tabindex: vue.unref(colorDisabled) ? -1 : _ctx.tabindex,
|
|
25646
|
+
onKeydown: handleKeyDown,
|
|
25647
|
+
onFocus: handleFocus,
|
|
25648
|
+
onBlur: _cache[1] || (_cache[1] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args))
|
|
25539
25649
|
}, [
|
|
25540
25650
|
vue.unref(colorDisabled) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
25541
25651
|
key: 0,
|
|
@@ -25577,7 +25687,7 @@
|
|
|
25577
25687
|
], 6)
|
|
25578
25688
|
], 2)
|
|
25579
25689
|
], 2)
|
|
25580
|
-
], 42,
|
|
25690
|
+
], 42, _hoisted_2$u)
|
|
25581
25691
|
]),
|
|
25582
25692
|
_: 1
|
|
25583
25693
|
}, 8, ["visible", "popper-class", "transition"]);
|
|
@@ -45999,11 +46109,12 @@
|
|
|
45999
46109
|
_ctx.showHeader && _ctx.tableLayout === "auto" ? (vue.openBlock(), vue.createBlock(_component_table_header, {
|
|
46000
46110
|
key: 0,
|
|
46001
46111
|
ref: "tableHeaderRef",
|
|
46112
|
+
class: vue.normalizeClass(_ctx.ns.e("body-header")),
|
|
46002
46113
|
border: _ctx.border,
|
|
46003
46114
|
"default-sort": _ctx.defaultSort,
|
|
46004
46115
|
store: _ctx.store,
|
|
46005
46116
|
onSetDragVisible: _ctx.setDragVisible
|
|
46006
|
-
}, null, 8, ["border", "default-sort", "store", "onSetDragVisible"])) : vue.createCommentVNode("v-if", true),
|
|
46117
|
+
}, null, 8, ["class", "border", "default-sort", "store", "onSetDragVisible"])) : vue.createCommentVNode("v-if", true),
|
|
46007
46118
|
vue.createVNode(_component_table_body, {
|
|
46008
46119
|
context: _ctx.context,
|
|
46009
46120
|
highlight: _ctx.highlightCurrentRow,
|