pro-design-vue 1.3.14 → 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 +29 -13
- package/dist/index.full.min.js +8 -8
- 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 +29 -13
- package/es/components/table/src/components/interface.d.ts +7 -5
- package/es/index.d.ts +6 -4
- 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/form/src/hooks/useAction.mjs +6 -2
- package/es/packages/components/form/src/hooks/useAction.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/packages/components/table/src/components/interface.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/table/src/components/interface.d.ts +7 -5
- package/lib/index.d.ts +6 -4
- 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/form/src/hooks/useAction.js +6 -2
- package/lib/packages/components/form/src/hooks/useAction.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/packages/components/table/src/components/interface.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
|
|
@@ -17573,7 +17582,11 @@
|
|
|
17573
17582
|
};
|
|
17574
17583
|
const getFieldsValue = (nameList) => {
|
|
17575
17584
|
if (nameList === true || nameList === void 0) {
|
|
17576
|
-
return
|
|
17585
|
+
return transformKeySubmitValue(
|
|
17586
|
+
cloneDeep(formData.value),
|
|
17587
|
+
transformerMap.value,
|
|
17588
|
+
props.omitNil
|
|
17589
|
+
);
|
|
17577
17590
|
}
|
|
17578
17591
|
const obj = {};
|
|
17579
17592
|
nameList.forEach((name) => {
|
|
@@ -17583,7 +17596,7 @@
|
|
|
17583
17596
|
set(obj, namePath, value);
|
|
17584
17597
|
}
|
|
17585
17598
|
});
|
|
17586
|
-
return obj;
|
|
17599
|
+
return transformKeySubmitValue(obj, transformerMap.value, props.omitNil);
|
|
17587
17600
|
};
|
|
17588
17601
|
const getFieldFormatValue = (name) => {
|
|
17589
17602
|
const namePath = covertFormName(name);
|
|
@@ -38068,9 +38081,6 @@
|
|
|
38068
38081
|
}
|
|
38069
38082
|
};
|
|
38070
38083
|
const hideToolbar = vue.computed(() => mergeOptions.value === false && !props.title && !slots.title && !slots.toolbar && !slots.searchExtra && !slots.toolbarActions);
|
|
38071
|
-
const showTableCard = vue.computed(() => {
|
|
38072
|
-
return props.cardProps !== false && !counter.hasFullScreen.value;
|
|
38073
|
-
});
|
|
38074
38084
|
const notNeedCardDom = vue.computed(() => {
|
|
38075
38085
|
var _a2;
|
|
38076
38086
|
if ((props.search === false || !((_a2 = formItems.value) == null ? void 0 : _a2.length)) && props.toolBar === false) {
|
|
@@ -38078,8 +38088,14 @@
|
|
|
38078
38088
|
}
|
|
38079
38089
|
return false;
|
|
38080
38090
|
});
|
|
38091
|
+
const showTableCard = vue.computed(() => {
|
|
38092
|
+
if (counter.hasFullScreen.value) {
|
|
38093
|
+
return false;
|
|
38094
|
+
}
|
|
38095
|
+
return props.cardProps !== false && !notNeedCardDom.value;
|
|
38096
|
+
});
|
|
38081
38097
|
const cardBodyStyle = vue.computed(() => {
|
|
38082
|
-
if (!showTableCard.value
|
|
38098
|
+
if (!showTableCard.value) return {};
|
|
38083
38099
|
if (hideToolbar.value) {
|
|
38084
38100
|
return {
|
|
38085
38101
|
padding: 0
|
|
@@ -38261,7 +38277,7 @@
|
|
|
38261
38277
|
...slots,
|
|
38262
38278
|
footer: props.footer || slots.footer
|
|
38263
38279
|
})]);
|
|
38264
|
-
if (
|
|
38280
|
+
if (showTableCard.value) {
|
|
38265
38281
|
const _tableDom = /* @__PURE__ */ (function() {
|
|
38266
38282
|
return tableDom;
|
|
38267
38283
|
})();
|