pro-design-vue 1.3.8 → 1.3.10
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 +21 -38
- 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 +21 -38
- package/es/components/table/src/components/ToolBar/FullscreenIcon.vue.d.ts +1 -1
- package/es/components/table/src/components/ToolBar/ToolBar.vue.d.ts +1 -1
- package/es/packages/components/table/src/components/Table.mjs +1 -1
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/components/ToolBar/FullscreenIcon.vue.mjs +11 -30
- package/es/packages/components/table/src/components/ToolBar/FullscreenIcon.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/ToolBar/FullscreenIcon.vue2.mjs +4 -1
- package/es/packages/components/table/src/components/ToolBar/FullscreenIcon.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/ToolBar/ToolBar.vue.mjs +4 -5
- package/es/packages/components/table/src/components/ToolBar/ToolBar.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/ToolBar/ToolBar.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/ToolBar/FullscreenIcon.vue.d.ts +1 -1
- package/lib/components/table/src/components/ToolBar/ToolBar.vue.d.ts +1 -1
- package/lib/packages/components/table/src/components/Table.js +1 -1
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/components/ToolBar/FullscreenIcon.vue.js +10 -29
- package/lib/packages/components/table/src/components/ToolBar/FullscreenIcon.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/ToolBar/FullscreenIcon.vue2.js +4 -1
- package/lib/packages/components/table/src/components/ToolBar/FullscreenIcon.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.vue.js +4 -5
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.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.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.10 */
|
|
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.10";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -36520,9 +36520,12 @@
|
|
|
36520
36520
|
const intl = useIntl();
|
|
36521
36521
|
const counter = useInjectContainer();
|
|
36522
36522
|
const fullscreen = vue.computed(() => counter.hasFullScreen.value);
|
|
36523
|
+
const title = vue.computed(
|
|
36524
|
+
() => fullscreen.value ? intl.getMessage("tableToolBar.exitFullScreen", "\u9000\u51FA\u5168\u5C4F") : intl.getMessage("tableToolBar.fullScreen", "\u5168\u5C4F")
|
|
36525
|
+
);
|
|
36523
36526
|
return {
|
|
36524
36527
|
h: vue.h,
|
|
36525
|
-
|
|
36528
|
+
title,
|
|
36526
36529
|
fullscreen
|
|
36527
36530
|
};
|
|
36528
36531
|
}
|
|
@@ -36530,47 +36533,28 @@
|
|
|
36530
36533
|
|
|
36531
36534
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36532
36535
|
const _component_FullscreenExitOutlined = vue.resolveComponent("FullscreenExitOutlined");
|
|
36533
|
-
const _component_Tooltip = vue.resolveComponent("Tooltip");
|
|
36534
36536
|
const _component_FullscreenOutlined = vue.resolveComponent("FullscreenOutlined");
|
|
36535
|
-
|
|
36537
|
+
const _component_Tooltip = vue.resolveComponent("Tooltip");
|
|
36538
|
+
return _ctx.fullscreen.toString() ? (vue.openBlock(), vue.createBlock(_component_Tooltip, {
|
|
36536
36539
|
key: 0,
|
|
36537
|
-
title: _ctx.
|
|
36540
|
+
title: _ctx.title
|
|
36538
36541
|
}, {
|
|
36539
36542
|
default: vue.withCtx(() => [
|
|
36540
36543
|
vue.createElementVNode(
|
|
36541
36544
|
"div",
|
|
36542
|
-
{
|
|
36543
|
-
class:
|
|
36544
|
-
},
|
|
36545
|
-
[
|
|
36546
|
-
vue.createVNode(_component_FullscreenExitOutlined)
|
|
36547
|
-
],
|
|
36548
|
-
2
|
|
36549
|
-
/* CLASS */
|
|
36550
|
-
)
|
|
36551
|
-
]),
|
|
36552
|
-
_: 1
|
|
36553
|
-
/* STABLE */
|
|
36554
|
-
}, 8, ["title"])) : (vue.openBlock(), vue.createBlock(_component_Tooltip, {
|
|
36555
|
-
key: 1,
|
|
36556
|
-
title: _ctx.intl.getMessage("tableToolBar.fullScreen", "\u5168\u5C4F")
|
|
36557
|
-
}, {
|
|
36558
|
-
default: vue.withCtx(() => [
|
|
36559
|
-
vue.createElementVNode(
|
|
36560
|
-
"div",
|
|
36561
|
-
{
|
|
36562
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-actions-item`)
|
|
36563
|
-
},
|
|
36545
|
+
vue.mergeProps({
|
|
36546
|
+
class: `${_ctx.prefixCls}-toolbar-actions-item`
|
|
36547
|
+
}, _ctx.$attrs),
|
|
36564
36548
|
[
|
|
36565
|
-
vue.
|
|
36549
|
+
_ctx.fullscreen ? (vue.openBlock(), vue.createBlock(_component_FullscreenExitOutlined, { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_FullscreenOutlined, { key: 1 }))
|
|
36566
36550
|
],
|
|
36567
|
-
|
|
36568
|
-
/*
|
|
36551
|
+
16
|
|
36552
|
+
/* FULL_PROPS */
|
|
36569
36553
|
)
|
|
36570
36554
|
]),
|
|
36571
36555
|
_: 1
|
|
36572
36556
|
/* STABLE */
|
|
36573
|
-
}, 8, ["title"]));
|
|
36557
|
+
}, 8, ["title"])) : vue.createCommentVNode("v-if", true);
|
|
36574
36558
|
}
|
|
36575
36559
|
var FullscreenIcon = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$9]]);
|
|
36576
36560
|
|
|
@@ -37515,12 +37499,11 @@
|
|
|
37515
37499
|
"prefix-cls": _ctx.prefixCls,
|
|
37516
37500
|
columns: _ctx.tableColumn
|
|
37517
37501
|
}, null, 8, ["prefix-cls", "columns"])) : vue.createCommentVNode("v-if", true),
|
|
37518
|
-
_ctx.mergeOptions.fullScreen !== false ? (vue.openBlock(), vue.
|
|
37502
|
+
_ctx.mergeOptions.fullScreen !== false ? (vue.openBlock(), vue.createBlock(_component_FullscreenIcon, {
|
|
37519
37503
|
key: 3,
|
|
37520
|
-
|
|
37521
|
-
|
|
37522
|
-
|
|
37523
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
37504
|
+
prefixCls: _ctx.prefixCls,
|
|
37505
|
+
onClick: _ctx.onFullScreen
|
|
37506
|
+
}, null, 8, ["prefixCls", "onClick"])) : vue.createCommentVNode("v-if", true)
|
|
37524
37507
|
],
|
|
37525
37508
|
64
|
|
37526
37509
|
/* STABLE_FRAGMENT */
|
|
@@ -38124,7 +38107,7 @@
|
|
|
38124
38107
|
if (props.autoHeight || counter.hasFullScreen.value) {
|
|
38125
38108
|
await vue.nextTick();
|
|
38126
38109
|
const height = window.innerHeight - (((_c = (_b2 = (_a2 = tableRef.value) == null ? void 0 : _a2.rootRef) == null ? void 0 : _b2.getBoundingClientRect()) == null ? void 0 : _c.top) || 0) - (((_f = (_e = (_d = tableRef.value) == null ? void 0 : _d.paginationRef) == null ? void 0 : _e.getBoundingClientRect()) == null ? void 0 : _f.height) || 0);
|
|
38127
|
-
tableHeight.value = typeof props.autoHeight === "function" ? (_g = props.autoHeight) == null ? void 0 : _g.call(props, height) : height;
|
|
38110
|
+
tableHeight.value = typeof props.autoHeight === "function" && !counter.hasFullScreen.value ? (_g = props.autoHeight) == null ? void 0 : _g.call(props, height) : height;
|
|
38128
38111
|
} else {
|
|
38129
38112
|
tableHeight.value = props.height;
|
|
38130
38113
|
}
|