tomtaw-vxe-table 0.0.0-stage → 3.25.1
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/LICENSE +21 -0
- package/README.md +105 -2
- package/es/colgroup/index.js +17 -0
- package/es/colgroup/style.css +0 -0
- package/es/colgroup/style.min.css +0 -0
- package/es/column/index.js +17 -0
- package/es/column/style.css +0 -0
- package/es/column/style.min.css +0 -0
- package/es/components.js +33 -0
- package/es/grid/index.js +17 -0
- package/es/grid/src/grid.js +1943 -0
- package/es/grid/style.css +90 -0
- package/es/grid/style.min.css +1 -0
- package/es/iconfont.1791950288092.ttf +0 -0
- package/es/iconfont.1791950288092.woff +0 -0
- package/es/iconfont.1791950288092.woff2 +0 -0
- package/es/index.css +1 -0
- package/es/index.esm.js +21 -0
- package/es/index.min.css +1 -0
- package/es/locale/lang/ar-EG.d.ts +2 -0
- package/es/locale/lang/ar-EG.js +903 -0
- package/es/locale/lang/de-DE.d.ts +2 -0
- package/es/locale/lang/de-DE.js +903 -0
- package/es/locale/lang/en-US.d.ts +2 -0
- package/es/locale/lang/en-US.js +903 -0
- package/es/locale/lang/es-ES.d.ts +2 -0
- package/es/locale/lang/es-ES.js +903 -0
- package/es/locale/lang/fr-FR.d.ts +2 -0
- package/es/locale/lang/fr-FR.js +903 -0
- package/es/locale/lang/hu-HU.d.ts +2 -0
- package/es/locale/lang/hu-HU.js +903 -0
- package/es/locale/lang/hy-AM.d.ts +2 -0
- package/es/locale/lang/hy-AM.js +903 -0
- package/es/locale/lang/id-ID.d.ts +2 -0
- package/es/locale/lang/id-ID.js +903 -0
- package/es/locale/lang/it-IT.d.ts +2 -0
- package/es/locale/lang/it-IT.js +903 -0
- package/es/locale/lang/ja-JP.d.ts +2 -0
- package/es/locale/lang/ja-JP.js +903 -0
- package/es/locale/lang/ko-KR.d.ts +2 -0
- package/es/locale/lang/ko-KR.js +903 -0
- package/es/locale/lang/ms-MY.d.ts +2 -0
- package/es/locale/lang/ms-MY.js +903 -0
- package/es/locale/lang/nb-NO.d.ts +2 -0
- package/es/locale/lang/nb-NO.js +903 -0
- package/es/locale/lang/pt-BR.d.ts +2 -0
- package/es/locale/lang/pt-BR.js +903 -0
- package/es/locale/lang/ru-RU.d.ts +2 -0
- package/es/locale/lang/ru-RU.js +903 -0
- package/es/locale/lang/th-TH.d.ts +2 -0
- package/es/locale/lang/th-TH.js +903 -0
- package/es/locale/lang/ug-CN.d.ts +2 -0
- package/es/locale/lang/ug-CN.js +903 -0
- package/es/locale/lang/uk-UA.d.ts +2 -0
- package/es/locale/lang/uk-UA.js +903 -0
- package/es/locale/lang/uz-UZ.d.ts +2 -0
- package/es/locale/lang/uz-UZ.js +903 -0
- package/es/locale/lang/vi-VN.d.ts +2 -0
- package/es/locale/lang/vi-VN.js +903 -0
- package/es/locale/lang/zh-CHT.d.ts +2 -0
- package/es/locale/lang/zh-CHT.js +903 -0
- package/es/locale/lang/zh-CN.d.ts +2 -0
- package/es/locale/lang/zh-CN.js +903 -0
- package/es/locale/lang/zh-HK.d.ts +2 -0
- package/es/locale/lang/zh-HK.js +2 -0
- package/es/locale/lang/zh-MO.d.ts +2 -0
- package/es/locale/lang/zh-MO.js +2 -0
- package/es/locale/lang/zh-TC.js +2 -0
- package/es/locale/lang/zh-TW.d.ts +2 -0
- package/es/locale/lang/zh-TW.js +2 -0
- package/es/style.css +1 -0
- package/es/style.min.css +1 -0
- package/es/table/index.js +48 -0
- package/es/table/module/custom/mixin.js +509 -0
- package/es/table/module/custom/panel.js +1833 -0
- package/es/table/module/edit/mixin.js +1177 -0
- package/es/table/module/export/export-panel.js +701 -0
- package/es/table/module/export/import-panel.js +305 -0
- package/es/table/module/export/mixin.js +2014 -0
- package/es/table/module/export/util.js +20 -0
- package/es/table/module/filter/mixin.js +530 -0
- package/es/table/module/filter/panel.js +307 -0
- package/es/table/module/keyboard/mixin.js +527 -0
- package/es/table/module/menu/mixin.js +333 -0
- package/es/table/module/menu/panel.js +200 -0
- package/es/table/module/validator/mixin.js +607 -0
- package/es/table/render/index.js +1669 -0
- package/es/table/src/body.js +931 -0
- package/es/table/src/cell.js +1280 -0
- package/es/table/src/column.js +203 -0
- package/es/table/src/columnInfo.js +213 -0
- package/es/table/src/footer.js +374 -0
- package/es/table/src/group.js +52 -0
- package/es/table/src/header.js +587 -0
- package/es/table/src/methods.js +13683 -0
- package/es/table/src/props.js +309 -0
- package/es/table/src/store.js +8 -0
- package/es/table/src/table.js +2455 -0
- package/es/table/src/util.js +1061 -0
- package/es/table/style.css +4027 -0
- package/es/table/style.min.css +1 -0
- package/es/toolbar/index.js +13 -0
- package/es/toolbar/src/toolbar.js +787 -0
- package/es/toolbar/style.css +110 -0
- package/es/toolbar/style.min.css +1 -0
- package/es/ui/index.js +529 -0
- package/es/ui/src/anime.js +46 -0
- package/es/ui/src/comp.js +1 -0
- package/es/ui/src/dom.js +390 -0
- package/es/ui/src/log.js +15 -0
- package/es/ui/src/utils.js +57 -0
- package/es/ui/src/vn.js +57 -0
- package/es/ui/style.css +0 -0
- package/es/ui/style.min.css +0 -0
- package/es/v-x-e-table/index.js +3 -0
- package/es/v-x-e-table/style.css +0 -0
- package/es/v-x-e-table/style.min.css +0 -0
- package/es/vxe-colgroup/index.js +3 -0
- package/es/vxe-colgroup/style.css +0 -0
- package/es/vxe-colgroup/style.min.css +0 -0
- package/es/vxe-column/index.js +3 -0
- package/es/vxe-column/style.css +0 -0
- package/es/vxe-column/style.min.css +0 -0
- package/es/vxe-grid/index.js +3 -0
- package/es/vxe-grid/style.css +90 -0
- package/es/vxe-grid/style.min.css +1 -0
- package/es/vxe-table/index.js +3 -0
- package/es/vxe-table/style.css +4027 -0
- package/es/vxe-table/style.min.css +1 -0
- package/es/vxe-toolbar/index.js +3 -0
- package/es/vxe-toolbar/style.css +110 -0
- package/es/vxe-toolbar/style.min.css +1 -0
- package/es/vxe-ui/index.js +3 -0
- package/es/vxe-ui/style.css +0 -0
- package/es/vxe-ui/style.min.css +0 -0
- package/es/vxe-v-x-e-table/index.js +3 -0
- package/es/vxe-v-x-e-table/style.css +0 -0
- package/es/vxe-v-x-e-table/style.min.css +0 -0
- package/helper/vetur/attributes.json +1 -0
- package/helper/vetur/tags.json +1 -0
- package/lib/colgroup/index.js +24 -0
- package/lib/colgroup/index.min.js +1 -0
- package/lib/colgroup/style/index.js +1 -0
- package/lib/colgroup/style/style.css +0 -0
- package/lib/colgroup/style/style.min.css +0 -0
- package/lib/column/index.js +24 -0
- package/lib/column/index.min.js +1 -0
- package/lib/column/style/index.js +1 -0
- package/lib/column/style/style.css +0 -0
- package/lib/column/style/style.min.css +0 -0
- package/lib/components.js +98 -0
- package/lib/components.min.js +1 -0
- package/lib/grid/index.js +24 -0
- package/lib/grid/index.min.js +1 -0
- package/lib/grid/src/grid.js +2232 -0
- package/lib/grid/src/grid.min.js +1 -0
- package/lib/grid/style/index.js +1 -0
- package/lib/grid/style/style.css +90 -0
- package/lib/grid/style/style.min.css +1 -0
- package/lib/iconfont.1791950288092.ttf +0 -0
- package/lib/iconfont.1791950288092.woff +0 -0
- package/lib/iconfont.1791950288092.woff2 +0 -0
- package/lib/index.common.js +21 -0
- package/lib/index.css +1 -0
- package/lib/index.min.css +1 -0
- package/lib/index.umd.js +30223 -0
- package/lib/index.umd.min.js +1 -0
- package/lib/locale/lang/ar-EG.d.ts +2 -0
- package/lib/locale/lang/ar-EG.js +909 -0
- package/lib/locale/lang/ar-EG.min.js +1 -0
- package/lib/locale/lang/ar-EG.umd.js +923 -0
- package/lib/locale/lang/de-DE.d.ts +2 -0
- package/lib/locale/lang/de-DE.js +909 -0
- package/lib/locale/lang/de-DE.min.js +1 -0
- package/lib/locale/lang/de-DE.umd.js +923 -0
- package/lib/locale/lang/en-US.d.ts +2 -0
- package/lib/locale/lang/en-US.js +909 -0
- package/lib/locale/lang/en-US.min.js +1 -0
- package/lib/locale/lang/en-US.umd.js +923 -0
- package/lib/locale/lang/es-ES.d.ts +2 -0
- package/lib/locale/lang/es-ES.js +909 -0
- package/lib/locale/lang/es-ES.min.js +1 -0
- package/lib/locale/lang/es-ES.umd.js +923 -0
- package/lib/locale/lang/fr-FR.d.ts +2 -0
- package/lib/locale/lang/fr-FR.js +909 -0
- package/lib/locale/lang/fr-FR.min.js +1 -0
- package/lib/locale/lang/fr-FR.umd.js +923 -0
- package/lib/locale/lang/hu-HU.d.ts +2 -0
- package/lib/locale/lang/hu-HU.js +909 -0
- package/lib/locale/lang/hu-HU.min.js +1 -0
- package/lib/locale/lang/hu-HU.umd.js +923 -0
- package/lib/locale/lang/hy-AM.d.ts +2 -0
- package/lib/locale/lang/hy-AM.js +909 -0
- package/lib/locale/lang/hy-AM.min.js +1 -0
- package/lib/locale/lang/hy-AM.umd.js +923 -0
- package/lib/locale/lang/id-ID.d.ts +2 -0
- package/lib/locale/lang/id-ID.js +909 -0
- package/lib/locale/lang/id-ID.min.js +1 -0
- package/lib/locale/lang/id-ID.umd.js +923 -0
- package/lib/locale/lang/it-IT.d.ts +2 -0
- package/lib/locale/lang/it-IT.js +909 -0
- package/lib/locale/lang/it-IT.min.js +1 -0
- package/lib/locale/lang/it-IT.umd.js +923 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -0
- package/lib/locale/lang/ja-JP.js +909 -0
- package/lib/locale/lang/ja-JP.min.js +1 -0
- package/lib/locale/lang/ja-JP.umd.js +923 -0
- package/lib/locale/lang/ko-KR.d.ts +2 -0
- package/lib/locale/lang/ko-KR.js +909 -0
- package/lib/locale/lang/ko-KR.min.js +1 -0
- package/lib/locale/lang/ko-KR.umd.js +923 -0
- package/lib/locale/lang/ms-MY.d.ts +2 -0
- package/lib/locale/lang/ms-MY.js +909 -0
- package/lib/locale/lang/ms-MY.min.js +1 -0
- package/lib/locale/lang/ms-MY.umd.js +923 -0
- package/lib/locale/lang/nb-NO.d.ts +2 -0
- package/lib/locale/lang/nb-NO.js +909 -0
- package/lib/locale/lang/nb-NO.min.js +1 -0
- package/lib/locale/lang/nb-NO.umd.js +923 -0
- package/lib/locale/lang/pt-BR.d.ts +2 -0
- package/lib/locale/lang/pt-BR.js +909 -0
- package/lib/locale/lang/pt-BR.min.js +1 -0
- package/lib/locale/lang/pt-BR.umd.js +923 -0
- package/lib/locale/lang/ru-RU.d.ts +2 -0
- package/lib/locale/lang/ru-RU.js +909 -0
- package/lib/locale/lang/ru-RU.min.js +1 -0
- package/lib/locale/lang/ru-RU.umd.js +923 -0
- package/lib/locale/lang/th-TH.d.ts +2 -0
- package/lib/locale/lang/th-TH.js +909 -0
- package/lib/locale/lang/th-TH.min.js +1 -0
- package/lib/locale/lang/th-TH.umd.js +923 -0
- package/lib/locale/lang/ug-CN.d.ts +2 -0
- package/lib/locale/lang/ug-CN.js +909 -0
- package/lib/locale/lang/ug-CN.min.js +1 -0
- package/lib/locale/lang/ug-CN.umd.js +923 -0
- package/lib/locale/lang/uk-UA.d.ts +2 -0
- package/lib/locale/lang/uk-UA.js +909 -0
- package/lib/locale/lang/uk-UA.min.js +1 -0
- package/lib/locale/lang/uk-UA.umd.js +923 -0
- package/lib/locale/lang/uz-UZ.d.ts +2 -0
- package/lib/locale/lang/uz-UZ.js +909 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -0
- package/lib/locale/lang/uz-UZ.umd.js +923 -0
- package/lib/locale/lang/vi-VN.d.ts +2 -0
- package/lib/locale/lang/vi-VN.js +909 -0
- package/lib/locale/lang/vi-VN.min.js +1 -0
- package/lib/locale/lang/vi-VN.umd.js +923 -0
- package/lib/locale/lang/zh-CHT.d.ts +2 -0
- package/lib/locale/lang/zh-CHT.js +909 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -0
- package/lib/locale/lang/zh-CHT.umd.js +923 -0
- package/lib/locale/lang/zh-CN.d.ts +2 -0
- package/lib/locale/lang/zh-CN.js +909 -0
- package/lib/locale/lang/zh-CN.min.js +1 -0
- package/lib/locale/lang/zh-CN.umd.js +923 -0
- package/lib/locale/lang/zh-HK.d.ts +2 -0
- package/lib/locale/lang/zh-HK.js +9 -0
- package/lib/locale/lang/zh-HK.min.js +1 -0
- package/lib/locale/lang/zh-HK.umd.js +23 -0
- package/lib/locale/lang/zh-MO.d.ts +2 -0
- package/lib/locale/lang/zh-MO.js +9 -0
- package/lib/locale/lang/zh-MO.min.js +1 -0
- package/lib/locale/lang/zh-MO.umd.js +23 -0
- package/lib/locale/lang/zh-TC.js +9 -0
- package/lib/locale/lang/zh-TC.min.js +1 -0
- package/lib/locale/lang/zh-TW.d.ts +2 -0
- package/lib/locale/lang/zh-TW.js +9 -0
- package/lib/locale/lang/zh-TW.min.js +1 -0
- package/lib/locale/lang/zh-TW.umd.js +23 -0
- package/lib/style.css +1 -0
- package/lib/style.min.css +1 -0
- package/lib/table/index.js +55 -0
- package/lib/table/index.min.js +1 -0
- package/lib/table/module/custom/mixin.js +624 -0
- package/lib/table/module/custom/mixin.min.js +1 -0
- package/lib/table/module/custom/panel.js +1830 -0
- package/lib/table/module/custom/panel.min.js +1 -0
- package/lib/table/module/edit/mixin.js +1492 -0
- package/lib/table/module/edit/mixin.min.js +1 -0
- package/lib/table/module/export/export-panel.js +639 -0
- package/lib/table/module/export/export-panel.min.js +1 -0
- package/lib/table/module/export/import-panel.js +299 -0
- package/lib/table/module/export/import-panel.min.js +1 -0
- package/lib/table/module/export/mixin.js +2377 -0
- package/lib/table/module/export/mixin.min.js +1 -0
- package/lib/table/module/export/util.js +20 -0
- package/lib/table/module/export/util.min.js +1 -0
- package/lib/table/module/filter/mixin.js +629 -0
- package/lib/table/module/filter/mixin.min.js +1 -0
- package/lib/table/module/filter/panel.js +328 -0
- package/lib/table/module/filter/panel.min.js +1 -0
- package/lib/table/module/keyboard/mixin.js +561 -0
- package/lib/table/module/keyboard/mixin.min.js +1 -0
- package/lib/table/module/menu/mixin.js +407 -0
- package/lib/table/module/menu/mixin.min.js +1 -0
- package/lib/table/module/menu/panel.js +176 -0
- package/lib/table/module/menu/panel.min.js +1 -0
- package/lib/table/module/validator/mixin.js +681 -0
- package/lib/table/module/validator/mixin.min.js +1 -0
- package/lib/table/render/index.js +2141 -0
- package/lib/table/render/index.min.js +1 -0
- package/lib/table/src/body.js +1042 -0
- package/lib/table/src/body.min.js +1 -0
- package/lib/table/src/cell.js +1596 -0
- package/lib/table/src/cell.min.js +1 -0
- package/lib/table/src/column.js +210 -0
- package/lib/table/src/column.min.js +1 -0
- package/lib/table/src/columnInfo.js +266 -0
- package/lib/table/src/columnInfo.min.js +1 -0
- package/lib/table/src/footer.js +441 -0
- package/lib/table/src/footer.min.js +1 -0
- package/lib/table/src/group.js +62 -0
- package/lib/table/src/group.min.js +1 -0
- package/lib/table/src/header.js +669 -0
- package/lib/table/src/header.min.js +1 -0
- package/lib/table/src/methods.js +916 -0
- package/lib/table/src/methods.min.js +1 -0
- package/lib/table/src/props.js +335 -0
- package/lib/table/src/props.min.js +1 -0
- package/lib/table/src/store.js +15 -0
- package/lib/table/src/store.min.js +1 -0
- package/lib/table/src/table.js +2653 -0
- package/lib/table/src/table.min.js +1 -0
- package/lib/table/src/util.js +1178 -0
- package/lib/table/src/util.min.js +1 -0
- package/lib/table/style/index.js +1 -0
- package/lib/table/style/style.css +4027 -0
- package/lib/table/style/style.min.css +1 -0
- package/lib/toolbar/index.js +20 -0
- package/lib/toolbar/index.min.js +1 -0
- package/lib/toolbar/src/toolbar.js +897 -0
- package/lib/toolbar/src/toolbar.min.js +1 -0
- package/lib/toolbar/style/index.js +1 -0
- package/lib/toolbar/style/style.css +110 -0
- package/lib/toolbar/style/style.min.css +1 -0
- package/lib/ui/index.js +548 -0
- package/lib/ui/index.min.js +1 -0
- package/lib/ui/src/anime.js +56 -0
- package/lib/ui/src/anime.min.js +1 -0
- package/lib/ui/src/comp.js +8 -0
- package/lib/ui/src/comp.min.js +1 -0
- package/lib/ui/src/dom.js +449 -0
- package/lib/ui/src/dom.min.js +1 -0
- package/lib/ui/src/log.js +24 -0
- package/lib/ui/src/log.min.js +1 -0
- package/lib/ui/src/utils.js +80 -0
- package/lib/ui/src/utils.min.js +1 -0
- package/lib/ui/src/vn.js +69 -0
- package/lib/ui/src/vn.min.js +1 -0
- package/lib/ui/style/index.js +1 -0
- package/lib/ui/style/style.css +0 -0
- package/lib/ui/style/style.min.css +0 -0
- package/lib/v-x-e-table/index.js +21 -0
- package/lib/v-x-e-table/index.min.js +1 -0
- package/lib/v-x-e-table/style/index.js +1 -0
- 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.js +21 -0
- package/lib/vxe-colgroup/index.min.js +1 -0
- package/lib/vxe-colgroup/style/index.js +1 -0
- package/lib/vxe-colgroup/style/style.css +0 -0
- package/lib/vxe-colgroup/style/style.min.css +0 -0
- package/lib/vxe-column/index.js +21 -0
- package/lib/vxe-column/index.min.js +1 -0
- package/lib/vxe-column/style/index.js +1 -0
- package/lib/vxe-column/style/style.css +0 -0
- package/lib/vxe-column/style/style.min.css +0 -0
- package/lib/vxe-grid/index.js +21 -0
- package/lib/vxe-grid/index.min.js +1 -0
- package/lib/vxe-grid/style/index.js +1 -0
- package/lib/vxe-grid/style/style.css +90 -0
- package/lib/vxe-grid/style/style.min.css +1 -0
- package/lib/vxe-table/index.js +21 -0
- package/lib/vxe-table/index.min.js +1 -0
- package/lib/vxe-table/style/index.js +1 -0
- package/lib/vxe-table/style/style.css +4027 -0
- package/lib/vxe-table/style/style.min.css +1 -0
- package/lib/vxe-toolbar/index.js +21 -0
- package/lib/vxe-toolbar/index.min.js +1 -0
- package/lib/vxe-toolbar/style/index.js +1 -0
- package/lib/vxe-toolbar/style/style.css +110 -0
- package/lib/vxe-toolbar/style/style.min.css +1 -0
- package/lib/vxe-ui/index.js +21 -0
- package/lib/vxe-ui/index.min.js +1 -0
- package/lib/vxe-ui/style/index.js +1 -0
- package/lib/vxe-ui/style/style.css +0 -0
- package/lib/vxe-ui/style/style.min.css +0 -0
- package/lib/vxe-v-x-e-table/index.js +21 -0
- package/lib/vxe-v-x-e-table/index.min.js +1 -0
- package/lib/vxe-v-x-e-table/style/index.js +1 -0
- 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/package.json +89 -4
- package/packages/colgroup/index.ts +22 -0
- package/packages/column/index.ts +22 -0
- package/packages/components.ts +42 -0
- package/packages/grid/index.ts +22 -0
- package/packages/grid/src/grid.ts +2100 -0
- package/packages/index.ts +4 -0
- package/packages/locale/lang/ar-EG.ts +903 -0
- package/packages/locale/lang/de-DE.ts +903 -0
- package/packages/locale/lang/en-US.ts +903 -0
- package/packages/locale/lang/es-ES.ts +903 -0
- package/packages/locale/lang/fr-FR.ts +903 -0
- package/packages/locale/lang/hu-HU.ts +903 -0
- package/packages/locale/lang/hy-AM.ts +903 -0
- package/packages/locale/lang/id-ID.ts +903 -0
- package/packages/locale/lang/it-IT.ts +903 -0
- package/packages/locale/lang/ja-JP.ts +903 -0
- package/packages/locale/lang/ko-KR.ts +903 -0
- package/packages/locale/lang/ms-MY.ts +903 -0
- package/packages/locale/lang/nb-NO.ts +903 -0
- package/packages/locale/lang/pt-BR.ts +903 -0
- package/packages/locale/lang/ru-RU.ts +903 -0
- package/packages/locale/lang/th-TH.ts +903 -0
- package/packages/locale/lang/ug-CN.ts +903 -0
- package/packages/locale/lang/uk-UA.ts +903 -0
- package/packages/locale/lang/uz-UZ.ts +903 -0
- package/packages/locale/lang/vi-VN.ts +903 -0
- package/packages/locale/lang/zh-CHT.ts +903 -0
- package/packages/locale/lang/zh-CN.ts +903 -0
- package/packages/locale/lang/zh-HK.ts +3 -0
- package/packages/locale/lang/zh-MO.ts +3 -0
- package/packages/locale/lang/zh-TC.ts +3 -0
- package/packages/locale/lang/zh-TW.ts +3 -0
- package/packages/table/index.ts +49 -0
- package/packages/table/module/custom/mixin.ts +523 -0
- package/packages/table/module/custom/panel.ts +1960 -0
- package/packages/table/module/edit/mixin.ts +1245 -0
- package/packages/table/module/export/export-panel.ts +738 -0
- package/packages/table/module/export/import-panel.ts +331 -0
- package/packages/table/module/export/mixin.ts +2100 -0
- package/packages/table/module/export/util.ts +24 -0
- package/packages/table/module/filter/mixin.ts +558 -0
- package/packages/table/module/filter/panel.ts +333 -0
- package/packages/table/module/keyboard/mixin.ts +510 -0
- package/packages/table/module/menu/mixin.ts +337 -0
- package/packages/table/module/menu/panel.ts +212 -0
- package/packages/table/module/validator/mixin.ts +628 -0
- package/packages/table/render/index.ts +1768 -0
- package/packages/table/src/body.ts +992 -0
- package/packages/table/src/cell.ts +1347 -0
- package/packages/table/src/column.ts +214 -0
- package/packages/table/src/columnInfo.ts +240 -0
- package/packages/table/src/footer.ts +400 -0
- package/packages/table/src/group.ts +63 -0
- package/packages/table/src/header.ts +627 -0
- package/packages/table/src/methods.ts +14202 -0
- package/packages/table/src/props.ts +315 -0
- package/packages/table/src/store.ts +15 -0
- package/packages/table/src/table.ts +2634 -0
- package/packages/table/src/util.ts +1156 -0
- package/packages/toolbar/index.ts +18 -0
- package/packages/toolbar/src/toolbar.ts +864 -0
- package/packages/ui/index.ts +550 -0
- package/packages/ui/src/anime.ts +52 -0
- package/packages/ui/src/comp.ts +3 -0
- package/packages/ui/src/dom.ts +437 -0
- package/packages/ui/src/log.ts +19 -0
- package/packages/ui/src/utils.ts +70 -0
- package/packages/ui/src/vn.ts +65 -0
- package/packages/v-x-e-table/index.ts +4 -0
- package/styles/all.scss +7 -0
- package/styles/base.scss +16 -0
- package/styles/components/colgroup.scss +0 -0
- package/styles/components/column.scss +0 -0
- package/styles/components/grid.scss +89 -0
- package/styles/components/icon.scss +256 -0
- package/styles/components/old-icon.scss +715 -0
- package/styles/components/table-module/all.scss +7 -0
- package/styles/components/table-module/custom.scss +576 -0
- package/styles/components/table-module/edit.scss +0 -0
- package/styles/components/table-module/export.scss +130 -0
- package/styles/components/table-module/filter.scss +131 -0
- package/styles/components/table-module/keyboard.scss +0 -0
- package/styles/components/table-module/menu.scss +85 -0
- package/styles/components/table-module/validator.scss +0 -0
- package/styles/components/table.scss +2720 -0
- package/styles/components/toolbar.scss +120 -0
- package/styles/components/ui.scss +0 -0
- package/styles/components/v-x-e-table.scss +0 -0
- package/styles/cssvar.scss +1 -0
- package/styles/default.scss +3 -0
- package/styles/helpers/baseMixin.scss +107 -0
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/index.scss +4 -0
- package/styles/modules.scss +5 -0
- package/styles/theme/base.scss +119 -0
- package/styles/theme/dark.scss +49 -0
- package/styles/theme/light.scss +45 -0
- package/styles/variable.scss +44 -0
- package/types/all.d.ts +88 -0
- package/types/index.d.ts +4 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Xu Liangzhan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,106 @@
|
|
|
1
|
-
#
|
|
1
|
+
# vxe-table
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/x-extends/vxe-table/stargazers)
|
|
4
|
+
[](https://www.npmjs.com/package/vxe-table)
|
|
5
|
+
[](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml)
|
|
6
|
+
[](https://npm-stat.com/charts.html?package=vxe-table)
|
|
7
|
+
[](https://github.com/x-extends/vxe-table/issues)
|
|
8
|
+
[](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed)
|
|
9
|
+
[](https://github.com/x-extends/vxe-table/pulls)
|
|
10
|
+
[](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
|
|
13
|
+
一个基于 [Vxe UI](https://github.com/x-extends/vxe-pc-ui) 的 PC 端表格组件,支持增删改查的可编辑表格,支持 Excel 复制粘贴、数据透视表、虚拟列表高性能的表格解决方案
|
|
14
|
+
|
|
15
|
+
## 浏览器支持
|
|
16
|
+
|
|
17
|
+
 |  |  |  | 
|
|
18
|
+
--- | --- | --- | --- | --- |
|
|
19
|
+
80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |
|
|
20
|
+
|
|
21
|
+
## 安装
|
|
22
|
+
|
|
23
|
+
版本:[vue](https://www.npmjs.com/package/vue) 2.x
|
|
24
|
+
|
|
25
|
+
```shell
|
|
26
|
+
npm install vxe-table@3
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Get on [unpkg](https://unpkg.com/vxe-table/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/)
|
|
30
|
+
|
|
31
|
+
### NPM
|
|
32
|
+
|
|
33
|
+
```javascript
|
|
34
|
+
// ...
|
|
35
|
+
import VxeUITable from 'vxe-table'
|
|
36
|
+
import 'vxe-table/lib/style.css'
|
|
37
|
+
// ...
|
|
38
|
+
|
|
39
|
+
createApp(App).use(VxeUITable).mount('#app')
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### CDN
|
|
43
|
+
|
|
44
|
+
使用第三方 CDN 方式记得锁定版本号,避免受到非兼容性更新的影响
|
|
45
|
+
***不建议将第三方的 CDN 地址用于正式环境,因为该连接随时都可能会失效***
|
|
46
|
+
|
|
47
|
+
```HTML
|
|
48
|
+
<!DOCTYPE html>
|
|
49
|
+
<html>
|
|
50
|
+
<head>
|
|
51
|
+
<meta charset="utf-8">
|
|
52
|
+
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
|
53
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
54
|
+
<!-- style -->
|
|
55
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-pc-ui@3/lib/style.css">
|
|
56
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-table@3/lib/style.css">
|
|
57
|
+
<!-- vue -->
|
|
58
|
+
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
|
|
59
|
+
<!-- table -->
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
|
|
61
|
+
<script src="https://cdn.jsdelivr.net/npm/vxe-pc-ui@3"></script>
|
|
62
|
+
<script src="https://cdn.jsdelivr.net/npm/vxe-table@3"></script>
|
|
63
|
+
</head>
|
|
64
|
+
<body>
|
|
65
|
+
<div id="app">
|
|
66
|
+
<div>
|
|
67
|
+
<vxe-table :data="tableData">
|
|
68
|
+
<vxe-column type="seq" title="Seq" width="60"></vxe-column>
|
|
69
|
+
<vxe-column field="name" title="Name"></vxe-column>
|
|
70
|
+
<vxe-column field="role" title="Role"></vxe-column>
|
|
71
|
+
<vxe-colgroup title="Group1">
|
|
72
|
+
<vxe-column field="sex" title="Sex"></vxe-column>
|
|
73
|
+
<vxe-column field="address" title="Address"></vxe-column>
|
|
74
|
+
</vxe-colgroup>
|
|
75
|
+
</vxe-table>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<script>
|
|
79
|
+
(function () {
|
|
80
|
+
var App = {
|
|
81
|
+
data() {
|
|
82
|
+
return {
|
|
83
|
+
tableData: [
|
|
84
|
+
{ id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
|
|
85
|
+
{ id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
|
|
86
|
+
{ id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
new Vue(App).$mount('#app')
|
|
92
|
+
})()
|
|
93
|
+
</script>
|
|
94
|
+
</body>
|
|
95
|
+
</html>
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Contributors
|
|
99
|
+
|
|
100
|
+
Thank you to everyone who contributed to this project.
|
|
101
|
+
|
|
102
|
+
[](https://github.com/x-extends/vxe-table/graphs/contributors)
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
[MIT](LICENSE) © 2019-present, Xu Liangzhan
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VxeUI } from '../ui';
|
|
2
|
+
import VxeColgroupComponent from '../table/src/group';
|
|
3
|
+
export const VxeColgroup = Object.assign({}, VxeColgroupComponent, {
|
|
4
|
+
install(app) {
|
|
5
|
+
app.component(VxeColgroupComponent.name, VxeColgroupComponent);
|
|
6
|
+
// 兼容旧用法
|
|
7
|
+
app.component('VxeTableColgroup', VxeColgroupComponent);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
if (VxeUI.dynamicApp) {
|
|
11
|
+
VxeUI.dynamicApp.component(VxeColgroupComponent.name, VxeColgroupComponent);
|
|
12
|
+
// 兼容旧用法
|
|
13
|
+
VxeUI.dynamicApp.component('VxeTableColgroup', VxeColgroupComponent);
|
|
14
|
+
}
|
|
15
|
+
VxeUI.component(VxeColgroupComponent);
|
|
16
|
+
export const Colgroup = VxeColgroup;
|
|
17
|
+
export default VxeColgroup;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VxeUI } from '../ui';
|
|
2
|
+
import VxeColumnComponent from '../table/src/column';
|
|
3
|
+
export const VxeColumn = Object.assign({}, VxeColumnComponent, {
|
|
4
|
+
install(app) {
|
|
5
|
+
app.component(VxeColumnComponent.name, VxeColumnComponent);
|
|
6
|
+
// 兼容旧用法
|
|
7
|
+
app.component('VxeTableColumn', VxeColumnComponent);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
if (VxeUI.dynamicApp) {
|
|
11
|
+
VxeUI.dynamicApp.component(VxeColumnComponent.name, VxeColumnComponent);
|
|
12
|
+
// 兼容旧用法
|
|
13
|
+
VxeUI.dynamicApp.component('VxeTableColumn', VxeColumnComponent);
|
|
14
|
+
}
|
|
15
|
+
VxeUI.component(VxeColumnComponent);
|
|
16
|
+
export const Column = VxeColumn;
|
|
17
|
+
export default VxeColumn;
|
|
File without changes
|
|
File without changes
|
package/es/components.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { VxeUI } from './ui';
|
|
2
|
+
import { VxeColumn } from './column';
|
|
3
|
+
import { VxeColgroup } from './colgroup';
|
|
4
|
+
import { VxeGrid } from './grid';
|
|
5
|
+
import { VxeTable } from './table';
|
|
6
|
+
import { VxeToolbar } from './toolbar';
|
|
7
|
+
import zhCN from './locale/lang/zh-CN';
|
|
8
|
+
const components = [
|
|
9
|
+
VxeColumn,
|
|
10
|
+
VxeColgroup,
|
|
11
|
+
VxeGrid,
|
|
12
|
+
VxeTable,
|
|
13
|
+
VxeToolbar
|
|
14
|
+
];
|
|
15
|
+
// 默认安装
|
|
16
|
+
export function install(app, options) {
|
|
17
|
+
VxeUI.setConfig(options);
|
|
18
|
+
components.forEach(component => component.install(app));
|
|
19
|
+
}
|
|
20
|
+
// 保留兼容老版本
|
|
21
|
+
if (!VxeUI.hasLanguage('zh-CN')) {
|
|
22
|
+
const defaultLanguage = 'zh-CN';
|
|
23
|
+
VxeUI.setI18n(defaultLanguage, zhCN);
|
|
24
|
+
VxeUI.setLanguage(defaultLanguage);
|
|
25
|
+
}
|
|
26
|
+
VxeUI.setTheme('light');
|
|
27
|
+
export * from './ui';
|
|
28
|
+
// Components
|
|
29
|
+
export * from './table';
|
|
30
|
+
export * from './column';
|
|
31
|
+
export * from './colgroup';
|
|
32
|
+
export * from './grid';
|
|
33
|
+
export * from './toolbar';
|
package/es/grid/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VxeUI } from '../ui';
|
|
2
|
+
import VxeGridComponent from './src/grid';
|
|
3
|
+
let isReg = false;
|
|
4
|
+
export const VxeGrid = Object.assign({}, VxeGridComponent, {
|
|
5
|
+
install(app) {
|
|
6
|
+
if (!isReg) {
|
|
7
|
+
isReg = true;
|
|
8
|
+
if (VxeUI.dynamicApp) {
|
|
9
|
+
VxeUI.dynamicApp.component(VxeGridComponent.name, VxeGridComponent);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
app.component(VxeGridComponent.name, VxeGridComponent);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
VxeUI.component(VxeGridComponent);
|
|
16
|
+
export const Grid = VxeGrid;
|
|
17
|
+
export default VxeGrid;
|