pro-design-vue 1.2.9 → 1.2.11
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 +153 -135
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +153 -135
- package/es/packages/components/config-provider/src/config-provider.vue2.mjs +9 -3
- package/es/packages/components/config-provider/src/config-provider.vue2.mjs.map +1 -1
- package/es/packages/components/drawer/src/drawer.vue2.mjs +65 -57
- package/es/packages/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/packages/components/modal/src/modal.vue2.mjs +78 -74
- package/es/packages/components/modal/src/modal.vue2.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/config-provider/src/config-provider.vue2.js +9 -3
- package/lib/packages/components/config-provider/src/config-provider.vue2.js.map +1 -1
- package/lib/packages/components/drawer/src/drawer.vue2.js +64 -56
- package/lib/packages/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/packages/components/modal/src/modal.vue2.js +78 -74
- package/lib/packages/components/modal/src/modal.vue2.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.2.
|
|
1
|
+
/*! Pro Design Vue v1.2.11 */
|
|
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.2.
|
|
35
|
+
const version$1 = "1.2.11";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -8488,13 +8488,19 @@
|
|
|
8488
8488
|
algorithm.push((_d = __props.theme) == null ? void 0 : _d.algorithm);
|
|
8489
8489
|
}
|
|
8490
8490
|
}
|
|
8491
|
+
const mergeToken = {
|
|
8492
|
+
...defaultToken,
|
|
8493
|
+
...(_e = __props.theme) == null ? void 0 : _e.token,
|
|
8494
|
+
...__props.token
|
|
8495
|
+
};
|
|
8491
8496
|
return {
|
|
8492
8497
|
...__props.theme,
|
|
8493
8498
|
algorithm,
|
|
8494
8499
|
token: {
|
|
8495
|
-
...
|
|
8496
|
-
|
|
8497
|
-
|
|
8500
|
+
...mergeToken,
|
|
8501
|
+
colorLink: mergeToken.colorPrimary,
|
|
8502
|
+
colorLinkActive: "hsl(var(--pro-primary-600))",
|
|
8503
|
+
colorLinkHover: "hsl(var(--pro-primary-400))"
|
|
8498
8504
|
}
|
|
8499
8505
|
};
|
|
8500
8506
|
});
|
|
@@ -13436,73 +13442,81 @@
|
|
|
13436
13442
|
height: height.value,
|
|
13437
13443
|
onClose: handleClose
|
|
13438
13444
|
}), vue.createSlots({
|
|
13439
|
-
title: vue.withCtx(() => [
|
|
13440
|
-
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
13441
|
-
vue.createElementVNode(
|
|
13442
|
-
"div",
|
|
13443
|
-
{
|
|
13444
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-title`)
|
|
13445
|
-
},
|
|
13446
|
-
vue.toDisplayString(_ctx.title),
|
|
13447
|
-
3
|
|
13448
|
-
/* TEXT, CLASS */
|
|
13449
|
-
)
|
|
13450
|
-
]),
|
|
13451
|
-
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
13452
|
-
vue.createElementVNode(
|
|
13453
|
-
"div",
|
|
13454
|
-
{
|
|
13455
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-description`)
|
|
13456
|
-
},
|
|
13457
|
-
vue.toDisplayString(_ctx.description),
|
|
13458
|
-
3
|
|
13459
|
-
/* TEXT, CLASS */
|
|
13460
|
-
)
|
|
13461
|
-
])
|
|
13462
|
-
]),
|
|
13463
|
-
extra: vue.withCtx(() => [
|
|
13464
|
-
vue.renderSlot(_ctx.$slots, "extra"),
|
|
13465
|
-
mergeShowFullscreen.value && !vue.unref(isMobile) ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
13466
|
-
key: 0,
|
|
13467
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-fullscreen`),
|
|
13468
|
-
size: "small",
|
|
13469
|
-
shape: "circle",
|
|
13470
|
-
type: "text",
|
|
13471
|
-
onClick: handleFullScreen
|
|
13472
|
-
}, {
|
|
13473
|
-
icon: vue.withCtx(() => [
|
|
13474
|
-
!fullscreen.value ? (vue.openBlock(), vue.createBlock(vue.unref(FullscreenOutlined), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(FullscreenExitOutlined), { key: 1 }))
|
|
13475
|
-
]),
|
|
13476
|
-
_: 1
|
|
13477
|
-
/* STABLE */
|
|
13478
|
-
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
13479
|
-
_ctx.closable ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
13480
|
-
key: 1,
|
|
13481
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-close`),
|
|
13482
|
-
size: "small",
|
|
13483
|
-
shape: "circle",
|
|
13484
|
-
type: "text",
|
|
13485
|
-
onClick: handleBtnClose
|
|
13486
|
-
}, {
|
|
13487
|
-
icon: vue.withCtx(() => [
|
|
13488
|
-
vue.createVNode(vue.unref(CloseOutlined))
|
|
13489
|
-
]),
|
|
13490
|
-
_: 1
|
|
13491
|
-
/* STABLE */
|
|
13492
|
-
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
13493
|
-
]),
|
|
13494
13445
|
default: vue.withCtx(() => [
|
|
13495
13446
|
vue.renderSlot(_ctx.$slots, "default")
|
|
13496
13447
|
]),
|
|
13497
13448
|
_: 2
|
|
13498
13449
|
/* DYNAMIC */
|
|
13499
13450
|
}, [
|
|
13451
|
+
_ctx.title || _ctx.$slots.title ? {
|
|
13452
|
+
name: "title",
|
|
13453
|
+
fn: vue.withCtx(() => [
|
|
13454
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
13455
|
+
vue.createElementVNode(
|
|
13456
|
+
"div",
|
|
13457
|
+
{
|
|
13458
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-title`)
|
|
13459
|
+
},
|
|
13460
|
+
vue.toDisplayString(_ctx.title),
|
|
13461
|
+
3
|
|
13462
|
+
/* TEXT, CLASS */
|
|
13463
|
+
)
|
|
13464
|
+
]),
|
|
13465
|
+
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
13466
|
+
vue.createElementVNode(
|
|
13467
|
+
"div",
|
|
13468
|
+
{
|
|
13469
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-description`)
|
|
13470
|
+
},
|
|
13471
|
+
vue.toDisplayString(_ctx.description),
|
|
13472
|
+
3
|
|
13473
|
+
/* TEXT, CLASS */
|
|
13474
|
+
)
|
|
13475
|
+
])
|
|
13476
|
+
]),
|
|
13477
|
+
key: "0"
|
|
13478
|
+
} : void 0,
|
|
13479
|
+
_ctx.title || _ctx.$slots.title ? {
|
|
13480
|
+
name: "extra",
|
|
13481
|
+
fn: vue.withCtx(() => [
|
|
13482
|
+
vue.renderSlot(_ctx.$slots, "extra"),
|
|
13483
|
+
mergeShowFullscreen.value && !vue.unref(isMobile) ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
13484
|
+
key: 0,
|
|
13485
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-fullscreen`),
|
|
13486
|
+
size: "small",
|
|
13487
|
+
shape: "circle",
|
|
13488
|
+
type: "text",
|
|
13489
|
+
onClick: handleFullScreen
|
|
13490
|
+
}, {
|
|
13491
|
+
icon: vue.withCtx(() => [
|
|
13492
|
+
!fullscreen.value ? (vue.openBlock(), vue.createBlock(vue.unref(FullscreenOutlined), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(FullscreenExitOutlined), { key: 1 }))
|
|
13493
|
+
]),
|
|
13494
|
+
_: 1
|
|
13495
|
+
/* STABLE */
|
|
13496
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
13497
|
+
_ctx.closable ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
13498
|
+
key: 1,
|
|
13499
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-close`),
|
|
13500
|
+
size: "small",
|
|
13501
|
+
shape: "circle",
|
|
13502
|
+
type: "text",
|
|
13503
|
+
onClick: handleBtnClose
|
|
13504
|
+
}, {
|
|
13505
|
+
icon: vue.withCtx(() => [
|
|
13506
|
+
vue.createVNode(vue.unref(CloseOutlined))
|
|
13507
|
+
]),
|
|
13508
|
+
_: 1
|
|
13509
|
+
/* STABLE */
|
|
13510
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
13511
|
+
]),
|
|
13512
|
+
key: "1"
|
|
13513
|
+
} : void 0,
|
|
13500
13514
|
_ctx.$slots.footer ? {
|
|
13501
13515
|
name: "footer",
|
|
13502
13516
|
fn: vue.withCtx(() => [
|
|
13503
13517
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
13504
13518
|
]),
|
|
13505
|
-
key: "
|
|
13519
|
+
key: "2"
|
|
13506
13520
|
} : void 0
|
|
13507
13521
|
]), 1040, ["root-class-name", "width", "height"]);
|
|
13508
13522
|
};
|
|
@@ -16407,91 +16421,95 @@
|
|
|
16407
16421
|
style: modalStyle.value,
|
|
16408
16422
|
onCancel: handleClose
|
|
16409
16423
|
}), vue.createSlots({
|
|
16410
|
-
title: vue.withCtx(() => [
|
|
16411
|
-
vue.createElementVNode(
|
|
16412
|
-
"div",
|
|
16413
|
-
{
|
|
16414
|
-
ref: "modalHeaderRef",
|
|
16415
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-header`)
|
|
16416
|
-
},
|
|
16417
|
-
[
|
|
16418
|
-
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
16419
|
-
vue.createElementVNode(
|
|
16420
|
-
"div",
|
|
16421
|
-
{
|
|
16422
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-title`)
|
|
16423
|
-
},
|
|
16424
|
-
vue.toDisplayString(_ctx.title),
|
|
16425
|
-
3
|
|
16426
|
-
/* TEXT, CLASS */
|
|
16427
|
-
)
|
|
16428
|
-
]),
|
|
16429
|
-
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
16430
|
-
vue.createElementVNode(
|
|
16431
|
-
"div",
|
|
16432
|
-
{
|
|
16433
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-description`)
|
|
16434
|
-
},
|
|
16435
|
-
vue.toDisplayString(_ctx.description),
|
|
16436
|
-
3
|
|
16437
|
-
/* TEXT, CLASS */
|
|
16438
|
-
)
|
|
16439
|
-
]),
|
|
16440
|
-
vue.createElementVNode(
|
|
16441
|
-
"div",
|
|
16442
|
-
{
|
|
16443
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-extra`)
|
|
16444
|
-
},
|
|
16445
|
-
[
|
|
16446
|
-
mergeShowFullscreen.value && !vue.unref(isMobile) ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
16447
|
-
key: 0,
|
|
16448
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-fullscreen`),
|
|
16449
|
-
size: "small",
|
|
16450
|
-
shape: "circle",
|
|
16451
|
-
type: "text",
|
|
16452
|
-
onClick: handleFullScreen
|
|
16453
|
-
}, {
|
|
16454
|
-
icon: vue.withCtx(() => [
|
|
16455
|
-
!fullscreen.value ? (vue.openBlock(), vue.createBlock(vue.unref(FullscreenOutlined), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(FullscreenExitOutlined), { key: 1 }))
|
|
16456
|
-
]),
|
|
16457
|
-
_: 1
|
|
16458
|
-
/* STABLE */
|
|
16459
|
-
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
16460
|
-
_ctx.closable ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
16461
|
-
key: 1,
|
|
16462
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-close`),
|
|
16463
|
-
size: "small",
|
|
16464
|
-
shape: "circle",
|
|
16465
|
-
type: "text",
|
|
16466
|
-
onClick: handleBtnClose
|
|
16467
|
-
}, {
|
|
16468
|
-
icon: vue.withCtx(() => [
|
|
16469
|
-
vue.createVNode(vue.unref(CloseOutlined))
|
|
16470
|
-
]),
|
|
16471
|
-
_: 1
|
|
16472
|
-
/* STABLE */
|
|
16473
|
-
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
16474
|
-
],
|
|
16475
|
-
2
|
|
16476
|
-
/* CLASS */
|
|
16477
|
-
)
|
|
16478
|
-
],
|
|
16479
|
-
2
|
|
16480
|
-
/* CLASS */
|
|
16481
|
-
)
|
|
16482
|
-
]),
|
|
16483
16424
|
default: vue.withCtx(() => [
|
|
16484
16425
|
vue.renderSlot(_ctx.$slots, "default")
|
|
16485
16426
|
]),
|
|
16486
16427
|
_: 2
|
|
16487
16428
|
/* DYNAMIC */
|
|
16488
16429
|
}, [
|
|
16430
|
+
_ctx.title || _ctx.$slots.title ? {
|
|
16431
|
+
name: "title",
|
|
16432
|
+
fn: vue.withCtx(() => [
|
|
16433
|
+
vue.createElementVNode(
|
|
16434
|
+
"div",
|
|
16435
|
+
{
|
|
16436
|
+
ref: "modalHeaderRef",
|
|
16437
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-header`)
|
|
16438
|
+
},
|
|
16439
|
+
[
|
|
16440
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
16441
|
+
vue.createElementVNode(
|
|
16442
|
+
"div",
|
|
16443
|
+
{
|
|
16444
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-title`)
|
|
16445
|
+
},
|
|
16446
|
+
vue.toDisplayString(_ctx.title),
|
|
16447
|
+
3
|
|
16448
|
+
/* TEXT, CLASS */
|
|
16449
|
+
)
|
|
16450
|
+
]),
|
|
16451
|
+
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
16452
|
+
vue.createElementVNode(
|
|
16453
|
+
"div",
|
|
16454
|
+
{
|
|
16455
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-description`)
|
|
16456
|
+
},
|
|
16457
|
+
vue.toDisplayString(_ctx.description),
|
|
16458
|
+
3
|
|
16459
|
+
/* TEXT, CLASS */
|
|
16460
|
+
)
|
|
16461
|
+
]),
|
|
16462
|
+
vue.createElementVNode(
|
|
16463
|
+
"div",
|
|
16464
|
+
{
|
|
16465
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-extra`)
|
|
16466
|
+
},
|
|
16467
|
+
[
|
|
16468
|
+
mergeShowFullscreen.value && !vue.unref(isMobile) ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
16469
|
+
key: 0,
|
|
16470
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-fullscreen`),
|
|
16471
|
+
size: "small",
|
|
16472
|
+
shape: "circle",
|
|
16473
|
+
type: "text",
|
|
16474
|
+
onClick: handleFullScreen
|
|
16475
|
+
}, {
|
|
16476
|
+
icon: vue.withCtx(() => [
|
|
16477
|
+
!fullscreen.value ? (vue.openBlock(), vue.createBlock(vue.unref(FullscreenOutlined), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(FullscreenExitOutlined), { key: 1 }))
|
|
16478
|
+
]),
|
|
16479
|
+
_: 1
|
|
16480
|
+
/* STABLE */
|
|
16481
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
16482
|
+
_ctx.closable ? (vue.openBlock(), vue.createBlock(vue.unref(ProButton), {
|
|
16483
|
+
key: 1,
|
|
16484
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-close`),
|
|
16485
|
+
size: "small",
|
|
16486
|
+
shape: "circle",
|
|
16487
|
+
type: "text",
|
|
16488
|
+
onClick: handleBtnClose
|
|
16489
|
+
}, {
|
|
16490
|
+
icon: vue.withCtx(() => [
|
|
16491
|
+
vue.createVNode(vue.unref(CloseOutlined))
|
|
16492
|
+
]),
|
|
16493
|
+
_: 1
|
|
16494
|
+
/* STABLE */
|
|
16495
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
16496
|
+
],
|
|
16497
|
+
2
|
|
16498
|
+
/* CLASS */
|
|
16499
|
+
)
|
|
16500
|
+
],
|
|
16501
|
+
2
|
|
16502
|
+
/* CLASS */
|
|
16503
|
+
)
|
|
16504
|
+
]),
|
|
16505
|
+
key: "0"
|
|
16506
|
+
} : void 0,
|
|
16489
16507
|
_ctx.$slots.footer ? {
|
|
16490
16508
|
name: "footer",
|
|
16491
16509
|
fn: vue.withCtx(() => [
|
|
16492
16510
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
16493
16511
|
]),
|
|
16494
|
-
key: "
|
|
16512
|
+
key: "1"
|
|
16495
16513
|
} : void 0
|
|
16496
16514
|
]), 1040, ["class", "width", "style"]);
|
|
16497
16515
|
};
|