vxe-table 4.23.5 → 4.23.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/all.esm.js +32456 -33938
- package/dist/style.css +4501 -1
- package/dist/style.mini.css +1 -0
- package/es/colgroup/index.d.ts +760 -0
- package/es/colgroup/index.js +16 -13
- package/es/column/index.d.ts +760 -0
- package/es/column/index.js +16 -13
- package/es/components.d.ts +9 -0
- package/es/components.js +29 -29
- package/es/grid/index.d.ts +2824 -0
- package/es/grid/index.js +14 -9
- package/es/grid/src/emits.d.ts +2 -0
- package/es/grid/src/emits.js +18 -15
- package/es/grid/src/grid.d.ts +556 -0
- package/es/grid/src/grid.js +1695 -1758
- package/es/grid/src/props.d.ts +200 -0
- package/es/grid/src/props.js +19 -6
- package/es/{vxe-grid/style.min.css → grid/style.mini.css} +1 -1
- package/es/index.d.ts +3 -0
- package/es/index.esm.js +6 -3
- package/es/index.js +6 -0
- package/es/locale/lang/ar-EG.d.ts +908 -2
- package/es/locale/lang/ar-EG.js +906 -903
- package/es/locale/lang/de-DE.d.ts +908 -2
- package/es/locale/lang/de-DE.js +906 -903
- package/es/locale/lang/en-US.d.ts +908 -2
- package/es/locale/lang/en-US.js +906 -903
- package/es/locale/lang/es-ES.d.ts +908 -2
- package/es/locale/lang/es-ES.js +906 -903
- package/es/locale/lang/fr-FR.d.ts +908 -2
- package/es/locale/lang/fr-FR.js +906 -903
- package/es/locale/lang/hu-HU.d.ts +908 -2
- package/es/locale/lang/hu-HU.js +906 -903
- package/es/locale/lang/hy-AM.d.ts +908 -2
- package/es/locale/lang/hy-AM.js +906 -903
- package/es/locale/lang/id-ID.d.ts +908 -2
- package/es/locale/lang/id-ID.js +906 -903
- package/es/locale/lang/it-IT.d.ts +908 -2
- package/es/locale/lang/it-IT.js +906 -903
- package/es/locale/lang/ja-JP.d.ts +908 -2
- package/es/locale/lang/ja-JP.js +906 -903
- package/es/locale/lang/ko-KR.d.ts +908 -2
- package/es/locale/lang/ko-KR.js +906 -903
- package/es/locale/lang/ms-MY.d.ts +908 -2
- package/es/locale/lang/ms-MY.js +906 -903
- package/es/locale/lang/nb-NO.d.ts +908 -2
- package/es/locale/lang/nb-NO.js +906 -903
- package/es/locale/lang/pt-BR.d.ts +908 -2
- package/es/locale/lang/pt-BR.js +906 -903
- package/es/locale/lang/ru-RU.d.ts +908 -2
- package/es/locale/lang/ru-RU.js +906 -903
- package/es/locale/lang/th-TH.d.ts +908 -2
- package/es/locale/lang/th-TH.js +906 -903
- package/es/locale/lang/ug-CN.d.ts +908 -2
- package/es/locale/lang/ug-CN.js +906 -903
- package/es/locale/lang/uk-UA.d.ts +908 -2
- package/es/locale/lang/uk-UA.js +906 -903
- package/es/locale/lang/uz-UZ.d.ts +908 -2
- package/es/locale/lang/uz-UZ.js +906 -903
- package/es/locale/lang/vi-VN.d.ts +908 -2
- package/es/locale/lang/vi-VN.js +906 -903
- package/es/locale/lang/zh-CHT.d.ts +908 -2
- package/es/locale/lang/zh-CHT.js +906 -903
- package/es/locale/lang/zh-CN.d.ts +908 -2
- package/es/locale/lang/zh-CN.js +906 -903
- package/es/locale/lang/zh-HK.d.ts +908 -2
- package/es/locale/lang/zh-HK.js +910 -2
- package/es/locale/lang/zh-MO.d.ts +908 -2
- package/es/locale/lang/zh-MO.js +910 -2
- package/es/locale/lang/zh-TC.d.ts +908 -0
- package/es/locale/lang/zh-TC.js +910 -2
- package/es/locale/lang/zh-TW.d.ts +908 -2
- package/es/locale/lang/zh-TW.js +910 -2
- package/es/table/index.d.ts +2672 -0
- package/es/table/index.js +16 -11
- package/es/table/module/custom/hook.d.ts +1 -0
- package/es/table/module/custom/hook.js +462 -483
- package/es/table/module/custom/panel.d.ts +17 -0
- package/es/table/module/custom/panel.js +1482 -1559
- package/es/table/module/edit/hook.d.ts +1 -0
- package/es/table/module/edit/hook.js +1008 -1078
- package/es/table/module/export/export-panel.d.ts +27 -0
- package/es/table/module/export/export-panel.js +523 -575
- package/es/table/module/export/hook.d.ts +1 -0
- package/es/table/module/export/hook.js +1805 -1884
- package/es/table/module/export/import-panel.d.ts +27 -0
- package/es/table/module/export/import-panel.js +244 -252
- package/es/table/module/export/util.d.ts +5 -0
- package/es/table/module/export/util.js +20 -17
- package/es/table/module/filter/hook.d.ts +1 -0
- package/es/table/module/filter/hook.js +472 -487
- package/es/table/module/filter/panel.d.ts +16 -0
- package/es/table/module/filter/panel.js +251 -275
- package/es/table/module/keyboard/hook.d.ts +1 -0
- package/es/table/module/keyboard/hook.js +445 -497
- package/es/table/module/menu/hook.d.ts +1 -0
- package/es/table/module/menu/hook.js +295 -315
- package/es/table/module/menu/panel.d.ts +2 -0
- package/es/table/module/menu/panel.js +164 -183
- package/es/table/module/validator/hook.d.ts +1 -0
- package/es/table/module/validator/hook.js +522 -571
- package/es/table/render/index.d.ts +1 -0
- package/es/table/render/index.js +1402 -1362
- package/es/table/src/body.d.ts +24 -0
- package/es/table/src/body.js +850 -865
- package/es/table/src/cell.d.ts +192 -0
- package/es/table/src/cell.js +1209 -1207
- package/es/table/src/column.d.ts +263 -0
- package/es/table/src/column.js +178 -174
- package/es/table/src/columnInfo.d.ts +13 -0
- package/es/table/src/columnInfo.js +202 -196
- package/es/table/src/emits.d.ts +2 -0
- package/es/table/src/emits.js +126 -119
- package/es/table/src/footer.d.ts +45 -0
- package/es/table/src/footer.js +336 -340
- package/es/table/src/group.d.ts +178 -0
- package/es/table/src/group.js +49 -46
- package/es/table/src/header.d.ts +26 -0
- package/es/table/src/header.js +517 -519
- package/es/table/src/props.d.ts +238 -0
- package/es/table/src/props.js +331 -328
- package/es/table/src/store.d.ts +6 -0
- package/es/table/src/store.js +9 -6
- package/es/table/src/table.d.ts +539 -0
- package/es/table/src/table.js +14061 -15071
- package/es/table/src/use/cell-view.d.ts +10 -0
- package/es/table/src/use/cell-view.js +36 -33
- package/es/table/src/use/index.d.ts +1 -0
- package/es/table/src/use/index.js +1 -1
- package/es/table/src/util.d.ts +74 -0
- package/es/table/src/util.js +1038 -1026
- package/es/table/style.css +1 -1
- package/es/table/style.mini.css +1 -0
- package/es/toolbar/index.d.ts +340 -0
- package/es/toolbar/index.js +14 -9
- package/es/toolbar/src/toolbar.d.ts +75 -0
- package/es/toolbar/src/toolbar.js +605 -613
- package/es/toolbar/{style.min.css → style.mini.css} +1 -1
- package/es/ui/index.d.ts +86 -0
- package/es/ui/index.js +457 -501
- package/es/ui/src/anime.d.ts +10 -0
- package/es/ui/src/anime.js +40 -40
- package/es/ui/src/comp.d.ts +2 -0
- package/es/ui/src/comp.js +5 -2
- package/es/ui/src/dom.d.ts +80 -0
- package/es/ui/src/dom.js +377 -380
- package/es/ui/src/log.d.ts +6 -0
- package/es/ui/src/log.js +18 -13
- package/es/ui/src/utils.d.ts +23 -0
- package/es/ui/src/utils.js +57 -53
- package/es/ui/src/vn.d.ts +7 -0
- package/es/ui/src/vn.js +49 -42
- package/es/v-x-e-table/index.d.ts +3 -0
- package/es/v-x-e-table/index.js +6 -3
- package/es/vxe-colgroup/index.d.ts +3 -0
- package/es/vxe-colgroup/index.js +6 -3
- package/es/vxe-column/index.d.ts +3 -0
- package/es/vxe-column/index.js +6 -3
- package/es/vxe-grid/index.d.ts +3 -0
- package/es/vxe-grid/index.js +6 -3
- package/{lib/grid/style/style.min.css → es/vxe-grid/style.mini.css} +1 -1
- package/es/vxe-table/index.d.ts +3 -0
- package/es/vxe-table/index.js +6 -3
- package/es/vxe-table/style.css +1 -1
- package/es/vxe-table/style.mini.css +1 -0
- package/es/vxe-toolbar/index.d.ts +3 -0
- package/es/vxe-toolbar/index.js +6 -3
- package/es/vxe-toolbar/{style.min.css → style.mini.css} +1 -1
- package/es/vxe-ui/index.d.ts +3 -0
- package/es/vxe-ui/index.js +6 -3
- package/lib/colgroup/index.js +44 -18
- package/lib/colgroup/style/index.js +1 -1
- package/lib/column/index.js +44 -18
- package/lib/column/style/index.js +1 -1
- package/lib/components.js +58 -92
- package/lib/grid/index.js +42 -14
- package/lib/grid/src/emits.js +37 -6
- package/lib/grid/src/grid.js +850 -1195
- package/lib/grid/src/props.js +27 -11
- package/lib/grid/style/index.js +1 -1
- package/lib/{vxe-grid/style/style.min.css → grid/style/style.mini.css} +1 -1
- package/lib/iconfont.1792977622800.ttf +0 -0
- package/lib/iconfont.1792977622800.woff +0 -0
- package/lib/iconfont.1792977622800.woff2 +0 -0
- package/lib/index.common.js +35 -19
- package/lib/index.js +37 -0
- package/lib/index.umd.js +30584 -24324
- package/lib/index.umd.min.js +3 -1
- package/lib/locale/ar-EG.umd.js +948 -0
- package/lib/locale/de-DE.umd.js +948 -0
- package/lib/locale/en-US.umd.js +948 -0
- package/lib/locale/es-ES.umd.js +948 -0
- package/lib/locale/fr-FR.umd.js +948 -0
- package/lib/locale/hu-HU.umd.js +948 -0
- package/lib/locale/hy-AM.umd.js +948 -0
- package/lib/locale/id-ID.umd.js +948 -0
- package/lib/locale/it-IT.umd.js +948 -0
- package/lib/locale/ja-JP.umd.js +948 -0
- package/lib/locale/ko-KR.umd.js +948 -0
- package/lib/locale/lang/ar-EG.js +681 -664
- package/lib/locale/lang/ar-EG.umd.js +913 -892
- package/lib/locale/lang/de-DE.js +681 -664
- package/lib/locale/lang/de-DE.umd.js +913 -892
- package/lib/locale/lang/en-US.js +678 -661
- package/lib/locale/lang/en-US.umd.js +913 -892
- package/lib/locale/lang/es-ES.js +681 -664
- package/lib/locale/lang/es-ES.umd.js +913 -892
- package/lib/locale/lang/fr-FR.js +654 -637
- package/lib/locale/lang/fr-FR.umd.js +913 -892
- package/lib/locale/lang/hu-HU.js +681 -664
- package/lib/locale/lang/hu-HU.umd.js +913 -892
- package/lib/locale/lang/hy-AM.js +681 -664
- package/lib/locale/lang/hy-AM.umd.js +913 -892
- package/lib/locale/lang/id-ID.js +681 -664
- package/lib/locale/lang/id-ID.umd.js +913 -892
- package/lib/locale/lang/it-IT.js +661 -644
- package/lib/locale/lang/it-IT.umd.js +912 -891
- package/lib/locale/lang/ja-JP.js +710 -693
- package/lib/locale/lang/ja-JP.umd.js +913 -892
- package/lib/locale/lang/ko-KR.js +681 -664
- package/lib/locale/lang/ko-KR.umd.js +913 -892
- package/lib/locale/lang/ms-MY.js +681 -664
- package/lib/locale/lang/ms-MY.umd.js +913 -892
- package/lib/locale/lang/nb-NO.js +681 -664
- package/lib/locale/lang/nb-NO.umd.js +913 -892
- package/lib/locale/lang/pt-BR.js +681 -664
- package/lib/locale/lang/pt-BR.umd.js +913 -892
- package/lib/locale/lang/ru-RU.js +690 -673
- package/lib/locale/lang/ru-RU.umd.js +913 -892
- package/lib/locale/lang/th-TH.js +681 -664
- package/lib/locale/lang/th-TH.umd.js +913 -892
- package/lib/locale/lang/ug-CN.js +681 -664
- package/lib/locale/lang/ug-CN.umd.js +913 -892
- package/lib/locale/lang/uk-UA.js +674 -657
- package/lib/locale/lang/uk-UA.umd.js +913 -892
- package/lib/locale/lang/uz-UZ.js +583 -566
- package/lib/locale/lang/uz-UZ.umd.js +908 -887
- package/lib/locale/lang/vi-VN.js +681 -664
- package/lib/locale/lang/vi-VN.umd.js +913 -892
- package/lib/locale/lang/zh-CHT.js +681 -664
- package/lib/locale/lang/zh-CHT.umd.js +913 -892
- package/lib/locale/lang/zh-CN.js +681 -664
- package/lib/locale/lang/zh-CN.umd.js +913 -892
- package/lib/locale/lang/zh-HK.js +928 -7
- package/lib/locale/lang/zh-HK.umd.js +945 -20
- package/lib/locale/lang/zh-MO.js +928 -7
- package/lib/locale/lang/zh-MO.umd.js +945 -20
- package/lib/locale/lang/zh-TC.js +928 -7
- package/lib/locale/lang/zh-TC.umd.js +948 -0
- package/lib/locale/lang/zh-TW.js +928 -7
- package/lib/locale/lang/zh-TW.umd.js +945 -20
- package/lib/locale/ms-MY.umd.js +948 -0
- package/lib/locale/nb-NO.umd.js +948 -0
- package/lib/locale/pt-BR.umd.js +948 -0
- package/lib/locale/ru-RU.umd.js +948 -0
- package/lib/locale/th-TH.umd.js +948 -0
- package/lib/locale/ug-CN.umd.js +948 -0
- package/lib/locale/uk-UA.umd.js +948 -0
- package/lib/locale/uz-UZ.umd.js +948 -0
- package/lib/locale/vi-VN.umd.js +948 -0
- package/lib/locale/zh-CHT.umd.js +948 -0
- package/lib/locale/zh-CN.umd.js +948 -0
- package/lib/locale/zh-HK.umd.js +948 -0
- package/lib/locale/zh-MO.umd.js +948 -0
- package/lib/locale/zh-TC.umd.js +948 -0
- package/lib/locale/zh-TW.umd.js +948 -0
- package/lib/style.css +4501 -1
- package/lib/style.mini.css +1 -0
- package/lib/table/index.js +45 -17
- package/lib/table/module/custom/hook.js +132 -252
- package/lib/table/module/custom/panel.js +919 -970
- package/lib/table/module/edit/hook.js +248 -618
- package/lib/table/module/export/export-panel.js +390 -347
- package/lib/table/module/export/hook.js +745 -1179
- package/lib/table/module/export/import-panel.js +170 -136
- package/lib/table/module/export/util.js +37 -14
- package/lib/table/module/filter/hook.js +127 -227
- package/lib/table/module/filter/panel.js +177 -208
- package/lib/table/module/keyboard/hook.js +93 -172
- package/lib/table/module/menu/hook.js +86 -165
- package/lib/table/module/menu/panel.js +176 -141
- package/lib/table/module/validator/hook.js +164 -271
- package/lib/table/render/index.js +700 -1147
- package/lib/table/src/body.js +426 -559
- package/lib/table/src/cell.js +619 -987
- package/lib/table/src/column.js +55 -30
- package/lib/table/src/columnInfo.js +88 -110
- package/lib/table/src/emits.js +145 -13
- package/lib/table/src/footer.js +181 -240
- package/lib/table/src/group.js +56 -34
- package/lib/table/src/header.js +292 -367
- package/lib/table/src/props.js +27 -12
- package/lib/table/src/store.js +25 -9
- package/lib/table/src/table.js +14179 -1023
- package/lib/table/src/use/cell-view.js +47 -37
- package/lib/table/src/use/index.js +17 -15
- package/lib/table/src/util.js +236 -337
- package/lib/table/style/index.js +1 -1
- package/lib/table/style/style.css +1 -1
- package/lib/table/style/style.mini.css +1 -0
- package/lib/toolbar/index.js +42 -14
- package/lib/toolbar/src/toolbar.js +271 -379
- package/lib/toolbar/style/index.js +1 -1
- package/lib/toolbar/style/{style.min.css → style.mini.css} +1 -1
- package/lib/ui/index.js +153 -195
- package/lib/ui/src/anime.js +49 -29
- package/lib/ui/src/comp.js +23 -6
- package/lib/ui/src/dom.js +114 -147
- package/lib/ui/src/log.js +34 -18
- package/lib/ui/src/utils.js +57 -45
- package/lib/ui/src/vn.js +60 -34
- package/lib/ui/style/index.js +1 -1
- package/lib/v-x-e-table/index.js +35 -19
- package/lib/vxe-colgroup/index.js +35 -19
- package/lib/vxe-colgroup/style/index.js +1 -1
- package/lib/vxe-column/index.js +35 -19
- package/lib/vxe-column/style/index.js +1 -1
- package/lib/vxe-grid/index.js +35 -19
- package/lib/vxe-grid/style/index.js +1 -1
- package/{es/grid/style.min.css → lib/vxe-grid/style/style.mini.css} +1 -1
- package/lib/vxe-table/index.js +35 -19
- package/lib/vxe-table/style/index.js +1 -1
- package/lib/vxe-table/style/style.css +1 -1
- package/lib/vxe-table/style/style.mini.css +1 -0
- package/lib/vxe-toolbar/index.js +35 -19
- package/lib/vxe-toolbar/style/index.js +1 -1
- package/lib/vxe-toolbar/style/{style.min.css → style.mini.css} +1 -1
- package/lib/vxe-ui/index.js +35 -19
- package/lib/vxe-ui/style/index.js +1 -1
- package/package.json +8 -4
- package/packages/locale/lang/zh-HK.ts +907 -3
- package/packages/locale/lang/zh-MO.ts +907 -3
- package/packages/locale/lang/zh-TC.ts +907 -3
- package/packages/locale/lang/zh-TW.ts +907 -3
- package/packages/ui/index.ts +1 -28
- package/dist/style.min.css +0 -1
- package/es/index.css +0 -1
- package/es/index.min.css +0 -1
- package/es/style.css +0 -1
- package/es/style.min.css +0 -1
- package/es/table/style.min.css +0 -1
- package/es/vxe-table/style.min.css +0 -1
- package/es/vxe-v-x-e-table/index.js +0 -3
- package/lib/colgroup/index.min.js +0 -1
- package/lib/column/index.min.js +0 -1
- package/lib/components.min.js +0 -1
- package/lib/grid/index.min.js +0 -1
- package/lib/grid/src/emits.min.js +0 -1
- package/lib/grid/src/grid.min.js +0 -1
- package/lib/grid/src/props.min.js +0 -1
- package/lib/index.css +0 -1
- package/lib/index.min.css +0 -1
- package/lib/locale/lang/ar-EG.d.ts +0 -2
- package/lib/locale/lang/ar-EG.min.js +0 -1
- package/lib/locale/lang/de-DE.d.ts +0 -2
- package/lib/locale/lang/de-DE.min.js +0 -1
- package/lib/locale/lang/en-US.d.ts +0 -2
- package/lib/locale/lang/en-US.min.js +0 -1
- package/lib/locale/lang/es-ES.d.ts +0 -2
- package/lib/locale/lang/es-ES.min.js +0 -1
- package/lib/locale/lang/fr-FR.d.ts +0 -2
- package/lib/locale/lang/fr-FR.min.js +0 -1
- package/lib/locale/lang/hu-HU.d.ts +0 -2
- package/lib/locale/lang/hu-HU.min.js +0 -1
- package/lib/locale/lang/hy-AM.d.ts +0 -2
- package/lib/locale/lang/hy-AM.min.js +0 -1
- package/lib/locale/lang/id-ID.d.ts +0 -2
- package/lib/locale/lang/id-ID.min.js +0 -1
- package/lib/locale/lang/it-IT.d.ts +0 -2
- package/lib/locale/lang/it-IT.min.js +0 -1
- package/lib/locale/lang/ja-JP.d.ts +0 -2
- package/lib/locale/lang/ja-JP.min.js +0 -1
- package/lib/locale/lang/ko-KR.d.ts +0 -2
- package/lib/locale/lang/ko-KR.min.js +0 -1
- package/lib/locale/lang/ms-MY.d.ts +0 -2
- package/lib/locale/lang/ms-MY.min.js +0 -1
- package/lib/locale/lang/nb-NO.d.ts +0 -2
- package/lib/locale/lang/nb-NO.min.js +0 -1
- package/lib/locale/lang/pt-BR.d.ts +0 -2
- package/lib/locale/lang/pt-BR.min.js +0 -1
- package/lib/locale/lang/ru-RU.d.ts +0 -2
- package/lib/locale/lang/ru-RU.min.js +0 -1
- package/lib/locale/lang/th-TH.d.ts +0 -2
- package/lib/locale/lang/th-TH.min.js +0 -1
- package/lib/locale/lang/ug-CN.d.ts +0 -2
- package/lib/locale/lang/ug-CN.min.js +0 -1
- package/lib/locale/lang/uk-UA.d.ts +0 -2
- package/lib/locale/lang/uk-UA.min.js +0 -1
- package/lib/locale/lang/uz-UZ.d.ts +0 -2
- package/lib/locale/lang/uz-UZ.min.js +0 -1
- package/lib/locale/lang/vi-VN.d.ts +0 -2
- package/lib/locale/lang/vi-VN.min.js +0 -1
- package/lib/locale/lang/zh-CHT.d.ts +0 -2
- package/lib/locale/lang/zh-CHT.min.js +0 -1
- package/lib/locale/lang/zh-CN.d.ts +0 -2
- package/lib/locale/lang/zh-CN.min.js +0 -1
- package/lib/locale/lang/zh-HK.d.ts +0 -2
- package/lib/locale/lang/zh-HK.min.js +0 -1
- package/lib/locale/lang/zh-MO.d.ts +0 -2
- package/lib/locale/lang/zh-MO.min.js +0 -1
- package/lib/locale/lang/zh-TC.min.js +0 -1
- package/lib/locale/lang/zh-TW.d.ts +0 -2
- package/lib/locale/lang/zh-TW.min.js +0 -1
- package/lib/style.min.css +0 -1
- package/lib/table/index.min.js +0 -1
- package/lib/table/module/custom/hook.min.js +0 -1
- package/lib/table/module/custom/panel.min.js +0 -1
- package/lib/table/module/edit/hook.min.js +0 -1
- package/lib/table/module/export/export-panel.min.js +0 -1
- package/lib/table/module/export/hook.min.js +0 -1
- package/lib/table/module/export/import-panel.min.js +0 -1
- package/lib/table/module/export/util.min.js +0 -1
- package/lib/table/module/filter/hook.min.js +0 -1
- package/lib/table/module/filter/panel.min.js +0 -1
- package/lib/table/module/keyboard/hook.min.js +0 -1
- package/lib/table/module/menu/hook.min.js +0 -1
- package/lib/table/module/menu/panel.min.js +0 -1
- package/lib/table/module/validator/hook.min.js +0 -1
- package/lib/table/render/index.min.js +0 -1
- package/lib/table/src/body.min.js +0 -1
- package/lib/table/src/cell.min.js +0 -1
- package/lib/table/src/column.min.js +0 -1
- package/lib/table/src/columnInfo.min.js +0 -1
- package/lib/table/src/emits.min.js +0 -1
- package/lib/table/src/footer.min.js +0 -1
- package/lib/table/src/group.min.js +0 -1
- package/lib/table/src/header.min.js +0 -1
- package/lib/table/src/props.min.js +0 -1
- package/lib/table/src/store.min.js +0 -1
- package/lib/table/src/table.min.js +0 -1
- package/lib/table/src/use/cell-view.min.js +0 -1
- package/lib/table/src/use/index.min.js +0 -1
- package/lib/table/src/util.min.js +0 -1
- package/lib/table/style/style.min.css +0 -1
- package/lib/toolbar/index.min.js +0 -1
- package/lib/toolbar/src/toolbar.min.js +0 -1
- package/lib/ui/index.min.js +0 -1
- package/lib/ui/src/anime.min.js +0 -1
- package/lib/ui/src/comp.min.js +0 -1
- package/lib/ui/src/dom.min.js +0 -1
- package/lib/ui/src/log.min.js +0 -1
- package/lib/ui/src/utils.min.js +0 -1
- package/lib/ui/src/vn.min.js +0 -1
- package/lib/ui/style/style.min.css +0 -0
- package/lib/v-x-e-table/index.min.js +0 -1
- package/lib/v-x-e-table/style/index.js +0 -1
- package/lib/v-x-e-table/style/style.css +0 -0
- package/lib/v-x-e-table/style/style.min.css +0 -0
- package/lib/vxe-colgroup/index.min.js +0 -1
- package/lib/vxe-colgroup/style/style.min.css +0 -0
- package/lib/vxe-column/index.min.js +0 -1
- package/lib/vxe-column/style/style.min.css +0 -0
- package/lib/vxe-grid/index.min.js +0 -1
- package/lib/vxe-table/index.min.js +0 -1
- package/lib/vxe-table/style/style.min.css +0 -1
- package/lib/vxe-toolbar/index.min.js +0 -1
- package/lib/vxe-ui/index.min.js +0 -1
- package/lib/vxe-ui/style/style.min.css +0 -0
- package/lib/vxe-v-x-e-table/index.js +0 -21
- package/lib/vxe-v-x-e-table/index.min.js +0 -1
- package/lib/vxe-v-x-e-table/style/index.js +0 -1
- package/lib/vxe-v-x-e-table/style/style.css +0 -0
- package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
- /package/{es/iconfont.1792838769925.ttf → dist/iconfont.1792977622800.ttf} +0 -0
- /package/{es/iconfont.1792838769925.woff → dist/iconfont.1792977622800.woff} +0 -0
- /package/{es/iconfont.1792838769925.woff2 → dist/iconfont.1792977622800.woff2} +0 -0
- /package/es/colgroup/{style.min.css → style.mini.css} +0 -0
- /package/es/column/{style.min.css → style.mini.css} +0 -0
- /package/{lib/iconfont.1792838769925.ttf → es/iconfont.1792977622800.ttf} +0 -0
- /package/{lib/iconfont.1792838769925.woff → es/iconfont.1792977622800.woff} +0 -0
- /package/{lib/iconfont.1792838769925.woff2 → es/iconfont.1792977622800.woff2} +0 -0
- /package/es/ui/{style.min.css → style.mini.css} +0 -0
- /package/es/{v-x-e-table/style.css → vxe-colgroup/style.mini.css} +0 -0
- /package/es/{v-x-e-table/style.min.css → vxe-column/style.mini.css} +0 -0
- /package/es/{vxe-colgroup/style.min.css → vxe-ui/style.mini.css} +0 -0
- /package/{es/vxe-column/style.min.css → lib/colgroup/style/style.mini.css} +0 -0
- /package/{es/vxe-ui/style.min.css → lib/column/style/style.mini.css} +0 -0
- /package/{es/vxe-v-x-e-table/style.css → lib/ui/style/style.mini.css} +0 -0
- /package/{es/vxe-v-x-e-table/style.min.css → lib/vxe-colgroup/style/style.mini.css} +0 -0
- /package/lib/{colgroup/style/style.min.css → vxe-column/style/style.mini.css} +0 -0
- /package/lib/{column/style/style.min.css → vxe-ui/style/style.mini.css} +0 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { VxeColumnPropTypes } from '../../../types';
|
|
3
|
+
export declare const columnProps: {
|
|
4
|
+
colId: PropType<VxeColumnPropTypes.ColId>;
|
|
5
|
+
type: PropType<VxeColumnPropTypes.Type>;
|
|
6
|
+
field: PropType<VxeColumnPropTypes.Field>;
|
|
7
|
+
title: PropType<VxeColumnPropTypes.Title>;
|
|
8
|
+
width: PropType<VxeColumnPropTypes.Width>;
|
|
9
|
+
minWidth: PropType<VxeColumnPropTypes.MinWidth>;
|
|
10
|
+
maxWidth: PropType<VxeColumnPropTypes.MaxWidth>;
|
|
11
|
+
resizable: {
|
|
12
|
+
type: PropType<VxeColumnPropTypes.Resizable>;
|
|
13
|
+
default: null;
|
|
14
|
+
};
|
|
15
|
+
fixed: PropType<VxeColumnPropTypes.Fixed>;
|
|
16
|
+
align: PropType<VxeColumnPropTypes.Align>;
|
|
17
|
+
headerAlign: PropType<VxeColumnPropTypes.HeaderAlign>;
|
|
18
|
+
footerAlign: PropType<VxeColumnPropTypes.FooterAlign>;
|
|
19
|
+
showOverflow: {
|
|
20
|
+
type: PropType<VxeColumnPropTypes.ShowOverflow>;
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
showHeaderOverflow: {
|
|
24
|
+
type: PropType<VxeColumnPropTypes.ShowHeaderOverflow>;
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
showFooterOverflow: {
|
|
28
|
+
type: PropType<VxeColumnPropTypes.ShowFooterOverflow>;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
className: PropType<VxeColumnPropTypes.ClassName>;
|
|
32
|
+
headerClassName: PropType<VxeColumnPropTypes.HeaderClassName>;
|
|
33
|
+
footerClassName: PropType<VxeColumnPropTypes.FooterClassName>;
|
|
34
|
+
formatter: PropType<VxeColumnPropTypes.Formatter<any>>;
|
|
35
|
+
headerFormatter: PropType<VxeColumnPropTypes.HeaderFormatter>;
|
|
36
|
+
footerFormatter: PropType<VxeColumnPropTypes.FooterFormatter>;
|
|
37
|
+
padding: {
|
|
38
|
+
type: PropType<VxeColumnPropTypes.Padding>;
|
|
39
|
+
default: null;
|
|
40
|
+
};
|
|
41
|
+
verticalAlign: {
|
|
42
|
+
type: PropType<VxeColumnPropTypes.VerticalAlign>;
|
|
43
|
+
default: null;
|
|
44
|
+
};
|
|
45
|
+
sortable: PropType<VxeColumnPropTypes.Sortable>;
|
|
46
|
+
sortBy: PropType<VxeColumnPropTypes.SortBy>;
|
|
47
|
+
sortType: PropType<VxeColumnPropTypes.SortType>;
|
|
48
|
+
filters: {
|
|
49
|
+
type: PropType<VxeColumnPropTypes.Filters>;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
filterMultiple: {
|
|
53
|
+
type: PropType<VxeColumnPropTypes.FilterMultiple>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
filterMethod: PropType<VxeColumnPropTypes.FilterMethod<any>>;
|
|
57
|
+
filterResetMethod: PropType<VxeColumnPropTypes.FilterResetMethod>;
|
|
58
|
+
filterRecoverMethod: PropType<VxeColumnPropTypes.FilterRecoverMethod>;
|
|
59
|
+
filterRender: PropType<VxeColumnPropTypes.FilterRender>;
|
|
60
|
+
floatingFilters: PropType<VxeColumnPropTypes.FloatingFilters>;
|
|
61
|
+
rules: PropType<VxeColumnPropTypes.Rules>;
|
|
62
|
+
rowGroupNode: PropType<VxeColumnPropTypes.RowGroupNode>;
|
|
63
|
+
treeNode: PropType<VxeColumnPropTypes.TreeNode>;
|
|
64
|
+
dragSort: PropType<VxeColumnPropTypes.DragSort>;
|
|
65
|
+
rowResize: PropType<VxeColumnPropTypes.RowResize>;
|
|
66
|
+
visible: {
|
|
67
|
+
type: PropType<VxeColumnPropTypes.Visible>;
|
|
68
|
+
default: null;
|
|
69
|
+
};
|
|
70
|
+
headerExportMethod: PropType<VxeColumnPropTypes.HeaderExportMethod>;
|
|
71
|
+
exportMethod: PropType<VxeColumnPropTypes.ExportMethod>;
|
|
72
|
+
footerExportMethod: PropType<VxeColumnPropTypes.FooterExportMethod>;
|
|
73
|
+
titleHelp: PropType<VxeColumnPropTypes.TitleHelp>;
|
|
74
|
+
titlePrefix: PropType<VxeColumnPropTypes.TitlePrefix>;
|
|
75
|
+
titleSuffix: PropType<VxeColumnPropTypes.TitleSuffix>;
|
|
76
|
+
cellType: PropType<VxeColumnPropTypes.CellType>;
|
|
77
|
+
cellRender: PropType<VxeColumnPropTypes.CellRender<any>>;
|
|
78
|
+
editRender: PropType<VxeColumnPropTypes.EditRender>;
|
|
79
|
+
contentRender: PropType<VxeColumnPropTypes.ContentRender>;
|
|
80
|
+
aggFunc: PropType<VxeColumnPropTypes.AggFunc>;
|
|
81
|
+
copyMethod: PropType<VxeColumnPropTypes.CopyMethod>;
|
|
82
|
+
cutMethod: PropType<VxeColumnPropTypes.CutMethod>;
|
|
83
|
+
pasteMethod: PropType<VxeColumnPropTypes.PasteMethod>;
|
|
84
|
+
params: PropType<VxeColumnPropTypes.Params>;
|
|
85
|
+
};
|
|
86
|
+
declare const _default: import("vue").DefineComponent<{
|
|
87
|
+
colId: PropType<VxeColumnPropTypes.ColId>;
|
|
88
|
+
type: PropType<VxeColumnPropTypes.Type>;
|
|
89
|
+
field: PropType<VxeColumnPropTypes.Field>;
|
|
90
|
+
title: PropType<VxeColumnPropTypes.Title>;
|
|
91
|
+
width: PropType<VxeColumnPropTypes.Width>;
|
|
92
|
+
minWidth: PropType<VxeColumnPropTypes.MinWidth>;
|
|
93
|
+
maxWidth: PropType<VxeColumnPropTypes.MaxWidth>;
|
|
94
|
+
resizable: {
|
|
95
|
+
type: PropType<VxeColumnPropTypes.Resizable>;
|
|
96
|
+
default: null;
|
|
97
|
+
};
|
|
98
|
+
fixed: PropType<VxeColumnPropTypes.Fixed>;
|
|
99
|
+
align: PropType<VxeColumnPropTypes.Align>;
|
|
100
|
+
headerAlign: PropType<VxeColumnPropTypes.HeaderAlign>;
|
|
101
|
+
footerAlign: PropType<VxeColumnPropTypes.FooterAlign>;
|
|
102
|
+
showOverflow: {
|
|
103
|
+
type: PropType<VxeColumnPropTypes.ShowOverflow>;
|
|
104
|
+
default: null;
|
|
105
|
+
};
|
|
106
|
+
showHeaderOverflow: {
|
|
107
|
+
type: PropType<VxeColumnPropTypes.ShowHeaderOverflow>;
|
|
108
|
+
default: null;
|
|
109
|
+
};
|
|
110
|
+
showFooterOverflow: {
|
|
111
|
+
type: PropType<VxeColumnPropTypes.ShowFooterOverflow>;
|
|
112
|
+
default: null;
|
|
113
|
+
};
|
|
114
|
+
className: PropType<VxeColumnPropTypes.ClassName>;
|
|
115
|
+
headerClassName: PropType<VxeColumnPropTypes.HeaderClassName>;
|
|
116
|
+
footerClassName: PropType<VxeColumnPropTypes.FooterClassName>;
|
|
117
|
+
formatter: PropType<VxeColumnPropTypes.Formatter<any>>;
|
|
118
|
+
headerFormatter: PropType<VxeColumnPropTypes.HeaderFormatter>;
|
|
119
|
+
footerFormatter: PropType<VxeColumnPropTypes.FooterFormatter>;
|
|
120
|
+
padding: {
|
|
121
|
+
type: PropType<VxeColumnPropTypes.Padding>;
|
|
122
|
+
default: null;
|
|
123
|
+
};
|
|
124
|
+
verticalAlign: {
|
|
125
|
+
type: PropType<VxeColumnPropTypes.VerticalAlign>;
|
|
126
|
+
default: null;
|
|
127
|
+
};
|
|
128
|
+
sortable: PropType<VxeColumnPropTypes.Sortable>;
|
|
129
|
+
sortBy: PropType<VxeColumnPropTypes.SortBy>;
|
|
130
|
+
sortType: PropType<VxeColumnPropTypes.SortType>;
|
|
131
|
+
filters: {
|
|
132
|
+
type: PropType<VxeColumnPropTypes.Filters>;
|
|
133
|
+
default: null;
|
|
134
|
+
};
|
|
135
|
+
filterMultiple: {
|
|
136
|
+
type: PropType<VxeColumnPropTypes.FilterMultiple>;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
filterMethod: PropType<VxeColumnPropTypes.FilterMethod<any>>;
|
|
140
|
+
filterResetMethod: PropType<VxeColumnPropTypes.FilterResetMethod>;
|
|
141
|
+
filterRecoverMethod: PropType<VxeColumnPropTypes.FilterRecoverMethod>;
|
|
142
|
+
filterRender: PropType<VxeColumnPropTypes.FilterRender>;
|
|
143
|
+
floatingFilters: PropType<VxeColumnPropTypes.FloatingFilters>;
|
|
144
|
+
rules: PropType<VxeColumnPropTypes.Rules>;
|
|
145
|
+
rowGroupNode: PropType<VxeColumnPropTypes.RowGroupNode>;
|
|
146
|
+
treeNode: PropType<VxeColumnPropTypes.TreeNode>;
|
|
147
|
+
dragSort: PropType<VxeColumnPropTypes.DragSort>;
|
|
148
|
+
rowResize: PropType<VxeColumnPropTypes.RowResize>;
|
|
149
|
+
visible: {
|
|
150
|
+
type: PropType<VxeColumnPropTypes.Visible>;
|
|
151
|
+
default: null;
|
|
152
|
+
};
|
|
153
|
+
headerExportMethod: PropType<VxeColumnPropTypes.HeaderExportMethod>;
|
|
154
|
+
exportMethod: PropType<VxeColumnPropTypes.ExportMethod>;
|
|
155
|
+
footerExportMethod: PropType<VxeColumnPropTypes.FooterExportMethod>;
|
|
156
|
+
titleHelp: PropType<VxeColumnPropTypes.TitleHelp>;
|
|
157
|
+
titlePrefix: PropType<VxeColumnPropTypes.TitlePrefix>;
|
|
158
|
+
titleSuffix: PropType<VxeColumnPropTypes.TitleSuffix>;
|
|
159
|
+
cellType: PropType<VxeColumnPropTypes.CellType>;
|
|
160
|
+
cellRender: PropType<VxeColumnPropTypes.CellRender<any>>;
|
|
161
|
+
editRender: PropType<VxeColumnPropTypes.EditRender>;
|
|
162
|
+
contentRender: PropType<VxeColumnPropTypes.ContentRender>;
|
|
163
|
+
aggFunc: PropType<VxeColumnPropTypes.AggFunc>;
|
|
164
|
+
copyMethod: PropType<VxeColumnPropTypes.CopyMethod>;
|
|
165
|
+
cutMethod: PropType<VxeColumnPropTypes.CutMethod>;
|
|
166
|
+
pasteMethod: PropType<VxeColumnPropTypes.PasteMethod>;
|
|
167
|
+
params: PropType<VxeColumnPropTypes.Params>;
|
|
168
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
169
|
+
[key: string]: any;
|
|
170
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
171
|
+
colId: PropType<VxeColumnPropTypes.ColId>;
|
|
172
|
+
type: PropType<VxeColumnPropTypes.Type>;
|
|
173
|
+
field: PropType<VxeColumnPropTypes.Field>;
|
|
174
|
+
title: PropType<VxeColumnPropTypes.Title>;
|
|
175
|
+
width: PropType<VxeColumnPropTypes.Width>;
|
|
176
|
+
minWidth: PropType<VxeColumnPropTypes.MinWidth>;
|
|
177
|
+
maxWidth: PropType<VxeColumnPropTypes.MaxWidth>;
|
|
178
|
+
resizable: {
|
|
179
|
+
type: PropType<VxeColumnPropTypes.Resizable>;
|
|
180
|
+
default: null;
|
|
181
|
+
};
|
|
182
|
+
fixed: PropType<VxeColumnPropTypes.Fixed>;
|
|
183
|
+
align: PropType<VxeColumnPropTypes.Align>;
|
|
184
|
+
headerAlign: PropType<VxeColumnPropTypes.HeaderAlign>;
|
|
185
|
+
footerAlign: PropType<VxeColumnPropTypes.FooterAlign>;
|
|
186
|
+
showOverflow: {
|
|
187
|
+
type: PropType<VxeColumnPropTypes.ShowOverflow>;
|
|
188
|
+
default: null;
|
|
189
|
+
};
|
|
190
|
+
showHeaderOverflow: {
|
|
191
|
+
type: PropType<VxeColumnPropTypes.ShowHeaderOverflow>;
|
|
192
|
+
default: null;
|
|
193
|
+
};
|
|
194
|
+
showFooterOverflow: {
|
|
195
|
+
type: PropType<VxeColumnPropTypes.ShowFooterOverflow>;
|
|
196
|
+
default: null;
|
|
197
|
+
};
|
|
198
|
+
className: PropType<VxeColumnPropTypes.ClassName>;
|
|
199
|
+
headerClassName: PropType<VxeColumnPropTypes.HeaderClassName>;
|
|
200
|
+
footerClassName: PropType<VxeColumnPropTypes.FooterClassName>;
|
|
201
|
+
formatter: PropType<VxeColumnPropTypes.Formatter<any>>;
|
|
202
|
+
headerFormatter: PropType<VxeColumnPropTypes.HeaderFormatter>;
|
|
203
|
+
footerFormatter: PropType<VxeColumnPropTypes.FooterFormatter>;
|
|
204
|
+
padding: {
|
|
205
|
+
type: PropType<VxeColumnPropTypes.Padding>;
|
|
206
|
+
default: null;
|
|
207
|
+
};
|
|
208
|
+
verticalAlign: {
|
|
209
|
+
type: PropType<VxeColumnPropTypes.VerticalAlign>;
|
|
210
|
+
default: null;
|
|
211
|
+
};
|
|
212
|
+
sortable: PropType<VxeColumnPropTypes.Sortable>;
|
|
213
|
+
sortBy: PropType<VxeColumnPropTypes.SortBy>;
|
|
214
|
+
sortType: PropType<VxeColumnPropTypes.SortType>;
|
|
215
|
+
filters: {
|
|
216
|
+
type: PropType<VxeColumnPropTypes.Filters>;
|
|
217
|
+
default: null;
|
|
218
|
+
};
|
|
219
|
+
filterMultiple: {
|
|
220
|
+
type: PropType<VxeColumnPropTypes.FilterMultiple>;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
filterMethod: PropType<VxeColumnPropTypes.FilterMethod<any>>;
|
|
224
|
+
filterResetMethod: PropType<VxeColumnPropTypes.FilterResetMethod>;
|
|
225
|
+
filterRecoverMethod: PropType<VxeColumnPropTypes.FilterRecoverMethod>;
|
|
226
|
+
filterRender: PropType<VxeColumnPropTypes.FilterRender>;
|
|
227
|
+
floatingFilters: PropType<VxeColumnPropTypes.FloatingFilters>;
|
|
228
|
+
rules: PropType<VxeColumnPropTypes.Rules>;
|
|
229
|
+
rowGroupNode: PropType<VxeColumnPropTypes.RowGroupNode>;
|
|
230
|
+
treeNode: PropType<VxeColumnPropTypes.TreeNode>;
|
|
231
|
+
dragSort: PropType<VxeColumnPropTypes.DragSort>;
|
|
232
|
+
rowResize: PropType<VxeColumnPropTypes.RowResize>;
|
|
233
|
+
visible: {
|
|
234
|
+
type: PropType<VxeColumnPropTypes.Visible>;
|
|
235
|
+
default: null;
|
|
236
|
+
};
|
|
237
|
+
headerExportMethod: PropType<VxeColumnPropTypes.HeaderExportMethod>;
|
|
238
|
+
exportMethod: PropType<VxeColumnPropTypes.ExportMethod>;
|
|
239
|
+
footerExportMethod: PropType<VxeColumnPropTypes.FooterExportMethod>;
|
|
240
|
+
titleHelp: PropType<VxeColumnPropTypes.TitleHelp>;
|
|
241
|
+
titlePrefix: PropType<VxeColumnPropTypes.TitlePrefix>;
|
|
242
|
+
titleSuffix: PropType<VxeColumnPropTypes.TitleSuffix>;
|
|
243
|
+
cellType: PropType<VxeColumnPropTypes.CellType>;
|
|
244
|
+
cellRender: PropType<VxeColumnPropTypes.CellRender<any>>;
|
|
245
|
+
editRender: PropType<VxeColumnPropTypes.EditRender>;
|
|
246
|
+
contentRender: PropType<VxeColumnPropTypes.ContentRender>;
|
|
247
|
+
aggFunc: PropType<VxeColumnPropTypes.AggFunc>;
|
|
248
|
+
copyMethod: PropType<VxeColumnPropTypes.CopyMethod>;
|
|
249
|
+
cutMethod: PropType<VxeColumnPropTypes.CutMethod>;
|
|
250
|
+
pasteMethod: PropType<VxeColumnPropTypes.PasteMethod>;
|
|
251
|
+
params: PropType<VxeColumnPropTypes.Params>;
|
|
252
|
+
}>>, {
|
|
253
|
+
resizable: boolean;
|
|
254
|
+
padding: VxeColumnPropTypes.Padding;
|
|
255
|
+
verticalAlign: VxeColumnPropTypes.VerticalAlign;
|
|
256
|
+
visible: boolean;
|
|
257
|
+
filters: VxeColumnPropTypes.Filters<any>;
|
|
258
|
+
showOverflow: import("vxe-pc-ui/types/components/table").VxeTablePropTypes.ShowOverflow;
|
|
259
|
+
showHeaderOverflow: import("vxe-pc-ui/types/components/table").VxeTablePropTypes.ShowOverflow;
|
|
260
|
+
showFooterOverflow: import("vxe-pc-ui/types/components/table").VxeTablePropTypes.ShowOverflow;
|
|
261
|
+
filterMultiple: boolean;
|
|
262
|
+
}, {}>;
|
|
263
|
+
export default _default;
|
package/es/table/src/column.js
CHANGED
|
@@ -1,178 +1,182 @@
|
|
|
1
|
-
import { h, onUnmounted, inject, ref, provide, onMounted, createCommentVNode } from
|
|
2
|
-
import { defineVxeComponent } from
|
|
3
|
-
import { watchColumn, assembleColumn, destroyColumn } from
|
|
4
|
-
import Cell from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { h, onUnmounted, inject, ref, provide, onMounted, createCommentVNode } from "vue";
|
|
2
|
+
import { defineVxeComponent } from "../../ui/src/comp";
|
|
3
|
+
import { watchColumn, assembleColumn, destroyColumn } from "./util";
|
|
4
|
+
import Cell from "./cell";
|
|
5
|
+
const columnProps = {
|
|
6
|
+
// 列唯一主键
|
|
7
|
+
colId: [String, Number],
|
|
8
|
+
// 渲染类型 index,radio,checkbox,expand,html
|
|
9
|
+
type: String,
|
|
10
|
+
// 列字段名
|
|
11
|
+
field: String,
|
|
12
|
+
// 列标题
|
|
13
|
+
title: String,
|
|
14
|
+
// 列宽度
|
|
15
|
+
width: [Number, String],
|
|
16
|
+
// 列最小宽度,把剩余宽度按比例分配
|
|
17
|
+
minWidth: [Number, String],
|
|
18
|
+
// 列最大宽度
|
|
19
|
+
maxWidth: [Number, String],
|
|
20
|
+
// 是否允许拖动列宽调整大小
|
|
21
|
+
resizable: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: null
|
|
24
|
+
},
|
|
25
|
+
// 将列固定在左侧或者右侧
|
|
26
|
+
fixed: String,
|
|
27
|
+
// 列对其方式
|
|
28
|
+
align: String,
|
|
29
|
+
// 表头对齐方式
|
|
30
|
+
headerAlign: String,
|
|
31
|
+
// 表尾列的对齐方式
|
|
32
|
+
footerAlign: String,
|
|
33
|
+
// 当内容过长时显示为省略号
|
|
34
|
+
showOverflow: {
|
|
35
|
+
type: [Boolean, String],
|
|
36
|
+
default: null
|
|
37
|
+
},
|
|
38
|
+
// 当表头内容过长时显示为省略号
|
|
39
|
+
showHeaderOverflow: {
|
|
40
|
+
type: [Boolean, String],
|
|
41
|
+
default: null
|
|
42
|
+
},
|
|
43
|
+
// 当表尾内容过长时显示为省略号
|
|
44
|
+
showFooterOverflow: {
|
|
45
|
+
type: [Boolean, String],
|
|
46
|
+
default: null
|
|
47
|
+
},
|
|
48
|
+
// 给单元格附加 className
|
|
49
|
+
className: [String, Function],
|
|
50
|
+
// 给表头单元格附加 className
|
|
51
|
+
headerClassName: [String, Function],
|
|
52
|
+
// 给表尾单元格附加 className
|
|
53
|
+
footerClassName: [String, Function],
|
|
54
|
+
// 格式化显示内容
|
|
55
|
+
formatter: [Function, Array, String],
|
|
56
|
+
// 格式化表头显示内容
|
|
57
|
+
headerFormatter: [Function, Array, String],
|
|
58
|
+
// 格式化表尾显示内容
|
|
59
|
+
footerFormatter: [Function, Array, String],
|
|
60
|
+
// 是否显示间距
|
|
61
|
+
padding: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: null
|
|
64
|
+
},
|
|
65
|
+
// 垂直对齐方式
|
|
66
|
+
verticalAlign: {
|
|
9
67
|
type: String,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: true
|
|
85
|
-
},
|
|
86
|
-
// 自定义筛选方法
|
|
87
|
-
filterMethod: Function,
|
|
88
|
-
// 筛选重置方法
|
|
89
|
-
filterResetMethod: Function,
|
|
90
|
-
// 筛选复原方法
|
|
91
|
-
filterRecoverMethod: Function,
|
|
92
|
-
// 筛选模板配置项
|
|
93
|
-
filterRender: Object,
|
|
94
|
-
// 是否显示浮动筛选
|
|
95
|
-
floatingFilters: Object,
|
|
96
|
-
// 列的校验规则
|
|
97
|
-
rules: Array,
|
|
98
|
-
// 设置为分组节点
|
|
99
|
-
rowGroupNode: Boolean,
|
|
100
|
-
// 设置为树节点
|
|
101
|
-
treeNode: Boolean,
|
|
102
|
-
// 设置为拖拽排序
|
|
103
|
-
dragSort: Boolean,
|
|
104
|
-
// 设置为行高拖拽
|
|
105
|
-
rowResize: Boolean,
|
|
106
|
-
// 是否可视
|
|
107
|
-
visible: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: null
|
|
110
|
-
},
|
|
111
|
-
// 表头单元格数据导出方法
|
|
112
|
-
headerExportMethod: Function,
|
|
113
|
-
// 单元格数据导出方法
|
|
114
|
-
exportMethod: Function,
|
|
115
|
-
// 表尾单元格数据导出方法
|
|
116
|
-
footerExportMethod: Function,
|
|
117
|
-
// 已废弃,被 titlePrefix 替换
|
|
118
|
-
titleHelp: Object,
|
|
119
|
-
// 标题前缀图标配置项
|
|
120
|
-
titlePrefix: Object,
|
|
121
|
-
// 标题后缀图标配置项
|
|
122
|
-
titleSuffix: Object,
|
|
123
|
-
// 单元格值类型
|
|
124
|
-
cellType: String,
|
|
125
|
-
// 单元格渲染配置项
|
|
126
|
-
cellRender: Object,
|
|
127
|
-
// 单元格编辑渲染配置项
|
|
128
|
-
editRender: Object,
|
|
129
|
-
// 内容渲染配置项
|
|
130
|
-
contentRender: Object,
|
|
131
|
-
// 聚合函数
|
|
132
|
-
aggFunc: [Boolean, String],
|
|
133
|
-
// 将单元格复制到剪贴板
|
|
134
|
-
copyMethod: Function,
|
|
135
|
-
// 将剪贴单元格的值清除
|
|
136
|
-
cutMethod: Function,
|
|
137
|
-
// 从剪贴板赋值到单元格
|
|
138
|
-
pasteMethod: Function,
|
|
139
|
-
// 额外的参数
|
|
140
|
-
params: Object
|
|
68
|
+
default: null
|
|
69
|
+
},
|
|
70
|
+
// 是否允许排序
|
|
71
|
+
sortable: Boolean,
|
|
72
|
+
// 自定义排序的属性
|
|
73
|
+
sortBy: [String, Function],
|
|
74
|
+
// 排序的字段类型,比如字符串转数值等
|
|
75
|
+
sortType: String,
|
|
76
|
+
// 配置筛选条件数组
|
|
77
|
+
filters: {
|
|
78
|
+
type: Array,
|
|
79
|
+
default: null
|
|
80
|
+
},
|
|
81
|
+
// 筛选是否允许多选
|
|
82
|
+
filterMultiple: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: true
|
|
85
|
+
},
|
|
86
|
+
// 自定义筛选方法
|
|
87
|
+
filterMethod: Function,
|
|
88
|
+
// 筛选重置方法
|
|
89
|
+
filterResetMethod: Function,
|
|
90
|
+
// 筛选复原方法
|
|
91
|
+
filterRecoverMethod: Function,
|
|
92
|
+
// 筛选模板配置项
|
|
93
|
+
filterRender: Object,
|
|
94
|
+
// 是否显示浮动筛选
|
|
95
|
+
floatingFilters: Object,
|
|
96
|
+
// 列的校验规则
|
|
97
|
+
rules: Array,
|
|
98
|
+
// 设置为分组节点
|
|
99
|
+
rowGroupNode: Boolean,
|
|
100
|
+
// 设置为树节点
|
|
101
|
+
treeNode: Boolean,
|
|
102
|
+
// 设置为拖拽排序
|
|
103
|
+
dragSort: Boolean,
|
|
104
|
+
// 设置为行高拖拽
|
|
105
|
+
rowResize: Boolean,
|
|
106
|
+
// 是否可视
|
|
107
|
+
visible: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
default: null
|
|
110
|
+
},
|
|
111
|
+
// 表头单元格数据导出方法
|
|
112
|
+
headerExportMethod: Function,
|
|
113
|
+
// 单元格数据导出方法
|
|
114
|
+
exportMethod: Function,
|
|
115
|
+
// 表尾单元格数据导出方法
|
|
116
|
+
footerExportMethod: Function,
|
|
117
|
+
// 已废弃,被 titlePrefix 替换
|
|
118
|
+
titleHelp: Object,
|
|
119
|
+
// 标题前缀图标配置项
|
|
120
|
+
titlePrefix: Object,
|
|
121
|
+
// 标题后缀图标配置项
|
|
122
|
+
titleSuffix: Object,
|
|
123
|
+
// 单元格值类型
|
|
124
|
+
cellType: String,
|
|
125
|
+
// 单元格渲染配置项
|
|
126
|
+
cellRender: Object,
|
|
127
|
+
// 单元格编辑渲染配置项
|
|
128
|
+
editRender: Object,
|
|
129
|
+
// 内容渲染配置项
|
|
130
|
+
contentRender: Object,
|
|
131
|
+
// 聚合函数
|
|
132
|
+
aggFunc: [Boolean, String],
|
|
133
|
+
// 将单元格复制到剪贴板
|
|
134
|
+
copyMethod: Function,
|
|
135
|
+
// 将剪贴单元格的值清除
|
|
136
|
+
cutMethod: Function,
|
|
137
|
+
// 从剪贴板赋值到单元格
|
|
138
|
+
pasteMethod: Function,
|
|
139
|
+
// 额外的参数
|
|
140
|
+
params: Object
|
|
141
141
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
const columnConfig = Cell.createColumn($xeTable, props);
|
|
153
|
-
columnConfig.slots = slots;
|
|
154
|
-
const renderVN = () => {
|
|
155
|
-
return h('div', {
|
|
156
|
-
ref: refElem
|
|
157
|
-
});
|
|
158
|
-
};
|
|
159
|
-
const $xeColumn = {
|
|
160
|
-
columnConfig,
|
|
161
|
-
renderVN
|
|
162
|
-
};
|
|
163
|
-
watchColumn($xeTable, props, columnConfig);
|
|
164
|
-
onMounted(() => {
|
|
165
|
-
const elem = refElem.value;
|
|
166
|
-
if (elem) {
|
|
167
|
-
assembleColumn($xeTable, elem, columnConfig, $xeColgroup);
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
onUnmounted(() => {
|
|
171
|
-
destroyColumn($xeTable, columnConfig);
|
|
172
|
-
});
|
|
173
|
-
provide('$xeColumn', $xeColumn);
|
|
174
|
-
provide('$xeGrid', null);
|
|
175
|
-
provide('$xeGantt', null);
|
|
176
|
-
return renderVN;
|
|
142
|
+
var column_default = defineVxeComponent({
|
|
143
|
+
name: "VxeColumn",
|
|
144
|
+
props: columnProps,
|
|
145
|
+
setup(props, { slots }) {
|
|
146
|
+
const refElem = ref();
|
|
147
|
+
const $xeTable = inject("$xeTable", null);
|
|
148
|
+
const $xeColgroup = inject("$xeColgroup", null);
|
|
149
|
+
if (!$xeTable) {
|
|
150
|
+
return () => createCommentVNode();
|
|
177
151
|
}
|
|
152
|
+
const columnConfig = Cell.createColumn($xeTable, props);
|
|
153
|
+
columnConfig.slots = slots;
|
|
154
|
+
const renderVN = () => {
|
|
155
|
+
return h("div", {
|
|
156
|
+
ref: refElem
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
const $xeColumn = {
|
|
160
|
+
columnConfig,
|
|
161
|
+
renderVN
|
|
162
|
+
};
|
|
163
|
+
watchColumn($xeTable, props, columnConfig);
|
|
164
|
+
onMounted(() => {
|
|
165
|
+
const elem = refElem.value;
|
|
166
|
+
if (elem) {
|
|
167
|
+
assembleColumn($xeTable, elem, columnConfig, $xeColgroup);
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
onUnmounted(() => {
|
|
171
|
+
destroyColumn($xeTable, columnConfig);
|
|
172
|
+
});
|
|
173
|
+
provide("$xeColumn", $xeColumn);
|
|
174
|
+
provide("$xeGrid", null);
|
|
175
|
+
provide("$xeGantt", null);
|
|
176
|
+
return renderVN;
|
|
177
|
+
}
|
|
178
178
|
});
|
|
179
|
+
export {
|
|
180
|
+
columnProps,
|
|
181
|
+
column_default as default
|
|
182
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { VxeTableConstructor, VxeTablePrivateMethods, VxeColumnProps } from '../../../types';
|
|
2
|
+
export declare class ColumnInfo {
|
|
3
|
+
constructor($xeTable: VxeTableConstructor & VxeTablePrivateMethods, colConfs: VxeColumnProps & {
|
|
4
|
+
renderHeader?: any;
|
|
5
|
+
renderCell?: any;
|
|
6
|
+
renderFooter?: any;
|
|
7
|
+
slots?: any;
|
|
8
|
+
}, { renderHeader, renderCell, renderFooter, renderData }?: any);
|
|
9
|
+
getTitle(): string;
|
|
10
|
+
getKey(): any;
|
|
11
|
+
update(name: string, value: any): void;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|