pro-design-vue 1.3.15 → 1.3.16
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 +23 -11
- package/dist/index.full.min.js +6 -6
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +6 -6
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +23 -11
- package/es/packages/components/drawer/src/drawer.vue2.mjs +14 -5
- package/es/packages/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs +8 -5
- package/es/packages/components/table/src/components/Table.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/drawer/src/drawer.vue2.js +13 -4
- package/lib/packages/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js +8 -5
- package/lib/packages/components/table/src/components/Table.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.16 */
|
|
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.16";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -13450,7 +13450,15 @@
|
|
|
13450
13450
|
return (_b = props.showFullscreen) != null ? _b : (_a = drawer == null ? void 0 : drawer.value) == null ? void 0 : _a.showFullscreen;
|
|
13451
13451
|
});
|
|
13452
13452
|
const drawerProps = vue.computed(
|
|
13453
|
-
() => omitKeysAndUndefined(props, [
|
|
13453
|
+
() => omitKeysAndUndefined(props, [
|
|
13454
|
+
"rootClassName",
|
|
13455
|
+
"closable",
|
|
13456
|
+
"onClose",
|
|
13457
|
+
"title",
|
|
13458
|
+
"width",
|
|
13459
|
+
"height",
|
|
13460
|
+
"bodyStyle"
|
|
13461
|
+
])
|
|
13454
13462
|
);
|
|
13455
13463
|
const width = vue.computed(() => {
|
|
13456
13464
|
if (fullscreen.value) {
|
|
@@ -13489,13 +13497,14 @@
|
|
|
13489
13497
|
vue.createElementVNode(
|
|
13490
13498
|
"div",
|
|
13491
13499
|
{
|
|
13492
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-body`)
|
|
13500
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-body`),
|
|
13501
|
+
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
13493
13502
|
},
|
|
13494
13503
|
[
|
|
13495
13504
|
vue.renderSlot(_ctx.$slots, "default")
|
|
13496
13505
|
],
|
|
13497
|
-
|
|
13498
|
-
/* CLASS */
|
|
13506
|
+
6
|
|
13507
|
+
/* CLASS, STYLE */
|
|
13499
13508
|
)
|
|
13500
13509
|
]),
|
|
13501
13510
|
_: 2
|
|
@@ -38072,9 +38081,6 @@
|
|
|
38072
38081
|
}
|
|
38073
38082
|
};
|
|
38074
38083
|
const hideToolbar = vue.computed(() => mergeOptions.value === false && !props.title && !slots.title && !slots.toolbar && !slots.searchExtra && !slots.toolbarActions);
|
|
38075
|
-
const showTableCard = vue.computed(() => {
|
|
38076
|
-
return props.cardProps !== false && !counter.hasFullScreen.value;
|
|
38077
|
-
});
|
|
38078
38084
|
const notNeedCardDom = vue.computed(() => {
|
|
38079
38085
|
var _a2;
|
|
38080
38086
|
if ((props.search === false || !((_a2 = formItems.value) == null ? void 0 : _a2.length)) && props.toolBar === false) {
|
|
@@ -38082,8 +38088,14 @@
|
|
|
38082
38088
|
}
|
|
38083
38089
|
return false;
|
|
38084
38090
|
});
|
|
38091
|
+
const showTableCard = vue.computed(() => {
|
|
38092
|
+
if (counter.hasFullScreen.value) {
|
|
38093
|
+
return false;
|
|
38094
|
+
}
|
|
38095
|
+
return props.cardProps !== false && !notNeedCardDom.value;
|
|
38096
|
+
});
|
|
38085
38097
|
const cardBodyStyle = vue.computed(() => {
|
|
38086
|
-
if (!showTableCard.value
|
|
38098
|
+
if (!showTableCard.value) return {};
|
|
38087
38099
|
if (hideToolbar.value) {
|
|
38088
38100
|
return {
|
|
38089
38101
|
padding: 0
|
|
@@ -38265,7 +38277,7 @@
|
|
|
38265
38277
|
...slots,
|
|
38266
38278
|
footer: props.footer || slots.footer
|
|
38267
38279
|
})]);
|
|
38268
|
-
if (
|
|
38280
|
+
if (showTableCard.value) {
|
|
38269
38281
|
const _tableDom = /* @__PURE__ */ (function() {
|
|
38270
38282
|
return tableDom;
|
|
38271
38283
|
})();
|