@element-plus/nightly 0.0.20220318 → 0.0.20220321
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 +59 -46
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +7 -7
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +59 -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/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/autocomplete/index.d.ts +49 -17
- package/es/components/autocomplete/src/autocomplete.d.ts +9 -1
- package/es/components/autocomplete/src/autocomplete.mjs +1 -1
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +49 -17
- package/es/components/autocomplete/src/autocomplete2.mjs +13 -3
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/breadcrumb/index.d.ts +8 -6
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +5 -3
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +10 -12
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +48 -18
- package/es/components/cascader/src/index.mjs +7 -5
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +24 -9
- package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown2.mjs +2 -2
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/input/index.d.ts +4 -4
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.mjs +1 -1
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +4 -4
- package/es/components/input-number/index.d.ts +8 -8
- package/es/components/input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/select/index.d.ts +1 -1
- package/es/components/select/src/select.vue.d.ts +1 -1
- package/es/components/time-picker/src/time-picker-com/useTimePicker.d.ts +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +49 -17
- package/lib/components/autocomplete/src/autocomplete.d.ts +9 -1
- package/lib/components/autocomplete/src/autocomplete.js +1 -1
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +49 -17
- package/lib/components/autocomplete/src/autocomplete2.js +13 -3
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/breadcrumb/index.d.ts +8 -6
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +5 -3
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +9 -11
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +48 -18
- package/lib/components/cascader/src/index.js +7 -5
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +24 -9
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown2.js +2 -2
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/input/index.d.ts +4 -4
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.js +1 -1
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +4 -4
- package/lib/components/input-number/index.d.ts +8 -8
- package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/select/index.d.ts +1 -1
- package/lib/components/select/src/select.vue.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker-com/useTimePicker.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +7 -7
- package/tags.json +1 -1
- package/theme-chalk/base.css +1 -1
- package/theme-chalk/el-avatar.css +1 -1
- package/theme-chalk/el-button.css +1 -1
- package/theme-chalk/el-calendar.css +1 -1
- package/theme-chalk/el-cascader-panel.css +1 -1
- package/theme-chalk/el-cascader.css +1 -1
- package/theme-chalk/el-checkbox-group.css +1 -1
- package/theme-chalk/el-checkbox.css +1 -1
- package/theme-chalk/el-color-picker.css +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-descriptions.css +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-message.css +1 -1
- package/theme-chalk/el-reset.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/el-skeleton.css +1 -1
- package/theme-chalk/el-spinner.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-tabs.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/el-upload.css +1 -1
- package/theme-chalk/el-var.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/button.scss +4 -1
- package/theme-chalk/src/calendar.scss +1 -1
- package/theme-chalk/src/checkbox-group.scss +1 -0
- package/theme-chalk/src/color-picker.scss +3 -3
- package/theme-chalk/src/common/var.scss +9 -9
- package/theme-chalk/src/date-picker/picker-panel.scss +6 -6
- package/theme-chalk/src/mixins/mixins.scss +2 -2
- package/theme-chalk/src/reset.scss +1 -1
- package/theme-chalk/src/select-v2.scss +2 -2
- package/theme-chalk/src/select.scss +1 -1
- package/theme-chalk/src/spinner.scss +1 -1
- package/theme-chalk/src/table.scss +1 -1
- package/theme-chalk/src/tabs.scss +3 -3
- package/theme-chalk/src/upload.scss +8 -8
- package/theme-chalk/src/var.scss +17 -13
- 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.20220321 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -1929,7 +1929,7 @@
|
|
|
1929
1929
|
if (!target)
|
|
1930
1930
|
return noop;
|
|
1931
1931
|
let cleanup = noop;
|
|
1932
|
-
const stopWatch = vue.watch(() =>
|
|
1932
|
+
const stopWatch = vue.watch(() => unrefElement(target), (el) => {
|
|
1933
1933
|
cleanup();
|
|
1934
1934
|
if (!el)
|
|
1935
1935
|
return;
|
|
@@ -1948,7 +1948,7 @@
|
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
1950
|
function onClickOutside(target, handler, options = {}) {
|
|
1951
|
-
const { window = defaultWindow, ignore } = options;
|
|
1951
|
+
const { window = defaultWindow, ignore, capture = true } = options;
|
|
1952
1952
|
if (!window)
|
|
1953
1953
|
return;
|
|
1954
1954
|
const shouldListen = vue.ref(true);
|
|
@@ -1967,7 +1967,7 @@
|
|
|
1967
1967
|
handler(event);
|
|
1968
1968
|
};
|
|
1969
1969
|
const cleanup = [
|
|
1970
|
-
useEventListener(window, "click", listener, { passive: true, capture
|
|
1970
|
+
useEventListener(window, "click", listener, { passive: true, capture }),
|
|
1971
1971
|
useEventListener(window, "pointerdown", (e) => {
|
|
1972
1972
|
const el = unrefElement(target);
|
|
1973
1973
|
shouldListen.value = !!el && !e.composedPath().includes(el);
|
|
@@ -4258,7 +4258,7 @@
|
|
|
4258
4258
|
};
|
|
4259
4259
|
};
|
|
4260
4260
|
|
|
4261
|
-
const version$1 = "0.0.
|
|
4261
|
+
const version$1 = "0.0.20220321";
|
|
4262
4262
|
|
|
4263
4263
|
const INSTALLED_KEY = Symbol("INSTALLED_KEY");
|
|
4264
4264
|
const makeInstaller = (components = []) => {
|
|
@@ -4728,7 +4728,7 @@
|
|
|
4728
4728
|
clear: () => true,
|
|
4729
4729
|
mouseleave: (evt) => evt instanceof MouseEvent,
|
|
4730
4730
|
mouseenter: (evt) => evt instanceof MouseEvent,
|
|
4731
|
-
keydown: (evt) => evt instanceof
|
|
4731
|
+
keydown: (evt) => evt instanceof Event,
|
|
4732
4732
|
compositionstart: (evt) => evt instanceof CompositionEvent,
|
|
4733
4733
|
compositionupdate: (evt) => evt instanceof CompositionEvent,
|
|
4734
4734
|
compositionend: (evt) => evt instanceof CompositionEvent
|
|
@@ -7946,7 +7946,7 @@
|
|
|
7946
7946
|
default: "bottom-start"
|
|
7947
7947
|
},
|
|
7948
7948
|
fetchSuggestions: {
|
|
7949
|
-
type: definePropType(Function),
|
|
7949
|
+
type: definePropType([Function, Array]),
|
|
7950
7950
|
default: NOOP
|
|
7951
7951
|
},
|
|
7952
7952
|
popperClass: {
|
|
@@ -8036,7 +8036,7 @@
|
|
|
8036
8036
|
return;
|
|
8037
8037
|
}
|
|
8038
8038
|
loading$1.value = true;
|
|
8039
|
-
|
|
8039
|
+
const cb = (suggestionsArg) => {
|
|
8040
8040
|
loading$1.value = false;
|
|
8041
8041
|
if (suggestionDisabled.value) {
|
|
8042
8042
|
return;
|
|
@@ -8047,7 +8047,17 @@
|
|
|
8047
8047
|
} else {
|
|
8048
8048
|
throwError(COMPONENT_NAME, "autocomplete suggestions must be an array");
|
|
8049
8049
|
}
|
|
8050
|
-
}
|
|
8050
|
+
};
|
|
8051
|
+
if (isArray(props.fetchSuggestions)) {
|
|
8052
|
+
cb(props.fetchSuggestions);
|
|
8053
|
+
} else {
|
|
8054
|
+
const result = props.fetchSuggestions(queryString, cb);
|
|
8055
|
+
if (isArray(result)) {
|
|
8056
|
+
cb(result);
|
|
8057
|
+
} else if (isPromise(result)) {
|
|
8058
|
+
result.then(cb);
|
|
8059
|
+
}
|
|
8060
|
+
}
|
|
8051
8061
|
};
|
|
8052
8062
|
const debouncedGetData = debounce$1(getData, props.debounce);
|
|
8053
8063
|
const handleInput = (value) => {
|
|
@@ -8617,18 +8627,15 @@
|
|
|
8617
8627
|
const props = __props;
|
|
8618
8628
|
const instance = vue.getCurrentInstance();
|
|
8619
8629
|
const router = instance.appContext.config.globalProperties.$router;
|
|
8620
|
-
const
|
|
8630
|
+
const breadcrumbInjection = vue.inject(breadcrumbKey, {});
|
|
8621
8631
|
const ns = useNamespace("breadcrumb");
|
|
8622
|
-
const { separator, separatorIcon } =
|
|
8632
|
+
const { separator, separatorIcon } = breadcrumbInjection;
|
|
8623
8633
|
const link = vue.ref();
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
props.replace ? router.replace(props.to) : router.push(props.to);
|
|
8630
|
-
});
|
|
8631
|
-
});
|
|
8634
|
+
const onClick = () => {
|
|
8635
|
+
if (!props.to || !router)
|
|
8636
|
+
return;
|
|
8637
|
+
props.replace ? router.replace(props.to) : router.push(props.to);
|
|
8638
|
+
};
|
|
8632
8639
|
return (_ctx, _cache) => {
|
|
8633
8640
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
8634
8641
|
class: vue.normalizeClass(vue.unref(ns).e("item"))
|
|
@@ -8637,7 +8644,8 @@
|
|
|
8637
8644
|
ref_key: "link",
|
|
8638
8645
|
ref: link,
|
|
8639
8646
|
class: vue.normalizeClass([vue.unref(ns).e("inner"), vue.unref(ns).is("link", !!_ctx.to)]),
|
|
8640
|
-
role: "link"
|
|
8647
|
+
role: "link",
|
|
8648
|
+
onClick
|
|
8641
8649
|
}, [
|
|
8642
8650
|
vue.renderSlot(_ctx.$slots, "default")
|
|
8643
8651
|
], 2),
|
|
@@ -9776,21 +9784,25 @@
|
|
|
9776
9784
|
return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
|
9777
9785
|
}, u: function(t2) {
|
|
9778
9786
|
return t2 === void 0;
|
|
9779
|
-
} },
|
|
9780
|
-
v
|
|
9787
|
+
} }, v = "en", D = {};
|
|
9788
|
+
D[v] = M;
|
|
9781
9789
|
var p = function(t2) {
|
|
9782
9790
|
return t2 instanceof _;
|
|
9783
|
-
}, S = function(
|
|
9784
|
-
var
|
|
9785
|
-
if (!
|
|
9786
|
-
return
|
|
9787
|
-
if (typeof
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
var
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9791
|
+
}, S = function t2(e2, n2, r2) {
|
|
9792
|
+
var i2;
|
|
9793
|
+
if (!e2)
|
|
9794
|
+
return v;
|
|
9795
|
+
if (typeof e2 == "string") {
|
|
9796
|
+
var s2 = e2.toLowerCase();
|
|
9797
|
+
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
9798
|
+
var u2 = e2.split("-");
|
|
9799
|
+
if (!i2 && u2.length > 1)
|
|
9800
|
+
return t2(u2[0]);
|
|
9801
|
+
} else {
|
|
9802
|
+
var a2 = e2.name;
|
|
9803
|
+
D[a2] = e2, i2 = a2;
|
|
9804
|
+
}
|
|
9805
|
+
return !r2 && i2 && (v = i2), i2 || !r2 && v;
|
|
9794
9806
|
}, w = function(t2, e2) {
|
|
9795
9807
|
if (p(t2))
|
|
9796
9808
|
return t2.clone();
|
|
@@ -9856,8 +9868,8 @@
|
|
|
9856
9868
|
case f:
|
|
9857
9869
|
return r2 ? $2(1, M3) : $2(0, M3 + 1);
|
|
9858
9870
|
case o:
|
|
9859
|
-
var
|
|
9860
|
-
return $2(r2 ? m3 -
|
|
9871
|
+
var v2 = this.$locale().weekStart || 0, D2 = (y2 < v2 ? y2 + 7 : y2) - v2;
|
|
9872
|
+
return $2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
9861
9873
|
case a:
|
|
9862
9874
|
case d:
|
|
9863
9875
|
return l2(g2 + "Hours", 0);
|
|
@@ -9921,12 +9933,12 @@
|
|
|
9921
9933
|
}, m2.utcOffset = function() {
|
|
9922
9934
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
9923
9935
|
}, m2.diff = function(r2, d2, $2) {
|
|
9924
|
-
var l2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, g2 = this - M3,
|
|
9925
|
-
return
|
|
9936
|
+
var l2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, g2 = this - M3, v2 = O.m(this, M3);
|
|
9937
|
+
return v2 = (l2 = {}, l2[c] = v2 / 12, l2[f] = v2, l2[h] = v2 / 3, l2[o] = (g2 - m3) / 6048e5, l2[a] = (g2 - m3) / 864e5, l2[u] = g2 / n, l2[s] = g2 / e, l2[i] = g2 / t, l2)[y2] || g2, $2 ? v2 : O.a(v2);
|
|
9926
9938
|
}, m2.daysInMonth = function() {
|
|
9927
9939
|
return this.endOf(f).$D;
|
|
9928
9940
|
}, m2.$locale = function() {
|
|
9929
|
-
return
|
|
9941
|
+
return D[this.$L];
|
|
9930
9942
|
}, m2.locale = function(t2, e2) {
|
|
9931
9943
|
if (!t2)
|
|
9932
9944
|
return this.$L;
|
|
@@ -9952,7 +9964,7 @@
|
|
|
9952
9964
|
return t2.$i || (t2(e2, _, w), t2.$i = true), w;
|
|
9953
9965
|
}, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
|
|
9954
9966
|
return w(1e3 * t2);
|
|
9955
|
-
}, w.en = v
|
|
9967
|
+
}, w.en = D[v], w.Ls = D, w.p = {}, w;
|
|
9956
9968
|
});
|
|
9957
9969
|
})(dayjs_min);
|
|
9958
9970
|
var dayjs = dayjs_min.exports;
|
|
@@ -14892,7 +14904,8 @@
|
|
|
14892
14904
|
type: Boolean,
|
|
14893
14905
|
default: void 0
|
|
14894
14906
|
},
|
|
14895
|
-
teleported: useTooltipContentProps.teleported
|
|
14907
|
+
teleported: useTooltipContentProps.teleported,
|
|
14908
|
+
tagType: { ...tagProps.type, default: "info" }
|
|
14896
14909
|
},
|
|
14897
14910
|
emits: [
|
|
14898
14911
|
UPDATE_MODEL_EVENT,
|
|
@@ -15357,7 +15370,7 @@
|
|
|
15357
15370
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.presentTags, (tag) => {
|
|
15358
15371
|
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
15359
15372
|
key: tag.key,
|
|
15360
|
-
type:
|
|
15373
|
+
type: _ctx.tagType,
|
|
15361
15374
|
size: _ctx.tagSize,
|
|
15362
15375
|
hit: tag.hitState,
|
|
15363
15376
|
closable: tag.closable,
|
|
@@ -15386,7 +15399,7 @@
|
|
|
15386
15399
|
(vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
15387
15400
|
key: tag2.key,
|
|
15388
15401
|
class: "in-tooltip",
|
|
15389
|
-
type:
|
|
15402
|
+
type: _ctx.tagType,
|
|
15390
15403
|
size: _ctx.tagSize,
|
|
15391
15404
|
hit: tag2.hitState,
|
|
15392
15405
|
closable: tag2.closable,
|
|
@@ -15397,7 +15410,7 @@
|
|
|
15397
15410
|
vue.createElementVNode("span", null, vue.toDisplayString(tag2.text), 1)
|
|
15398
15411
|
]),
|
|
15399
15412
|
_: 2
|
|
15400
|
-
}, 1032, ["size", "hit", "closable", "onClose"]))
|
|
15413
|
+
}, 1032, ["type", "size", "hit", "closable", "onClose"]))
|
|
15401
15414
|
]);
|
|
15402
15415
|
}), 128))
|
|
15403
15416
|
])
|
|
@@ -15406,7 +15419,7 @@
|
|
|
15406
15419
|
}, 1032, ["disabled"]))
|
|
15407
15420
|
]),
|
|
15408
15421
|
_: 2
|
|
15409
|
-
}, 1032, ["size", "hit", "closable", "onClose"]);
|
|
15422
|
+
}, 1032, ["type", "size", "hit", "closable", "onClose"]);
|
|
15410
15423
|
}), 128)),
|
|
15411
15424
|
_ctx.filterable && !_ctx.isDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
15412
15425
|
key: 0,
|
|
@@ -21522,13 +21535,13 @@
|
|
|
21522
21535
|
"fallback-placements": ["bottom", "top"],
|
|
21523
21536
|
"popper-options": _ctx.popperOptions,
|
|
21524
21537
|
"gpu-acceleration": false,
|
|
21525
|
-
"hide-after": _ctx.hideTimeout,
|
|
21538
|
+
"hide-after": _ctx.trigger === "hover" ? _ctx.hideTimeout : 0,
|
|
21526
21539
|
"manual-mode": true,
|
|
21527
21540
|
placement: _ctx.placement,
|
|
21528
21541
|
"popper-class": [_ctx.ns.e("popper"), _ctx.popperClass],
|
|
21529
21542
|
"reference-element": (_a = _ctx.referenceElementRef) == null ? void 0 : _a.$el,
|
|
21530
21543
|
trigger: _ctx.trigger,
|
|
21531
|
-
"show-after": _ctx.showTimeout,
|
|
21544
|
+
"show-after": _ctx.trigger === "hover" ? _ctx.showTimeout : 0,
|
|
21532
21545
|
"stop-popper-mouse-event": false,
|
|
21533
21546
|
"virtual-ref": _ctx.triggeringElementRef,
|
|
21534
21547
|
"virtual-triggering": _ctx.splitButton,
|