@element-plus/nightly 0.0.20220211 → 0.0.20220215
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/README.md +3 -0
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +387 -372
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +11 -11
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +387 -372
- 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 +134 -0
- package/dist/locale/mg.min.js +2 -0
- package/dist/locale/mg.min.js.map +1 -0
- package/dist/locale/mg.min.mjs +2 -0
- package/dist/locale/mg.min.mjs.map +1 -0
- package/dist/locale/mg.mjs +126 -0
- 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/button/index.d.ts +65 -7
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/index.mjs.map +1 -1
- package/es/components/button/src/button.d.ts +5 -5
- package/es/components/button/src/button.mjs +5 -5
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +65 -7
- package/es/components/button/src/button2.mjs +72 -76
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +6 -6
- package/es/components/cascader/src/index.vue.d.ts +3 -3
- package/es/components/dropdown/index.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.vue.d.ts +3 -3
- package/es/components/icon/index.d.ts +6 -0
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/index.mjs.map +1 -1
- package/es/components/icon/src/icon.vue.d.ts +6 -0
- package/es/components/icon/src/icon2.mjs +16 -18
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/index.mjs +1 -1
- package/es/components/input/src/input2.mjs +1 -1
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/menu/index.d.ts +6 -0
- package/es/components/menu/src/sub-menu.d.ts +4 -0
- package/es/components/menu/src/sub-menu.mjs +5 -1
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs +3 -3
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popover/index.d.ts +6 -6
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/popper/src/content.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +70 -0
- package/es/components/radio/src/radio-button.vue.d.ts +14 -0
- package/es/components/radio/src/radio-button2.mjs +15 -12
- package/es/components/radio/src/radio-button2.mjs.map +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +14 -0
- package/es/components/radio/src/radio-group2.mjs +6 -3
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/radio/src/radio.vue.d.ts +14 -0
- package/es/components/radio/src/radio2.mjs +26 -19
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/select/index.d.ts +3 -3
- package/es/components/select/src/select.mjs +11 -7
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +3 -3
- 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.d.ts +3 -3
- package/es/components/select-v2/index.d.ts +6 -6
- package/es/components/select-v2/src/select.vue.d.ts +3 -3
- package/es/components/select-v2/src/useSelect.d.ts +3 -3
- package/es/components/table/src/filter-panel.vue.d.ts +3 -3
- package/es/components/table/style/css.d.ts +1 -0
- package/es/components/table/style/css.mjs +1 -0
- package/es/components/table/style/css.mjs.map +1 -1
- package/es/components/table/style/index.d.ts +1 -0
- package/es/components/table/style/index.mjs +1 -0
- package/es/components/table/style/index.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +3 -3
- package/es/components/tooltip/index.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/lang/mg.d.ts +123 -0
- package/es/locale/lang/mg.mjs +125 -0
- package/es/locale/lang/mg.mjs.map +1 -0
- package/es/utils/index.mjs +1 -1
- package/es/utils/strings.d.ts +4 -1
- package/es/utils/strings.mjs +2 -2
- package/es/utils/strings.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/button/index.d.ts +65 -7
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/src/button.d.ts +5 -5
- package/lib/components/button/src/button.js +6 -6
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +65 -7
- package/lib/components/button/src/button2.js +78 -82
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +6 -6
- package/lib/components/cascader/src/index.vue.d.ts +3 -3
- package/lib/components/dropdown/index.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.vue.d.ts +3 -3
- package/lib/components/icon/index.d.ts +6 -0
- package/lib/components/icon/src/icon.vue.d.ts +6 -0
- package/lib/components/icon/src/icon2.js +15 -17
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/input/src/input2.js +1 -1
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/menu/index.d.ts +6 -0
- package/lib/components/menu/src/sub-menu.d.ts +4 -0
- package/lib/components/menu/src/sub-menu.js +5 -1
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popover/index.d.ts +6 -6
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/popper/src/content.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +70 -0
- package/lib/components/radio/src/radio-button.vue.d.ts +14 -0
- package/lib/components/radio/src/radio-button2.js +15 -12
- package/lib/components/radio/src/radio-button2.js.map +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +14 -0
- package/lib/components/radio/src/radio-group2.js +7 -4
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/radio/src/radio.vue.d.ts +14 -0
- package/lib/components/radio/src/radio2.js +25 -18
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/select/index.d.ts +3 -3
- package/lib/components/select/src/select.js +11 -7
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +3 -3
- 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.d.ts +3 -3
- package/lib/components/select-v2/index.d.ts +6 -6
- package/lib/components/select-v2/src/select.vue.d.ts +3 -3
- package/lib/components/select-v2/src/useSelect.d.ts +3 -3
- package/lib/components/table/src/filter-panel.vue.d.ts +3 -3
- package/lib/components/table/style/css.d.ts +1 -0
- package/lib/components/table/style/css.js +1 -0
- package/lib/components/table/style/css.js.map +1 -1
- package/lib/components/table/style/index.d.ts +1 -0
- package/lib/components/table/style/index.js +1 -0
- package/lib/components/table/style/index.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +3 -3
- package/lib/components/tooltip/index.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/lang/mg.d.ts +123 -0
- package/lib/locale/lang/mg.js +129 -0
- package/lib/locale/lang/mg.js.map +1 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/strings.d.ts +4 -1
- package/lib/utils/strings.js +2 -2
- package/lib/utils/strings.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-input.css +1 -1
- package/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +1 -0
- package/theme-chalk/src/input.scss +5 -4
- package/theme-chalk/src/pagination.scss +1 -1
- package/web-types.json +1 -1
|
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
87
|
$data: {};
|
|
88
88
|
$props: Partial<{
|
|
89
89
|
offset: number;
|
|
90
|
-
style: import("vue").StyleValue;
|
|
91
90
|
effect: string;
|
|
91
|
+
style: import("vue").StyleValue;
|
|
92
92
|
boundariesPadding: number;
|
|
93
93
|
fallbackPlacements: import("element-plus/es/components/popper").Placement[];
|
|
94
94
|
gpuAcceleration: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
@@ -219,7 +219,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
219
219
|
}>> & {
|
|
220
220
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
221
221
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
222
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "offset" | "
|
|
222
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "offset" | "effect" | "style" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "placement" | "popperOptions" | "strategy" | "className" | "enterable" | "pure" | "popperClass" | "popperStyle" | "referenceEl" | "stopPopperMouseEvent">;
|
|
223
223
|
$attrs: {
|
|
224
224
|
[x: string]: unknown;
|
|
225
225
|
};
|
|
@@ -326,8 +326,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
326
|
updatePopper: () => void;
|
|
327
327
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mouseenter" | "mouseleave")[], string, {
|
|
328
328
|
offset: number;
|
|
329
|
-
style: import("vue").StyleValue;
|
|
330
329
|
effect: string;
|
|
330
|
+
style: import("vue").StyleValue;
|
|
331
331
|
boundariesPadding: number;
|
|
332
332
|
fallbackPlacements: import("element-plus/es/components/popper").Placement[];
|
|
333
333
|
gpuAcceleration: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
@@ -589,8 +589,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
589
589
|
}>>, {
|
|
590
590
|
disabled: import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
591
591
|
offset: number;
|
|
592
|
-
style: import("vue").StyleValue;
|
|
593
592
|
effect: string;
|
|
593
|
+
style: import("vue").StyleValue;
|
|
594
594
|
visible: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean | null>, unknown, unknown>;
|
|
595
595
|
boundariesPadding: number;
|
|
596
596
|
fallbackPlacements: import("element-plus/es/components/popper").Placement[];
|
|
@@ -217,8 +217,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
217
|
}, {
|
|
218
218
|
disabled: boolean;
|
|
219
219
|
offset: number;
|
|
220
|
-
style: import("vue").StyleValue;
|
|
221
220
|
effect: string;
|
|
221
|
+
style: import("vue").StyleValue;
|
|
222
222
|
visible: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<boolean | null>, unknown, unknown>;
|
|
223
223
|
arrowOffset: number;
|
|
224
224
|
boundariesPadding: number;
|
package/es/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ export { ElBadge } from './components/badge/index.mjs';
|
|
|
19
19
|
export { breadcrumbProps } from './components/breadcrumb/src/breadcrumb.mjs';
|
|
20
20
|
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-item.mjs';
|
|
21
21
|
export { ElBreadcrumb, ElBreadcrumbItem } from './components/breadcrumb/index.mjs';
|
|
22
|
-
export { buttonEmits,
|
|
22
|
+
export { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './components/button/src/button.mjs';
|
|
23
23
|
export { ElButton, ElButtonGroup } from './components/button/index.mjs';
|
|
24
24
|
export { calendarEmits, calendarProps } from './components/calendar/src/calendar.mjs';
|
|
25
25
|
export { ElCalendar } from './components/calendar/index.mjs';
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
el: {
|
|
4
|
+
colorpicker: {
|
|
5
|
+
confirm: string;
|
|
6
|
+
clear: string;
|
|
7
|
+
};
|
|
8
|
+
datepicker: {
|
|
9
|
+
now: string;
|
|
10
|
+
today: string;
|
|
11
|
+
cancel: string;
|
|
12
|
+
clear: string;
|
|
13
|
+
confirm: string;
|
|
14
|
+
selectDate: string;
|
|
15
|
+
selectTime: string;
|
|
16
|
+
startDate: string;
|
|
17
|
+
startTime: string;
|
|
18
|
+
endDate: string;
|
|
19
|
+
endTime: string;
|
|
20
|
+
prevYear: string;
|
|
21
|
+
nextYear: string;
|
|
22
|
+
prevMonth: string;
|
|
23
|
+
nextMonth: string;
|
|
24
|
+
year: string;
|
|
25
|
+
month1: string;
|
|
26
|
+
month2: string;
|
|
27
|
+
month3: string;
|
|
28
|
+
month4: string;
|
|
29
|
+
month5: string;
|
|
30
|
+
month6: string;
|
|
31
|
+
month7: string;
|
|
32
|
+
month8: string;
|
|
33
|
+
month9: string;
|
|
34
|
+
month10: string;
|
|
35
|
+
month11: string;
|
|
36
|
+
month12: string;
|
|
37
|
+
week: string;
|
|
38
|
+
weeks: {
|
|
39
|
+
sun: string;
|
|
40
|
+
mon: string;
|
|
41
|
+
tue: string;
|
|
42
|
+
wed: string;
|
|
43
|
+
thu: string;
|
|
44
|
+
fri: string;
|
|
45
|
+
sat: string;
|
|
46
|
+
};
|
|
47
|
+
months: {
|
|
48
|
+
jan: string;
|
|
49
|
+
feb: string;
|
|
50
|
+
mar: string;
|
|
51
|
+
apr: string;
|
|
52
|
+
may: string;
|
|
53
|
+
jun: string;
|
|
54
|
+
jul: string;
|
|
55
|
+
aug: string;
|
|
56
|
+
sep: string;
|
|
57
|
+
oct: string;
|
|
58
|
+
nov: string;
|
|
59
|
+
dec: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
select: {
|
|
63
|
+
loading: string;
|
|
64
|
+
noMatch: string;
|
|
65
|
+
noData: string;
|
|
66
|
+
placeholder: string;
|
|
67
|
+
};
|
|
68
|
+
cascader: {
|
|
69
|
+
noMatch: string;
|
|
70
|
+
loading: string;
|
|
71
|
+
placeholder: string;
|
|
72
|
+
noData: string;
|
|
73
|
+
};
|
|
74
|
+
pagination: {
|
|
75
|
+
goto: string;
|
|
76
|
+
pagesize: string;
|
|
77
|
+
total: string;
|
|
78
|
+
pageClassifier: string;
|
|
79
|
+
deprecationWarning: string;
|
|
80
|
+
};
|
|
81
|
+
messagebox: {
|
|
82
|
+
title: string;
|
|
83
|
+
confirm: string;
|
|
84
|
+
cancel: string;
|
|
85
|
+
error: string;
|
|
86
|
+
};
|
|
87
|
+
upload: {
|
|
88
|
+
deleteTip: string;
|
|
89
|
+
delete: string;
|
|
90
|
+
preview: string;
|
|
91
|
+
continue: string;
|
|
92
|
+
};
|
|
93
|
+
table: {
|
|
94
|
+
emptyText: string;
|
|
95
|
+
confirmFilter: string;
|
|
96
|
+
resetFilter: string;
|
|
97
|
+
clearFilter: string;
|
|
98
|
+
sumText: string;
|
|
99
|
+
};
|
|
100
|
+
tree: {
|
|
101
|
+
emptyText: string;
|
|
102
|
+
};
|
|
103
|
+
transfer: {
|
|
104
|
+
noMatch: string;
|
|
105
|
+
noData: string;
|
|
106
|
+
titles: string[];
|
|
107
|
+
filterPlaceholder: string;
|
|
108
|
+
noCheckedFormat: string;
|
|
109
|
+
hasCheckedFormat: string;
|
|
110
|
+
};
|
|
111
|
+
image: {
|
|
112
|
+
error: string;
|
|
113
|
+
};
|
|
114
|
+
pageHeader: {
|
|
115
|
+
title: string;
|
|
116
|
+
};
|
|
117
|
+
popconfirm: {
|
|
118
|
+
confirmButtonText: string;
|
|
119
|
+
cancelButtonText: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export default _default;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
var mg = {
|
|
2
|
+
name: "mg",
|
|
3
|
+
el: {
|
|
4
|
+
colorpicker: {
|
|
5
|
+
confirm: "ENY",
|
|
6
|
+
clear: "Fafana"
|
|
7
|
+
},
|
|
8
|
+
datepicker: {
|
|
9
|
+
now: "Zao",
|
|
10
|
+
today: "Androany",
|
|
11
|
+
cancel: "Hanafoana",
|
|
12
|
+
clear: "Fafana",
|
|
13
|
+
confirm: "ENY",
|
|
14
|
+
selectDate: "Misafidy daty",
|
|
15
|
+
selectTime: "Misafidy ora",
|
|
16
|
+
startDate: "Daty fanombohana",
|
|
17
|
+
startTime: "Ora fanombohana",
|
|
18
|
+
endDate: "Daty farany",
|
|
19
|
+
endTime: "Ora farany",
|
|
20
|
+
prevYear: "Taona teo aloha",
|
|
21
|
+
nextYear: "Taona manaraka",
|
|
22
|
+
prevMonth: "Volana teo aloha",
|
|
23
|
+
nextMonth: "Volana manaraka",
|
|
24
|
+
year: "",
|
|
25
|
+
month1: "Janoary",
|
|
26
|
+
month2: "Febroary",
|
|
27
|
+
month3: "Martsa",
|
|
28
|
+
month4: "Aprily",
|
|
29
|
+
month5: "May",
|
|
30
|
+
month6: "Jona",
|
|
31
|
+
month7: "Jolay",
|
|
32
|
+
month8: "Aogositra",
|
|
33
|
+
month9: "Septambra",
|
|
34
|
+
month10: "Oktobra",
|
|
35
|
+
month11: "Novambra",
|
|
36
|
+
month12: "Desambra",
|
|
37
|
+
week: "herinandro",
|
|
38
|
+
weeks: {
|
|
39
|
+
sun: "Lad",
|
|
40
|
+
mon: "Ala",
|
|
41
|
+
tue: "Tal",
|
|
42
|
+
wed: "Lar",
|
|
43
|
+
thu: "Lak",
|
|
44
|
+
fri: "Zom",
|
|
45
|
+
sat: "Sab"
|
|
46
|
+
},
|
|
47
|
+
months: {
|
|
48
|
+
jan: "Jan",
|
|
49
|
+
feb: "Feb",
|
|
50
|
+
mar: "Mar",
|
|
51
|
+
apr: "Apr",
|
|
52
|
+
may: "May",
|
|
53
|
+
jun: "Jon",
|
|
54
|
+
jul: "Jol",
|
|
55
|
+
aug: "Aog",
|
|
56
|
+
sep: "Sep",
|
|
57
|
+
oct: "Okt",
|
|
58
|
+
nov: "Nov",
|
|
59
|
+
dec: "Des"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
select: {
|
|
63
|
+
loading: "Eo ampiandrasana",
|
|
64
|
+
noMatch: "Tsy misy angona mifanentana",
|
|
65
|
+
noData: "Tsy misy angona",
|
|
66
|
+
placeholder: "Safidy"
|
|
67
|
+
},
|
|
68
|
+
cascader: {
|
|
69
|
+
noMatch: "Tsy misy angona mifanentana",
|
|
70
|
+
loading: "Eo ampiandrasana",
|
|
71
|
+
placeholder: "Safidy",
|
|
72
|
+
noData: "Tsy misy angona"
|
|
73
|
+
},
|
|
74
|
+
pagination: {
|
|
75
|
+
goto: "Mandeha any",
|
|
76
|
+
pagesize: "/page",
|
|
77
|
+
total: "Totaly {total}",
|
|
78
|
+
pageClassifier: "",
|
|
79
|
+
deprecationWarning: "Fampiasana tsy ampiasaina intsony no hita, azafady mba jereo ny tahirin-kevitra el-pagination raha mila fanazavana fanampiny"
|
|
80
|
+
},
|
|
81
|
+
messagebox: {
|
|
82
|
+
title: "Hafatra",
|
|
83
|
+
confirm: "ENY",
|
|
84
|
+
cancel: "Hanafoana",
|
|
85
|
+
error: "Fampidirana tsy ara-dal\xE0na"
|
|
86
|
+
},
|
|
87
|
+
upload: {
|
|
88
|
+
deleteTip: "tsindrio fafana raha hanala",
|
|
89
|
+
delete: "Fafana",
|
|
90
|
+
preview: "Topi-maso",
|
|
91
|
+
continue: "Hanoy"
|
|
92
|
+
},
|
|
93
|
+
table: {
|
|
94
|
+
emptyText: "Tsy misy angona",
|
|
95
|
+
confirmFilter: "Manamarina",
|
|
96
|
+
resetFilter: "Averina",
|
|
97
|
+
clearFilter: "Rehetra",
|
|
98
|
+
sumText: "Atambatra"
|
|
99
|
+
},
|
|
100
|
+
tree: {
|
|
101
|
+
emptyText: "Tsy misy angona"
|
|
102
|
+
},
|
|
103
|
+
transfer: {
|
|
104
|
+
noMatch: "Tsy misy angona mifanentana",
|
|
105
|
+
noData: "Tsy misy angona",
|
|
106
|
+
titles: ["Lisitra 1", "Lisitra 2"],
|
|
107
|
+
filterPlaceholder: "Ampidiro teny fanalahidy",
|
|
108
|
+
noCheckedFormat: "{total} zavatra",
|
|
109
|
+
hasCheckedFormat: "{checked}/{total} voamarina"
|
|
110
|
+
},
|
|
111
|
+
image: {
|
|
112
|
+
error: "TSY NAHOMBY"
|
|
113
|
+
},
|
|
114
|
+
pageHeader: {
|
|
115
|
+
title: "Miverina"
|
|
116
|
+
},
|
|
117
|
+
popconfirm: {
|
|
118
|
+
confirmButtonText: "Eny",
|
|
119
|
+
cancelButtonText: "Tsy"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export { mg as default };
|
|
125
|
+
//# sourceMappingURL=mg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mg.mjs","sources":["../../../../../packages/locale/lang/mg.ts"],"sourcesContent":["export default {\n name: 'mg',\n el: {\n colorpicker: {\n confirm: 'ENY',\n clear: 'Fafana',\n },\n datepicker: {\n now: 'Zao',\n today: 'Androany',\n cancel: 'Hanafoana',\n clear: 'Fafana',\n confirm: 'ENY',\n selectDate: 'Misafidy daty',\n selectTime: 'Misafidy ora',\n startDate: 'Daty fanombohana',\n startTime: 'Ora fanombohana',\n endDate: 'Daty farany',\n endTime: 'Ora farany',\n prevYear: 'Taona teo aloha',\n nextYear: 'Taona manaraka',\n prevMonth: 'Volana teo aloha',\n nextMonth: 'Volana manaraka',\n year: '',\n month1: 'Janoary',\n month2: 'Febroary',\n month3: 'Martsa',\n month4: 'Aprily',\n month5: 'May',\n month6: 'Jona',\n month7: 'Jolay',\n month8: 'Aogositra',\n month9: 'Septambra',\n month10: 'Oktobra',\n month11: 'Novambra',\n month12: 'Desambra',\n week: 'herinandro',\n weeks: {\n sun: 'Lad',\n mon: 'Ala',\n tue: 'Tal',\n wed: 'Lar',\n thu: 'Lak',\n fri: 'Zom',\n sat: 'Sab',\n },\n months: {\n jan: 'Jan',\n feb: 'Feb',\n mar: 'Mar',\n apr: 'Apr',\n may: 'May',\n jun: 'Jon',\n jul: 'Jol',\n aug: 'Aog',\n sep: 'Sep',\n oct: 'Okt',\n nov: 'Nov',\n dec: 'Des',\n },\n },\n select: {\n loading: 'Eo ampiandrasana',\n noMatch: 'Tsy misy angona mifanentana',\n noData: 'Tsy misy angona',\n placeholder: 'Safidy',\n },\n cascader: {\n noMatch: 'Tsy misy angona mifanentana',\n loading: 'Eo ampiandrasana',\n placeholder: 'Safidy',\n noData: 'Tsy misy angona',\n },\n pagination: {\n goto: 'Mandeha any',\n pagesize: '/page',\n total: 'Totaly {total}',\n pageClassifier: '',\n deprecationWarning:\n 'Fampiasana tsy ampiasaina intsony no hita, azafady mba jereo ny tahirin-kevitra el-pagination raha mila fanazavana fanampiny',\n },\n messagebox: {\n title: 'Hafatra',\n confirm: 'ENY',\n cancel: 'Hanafoana',\n error: 'Fampidirana tsy ara-dalàna',\n },\n upload: {\n deleteTip: 'tsindrio fafana raha hanala',\n delete: 'Fafana',\n preview: 'Topi-maso',\n continue: 'Hanoy',\n },\n table: {\n emptyText: 'Tsy misy angona',\n confirmFilter: 'Manamarina',\n resetFilter: 'Averina',\n clearFilter: 'Rehetra',\n sumText: 'Atambatra',\n },\n tree: {\n emptyText: 'Tsy misy angona',\n },\n transfer: {\n noMatch: 'Tsy misy angona mifanentana',\n noData: 'Tsy misy angona',\n titles: ['Lisitra 1', 'Lisitra 2'], // to be translated\n filterPlaceholder: 'Ampidiro teny fanalahidy', // to be translated\n noCheckedFormat: '{total} zavatra', // to be translated\n hasCheckedFormat: '{checked}/{total} voamarina', // to be translated\n },\n image: {\n error: 'TSY NAHOMBY',\n },\n pageHeader: {\n title: 'Miverina', // to be translated\n },\n popconfirm: {\n confirmButtonText: 'Eny',\n cancelButtonText: 'Tsy',\n },\n },\n}\n"],"names":[],"mappings":"AAAA,SAAe;AACf,EAAE,IAAI,EAAE,IAAI;AACZ,EAAE,EAAE,EAAE;AACN,IAAI,WAAW,EAAE;AACjB,MAAM,OAAO,EAAE,KAAK;AACpB,MAAM,KAAK,EAAE,QAAQ;AACrB,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,MAAM,GAAG,EAAE,KAAK;AAChB,MAAM,KAAK,EAAE,UAAU;AACvB,MAAM,MAAM,EAAE,WAAW;AACzB,MAAM,KAAK,EAAE,QAAQ;AACrB,MAAM,OAAO,EAAE,KAAK;AACpB,MAAM,UAAU,EAAE,eAAe;AACjC,MAAM,UAAU,EAAE,cAAc;AAChC,MAAM,SAAS,EAAE,kBAAkB;AACnC,MAAM,SAAS,EAAE,iBAAiB;AAClC,MAAM,OAAO,EAAE,aAAa;AAC5B,MAAM,OAAO,EAAE,YAAY;AAC3B,MAAM,QAAQ,EAAE,iBAAiB;AACjC,MAAM,QAAQ,EAAE,gBAAgB;AAChC,MAAM,SAAS,EAAE,kBAAkB;AACnC,MAAM,SAAS,EAAE,iBAAiB;AAClC,MAAM,IAAI,EAAE,EAAE;AACd,M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K,EAAE,aAAa;AAC1B,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,MAAM,KAAK,EAAE,UAAU;AACvB,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,MAAM,iBAAiB,EAAE,KAAK;AAC9B,MAAM,gBAAgB,EAAE,KAAK;AAC7B,KAAK;AACL,GAAG;AACH,CAAC;;;;"}
|
package/es/utils/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ export { isKorean } from './i18n.mjs';
|
|
|
8
8
|
export { entriesOf, getPropByPath, keysOf } from './objects.mjs';
|
|
9
9
|
export { cAF, rAF } from './raf.mjs';
|
|
10
10
|
export { generateId, getRandomInt } from './rand.mjs';
|
|
11
|
-
export {
|
|
11
|
+
export { escapeStringRegexp } from './strings.mjs';
|
|
12
12
|
export { isEmpty, isUndefined } from './types.mjs';
|
|
13
13
|
export { mutable } from './typescript.mjs';
|
|
14
14
|
export { attemptFocus, focusNode, getSibling, isFocusable, isLeaf, isVisible, obtainAllFocusableElements, triggerEvent } from './dom/aria.mjs';
|
package/es/utils/strings.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export { camelize, capitalize, hyphenate, hyphenate as kebabCase, } from '@vue/shared';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* fork from {@link https://github.com/sindresorhus/escape-string-regexp}
|
|
4
|
+
*/
|
|
5
|
+
export declare const escapeStringRegexp: (string?: string) => string;
|
package/es/utils/strings.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { camelize, capitalize, hyphenate, hyphenate as kebabCase } from '@vue/shared';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const escapeStringRegexp = (string = "") => string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
4
4
|
|
|
5
|
-
export {
|
|
5
|
+
export { escapeStringRegexp };
|
|
6
6
|
//# sourceMappingURL=strings.mjs.map
|
package/es/utils/strings.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strings.mjs","sources":["../../../../packages/utils/strings.ts"],"sourcesContent":["export {\n camelize,\n capitalize,\n hyphenate,\n hyphenate as kebabCase, // alias\n} from '@vue/shared'\n\nexport const
|
|
1
|
+
{"version":3,"file":"strings.mjs","sources":["../../../../packages/utils/strings.ts"],"sourcesContent":["export {\n camelize,\n capitalize,\n hyphenate,\n hyphenate as kebabCase, // alias\n} from '@vue/shared'\n\n/**\n * fork from {@link https://github.com/sindresorhus/escape-string-regexp}\n */\nexport const escapeStringRegexp = (string = '') =>\n string.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d')\n"],"names":[],"mappings":";;AAMY,MAAC,kBAAkB,GAAG,CAAC,MAAM,GAAG,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO;;;;"}
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.20220215";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220215'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
|
@@ -13,13 +13,29 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
13
13
|
readonly color: StringConstructor;
|
|
14
14
|
readonly autoInsertSpace: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, undefined, unknown, unknown, unknown>;
|
|
15
15
|
}, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "default" | "small" | "large", never>;
|
|
18
|
+
readonly disabled: BooleanConstructor;
|
|
19
|
+
readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
20
|
+
readonly icon: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
|
|
21
|
+
readonly nativeType: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
|
|
22
|
+
readonly loading: BooleanConstructor;
|
|
23
|
+
readonly loadingIcon: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, () => import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, unknown, unknown, unknown>;
|
|
24
|
+
readonly plain: BooleanConstructor;
|
|
25
|
+
readonly autofocus: BooleanConstructor;
|
|
26
|
+
readonly round: BooleanConstructor;
|
|
27
|
+
readonly circle: BooleanConstructor;
|
|
28
|
+
readonly color: StringConstructor;
|
|
29
|
+
readonly autoInsertSpace: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, undefined, unknown, unknown, unknown>;
|
|
30
|
+
}>> & {
|
|
31
|
+
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
32
|
+
}>>;
|
|
33
|
+
emit: (event: "click", evt: MouseEvent) => void;
|
|
34
|
+
slots: Readonly<{
|
|
35
|
+
[name: string]: import("vue").Slot | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
buttonGroupContext: import("../..").ButtonGroupContext | undefined;
|
|
38
|
+
globalConfig: import("vue").Ref<import("./src/button").ButtonConfigContext | undefined>;
|
|
23
39
|
ns: {
|
|
24
40
|
namespace: import("vue").ComputedRef<string>;
|
|
25
41
|
b: (blockSuffix?: string) => string;
|
|
@@ -34,6 +50,48 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
34
50
|
(name: string): string;
|
|
35
51
|
};
|
|
36
52
|
};
|
|
53
|
+
form: import("../..").ElFormContext | undefined;
|
|
54
|
+
_size: import("vue").ComputedRef<"default" | "small" | "large">;
|
|
55
|
+
_disabled: import("vue").ComputedRef<boolean>;
|
|
56
|
+
_ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
57
|
+
_type: import("vue").ComputedRef<"default" | "" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
58
|
+
autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>>;
|
|
59
|
+
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
60
|
+
typeColor: import("vue").ComputedRef<string>;
|
|
61
|
+
buttonStyle: import("vue").ComputedRef<Record<string, string>>;
|
|
62
|
+
handleClick: (evt: MouseEvent) => void;
|
|
63
|
+
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
64
|
+
readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>;
|
|
65
|
+
readonly color: import("element-plus/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, unknown, unknown>;
|
|
66
|
+
}, {
|
|
67
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>;
|
|
69
|
+
readonly color: import("element-plus/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, unknown, unknown>;
|
|
70
|
+
}>> & {
|
|
71
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
72
|
+
}>>;
|
|
73
|
+
ns: {
|
|
74
|
+
namespace: import("vue").ComputedRef<string>;
|
|
75
|
+
b: (blockSuffix?: string) => string;
|
|
76
|
+
e: (element?: string | undefined) => string;
|
|
77
|
+
m: (modifier?: string | undefined) => string;
|
|
78
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
79
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
80
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
81
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
82
|
+
is: {
|
|
83
|
+
(name: string, state: boolean | undefined): string;
|
|
84
|
+
(name: string): string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
88
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>;
|
|
90
|
+
readonly color: import("element-plus/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, unknown, unknown>;
|
|
91
|
+
}>>, {
|
|
92
|
+
size: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown>;
|
|
93
|
+
color: string;
|
|
94
|
+
}>> & Record<string, any>;
|
|
37
95
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
96
|
click: (evt: MouseEvent) => boolean;
|
|
39
97
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -14,9 +14,9 @@ const ElButton = install.withInstall(button$1["default"], {
|
|
|
14
14
|
const ElButtonGroup = install.withNoopInstall(buttonGroup["default"]);
|
|
15
15
|
|
|
16
16
|
exports.buttonEmits = button.buttonEmits;
|
|
17
|
-
exports.
|
|
17
|
+
exports.buttonNativeTypes = button.buttonNativeTypes;
|
|
18
18
|
exports.buttonProps = button.buttonProps;
|
|
19
|
-
exports.
|
|
19
|
+
exports.buttonTypes = button.buttonTypes;
|
|
20
20
|
exports.ElButton = ElButton;
|
|
21
21
|
exports.ElButtonGroup = ElButtonGroup;
|
|
22
22
|
exports["default"] = ElButton;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type button from './button.vue';
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const buttonTypes: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
|
|
4
|
+
export declare const buttonNativeTypes: readonly ["button", "submit", "reset"];
|
|
5
5
|
export declare const buttonProps: {
|
|
6
6
|
readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "default" | "small" | "large", never>;
|
|
7
7
|
readonly disabled: BooleanConstructor;
|
|
@@ -17,9 +17,6 @@ export declare const buttonProps: {
|
|
|
17
17
|
readonly color: StringConstructor;
|
|
18
18
|
readonly autoInsertSpace: import("element-plus/es/utils").BuildPropReturn<BooleanConstructor, undefined, unknown, unknown, unknown>;
|
|
19
19
|
};
|
|
20
|
-
export interface ButtonConfigContext {
|
|
21
|
-
autoInsertSpace?: boolean;
|
|
22
|
-
}
|
|
23
20
|
export declare const buttonEmits: {
|
|
24
21
|
click: (evt: MouseEvent) => boolean;
|
|
25
22
|
};
|
|
@@ -28,3 +25,6 @@ export declare type ButtonEmits = typeof buttonEmits;
|
|
|
28
25
|
export declare type ButtonType = ButtonProps['type'];
|
|
29
26
|
export declare type ButtonNativeType = ButtonProps['nativeType'];
|
|
30
27
|
export declare type ButtonInstance = InstanceType<typeof button>;
|
|
28
|
+
export interface ButtonConfigContext {
|
|
29
|
+
autoInsertSpace?: boolean;
|
|
30
|
+
}
|
|
@@ -9,7 +9,7 @@ var props = require('../../../utils/vue/props.js');
|
|
|
9
9
|
var index = require('../../../hooks/use-common-props/index.js');
|
|
10
10
|
var icon = require('../../../utils/vue/icon.js');
|
|
11
11
|
|
|
12
|
-
const
|
|
12
|
+
const buttonTypes = [
|
|
13
13
|
"default",
|
|
14
14
|
"primary",
|
|
15
15
|
"success",
|
|
@@ -19,13 +19,13 @@ const buttonType = [
|
|
|
19
19
|
"text",
|
|
20
20
|
""
|
|
21
21
|
];
|
|
22
|
-
const
|
|
22
|
+
const buttonNativeTypes = ["button", "submit", "reset"];
|
|
23
23
|
const buttonProps = props.buildProps({
|
|
24
24
|
size: index.useSizeProp,
|
|
25
25
|
disabled: Boolean,
|
|
26
26
|
type: {
|
|
27
27
|
type: String,
|
|
28
|
-
values:
|
|
28
|
+
values: buttonTypes,
|
|
29
29
|
default: ""
|
|
30
30
|
},
|
|
31
31
|
icon: {
|
|
@@ -34,7 +34,7 @@ const buttonProps = props.buildProps({
|
|
|
34
34
|
},
|
|
35
35
|
nativeType: {
|
|
36
36
|
type: String,
|
|
37
|
-
values:
|
|
37
|
+
values: buttonNativeTypes,
|
|
38
38
|
default: "button"
|
|
39
39
|
},
|
|
40
40
|
loading: Boolean,
|
|
@@ -57,7 +57,7 @@ const buttonEmits = {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
exports.buttonEmits = buttonEmits;
|
|
60
|
-
exports.
|
|
60
|
+
exports.buttonNativeTypes = buttonNativeTypes;
|
|
61
61
|
exports.buttonProps = buttonProps;
|
|
62
|
-
exports.
|
|
62
|
+
exports.buttonTypes = buttonTypes;
|
|
63
63
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { ExtractPropTypes } from 'vue'\nimport type button from './button.vue'\n\nexport const
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { ExtractPropTypes } from 'vue'\nimport type button from './button.vue'\n\nexport const buttonTypes = [\n 'default',\n 'primary',\n 'success',\n 'warning',\n 'info',\n 'danger',\n 'text',\n '',\n] as const\nexport const buttonNativeTypes = ['button', 'submit', 'reset'] as const\n\nexport const buttonProps = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n type: {\n type: String,\n values: buttonTypes,\n default: '',\n },\n icon: {\n type: iconPropType,\n default: '',\n },\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: 'button',\n },\n loading: Boolean,\n loadingIcon: {\n type: iconPropType,\n default: () => Loading,\n },\n plain: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean,\n color: String,\n autoInsertSpace: {\n type: Boolean,\n default: undefined,\n },\n} as const)\nexport const buttonEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type ButtonProps = ExtractPropTypes<typeof buttonProps>\nexport type ButtonEmits = typeof buttonEmits\n\nexport type ButtonType = ButtonProps['type']\nexport type ButtonNativeType = ButtonProps['nativeType']\n\nexport type ButtonInstance = InstanceType<typeof button>\n\nexport interface ButtonConfigContext {\n autoInsertSpace?: boolean\n}\n"],"names":["buildProps","useSizeProp","iconPropType","Loading"],"mapp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