vxe-table 4.23.4 → 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 +32459 -33908
- 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 +14064 -15041
- 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 +30586 -24322
- 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 +250 -620
- 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 -1019
- 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/table/module/edit/hook.ts +2 -2
- package/packages/table/src/table.ts +64 -28
- 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.1792740941484.ttf → dist/iconfont.1792977622800.ttf} +0 -0
- /package/{es/iconfont.1792740941484.woff → dist/iconfont.1792977622800.woff} +0 -0
- /package/{es/iconfont.1792740941484.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.1792740941484.ttf → es/iconfont.1792977622800.ttf} +0 -0
- /package/{lib/iconfont.1792740941484.woff → es/iconfont.1792977622800.woff} +0 -0
- /package/{lib/iconfont.1792740941484.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
|
@@ -1 +1 @@
|
|
|
1
|
-
require('./style.css')
|
|
1
|
+
require('./style.css')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;row-gap:.5em;padding:.5em 0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);background-color:var(--vxe-ui-layout-background-color)}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid var(--vxe-ui-table-border-color);border-bottom-width:0;background-color:var(--vxe-ui-table-header-background-color)}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--
|
|
1
|
+
.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;row-gap:.5em;padding:.5em 0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);background-color:var(--vxe-ui-layout-background-color)}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid var(--vxe-ui-table-border-color);border-bottom-width:0;background-color:var(--vxe-ui-table-header-background-color)}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--wrapper,.vxe-toolbar .vxe-tools--operate{display:flex;align-items:center}.vxe-toolbar .vxe-tools--operate{flex-shrink:0}.vxe-toolbar .vxe-custom--wrapper{position:relative}.vxe-toolbar .vxe-custom--wrapper.is--active>.vxe-button{background-color:var(--vxe-ui-toolbar-custom-active-background-color);border-radius:50%}.vxe-toolbar .vxe-button--item-wrapper,.vxe-toolbar .vxe-tool--item-wrapper{flex-grow:1}.vxe-toolbar .vxe-button--prefix-wrapper,.vxe-toolbar .vxe-button--suffix-wrapper,.vxe-toolbar .vxe-tool--prefix-wrapper,.vxe-toolbar .vxe-tool--suffix-wrapper{flex-shrink:0}.vxe-toolbar .vxe-button--item-wrapper,.vxe-toolbar .vxe-tool--item-wrapper,.vxe-toolbar .vxe-button--prefix-wrapper,.vxe-toolbar .vxe-button--suffix-wrapper,.vxe-toolbar .vxe-tool--prefix-wrapper,.vxe-toolbar .vxe-tool--suffix-wrapper{display:flex;align-items:center;flex-wrap:wrap}.vxe-toolbar{font-size:var(--vxe-ui-font-size-default);min-height:var(--vxe-ui-toolbar-height-default)}.vxe-toolbar.size--medium{font-size:var(--vxe-ui-font-size-medium);min-height:var(--vxe-ui-toolbar-height-medium)}.vxe-toolbar.size--small{font-size:var(--vxe-ui-font-size-small);min-height:var(--vxe-ui-toolbar-height-small)}.vxe-toolbar.size--mini{font-size:var(--vxe-ui-font-size-mini);min-height:var(--vxe-ui-toolbar-height-mini)}
|
package/lib/ui/index.js
CHANGED
|
@@ -1,23 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
15
|
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var ui_exports = {};
|
|
21
|
+
__export(ui_exports, {
|
|
22
|
+
VXETable: () => VXETable,
|
|
23
|
+
_t: () => _t,
|
|
24
|
+
config: () => config,
|
|
25
|
+
default: () => ui_default,
|
|
26
|
+
modal: () => modal,
|
|
27
|
+
print: () => print,
|
|
28
|
+
readFile: () => readFile,
|
|
29
|
+
saveFile: () => saveFile,
|
|
30
|
+
setup: () => setup,
|
|
31
|
+
t: () => t,
|
|
32
|
+
version: () => version
|
|
12
33
|
});
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
34
|
+
module.exports = __toCommonJS(ui_exports);
|
|
35
|
+
var import_core = require("@vxe-ui/core");
|
|
36
|
+
var import_utils = require("./src/utils");
|
|
37
|
+
__reExport(ui_exports, require("@vxe-ui/core"), module.exports);
|
|
38
|
+
const version = "4.23.6";
|
|
39
|
+
import_core.VxeUI.version = version;
|
|
40
|
+
import_core.VxeUI.tableVersion = version;
|
|
41
|
+
import_core.VxeUI.setConfig({
|
|
42
|
+
emptyCell: " ",
|
|
21
43
|
table: {
|
|
22
44
|
fit: true,
|
|
23
45
|
showHeader: true,
|
|
@@ -46,7 +68,7 @@ _core.VxeUI.setConfig({
|
|
|
46
68
|
// refreshDelay: 20
|
|
47
69
|
},
|
|
48
70
|
resizableConfig: {
|
|
49
|
-
dragMode:
|
|
71
|
+
dragMode: "auto",
|
|
50
72
|
showDragTip: true,
|
|
51
73
|
isSyncAutoHeight: true,
|
|
52
74
|
isSyncAutoWidth: true,
|
|
@@ -79,25 +101,25 @@ _core.VxeUI.setConfig({
|
|
|
79
101
|
strict: true
|
|
80
102
|
},
|
|
81
103
|
tooltipConfig: {
|
|
82
|
-
mode:
|
|
104
|
+
mode: "tooltip",
|
|
83
105
|
enterable: true,
|
|
84
|
-
defaultPlacement:
|
|
106
|
+
defaultPlacement: "top"
|
|
85
107
|
},
|
|
86
108
|
headerTooltipConfig: {
|
|
87
|
-
mode:
|
|
109
|
+
mode: "tooltip",
|
|
88
110
|
enterable: true
|
|
89
111
|
},
|
|
90
112
|
footerTooltipConfig: {
|
|
91
|
-
mode:
|
|
113
|
+
mode: "tooltip",
|
|
92
114
|
enterable: true
|
|
93
115
|
},
|
|
94
116
|
validConfig: {
|
|
95
117
|
showErrorMessage: true,
|
|
96
118
|
autoClear: true,
|
|
97
119
|
autoPos: true,
|
|
98
|
-
message:
|
|
99
|
-
msgMode:
|
|
100
|
-
theme:
|
|
120
|
+
message: "inline",
|
|
121
|
+
msgMode: "single",
|
|
122
|
+
theme: "beautify"
|
|
101
123
|
},
|
|
102
124
|
columnConfig: {
|
|
103
125
|
autoOptions: {
|
|
@@ -111,10 +133,10 @@ _core.VxeUI.setConfig({
|
|
|
111
133
|
padding: true
|
|
112
134
|
},
|
|
113
135
|
headerCellConfig: {
|
|
114
|
-
height:
|
|
136
|
+
height: "unset"
|
|
115
137
|
},
|
|
116
138
|
footerCellConfig: {
|
|
117
|
-
height:
|
|
139
|
+
height: "unset"
|
|
118
140
|
},
|
|
119
141
|
menuConfig: {
|
|
120
142
|
// visibleMethod () {},
|
|
@@ -130,7 +152,7 @@ _core.VxeUI.setConfig({
|
|
|
130
152
|
allowAlign: true,
|
|
131
153
|
showSortDragButton: true,
|
|
132
154
|
showFooter: true,
|
|
133
|
-
placement:
|
|
155
|
+
placement: "top-right",
|
|
134
156
|
// storage: false,
|
|
135
157
|
storeOptions: {
|
|
136
158
|
visible: true,
|
|
@@ -166,7 +188,7 @@ _core.VxeUI.setConfig({
|
|
|
166
188
|
showIcon: true,
|
|
167
189
|
allowClear: true,
|
|
168
190
|
allowBtn: true,
|
|
169
|
-
iconLayout:
|
|
191
|
+
iconLayout: "vertical"
|
|
170
192
|
},
|
|
171
193
|
filterConfig: {
|
|
172
194
|
// remote: false,
|
|
@@ -183,11 +205,11 @@ _core.VxeUI.setConfig({
|
|
|
183
205
|
},
|
|
184
206
|
aggregateConfig: {
|
|
185
207
|
padding: true,
|
|
186
|
-
placement:
|
|
187
|
-
rowField:
|
|
188
|
-
parentField:
|
|
189
|
-
childrenField:
|
|
190
|
-
mapChildrenField:
|
|
208
|
+
placement: "left",
|
|
209
|
+
rowField: "id",
|
|
210
|
+
parentField: "_X_ROW_PARENT_KEY",
|
|
211
|
+
childrenField: "_X_ROW_CHILDREN",
|
|
212
|
+
mapChildrenField: "_X_ROW_CHILD_LIST",
|
|
191
213
|
indent: 20,
|
|
192
214
|
showIcon: true,
|
|
193
215
|
maxGroupSize: 4,
|
|
@@ -195,11 +217,11 @@ _core.VxeUI.setConfig({
|
|
|
195
217
|
},
|
|
196
218
|
treeConfig: {
|
|
197
219
|
padding: true,
|
|
198
|
-
rowField:
|
|
199
|
-
parentField:
|
|
200
|
-
childrenField:
|
|
201
|
-
hasChildField:
|
|
202
|
-
mapChildrenField:
|
|
220
|
+
rowField: "id",
|
|
221
|
+
parentField: "parentId",
|
|
222
|
+
childrenField: "children",
|
|
223
|
+
hasChildField: "hasChild",
|
|
224
|
+
mapChildrenField: "_X_ROW_CHILD",
|
|
203
225
|
indent: 20,
|
|
204
226
|
showIcon: true,
|
|
205
227
|
showRootLine: true
|
|
@@ -207,7 +229,7 @@ _core.VxeUI.setConfig({
|
|
|
207
229
|
expandConfig: {
|
|
208
230
|
// trigger: 'default',
|
|
209
231
|
showIcon: true,
|
|
210
|
-
mode:
|
|
232
|
+
mode: "fixed"
|
|
211
233
|
},
|
|
212
234
|
editConfig: {
|
|
213
235
|
// mode: 'cell',
|
|
@@ -311,11 +333,11 @@ _core.VxeUI.setConfig({
|
|
|
311
333
|
showResponseMsg: true,
|
|
312
334
|
showActionMsg: true,
|
|
313
335
|
response: {
|
|
314
|
-
list:
|
|
315
|
-
result:
|
|
316
|
-
total:
|
|
317
|
-
footerData:
|
|
318
|
-
message:
|
|
336
|
+
list: "list",
|
|
337
|
+
result: "result",
|
|
338
|
+
total: "page.total",
|
|
339
|
+
footerData: "footerData",
|
|
340
|
+
message: "message"
|
|
319
341
|
}
|
|
320
342
|
// beforeItem: null,
|
|
321
343
|
// beforeColumn: null,
|
|
@@ -339,208 +361,144 @@ _core.VxeUI.setConfig({
|
|
|
339
361
|
},
|
|
340
362
|
gantt: {}
|
|
341
363
|
});
|
|
342
|
-
const iconPrefix =
|
|
343
|
-
|
|
364
|
+
const iconPrefix = "vxe-table-icon-";
|
|
365
|
+
import_core.VxeUI.setIcon({
|
|
344
366
|
// table
|
|
345
|
-
TABLE_SORT_ASC: iconPrefix +
|
|
346
|
-
TABLE_SORT_DESC: iconPrefix +
|
|
347
|
-
TABLE_FILTER_NONE: iconPrefix +
|
|
348
|
-
TABLE_FILTER_MATCH: iconPrefix +
|
|
349
|
-
TABLE_EDIT: iconPrefix +
|
|
350
|
-
TABLE_TITLE_PREFIX: iconPrefix +
|
|
351
|
-
TABLE_TITLE_SUFFIX: iconPrefix +
|
|
352
|
-
TABLE_TREE_LOADED: iconPrefix +
|
|
353
|
-
TABLE_TREE_OPEN: iconPrefix +
|
|
354
|
-
TABLE_TREE_CLOSE: iconPrefix +
|
|
355
|
-
TABLE_EXPAND_LOADED: iconPrefix +
|
|
356
|
-
TABLE_EXPAND_OPEN: iconPrefix +
|
|
357
|
-
TABLE_EXPAND_CLOSE: iconPrefix +
|
|
358
|
-
TABLE_CHECKBOX_CHECKED: iconPrefix +
|
|
359
|
-
TABLE_CHECKBOX_UNCHECKED: iconPrefix +
|
|
360
|
-
TABLE_CHECKBOX_INDETERMINATE: iconPrefix +
|
|
361
|
-
TABLE_CHECKBOX_DISABLED_UNCHECKED: iconPrefix +
|
|
362
|
-
TABLE_RADIO_CHECKED: iconPrefix +
|
|
363
|
-
TABLE_RADIO_UNCHECKED: iconPrefix +
|
|
364
|
-
TABLE_RADIO_DISABLED_UNCHECKED: iconPrefix +
|
|
365
|
-
TABLE_CUSTOM_SORT: iconPrefix +
|
|
366
|
-
TABLE_CUSTOM_FIXED_LEFT: iconPrefix +
|
|
367
|
-
TABLE_CUSTOM_FIXED_RIGHT: iconPrefix +
|
|
368
|
-
TABLE_CUSTOM_ALIGN_LEFT: iconPrefix +
|
|
369
|
-
TABLE_CUSTOM_ALIGN_CENTER: iconPrefix +
|
|
370
|
-
TABLE_CUSTOM_ALIGN_RIGHT: iconPrefix +
|
|
371
|
-
TABLE_CUSTOM_MOVE_UP: iconPrefix +
|
|
372
|
-
TABLE_CUSTOM_MOVE_DN: iconPrefix +
|
|
373
|
-
TABLE_CUSTOM_PUT_TOP: iconPrefix +
|
|
374
|
-
TABLE_CUSTOM_PUT_BOTTOM: iconPrefix +
|
|
375
|
-
TABLE_MENU_OPTIONS: iconPrefix +
|
|
376
|
-
TABLE_MENU_OPTION_LOADING: iconPrefix +
|
|
377
|
-
TABLE_DRAG_ROW: iconPrefix +
|
|
378
|
-
TABLE_DRAG_COLUMN: iconPrefix +
|
|
379
|
-
TABLE_DRAG_STATUS_ROW: iconPrefix +
|
|
380
|
-
TABLE_DRAG_STATUS_SUB_ROW: iconPrefix +
|
|
381
|
-
TABLE_DRAG_STATUS_AGG_GROUP: iconPrefix +
|
|
382
|
-
TABLE_DRAG_STATUS_AGG_VALUES: iconPrefix +
|
|
383
|
-
TABLE_DRAG_STATUS_COLUMN: iconPrefix +
|
|
384
|
-
TABLE_DRAG_DISABLED: iconPrefix +
|
|
385
|
-
TABLE_ROW_GROUP_OPEN: iconPrefix +
|
|
386
|
-
TABLE_ROW_GROUP_CLOSE: iconPrefix +
|
|
387
|
-
TABLE_AGGREGATE_GROUPING: iconPrefix +
|
|
388
|
-
TABLE_AGGREGATE_VALUES: iconPrefix +
|
|
389
|
-
TABLE_AGGREGATE_SORT: iconPrefix +
|
|
390
|
-
TABLE_AGGREGATE_DELETE: iconPrefix +
|
|
367
|
+
TABLE_SORT_ASC: iconPrefix + "caret-up",
|
|
368
|
+
TABLE_SORT_DESC: iconPrefix + "caret-down",
|
|
369
|
+
TABLE_FILTER_NONE: iconPrefix + "funnel",
|
|
370
|
+
TABLE_FILTER_MATCH: iconPrefix + "funnel",
|
|
371
|
+
TABLE_EDIT: iconPrefix + "edit",
|
|
372
|
+
TABLE_TITLE_PREFIX: iconPrefix + "question-circle-fill",
|
|
373
|
+
TABLE_TITLE_SUFFIX: iconPrefix + "question-circle-fill",
|
|
374
|
+
TABLE_TREE_LOADED: iconPrefix + "spinner roll",
|
|
375
|
+
TABLE_TREE_OPEN: iconPrefix + "caret-right rotate90",
|
|
376
|
+
TABLE_TREE_CLOSE: iconPrefix + "caret-right",
|
|
377
|
+
TABLE_EXPAND_LOADED: iconPrefix + "spinner roll",
|
|
378
|
+
TABLE_EXPAND_OPEN: iconPrefix + "arrow-right rotate90",
|
|
379
|
+
TABLE_EXPAND_CLOSE: iconPrefix + "arrow-right",
|
|
380
|
+
TABLE_CHECKBOX_CHECKED: iconPrefix + "checkbox-checked-fill",
|
|
381
|
+
TABLE_CHECKBOX_UNCHECKED: iconPrefix + "checkbox-unchecked",
|
|
382
|
+
TABLE_CHECKBOX_INDETERMINATE: iconPrefix + "checkbox-indeterminate-fill",
|
|
383
|
+
TABLE_CHECKBOX_DISABLED_UNCHECKED: iconPrefix + "checkbox-unchecked-fill",
|
|
384
|
+
TABLE_RADIO_CHECKED: iconPrefix + "radio-checked-fill",
|
|
385
|
+
TABLE_RADIO_UNCHECKED: iconPrefix + "radio-unchecked",
|
|
386
|
+
TABLE_RADIO_DISABLED_UNCHECKED: iconPrefix + "radio-unchecked-fill",
|
|
387
|
+
TABLE_CUSTOM_SORT: iconPrefix + "drag-handle",
|
|
388
|
+
TABLE_CUSTOM_FIXED_LEFT: iconPrefix + "fixed-left",
|
|
389
|
+
TABLE_CUSTOM_FIXED_RIGHT: iconPrefix + "fixed-right",
|
|
390
|
+
TABLE_CUSTOM_ALIGN_LEFT: iconPrefix + "align-left",
|
|
391
|
+
TABLE_CUSTOM_ALIGN_CENTER: iconPrefix + "align-center",
|
|
392
|
+
TABLE_CUSTOM_ALIGN_RIGHT: iconPrefix + "align-right",
|
|
393
|
+
TABLE_CUSTOM_MOVE_UP: iconPrefix + "arrows-up",
|
|
394
|
+
TABLE_CUSTOM_MOVE_DN: iconPrefix + "arrows-down",
|
|
395
|
+
TABLE_CUSTOM_PUT_TOP: iconPrefix + "top",
|
|
396
|
+
TABLE_CUSTOM_PUT_BOTTOM: iconPrefix + "bottom",
|
|
397
|
+
TABLE_MENU_OPTIONS: iconPrefix + "arrow-right",
|
|
398
|
+
TABLE_MENU_OPTION_LOADING: iconPrefix + "repeat roll",
|
|
399
|
+
TABLE_DRAG_ROW: iconPrefix + "drag-handle",
|
|
400
|
+
TABLE_DRAG_COLUMN: iconPrefix + "drag-handle",
|
|
401
|
+
TABLE_DRAG_STATUS_ROW: iconPrefix + "sort",
|
|
402
|
+
TABLE_DRAG_STATUS_SUB_ROW: iconPrefix + "add-sub",
|
|
403
|
+
TABLE_DRAG_STATUS_AGG_GROUP: iconPrefix + "grouping",
|
|
404
|
+
TABLE_DRAG_STATUS_AGG_VALUES: iconPrefix + "values",
|
|
405
|
+
TABLE_DRAG_STATUS_COLUMN: iconPrefix + "swap",
|
|
406
|
+
TABLE_DRAG_DISABLED: iconPrefix + "no-drop",
|
|
407
|
+
TABLE_ROW_GROUP_OPEN: iconPrefix + "arrow-right rotate90",
|
|
408
|
+
TABLE_ROW_GROUP_CLOSE: iconPrefix + "arrow-right",
|
|
409
|
+
TABLE_AGGREGATE_GROUPING: iconPrefix + "grouping",
|
|
410
|
+
TABLE_AGGREGATE_VALUES: iconPrefix + "values",
|
|
411
|
+
TABLE_AGGREGATE_SORT: iconPrefix + "drag-handle",
|
|
412
|
+
TABLE_AGGREGATE_DELETE: iconPrefix + "close",
|
|
391
413
|
// toolbar
|
|
392
|
-
TOOLBAR_TOOLS_REFRESH: iconPrefix +
|
|
393
|
-
TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix +
|
|
394
|
-
TOOLBAR_TOOLS_IMPORT: iconPrefix +
|
|
395
|
-
TOOLBAR_TOOLS_EXPORT: iconPrefix +
|
|
396
|
-
TOOLBAR_TOOLS_PRINT: iconPrefix +
|
|
397
|
-
TOOLBAR_TOOLS_FULLSCREEN: iconPrefix +
|
|
398
|
-
TOOLBAR_TOOLS_MINIMIZE: iconPrefix +
|
|
399
|
-
TOOLBAR_TOOLS_CUSTOM: iconPrefix +
|
|
400
|
-
TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix +
|
|
401
|
-
TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE: iconPrefix +
|
|
402
|
-
TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix +
|
|
403
|
-
TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix +
|
|
414
|
+
TOOLBAR_TOOLS_REFRESH: iconPrefix + "repeat",
|
|
415
|
+
TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + "repeat roll",
|
|
416
|
+
TOOLBAR_TOOLS_IMPORT: iconPrefix + "upload",
|
|
417
|
+
TOOLBAR_TOOLS_EXPORT: iconPrefix + "download",
|
|
418
|
+
TOOLBAR_TOOLS_PRINT: iconPrefix + "print",
|
|
419
|
+
TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + "fullscreen",
|
|
420
|
+
TOOLBAR_TOOLS_MINIMIZE: iconPrefix + "minimize",
|
|
421
|
+
TOOLBAR_TOOLS_CUSTOM: iconPrefix + "setting",
|
|
422
|
+
TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix + "fixed-left",
|
|
423
|
+
TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE: iconPrefix + "fixed-left-fill",
|
|
424
|
+
TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + "fixed-right",
|
|
425
|
+
TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: iconPrefix + "fixed-right-fill"
|
|
404
426
|
});
|
|
405
|
-
const
|
|
406
|
-
|
|
407
|
-
const setConfig = exports.setConfig = _core.VxeUI.setConfig;
|
|
408
|
-
const getConfig = exports.getConfig = _core.VxeUI.getConfig;
|
|
409
|
-
const setIcon = exports.setIcon = _core.VxeUI.setIcon;
|
|
410
|
-
const getIcon = exports.getIcon = _core.VxeUI.getIcon;
|
|
411
|
-
const setLanguage = exports.setLanguage = _core.VxeUI.setLanguage;
|
|
412
|
-
const setI18n = exports.setI18n = _core.VxeUI.setI18n;
|
|
413
|
-
const getI18n = exports.getI18n = _core.VxeUI.getI18n;
|
|
414
|
-
const globalEvents = exports.globalEvents = _core.VxeUI.globalEvents;
|
|
415
|
-
const globalResize = exports.globalResize = _core.VxeUI.globalResize;
|
|
416
|
-
const renderer = exports.renderer = _core.VxeUI.renderer;
|
|
417
|
-
const validators = exports.validators = _core.VxeUI.validators;
|
|
418
|
-
const menus = exports.menus = _core.VxeUI.menus;
|
|
419
|
-
const formats = exports.formats = _core.VxeUI.formats;
|
|
420
|
-
const commands = exports.commands = _core.VxeUI.commands;
|
|
421
|
-
const interceptor = exports.interceptor = _core.VxeUI.interceptor;
|
|
422
|
-
const clipboard = exports.clipboard = _core.VxeUI.clipboard;
|
|
423
|
-
const log = exports.log = _core.VxeUI.log;
|
|
424
|
-
const hooks = exports.hooks = _core.VxeUI.hooks;
|
|
425
|
-
const use = exports.use = _core.VxeUI.use;
|
|
426
|
-
/**
|
|
427
|
-
* 已废弃
|
|
428
|
-
* @deprecated
|
|
429
|
-
*/
|
|
430
|
-
const setup = options => {
|
|
431
|
-
return _core.VxeUI.setConfig(options);
|
|
427
|
+
const setup = (options) => {
|
|
428
|
+
return import_core.VxeUI.setConfig(options);
|
|
432
429
|
};
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
* 已废弃
|
|
437
|
-
* @deprecated
|
|
438
|
-
*/
|
|
439
|
-
const config = options => {
|
|
440
|
-
return _core.VxeUI.setConfig(options);
|
|
430
|
+
import_core.VxeUI.setup = setup;
|
|
431
|
+
const config = (options) => {
|
|
432
|
+
return import_core.VxeUI.setConfig(options);
|
|
441
433
|
};
|
|
442
|
-
|
|
443
|
-
_core.VxeUI.config = config;
|
|
444
|
-
/**
|
|
445
|
-
* 已废弃
|
|
446
|
-
* @deprecated
|
|
447
|
-
*/
|
|
434
|
+
import_core.VxeUI.config = config;
|
|
448
435
|
const t = (key, args) => {
|
|
449
|
-
return
|
|
436
|
+
return import_core.VxeUI.getI18n(key, args);
|
|
450
437
|
};
|
|
451
|
-
|
|
452
|
-
_core.VxeUI.t = t;
|
|
453
|
-
/**
|
|
454
|
-
* 已废弃
|
|
455
|
-
* @deprecated
|
|
456
|
-
*/
|
|
438
|
+
import_core.VxeUI.t = t;
|
|
457
439
|
const _t = (content, args) => {
|
|
458
|
-
return (0,
|
|
440
|
+
return (0, import_utils.getFuncText)(content, args);
|
|
459
441
|
};
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
* @deprecated
|
|
465
|
-
*/
|
|
466
|
-
const VXETable = exports.VXETable = _core.VxeUI;
|
|
467
|
-
/**
|
|
468
|
-
* 已废弃,兼容老版本
|
|
469
|
-
* @deprecated
|
|
470
|
-
*/
|
|
471
|
-
const saveFile = options => {
|
|
472
|
-
return _core.VxeUI.saveFile(options);
|
|
442
|
+
import_core.VxeUI._t = _t;
|
|
443
|
+
const VXETable = import_core.VxeUI;
|
|
444
|
+
const saveFile = (options) => {
|
|
445
|
+
return import_core.VxeUI.saveFile(options);
|
|
473
446
|
};
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
* @deprecated
|
|
477
|
-
*/
|
|
478
|
-
exports.saveFile = saveFile;
|
|
479
|
-
const readFile = options => {
|
|
480
|
-
return _core.VxeUI.readFile(options);
|
|
447
|
+
const readFile = (options) => {
|
|
448
|
+
return import_core.VxeUI.readFile(options);
|
|
481
449
|
};
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
* @deprecated
|
|
485
|
-
*/
|
|
486
|
-
exports.readFile = readFile;
|
|
487
|
-
const print = options => {
|
|
488
|
-
return _core.VxeUI.print(options);
|
|
450
|
+
const print = (options) => {
|
|
451
|
+
return import_core.VxeUI.print(options);
|
|
489
452
|
};
|
|
490
|
-
|
|
491
|
-
* 已废弃,兼容老版本
|
|
492
|
-
* @deprecated
|
|
493
|
-
*/
|
|
494
|
-
exports.print = print;
|
|
495
|
-
const modal = exports.modal = {
|
|
453
|
+
const modal = {
|
|
496
454
|
/**
|
|
497
455
|
* 已废弃,兼容老版本
|
|
498
456
|
* @deprecated
|
|
499
457
|
*/
|
|
500
458
|
get(id) {
|
|
501
|
-
return
|
|
459
|
+
return import_core.VxeUI.modal.get(id);
|
|
502
460
|
},
|
|
503
461
|
/**
|
|
504
462
|
* 已废弃,兼容老版本
|
|
505
463
|
* @deprecated
|
|
506
464
|
*/
|
|
507
465
|
close(id) {
|
|
508
|
-
return
|
|
466
|
+
return import_core.VxeUI.modal.close(id);
|
|
509
467
|
},
|
|
510
468
|
/**
|
|
511
469
|
* 已废弃,兼容老版本
|
|
512
470
|
* @deprecated
|
|
513
471
|
*/
|
|
514
472
|
open(options) {
|
|
515
|
-
return
|
|
473
|
+
return import_core.VxeUI.modal.open(options);
|
|
516
474
|
},
|
|
517
475
|
/**
|
|
518
476
|
* 已废弃,兼容老版本
|
|
519
477
|
* @deprecated
|
|
520
478
|
*/
|
|
521
479
|
alert(content, title, options) {
|
|
522
|
-
return
|
|
480
|
+
return import_core.VxeUI.modal.alert(content, title, options);
|
|
523
481
|
},
|
|
524
482
|
/**
|
|
525
483
|
* 已废弃,兼容老版本
|
|
526
484
|
* @deprecated
|
|
527
485
|
*/
|
|
528
486
|
confirm(content, title, options) {
|
|
529
|
-
return
|
|
487
|
+
return import_core.VxeUI.modal.confirm(content, title, options);
|
|
530
488
|
},
|
|
531
489
|
/**
|
|
532
490
|
* 已废弃,兼容老版本
|
|
533
491
|
* @deprecated
|
|
534
492
|
*/
|
|
535
493
|
message(content, options) {
|
|
536
|
-
return
|
|
494
|
+
return import_core.VxeUI.modal.message(content, options);
|
|
537
495
|
},
|
|
538
496
|
/**
|
|
539
497
|
* 已废弃,兼容老版本
|
|
540
498
|
* @deprecated
|
|
541
499
|
*/
|
|
542
500
|
notification(content, title, options) {
|
|
543
|
-
return
|
|
501
|
+
return import_core.VxeUI.modal.notification(content, title, options);
|
|
544
502
|
}
|
|
545
503
|
};
|
|
546
|
-
var
|
|
504
|
+
var ui_default = import_core.VxeUI;
|
package/lib/ui/src/anime.js
CHANGED
|
@@ -1,56 +1,76 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty
|
|
4
|
-
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var anime_exports = {};
|
|
30
|
+
__export(anime_exports, {
|
|
31
|
+
clearColAnimate: () => clearColAnimate,
|
|
32
|
+
clearRowAnimate: () => clearRowAnimate,
|
|
33
|
+
moveColAnimateToLr: () => moveColAnimateToLr,
|
|
34
|
+
moveRowAnimateToTb: () => moveRowAnimateToTb
|
|
5
35
|
});
|
|
6
|
-
exports
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _dom = require("./dom");
|
|
12
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const rowMoveCls = 'row--drag-move';
|
|
14
|
-
const colMoveClass = 'col--drag-move';
|
|
15
|
-
/**
|
|
16
|
-
* 上下拖拽
|
|
17
|
-
*/
|
|
36
|
+
module.exports = __toCommonJS(anime_exports);
|
|
37
|
+
var import_xe_utils = __toESM(require("xe-utils"));
|
|
38
|
+
var import_dom = require("./dom");
|
|
39
|
+
const rowMoveCls = "row--drag-move";
|
|
40
|
+
const colMoveClass = "col--drag-move";
|
|
18
41
|
function moveRowAnimateToTb(elemList, offsetTop) {
|
|
19
|
-
|
|
42
|
+
import_xe_utils.default.arrayEach(elemList, (trEl) => {
|
|
20
43
|
trEl.style.transform = `translateY(${offsetTop}px)`;
|
|
21
44
|
});
|
|
22
45
|
requestAnimationFrame(() => {
|
|
23
|
-
|
|
24
|
-
(0,
|
|
25
|
-
trEl.style.transform =
|
|
46
|
+
import_xe_utils.default.arrayEach(elemList, (trEl) => {
|
|
47
|
+
(0, import_dom.addClass)(trEl, rowMoveCls);
|
|
48
|
+
trEl.style.transform = "";
|
|
26
49
|
});
|
|
27
50
|
});
|
|
28
51
|
}
|
|
29
52
|
function clearRowAnimate(elem, clss) {
|
|
30
53
|
setTimeout(() => {
|
|
31
54
|
if (elem) {
|
|
32
|
-
|
|
55
|
+
import_xe_utils.default.arrayEach(elem.querySelectorAll(clss.map((cls) => `${cls}.${rowMoveCls}`).join(",")), (elem2) => (0, import_dom.removeClass)(elem2, rowMoveCls));
|
|
33
56
|
}
|
|
34
57
|
}, 500);
|
|
35
58
|
}
|
|
36
|
-
/**
|
|
37
|
-
* 左右拖拽
|
|
38
|
-
*/
|
|
39
59
|
function moveColAnimateToLr(elemList, offsetLeft) {
|
|
40
|
-
|
|
60
|
+
import_xe_utils.default.arrayEach(elemList, (trEl) => {
|
|
41
61
|
trEl.style.transform = `translateX(${offsetLeft}px)`;
|
|
42
62
|
});
|
|
43
63
|
requestAnimationFrame(() => {
|
|
44
|
-
|
|
45
|
-
(0,
|
|
46
|
-
trEl.style.transform =
|
|
64
|
+
import_xe_utils.default.arrayEach(elemList, (trEl) => {
|
|
65
|
+
(0, import_dom.addClass)(trEl, colMoveClass);
|
|
66
|
+
trEl.style.transform = "";
|
|
47
67
|
});
|
|
48
68
|
});
|
|
49
69
|
}
|
|
50
70
|
function clearColAnimate(elem, clss) {
|
|
51
71
|
setTimeout(() => {
|
|
52
72
|
if (elem) {
|
|
53
|
-
|
|
73
|
+
import_xe_utils.default.arrayEach(elem.querySelectorAll(clss.map((cls) => `${cls}.${rowMoveCls}`).join(",")), (elem2) => (0, import_dom.removeClass)(elem2, colMoveClass));
|
|
54
74
|
}
|
|
55
75
|
}, 500);
|
|
56
|
-
}
|
|
76
|
+
}
|
package/lib/ui/src/comp.js
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.
|
|
4
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var comp_exports = {};
|
|
20
|
+
__export(comp_exports, {
|
|
21
|
+
defineVxeComponent: () => defineVxeComponent
|
|
5
22
|
});
|
|
6
|
-
exports
|
|
7
|
-
var
|
|
8
|
-
const defineVxeComponent =
|
|
23
|
+
module.exports = __toCommonJS(comp_exports);
|
|
24
|
+
var import_vue = require("vue");
|
|
25
|
+
const defineVxeComponent = import_vue.defineComponent;
|