vxe-table 4.23.14 → 4.23.16
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/all.esm.js +42 -20
- package/dist/all.esm.min.js +3 -3
- package/es/locale/lang/ar-EG.d.ts +7 -0
- package/es/locale/lang/ar-EG.js +578 -571
- package/es/locale/lang/de-DE.d.ts +7 -0
- package/es/locale/lang/de-DE.js +565 -558
- package/es/locale/lang/en-US.d.ts +7 -0
- package/es/locale/lang/en-US.js +401 -394
- package/es/locale/lang/es-ES.d.ts +7 -0
- package/es/locale/lang/es-ES.js +563 -556
- package/es/locale/lang/fr-FR.d.ts +7 -0
- package/es/locale/lang/fr-FR.js +572 -565
- package/es/locale/lang/hu-HU.d.ts +7 -0
- package/es/locale/lang/hu-HU.js +8 -1
- package/es/locale/lang/hy-AM.d.ts +7 -0
- package/es/locale/lang/hy-AM.js +8 -1
- package/es/locale/lang/id-ID.d.ts +7 -0
- package/es/locale/lang/id-ID.js +584 -577
- package/es/locale/lang/it-IT.d.ts +7 -0
- package/es/locale/lang/it-IT.js +8 -1
- package/es/locale/lang/ja-JP.d.ts +7 -0
- package/es/locale/lang/ja-JP.js +540 -533
- package/es/locale/lang/ko-KR.d.ts +7 -0
- package/es/locale/lang/ko-KR.js +8 -1
- package/es/locale/lang/ms-MY.d.ts +7 -0
- package/es/locale/lang/ms-MY.js +8 -1
- package/es/locale/lang/nb-NO.d.ts +7 -0
- package/es/locale/lang/nb-NO.js +8 -1
- package/es/locale/lang/pt-BR.d.ts +7 -0
- package/es/locale/lang/pt-BR.js +8 -1
- package/es/locale/lang/ru-RU.d.ts +7 -0
- package/es/locale/lang/ru-RU.js +586 -579
- package/es/locale/lang/th-TH.d.ts +7 -0
- package/es/locale/lang/th-TH.js +8 -1
- package/es/locale/lang/ug-CN.d.ts +7 -0
- package/es/locale/lang/ug-CN.js +8 -1
- package/es/locale/lang/uk-UA.d.ts +7 -0
- package/es/locale/lang/uk-UA.js +583 -576
- package/es/locale/lang/uz-UZ.d.ts +7 -0
- package/es/locale/lang/uz-UZ.js +8 -1
- package/es/locale/lang/vi-VN.d.ts +7 -0
- package/es/locale/lang/vi-VN.js +589 -582
- package/es/locale/lang/zh-CHT.d.ts +7 -0
- package/es/locale/lang/zh-CHT.js +330 -323
- package/es/locale/lang/zh-CN.d.ts +7 -0
- package/es/locale/lang/zh-CN.js +8 -1
- package/es/locale/lang/zh-HK.d.ts +7 -0
- package/es/locale/lang/zh-HK.js +330 -323
- package/es/locale/lang/zh-MO.d.ts +7 -0
- package/es/locale/lang/zh-MO.js +330 -323
- package/es/locale/lang/zh-TC.d.ts +7 -0
- package/es/locale/lang/zh-TC.js +330 -323
- package/es/locale/lang/zh-TW.d.ts +7 -0
- package/es/locale/lang/zh-TW.js +330 -323
- package/es/table/src/header.d.ts +2 -2
- package/es/table/src/header.js +32 -17
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +42 -20
- package/lib/index.umd.min.js +3 -3
- package/lib/locale/ar-EG.umd.d.ts +7 -0
- package/lib/locale/ar-EG.umd.js +578 -571
- package/lib/locale/ar-EG.umd.min.js +1 -1
- package/lib/locale/de-DE.umd.d.ts +7 -0
- package/lib/locale/de-DE.umd.js +565 -558
- package/lib/locale/de-DE.umd.min.js +1 -1
- package/lib/locale/en-US.umd.d.ts +7 -0
- package/lib/locale/en-US.umd.js +401 -394
- package/lib/locale/en-US.umd.min.js +1 -1
- package/lib/locale/es-ES.umd.d.ts +7 -0
- package/lib/locale/es-ES.umd.js +563 -556
- package/lib/locale/es-ES.umd.min.js +1 -1
- package/lib/locale/fr-FR.umd.d.ts +7 -0
- package/lib/locale/fr-FR.umd.js +572 -565
- package/lib/locale/fr-FR.umd.min.js +1 -1
- package/lib/locale/hu-HU.umd.d.ts +7 -0
- package/lib/locale/hu-HU.umd.js +8 -1
- package/lib/locale/hu-HU.umd.min.js +1 -1
- package/lib/locale/hy-AM.umd.d.ts +7 -0
- package/lib/locale/hy-AM.umd.js +8 -1
- package/lib/locale/hy-AM.umd.min.js +1 -1
- package/lib/locale/id-ID.umd.d.ts +7 -0
- package/lib/locale/id-ID.umd.js +584 -577
- package/lib/locale/id-ID.umd.min.js +1 -1
- package/lib/locale/it-IT.umd.d.ts +7 -0
- package/lib/locale/it-IT.umd.js +8 -1
- package/lib/locale/it-IT.umd.min.js +1 -1
- package/lib/locale/ja-JP.umd.d.ts +7 -0
- package/lib/locale/ja-JP.umd.js +540 -533
- package/lib/locale/ja-JP.umd.min.js +1 -1
- package/lib/locale/ko-KR.umd.d.ts +7 -0
- package/lib/locale/ko-KR.umd.js +8 -1
- package/lib/locale/ko-KR.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.d.ts +7 -0
- package/lib/locale/lang/ar-EG.js +578 -571
- package/lib/locale/lang/ar-EG.umd.d.ts +7 -0
- package/lib/locale/lang/ar-EG.umd.js +578 -571
- package/lib/locale/lang/ar-EG.umd.min.js +1 -1
- package/lib/locale/lang/de-DE.d.ts +7 -0
- package/lib/locale/lang/de-DE.js +565 -558
- package/lib/locale/lang/de-DE.umd.d.ts +7 -0
- package/lib/locale/lang/de-DE.umd.js +565 -558
- package/lib/locale/lang/de-DE.umd.min.js +1 -1
- package/lib/locale/lang/en-US.d.ts +7 -0
- package/lib/locale/lang/en-US.js +401 -394
- package/lib/locale/lang/en-US.umd.d.ts +7 -0
- package/lib/locale/lang/en-US.umd.js +401 -394
- package/lib/locale/lang/en-US.umd.min.js +1 -1
- package/lib/locale/lang/es-ES.d.ts +7 -0
- package/lib/locale/lang/es-ES.js +563 -556
- package/lib/locale/lang/es-ES.umd.d.ts +7 -0
- package/lib/locale/lang/es-ES.umd.js +563 -556
- package/lib/locale/lang/es-ES.umd.min.js +1 -1
- package/lib/locale/lang/fr-FR.d.ts +7 -0
- package/lib/locale/lang/fr-FR.js +572 -565
- package/lib/locale/lang/fr-FR.umd.d.ts +7 -0
- package/lib/locale/lang/fr-FR.umd.js +572 -565
- package/lib/locale/lang/fr-FR.umd.min.js +1 -1
- package/lib/locale/lang/hu-HU.d.ts +7 -0
- package/lib/locale/lang/hu-HU.js +8 -1
- package/lib/locale/lang/hu-HU.umd.d.ts +7 -0
- package/lib/locale/lang/hu-HU.umd.js +8 -1
- package/lib/locale/lang/hu-HU.umd.min.js +1 -1
- package/lib/locale/lang/hy-AM.d.ts +7 -0
- package/lib/locale/lang/hy-AM.js +8 -1
- package/lib/locale/lang/hy-AM.umd.d.ts +7 -0
- package/lib/locale/lang/hy-AM.umd.js +8 -1
- package/lib/locale/lang/hy-AM.umd.min.js +1 -1
- package/lib/locale/lang/id-ID.d.ts +7 -0
- package/lib/locale/lang/id-ID.js +584 -577
- package/lib/locale/lang/id-ID.umd.d.ts +7 -0
- package/lib/locale/lang/id-ID.umd.js +584 -577
- package/lib/locale/lang/id-ID.umd.min.js +1 -1
- package/lib/locale/lang/it-IT.d.ts +7 -0
- package/lib/locale/lang/it-IT.js +8 -1
- package/lib/locale/lang/it-IT.umd.d.ts +7 -0
- package/lib/locale/lang/it-IT.umd.js +8 -1
- package/lib/locale/lang/it-IT.umd.min.js +1 -1
- package/lib/locale/lang/ja-JP.d.ts +7 -0
- package/lib/locale/lang/ja-JP.js +540 -533
- package/lib/locale/lang/ja-JP.umd.d.ts +7 -0
- package/lib/locale/lang/ja-JP.umd.js +540 -533
- package/lib/locale/lang/ja-JP.umd.min.js +1 -1
- package/lib/locale/lang/ko-KR.d.ts +7 -0
- package/lib/locale/lang/ko-KR.js +8 -1
- package/lib/locale/lang/ko-KR.umd.d.ts +7 -0
- package/lib/locale/lang/ko-KR.umd.js +8 -1
- package/lib/locale/lang/ko-KR.umd.min.js +1 -1
- package/lib/locale/lang/ms-MY.d.ts +7 -0
- package/lib/locale/lang/ms-MY.js +8 -1
- package/lib/locale/lang/ms-MY.umd.d.ts +7 -0
- package/lib/locale/lang/ms-MY.umd.js +8 -1
- package/lib/locale/lang/ms-MY.umd.min.js +1 -1
- package/lib/locale/lang/nb-NO.d.ts +7 -0
- package/lib/locale/lang/nb-NO.js +8 -1
- package/lib/locale/lang/nb-NO.umd.d.ts +7 -0
- package/lib/locale/lang/nb-NO.umd.js +8 -1
- package/lib/locale/lang/nb-NO.umd.min.js +1 -1
- package/lib/locale/lang/pt-BR.d.ts +7 -0
- package/lib/locale/lang/pt-BR.js +8 -1
- package/lib/locale/lang/pt-BR.umd.d.ts +7 -0
- package/lib/locale/lang/pt-BR.umd.js +8 -1
- package/lib/locale/lang/pt-BR.umd.min.js +1 -1
- package/lib/locale/lang/ru-RU.d.ts +7 -0
- package/lib/locale/lang/ru-RU.js +586 -579
- package/lib/locale/lang/ru-RU.umd.d.ts +7 -0
- package/lib/locale/lang/ru-RU.umd.js +586 -579
- package/lib/locale/lang/ru-RU.umd.min.js +1 -1
- package/lib/locale/lang/th-TH.d.ts +7 -0
- package/lib/locale/lang/th-TH.js +8 -1
- package/lib/locale/lang/th-TH.umd.d.ts +7 -0
- package/lib/locale/lang/th-TH.umd.js +8 -1
- package/lib/locale/lang/th-TH.umd.min.js +1 -1
- package/lib/locale/lang/ug-CN.d.ts +7 -0
- package/lib/locale/lang/ug-CN.js +8 -1
- package/lib/locale/lang/ug-CN.umd.d.ts +7 -0
- package/lib/locale/lang/ug-CN.umd.js +8 -1
- package/lib/locale/lang/ug-CN.umd.min.js +1 -1
- package/lib/locale/lang/uk-UA.d.ts +7 -0
- package/lib/locale/lang/uk-UA.js +583 -576
- package/lib/locale/lang/uk-UA.umd.d.ts +7 -0
- package/lib/locale/lang/uk-UA.umd.js +583 -576
- package/lib/locale/lang/uk-UA.umd.min.js +1 -1
- package/lib/locale/lang/uz-UZ.d.ts +7 -0
- package/lib/locale/lang/uz-UZ.js +8 -1
- package/lib/locale/lang/uz-UZ.umd.d.ts +7 -0
- package/lib/locale/lang/uz-UZ.umd.js +8 -1
- package/lib/locale/lang/uz-UZ.umd.min.js +1 -1
- package/lib/locale/lang/vi-VN.d.ts +7 -0
- package/lib/locale/lang/vi-VN.js +589 -582
- package/lib/locale/lang/vi-VN.umd.d.ts +7 -0
- package/lib/locale/lang/vi-VN.umd.js +589 -582
- package/lib/locale/lang/vi-VN.umd.min.js +1 -1
- package/lib/locale/lang/zh-CHT.d.ts +7 -0
- package/lib/locale/lang/zh-CHT.js +330 -323
- package/lib/locale/lang/zh-CHT.umd.d.ts +7 -0
- package/lib/locale/lang/zh-CHT.umd.js +330 -323
- package/lib/locale/lang/zh-CHT.umd.min.js +1 -1
- package/lib/locale/lang/zh-CN.d.ts +7 -0
- package/lib/locale/lang/zh-CN.js +8 -1
- package/lib/locale/lang/zh-CN.umd.d.ts +7 -0
- package/lib/locale/lang/zh-CN.umd.js +8 -1
- package/lib/locale/lang/zh-CN.umd.min.js +1 -1
- package/lib/locale/lang/zh-HK.d.ts +7 -0
- package/lib/locale/lang/zh-HK.js +330 -323
- package/lib/locale/lang/zh-HK.umd.d.ts +7 -0
- package/lib/locale/lang/zh-HK.umd.js +330 -323
- package/lib/locale/lang/zh-HK.umd.min.js +1 -1
- package/lib/locale/lang/zh-MO.d.ts +7 -0
- package/lib/locale/lang/zh-MO.js +330 -323
- package/lib/locale/lang/zh-MO.umd.d.ts +7 -0
- package/lib/locale/lang/zh-MO.umd.js +330 -323
- package/lib/locale/lang/zh-MO.umd.min.js +1 -1
- package/lib/locale/lang/zh-TC.d.ts +7 -0
- package/lib/locale/lang/zh-TC.js +330 -323
- package/lib/locale/lang/zh-TC.umd.d.ts +7 -0
- package/lib/locale/lang/zh-TC.umd.js +330 -323
- package/lib/locale/lang/zh-TC.umd.min.js +1 -1
- package/lib/locale/lang/zh-TW.d.ts +7 -0
- package/lib/locale/lang/zh-TW.js +330 -323
- package/lib/locale/lang/zh-TW.umd.d.ts +7 -0
- package/lib/locale/lang/zh-TW.umd.js +330 -323
- package/lib/locale/lang/zh-TW.umd.min.js +1 -1
- package/lib/locale/ms-MY.umd.d.ts +7 -0
- package/lib/locale/ms-MY.umd.js +8 -1
- package/lib/locale/ms-MY.umd.min.js +1 -1
- package/lib/locale/nb-NO.umd.d.ts +7 -0
- package/lib/locale/nb-NO.umd.js +8 -1
- package/lib/locale/nb-NO.umd.min.js +1 -1
- package/lib/locale/pt-BR.umd.d.ts +7 -0
- package/lib/locale/pt-BR.umd.js +8 -1
- package/lib/locale/pt-BR.umd.min.js +1 -1
- package/lib/locale/ru-RU.umd.d.ts +7 -0
- package/lib/locale/ru-RU.umd.js +586 -579
- package/lib/locale/ru-RU.umd.min.js +1 -1
- package/lib/locale/th-TH.umd.d.ts +7 -0
- package/lib/locale/th-TH.umd.js +8 -1
- package/lib/locale/th-TH.umd.min.js +1 -1
- package/lib/locale/ug-CN.umd.d.ts +7 -0
- package/lib/locale/ug-CN.umd.js +8 -1
- package/lib/locale/ug-CN.umd.min.js +1 -1
- package/lib/locale/uk-UA.umd.d.ts +7 -0
- package/lib/locale/uk-UA.umd.js +583 -576
- package/lib/locale/uk-UA.umd.min.js +1 -1
- package/lib/locale/uz-UZ.umd.d.ts +7 -0
- package/lib/locale/uz-UZ.umd.js +8 -1
- package/lib/locale/uz-UZ.umd.min.js +1 -1
- package/lib/locale/vi-VN.umd.d.ts +7 -0
- package/lib/locale/vi-VN.umd.js +589 -582
- package/lib/locale/vi-VN.umd.min.js +1 -1
- package/lib/locale/zh-CHT.umd.d.ts +7 -0
- package/lib/locale/zh-CHT.umd.js +330 -323
- package/lib/locale/zh-CHT.umd.min.js +1 -1
- package/lib/locale/zh-CN.umd.d.ts +7 -0
- package/lib/locale/zh-CN.umd.js +8 -1
- package/lib/locale/zh-CN.umd.min.js +1 -1
- package/lib/locale/zh-HK.umd.d.ts +7 -0
- package/lib/locale/zh-HK.umd.js +330 -323
- package/lib/locale/zh-HK.umd.min.js +1 -1
- package/lib/locale/zh-MO.umd.d.ts +7 -0
- package/lib/locale/zh-MO.umd.js +330 -323
- package/lib/locale/zh-MO.umd.min.js +1 -1
- package/lib/locale/zh-TC.umd.d.ts +7 -0
- package/lib/locale/zh-TC.umd.js +330 -323
- package/lib/locale/zh-TC.umd.min.js +1 -1
- package/lib/locale/zh-TW.umd.d.ts +7 -0
- package/lib/locale/zh-TW.umd.js +330 -323
- package/lib/locale/zh-TW.umd.min.js +1 -1
- package/lib/table/src/header.d.ts +2 -2
- package/lib/table/src/header.js +32 -17
- package/lib/ui/index.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/ar-EG.ts +578 -571
- package/packages/locale/lang/de-DE.ts +565 -558
- package/packages/locale/lang/en-US.ts +401 -394
- package/packages/locale/lang/es-ES.ts +563 -556
- package/packages/locale/lang/fr-FR.ts +574 -567
- package/packages/locale/lang/hu-HU.ts +8 -1
- package/packages/locale/lang/hy-AM.ts +8 -1
- package/packages/locale/lang/id-ID.ts +584 -577
- package/packages/locale/lang/it-IT.ts +12 -5
- package/packages/locale/lang/ja-JP.ts +540 -533
- package/packages/locale/lang/ko-KR.ts +8 -1
- package/packages/locale/lang/ms-MY.ts +8 -1
- package/packages/locale/lang/nb-NO.ts +8 -1
- package/packages/locale/lang/pt-BR.ts +8 -1
- package/packages/locale/lang/ru-RU.ts +586 -579
- package/packages/locale/lang/th-TH.ts +8 -1
- package/packages/locale/lang/ug-CN.ts +8 -1
- package/packages/locale/lang/uk-UA.ts +583 -576
- package/packages/locale/lang/uz-UZ.ts +21 -14
- package/packages/locale/lang/vi-VN.ts +589 -582
- package/packages/locale/lang/zh-CHT.ts +330 -323
- package/packages/locale/lang/zh-CN.ts +8 -1
- package/packages/locale/lang/zh-HK.ts +330 -323
- package/packages/locale/lang/zh-MO.ts +330 -323
- package/packages/locale/lang/zh-TC.ts +330 -323
- package/packages/locale/lang/zh-TW.ts +330 -323
- package/packages/table/src/header.ts +37 -18
- /package/dist/{iconfont.1793683456086.ttf → iconfont.1794189355036.ttf} +0 -0
- /package/dist/{iconfont.1793683456086.woff → iconfont.1794189355036.woff} +0 -0
- /package/dist/{iconfont.1793683456086.woff2 → iconfont.1794189355036.woff2} +0 -0
- /package/es/{iconfont.1793683456086.ttf → iconfont.1794189355036.ttf} +0 -0
- /package/es/{iconfont.1793683456086.woff → iconfont.1794189355036.woff} +0 -0
- /package/es/{iconfont.1793683456086.woff2 → iconfont.1794189355036.woff2} +0 -0
- /package/lib/{iconfont.1793683456086.ttf → iconfont.1794189355036.ttf} +0 -0
- /package/lib/{iconfont.1793683456086.woff → iconfont.1794189355036.woff} +0 -0
- /package/lib/{iconfont.1793683456086.woff2 → iconfont.1794189355036.woff2} +0 -0
package/es/table/src/header.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
|
2
2
|
import type { VxeTableDefines } from '../../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
tableData: PropType<any[]>;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: PropType<"right" | "left" | "">;
|
|
10
10
|
default: null;
|
|
11
11
|
};
|
|
12
|
-
}, () =>
|
|
12
|
+
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
tableData: PropType<any[]>;
|
package/es/table/src/header.js
CHANGED
|
@@ -283,7 +283,12 @@ var header_default = (
|
|
|
283
283
|
const flCompConf = isEnableConf(filterRender) && filterRender.name ? rendererOpts[filterRender.name] || renderer.get(filterRender.name) : null;
|
|
284
284
|
const rtFloatingFilter = flCompConf ? flCompConf.renderTableFloatingFilter : null;
|
|
285
285
|
const fixedHiddenColumn = overflowX && (fixedType ? column.fixed !== fixedType : !!column.fixed);
|
|
286
|
-
const
|
|
286
|
+
const cellPadding = getDefaultConfig(headerCellOpts.padding, cellOpts.padding);
|
|
287
|
+
const isAllCellPadding = cellPadding === true;
|
|
288
|
+
const isCellPaddingTop = cellPadding ? isAllCellPadding || cellPadding.top !== false : false;
|
|
289
|
+
const isCellPaddingBottom = cellPadding ? isAllCellPadding || cellPadding.bottom !== false : false;
|
|
290
|
+
const isCellPaddingLeft = cellPadding ? isAllCellPadding || cellPadding.left !== false : false;
|
|
291
|
+
const isCellPaddingRight = cellPadding ? isAllCellPadding || cellPadding.right !== false : false;
|
|
287
292
|
const headOverflow = XEUtils.eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
288
293
|
const headAlign = headerAlign || (compConf ? compConf.tableHeaderCellAlign : "") || allHeaderAlign || align || (compConf ? compConf.tableCellAlign : "") || allAlign;
|
|
289
294
|
const showEllipsis = headOverflow === "ellipsis";
|
|
@@ -338,8 +343,13 @@ var header_default = (
|
|
|
338
343
|
"col--fixed": column.fixed,
|
|
339
344
|
"col--ellipsis": hasEllipsis,
|
|
340
345
|
"fixed--width": !isAutoCellWidth,
|
|
341
|
-
"is--
|
|
346
|
+
"is--pg-top": isCellPaddingTop,
|
|
347
|
+
"is--pg-bottom": isCellPaddingBottom,
|
|
348
|
+
"is--pg-left": isCellPaddingLeft,
|
|
349
|
+
"is--pg-right": isCellPaddingRight,
|
|
342
350
|
"is--sortable": column.sortable,
|
|
351
|
+
"col--filter": !!filters,
|
|
352
|
+
"is--filter-active": hasFilter,
|
|
343
353
|
"col--current": currColFlag && currentCol === column
|
|
344
354
|
}
|
|
345
355
|
],
|
|
@@ -380,28 +390,33 @@ var header_default = (
|
|
|
380
390
|
const { fixedType } = props;
|
|
381
391
|
const { headerRowClassName, headerRowStyle } = tableProps;
|
|
382
392
|
const floatingFilterOpts = computeFloatingFilterOpts.value;
|
|
383
|
-
const
|
|
393
|
+
const isFFEnabled = floatingFilterOpts.enabled;
|
|
394
|
+
const isFFTop = floatingFilterOpts.position === "top";
|
|
395
|
+
const rowVNs = [];
|
|
396
|
+
if (isFFEnabled && isFFTop) {
|
|
397
|
+
rowVNs.push(
|
|
398
|
+
h("tr", {
|
|
399
|
+
key: "fft",
|
|
400
|
+
class: ["vxe-header--row is--floating-filters", "" + (floatingFilterOpts.rowClassName || "")]
|
|
401
|
+
}, renderFilterRows(isOptimizeMode, renderColumnList))
|
|
402
|
+
);
|
|
403
|
+
}
|
|
404
|
+
headerGroups.forEach((cols, _rowIndex) => {
|
|
384
405
|
const params = { $table: $xeTable, rowIndex: _rowIndex, _rowIndex, $rowIndex: _rowIndex, fixed: fixedType, type: renderType };
|
|
385
|
-
|
|
386
|
-
"tr",
|
|
387
|
-
{
|
|
406
|
+
rowVNs.push(
|
|
407
|
+
h("tr", {
|
|
388
408
|
key: _rowIndex,
|
|
389
409
|
class: ["vxe-header--row", headerRowClassName ? XEUtils.isFunction(headerRowClassName) ? headerRowClassName(params) : headerRowClassName : ""],
|
|
390
410
|
style: headerRowStyle ? XEUtils.isFunction(headerRowStyle) ? headerRowStyle(params) : headerRowStyle : null
|
|
391
|
-
},
|
|
392
|
-
renderRows(isGroup, isOptimizeMode, headerGroups, _rowIndex, cols)
|
|
411
|
+
}, renderRows(isGroup, isOptimizeMode, headerGroups, _rowIndex, cols))
|
|
393
412
|
);
|
|
394
413
|
});
|
|
395
|
-
if (
|
|
414
|
+
if (isFFEnabled && !isFFTop) {
|
|
396
415
|
rowVNs.push(
|
|
397
|
-
h(
|
|
398
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
class: ["vxe-header--row is--floating-filters", "" + (floatingFilterOpts.rowClassName || "")]
|
|
402
|
-
},
|
|
403
|
-
renderFilterRows(isOptimizeMode, renderColumnList)
|
|
404
|
-
)
|
|
416
|
+
h("tr", {
|
|
417
|
+
key: "ffb",
|
|
418
|
+
class: ["vxe-header--row is--floating-filters", "" + (floatingFilterOpts.rowClassName || "")]
|
|
419
|
+
}, renderFilterRows(isOptimizeMode, renderColumnList))
|
|
405
420
|
);
|
|
406
421
|
}
|
|
407
422
|
return rowVNs;
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeUI } from "@vxe-ui/core";
|
|
2
2
|
const { log } = VxeUI;
|
|
3
|
-
const tableVersion = `table v${"4.23.
|
|
3
|
+
const tableVersion = `table v${"4.23.16"}`;
|
|
4
4
|
function createComponentLog(name) {
|
|
5
5
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : "";
|
|
6
6
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : "";
|
package/lib/index.umd.js
CHANGED
|
@@ -318,7 +318,7 @@ function getDefaultConfig(val1, def1) {
|
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
// packages_temp/ui/index.ts
|
|
321
|
-
var version = "4.23.
|
|
321
|
+
var version = "4.23.16";
|
|
322
322
|
import_core2.VxeUI.version = version;
|
|
323
323
|
import_core2.VxeUI.tableVersion = version;
|
|
324
324
|
import_core2.VxeUI.setConfig({
|
|
@@ -1147,7 +1147,7 @@ function getPopupAppendElement(appendTo) {
|
|
|
1147
1147
|
// packages_temp/ui/src/log.ts
|
|
1148
1148
|
var import_core3 = require("@vxe-ui/core");
|
|
1149
1149
|
var { log } = import_core3.VxeUI;
|
|
1150
|
-
var tableVersion = `table v${"4.23.
|
|
1150
|
+
var tableVersion = `table v${"4.23.16"}`;
|
|
1151
1151
|
function createComponentLog(name) {
|
|
1152
1152
|
const uiVersion = import_core3.VxeUI.uiVersion ? `ui v${import_core3.VxeUI.uiVersion}` : "";
|
|
1153
1153
|
const ganttVersion = import_core3.VxeUI.ganttVersion ? `gantt v${import_core3.VxeUI.ganttVersion}` : "";
|
|
@@ -5981,7 +5981,12 @@ var header_default = (
|
|
|
5981
5981
|
const flCompConf = isEnableConf(filterRender) && filterRender.name ? rendererOpts[filterRender.name] || renderer4.get(filterRender.name) : null;
|
|
5982
5982
|
const rtFloatingFilter = flCompConf ? flCompConf.renderTableFloatingFilter : null;
|
|
5983
5983
|
const fixedHiddenColumn = overflowX && (fixedType ? column.fixed !== fixedType : !!column.fixed);
|
|
5984
|
-
const
|
|
5984
|
+
const cellPadding = getDefaultConfig(headerCellOpts.padding, cellOpts.padding);
|
|
5985
|
+
const isAllCellPadding = cellPadding === true;
|
|
5986
|
+
const isCellPaddingTop = cellPadding ? isAllCellPadding || cellPadding.top !== false : false;
|
|
5987
|
+
const isCellPaddingBottom = cellPadding ? isAllCellPadding || cellPadding.bottom !== false : false;
|
|
5988
|
+
const isCellPaddingLeft = cellPadding ? isAllCellPadding || cellPadding.left !== false : false;
|
|
5989
|
+
const isCellPaddingRight = cellPadding ? isAllCellPadding || cellPadding.right !== false : false;
|
|
5985
5990
|
const headOverflow = import_xe_utils9.default.eqNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
|
|
5986
5991
|
const headAlign = headerAlign || (compConf ? compConf.tableHeaderCellAlign : "") || allHeaderAlign || align || (compConf ? compConf.tableCellAlign : "") || allAlign;
|
|
5987
5992
|
const showEllipsis = headOverflow === "ellipsis";
|
|
@@ -6036,8 +6041,13 @@ var header_default = (
|
|
|
6036
6041
|
"col--fixed": column.fixed,
|
|
6037
6042
|
"col--ellipsis": hasEllipsis,
|
|
6038
6043
|
"fixed--width": !isAutoCellWidth,
|
|
6039
|
-
"is--
|
|
6044
|
+
"is--pg-top": isCellPaddingTop,
|
|
6045
|
+
"is--pg-bottom": isCellPaddingBottom,
|
|
6046
|
+
"is--pg-left": isCellPaddingLeft,
|
|
6047
|
+
"is--pg-right": isCellPaddingRight,
|
|
6040
6048
|
"is--sortable": column.sortable,
|
|
6049
|
+
"col--filter": !!filters,
|
|
6050
|
+
"is--filter-active": hasFilter,
|
|
6041
6051
|
"col--current": currColFlag && currentCol === column
|
|
6042
6052
|
}
|
|
6043
6053
|
],
|
|
@@ -6078,28 +6088,33 @@ var header_default = (
|
|
|
6078
6088
|
const { fixedType } = props;
|
|
6079
6089
|
const { headerRowClassName, headerRowStyle } = tableProps;
|
|
6080
6090
|
const floatingFilterOpts = computeFloatingFilterOpts.value;
|
|
6081
|
-
const
|
|
6091
|
+
const isFFEnabled = floatingFilterOpts.enabled;
|
|
6092
|
+
const isFFTop = floatingFilterOpts.position === "top";
|
|
6093
|
+
const rowVNs = [];
|
|
6094
|
+
if (isFFEnabled && isFFTop) {
|
|
6095
|
+
rowVNs.push(
|
|
6096
|
+
(0, import_vue8.h)("tr", {
|
|
6097
|
+
key: "fft",
|
|
6098
|
+
class: ["vxe-header--row is--floating-filters", "" + (floatingFilterOpts.rowClassName || "")]
|
|
6099
|
+
}, renderFilterRows(isOptimizeMode, renderColumnList))
|
|
6100
|
+
);
|
|
6101
|
+
}
|
|
6102
|
+
headerGroups.forEach((cols, _rowIndex) => {
|
|
6082
6103
|
const params = { $table: $xeTable, rowIndex: _rowIndex, _rowIndex, $rowIndex: _rowIndex, fixed: fixedType, type: renderType2 };
|
|
6083
|
-
|
|
6084
|
-
"tr",
|
|
6085
|
-
{
|
|
6104
|
+
rowVNs.push(
|
|
6105
|
+
(0, import_vue8.h)("tr", {
|
|
6086
6106
|
key: _rowIndex,
|
|
6087
6107
|
class: ["vxe-header--row", headerRowClassName ? import_xe_utils9.default.isFunction(headerRowClassName) ? headerRowClassName(params) : headerRowClassName : ""],
|
|
6088
6108
|
style: headerRowStyle ? import_xe_utils9.default.isFunction(headerRowStyle) ? headerRowStyle(params) : headerRowStyle : null
|
|
6089
|
-
},
|
|
6090
|
-
renderRows(isGroup, isOptimizeMode, headerGroups, _rowIndex, cols)
|
|
6109
|
+
}, renderRows(isGroup, isOptimizeMode, headerGroups, _rowIndex, cols))
|
|
6091
6110
|
);
|
|
6092
6111
|
});
|
|
6093
|
-
if (
|
|
6112
|
+
if (isFFEnabled && !isFFTop) {
|
|
6094
6113
|
rowVNs.push(
|
|
6095
|
-
(0, import_vue8.h)(
|
|
6096
|
-
"
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
class: ["vxe-header--row is--floating-filters", "" + (floatingFilterOpts.rowClassName || "")]
|
|
6100
|
-
},
|
|
6101
|
-
renderFilterRows(isOptimizeMode, renderColumnList)
|
|
6102
|
-
)
|
|
6114
|
+
(0, import_vue8.h)("tr", {
|
|
6115
|
+
key: "ffb",
|
|
6116
|
+
class: ["vxe-header--row is--floating-filters", "" + (floatingFilterOpts.rowClassName || "")]
|
|
6117
|
+
}, renderFilterRows(isOptimizeMode, renderColumnList))
|
|
6103
6118
|
);
|
|
6104
6119
|
}
|
|
6105
6120
|
return rowVNs;
|
|
@@ -34333,7 +34348,8 @@ var zh_CN_default = {
|
|
|
34333
34348
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',
|
|
34334
34349
|
errMaxRow: "超过支持的最大数据量 {0} 行,这可能会导致出现错误",
|
|
34335
34350
|
useNew: "不建议使用 {0},请使用 {1}",
|
|
34336
|
-
errorVersion: "版本不匹配,当前版本 {0},最低支持版本为 {1}"
|
|
34351
|
+
errorVersion: "版本不匹配,当前版本 {0},最低支持版本为 {1}",
|
|
34352
|
+
errMaxVersion: "版本不匹配,当前版本 {0},最高支持版本为 {1}"
|
|
34337
34353
|
},
|
|
34338
34354
|
table: {
|
|
34339
34355
|
emptyText: "暂无数据",
|
|
@@ -34773,6 +34789,9 @@ var zh_CN_default = {
|
|
|
34773
34789
|
VxeUploadImage: "图片",
|
|
34774
34790
|
VxeRate: "评分",
|
|
34775
34791
|
VxeSlider: "滑块"
|
|
34792
|
+
},
|
|
34793
|
+
row: {
|
|
34794
|
+
placeholder: "控件位置"
|
|
34776
34795
|
}
|
|
34777
34796
|
},
|
|
34778
34797
|
widgetProp: {
|
|
@@ -34830,6 +34849,9 @@ var zh_CN_default = {
|
|
|
34830
34849
|
limitImgCount: "图片数量限制",
|
|
34831
34850
|
limitImgSize: "图片大小限制",
|
|
34832
34851
|
multiImg: "允许上传多张图片"
|
|
34852
|
+
},
|
|
34853
|
+
rules: {
|
|
34854
|
+
required: "必填字段"
|
|
34833
34855
|
}
|
|
34834
34856
|
}
|
|
34835
34857
|
},
|