pro-design-vue 1.0.0-rc.2 → 1.0.0-rc.4
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 +16 -4
- package/dist/index.full.min.js +2 -2
- 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 +17 -5
- package/es/components/table/src/components/Body/Body.vue.mjs.map +1 -1
- package/es/components/table/src/components/Body/Body.vue2.mjs +2 -2
- package/es/components/table/src/components/Body/Body.vue2.mjs.map +1 -1
- package/es/components/table/src/components/Body/BodyCell.mjs +10 -1
- package/es/components/table/src/components/Body/BodyCell.mjs.map +1 -1
- package/es/components/table/src/components/InteralTable.vue.mjs.map +1 -1
- package/es/components/table/src/components/InteralTable.vue2.mjs +3 -0
- package/es/components/table/src/components/InteralTable.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/components/table/src/components/Body/Body.vue.js.map +1 -1
- package/lib/components/table/src/components/Body/Body.vue2.js +2 -2
- package/lib/components/table/src/components/Body/Body.vue2.js.map +1 -1
- package/lib/components/table/src/components/Body/BodyCell.js +9 -0
- package/lib/components/table/src/components/Body/BodyCell.js.map +1 -1
- package/lib/components/table/src/components/InteralTable.vue.js.map +1 -1
- package/lib/components/table/src/components/InteralTable.vue2.js +3 -0
- package/lib/components/table/src/components/InteralTable.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.0.0-rc.
|
1
|
+
/*! Pro Design Vue v1.0.0-rc.4 */
|
2
2
|
|
3
3
|
(function (global, factory) {
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue')) :
|
@@ -16,7 +16,7 @@
|
|
16
16
|
const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
17
17
|
const DEFAULT_NAMESPACE = "pro";
|
18
18
|
|
19
|
-
const version$1 = "1.0.0-rc.
|
19
|
+
const version$1 = "1.0.0-rc.4";
|
20
20
|
|
21
21
|
const makeInstaller = (components = []) => {
|
22
22
|
const install = (app) => {
|
@@ -29017,6 +29017,15 @@
|
|
29017
29017
|
status: option.status,
|
29018
29018
|
text: option.text
|
29019
29019
|
});
|
29020
|
+
} else if (option.color) {
|
29021
|
+
cellValue = vue.createVNode(
|
29022
|
+
antDesignVue.Tag,
|
29023
|
+
{
|
29024
|
+
color: option.color,
|
29025
|
+
bordered: false
|
29026
|
+
},
|
29027
|
+
option.text
|
29028
|
+
);
|
29020
29029
|
} else {
|
29021
29030
|
cellValue = option.text || emptyText;
|
29022
29031
|
}
|
@@ -30472,8 +30481,8 @@
|
|
30472
30481
|
};
|
30473
30482
|
});
|
30474
30483
|
const bodyViewportStyle = vue.computed(() => ({
|
30475
|
-
|
30476
|
-
width: `calc(100% + 0px)`,
|
30484
|
+
width: `calc(100% + ${tableContext.showVerticalScrollbar.value ? tableContext.scrollBarSize.value || 15 : 0}px)`,
|
30485
|
+
// width: `calc(100% + 0px)`,
|
30477
30486
|
overflowX: "hidden",
|
30478
30487
|
overflowY: "auto",
|
30479
30488
|
height: "100%"
|
@@ -31654,6 +31663,9 @@
|
|
31654
31663
|
const showHorizontalScrollbar = vue.ref(false);
|
31655
31664
|
const debounceFn = debounce(() => {
|
31656
31665
|
showHorizontalScrollbar.value = bodyMaxWidth.value > bodyWidth.value;
|
31666
|
+
if (bodyWidth.value > bodyScrollWidth.value) {
|
31667
|
+
bodyScrollWidth.value = bodyWidth.value;
|
31668
|
+
}
|
31657
31669
|
}, 100);
|
31658
31670
|
vue.watch([bodyMaxWidth, bodyWidth], () => {
|
31659
31671
|
debounceFn();
|