vxe-table 4.23.5 → 4.23.7
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/style.css +4501 -1
- package/es/style.mini.css +1 -0
- 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.1792979665397.ttf +0 -0
- package/lib/iconfont.1792979665397.woff +0 -0
- package/lib/iconfont.1792979665397.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.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.1792979665397.ttf} +0 -0
- /package/{es/iconfont.1792838769925.woff → dist/iconfont.1792979665397.woff} +0 -0
- /package/{es/iconfont.1792838769925.woff2 → dist/iconfont.1792979665397.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.1792979665397.ttf} +0 -0
- /package/{lib/iconfont.1792838769925.woff → es/iconfont.1792979665397.woff} +0 -0
- /package/{lib/iconfont.1792838769925.woff2 → es/iconfont.1792979665397.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
package/es/ui/index.js
CHANGED
|
@@ -1,320 +1,320 @@
|
|
|
1
|
-
import { VxeUI } from
|
|
2
|
-
import { getFuncText } from
|
|
3
|
-
|
|
1
|
+
import { VxeUI } from "@vxe-ui/core";
|
|
2
|
+
import { getFuncText } from "./src/utils";
|
|
3
|
+
const version = "4.23.7";
|
|
4
4
|
VxeUI.version = version;
|
|
5
5
|
VxeUI.tableVersion = version;
|
|
6
6
|
VxeUI.setConfig({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
7
|
+
emptyCell: " ",
|
|
8
|
+
table: {
|
|
9
|
+
fit: true,
|
|
10
|
+
showHeader: true,
|
|
11
|
+
animat: true,
|
|
12
|
+
delayHover: 250,
|
|
13
|
+
autoResize: true,
|
|
14
|
+
// minHeight: null,
|
|
15
|
+
// keepSource: false,
|
|
16
|
+
// showOverflow: null,
|
|
17
|
+
// showHeaderOverflow: null,
|
|
18
|
+
// showFooterOverflow: null,
|
|
19
|
+
// resizeInterval: 500,
|
|
20
|
+
// size: null,
|
|
21
|
+
// zIndex: null,
|
|
22
|
+
// stripe: false,
|
|
23
|
+
// border: false,
|
|
24
|
+
// round: false,
|
|
25
|
+
// emptyText: '暂无数据',
|
|
26
|
+
// emptyRender: {
|
|
27
|
+
// name: ''
|
|
28
|
+
// },
|
|
29
|
+
// rowConfig: {
|
|
30
|
+
// keyField: '_X_ROW_KEY' // 行数据的唯一主键字段名
|
|
31
|
+
// },
|
|
32
|
+
resizeConfig: {
|
|
33
|
+
// refreshDelay: 20
|
|
34
|
+
},
|
|
35
|
+
resizableConfig: {
|
|
36
|
+
dragMode: "auto",
|
|
37
|
+
showDragTip: true,
|
|
38
|
+
isSyncAutoHeight: true,
|
|
39
|
+
isSyncAutoWidth: true,
|
|
40
|
+
minHeight: 18
|
|
41
|
+
},
|
|
42
|
+
currentRowConfig: {
|
|
43
|
+
strict: true
|
|
44
|
+
},
|
|
45
|
+
currentColumnConfig: {
|
|
46
|
+
strict: true
|
|
47
|
+
},
|
|
48
|
+
radioConfig: {
|
|
49
|
+
// trigger: 'default'
|
|
50
|
+
strict: true
|
|
51
|
+
},
|
|
52
|
+
rowDragConfig: {
|
|
53
|
+
showIcon: true,
|
|
54
|
+
animation: true,
|
|
55
|
+
showGuidesStatus: true,
|
|
56
|
+
showDragTip: true
|
|
57
|
+
},
|
|
58
|
+
columnDragConfig: {
|
|
59
|
+
showIcon: true,
|
|
60
|
+
animation: true,
|
|
61
|
+
showGuidesStatus: true,
|
|
62
|
+
showDragTip: true
|
|
63
|
+
},
|
|
64
|
+
checkboxConfig: {
|
|
65
|
+
// trigger: 'default',
|
|
66
|
+
strict: true
|
|
67
|
+
},
|
|
68
|
+
tooltipConfig: {
|
|
69
|
+
mode: "tooltip",
|
|
70
|
+
enterable: true,
|
|
71
|
+
defaultPlacement: "top"
|
|
72
|
+
},
|
|
73
|
+
headerTooltipConfig: {
|
|
74
|
+
mode: "tooltip",
|
|
75
|
+
enterable: true
|
|
76
|
+
},
|
|
77
|
+
footerTooltipConfig: {
|
|
78
|
+
mode: "tooltip",
|
|
79
|
+
enterable: true
|
|
80
|
+
},
|
|
81
|
+
validConfig: {
|
|
82
|
+
showErrorMessage: true,
|
|
83
|
+
autoClear: true,
|
|
84
|
+
autoPos: true,
|
|
85
|
+
message: "inline",
|
|
86
|
+
msgMode: "single",
|
|
87
|
+
theme: "beautify"
|
|
88
|
+
},
|
|
89
|
+
columnConfig: {
|
|
90
|
+
autoOptions: {
|
|
91
|
+
isCalcHeader: true,
|
|
92
|
+
isCalcBody: true,
|
|
93
|
+
isCalcFooter: true
|
|
94
|
+
},
|
|
95
|
+
maxFixedSize: 4
|
|
96
|
+
},
|
|
97
|
+
cellConfig: {
|
|
98
|
+
padding: true
|
|
99
|
+
},
|
|
100
|
+
headerCellConfig: {
|
|
101
|
+
height: "unset"
|
|
102
|
+
},
|
|
103
|
+
footerCellConfig: {
|
|
104
|
+
height: "unset"
|
|
105
|
+
},
|
|
106
|
+
menuConfig: {
|
|
107
|
+
// visibleMethod () {},
|
|
108
|
+
// transfer: false,
|
|
109
|
+
destroyOnClose: true
|
|
110
|
+
},
|
|
111
|
+
customConfig: {
|
|
112
|
+
// enabled: false,
|
|
113
|
+
allowVisible: true,
|
|
114
|
+
allowResizable: true,
|
|
115
|
+
allowFixed: true,
|
|
116
|
+
allowSort: true,
|
|
117
|
+
allowAlign: true,
|
|
118
|
+
showSortDragButton: true,
|
|
119
|
+
showFooter: true,
|
|
120
|
+
placement: "top-right",
|
|
121
|
+
// storage: false,
|
|
122
|
+
storeOptions: {
|
|
123
|
+
visible: true,
|
|
124
|
+
resizable: true,
|
|
125
|
+
sort: true,
|
|
126
|
+
fixed: true,
|
|
127
|
+
align: true,
|
|
128
|
+
headerAlign: true,
|
|
129
|
+
footerAlign: true,
|
|
130
|
+
aggFunc: true
|
|
131
|
+
},
|
|
132
|
+
// autoAggGroupValues: false,
|
|
133
|
+
// checkMethod () {},
|
|
134
|
+
modalOptions: {
|
|
135
|
+
showMaximize: true,
|
|
136
|
+
mask: true,
|
|
137
|
+
lockView: true,
|
|
138
|
+
resize: true,
|
|
139
|
+
escClosable: true
|
|
140
|
+
},
|
|
141
|
+
drawerOptions: {
|
|
142
|
+
mask: true,
|
|
143
|
+
lockView: true,
|
|
144
|
+
escClosable: true,
|
|
145
|
+
resize: true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
sortConfig: {
|
|
149
|
+
// remote: false,
|
|
150
|
+
// trigger: 'default',
|
|
151
|
+
// orders: ['asc', 'desc', null],
|
|
152
|
+
// sortMethod: null,
|
|
153
|
+
showIcon: true,
|
|
154
|
+
allowClear: true,
|
|
155
|
+
allowBtn: true,
|
|
156
|
+
iconLayout: "vertical"
|
|
157
|
+
},
|
|
158
|
+
filterConfig: {
|
|
159
|
+
// remote: false,
|
|
160
|
+
// filterMethod: null,
|
|
161
|
+
// isEvery: false,
|
|
162
|
+
// transfer: false,
|
|
163
|
+
destroyOnClose: true,
|
|
164
|
+
multiple: true,
|
|
165
|
+
showIcon: true,
|
|
166
|
+
maxHeight: 320
|
|
167
|
+
},
|
|
168
|
+
floatingFilterConfig: {
|
|
169
|
+
// enabled: false
|
|
170
|
+
},
|
|
171
|
+
aggregateConfig: {
|
|
172
|
+
padding: true,
|
|
173
|
+
placement: "left",
|
|
174
|
+
rowField: "id",
|
|
175
|
+
parentField: "_X_ROW_PARENT_KEY",
|
|
176
|
+
childrenField: "_X_ROW_CHILDREN",
|
|
177
|
+
mapChildrenField: "_X_ROW_CHILD_LIST",
|
|
178
|
+
indent: 20,
|
|
179
|
+
showIcon: true,
|
|
180
|
+
maxGroupSize: 4,
|
|
181
|
+
showAggFuncTitle: true
|
|
182
|
+
},
|
|
183
|
+
treeConfig: {
|
|
184
|
+
padding: true,
|
|
185
|
+
rowField: "id",
|
|
186
|
+
parentField: "parentId",
|
|
187
|
+
childrenField: "children",
|
|
188
|
+
hasChildField: "hasChild",
|
|
189
|
+
mapChildrenField: "_X_ROW_CHILD",
|
|
190
|
+
indent: 20,
|
|
191
|
+
showIcon: true,
|
|
192
|
+
showRootLine: true
|
|
193
|
+
},
|
|
194
|
+
expandConfig: {
|
|
195
|
+
// trigger: 'default',
|
|
196
|
+
showIcon: true,
|
|
197
|
+
mode: "fixed"
|
|
198
|
+
},
|
|
199
|
+
editConfig: {
|
|
200
|
+
// mode: 'cell',
|
|
201
|
+
// cache: true,
|
|
202
|
+
showIcon: true,
|
|
203
|
+
showAsterisk: true,
|
|
204
|
+
autoFocus: true,
|
|
205
|
+
isReuseKeep: true
|
|
206
|
+
},
|
|
207
|
+
importConfig: {
|
|
208
|
+
_typeMaps: {
|
|
209
|
+
csv: 1,
|
|
210
|
+
html: 1,
|
|
211
|
+
xml: 1,
|
|
212
|
+
txt: 1
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
exportConfig: {
|
|
216
|
+
_typeMaps: {
|
|
217
|
+
csv: 1,
|
|
218
|
+
html: 1,
|
|
219
|
+
xml: 1,
|
|
220
|
+
txt: 1
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
printConfig: {},
|
|
224
|
+
mouseConfig: {
|
|
225
|
+
extension: true
|
|
226
|
+
},
|
|
227
|
+
keyboardConfig: {
|
|
228
|
+
isAll: true,
|
|
229
|
+
isEsc: true
|
|
230
|
+
},
|
|
231
|
+
areaConfig: {
|
|
232
|
+
autoClear: true,
|
|
233
|
+
selectCellByHeader: true,
|
|
234
|
+
selectCellByBody: true,
|
|
235
|
+
extendDirection: {
|
|
236
|
+
top: true,
|
|
237
|
+
left: true,
|
|
238
|
+
bottom: true,
|
|
239
|
+
right: true
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
clipConfig: {
|
|
243
|
+
isCopy: true,
|
|
244
|
+
isCut: true,
|
|
245
|
+
isPaste: true
|
|
246
|
+
},
|
|
247
|
+
fnrConfig: {
|
|
248
|
+
isFind: true,
|
|
249
|
+
isReplace: true
|
|
250
|
+
},
|
|
251
|
+
virtualXConfig: {
|
|
252
|
+
// enabled: false,
|
|
253
|
+
gt: 24,
|
|
254
|
+
preSize: 1,
|
|
255
|
+
oSize: 0
|
|
256
|
+
},
|
|
257
|
+
virtualYConfig: {
|
|
258
|
+
// enabled: false,
|
|
259
|
+
// mode: 'wheel',
|
|
260
|
+
gt: 100,
|
|
261
|
+
preSize: 1,
|
|
262
|
+
oSize: 0
|
|
263
|
+
},
|
|
264
|
+
scrollbarConfig: {
|
|
265
|
+
// xConfig: {
|
|
266
|
+
// // position: 'bottom',
|
|
267
|
+
// // visible: true
|
|
268
|
+
// },
|
|
269
|
+
// yConfig: {
|
|
270
|
+
// // position: 'right',
|
|
271
|
+
// // visible: true
|
|
272
|
+
// }
|
|
273
|
+
},
|
|
274
|
+
undoRedoHistoryConfig: {
|
|
275
|
+
stackSize: 50
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
grid: {
|
|
279
|
+
// size: null,
|
|
280
|
+
// zoomConfig: {
|
|
281
|
+
// escRestore: true
|
|
282
|
+
// },
|
|
283
|
+
formConfig: {
|
|
284
|
+
enabled: true
|
|
285
|
+
},
|
|
286
|
+
pagerConfig: {
|
|
287
|
+
enabled: true
|
|
288
|
+
// perfect: false
|
|
289
|
+
},
|
|
290
|
+
toolbarConfig: {
|
|
291
|
+
enabled: true
|
|
292
|
+
// perfect: false
|
|
293
|
+
},
|
|
294
|
+
proxyConfig: {
|
|
295
|
+
enabled: true,
|
|
296
|
+
autoLoad: true,
|
|
297
|
+
showLoading: true,
|
|
298
|
+
showResponseMsg: true,
|
|
299
|
+
showActionMsg: true,
|
|
300
|
+
response: {
|
|
301
|
+
list: "list",
|
|
302
|
+
result: "result",
|
|
303
|
+
total: "page.total",
|
|
304
|
+
footerData: "footerData",
|
|
305
|
+
message: "message"
|
|
306
|
+
}
|
|
307
|
+
// beforeItem: null,
|
|
308
|
+
// beforeColumn: null,
|
|
309
|
+
// beforeQuery: null,
|
|
310
|
+
// afterQuery: null,
|
|
311
|
+
// beforeDelete: null,
|
|
312
|
+
// afterDelete: null,
|
|
313
|
+
// beforeSave: null,
|
|
314
|
+
// afterSave: null
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
toolbar: {
|
|
318
318
|
// size: null,
|
|
319
319
|
// import: {
|
|
320
320
|
// mode: 'covering'
|
|
@@ -323,205 +323,161 @@ VxeUI.setConfig({
|
|
|
323
323
|
// types: ['csv', 'html', 'xml', 'txt']
|
|
324
324
|
// },
|
|
325
325
|
// buttons: []
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
},
|
|
327
|
+
gantt: {}
|
|
328
328
|
});
|
|
329
|
-
const iconPrefix =
|
|
329
|
+
const iconPrefix = "vxe-table-icon-";
|
|
330
330
|
VxeUI.setIcon({
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
331
|
+
// table
|
|
332
|
+
TABLE_SORT_ASC: iconPrefix + "caret-up",
|
|
333
|
+
TABLE_SORT_DESC: iconPrefix + "caret-down",
|
|
334
|
+
TABLE_FILTER_NONE: iconPrefix + "funnel",
|
|
335
|
+
TABLE_FILTER_MATCH: iconPrefix + "funnel",
|
|
336
|
+
TABLE_EDIT: iconPrefix + "edit",
|
|
337
|
+
TABLE_TITLE_PREFIX: iconPrefix + "question-circle-fill",
|
|
338
|
+
TABLE_TITLE_SUFFIX: iconPrefix + "question-circle-fill",
|
|
339
|
+
TABLE_TREE_LOADED: iconPrefix + "spinner roll",
|
|
340
|
+
TABLE_TREE_OPEN: iconPrefix + "caret-right rotate90",
|
|
341
|
+
TABLE_TREE_CLOSE: iconPrefix + "caret-right",
|
|
342
|
+
TABLE_EXPAND_LOADED: iconPrefix + "spinner roll",
|
|
343
|
+
TABLE_EXPAND_OPEN: iconPrefix + "arrow-right rotate90",
|
|
344
|
+
TABLE_EXPAND_CLOSE: iconPrefix + "arrow-right",
|
|
345
|
+
TABLE_CHECKBOX_CHECKED: iconPrefix + "checkbox-checked-fill",
|
|
346
|
+
TABLE_CHECKBOX_UNCHECKED: iconPrefix + "checkbox-unchecked",
|
|
347
|
+
TABLE_CHECKBOX_INDETERMINATE: iconPrefix + "checkbox-indeterminate-fill",
|
|
348
|
+
TABLE_CHECKBOX_DISABLED_UNCHECKED: iconPrefix + "checkbox-unchecked-fill",
|
|
349
|
+
TABLE_RADIO_CHECKED: iconPrefix + "radio-checked-fill",
|
|
350
|
+
TABLE_RADIO_UNCHECKED: iconPrefix + "radio-unchecked",
|
|
351
|
+
TABLE_RADIO_DISABLED_UNCHECKED: iconPrefix + "radio-unchecked-fill",
|
|
352
|
+
TABLE_CUSTOM_SORT: iconPrefix + "drag-handle",
|
|
353
|
+
TABLE_CUSTOM_FIXED_LEFT: iconPrefix + "fixed-left",
|
|
354
|
+
TABLE_CUSTOM_FIXED_RIGHT: iconPrefix + "fixed-right",
|
|
355
|
+
TABLE_CUSTOM_ALIGN_LEFT: iconPrefix + "align-left",
|
|
356
|
+
TABLE_CUSTOM_ALIGN_CENTER: iconPrefix + "align-center",
|
|
357
|
+
TABLE_CUSTOM_ALIGN_RIGHT: iconPrefix + "align-right",
|
|
358
|
+
TABLE_CUSTOM_MOVE_UP: iconPrefix + "arrows-up",
|
|
359
|
+
TABLE_CUSTOM_MOVE_DN: iconPrefix + "arrows-down",
|
|
360
|
+
TABLE_CUSTOM_PUT_TOP: iconPrefix + "top",
|
|
361
|
+
TABLE_CUSTOM_PUT_BOTTOM: iconPrefix + "bottom",
|
|
362
|
+
TABLE_MENU_OPTIONS: iconPrefix + "arrow-right",
|
|
363
|
+
TABLE_MENU_OPTION_LOADING: iconPrefix + "repeat roll",
|
|
364
|
+
TABLE_DRAG_ROW: iconPrefix + "drag-handle",
|
|
365
|
+
TABLE_DRAG_COLUMN: iconPrefix + "drag-handle",
|
|
366
|
+
TABLE_DRAG_STATUS_ROW: iconPrefix + "sort",
|
|
367
|
+
TABLE_DRAG_STATUS_SUB_ROW: iconPrefix + "add-sub",
|
|
368
|
+
TABLE_DRAG_STATUS_AGG_GROUP: iconPrefix + "grouping",
|
|
369
|
+
TABLE_DRAG_STATUS_AGG_VALUES: iconPrefix + "values",
|
|
370
|
+
TABLE_DRAG_STATUS_COLUMN: iconPrefix + "swap",
|
|
371
|
+
TABLE_DRAG_DISABLED: iconPrefix + "no-drop",
|
|
372
|
+
TABLE_ROW_GROUP_OPEN: iconPrefix + "arrow-right rotate90",
|
|
373
|
+
TABLE_ROW_GROUP_CLOSE: iconPrefix + "arrow-right",
|
|
374
|
+
TABLE_AGGREGATE_GROUPING: iconPrefix + "grouping",
|
|
375
|
+
TABLE_AGGREGATE_VALUES: iconPrefix + "values",
|
|
376
|
+
TABLE_AGGREGATE_SORT: iconPrefix + "drag-handle",
|
|
377
|
+
TABLE_AGGREGATE_DELETE: iconPrefix + "close",
|
|
378
|
+
// toolbar
|
|
379
|
+
TOOLBAR_TOOLS_REFRESH: iconPrefix + "repeat",
|
|
380
|
+
TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + "repeat roll",
|
|
381
|
+
TOOLBAR_TOOLS_IMPORT: iconPrefix + "upload",
|
|
382
|
+
TOOLBAR_TOOLS_EXPORT: iconPrefix + "download",
|
|
383
|
+
TOOLBAR_TOOLS_PRINT: iconPrefix + "print",
|
|
384
|
+
TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + "fullscreen",
|
|
385
|
+
TOOLBAR_TOOLS_MINIMIZE: iconPrefix + "minimize",
|
|
386
|
+
TOOLBAR_TOOLS_CUSTOM: iconPrefix + "setting",
|
|
387
|
+
TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix + "fixed-left",
|
|
388
|
+
TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE: iconPrefix + "fixed-left-fill",
|
|
389
|
+
TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + "fixed-right",
|
|
390
|
+
TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + "fixed-right-fill"
|
|
391
391
|
});
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
export const setConfig = VxeUI.setConfig;
|
|
395
|
-
export const getConfig = VxeUI.getConfig;
|
|
396
|
-
export const setIcon = VxeUI.setIcon;
|
|
397
|
-
export const getIcon = VxeUI.getIcon;
|
|
398
|
-
export const setLanguage = VxeUI.setLanguage;
|
|
399
|
-
export const setI18n = VxeUI.setI18n;
|
|
400
|
-
export const getI18n = VxeUI.getI18n;
|
|
401
|
-
export const globalEvents = VxeUI.globalEvents;
|
|
402
|
-
export const globalResize = VxeUI.globalResize;
|
|
403
|
-
export const renderer = VxeUI.renderer;
|
|
404
|
-
export const validators = VxeUI.validators;
|
|
405
|
-
export const menus = VxeUI.menus;
|
|
406
|
-
export const formats = VxeUI.formats;
|
|
407
|
-
export const commands = VxeUI.commands;
|
|
408
|
-
export const interceptor = VxeUI.interceptor;
|
|
409
|
-
export const clipboard = VxeUI.clipboard;
|
|
410
|
-
export const log = VxeUI.log;
|
|
411
|
-
export const hooks = VxeUI.hooks;
|
|
412
|
-
export const use = VxeUI.use;
|
|
413
|
-
/**
|
|
414
|
-
* 已废弃
|
|
415
|
-
* @deprecated
|
|
416
|
-
*/
|
|
417
|
-
export const setup = (options) => {
|
|
418
|
-
return VxeUI.setConfig(options);
|
|
392
|
+
const setup = (options) => {
|
|
393
|
+
return VxeUI.setConfig(options);
|
|
419
394
|
};
|
|
420
395
|
VxeUI.setup = setup;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
* @deprecated
|
|
424
|
-
*/
|
|
425
|
-
export const config = (options) => {
|
|
426
|
-
return VxeUI.setConfig(options);
|
|
396
|
+
const config = (options) => {
|
|
397
|
+
return VxeUI.setConfig(options);
|
|
427
398
|
};
|
|
428
399
|
VxeUI.config = config;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
* @deprecated
|
|
432
|
-
*/
|
|
433
|
-
export const t = (key, args) => {
|
|
434
|
-
return VxeUI.getI18n(key, args);
|
|
400
|
+
const t = (key, args) => {
|
|
401
|
+
return VxeUI.getI18n(key, args);
|
|
435
402
|
};
|
|
436
403
|
VxeUI.t = t;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
* @deprecated
|
|
440
|
-
*/
|
|
441
|
-
export const _t = (content, args) => {
|
|
442
|
-
return getFuncText(content, args);
|
|
404
|
+
const _t = (content, args) => {
|
|
405
|
+
return getFuncText(content, args);
|
|
443
406
|
};
|
|
444
407
|
VxeUI._t = _t;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
*/
|
|
449
|
-
export const VXETable = VxeUI;
|
|
450
|
-
/**
|
|
451
|
-
* 已废弃,兼容老版本
|
|
452
|
-
* @deprecated
|
|
453
|
-
*/
|
|
454
|
-
export const saveFile = (options) => {
|
|
455
|
-
return VxeUI.saveFile(options);
|
|
408
|
+
const VXETable = VxeUI;
|
|
409
|
+
const saveFile = (options) => {
|
|
410
|
+
return VxeUI.saveFile(options);
|
|
456
411
|
};
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
* @deprecated
|
|
460
|
-
*/
|
|
461
|
-
export const readFile = (options) => {
|
|
462
|
-
return VxeUI.readFile(options);
|
|
412
|
+
const readFile = (options) => {
|
|
413
|
+
return VxeUI.readFile(options);
|
|
463
414
|
};
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
* @deprecated
|
|
467
|
-
*/
|
|
468
|
-
export const print = (options) => {
|
|
469
|
-
return VxeUI.print(options);
|
|
415
|
+
const print = (options) => {
|
|
416
|
+
return VxeUI.print(options);
|
|
470
417
|
};
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
418
|
+
const modal = {
|
|
419
|
+
/**
|
|
420
|
+
* 已废弃,兼容老版本
|
|
421
|
+
* @deprecated
|
|
422
|
+
*/
|
|
423
|
+
get(id) {
|
|
424
|
+
return VxeUI.modal.get(id);
|
|
425
|
+
},
|
|
426
|
+
/**
|
|
427
|
+
* 已废弃,兼容老版本
|
|
428
|
+
* @deprecated
|
|
429
|
+
*/
|
|
430
|
+
close(id) {
|
|
431
|
+
return VxeUI.modal.close(id);
|
|
432
|
+
},
|
|
433
|
+
/**
|
|
434
|
+
* 已废弃,兼容老版本
|
|
435
|
+
* @deprecated
|
|
436
|
+
*/
|
|
437
|
+
open(options) {
|
|
438
|
+
return VxeUI.modal.open(options);
|
|
439
|
+
},
|
|
440
|
+
/**
|
|
441
|
+
* 已废弃,兼容老版本
|
|
442
|
+
* @deprecated
|
|
443
|
+
*/
|
|
444
|
+
alert(content, title, options) {
|
|
445
|
+
return VxeUI.modal.alert(content, title, options);
|
|
446
|
+
},
|
|
447
|
+
/**
|
|
448
|
+
* 已废弃,兼容老版本
|
|
449
|
+
* @deprecated
|
|
450
|
+
*/
|
|
451
|
+
confirm(content, title, options) {
|
|
452
|
+
return VxeUI.modal.confirm(content, title, options);
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
* 已废弃,兼容老版本
|
|
456
|
+
* @deprecated
|
|
457
|
+
*/
|
|
458
|
+
message(content, options) {
|
|
459
|
+
return VxeUI.modal.message(content, options);
|
|
460
|
+
},
|
|
461
|
+
/**
|
|
462
|
+
* 已废弃,兼容老版本
|
|
463
|
+
* @deprecated
|
|
464
|
+
*/
|
|
465
|
+
notification(content, title, options) {
|
|
466
|
+
return VxeUI.modal.notification(content, title, options);
|
|
467
|
+
}
|
|
468
|
+
};
|
|
469
|
+
export * from "@vxe-ui/core";
|
|
470
|
+
var ui_default = VxeUI;
|
|
471
|
+
export {
|
|
472
|
+
VXETable,
|
|
473
|
+
_t,
|
|
474
|
+
config,
|
|
475
|
+
ui_default as default,
|
|
476
|
+
modal,
|
|
477
|
+
print,
|
|
478
|
+
readFile,
|
|
479
|
+
saveFile,
|
|
480
|
+
setup,
|
|
481
|
+
t,
|
|
482
|
+
version
|
|
525
483
|
};
|
|
526
|
-
export { VxeUI };
|
|
527
|
-
export default VxeUI;
|