pro-design-vue 1.3.5 → 1.3.6
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.css +1 -1
- package/dist/index.full.js +72 -31
- 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 +72 -31
- package/es/components/table/src/components/Body/Body.vue.d.ts +0 -18
- package/es/components/table/src/components/Body/EditInput.vue.d.ts +1 -1
- package/es/components/table/src/components/Form/Form.d.ts +9 -0
- package/es/components/table/src/components/InteralTable.vue.d.ts +28 -18
- package/es/components/table/src/components/Table.d.ts +9 -0
- package/es/components/table/src/components/interface.d.ts +13 -0
- package/es/index.d.ts +14 -0
- package/es/packages/components/table/src/components/Body/Body.vue.mjs +2 -3
- package/es/packages/components/table/src/components/Body/Body.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/Body.vue2.mjs +5 -6
- package/es/packages/components/table/src/components/Body/Body.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyCell.mjs +1 -0
- package/es/packages/components/table/src/components/Body/BodyCell.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyCellTooltip.mjs +10 -9
- package/es/packages/components/table/src/components/Body/BodyCellTooltip.mjs.map +1 -1
- package/es/packages/components/table/src/components/Form/Form.mjs +7 -2
- package/es/packages/components/table/src/components/Form/Form.mjs.map +1 -1
- package/es/packages/components/table/src/components/Header/HeaderCell.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Header/HeaderCell.vue2.mjs +1 -0
- package/es/packages/components/table/src/components/Header/HeaderCell.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Header/HeaderRowsWrap.vue.mjs +3 -4
- package/es/packages/components/table/src/components/Header/HeaderRowsWrap.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Header/HeaderRowsWrap.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue.mjs +4 -1
- package/es/packages/components/table/src/components/InteralTable.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs +8 -2
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Scrollbar/XScroll.mjs +2 -2
- package/es/packages/components/table/src/components/Scrollbar/XScroll.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs +26 -3
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/components/interface.mjs +4 -0
- package/es/packages/components/table/src/components/interface.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useColumns.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.d.ts +0 -18
- package/lib/components/table/src/components/Body/EditInput.vue.d.ts +1 -1
- package/lib/components/table/src/components/Form/Form.d.ts +9 -0
- package/lib/components/table/src/components/InteralTable.vue.d.ts +28 -18
- package/lib/components/table/src/components/Table.d.ts +9 -0
- package/lib/components/table/src/components/interface.d.ts +13 -0
- package/lib/index.d.ts +14 -0
- package/lib/packages/components/table/src/components/Body/Body.vue.js +1 -2
- package/lib/packages/components/table/src/components/Body/Body.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/Body.vue2.js +5 -6
- package/lib/packages/components/table/src/components/Body/Body.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyCell.js +1 -0
- package/lib/packages/components/table/src/components/Body/BodyCell.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyCellTooltip.js +10 -9
- package/lib/packages/components/table/src/components/Body/BodyCellTooltip.js.map +1 -1
- package/lib/packages/components/table/src/components/Form/Form.js +7 -2
- package/lib/packages/components/table/src/components/Form/Form.js.map +1 -1
- package/lib/packages/components/table/src/components/Header/HeaderCell.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Header/HeaderCell.vue2.js +1 -0
- package/lib/packages/components/table/src/components/Header/HeaderCell.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Header/HeaderRowsWrap.vue.js +3 -4
- package/lib/packages/components/table/src/components/Header/HeaderRowsWrap.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Header/HeaderRowsWrap.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue.js +4 -1
- package/lib/packages/components/table/src/components/InteralTable.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue2.js +8 -2
- package/lib/packages/components/table/src/components/InteralTable.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Scrollbar/XScroll.js +2 -2
- package/lib/packages/components/table/src/components/Scrollbar/XScroll.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js +25 -2
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/components/interface.js +4 -0
- package/lib/packages/components/table/src/components/interface.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useColumns.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/theme-chalk/index.css +1 -1
- package/theme-chalk/src/table/bordered.less +9 -6
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.6 */
|
|
2
2
|
|
|
3
3
|
import { Modal, theme as theme$1, ConfigProvider, App, Button as Button$1, Tooltip, Popconfirm, Dropdown, Menu, Slider, Drawer, Input, InputNumber, Form as Form$1, Space, Textarea, Select, TreeSelect, Checkbox as Checkbox$1, CheckboxGroup, RadioGroup, Radio as Radio$1, Cascader, Switch, Rate, DatePicker, RangePicker, TimePicker, TimeRangePicker, Upload, FormItemRest, Spin, message, Row as Row$1, Col, FormItem as FormItem$1, Steps, Popover, MenuItem, SubMenu, Empty, Badge, Tag, Pagination, InputSearch, Tree, Card, Tabs, TabPane } from 'ant-design-vue';
|
|
4
4
|
import { inject, ref, getCurrentInstance, nextTick, h, reactive, defineComponent, createVNode, isVNode, Fragment, cloneVNode, provide, watch, computed, renderSlot, createPropsRestProxy, createBlock, openBlock, unref, mergeProps, withCtx, normalizeProps, guardReactiveProps, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, onMounted, hasInjectionContext, isRef, toRefs as toRefs$1, customRef, toRef as toRef$1, readonly, watchEffect, toRaw, createElementBlock, createCommentVNode, resolveDynamicComponent, createElementVNode, normalizeStyle, toDisplayString, normalizeClass, createSlots, createTextVNode, useAttrs, useTemplateRef, Teleport, onUnmounted, Comment as Comment$1, useSlots, useModel, withModifiers, mergeModels, renderList, camelize, isReactive, onActivated, onDeactivated, onBeforeUnmount, triggerRef, resolveDirective, withDirectives, vShow, render as render$1, resolveComponent, vModelText } from 'vue';
|
|
@@ -30,7 +30,7 @@ const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
|
|
30
30
|
const DEFAULT_NAMESPACE = "pro";
|
|
31
31
|
const DEFAULT_LOCALE = "zh-CN";
|
|
32
32
|
|
|
33
|
-
const version$1 = "1.3.
|
|
33
|
+
const version$1 = "1.3.6";
|
|
34
34
|
|
|
35
35
|
const makeInstaller = (components = []) => {
|
|
36
36
|
const install = (app) => {
|
|
@@ -24025,6 +24025,10 @@ const baseTableProps = () => ({
|
|
|
24025
24025
|
type: Object,
|
|
24026
24026
|
default: void 0
|
|
24027
24027
|
},
|
|
24028
|
+
autoHeight: {
|
|
24029
|
+
type: [Boolean, Function],
|
|
24030
|
+
default: false
|
|
24031
|
+
},
|
|
24028
24032
|
rangeSelection: {
|
|
24029
24033
|
type: [String, Boolean],
|
|
24030
24034
|
default: false
|
|
@@ -28990,6 +28994,7 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
28990
28994
|
};
|
|
28991
28995
|
return style;
|
|
28992
28996
|
});
|
|
28997
|
+
const isApple = isMacOsUserAgent() || isIOSUserAgent();
|
|
28993
28998
|
const stickyStyle = computed(() => {
|
|
28994
28999
|
const scrollBarSize = `-${tableContext.scrollBarSize.value || 15}px`;
|
|
28995
29000
|
const horizontalScrollSticky = tableContext.props.horizontalScrollSticky;
|
|
@@ -29003,12 +29008,11 @@ var XScroll = /* @__PURE__ */ defineComponent({
|
|
|
29003
29008
|
position: "sticky",
|
|
29004
29009
|
"z-index": 8,
|
|
29005
29010
|
bottom: `${bottom}px`,
|
|
29006
|
-
marginTop: scrollBarSize
|
|
29011
|
+
marginTop: isApple ? scrollBarSize : 0
|
|
29007
29012
|
};
|
|
29008
29013
|
}
|
|
29009
29014
|
return {};
|
|
29010
29015
|
});
|
|
29011
|
-
const isApple = isMacOsUserAgent() || isIOSUserAgent();
|
|
29012
29016
|
const isIosScroll = computed(() => 0 === tableContext.scrollBarSize.value && isApple);
|
|
29013
29017
|
const rootClass = computed(() => ({
|
|
29014
29018
|
[`${prefixCls.value}-horizontal-scroll`]: true,
|
|
@@ -30671,6 +30675,7 @@ var _sfc_main$w = defineComponent({
|
|
|
30671
30675
|
return Object.assign(
|
|
30672
30676
|
{
|
|
30673
30677
|
[`${prefixCls}-cell`]: true,
|
|
30678
|
+
[`${prefixCls}-first-cell`]: props.column.columnIndex === 0,
|
|
30674
30679
|
[`${prefixCls}-header-cell`]: true,
|
|
30675
30680
|
[column.class || ""]: true,
|
|
30676
30681
|
[column.className || ""]: true,
|
|
@@ -31828,12 +31833,11 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31828
31833
|
createElementVNode(
|
|
31829
31834
|
"div",
|
|
31830
31835
|
{
|
|
31831
|
-
class: normalizeClass(`${_ctx.prefixCls}-cell-shadow-right`)
|
|
31832
|
-
style: normalizeStyle(_ctx.shadowRightStyle)
|
|
31836
|
+
class: normalizeClass(`${_ctx.prefixCls}-cell-shadow-right`)
|
|
31833
31837
|
},
|
|
31834
31838
|
null,
|
|
31835
|
-
|
|
31836
|
-
/* CLASS
|
|
31839
|
+
2
|
|
31840
|
+
/* CLASS */
|
|
31837
31841
|
),
|
|
31838
31842
|
createVNode(_component_HeaderRows, {
|
|
31839
31843
|
"prefix-cls": _ctx.prefixCls,
|
|
@@ -32643,24 +32647,23 @@ var BodyCellTooltip = /* @__PURE__ */ defineComponent({
|
|
|
32643
32647
|
range.setStart(firstChild, 0);
|
|
32644
32648
|
range.setEnd(firstChild, firstChild.childNodes.length);
|
|
32645
32649
|
let rangeWidth = range.getBoundingClientRect().width;
|
|
32646
|
-
let rangeHeight = range.getBoundingClientRect().height;
|
|
32647
32650
|
rangeWidth - Math.floor(rangeWidth) < 1e-3 && (rangeWidth = Math.floor(rangeWidth));
|
|
32648
|
-
rangeHeight - Math.floor(rangeHeight) < 1e-3 && (rangeHeight = Math.floor(rangeHeight));
|
|
32649
32651
|
const {
|
|
32650
32652
|
pLeft,
|
|
32651
|
-
pRight
|
|
32652
|
-
pTop,
|
|
32653
|
-
pBottom
|
|
32653
|
+
pRight
|
|
32654
|
+
// pTop: pTop,
|
|
32655
|
+
// pBottom: pBottom,
|
|
32654
32656
|
} = ((child) => {
|
|
32655
32657
|
const styles = window.getComputedStyle(child, null);
|
|
32656
32658
|
return {
|
|
32657
32659
|
pLeft: Number.parseInt(styles.paddingLeft, 10) || 0,
|
|
32658
|
-
pRight: Number.parseInt(styles.paddingRight, 10) || 0
|
|
32659
|
-
pTop: Number.parseInt(styles.paddingTop, 10) || 0,
|
|
32660
|
-
pBottom: Number.parseInt(styles.paddingBottom, 10) || 0
|
|
32660
|
+
pRight: Number.parseInt(styles.paddingRight, 10) || 0
|
|
32661
|
+
// pTop: Number.parseInt(styles.paddingTop, 10) || 0,
|
|
32662
|
+
// pBottom: Number.parseInt(styles.paddingBottom, 10) || 0,
|
|
32661
32663
|
};
|
|
32662
32664
|
})(firstChild);
|
|
32663
|
-
return rangeWidth + (pLeft + pRight) > firstChild.offsetWidth || rangeHeight + (pTop + pBottom) > firstChild.offsetHeight ||
|
|
32665
|
+
return rangeWidth + (pLeft + pRight) > firstChild.offsetWidth || // rangeHeight + (pTop + pBottom) > firstChild.offsetHeight ||
|
|
32666
|
+
firstChild.scrollWidth > firstChild.offsetWidth;
|
|
32664
32667
|
};
|
|
32665
32668
|
watch(() => props.open, (newValue) => {
|
|
32666
32669
|
if (newValue) {
|
|
@@ -32676,6 +32679,8 @@ var BodyCellTooltip = /* @__PURE__ */ defineComponent({
|
|
|
32676
32679
|
if (el) {
|
|
32677
32680
|
const firstChild = el.childNodes[0];
|
|
32678
32681
|
const isEllipsis = firstChild && hasEllipsis(firstChild);
|
|
32682
|
+
console.log("\u{1F680} ~ nextTick ~ firstChild:", firstChild);
|
|
32683
|
+
console.log("\u{1F680} ~ nextTick ~ isEllipsis:", isEllipsis);
|
|
32679
32684
|
shouldOpen.value = (_a = props.shouldOpen) == null ? void 0 : _a.call(props, isEllipsis);
|
|
32680
32685
|
}
|
|
32681
32686
|
});
|
|
@@ -32994,6 +32999,7 @@ const BodyCell = (props, { slots, emit }) => {
|
|
|
32994
32999
|
const cellPosition = { rowIndex: props.flattenRowIndex, rowPinned: null, column };
|
|
32995
33000
|
const cellClass = {
|
|
32996
33001
|
[`${prefixCls}-cell`]: true,
|
|
33002
|
+
[`${prefixCls}-first-cell`]: column.columnIndex === 0,
|
|
32997
33003
|
[`${prefixCls}-body-cell`]: true,
|
|
32998
33004
|
[`${prefixCls}-cell-multi`]: cellRowSpan > 1,
|
|
32999
33005
|
[`${prefixCls}-cell-hidden`]: cellRowSpan === 0,
|
|
@@ -34335,7 +34341,7 @@ var _sfc_main$h = defineComponent({
|
|
|
34335
34341
|
Empty,
|
|
34336
34342
|
RenderVNode,
|
|
34337
34343
|
RenderSlot,
|
|
34338
|
-
HorizontalScroll: XScroll,
|
|
34344
|
+
// HorizontalScroll: XScroll,
|
|
34339
34345
|
YScroll
|
|
34340
34346
|
},
|
|
34341
34347
|
directives: { resize },
|
|
@@ -34631,8 +34637,8 @@ var _sfc_main$h = defineComponent({
|
|
|
34631
34637
|
return {
|
|
34632
34638
|
width,
|
|
34633
34639
|
minWidth: width,
|
|
34634
|
-
maxWidth: width
|
|
34635
|
-
height: `${viewportHeight.value}px
|
|
34640
|
+
maxWidth: width
|
|
34641
|
+
// height: `${viewportHeight.value}px`,
|
|
34636
34642
|
};
|
|
34637
34643
|
});
|
|
34638
34644
|
const rightStyle = computed(() => {
|
|
@@ -34640,8 +34646,8 @@ var _sfc_main$h = defineComponent({
|
|
|
34640
34646
|
return {
|
|
34641
34647
|
width,
|
|
34642
34648
|
minWidth: width,
|
|
34643
|
-
maxWidth: width
|
|
34644
|
-
height: `${viewportHeight.value}px
|
|
34649
|
+
maxWidth: width
|
|
34650
|
+
// height: `${viewportHeight.value}px`,
|
|
34645
34651
|
};
|
|
34646
34652
|
});
|
|
34647
34653
|
const summaryClass = computed(() => ({
|
|
@@ -34800,7 +34806,6 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34800
34806
|
const _component_BodyRows = resolveComponent("BodyRows");
|
|
34801
34807
|
const _component_Empty = resolveComponent("Empty");
|
|
34802
34808
|
const _component_YScroll = resolveComponent("YScroll");
|
|
34803
|
-
const _component_HorizontalScroll = resolveComponent("HorizontalScroll");
|
|
34804
34809
|
const _directive_resize = resolveDirective("resize");
|
|
34805
34810
|
return openBlock(), createElementBlock(
|
|
34806
34811
|
Fragment,
|
|
@@ -35336,7 +35341,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35336
35341
|
_: 1
|
|
35337
35342
|
/* STABLE */
|
|
35338
35343
|
}),
|
|
35339
|
-
|
|
35344
|
+
createCommentVNode(" <HorizontalScroll /> ")
|
|
35340
35345
|
],
|
|
35341
35346
|
64
|
|
35342
35347
|
/* STABLE_FRAGMENT */
|
|
@@ -35357,7 +35362,8 @@ var _sfc_main$g = defineComponent({
|
|
|
35357
35362
|
PopupContainer,
|
|
35358
35363
|
AutoHeightHeader,
|
|
35359
35364
|
ProHeader: Header,
|
|
35360
|
-
ProBody: Body
|
|
35365
|
+
ProBody: Body,
|
|
35366
|
+
HorizontalScroll: XScroll
|
|
35361
35367
|
},
|
|
35362
35368
|
props: baseTableProps(),
|
|
35363
35369
|
emits: [
|
|
@@ -35431,9 +35437,10 @@ var _sfc_main$g = defineComponent({
|
|
|
35431
35437
|
});
|
|
35432
35438
|
const scrollTop = ref(0);
|
|
35433
35439
|
const scrollLeft = ref(0);
|
|
35434
|
-
const rootRef = ref();
|
|
35435
35440
|
const bodyWidth = ref(0);
|
|
35436
35441
|
const bodyHeight = ref(0);
|
|
35442
|
+
const rootRef = ref();
|
|
35443
|
+
const paginationRef = ref();
|
|
35437
35444
|
const measureWidthRef = shallowRef();
|
|
35438
35445
|
const mergedScrollX = eagerComputed(() => {
|
|
35439
35446
|
var _a, _b;
|
|
@@ -36131,6 +36138,8 @@ var _sfc_main$g = defineComponent({
|
|
|
36131
36138
|
scrollTo,
|
|
36132
36139
|
scrollLeft,
|
|
36133
36140
|
scrollTop,
|
|
36141
|
+
rootRef,
|
|
36142
|
+
paginationRef,
|
|
36134
36143
|
bodyRef: computed(() => {
|
|
36135
36144
|
var _a;
|
|
36136
36145
|
return (_a = bodyRef.value) == null ? void 0 : _a.bodyRef;
|
|
@@ -36196,6 +36205,7 @@ var _sfc_main$g = defineComponent({
|
|
|
36196
36205
|
measureWidthRef,
|
|
36197
36206
|
flattenData,
|
|
36198
36207
|
rootRef,
|
|
36208
|
+
paginationRef,
|
|
36199
36209
|
mergedSummaryFixed,
|
|
36200
36210
|
handleResize: (e) => {
|
|
36201
36211
|
realHeaderHeight.value = e.detail.height;
|
|
@@ -36225,6 +36235,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36225
36235
|
const _component_AutoHeightHeader = resolveComponent("AutoHeightHeader");
|
|
36226
36236
|
const _component_ProHeader = resolveComponent("ProHeader");
|
|
36227
36237
|
const _component_ProBody = resolveComponent("ProBody");
|
|
36238
|
+
const _component_HorizontalScroll = resolveComponent("HorizontalScroll");
|
|
36228
36239
|
const _component_PopupContainer = resolveComponent("PopupContainer");
|
|
36229
36240
|
const _component_Spin = resolveComponent("Spin");
|
|
36230
36241
|
const _component_MeasureWidth = resolveComponent("MeasureWidth");
|
|
@@ -36263,7 +36274,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36263
36274
|
"div",
|
|
36264
36275
|
{
|
|
36265
36276
|
key: "content",
|
|
36266
|
-
ref: "
|
|
36277
|
+
ref: "rootRef",
|
|
36267
36278
|
class: normalizeClass(_ctx.rootClass),
|
|
36268
36279
|
style: normalizeStyle(_ctx.rootStyle)
|
|
36269
36280
|
},
|
|
@@ -36308,6 +36319,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36308
36319
|
6
|
|
36309
36320
|
/* CLASS, STYLE */
|
|
36310
36321
|
),
|
|
36322
|
+
createVNode(_component_HorizontalScroll),
|
|
36311
36323
|
createElementVNode(
|
|
36312
36324
|
"div",
|
|
36313
36325
|
{
|
|
@@ -36341,6 +36353,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36341
36353
|
"div",
|
|
36342
36354
|
{
|
|
36343
36355
|
key: 2,
|
|
36356
|
+
ref: "paginationRef",
|
|
36344
36357
|
style: normalizeStyle(_ctx.bottomPaginationStyle),
|
|
36345
36358
|
class: normalizeClass(`${_ctx.prefixCls}-pagination-wrap`),
|
|
36346
36359
|
onResizeheight: _cache[5] || (_cache[5] = (...args) => _ctx.handlePaginationResize && _ctx.handlePaginationResize(...args))
|
|
@@ -37717,6 +37730,10 @@ var FormRender = /* @__PURE__ */ defineComponent({
|
|
|
37717
37730
|
onSearchTabChange: {
|
|
37718
37731
|
type: Function,
|
|
37719
37732
|
default: void 0
|
|
37733
|
+
},
|
|
37734
|
+
onCollapse: {
|
|
37735
|
+
type: Function,
|
|
37736
|
+
default: void 0
|
|
37720
37737
|
}
|
|
37721
37738
|
},
|
|
37722
37739
|
setup: (props, {
|
|
@@ -37761,7 +37778,7 @@ var FormRender = /* @__PURE__ */ defineComponent({
|
|
|
37761
37778
|
"items": props.items,
|
|
37762
37779
|
"loading": props.loading,
|
|
37763
37780
|
"style": {
|
|
37764
|
-
marginBlockEnd: ((_a2 = props.search) == null ? void 0 : _a2.cardProps) !== false && props.tableShowCard ? 0 : "
|
|
37781
|
+
marginBlockEnd: ((_a2 = props.search) == null ? void 0 : _a2.cardProps) !== false && props.tableShowCard ? 0 : "16px",
|
|
37765
37782
|
...(_b2 = props.search) == null ? void 0 : _b2.style
|
|
37766
37783
|
},
|
|
37767
37784
|
"onReset": props.onReset,
|
|
@@ -37777,7 +37794,8 @@ var FormRender = /* @__PURE__ */ defineComponent({
|
|
|
37777
37794
|
},
|
|
37778
37795
|
"onInit": (values) => {
|
|
37779
37796
|
submit(values, true);
|
|
37780
|
-
}
|
|
37797
|
+
},
|
|
37798
|
+
"onCollapse": props.onCollapse
|
|
37781
37799
|
}), slots);
|
|
37782
37800
|
if (((_c2 = props.search) == null ? void 0 : _c2.cardProps) !== false && props.tableShowCard) {
|
|
37783
37801
|
return createVNode(Card, mergeProps({
|
|
@@ -38105,6 +38123,18 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38105
38123
|
setMergeShowAlert(false);
|
|
38106
38124
|
}
|
|
38107
38125
|
});
|
|
38126
|
+
const tableHeight = ref(props.height);
|
|
38127
|
+
const calcTableHeight = async () => {
|
|
38128
|
+
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
38129
|
+
if (props.autoHeight) {
|
|
38130
|
+
await nextTick();
|
|
38131
|
+
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);
|
|
38132
|
+
tableHeight.value = typeof props.autoHeight === "function" ? (_g = props.autoHeight) == null ? void 0 : _g.call(props, height) : height;
|
|
38133
|
+
}
|
|
38134
|
+
};
|
|
38135
|
+
onMounted(() => {
|
|
38136
|
+
calcTableHeight();
|
|
38137
|
+
});
|
|
38108
38138
|
expose({
|
|
38109
38139
|
scrollTo: (pos, behavior) => {
|
|
38110
38140
|
var _a2;
|
|
@@ -38122,6 +38152,14 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38122
38152
|
var _a2;
|
|
38123
38153
|
return unref((_a2 = tableRef.value) == null ? void 0 : _a2.bodyRef);
|
|
38124
38154
|
}),
|
|
38155
|
+
rootRef: computed(() => {
|
|
38156
|
+
var _a2;
|
|
38157
|
+
return unref((_a2 = tableRef.value) == null ? void 0 : _a2.rootRef);
|
|
38158
|
+
}),
|
|
38159
|
+
paginationRef: computed(() => {
|
|
38160
|
+
var _a2;
|
|
38161
|
+
return unref((_a2 = tableRef.value) == null ? void 0 : _a2.paginationRef);
|
|
38162
|
+
}),
|
|
38125
38163
|
copySelectedRange: () => {
|
|
38126
38164
|
var _a2;
|
|
38127
38165
|
return (_a2 = tableRef.value) == null ? void 0 : _a2.copySelectedRange();
|
|
@@ -38152,7 +38190,8 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38152
38190
|
return (_a2 = tableRef.value) == null ? void 0 : _a2.closeEditor(cellInfos);
|
|
38153
38191
|
},
|
|
38154
38192
|
reload,
|
|
38155
|
-
reset
|
|
38193
|
+
reset,
|
|
38194
|
+
calcTableHeight
|
|
38156
38195
|
});
|
|
38157
38196
|
return () => {
|
|
38158
38197
|
var _a2, _b2, _c, _d, _e;
|
|
@@ -38213,6 +38252,7 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38213
38252
|
}), createVNode(InteralTable, mergeProps({
|
|
38214
38253
|
"ref": tableRef
|
|
38215
38254
|
}, omit(props, ["onChange", "onUpdate:pagination", "onUpdate:selectedRowKeys", "onUpdate:columns"]), {
|
|
38255
|
+
"height": tableHeight.value,
|
|
38216
38256
|
"prefixCls": mergedPrefixCls.value,
|
|
38217
38257
|
"columns": mergeColumns || [],
|
|
38218
38258
|
"size": counter.tableSize.value,
|
|
@@ -38273,7 +38313,8 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38273
38313
|
...actions.formSearch.value,
|
|
38274
38314
|
...newValues
|
|
38275
38315
|
});
|
|
38276
|
-
}
|
|
38316
|
+
},
|
|
38317
|
+
"onCollapse": calcTableHeight
|
|
38277
38318
|
}, slots), tableDom])];
|
|
38278
38319
|
}
|
|
38279
38320
|
});
|
|
@@ -2160,24 +2160,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2160
2160
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]>));
|
|
2161
2161
|
RenderVNode: import("vue").FunctionalComponent<any, {}, any, {}>;
|
|
2162
2162
|
RenderSlot: import("vue").FunctionalComponent<any, {}, any, {}>;
|
|
2163
|
-
HorizontalScroll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2164
|
-
onlyAutoShow: {
|
|
2165
|
-
type: BooleanConstructor;
|
|
2166
|
-
};
|
|
2167
|
-
notShowAuto: {
|
|
2168
|
-
type: BooleanConstructor;
|
|
2169
|
-
};
|
|
2170
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2171
|
-
onlyAutoShow: {
|
|
2172
|
-
type: BooleanConstructor;
|
|
2173
|
-
};
|
|
2174
|
-
notShowAuto: {
|
|
2175
|
-
type: BooleanConstructor;
|
|
2176
|
-
};
|
|
2177
|
-
}>> & Readonly<{}>, {
|
|
2178
|
-
onlyAutoShow: boolean;
|
|
2179
|
-
notShowAuto: boolean;
|
|
2180
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2181
2163
|
YScroll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2182
2164
|
onlyAutoShow: {
|
|
2183
2165
|
type: BooleanConstructor;
|
|
@@ -94,9 +94,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
94
94
|
onCloseEditor?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
}>, {
|
|
96
96
|
record: any;
|
|
97
|
+
autoHeight: boolean;
|
|
97
98
|
multiple: boolean;
|
|
98
99
|
column: FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
99
|
-
autoHeight: boolean;
|
|
100
100
|
customEditable: boolean;
|
|
101
101
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
102
102
|
export default _default;
|
|
@@ -38,6 +38,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
type: PropType<(params: any) => void>;
|
|
39
39
|
default: undefined;
|
|
40
40
|
};
|
|
41
|
+
onCollapse: {
|
|
42
|
+
type: PropType<(val: boolean) => void>;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
41
45
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
46
|
prefixCls: StringConstructor;
|
|
43
47
|
items: {
|
|
@@ -75,12 +79,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
79
|
type: PropType<(params: any) => void>;
|
|
76
80
|
default: undefined;
|
|
77
81
|
};
|
|
82
|
+
onCollapse: {
|
|
83
|
+
type: PropType<(val: boolean) => void>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
78
86
|
}>> & Readonly<{}>, {
|
|
79
87
|
loading: boolean;
|
|
80
88
|
search: SearchConfig;
|
|
81
89
|
onReset: ((formData?: import("pro-design-vue").Entity | undefined) => void) | undefined;
|
|
82
90
|
onSubmit: ((formData: import("pro-design-vue").Entity) => Promise<boolean | void> | boolean | void) | undefined;
|
|
83
91
|
items: ProFormItemType[];
|
|
92
|
+
onCollapse: (val: boolean) => void;
|
|
84
93
|
beforeSearchSubmit: (params: Partial<any>) => any;
|
|
85
94
|
cardBordered: Bordered;
|
|
86
95
|
manual: boolean;
|
|
@@ -303,6 +303,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
303
303
|
}>;
|
|
304
304
|
default: undefined;
|
|
305
305
|
};
|
|
306
|
+
autoHeight: {
|
|
307
|
+
type: import("vue").PropType<boolean | ((autoHeight: number) => number)>;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
306
310
|
rangeSelection: {
|
|
307
311
|
type: import("vue").PropType<boolean | "single">;
|
|
308
312
|
default: boolean;
|
|
@@ -527,6 +531,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
527
531
|
measureWidthRef: import("vue").ShallowRef<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
528
532
|
flattenData: import("vue").Ref<import("./interface").FlatRecord<DefaultRecordType>[], import("./interface").FlatRecord<DefaultRecordType>[]>;
|
|
529
533
|
rootRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
534
|
+
paginationRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
530
535
|
mergedSummaryFixed: import("vue").ComputedRef<boolean | "top" | "bottom">;
|
|
531
536
|
handleResize: (e: CustomEvent) => void;
|
|
532
537
|
handlePaginationResize: (e: CustomEvent) => void;
|
|
@@ -825,6 +830,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
825
830
|
}>;
|
|
826
831
|
default: undefined;
|
|
827
832
|
};
|
|
833
|
+
autoHeight: {
|
|
834
|
+
type: import("vue").PropType<boolean | ((autoHeight: number) => number)>;
|
|
835
|
+
default: boolean;
|
|
836
|
+
};
|
|
828
837
|
rangeSelection: {
|
|
829
838
|
type: import("vue").PropType<boolean | "single">;
|
|
830
839
|
default: boolean;
|
|
@@ -1122,6 +1131,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1122
1131
|
onOpenChange: import("vue").PropType<(vis: boolean) => void>;
|
|
1123
1132
|
'onUpdate:open': import("vue").PropType<(vis: boolean) => void>;
|
|
1124
1133
|
}>>;
|
|
1134
|
+
autoHeight: boolean | ((autoHeight: number) => number);
|
|
1125
1135
|
rangeSelection: boolean | "single";
|
|
1126
1136
|
copyDelimiter: string;
|
|
1127
1137
|
summaryFixed: import("./interface").SummaryFixed;
|
|
@@ -18423,24 +18433,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18423
18433
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]>));
|
|
18424
18434
|
RenderVNode: import("vue").FunctionalComponent<any, {}, any, {}>;
|
|
18425
18435
|
RenderSlot: import("vue").FunctionalComponent<any, {}, any, {}>;
|
|
18426
|
-
HorizontalScroll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18427
|
-
onlyAutoShow: {
|
|
18428
|
-
type: BooleanConstructor;
|
|
18429
|
-
};
|
|
18430
|
-
notShowAuto: {
|
|
18431
|
-
type: BooleanConstructor;
|
|
18432
|
-
};
|
|
18433
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18434
|
-
onlyAutoShow: {
|
|
18435
|
-
type: BooleanConstructor;
|
|
18436
|
-
};
|
|
18437
|
-
notShowAuto: {
|
|
18438
|
-
type: BooleanConstructor;
|
|
18439
|
-
};
|
|
18440
|
-
}>> & Readonly<{}>, {
|
|
18441
|
-
onlyAutoShow: boolean;
|
|
18442
|
-
notShowAuto: boolean;
|
|
18443
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18444
18436
|
YScroll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18445
18437
|
onlyAutoShow: {
|
|
18446
18438
|
type: BooleanConstructor;
|
|
@@ -18462,6 +18454,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18462
18454
|
}, {
|
|
18463
18455
|
resize: import("vue").Directive;
|
|
18464
18456
|
}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18457
|
+
HorizontalScroll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18458
|
+
onlyAutoShow: {
|
|
18459
|
+
type: BooleanConstructor;
|
|
18460
|
+
};
|
|
18461
|
+
notShowAuto: {
|
|
18462
|
+
type: BooleanConstructor;
|
|
18463
|
+
};
|
|
18464
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18465
|
+
onlyAutoShow: {
|
|
18466
|
+
type: BooleanConstructor;
|
|
18467
|
+
};
|
|
18468
|
+
notShowAuto: {
|
|
18469
|
+
type: BooleanConstructor;
|
|
18470
|
+
};
|
|
18471
|
+
}>> & Readonly<{}>, {
|
|
18472
|
+
onlyAutoShow: boolean;
|
|
18473
|
+
notShowAuto: boolean;
|
|
18474
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18465
18475
|
}, {
|
|
18466
18476
|
resize: import("vue").Directive;
|
|
18467
18477
|
}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -346,6 +346,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
346
346
|
}>;
|
|
347
347
|
default: undefined;
|
|
348
348
|
};
|
|
349
|
+
autoHeight: {
|
|
350
|
+
type: import("vue").PropType<boolean | ((autoHeight: number) => number)>;
|
|
351
|
+
default: boolean;
|
|
352
|
+
};
|
|
349
353
|
rangeSelection: {
|
|
350
354
|
type: import("vue").PropType<boolean | "single">;
|
|
351
355
|
default: boolean;
|
|
@@ -837,6 +841,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
837
841
|
}>;
|
|
838
842
|
default: undefined;
|
|
839
843
|
};
|
|
844
|
+
autoHeight: {
|
|
845
|
+
type: import("vue").PropType<boolean | ((autoHeight: number) => number)>;
|
|
846
|
+
default: boolean;
|
|
847
|
+
};
|
|
840
848
|
rangeSelection: {
|
|
841
849
|
type: import("vue").PropType<boolean | "single">;
|
|
842
850
|
default: boolean;
|
|
@@ -1168,6 +1176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1168
1176
|
onOpenChange: import("vue").PropType<(vis: boolean) => void>;
|
|
1169
1177
|
'onUpdate:open': import("vue").PropType<(vis: boolean) => void>;
|
|
1170
1178
|
}>>;
|
|
1179
|
+
autoHeight: boolean | ((autoHeight: number) => number);
|
|
1171
1180
|
rangeSelection: boolean | "single";
|
|
1172
1181
|
copyDelimiter: string;
|
|
1173
1182
|
summaryFixed: import("./interface").SummaryFixed;
|
|
@@ -375,6 +375,10 @@ export declare const baseTableProps: <T = DefaultRecordType>() => {
|
|
|
375
375
|
type: PropType<Scroll>;
|
|
376
376
|
default: undefined;
|
|
377
377
|
};
|
|
378
|
+
autoHeight: {
|
|
379
|
+
type: PropType<boolean | ((autoHeight: number) => number)>;
|
|
380
|
+
default: boolean;
|
|
381
|
+
};
|
|
378
382
|
rangeSelection: {
|
|
379
383
|
type: PropType<boolean | "single">;
|
|
380
384
|
default: boolean;
|
|
@@ -822,6 +826,10 @@ export declare const tableProps: <T = DefaultRecordType>() => {
|
|
|
822
826
|
type: PropType<Scroll>;
|
|
823
827
|
default: undefined;
|
|
824
828
|
};
|
|
829
|
+
autoHeight: {
|
|
830
|
+
type: PropType<boolean | ((autoHeight: number) => number)>;
|
|
831
|
+
default: boolean;
|
|
832
|
+
};
|
|
825
833
|
rangeSelection: {
|
|
826
834
|
type: PropType<boolean | "single">;
|
|
827
835
|
default: boolean;
|
|
@@ -1311,6 +1319,10 @@ declare class Helper<T extends DefaultRecordType> {
|
|
|
1311
1319
|
type: PropType<Scroll>;
|
|
1312
1320
|
default: undefined;
|
|
1313
1321
|
};
|
|
1322
|
+
autoHeight: {
|
|
1323
|
+
type: PropType<boolean | ((autoHeight: number) => number)>;
|
|
1324
|
+
default: boolean;
|
|
1325
|
+
};
|
|
1314
1326
|
rangeSelection: {
|
|
1315
1327
|
type: PropType<boolean | "single">;
|
|
1316
1328
|
default: boolean;
|
|
@@ -1739,6 +1751,7 @@ export interface TableExposeType {
|
|
|
1739
1751
|
closeEditor: (cellInfos?: CellInfo[]) => void;
|
|
1740
1752
|
reload: (resetPageIndex?: boolean) => Promise<void>;
|
|
1741
1753
|
reset: () => void;
|
|
1754
|
+
calcTableHeight: () => Promise<void>;
|
|
1742
1755
|
}
|
|
1743
1756
|
export interface DragRowsHandleInfo {
|
|
1744
1757
|
y: number;
|
package/es/index.d.ts
CHANGED
|
@@ -2106,6 +2106,10 @@ declare const _default_17: DefineComponent<ExtractPropTypes<{
|
|
|
2106
2106
|
}>;
|
|
2107
2107
|
default: undefined;
|
|
2108
2108
|
};
|
|
2109
|
+
autoHeight: {
|
|
2110
|
+
type: PropType<boolean | ((autoHeight: number) => number)>;
|
|
2111
|
+
default: boolean;
|
|
2112
|
+
};
|
|
2109
2113
|
rangeSelection: {
|
|
2110
2114
|
type: PropType<boolean | "single">;
|
|
2111
2115
|
default: boolean;
|
|
@@ -2597,6 +2601,10 @@ declare const _default_17: DefineComponent<ExtractPropTypes<{
|
|
|
2597
2601
|
}>;
|
|
2598
2602
|
default: undefined;
|
|
2599
2603
|
};
|
|
2604
|
+
autoHeight: {
|
|
2605
|
+
type: PropType<boolean | ((autoHeight: number) => number)>;
|
|
2606
|
+
default: boolean;
|
|
2607
|
+
};
|
|
2600
2608
|
rangeSelection: {
|
|
2601
2609
|
type: PropType<boolean | "single">;
|
|
2602
2610
|
default: boolean;
|
|
@@ -2928,6 +2936,7 @@ declare const _default_17: DefineComponent<ExtractPropTypes<{
|
|
|
2928
2936
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
2929
2937
|
"onUpdate:open": PropType<(vis: boolean) => void>;
|
|
2930
2938
|
}>>;
|
|
2939
|
+
autoHeight: boolean | ((autoHeight: number) => number);
|
|
2931
2940
|
rangeSelection: boolean | "single";
|
|
2932
2941
|
copyDelimiter: string;
|
|
2933
2942
|
summaryFixed: SummaryFixed;
|
|
@@ -5781,6 +5790,10 @@ declare class Helper<T extends DefaultRecordType> {
|
|
|
5781
5790
|
type: PropType<Scroll>;
|
|
5782
5791
|
default: undefined;
|
|
5783
5792
|
};
|
|
5793
|
+
autoHeight: {
|
|
5794
|
+
type: PropType<boolean | ((autoHeight: number) => number)>;
|
|
5795
|
+
default: boolean;
|
|
5796
|
+
};
|
|
5784
5797
|
rangeSelection: {
|
|
5785
5798
|
type: PropType<boolean | "single">;
|
|
5786
5799
|
default: boolean;
|
|
@@ -7036,6 +7049,7 @@ export declare interface ProTableExposeType {
|
|
|
7036
7049
|
closeEditor: (cellInfos?: CellInfo[]) => void;
|
|
7037
7050
|
reload: (resetPageIndex?: boolean) => Promise<void>;
|
|
7038
7051
|
reset: () => void;
|
|
7052
|
+
calcTableHeight: () => Promise<void>;
|
|
7039
7053
|
}
|
|
7040
7054
|
export declare type ProTableInstance = InstanceType<typeof _default_17> & ProTableExposeType;
|
|
7041
7055
|
export declare type ProTableKey = string | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from './Body.vue2.mjs';
|
|
2
|
-
import { resolveComponent, resolveDirective, createElementBlock, openBlock, Fragment, createVNode, createElementVNode,
|
|
2
|
+
import { resolveComponent, resolveDirective, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, createCommentVNode, withCtx, normalizeStyle, normalizeClass, withDirectives, createBlock, resolveDynamicComponent } from 'vue';
|
|
3
3
|
import _export_sfc from '../../../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = { style: {
|
|
@@ -14,7 +14,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14
14
|
const _component_BodyRows = resolveComponent("BodyRows");
|
|
15
15
|
const _component_Empty = resolveComponent("Empty");
|
|
16
16
|
const _component_YScroll = resolveComponent("YScroll");
|
|
17
|
-
const _component_HorizontalScroll = resolveComponent("HorizontalScroll");
|
|
18
17
|
const _directive_resize = resolveDirective("resize");
|
|
19
18
|
return openBlock(), createElementBlock(
|
|
20
19
|
Fragment,
|
|
@@ -550,7 +549,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
550
549
|
_: 1
|
|
551
550
|
/* STABLE */
|
|
552
551
|
}),
|
|
553
|
-
|
|
552
|
+
createCommentVNode(" <HorizontalScroll /> ")
|
|
554
553
|
],
|
|
555
554
|
64
|
|
556
555
|
/* STABLE_FRAGMENT */
|