pro-design-vue 0.0.1-beta.1 → 0.0.1-beta.2
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 +8 -19
- 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 +8 -19
- package/es/components/drawer/src/drawer.vue2.mjs +0 -1
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/form/src/layouts/QueryFilter.mjs.map +1 -1
- package/es/components/page/src/page.vue2.mjs +6 -12
- package/es/components/page/src/page.vue2.mjs.map +1 -1
- package/es/components/table/src/components/Body/Body.vue.mjs.map +1 -1
- package/es/components/table/src/components/Body/Body.vue2.mjs +0 -1
- package/es/components/table/src/components/Body/Body.vue2.mjs.map +1 -1
- package/es/components/table/src/hooks/useCal.mjs +0 -3
- package/es/components/table/src/hooks/useCal.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/drawer/src/drawer.vue2.js +0 -1
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/form/src/layouts/QueryFilter.js.map +1 -1
- package/lib/components/page/src/page.vue2.js +6 -12
- package/lib/components/page/src/page.vue2.js.map +1 -1
- package/lib/components/table/src/components/Body/Body.vue.js.map +1 -1
- package/lib/components/table/src/components/Body/Body.vue2.js +0 -1
- package/lib/components/table/src/components/Body/Body.vue2.js.map +1 -1
- package/lib/components/table/src/hooks/useCal.js +0 -3
- package/lib/components/table/src/hooks/useCal.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 v0.0.1-beta.
|
1
|
+
/*! Pro Design Vue v0.0.1-beta.2 */
|
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/form')) :
|
@@ -16,7 +16,7 @@
|
|
16
16
|
const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
17
17
|
const DEFAULT_NAMESPACE = "pro";
|
18
18
|
|
19
|
-
const version$1 = "0.0.1-beta.
|
19
|
+
const version$1 = "0.0.1-beta.2";
|
20
20
|
|
21
21
|
const makeInstaller = (components = []) => {
|
22
22
|
const install = (app) => {
|
@@ -11771,7 +11771,6 @@
|
|
11771
11771
|
const props = __props;
|
11772
11772
|
const emit = __emit;
|
11773
11773
|
const prefixCls = usePrefixCls("drawer");
|
11774
|
-
console.log("\u{1F680} ~ prefixCls:", prefixCls);
|
11775
11774
|
const { isMobile } = useIsMobile();
|
11776
11775
|
const fullscreen = vue.ref(props.defaultFullscreen);
|
11777
11776
|
const hasFullscreen = vue.computed(() => isMobile.value || fullscreen.value);
|
@@ -23959,20 +23958,17 @@
|
|
23959
23958
|
const mrhs = mergedRowHeights.value;
|
23960
23959
|
const data = flattenData.value;
|
23961
23960
|
const len = data.length;
|
23962
|
-
console.log("\u{1F680} ~ watch ~ data:", data);
|
23963
23961
|
const newMergedRowHeights = {};
|
23964
23962
|
let newViewportHeight = 0;
|
23965
23963
|
const newRowPosition = [];
|
23966
23964
|
for (let i = 0; i < len; i++) {
|
23967
23965
|
const { rowKey } = data[i];
|
23968
23966
|
const rowHeight = rhs[rowKey] !== void 0 ? rhs[rowKey] : crhs[rowKey] === void 0 ? mrhs[rowKey] : crhs[rowKey];
|
23969
|
-
console.log("\u{1F680} ~ watch ~ rowHeight:", rowHeight);
|
23970
23967
|
newMergedRowHeights[rowKey] = rowHeight;
|
23971
23968
|
newRowPosition.push(newViewportHeight);
|
23972
23969
|
newViewportHeight += rowHeight === void 0 ? defaultHeight : rowHeight;
|
23973
23970
|
}
|
23974
23971
|
mergedRowHeights.value = newMergedRowHeights;
|
23975
|
-
console.log("\u{1F680} ~ watch ~ newViewportHeight:", newViewportHeight);
|
23976
23972
|
viewportHeight.value = newViewportHeight;
|
23977
23973
|
rowPosition.value = newRowPosition;
|
23978
23974
|
},
|
@@ -30427,7 +30423,6 @@
|
|
30427
30423
|
const viewportHeight = vue.computed(
|
30428
30424
|
() => tableContext.viewportHeight.value + (props.summaryFixed ? emptyHeight.value : summaryHeight.value + emptyHeight.value)
|
30429
30425
|
);
|
30430
|
-
console.log(viewportHeight.value);
|
30431
30426
|
const containerStyle = vue.computed(() => ({
|
30432
30427
|
width: `${tableContext.centerWidth.value}px`,
|
30433
30428
|
height: `${viewportHeight.value}px`
|
@@ -34267,10 +34262,9 @@
|
|
34267
34262
|
const shouldAutoHeight = vue.ref(false);
|
34268
34263
|
const { contentOffsetTop } = useProConfigInject();
|
34269
34264
|
const tabActiveKey = vue.useModel(__props, "activeKey");
|
34270
|
-
const
|
34271
|
-
const
|
34272
|
-
const
|
34273
|
-
const tabsRef = vue.useTemplateRef("tabsRef");
|
34265
|
+
const headerRef = vue.useTemplateRef("header");
|
34266
|
+
const footerRef = vue.useTemplateRef("footer");
|
34267
|
+
const tabsRef = vue.useTemplateRef("tabs");
|
34274
34268
|
const headerCls = vue.computed(() => ({
|
34275
34269
|
[`${prefixCls}-header`]: true,
|
34276
34270
|
[__props.headerClass]: true
|
@@ -34342,8 +34336,6 @@
|
|
34342
34336
|
return vue.openBlock(), vue.createElementBlock(
|
34343
34337
|
"div",
|
34344
34338
|
{
|
34345
|
-
ref_key: "pageRef",
|
34346
|
-
ref: pageRef,
|
34347
34339
|
class: vue.normalizeClass([vue.unref(prefixCls), ((_a = _ctx.tabList) == null ? void 0 : _a.length) ? `is-tabs` : ""])
|
34348
34340
|
},
|
34349
34341
|
[
|
@@ -34351,8 +34343,7 @@
|
|
34351
34343
|
"div",
|
34352
34344
|
{
|
34353
34345
|
key: 0,
|
34354
|
-
|
34355
|
-
ref: headerRef,
|
34346
|
+
ref: "header",
|
34356
34347
|
class: vue.normalizeClass(headerCls.value)
|
34357
34348
|
},
|
34358
34349
|
[
|
@@ -34403,8 +34394,7 @@
|
|
34403
34394
|
"div",
|
34404
34395
|
{
|
34405
34396
|
key: 1,
|
34406
|
-
|
34407
|
-
ref: tabsRef,
|
34397
|
+
ref: "tabs",
|
34408
34398
|
class: vue.normalizeClass(`${vue.unref(prefixCls)}-tabs`)
|
34409
34399
|
},
|
34410
34400
|
[
|
@@ -34465,8 +34455,7 @@
|
|
34465
34455
|
"div",
|
34466
34456
|
{
|
34467
34457
|
key: 2,
|
34468
|
-
|
34469
|
-
ref: footerRef,
|
34458
|
+
ref: "footer",
|
34470
34459
|
class: vue.normalizeClass(footerCls.value)
|
34471
34460
|
},
|
34472
34461
|
[
|