@element-plus/nightly 0.0.20240103 → 0.0.20240105
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 +20 -15
- 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 +20 -15
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +6 -6
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/src/button-group.mjs +30 -6
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button-group2.mjs +6 -30
- package/es/components/button/src/button-group2.mjs.map +1 -1
- package/es/components/button/src/button.mjs +76 -57
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +57 -76
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +12 -12
- package/es/components/cascader/src/cascader.vue.d.ts +6 -6
- package/es/components/color-picker/index.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/es/components/date-picker/src/panel-utils.d.ts +4 -4
- package/es/components/index.mjs +1 -1
- package/es/components/input/index.d.ts +2 -2
- package/es/components/input/src/input.vue.d.ts +2 -2
- package/es/components/input/src/input2.mjs +10 -10
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +6 -6
- package/es/components/input-number/src/input-number.vue.d.ts +6 -6
- package/es/components/menu/src/sub-menu.mjs +5 -3
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/slider/index.d.ts +6 -6
- package/es/components/slider/src/slider.vue.d.ts +6 -6
- package/es/components/time-picker/src/common/picker.vue.d.ts +2 -2
- package/es/components/tour/src/content2.mjs +4 -1
- package/es/components/tour/src/content2.mjs.map +1 -1
- package/es/components/tour/src/mask.mjs +112 -19
- package/es/components/tour/src/mask.mjs.map +1 -1
- package/es/components/tour/src/mask2.mjs +19 -112
- package/es/components/tour/src/mask2.mjs.map +1 -1
- package/es/components/tour/src/tour2.mjs +1 -1
- package/es/components/transfer/index.d.ts +10 -10
- package/es/components/transfer/src/transfer-panel.vue.d.ts +2 -2
- package/es/components/transfer/src/transfer.vue.d.ts +10 -10
- package/es/index.mjs +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/autocomplete/index.d.ts +6 -6
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +6 -6
- package/lib/components/button/index.js +3 -3
- package/lib/components/button/src/button-group.js +30 -6
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button-group2.js +6 -30
- package/lib/components/button/src/button-group2.js.map +1 -1
- package/lib/components/button/src/button.js +76 -60
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +60 -76
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +12 -12
- package/lib/components/cascader/src/cascader.vue.d.ts +6 -6
- package/lib/components/color-picker/index.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/lib/components/date-picker/src/panel-utils.d.ts +4 -4
- package/lib/components/index.js +1 -1
- package/lib/components/input/index.d.ts +2 -2
- package/lib/components/input/src/input.vue.d.ts +2 -2
- package/lib/components/input/src/input2.js +10 -10
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +6 -6
- package/lib/components/input-number/src/input-number.vue.d.ts +6 -6
- package/lib/components/menu/src/sub-menu.js +5 -3
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/slider/index.d.ts +6 -6
- package/lib/components/slider/src/slider.vue.d.ts +6 -6
- package/lib/components/time-picker/src/common/picker.vue.d.ts +2 -2
- package/lib/components/tour/src/content2.js +3 -0
- package/lib/components/tour/src/content2.js.map +1 -1
- package/lib/components/tour/src/mask.js +112 -19
- package/lib/components/tour/src/mask.js.map +1 -1
- package/lib/components/tour/src/mask2.js +19 -112
- package/lib/components/tour/src/mask2.js.map +1 -1
- package/lib/components/tour/src/tour2.js +1 -1
- package/lib/components/transfer/index.d.ts +10 -10
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +2 -2
- package/lib/components/transfer/src/transfer.vue.d.ts +10 -10
- package/lib/index.js +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/theme-chalk/el-menu.css +1 -1
- package/theme-chalk/el-tour.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/menu.scss +6 -0
- package/theme-chalk/src/tour.scss +9 -0
- package/web-types.json +1 -1
|
@@ -2,36 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../hooks/index.js');
|
|
7
|
-
var buttonGroup = require('./button-group.js');
|
|
8
|
-
var constants = require('./constants.js');
|
|
9
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
|
5
|
+
var button = require('./button2.js');
|
|
11
6
|
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
...__default__,
|
|
17
|
-
props: buttonGroup.buttonGroupProps,
|
|
18
|
-
setup(__props) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
vue.provide(constants.buttonGroupContextKey, vue.reactive({
|
|
21
|
-
size: vue.toRef(props, "size"),
|
|
22
|
-
type: vue.toRef(props, "type")
|
|
23
|
-
}));
|
|
24
|
-
const ns = index.useNamespace("button");
|
|
25
|
-
return (_ctx, _cache) => {
|
|
26
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
27
|
-
class: vue.normalizeClass(`${vue.unref(ns).b("group")}`)
|
|
28
|
-
}, [
|
|
29
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
30
|
-
], 2);
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
var ButtonGroup = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "button-group.vue"]]);
|
|
7
|
+
const buttonGroupProps = {
|
|
8
|
+
size: button.buttonProps.size,
|
|
9
|
+
type: button.buttonProps.type
|
|
10
|
+
};
|
|
35
11
|
|
|
36
|
-
exports
|
|
12
|
+
exports.buttonGroupProps = buttonGroupProps;
|
|
37
13
|
//# sourceMappingURL=button-group2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group2.js","sources":["../../../../../../packages/components/button/src/button-group.
|
|
1
|
+
{"version":3,"file":"button-group2.js","sources":["../../../../../../packages/components/button/src/button-group.ts"],"sourcesContent":["import { buttonProps } from './button'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const buttonGroupProps = {\n /**\n * @description control the size of buttons in this button-group\n */\n size: buttonProps.size,\n /**\n * @description control the type of buttons in this button-group\n */\n type: buttonProps.type,\n} as const\nexport type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>\n"],"names":["buttonProps"],"mappings":";;;;;;AACY,MAAC,gBAAgB,GAAG;AAChC,EAAE,IAAI,EAAEA,kBAAW,CAAC,IAAI;AACxB,EAAE,IAAI,EAAEA,kBAAW,CAAC,IAAI;AACxB;;;;"}
|
|
@@ -2,69 +2,85 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var index$1 = require('../../icon/index.js');
|
|
5
7
|
require('../../../hooks/index.js');
|
|
6
|
-
require('
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
8
|
+
var useButton = require('./use-button.js');
|
|
9
|
+
var button = require('./button2.js');
|
|
10
|
+
var buttonCustom = require('./button-custom.js');
|
|
11
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
12
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
11
13
|
|
|
12
|
-
const
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
14
|
+
const __default__ = vue.defineComponent({
|
|
15
|
+
name: "ElButton"
|
|
16
|
+
});
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
18
|
+
...__default__,
|
|
19
|
+
props: button.buttonProps,
|
|
20
|
+
emits: button.buttonEmits,
|
|
21
|
+
setup(__props, { expose, emit }) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const buttonStyle = buttonCustom.useButtonCustomStyle(props);
|
|
24
|
+
const ns = index.useNamespace("button");
|
|
25
|
+
const { _ref, _size, _type, _disabled, _props, shouldAddSpace, handleClick } = useButton.useButton(props, emit);
|
|
26
|
+
expose({
|
|
27
|
+
ref: _ref,
|
|
28
|
+
size: _size,
|
|
29
|
+
type: _type,
|
|
30
|
+
disabled: _disabled,
|
|
31
|
+
shouldAddSpace
|
|
32
|
+
});
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), vue.mergeProps({
|
|
35
|
+
ref_key: "_ref",
|
|
36
|
+
ref: _ref
|
|
37
|
+
}, vue.unref(_props), {
|
|
38
|
+
class: [
|
|
39
|
+
vue.unref(ns).b(),
|
|
40
|
+
vue.unref(ns).m(vue.unref(_type)),
|
|
41
|
+
vue.unref(ns).m(vue.unref(_size)),
|
|
42
|
+
vue.unref(ns).is("disabled", vue.unref(_disabled)),
|
|
43
|
+
vue.unref(ns).is("loading", _ctx.loading),
|
|
44
|
+
vue.unref(ns).is("plain", _ctx.plain),
|
|
45
|
+
vue.unref(ns).is("round", _ctx.round),
|
|
46
|
+
vue.unref(ns).is("circle", _ctx.circle),
|
|
47
|
+
vue.unref(ns).is("text", _ctx.text),
|
|
48
|
+
vue.unref(ns).is("link", _ctx.link),
|
|
49
|
+
vue.unref(ns).is("has-bg", _ctx.bg)
|
|
50
|
+
],
|
|
51
|
+
style: vue.unref(buttonStyle),
|
|
52
|
+
onClick: vue.unref(handleClick)
|
|
53
|
+
}), {
|
|
54
|
+
default: vue.withCtx(() => [
|
|
55
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
56
|
+
_ctx.$slots.loading ? vue.renderSlot(_ctx.$slots, "loading", { key: 0 }) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), {
|
|
57
|
+
key: 1,
|
|
58
|
+
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
59
|
+
}, {
|
|
60
|
+
default: vue.withCtx(() => [
|
|
61
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.loadingIcon)))
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 8, ["class"]))
|
|
65
|
+
], 64)) : _ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 1 }, {
|
|
66
|
+
default: vue.withCtx(() => [
|
|
67
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), { key: 0 })) : vue.renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
68
|
+
]),
|
|
69
|
+
_: 3
|
|
70
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
71
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
72
|
+
key: 2,
|
|
73
|
+
class: vue.normalizeClass({ [vue.unref(ns).em("text", "expand")]: vue.unref(shouldAddSpace) })
|
|
74
|
+
}, [
|
|
75
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
76
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
77
|
+
]),
|
|
78
|
+
_: 3
|
|
79
|
+
}, 16, ["class", "style", "onClick"]);
|
|
80
|
+
};
|
|
60
81
|
}
|
|
61
82
|
});
|
|
62
|
-
|
|
63
|
-
click: (evt) => evt instanceof MouseEvent
|
|
64
|
-
};
|
|
83
|
+
var Button = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "button.vue"]]);
|
|
65
84
|
|
|
66
|
-
exports
|
|
67
|
-
exports.buttonNativeTypes = buttonNativeTypes;
|
|
68
|
-
exports.buttonProps = buttonProps;
|
|
69
|
-
exports.buttonTypes = buttonTypes;
|
|
85
|
+
exports["default"] = Button;
|
|
70
86
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../../../packages/components/button/src/button.
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../../../packages/components/button/src/button.vue"],"sourcesContent":["<template>\n <component\n :is=\"tag\"\n ref=\"_ref\"\n v-bind=\"_props\"\n :class=\"[\n ns.b(),\n ns.m(_type),\n ns.m(_size),\n ns.is('disabled', _disabled),\n ns.is('loading', loading),\n ns.is('plain', plain),\n ns.is('round', round),\n ns.is('circle', circle),\n ns.is('text', text),\n ns.is('link', link),\n ns.is('has-bg', bg),\n ]\"\n :style=\"buttonStyle\"\n @click=\"handleClick\"\n >\n <template v-if=\"loading\">\n <slot v-if=\"$slots.loading\" name=\"loading\" />\n <el-icon v-else :class=\"ns.is('loading')\">\n <component :is=\"loadingIcon\" />\n </el-icon>\n </template>\n <el-icon v-else-if=\"icon || $slots.icon\">\n <component :is=\"icon\" v-if=\"icon\" />\n <slot v-else name=\"icon\" />\n </el-icon>\n <span\n v-if=\"$slots.default\"\n :class=\"{ [ns.em('text', 'expand')]: shouldAddSpace }\"\n >\n <slot />\n </span>\n </component>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ElIcon } from '@element-plus/components/icon'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useButton } from './use-button'\nimport { buttonEmits, buttonProps } from './button'\nimport { useButtonCustomStyle } from './button-custom'\n\ndefineOptions({\n name: 'ElButton',\n})\n\nconst props = defineProps(buttonProps)\nconst emit = defineEmits(buttonEmits)\n\nconst buttonStyle = useButtonCustomStyle(props)\nconst ns = useNamespace('button')\nconst { _ref, _size, _type, _disabled, _props, shouldAddSpace, handleClick } =\n useButton(props, emit)\n\ndefineExpose({\n /** @description button html element */\n ref: _ref,\n /** @description button size */\n size: _size,\n /** @description button type */\n type: _type,\n /** @description button disabled */\n disabled: _disabled,\n /** @description whether adding space */\n shouldAddSpace,\n})\n</script>\n"],"names":["useButtonCustomStyle","useNamespace","useButton"],"mappings":";;;;;;;;;;;;;uCA+Cc,CAAA;AAAA,EACZ,IAAM,EAAA,UAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,WAAA,GAAcA,kCAAqB,KAAK,CAAA,CAAA;AAC9C,IAAM,MAAA,EAAA,GAAKC,mBAAa,QAAQ,CAAA,CAAA;AAChC,IAAM,MAAA,EAAE,IAAM,EAAA,KAAA,EAAO,KAAO,EAAA,SAAA,EAAW,QAAQ,cAAgB,EAAA,WAAA,EAAA,GAC7DC,mBAAU,CAAA,KAAA,EAAO,IAAI,CAAA,CAAA;AAEvB,IAAa,MAAA,CAAA;AAAA,MAEX,GAAK,EAAA,IAAA;AAAA,MAEL,IAAM,EAAA,KAAA;AAAA,MAEN,IAAM,EAAA,KAAA;AAAA,MAEN,QAAU,EAAA,SAAA;AAAA,MAEV,cAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,85 +2,69 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vue = require('vue');
|
|
6
|
-
var index$1 = require('../../icon/index.js');
|
|
7
5
|
require('../../../hooks/index.js');
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
6
|
+
require('../../../utils/index.js');
|
|
7
|
+
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
9
|
+
var index = require('../../../hooks/use-size/index.js');
|
|
10
|
+
var icon = require('../../../utils/vue/icon.js');
|
|
13
11
|
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
]),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 8, ["class"]))
|
|
65
|
-
], 64)) : _ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 1 }, {
|
|
66
|
-
default: vue.withCtx(() => [
|
|
67
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), { key: 0 })) : vue.renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
68
|
-
]),
|
|
69
|
-
_: 3
|
|
70
|
-
})) : vue.createCommentVNode("v-if", true),
|
|
71
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
72
|
-
key: 2,
|
|
73
|
-
class: vue.normalizeClass({ [vue.unref(ns).em("text", "expand")]: vue.unref(shouldAddSpace) })
|
|
74
|
-
}, [
|
|
75
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
76
|
-
], 2)) : vue.createCommentVNode("v-if", true)
|
|
77
|
-
]),
|
|
78
|
-
_: 3
|
|
79
|
-
}, 16, ["class", "style", "onClick"]);
|
|
80
|
-
};
|
|
12
|
+
const buttonTypes = [
|
|
13
|
+
"default",
|
|
14
|
+
"primary",
|
|
15
|
+
"success",
|
|
16
|
+
"warning",
|
|
17
|
+
"info",
|
|
18
|
+
"danger",
|
|
19
|
+
"text",
|
|
20
|
+
""
|
|
21
|
+
];
|
|
22
|
+
const buttonNativeTypes = ["button", "submit", "reset"];
|
|
23
|
+
const buttonProps = runtime.buildProps({
|
|
24
|
+
size: index.useSizeProp,
|
|
25
|
+
disabled: Boolean,
|
|
26
|
+
type: {
|
|
27
|
+
type: String,
|
|
28
|
+
values: buttonTypes,
|
|
29
|
+
default: ""
|
|
30
|
+
},
|
|
31
|
+
icon: {
|
|
32
|
+
type: icon.iconPropType
|
|
33
|
+
},
|
|
34
|
+
nativeType: {
|
|
35
|
+
type: String,
|
|
36
|
+
values: buttonNativeTypes,
|
|
37
|
+
default: "button"
|
|
38
|
+
},
|
|
39
|
+
loading: Boolean,
|
|
40
|
+
loadingIcon: {
|
|
41
|
+
type: icon.iconPropType,
|
|
42
|
+
default: () => iconsVue.Loading
|
|
43
|
+
},
|
|
44
|
+
plain: Boolean,
|
|
45
|
+
text: Boolean,
|
|
46
|
+
link: Boolean,
|
|
47
|
+
bg: Boolean,
|
|
48
|
+
autofocus: Boolean,
|
|
49
|
+
round: Boolean,
|
|
50
|
+
circle: Boolean,
|
|
51
|
+
color: String,
|
|
52
|
+
dark: Boolean,
|
|
53
|
+
autoInsertSpace: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: void 0
|
|
56
|
+
},
|
|
57
|
+
tag: {
|
|
58
|
+
type: runtime.definePropType([String, Object]),
|
|
59
|
+
default: "button"
|
|
81
60
|
}
|
|
82
61
|
});
|
|
83
|
-
|
|
62
|
+
const buttonEmits = {
|
|
63
|
+
click: (evt) => evt instanceof MouseEvent
|
|
64
|
+
};
|
|
84
65
|
|
|
85
|
-
exports
|
|
66
|
+
exports.buttonEmits = buttonEmits;
|
|
67
|
+
exports.buttonNativeTypes = buttonNativeTypes;
|
|
68
|
+
exports.buttonProps = buttonProps;
|
|
69
|
+
exports.buttonTypes = buttonTypes;
|
|
86
70
|
//# sourceMappingURL=button2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button2.js","sources":["../../../../../../packages/components/button/src/button.
|
|
1
|
+
{"version":3,"file":"button2.js","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, definePropType, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { Component, ExtractPropTypes } from 'vue'\n\nexport const buttonTypes = [\n 'default',\n 'primary',\n 'success',\n 'warning',\n 'info',\n 'danger',\n /**\n * @deprecated\n * Text type will be deprecated in the next major version (3.0.0)\n */\n 'text',\n '',\n] as const\nexport const buttonNativeTypes = ['button', 'submit', 'reset'] as const\n\nexport const buttonProps = buildProps({\n /**\n * @description button size\n */\n size: useSizeProp,\n /**\n * @description disable the button\n */\n disabled: Boolean,\n /**\n * @description button type\n */\n type: {\n type: String,\n values: buttonTypes,\n default: '',\n },\n /**\n * @description icon component\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description native button type\n */\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: 'button',\n },\n /**\n * @description determine whether it's loading\n */\n loading: Boolean,\n /**\n * @description customize loading icon component\n */\n loadingIcon: {\n type: iconPropType,\n default: () => Loading,\n },\n /**\n * @description determine whether it's a plain button\n */\n plain: Boolean,\n /**\n * @description determine whether it's a text button\n */\n text: Boolean,\n /**\n * @description determine whether it's a link button\n */\n link: Boolean,\n /**\n * @description determine whether the text button background color is always on\n */\n bg: Boolean,\n /**\n * @description native button autofocus\n */\n autofocus: Boolean,\n /**\n * @description determine whether it's a round button\n */\n round: Boolean,\n /**\n * @description determine whether it's a circle button\n */\n circle: Boolean,\n /**\n * @description custom button color, automatically calculate `hover` and `active` color\n */\n color: String,\n /**\n * @description dark mode, which automatically converts `color` to dark mode colors\n */\n dark: Boolean,\n /**\n * @description automatically insert a space between two chinese characters\n */\n autoInsertSpace: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom element tag\n */\n tag: {\n type: definePropType<string | Component>([String, Object]),\n default: 'button',\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 interface ButtonConfigContext {\n autoInsertSpace?: boolean\n}\n"],"names":["buildProps","useSizeProp","iconPropType","Loading","definePropType"],"mappings":";;;;;;;;;;;AAGY,MAAC,WAAW,GAAG;AAC3B,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,MAAM;AACR,EAAE,QAAQ;AACV,EAAE,MAAM;AACR,EAAE,EAAE;AACJ,EAAE;AACU,MAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;AACnD,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,WAAW;AACvB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,iBAAiB;AAC7B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAEA,iBAAY;AACtB,IAAI,OAAO,EAAE,MAAMC,gBAAO;AAC1B,GAAG;AACH,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE,OAAO;AACb,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;;;"}
|
|
@@ -6707,8 +6707,8 @@ declare const _Cascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
6707
6707
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
6708
6708
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
6709
6709
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
6710
|
-
|
|
6711
|
-
|
|
6710
|
+
elForm: import("..").FormContext | undefined;
|
|
6711
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
6712
6712
|
inputId: import("vue").Ref<string | undefined>;
|
|
6713
6713
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
6714
6714
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -7100,8 +7100,8 @@ declare const _Cascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7100
7100
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
7101
7101
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
7102
7102
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
7103
|
-
|
|
7104
|
-
|
|
7103
|
+
elForm: import("..").FormContext | undefined;
|
|
7104
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
7105
7105
|
inputId: import("vue").Ref<string | undefined>;
|
|
7106
7106
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
7107
7107
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -9180,8 +9180,8 @@ declare const _Cascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9180
9180
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
9181
9181
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
9182
9182
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
9183
|
-
|
|
9184
|
-
|
|
9183
|
+
elForm: import("..").FormContext | undefined;
|
|
9184
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
9185
9185
|
inputId: import("vue").Ref<string | undefined>;
|
|
9186
9186
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
9187
9187
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -20261,8 +20261,8 @@ export declare const ElCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
20261
20261
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
20262
20262
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
20263
20263
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
20264
|
-
|
|
20265
|
-
|
|
20264
|
+
elForm: import("..").FormContext | undefined;
|
|
20265
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
20266
20266
|
inputId: import("vue").Ref<string | undefined>;
|
|
20267
20267
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
20268
20268
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -20654,8 +20654,8 @@ export declare const ElCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
20654
20654
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
20655
20655
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
20656
20656
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
20657
|
-
|
|
20658
|
-
|
|
20657
|
+
elForm: import("..").FormContext | undefined;
|
|
20658
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
20659
20659
|
inputId: import("vue").Ref<string | undefined>;
|
|
20660
20660
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
20661
20661
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -22734,8 +22734,8 @@ export declare const ElCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
22734
22734
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
22735
22735
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
22736
22736
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
22737
|
-
|
|
22738
|
-
|
|
22737
|
+
elForm: import("..").FormContext | undefined;
|
|
22738
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
22739
22739
|
inputId: import("vue").Ref<string | undefined>;
|
|
22740
22740
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
22741
22741
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -6710,8 +6710,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6710
6710
|
containerKls: ComputedRef<unknown[]>;
|
|
6711
6711
|
wrapperKls: ComputedRef<string[]>;
|
|
6712
6712
|
attrs: ComputedRef<Record<string, unknown>>;
|
|
6713
|
-
|
|
6714
|
-
|
|
6713
|
+
elForm: import("@element-plus/nightly/es/components/form").FormContext | undefined;
|
|
6714
|
+
elFormItem: import("@element-plus/nightly/es/components/form").FormItemContext | undefined;
|
|
6715
6715
|
inputId: Ref<string | undefined>;
|
|
6716
6716
|
inputSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
6717
6717
|
inputDisabled: ComputedRef<boolean>;
|
|
@@ -7103,8 +7103,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7103
7103
|
containerKls: ComputedRef<unknown[]>;
|
|
7104
7104
|
wrapperKls: ComputedRef<string[]>;
|
|
7105
7105
|
attrs: ComputedRef<Record<string, unknown>>;
|
|
7106
|
-
|
|
7107
|
-
|
|
7106
|
+
elForm: import("@element-plus/nightly/es/components/form").FormContext | undefined;
|
|
7107
|
+
elFormItem: import("@element-plus/nightly/es/components/form").FormItemContext | undefined;
|
|
7108
7108
|
inputId: Ref<string | undefined>;
|
|
7109
7109
|
inputSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
7110
7110
|
inputDisabled: ComputedRef<boolean>;
|
|
@@ -9183,8 +9183,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9183
9183
|
containerKls: ComputedRef<unknown[]>;
|
|
9184
9184
|
wrapperKls: ComputedRef<string[]>;
|
|
9185
9185
|
attrs: ComputedRef<Record<string, unknown>>;
|
|
9186
|
-
|
|
9187
|
-
|
|
9186
|
+
elForm: import("@element-plus/nightly/es/components/form").FormContext | undefined;
|
|
9187
|
+
elFormItem: import("@element-plus/nightly/es/components/form").FormItemContext | undefined;
|
|
9188
9188
|
inputId: Ref<string | undefined>;
|
|
9189
9189
|
inputSize: ComputedRef<"" | "default" | "small" | "large">;
|
|
9190
9190
|
inputDisabled: ComputedRef<boolean>;
|
|
@@ -10439,8 +10439,8 @@ export declare const ElColorPicker: import("@element-plus/nightly/es/utils").SFC
|
|
|
10439
10439
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
10440
10440
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
10441
10441
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
10442
|
-
|
|
10443
|
-
|
|
10442
|
+
elForm: import("..").FormContext | undefined;
|
|
10443
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
10444
10444
|
inputId: import("vue").Ref<string | undefined>;
|
|
10445
10445
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
10446
10446
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -10441,8 +10441,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10441
10441
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
10442
10442
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
10443
10443
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
10444
|
-
|
|
10445
|
-
|
|
10444
|
+
elForm: import("@element-plus/nightly/es/components/form").FormContext | undefined;
|
|
10445
|
+
elFormItem: import("@element-plus/nightly/es/components/form").FormItemContext | undefined;
|
|
10446
10446
|
inputId: import("vue").Ref<string | undefined>;
|
|
10447
10447
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
10448
10448
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -682,8 +682,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
682
682
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
683
683
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
684
684
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
685
|
-
|
|
686
|
-
|
|
685
|
+
elForm: import("../../..").FormContext | undefined;
|
|
686
|
+
elFormItem: import("../../..").FormItemContext | undefined;
|
|
687
687
|
inputId: import("vue").Ref<string | undefined>;
|
|
688
688
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
689
689
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -807,8 +807,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
807
807
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
808
808
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
809
809
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
810
|
-
|
|
811
|
-
|
|
810
|
+
elForm: import("../../..").FormContext | undefined;
|
|
811
|
+
elFormItem: import("../../..").FormItemContext | undefined;
|
|
812
812
|
inputId: import("vue").Ref<string | undefined>;
|
|
813
813
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
814
814
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -805,8 +805,8 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
805
805
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
806
806
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
807
807
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
808
|
-
|
|
809
|
-
|
|
808
|
+
elForm: import("../..").FormContext | undefined;
|
|
809
|
+
elFormItem: import("../..").FormItemContext | undefined;
|
|
810
810
|
inputId: import("vue").Ref<string | undefined>;
|
|
811
811
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
812
812
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -9478,8 +9478,8 @@ export declare const getPanel: (type: IDatePickerType) => import("vue").DefineCo
|
|
|
9478
9478
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
9479
9479
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
9480
9480
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
9481
|
-
|
|
9482
|
-
|
|
9481
|
+
elForm: import("../..").FormContext | undefined;
|
|
9482
|
+
elFormItem: import("../..").FormItemContext | undefined;
|
|
9483
9483
|
inputId: import("vue").Ref<string | undefined>;
|
|
9484
9484
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
9485
9485
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
package/lib/components/index.js
CHANGED
|
@@ -90,7 +90,7 @@ var badge = require('./badge/src/badge.js');
|
|
|
90
90
|
var breadcrumb = require('./breadcrumb/src/breadcrumb.js');
|
|
91
91
|
var breadcrumbItem = require('./breadcrumb/src/breadcrumb-item.js');
|
|
92
92
|
var constants = require('./breadcrumb/src/constants.js');
|
|
93
|
-
var button = require('./button/src/
|
|
93
|
+
var button = require('./button/src/button2.js');
|
|
94
94
|
var constants$1 = require('./button/src/constants.js');
|
|
95
95
|
var calendar = require('./calendar/src/calendar.js');
|
|
96
96
|
var card = require('./card/src/card.js');
|
|
@@ -178,8 +178,8 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
178
178
|
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
179
179
|
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
180
180
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
elForm: import("..").FormContext | undefined;
|
|
182
|
+
elFormItem: import("..").FormItemContext | undefined;
|
|
183
183
|
inputId: import("vue").Ref<string | undefined>;
|
|
184
184
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
185
185
|
inputDisabled: import("vue").ComputedRef<boolean>;
|