pro-design-vue 1.3.30 → 1.3.31
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/dist/index.full.js +13 -12
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +2 -2
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +13 -12
- package/es/packages/components/button/src/Button.mjs +12 -11
- package/es/packages/components/button/src/Button.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/packages/components/button/src/Button.js +11 -10
- package/lib/packages/components/button/src/Button.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 +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.31 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue'), require('ant-design-vue/es/locale/zh_CN.js')) :
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
const DEFAULT_NAMESPACE = "pro";
|
|
33
33
|
const DEFAULT_LOCALE = "zh-CN";
|
|
34
34
|
|
|
35
|
-
const version$1 = "1.3.
|
|
35
|
+
const version$1 = "1.3.31";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -10388,8 +10388,7 @@
|
|
|
10388
10388
|
emits: ["confirm", "click", "cancel", "menu-click"],
|
|
10389
10389
|
setup(props, {
|
|
10390
10390
|
attrs,
|
|
10391
|
-
slots
|
|
10392
|
-
emit
|
|
10391
|
+
slots
|
|
10393
10392
|
}) {
|
|
10394
10393
|
const prefixCls = usePrefixCls("button");
|
|
10395
10394
|
const {
|
|
@@ -10405,21 +10404,20 @@
|
|
|
10405
10404
|
}
|
|
10406
10405
|
return void 0;
|
|
10407
10406
|
};
|
|
10408
|
-
const buttonProps = vue.computed(() => omit(props, ["items", "permission", "iconStyle", "icon", "stop", "confirmProps", "popconfirmProps", "menuProps", "dropdownProps", "tooltipProps", "tooltip", "mode", "onConfirm", "onClick", "onCancel", "onMenuClick"]));
|
|
10409
10407
|
const onClick = (e) => {
|
|
10410
|
-
var _a, _b, _c, _d;
|
|
10408
|
+
var _a, _b, _c, _d, _e;
|
|
10411
10409
|
if (props.stop) {
|
|
10412
10410
|
e.stopPropagation();
|
|
10413
10411
|
}
|
|
10414
10412
|
if (props.mode === "default") {
|
|
10415
|
-
|
|
10413
|
+
(_a = props.onClick) == null ? void 0 : _a.call(props, e);
|
|
10416
10414
|
return;
|
|
10417
10415
|
}
|
|
10418
10416
|
if (props.mode === "confirm") {
|
|
10419
10417
|
confirm({
|
|
10420
10418
|
...props.confirmProps,
|
|
10421
|
-
content: renderConfirmContent((
|
|
10422
|
-
title: renderConfirmContent((
|
|
10419
|
+
content: renderConfirmContent((_b = props.confirmProps) == null ? void 0 : _b.content) || ((_c = props.confirmProps) == null ? void 0 : _c.content),
|
|
10420
|
+
title: renderConfirmContent((_d = props.confirmProps) == null ? void 0 : _d.title) || ((_e = props.confirmProps) == null ? void 0 : _e.title),
|
|
10423
10421
|
onCancel() {
|
|
10424
10422
|
var _a2;
|
|
10425
10423
|
return (_a2 = props.onCancel) == null ? void 0 : _a2.call(props);
|
|
@@ -10444,9 +10442,12 @@
|
|
|
10444
10442
|
"icon": props.icon
|
|
10445
10443
|
}, null);
|
|
10446
10444
|
}
|
|
10447
|
-
|
|
10448
|
-
"
|
|
10449
|
-
|
|
10445
|
+
const buttonProps = {
|
|
10446
|
+
...omit(props, ["items", "permission", "iconStyle", "icon", "stop", "confirmProps", "popconfirmProps", "menuProps", "dropdownProps", "tooltipProps", "tooltip", "mode", "onConfirm", "onClick", "onCancel", "onMenuClick"]),
|
|
10447
|
+
onClick
|
|
10448
|
+
};
|
|
10449
|
+
let defaultDom = vue.createVNode(antDesignVue.Button, vue.mergeProps(attrs, buttonProps, {
|
|
10450
|
+
"class": prefixCls
|
|
10450
10451
|
}), {
|
|
10451
10452
|
default: () => {
|
|
10452
10453
|
var _a2;
|