pro-design-vue 1.4.6 → 1.4.7
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 -8
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +7 -7
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +13 -8
- package/es/packages/components/page/src/page.vue2.mjs +5 -3
- package/es/packages/components/page/src/page.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Form/Form.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs +3 -1
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useFetchData.mjs +3 -2
- package/es/packages/components/table/src/hooks/useFetchData.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/page/src/page.vue2.js +5 -3
- package/lib/packages/components/page/src/page.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Form/Form.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js +3 -1
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useFetchData.js +3 -2
- package/lib/packages/components/table/src/hooks/useFetchData.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.4.
|
|
1
|
+
/*! Pro Design Vue v1.4.7 */
|
|
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.4.
|
|
35
|
+
const version$1 = "1.4.7";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -24961,9 +24961,10 @@
|
|
|
24961
24961
|
pollingLoading,
|
|
24962
24962
|
pagination,
|
|
24963
24963
|
reset: async () => {
|
|
24964
|
-
const
|
|
24965
|
-
const { current = 1, pageSize = 10 } = optionPageInfo || {};
|
|
24964
|
+
const optionPageInfo = mergePropsAndPagination(intl, contextTablePagination.value);
|
|
24965
|
+
const { current = 1, pageSize = 10, ...rest } = optionPageInfo || {};
|
|
24966
24966
|
const initialPageInfo = {
|
|
24967
|
+
...rest,
|
|
24967
24968
|
current,
|
|
24968
24969
|
total: 0,
|
|
24969
24970
|
pageSize
|
|
@@ -37956,7 +37957,9 @@
|
|
|
37956
37957
|
return;
|
|
37957
37958
|
}
|
|
37958
37959
|
}
|
|
37959
|
-
actions.setFormSearch(
|
|
37960
|
+
actions.setFormSearch({
|
|
37961
|
+
...values
|
|
37962
|
+
});
|
|
37960
37963
|
};
|
|
37961
37964
|
const counter = useContainer(props);
|
|
37962
37965
|
const tableColumn = vue.computed(() => {
|
|
@@ -38867,11 +38870,11 @@
|
|
|
38867
38870
|
setup(__props) {
|
|
38868
38871
|
const slots = vue.useSlots();
|
|
38869
38872
|
const prefixCls = usePrefixCls("page");
|
|
38870
|
-
const footerHeight = vue.ref(0);
|
|
38871
38873
|
const contentHeight = vue.ref(0);
|
|
38872
38874
|
const shouldAutoHeight = vue.ref(false);
|
|
38873
38875
|
const { contentOffsetTop, page } = useProConfigInject();
|
|
38874
38876
|
const tabActiveKey = vue.useModel(__props, "activeKey");
|
|
38877
|
+
const rootRef = vue.useTemplateRef("root");
|
|
38875
38878
|
const footerRef = vue.useTemplateRef("footer");
|
|
38876
38879
|
const contentRef = vue.useTemplateRef("content");
|
|
38877
38880
|
const mergeContentPadding = vue.computed(() => {
|
|
@@ -38965,8 +38968,9 @@
|
|
|
38965
38968
|
return;
|
|
38966
38969
|
}
|
|
38967
38970
|
await vue.nextTick();
|
|
38968
|
-
|
|
38969
|
-
|
|
38971
|
+
const rootBottomPadding = parseFloat(getComputedStyle(rootRef.value).paddingBottom);
|
|
38972
|
+
const footerHeight = ((_a = footerRef.value) == null ? void 0 : _a.offsetHeight) || 0;
|
|
38973
|
+
contentHeight.value = window.innerHeight - (((_c = (_b = contentRef.value) == null ? void 0 : _b.getBoundingClientRect()) == null ? void 0 : _c.top) || 0) - rootBottomPadding - footerHeight - __props.heightOffset;
|
|
38970
38974
|
setTimeout(() => {
|
|
38971
38975
|
shouldAutoHeight.value = true;
|
|
38972
38976
|
}, 30);
|
|
@@ -38988,6 +38992,7 @@
|
|
|
38988
38992
|
return vue.openBlock(), vue.createElementBlock(
|
|
38989
38993
|
"div",
|
|
38990
38994
|
{
|
|
38995
|
+
ref: "root",
|
|
38991
38996
|
class: vue.normalizeClass([vue.unref(prefixCls), ((_a = _ctx.tabList) == null ? void 0 : _a.length) ? `is-tabs` : ""]),
|
|
38992
38997
|
style: vue.normalizeStyle((_b = vue.unref(page)) == null ? void 0 : _b.pageStyle)
|
|
38993
38998
|
},
|