vxe-table 3.8.23 → 3.9.0-rc.0
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/README.md +47 -77
- package/es/colgroup/index.js +17 -0
- package/es/column/index.js +17 -0
- package/es/components.js +33 -0
- package/es/grid/index.js +13 -0
- package/es/grid/src/grid.js +1100 -0
- package/es/grid/style.css +61 -0
- package/es/grid/style.min.css +1 -0
- package/es/iconfont.1725953896189.ttf +0 -0
- package/es/iconfont.1725953896189.woff +0 -0
- package/es/iconfont.1725953896189.woff2 +0 -0
- package/es/index.esm.js +3 -0
- package/es/locale/lang/en-US.d.ts +2 -0
- package/es/locale/lang/en-US.js +673 -0
- package/es/locale/lang/es-ES.d.ts +2 -0
- package/es/locale/lang/es-ES.js +673 -0
- package/es/locale/lang/hu-HU.js +671 -0
- package/es/locale/lang/ja-JP.d.ts +2 -0
- package/es/locale/lang/ja-JP.js +673 -0
- package/es/locale/lang/ko-KR.js +673 -0
- package/es/locale/lang/pt-BR.d.ts +2 -0
- package/es/locale/lang/pt-BR.js +673 -0
- package/es/locale/lang/ru-RU.js +673 -0
- package/es/locale/lang/vi-VN.js +673 -0
- package/es/locale/lang/zh-CN.d.ts +2 -0
- package/es/locale/lang/zh-CN.js +673 -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.d.ts +2 -0
- package/es/locale/lang/zh-TC.js +673 -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 +14 -0
- package/es/table/module/custom/mixin.js +87 -0
- package/es/table/module/custom/panel.js +974 -0
- package/es/table/module/edit/mixin.js +810 -0
- package/es/table/module/export/export-panel.js +448 -0
- package/es/table/module/export/import-panel.js +185 -0
- package/es/table/module/export/mixin.js +1463 -0
- package/es/table/module/export/util.js +20 -0
- package/es/table/module/filter/mixin.js +276 -0
- package/es/table/module/filter/panel.js +219 -0
- package/es/table/module/keyboard/mixin.js +376 -0
- package/es/table/module/menu/mixin.js +282 -0
- package/es/table/module/menu/panel.js +138 -0
- package/es/table/module/validator/mixin.js +487 -0
- package/es/table/render/index.js +796 -0
- package/es/table/src/body.js +771 -0
- package/es/table/src/cell.js +846 -0
- package/es/table/src/column.js +139 -0
- package/es/table/src/columnInfo.js +158 -0
- package/es/table/src/footer.js +279 -0
- package/es/table/src/group.js +11 -0
- package/es/table/src/header.js +302 -0
- package/es/table/src/methods.js +5640 -0
- package/es/table/src/props.js +170 -0
- package/es/table/src/table.js +1132 -0
- package/es/table/src/util.js +384 -0
- package/es/table/style.css +2805 -0
- package/es/table/style.min.css +1 -0
- package/es/toolbar/index.js +13 -0
- package/es/toolbar/src/toolbar.js +675 -0
- package/es/toolbar/style.css +91 -0
- package/es/toolbar/style.min.css +1 -0
- package/es/ui/index.js +377 -0
- package/es/ui/src/comp.js +1 -0
- package/es/ui/src/dom.js +141 -0
- package/es/ui/src/log.js +5 -0
- package/es/ui/src/utils.js +44 -0
- package/es/ui/src/vn.js +10 -0
- package/es/v-x-e-table/index.js +3 -0
- package/es/vxe-colgroup/index.js +3 -0
- package/es/vxe-column/index.js +3 -0
- package/es/vxe-grid/index.js +3 -0
- package/es/vxe-grid/style.css +61 -0
- package/es/vxe-grid/style.min.css +1 -0
- package/es/vxe-table/index.js +3 -0
- package/es/vxe-table/style.css +2805 -0
- package/es/vxe-table/style.min.css +1 -0
- package/es/vxe-toolbar/index.js +3 -0
- package/es/vxe-toolbar/style.css +91 -0
- package/es/vxe-toolbar/style.min.css +1 -0
- package/es/vxe-ui/index.js +3 -0
- package/es/vxe-v-x-e-table/index.js +3 -0
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/colgroup/index.js +12 -7
- package/lib/colgroup/index.min.js +1 -1
- package/lib/colgroup/style/style.css +0 -26
- package/lib/column/index.js +12 -7
- package/lib/column/index.min.js +1 -1
- package/lib/column/style/style.css +0 -26
- package/lib/components.js +101 -0
- package/lib/components.min.js +1 -0
- package/lib/grid/index.js +9 -8
- package/lib/grid/index.min.js +1 -1
- package/lib/grid/src/grid.js +114 -121
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/grid/style/style.css +6 -32
- package/lib/grid/style/style.min.css +1 -1
- package/lib/iconfont.1725953896189.ttf +0 -0
- package/lib/iconfont.1725953896189.woff +0 -0
- package/lib/iconfont.1725953896189.woff2 +0 -0
- package/lib/index.common.js +5 -5
- package/lib/index.umd.js +18867 -29242
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.d.ts +2 -8
- package/lib/locale/lang/en-US.js +11 -6
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +11 -6
- package/lib/locale/lang/es-ES.d.ts +2 -8
- package/lib/locale/lang/es-ES.js +11 -6
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +11 -6
- package/lib/locale/lang/hu-HU.js +677 -0
- package/lib/locale/lang/hu-HU.min.js +1 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -8
- package/lib/locale/lang/ja-JP.js +11 -6
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +11 -6
- package/lib/locale/lang/ko-KR.js +679 -0
- package/lib/locale/lang/ko-KR.min.js +1 -0
- package/lib/locale/lang/pt-BR.d.ts +2 -8
- package/lib/locale/lang/pt-BR.js +11 -6
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +11 -6
- package/lib/locale/lang/ru-RU.js +679 -0
- package/lib/locale/lang/ru-RU.min.js +1 -0
- package/lib/locale/lang/vi-VN.js +679 -0
- package/lib/locale/lang/vi-VN.min.js +1 -0
- package/lib/locale/lang/zh-CN.d.ts +2 -8
- package/lib/locale/lang/zh-CN.js +11 -6
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +11 -6
- package/lib/locale/lang/zh-HK.d.ts +2 -8
- package/lib/locale/lang/zh-HK.js +1 -1
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +11 -6
- package/lib/locale/lang/zh-MO.d.ts +2 -8
- package/lib/locale/lang/zh-MO.js +1 -1
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +11 -6
- package/lib/locale/lang/zh-TC.d.ts +2 -8
- package/lib/locale/lang/zh-TC.js +11 -6
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +11 -6
- package/lib/locale/lang/zh-TW.d.ts +2 -8
- package/lib/locale/lang/zh-TW.js +1 -1
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +11 -6
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/index.js +10 -31
- package/lib/table/index.min.js +1 -1
- package/lib/table/module/custom/mixin.js +117 -0
- package/lib/table/module/custom/mixin.min.js +1 -0
- package/lib/table/module/custom/panel.js +910 -0
- package/lib/table/module/custom/panel.min.js +1 -0
- package/lib/table/module/edit/mixin.js +975 -0
- package/lib/table/module/edit/mixin.min.js +1 -0
- package/lib/table/module/export/export-panel.js +412 -0
- package/lib/table/module/export/export-panel.min.js +1 -0
- package/lib/table/module/export/import-panel.js +177 -0
- package/lib/table/module/export/import-panel.min.js +1 -0
- package/lib/table/module/export/mixin.js +1735 -0
- package/lib/table/module/export/mixin.min.js +1 -0
- package/lib/table/module/export/util.js +18 -0
- package/lib/table/module/export/util.min.js +1 -0
- package/lib/table/module/filter/mixin.js +329 -0
- package/lib/table/module/filter/mixin.min.js +1 -0
- package/lib/table/module/filter/panel.js +213 -0
- package/lib/table/module/filter/panel.min.js +1 -0
- package/lib/table/module/keyboard/mixin.js +410 -0
- package/lib/table/module/keyboard/mixin.min.js +1 -0
- package/lib/table/module/menu/mixin.js +329 -0
- package/lib/table/module/menu/mixin.min.js +1 -0
- package/lib/table/module/menu/panel.js +117 -0
- package/lib/table/module/menu/panel.min.js +1 -0
- package/lib/table/module/validator/mixin.js +550 -0
- package/lib/table/module/validator/mixin.min.js +1 -0
- package/lib/table/render/index.js +895 -0
- package/lib/table/render/index.min.js +1 -0
- package/lib/table/src/body.js +38 -44
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +83 -87
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/column.js +5 -5
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +13 -21
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/footer.js +14 -14
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/group.js +1 -1
- package/lib/table/src/group.min.js +1 -1
- package/lib/table/src/header.js +19 -23
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +608 -599
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/props.js +296 -0
- package/lib/table/src/props.min.js +1 -0
- package/lib/table/src/table.js +150 -419
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +73 -23
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +1715 -361
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/index.js +9 -6
- package/lib/toolbar/index.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +579 -413
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/toolbar/style/style.css +11 -37
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/ui/index.js +382 -16
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/comp.js +9 -0
- package/lib/ui/src/comp.min.js +1 -0
- package/lib/ui/src/dom.js +184 -0
- package/lib/ui/src/dom.min.js +1 -0
- package/lib/ui/src/log.js +11 -0
- package/lib/ui/src/log.min.js +1 -0
- package/lib/ui/src/utils.js +63 -0
- package/lib/ui/src/utils.min.js +1 -0
- package/lib/ui/src/vn.js +18 -0
- package/lib/ui/src/vn.min.js +1 -0
- package/lib/v-x-e-table/index.js +10 -277
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/style/style.css +0 -1630
- package/lib/v-x-e-table/style/style.min.css +0 -1
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-colgroup/style/style.css +0 -26
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-column/style/style.css +0 -26
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-grid/style/style.css +6 -32
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +1715 -361
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-toolbar/style/style.css +11 -37
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/lib/vxe-ui/index.js +23 -0
- package/lib/vxe-ui/index.min.js +1 -0
- package/lib/vxe-v-x-e-table/index.js +23 -0
- package/lib/vxe-v-x-e-table/index.min.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 +18 -25
- package/packages/colgroup/index.ts +22 -0
- package/packages/column/index.ts +22 -0
- package/packages/components.ts +43 -0
- package/packages/grid/index.ts +18 -0
- package/packages/grid/src/grid.ts +1129 -0
- package/packages/index.ts +4 -0
- package/packages/locale/lang/en-US.ts +675 -0
- package/packages/locale/lang/es-ES.ts +675 -0
- package/packages/locale/lang/hu-HU.ts +673 -0
- package/packages/locale/lang/ja-JP.ts +675 -0
- package/packages/locale/lang/ko-KR.ts +675 -0
- package/packages/locale/lang/pt-BR.ts +675 -0
- package/packages/locale/lang/ru-RU.ts +675 -0
- package/packages/locale/lang/vi-VN.ts +675 -0
- package/packages/locale/lang/zh-CN.ts +675 -0
- package/packages/locale/lang/zh-TC.ts +675 -0
- package/packages/table/index.ts +19 -0
- package/packages/table/module/custom/mixin.ts +87 -0
- package/packages/table/module/custom/panel.ts +984 -0
- package/packages/table/module/edit/mixin.ts +797 -0
- package/packages/table/module/export/export-panel.ts +452 -0
- package/packages/table/module/export/import-panel.ts +188 -0
- package/packages/table/module/export/mixin.ts +1504 -0
- package/packages/table/module/export/util.ts +24 -0
- package/packages/table/module/filter/mixin.ts +273 -0
- package/packages/table/module/filter/panel.ts +220 -0
- package/packages/table/module/keyboard/mixin.ts +355 -0
- package/packages/table/module/menu/mixin.ts +272 -0
- package/packages/table/module/menu/panel.ts +141 -0
- package/packages/table/module/validator/mixin.ts +475 -0
- package/packages/table/render/index.ts +863 -0
- package/packages/table/src/body.ts +842 -0
- package/packages/table/src/cell.ts +872 -0
- package/packages/table/src/column.ts +141 -0
- package/packages/table/src/columnInfo.ts +169 -0
- package/packages/table/src/footer.ts +300 -0
- package/packages/table/src/header.ts +304 -0
- package/packages/table/src/methods.ts +5559 -0
- package/packages/table/src/props.ts +173 -0
- package/packages/table/src/table.ts +1186 -0
- package/packages/table/src/util.ts +410 -0
- package/packages/toolbar/index.ts +18 -0
- package/packages/toolbar/src/toolbar.ts +733 -0
- package/packages/ui/index.ts +397 -0
- package/packages/ui/src/comp.ts +3 -0
- package/packages/ui/src/dom.ts +163 -0
- package/packages/ui/src/log.ts +8 -0
- package/packages/ui/src/utils.ts +54 -0
- package/packages/ui/src/vn.ts +14 -0
- package/packages/v-x-e-table/index.ts +4 -0
- package/styles/all.scss +6 -32
- 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 +62 -0
- package/styles/components/icon.scss +187 -0
- package/styles/components/old-icon.scss +717 -0
- package/styles/components/table-module/all.scss +7 -0
- package/styles/components/table-module/custom.scss +381 -0
- package/styles/components/table-module/edit.scss +0 -0
- package/styles/components/table-module/export.scss +127 -0
- package/styles/components/table-module/filter.scss +112 -0
- package/styles/components/table-module/keyboard.scss +0 -0
- package/styles/components/table-module/menu.scss +86 -0
- package/styles/components/table-module/validator.scss +0 -0
- package/styles/components/table.scss +1492 -0
- package/styles/components/toolbar.scss +102 -0
- package/styles/components/ui.scss +0 -0
- package/styles/components/v-x-e-table.scss +0 -0
- package/styles/cssvar.scss +3 -2
- package/styles/default.scss +2 -0
- package/styles/helpers/mixin.scss +16 -13
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/modules.scss +6 -33
- package/styles/theme/base.scss +89 -0
- package/styles/theme/dark.scss +41 -0
- package/styles/theme/light.scss +39 -0
- package/styles/variable.scss +2 -275
- package/types/all.d.ts +45 -70
- package/types/index.d.ts +2 -7
- package/lib/all.js +0 -459
- package/lib/all.min.js +0 -1
- package/lib/button/index.d.ts +0 -4
- package/lib/button/index.js +0 -17
- package/lib/button/index.min.js +0 -1
- package/lib/button/src/button.js +0 -512
- package/lib/button/src/button.min.js +0 -1
- package/lib/button/src/group.js +0 -71
- package/lib/button/src/group.min.js +0 -1
- package/lib/button/style/style.css +0 -571
- package/lib/button/style/style.min.css +0 -1
- package/lib/button-group/index.d.ts +0 -4
- package/lib/button-group/index.js +0 -17
- package/lib/button-group/index.min.js +0 -1
- package/lib/button-group/style/style.css +0 -29
- package/lib/button-group/style/style.min.css +0 -1
- package/lib/checkbox/index.d.ts +0 -4
- package/lib/checkbox/index.js +0 -17
- package/lib/checkbox/index.min.js +0 -1
- package/lib/checkbox/src/checkbox.js +0 -138
- package/lib/checkbox/src/checkbox.min.js +0 -1
- package/lib/checkbox/src/group.js +0 -105
- package/lib/checkbox/src/group.min.js +0 -1
- package/lib/checkbox/style/index.js +0 -1
- package/lib/checkbox/style/style.css +0 -292
- package/lib/checkbox/style/style.min.css +0 -1
- package/lib/checkbox-group/index.d.ts +0 -4
- package/lib/checkbox-group/index.js +0 -17
- package/lib/checkbox-group/index.min.js +0 -1
- package/lib/checkbox-group/style/style.css +0 -26
- package/lib/colgroup/index.d.ts +0 -4
- package/lib/column/index.d.ts +0 -4
- package/lib/custom/index.d.ts +0 -4
- package/lib/custom/index.js +0 -21
- package/lib/custom/index.min.js +0 -1
- package/lib/custom/src/mixin.js +0 -117
- package/lib/custom/src/mixin.min.js +0 -1
- package/lib/custom/src/panel.js +0 -865
- package/lib/custom/src/panel.min.js +0 -1
- package/lib/custom/style/index.js +0 -1
- package/lib/custom/style/style.css +0 -629
- package/lib/custom/style/style.min.css +0 -1
- package/lib/edit/index.d.ts +0 -4
- package/lib/edit/index.js +0 -18
- package/lib/edit/index.min.js +0 -1
- package/lib/edit/src/mixin.js +0 -973
- package/lib/edit/src/mixin.min.js +0 -1
- package/lib/edit/style/index.js +0 -1
- package/lib/edit/style/style.css +0 -26
- package/lib/export/index.d.ts +0 -4
- package/lib/export/index.js +0 -59
- package/lib/export/index.min.js +0 -1
- package/lib/export/src/export-panel.js +0 -413
- package/lib/export/src/export-panel.min.js +0 -1
- package/lib/export/src/import-panel.js +0 -176
- package/lib/export/src/import-panel.min.js +0 -1
- package/lib/export/src/mixin.js +0 -1762
- package/lib/export/src/mixin.min.js +0 -1
- package/lib/export/style/index.js +0 -1
- package/lib/export/style/style.css +0 -219
- package/lib/export/style/style.min.css +0 -1
- package/lib/filter/index.d.ts +0 -4
- package/lib/filter/index.js +0 -21
- package/lib/filter/index.min.js +0 -1
- package/lib/filter/src/mixin.js +0 -328
- package/lib/filter/src/mixin.min.js +0 -1
- package/lib/filter/src/panel.js +0 -215
- package/lib/filter/src/panel.min.js +0 -1
- package/lib/filter/style/index.js +0 -1
- package/lib/filter/style/style.css +0 -166
- package/lib/filter/style/style.min.css +0 -1
- package/lib/form/index.d.ts +0 -4
- package/lib/form/index.js +0 -17
- package/lib/form/index.min.js +0 -1
- package/lib/form/src/form-config-item.js +0 -194
- package/lib/form/src/form-config-item.min.js +0 -1
- package/lib/form/src/form-gather.js +0 -36
- package/lib/form/src/form-gather.min.js +0 -1
- package/lib/form/src/form-item.js +0 -259
- package/lib/form/src/form-item.min.js +0 -1
- package/lib/form/src/form.js +0 -764
- package/lib/form/src/form.min.js +0 -1
- package/lib/form/src/render.js +0 -81
- package/lib/form/src/render.min.js +0 -1
- package/lib/form/src/util.js +0 -148
- package/lib/form/src/util.min.js +0 -1
- package/lib/form/style/index.js +0 -1
- package/lib/form/style/style.css +0 -444
- package/lib/form/style/style.min.css +0 -1
- package/lib/form-gather/index.d.ts +0 -4
- package/lib/form-gather/index.js +0 -17
- package/lib/form-gather/index.min.js +0 -1
- package/lib/form-gather/style/index.js +0 -1
- package/lib/form-gather/style/style.css +0 -26
- package/lib/form-item/index.d.ts +0 -4
- package/lib/form-item/index.js +0 -17
- package/lib/form-item/index.min.js +0 -1
- package/lib/form-item/style/index.js +0 -1
- package/lib/form-item/style/style.css +0 -26
- package/lib/grid/index.d.ts +0 -4
- package/lib/icon/index.d.ts +0 -4
- package/lib/icon/index.js +0 -17
- package/lib/icon/index.min.js +0 -1
- package/lib/icon/src/icon.js +0 -32
- package/lib/icon/src/icon.min.js +0 -1
- package/lib/icon/style/iconfont.1724894779531.ttf +0 -0
- package/lib/icon/style/iconfont.1724894779531.woff +0 -0
- package/lib/icon/style/iconfont.1724894779531.woff2 +0 -0
- package/lib/icon/style/index.js +0 -1
- package/lib/icon/style/style.css +0 -1550
- package/lib/icon/style/style.min.css +0 -1550
- package/lib/iconfont.1724894779531.ttf +0 -0
- package/lib/iconfont.1724894779531.woff +0 -0
- package/lib/iconfont.1724894779531.woff2 +0 -0
- package/lib/index.common.min.js +0 -1
- package/lib/index.css +0 -1
- package/lib/input/index.d.ts +0 -4
- package/lib/input/index.js +0 -17
- package/lib/input/index.min.js +0 -1
- package/lib/input/src/date.js +0 -44
- package/lib/input/src/date.min.js +0 -1
- package/lib/input/src/input.js +0 -2481
- package/lib/input/src/input.min.js +0 -1
- package/lib/input/src/number.js +0 -18
- package/lib/input/src/number.min.js +0 -1
- package/lib/input/style/index.js +0 -1
- package/lib/input/style/style.css +0 -1039
- package/lib/input/style/style.min.css +0 -1
- package/lib/keyboard/index.d.ts +0 -4
- package/lib/keyboard/index.js +0 -18
- package/lib/keyboard/index.min.js +0 -1
- package/lib/keyboard/src/mixin.js +0 -413
- package/lib/keyboard/src/mixin.min.js +0 -1
- package/lib/keyboard/style/index.js +0 -1
- package/lib/keyboard/style/style.css +0 -26
- package/lib/list/index.d.ts +0 -4
- package/lib/list/index.js +0 -17
- package/lib/list/index.min.js +0 -1
- package/lib/list/src/list.js +0 -356
- package/lib/list/src/list.min.js +0 -1
- package/lib/list/style/index.js +0 -1
- package/lib/list/style/style.css +0 -52
- package/lib/list/style/style.min.css +0 -1
- package/lib/loading/index.d.ts +0 -4
- package/lib/loading/index.js +0 -17
- package/lib/loading/index.min.js +0 -1
- package/lib/loading/src/loading.js +0 -46
- package/lib/loading/src/loading.min.js +0 -1
- package/lib/loading/style/index.js +0 -1
- package/lib/loading/style/style.css +0 -104
- package/lib/loading/style/style.min.css +0 -1
- package/lib/locale/lang/language.d.ts +0 -5
- package/lib/menu/index.d.ts +0 -4
- package/lib/menu/index.js +0 -21
- package/lib/menu/index.min.js +0 -1
- package/lib/menu/src/mixin.js +0 -331
- package/lib/menu/src/mixin.min.js +0 -1
- package/lib/menu/src/panel.js +0 -117
- package/lib/menu/src/panel.min.js +0 -1
- package/lib/menu/style/index.js +0 -1
- package/lib/menu/style/style.css +0 -126
- package/lib/menu/style/style.min.css +0 -1
- package/lib/mixins/size.js +0 -15
- package/lib/mixins/size.min.js +0 -1
- package/lib/modal/index.d.ts +0 -4
- package/lib/modal/index.js +0 -131
- package/lib/modal/index.min.js +0 -1
- package/lib/modal/src/modal.js +0 -1114
- package/lib/modal/src/modal.min.js +0 -1
- package/lib/modal/style/index.js +0 -1
- package/lib/modal/style/style.css +0 -354
- package/lib/modal/style/style.min.css +0 -1
- package/lib/optgroup/index.d.ts +0 -4
- package/lib/optgroup/index.js +0 -17
- package/lib/optgroup/index.min.js +0 -1
- package/lib/optgroup/style/index.js +0 -1
- package/lib/optgroup/style/style.css +0 -26
- package/lib/option/index.d.ts +0 -4
- package/lib/option/index.js +0 -17
- package/lib/option/index.min.js +0 -1
- package/lib/option/style/index.js +0 -1
- package/lib/option/style/style.css +0 -26
- package/lib/pager/index.d.ts +0 -4
- package/lib/pager/index.js +0 -17
- package/lib/pager/index.min.js +0 -1
- package/lib/pager/src/pager.js +0 -550
- package/lib/pager/src/pager.min.js +0 -1
- package/lib/pager/style/index.js +0 -1
- package/lib/pager/style/style.css +0 -329
- package/lib/pager/style/style.min.css +0 -1
- package/lib/pulldown/index.d.ts +0 -4
- package/lib/pulldown/index.js +0 -17
- package/lib/pulldown/index.min.js +0 -1
- package/lib/pulldown/src/pulldown.js +0 -316
- package/lib/pulldown/src/pulldown.min.js +0 -1
- package/lib/pulldown/style/index.js +0 -1
- package/lib/pulldown/style/style.css +0 -85
- package/lib/pulldown/style/style.min.css +0 -1
- package/lib/radio/index.d.ts +0 -4
- package/lib/radio/index.js +0 -17
- package/lib/radio/index.min.js +0 -1
- package/lib/radio/src/button.js +0 -128
- package/lib/radio/src/button.min.js +0 -1
- package/lib/radio/src/group.js +0 -97
- package/lib/radio/src/group.min.js +0 -1
- package/lib/radio/src/radio.js +0 -133
- package/lib/radio/src/radio.min.js +0 -1
- package/lib/radio/style/index.js +0 -1
- package/lib/radio/style/style.css +0 -328
- package/lib/radio/style/style.min.css +0 -1
- package/lib/radio-button/index.d.ts +0 -4
- package/lib/radio-button/index.js +0 -17
- package/lib/radio-button/index.min.js +0 -1
- package/lib/radio-button/style/index.js +0 -1
- package/lib/radio-button/style/style.css +0 -26
- package/lib/radio-group/index.d.ts +0 -4
- package/lib/radio-group/index.js +0 -17
- package/lib/radio-group/index.min.js +0 -1
- package/lib/radio-group/style/index.js +0 -1
- package/lib/radio-group/style/style.css +0 -26
- package/lib/select/index.d.ts +0 -4
- package/lib/select/index.js +0 -23
- package/lib/select/index.min.js +0 -1
- package/lib/select/src/optgroup.js +0 -57
- package/lib/select/src/optgroup.min.js +0 -1
- package/lib/select/src/option.js +0 -51
- package/lib/select/src/option.min.js +0 -1
- package/lib/select/src/select.js +0 -1068
- package/lib/select/src/select.min.js +0 -1
- package/lib/select/src/util.js +0 -74
- package/lib/select/src/util.min.js +0 -1
- package/lib/select/style/index.js +0 -1
- package/lib/select/style/style.css +0 -229
- package/lib/select/style/style.min.css +0 -1
- package/lib/switch/index.d.ts +0 -4
- package/lib/switch/index.js +0 -17
- package/lib/switch/index.min.js +0 -1
- package/lib/switch/src/switch.js +0 -161
- package/lib/switch/src/switch.min.js +0 -1
- package/lib/switch/style/index.js +0 -1
- package/lib/switch/style/style.css +0 -134
- package/lib/switch/style/style.min.css +0 -1
- package/lib/table/index.d.ts +0 -4
- package/lib/textarea/index.d.ts +0 -4
- package/lib/textarea/index.js +0 -17
- package/lib/textarea/index.min.js +0 -1
- package/lib/textarea/src/textarea.js +0 -282
- package/lib/textarea/src/textarea.min.js +0 -1
- package/lib/textarea/style/index.js +0 -1
- package/lib/textarea/style/style.css +0 -131
- package/lib/textarea/style/style.min.css +0 -1
- package/lib/toolbar/index.d.ts +0 -4
- package/lib/tools/dom.js +0 -196
- package/lib/tools/dom.min.js +0 -1
- package/lib/tools/event.js +0 -96
- package/lib/tools/event.min.js +0 -1
- package/lib/tools/log.js +0 -22
- package/lib/tools/log.min.js +0 -1
- package/lib/tools/resize.js +0 -103
- package/lib/tools/resize.min.js +0 -1
- package/lib/tools/utils.js +0 -116
- package/lib/tools/utils.min.js +0 -1
- package/lib/tools/vn.js +0 -14
- package/lib/tools/vn.min.js +0 -1
- package/lib/tooltip/index.d.ts +0 -4
- package/lib/tooltip/index.js +0 -18
- package/lib/tooltip/index.min.js +0 -1
- package/lib/tooltip/src/tooltip.js +0 -361
- package/lib/tooltip/src/tooltip.min.js +0 -1
- package/lib/tooltip/style/index.js +0 -1
- package/lib/tooltip/style/style.css +0 -130
- package/lib/tooltip/style/style.min.css +0 -1
- package/lib/ui/index.d.ts +0 -4
- package/lib/v-x-e-table/index.d.ts +0 -4
- package/lib/v-x-e-table/src/commands.js +0 -74
- package/lib/v-x-e-table/src/commands.min.js +0 -1
- package/lib/v-x-e-table/src/conf.js +0 -420
- package/lib/v-x-e-table/src/conf.min.js +0 -1
- package/lib/v-x-e-table/src/formats.js +0 -74
- package/lib/v-x-e-table/src/formats.min.js +0 -1
- package/lib/v-x-e-table/src/interceptor.js +0 -59
- package/lib/v-x-e-table/src/interceptor.min.js +0 -1
- package/lib/v-x-e-table/src/menus.js +0 -74
- package/lib/v-x-e-table/src/menus.min.js +0 -1
- package/lib/v-x-e-table/src/renderer.js +0 -1026
- package/lib/v-x-e-table/src/renderer.min.js +0 -1
- package/lib/v-x-e-table/src/store.js +0 -62
- package/lib/v-x-e-table/src/store.min.js +0 -1
- package/lib/v-x-e-table/src/theme.js +0 -25
- package/lib/v-x-e-table/src/theme.min.js +0 -1
- package/lib/v-x-e-table/src/validators.js +0 -14
- package/lib/v-x-e-table/src/validators.min.js +0 -1
- package/lib/validator/index.d.ts +0 -4
- package/lib/validator/index.js +0 -18
- package/lib/validator/index.min.js +0 -1
- package/lib/validator/src/mixin.js +0 -545
- package/lib/validator/src/mixin.min.js +0 -1
- package/lib/validator/style/index.js +0 -1
- package/lib/validator/style/style.css +0 -26
- package/lib/vxe-button/index.d.ts +0 -4
- package/lib/vxe-button/index.js +0 -23
- package/lib/vxe-button/index.min.js +0 -1
- package/lib/vxe-button/style/index.js +0 -1
- package/lib/vxe-button/style/style.css +0 -571
- package/lib/vxe-button/style/style.min.css +0 -1
- package/lib/vxe-button-group/index.d.ts +0 -4
- package/lib/vxe-button-group/index.js +0 -23
- package/lib/vxe-button-group/index.min.js +0 -1
- package/lib/vxe-button-group/style/index.js +0 -1
- package/lib/vxe-button-group/style/style.css +0 -29
- package/lib/vxe-button-group/style/style.min.css +0 -1
- package/lib/vxe-checkbox/index.d.ts +0 -4
- package/lib/vxe-checkbox/index.js +0 -23
- package/lib/vxe-checkbox/index.min.js +0 -1
- package/lib/vxe-checkbox/style/index.js +0 -1
- package/lib/vxe-checkbox/style/style.css +0 -292
- package/lib/vxe-checkbox/style/style.min.css +0 -1
- package/lib/vxe-checkbox-group/index.d.ts +0 -4
- package/lib/vxe-checkbox-group/index.js +0 -23
- package/lib/vxe-checkbox-group/index.min.js +0 -1
- package/lib/vxe-checkbox-group/style/index.js +0 -1
- package/lib/vxe-checkbox-group/style/style.css +0 -26
- package/lib/vxe-colgroup/index.d.ts +0 -4
- package/lib/vxe-column/index.d.ts +0 -4
- package/lib/vxe-form/index.d.ts +0 -4
- package/lib/vxe-form/index.js +0 -23
- package/lib/vxe-form/index.min.js +0 -1
- package/lib/vxe-form/style/index.js +0 -1
- package/lib/vxe-form/style/style.css +0 -444
- package/lib/vxe-form/style/style.min.css +0 -1
- package/lib/vxe-form-gather/index.d.ts +0 -4
- package/lib/vxe-form-gather/index.js +0 -23
- package/lib/vxe-form-gather/index.min.js +0 -1
- package/lib/vxe-form-gather/style/index.js +0 -1
- package/lib/vxe-form-gather/style/style.css +0 -26
- package/lib/vxe-form-item/index.d.ts +0 -4
- package/lib/vxe-form-item/index.js +0 -23
- package/lib/vxe-form-item/index.min.js +0 -1
- package/lib/vxe-form-item/style/index.js +0 -1
- package/lib/vxe-form-item/style/style.css +0 -26
- package/lib/vxe-grid/index.d.ts +0 -4
- package/lib/vxe-icon/index.d.ts +0 -4
- package/lib/vxe-icon/index.js +0 -23
- package/lib/vxe-icon/index.min.js +0 -1
- package/lib/vxe-icon/style/index.js +0 -1
- package/lib/vxe-icon/style/style.css +0 -1550
- package/lib/vxe-icon/style/style.min.css +0 -1
- package/lib/vxe-input/index.d.ts +0 -4
- package/lib/vxe-input/index.js +0 -23
- package/lib/vxe-input/index.min.js +0 -1
- package/lib/vxe-input/style/index.js +0 -1
- package/lib/vxe-input/style/style.css +0 -1039
- package/lib/vxe-input/style/style.min.css +0 -1
- package/lib/vxe-list/index.d.ts +0 -4
- package/lib/vxe-list/index.js +0 -23
- package/lib/vxe-list/index.min.js +0 -1
- package/lib/vxe-list/style/index.js +0 -1
- package/lib/vxe-list/style/style.css +0 -52
- package/lib/vxe-list/style/style.min.css +0 -1
- package/lib/vxe-loading/index.d.ts +0 -4
- package/lib/vxe-loading/index.js +0 -23
- package/lib/vxe-loading/index.min.js +0 -1
- package/lib/vxe-loading/style/index.js +0 -1
- package/lib/vxe-loading/style/style.css +0 -104
- package/lib/vxe-loading/style/style.min.css +0 -1
- package/lib/vxe-modal/index.d.ts +0 -4
- package/lib/vxe-modal/index.js +0 -23
- package/lib/vxe-modal/index.min.js +0 -1
- package/lib/vxe-modal/style/index.js +0 -1
- package/lib/vxe-modal/style/style.css +0 -354
- package/lib/vxe-modal/style/style.min.css +0 -1
- package/lib/vxe-optgroup/index.d.ts +0 -4
- package/lib/vxe-optgroup/index.js +0 -23
- package/lib/vxe-optgroup/index.min.js +0 -1
- package/lib/vxe-optgroup/style/index.js +0 -1
- package/lib/vxe-optgroup/style/style.css +0 -26
- package/lib/vxe-option/index.d.ts +0 -4
- package/lib/vxe-option/index.js +0 -23
- package/lib/vxe-option/index.min.js +0 -1
- package/lib/vxe-option/style/index.js +0 -1
- package/lib/vxe-option/style/style.css +0 -26
- package/lib/vxe-pager/index.d.ts +0 -4
- package/lib/vxe-pager/index.js +0 -23
- package/lib/vxe-pager/index.min.js +0 -1
- package/lib/vxe-pager/style/index.js +0 -1
- package/lib/vxe-pager/style/style.css +0 -329
- package/lib/vxe-pager/style/style.min.css +0 -1
- package/lib/vxe-pulldown/index.d.ts +0 -4
- package/lib/vxe-pulldown/index.js +0 -23
- package/lib/vxe-pulldown/index.min.js +0 -1
- package/lib/vxe-pulldown/style/index.js +0 -1
- package/lib/vxe-pulldown/style/style.css +0 -85
- package/lib/vxe-pulldown/style/style.min.css +0 -1
- package/lib/vxe-radio/index.d.ts +0 -4
- package/lib/vxe-radio/index.js +0 -23
- package/lib/vxe-radio/index.min.js +0 -1
- package/lib/vxe-radio/style/index.js +0 -1
- package/lib/vxe-radio/style/style.css +0 -328
- package/lib/vxe-radio/style/style.min.css +0 -1
- package/lib/vxe-radio-button/index.d.ts +0 -4
- package/lib/vxe-radio-button/index.js +0 -23
- package/lib/vxe-radio-button/index.min.js +0 -1
- package/lib/vxe-radio-button/style/index.js +0 -1
- package/lib/vxe-radio-button/style/style.css +0 -26
- package/lib/vxe-radio-group/index.d.ts +0 -4
- package/lib/vxe-radio-group/index.js +0 -23
- package/lib/vxe-radio-group/index.min.js +0 -1
- package/lib/vxe-radio-group/style/index.js +0 -1
- package/lib/vxe-radio-group/style/style.css +0 -26
- package/lib/vxe-select/index.d.ts +0 -4
- package/lib/vxe-select/index.js +0 -23
- package/lib/vxe-select/index.min.js +0 -1
- package/lib/vxe-select/style/index.js +0 -1
- package/lib/vxe-select/style/style.css +0 -229
- package/lib/vxe-select/style/style.min.css +0 -1
- package/lib/vxe-switch/index.d.ts +0 -4
- package/lib/vxe-switch/index.js +0 -23
- package/lib/vxe-switch/index.min.js +0 -1
- package/lib/vxe-switch/style/index.js +0 -1
- package/lib/vxe-switch/style/style.css +0 -134
- package/lib/vxe-switch/style/style.min.css +0 -1
- package/lib/vxe-table/index.d.ts +0 -4
- package/lib/vxe-table-custom-module/index.d.ts +0 -4
- package/lib/vxe-table-custom-module/index.js +0 -23
- package/lib/vxe-table-custom-module/index.min.js +0 -1
- package/lib/vxe-table-custom-module/style/index.js +0 -1
- package/lib/vxe-table-custom-module/style/style.css +0 -629
- package/lib/vxe-table-custom-module/style/style.min.css +0 -1
- package/lib/vxe-table-edit-module/index.d.ts +0 -4
- package/lib/vxe-table-edit-module/index.js +0 -23
- package/lib/vxe-table-edit-module/index.min.js +0 -1
- package/lib/vxe-table-edit-module/style/index.js +0 -1
- package/lib/vxe-table-edit-module/style/style.css +0 -26
- package/lib/vxe-table-export-module/index.d.ts +0 -4
- package/lib/vxe-table-export-module/index.js +0 -23
- package/lib/vxe-table-export-module/index.min.js +0 -1
- package/lib/vxe-table-export-module/style/index.js +0 -1
- package/lib/vxe-table-export-module/style/style.css +0 -219
- package/lib/vxe-table-export-module/style/style.min.css +0 -1
- package/lib/vxe-table-filter-module/index.d.ts +0 -4
- package/lib/vxe-table-filter-module/index.js +0 -23
- package/lib/vxe-table-filter-module/index.min.js +0 -1
- package/lib/vxe-table-filter-module/style/index.js +0 -1
- package/lib/vxe-table-filter-module/style/style.css +0 -166
- package/lib/vxe-table-filter-module/style/style.min.css +0 -1
- package/lib/vxe-table-keyboard-module/index.d.ts +0 -4
- package/lib/vxe-table-keyboard-module/index.js +0 -23
- package/lib/vxe-table-keyboard-module/index.min.js +0 -1
- package/lib/vxe-table-keyboard-module/style/index.js +0 -1
- package/lib/vxe-table-keyboard-module/style/style.css +0 -26
- package/lib/vxe-table-menu-module/index.d.ts +0 -4
- package/lib/vxe-table-menu-module/index.js +0 -23
- package/lib/vxe-table-menu-module/index.min.js +0 -1
- package/lib/vxe-table-menu-module/style/index.js +0 -1
- package/lib/vxe-table-menu-module/style/style.css +0 -126
- package/lib/vxe-table-menu-module/style/style.min.css +0 -1
- package/lib/vxe-table-validator-module/index.d.ts +0 -4
- package/lib/vxe-table-validator-module/index.js +0 -23
- package/lib/vxe-table-validator-module/index.min.js +0 -1
- package/lib/vxe-table-validator-module/style/index.js +0 -1
- package/lib/vxe-table-validator-module/style/style.css +0 -26
- package/lib/vxe-textarea/index.d.ts +0 -4
- package/lib/vxe-textarea/index.js +0 -23
- package/lib/vxe-textarea/index.min.js +0 -1
- package/lib/vxe-textarea/style/index.js +0 -1
- package/lib/vxe-textarea/style/style.css +0 -131
- package/lib/vxe-textarea/style/style.min.css +0 -1
- package/lib/vxe-toolbar/index.d.ts +0 -4
- package/lib/vxe-tooltip/index.d.ts +0 -4
- package/lib/vxe-tooltip/index.js +0 -23
- package/lib/vxe-tooltip/index.min.js +0 -1
- package/lib/vxe-tooltip/style/index.js +0 -1
- package/lib/vxe-tooltip/style/style.css +0 -130
- package/lib/vxe-tooltip/style/style.min.css +0 -1
- package/packages/all.js +0 -136
- package/packages/button/index.d.ts +0 -4
- package/packages/button/index.js +0 -13
- package/packages/button/src/button.js +0 -460
- package/packages/button/src/group.js +0 -41
- package/packages/button-group/index.d.ts +0 -4
- package/packages/button-group/index.js +0 -13
- package/packages/checkbox/index.d.ts +0 -4
- package/packages/checkbox/index.js +0 -13
- package/packages/checkbox/src/checkbox.js +0 -108
- package/packages/checkbox/src/group.js +0 -86
- package/packages/checkbox-group/index.d.ts +0 -4
- package/packages/checkbox-group/index.js +0 -13
- package/packages/colgroup/index.d.ts +0 -4
- package/packages/colgroup/index.js +0 -15
- package/packages/column/index.d.ts +0 -4
- package/packages/column/index.js +0 -15
- package/packages/custom/index.d.ts +0 -4
- package/packages/custom/index.js +0 -17
- package/packages/custom/src/mixin.js +0 -87
- package/packages/custom/src/panel.js +0 -919
- package/packages/edit/index.d.ts +0 -4
- package/packages/edit/index.js +0 -14
- package/packages/edit/src/mixin.js +0 -790
- package/packages/export/index.d.ts +0 -4
- package/packages/export/index.js +0 -42
- package/packages/export/src/export-panel.js +0 -444
- package/packages/export/src/import-panel.js +0 -184
- package/packages/export/src/mixin.js +0 -1529
- package/packages/filter/index.d.ts +0 -4
- package/packages/filter/index.js +0 -17
- package/packages/filter/src/mixin.js +0 -271
- package/packages/filter/src/panel.js +0 -210
- package/packages/form/index.d.ts +0 -4
- package/packages/form/index.js +0 -13
- package/packages/form/src/form-config-item.js +0 -182
- package/packages/form/src/form-gather.js +0 -21
- package/packages/form/src/form-item.js +0 -246
- package/packages/form/src/form.js +0 -621
- package/packages/form/src/render.js +0 -81
- package/packages/form/src/util.js +0 -117
- package/packages/form-gather/index.d.ts +0 -4
- package/packages/form-gather/index.js +0 -13
- package/packages/form-item/index.d.ts +0 -4
- package/packages/form-item/index.js +0 -13
- package/packages/grid/index.d.ts +0 -4
- package/packages/grid/index.js +0 -15
- package/packages/grid/src/grid.js +0 -1118
- package/packages/icon/index.d.ts +0 -4
- package/packages/icon/index.js +0 -13
- package/packages/icon/src/icon.js +0 -22
- package/packages/index.common.js +0 -4
- package/packages/input/index.d.ts +0 -4
- package/packages/input/index.js +0 -13
- package/packages/input/src/date.js +0 -38
- package/packages/input/src/input.js +0 -2171
- package/packages/input/src/number.js +0 -12
- package/packages/keyboard/index.d.ts +0 -4
- package/packages/keyboard/index.js +0 -14
- package/packages/keyboard/src/mixin.js +0 -355
- package/packages/list/index.d.ts +0 -4
- package/packages/list/index.js +0 -13
- package/packages/list/src/list.js +0 -294
- package/packages/loading/index.d.ts +0 -4
- package/packages/loading/index.js +0 -13
- package/packages/loading/src/loading.js +0 -45
- package/packages/locale/lang/en-US.d.ts +0 -8
- package/packages/locale/lang/en-US.js +0 -670
- package/packages/locale/lang/es-ES.d.ts +0 -8
- package/packages/locale/lang/es-ES.js +0 -670
- package/packages/locale/lang/ja-JP.d.ts +0 -8
- package/packages/locale/lang/ja-JP.js +0 -670
- package/packages/locale/lang/language.d.ts +0 -5
- package/packages/locale/lang/pt-BR.d.ts +0 -8
- package/packages/locale/lang/pt-BR.js +0 -670
- package/packages/locale/lang/zh-CN.d.ts +0 -8
- package/packages/locale/lang/zh-CN.js +0 -670
- package/packages/locale/lang/zh-HK.d.ts +0 -8
- package/packages/locale/lang/zh-MO.d.ts +0 -8
- package/packages/locale/lang/zh-TC.d.ts +0 -8
- package/packages/locale/lang/zh-TC.js +0 -670
- package/packages/locale/lang/zh-TW.d.ts +0 -8
- package/packages/menu/index.d.ts +0 -4
- package/packages/menu/index.js +0 -17
- package/packages/menu/src/mixin.js +0 -270
- package/packages/menu/src/panel.js +0 -130
- package/packages/mixins/size.js +0 -8
- package/packages/modal/index.d.ts +0 -4
- package/packages/modal/index.js +0 -116
- package/packages/modal/src/modal.js +0 -822
- package/packages/optgroup/index.d.ts +0 -4
- package/packages/optgroup/index.js +0 -13
- package/packages/option/index.d.ts +0 -4
- package/packages/option/index.js +0 -13
- package/packages/pager/index.d.ts +0 -4
- package/packages/pager/index.js +0 -13
- package/packages/pager/src/pager.js +0 -477
- package/packages/pulldown/index.d.ts +0 -4
- package/packages/pulldown/index.js +0 -13
- package/packages/pulldown/src/pulldown.js +0 -273
- package/packages/radio/index.d.ts +0 -4
- package/packages/radio/index.js +0 -13
- package/packages/radio/src/button.js +0 -102
- package/packages/radio/src/group.js +0 -76
- package/packages/radio/src/radio.js +0 -109
- package/packages/radio-button/index.d.ts +0 -4
- package/packages/radio-button/index.js +0 -13
- package/packages/radio-group/index.d.ts +0 -4
- package/packages/radio-group/index.js +0 -13
- package/packages/select/index.d.ts +0 -4
- package/packages/select/index.js +0 -19
- package/packages/select/src/optgroup.js +0 -48
- package/packages/select/src/option.js +0 -42
- package/packages/select/src/select.js +0 -921
- package/packages/select/src/util.js +0 -52
- package/packages/switch/index.d.ts +0 -4
- package/packages/switch/index.js +0 -13
- package/packages/switch/src/switch.js +0 -138
- package/packages/table/index.d.ts +0 -4
- package/packages/table/index.js +0 -35
- package/packages/table/src/body.js +0 -826
- package/packages/table/src/cell.js +0 -842
- package/packages/table/src/column.js +0 -141
- package/packages/table/src/columnInfo.js +0 -168
- package/packages/table/src/footer.js +0 -293
- package/packages/table/src/header.js +0 -295
- package/packages/table/src/methods.js +0 -5532
- package/packages/table/src/table.js +0 -1297
- package/packages/table/src/util.js +0 -364
- package/packages/textarea/index.d.ts +0 -4
- package/packages/textarea/index.js +0 -13
- package/packages/textarea/src/textarea.js +0 -224
- package/packages/toolbar/index.d.ts +0 -4
- package/packages/toolbar/index.js +0 -13
- package/packages/toolbar/src/toolbar.js +0 -467
- package/packages/tools/dom.js +0 -179
- package/packages/tools/event.js +0 -82
- package/packages/tools/log.js +0 -16
- package/packages/tools/resize.js +0 -76
- package/packages/tools/utils.js +0 -94
- package/packages/tools/vn.js +0 -8
- package/packages/tooltip/index.d.ts +0 -4
- package/packages/tooltip/index.js +0 -14
- package/packages/tooltip/src/tooltip.js +0 -285
- package/packages/ui/index.d.ts +0 -4
- package/packages/ui/index.js +0 -4
- package/packages/v-x-e-table/index.d.ts +0 -4
- package/packages/v-x-e-table/index.js +0 -196
- package/packages/v-x-e-table/src/commands.js +0 -55
- package/packages/v-x-e-table/src/conf.js +0 -420
- package/packages/v-x-e-table/src/formats.js +0 -55
- package/packages/v-x-e-table/src/interceptor.js +0 -53
- package/packages/v-x-e-table/src/menus.js +0 -55
- package/packages/v-x-e-table/src/renderer.js +0 -951
- package/packages/v-x-e-table/src/store.js +0 -44
- package/packages/v-x-e-table/src/theme.js +0 -19
- package/packages/v-x-e-table/src/validators.js +0 -7
- package/packages/validator/index.d.ts +0 -4
- package/packages/validator/index.js +0 -14
- package/packages/validator/src/mixin.js +0 -473
- package/styles/base/common.scss +0 -88
- package/styles/button-group.scss +0 -5
- package/styles/button.scss +0 -374
- package/styles/checkbox-group.scss +0 -1
- package/styles/checkbox.scss +0 -91
- package/styles/colgroup.scss +0 -1
- package/styles/column.scss +0 -1
- package/styles/css-variable.scss +0 -272
- package/styles/custom.scss +0 -386
- package/styles/edit.scss +0 -1
- package/styles/export.scss +0 -126
- package/styles/filter.scss +0 -113
- package/styles/footer.scss +0 -1
- package/styles/form-gather.scss +0 -1
- package/styles/form-item.scss +0 -1
- package/styles/form.scss +0 -366
- package/styles/grid.scss +0 -64
- package/styles/header.scss +0 -1
- package/styles/icon.scss +0 -972
- package/styles/input.scss +0 -917
- package/styles/keyboard.scss +0 -1
- package/styles/list.scss +0 -28
- package/styles/loading.scss +0 -87
- package/styles/menu.scss +0 -89
- package/styles/modal.scss +0 -387
- package/styles/old-icon.scss +0 -722
- package/styles/optgroup.scss +0 -1
- package/styles/option.scss +0 -1
- package/styles/pager.scss +0 -270
- package/styles/pulldown.scss +0 -58
- package/styles/radio-button.scss +0 -1
- package/styles/radio-group.scss +0 -1
- package/styles/radio.scss +0 -147
- package/styles/select.scss +0 -228
- package/styles/switch.scss +0 -125
- package/styles/table.scss +0 -1476
- package/styles/textarea.scss +0 -104
- package/styles/toolbar.scss +0 -103
- package/styles/tooltip.scss +0 -127
- package/styles/v-x-e-table.scss +0 -3
- package/styles/validator.scss +0 -1
- package/styles/vxe-table.scss +0 -1
- package/types/button-group.d.ts +0 -11
- package/types/button.d.ts +0 -49
- package/types/checkbox-group.d.ts +0 -17
- package/types/checkbox.d.ts +0 -33
- package/types/colgroup.d.ts +0 -155
- package/types/column.d.ts +0 -433
- package/types/component.d.ts +0 -29
- package/types/form-gather.d.ts +0 -13
- package/types/form-item.d.ts +0 -217
- package/types/form.d.ts +0 -149
- package/types/grid.d.ts +0 -169
- package/types/icon.d.ts +0 -7
- package/types/input.d.ts +0 -163
- package/types/list.d.ts +0 -71
- package/types/loading.d.ts +0 -10
- package/types/modal.d.ts +0 -329
- package/types/module/custom.d.ts +0 -11
- package/types/module/edit.d.ts +0 -67
- package/types/module/export.d.ts +0 -255
- package/types/module/filter.d.ts +0 -133
- package/types/module/index.d.ts +0 -7
- package/types/module/keyboard.d.ts +0 -11
- package/types/module/menu.d.ts +0 -85
- package/types/module/validator.d.ts +0 -77
- package/types/optgroup.d.ts +0 -20
- package/types/option.d.ts +0 -24
- package/types/pager.d.ts +0 -123
- package/types/pulldown.d.ts +0 -44
- package/types/radio-button.d.ts +0 -20
- package/types/radio-group.d.ts +0 -16
- package/types/radio.d.ts +0 -32
- package/types/select.d.ts +0 -66
- package/types/switch.d.ts +0 -22
- package/types/table.d.ts +0 -1662
- package/types/textarea.d.ts +0 -65
- package/types/toolbar.d.ts +0 -191
- package/types/tooltip.d.ts +0 -40
- package/types/v-x-e-table/commands.d.ts +0 -29
- package/types/v-x-e-table/formats.d.ts +0 -28
- package/types/v-x-e-table/index.d.ts +0 -229
- package/types/v-x-e-table/interceptor.d.ts +0 -46
- package/types/v-x-e-table/menus.d.ts +0 -24
- package/types/v-x-e-table/renderer.d.ts +0 -355
- package/types/v-x-e-table/validators.d.ts +0 -30
- /package/{lib/checkbox-group/style/style.min.css → es/colgroup/style.css} +0 -0
- /package/{lib/edit/style → es/colgroup}/style.min.css +0 -0
- /package/{lib/form-gather/style/style.min.css → es/column/style.css} +0 -0
- /package/{lib/form-item/style → es/column}/style.min.css +0 -0
- /package/{lib/keyboard/style/style.min.css → es/ui/style.css} +0 -0
- /package/{lib/optgroup/style → es/ui}/style.min.css +0 -0
- /package/{lib/option/style/style.min.css → es/v-x-e-table/style.css} +0 -0
- /package/{lib/radio-button/style → es/v-x-e-table}/style.min.css +0 -0
- /package/{lib/radio-group/style/style.min.css → es/vxe-colgroup/style.css} +0 -0
- /package/{lib/validator/style → es/vxe-colgroup}/style.min.css +0 -0
- /package/{lib/vxe-checkbox-group/style/style.min.css → es/vxe-column/style.css} +0 -0
- /package/{lib/vxe-form-gather/style → es/vxe-column}/style.min.css +0 -0
- /package/{lib/vxe-form-item/style/style.min.css → es/vxe-ui/style.css} +0 -0
- /package/{lib/vxe-optgroup/style → es/vxe-ui}/style.min.css +0 -0
- /package/{lib/vxe-option/style/style.min.css → es/vxe-v-x-e-table/style.css} +0 -0
- /package/{lib/vxe-radio-button/style → es/vxe-v-x-e-table}/style.min.css +0 -0
- /package/lib/{button-group → ui}/style/index.js +0 -0
- /package/lib/{vxe-radio-group/style/style.min.css → ui/style/style.css} +0 -0
- /package/lib/{vxe-table-edit-module → ui}/style/style.min.css +0 -0
- /package/lib/{button → vxe-ui}/style/index.js +0 -0
- /package/lib/{vxe-table-keyboard-module/style/style.min.css → vxe-ui/style/style.css} +0 -0
- /package/lib/{vxe-table-validator-module → vxe-ui}/style/style.min.css +0 -0
- /package/lib/{checkbox-group → vxe-v-x-e-table}/style/index.js +0 -0
- /package/packages/locale/lang/{zh-HK.js → zh-HK.ts} +0 -0
- /package/packages/locale/lang/{zh-MO.js → zh-MO.ts} +0 -0
- /package/packages/locale/lang/{zh-TW.js → zh-TW.ts} +0 -0
- /package/packages/table/src/{group.js → group.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vxe-input--inner{width:100%;height:100%;border-radius:4px;outline:0;margin:0;font-size:inherit;font-family:inherit;line-height:inherit;padding:0 .6em;color:#606266;border:1px solid #dcdfe6;background-color:#fff;box-shadow:none}.vxe-input--inner::-moz-placeholder{color:#c0c4cc}.vxe-input--inner:-ms-input-placeholder{color:#c0c4cc}.vxe-input--inner::placeholder{color:#c0c4cc}.vxe-input--inner::-webkit-autofill{background-color:#fff}.vxe-input--inner[type=number]{-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.vxe-input--inner[type=number]::-webkit-inner-spin-button,.vxe-input--inner[type=number]::-webkit-outer-spin-button,.vxe-input--inner[type=search],.vxe-input--inner[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.vxe-input--inner[disabled]{cursor:not-allowed;color:#bfbfbf;background-color:#f3f3f3}.vxe-input{display:inline-block;position:relative;width:180px}.vxe-input.is--disabled .vxe-input--date-picker-suffix,.vxe-input.is--disabled .vxe-input--number-suffix,.vxe-input.is--disabled .vxe-input--password-suffix,.vxe-input.is--disabled .vxe-input--search-suffix,.vxe-input.is--disabled .vxe-input--suffix{cursor:no-drop}.vxe-input:not(.is--disabled) .vxe-input--clear-icon,.vxe-input:not(.is--disabled) .vxe-input--number-suffix,.vxe-input:not(.is--disabled) .vxe-input--password-suffix,.vxe-input:not(.is--disabled) .vxe-input--search-suffix{cursor:pointer}.vxe-input:not(.is--disabled).is--active .vxe-input--inner{border:1px solid #409eff}.vxe-input .vxe-input--extra-suffix,.vxe-input .vxe-input--prefix,.vxe-input .vxe-input--suffix{display:flex;position:absolute;top:0;width:1.6em;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;justify-content:center;color:#c0c4cc}.vxe-input--count{position:absolute;top:1px;right:.5em;height:calc(100% - 2px);color:#999;background-color:#fff}.vxe-input--count.is--error{color:#f56c6c}.vxe-input .vxe-input--prefix{left:.2em}.vxe-input.is--prefix .vxe-input--inner{padding-left:1.8em}.vxe-input .vxe-input--clear-icon{display:none}.vxe-input .vxe-input--extra-suffix,.vxe-input .vxe-input--suffix{right:.2em}.vxe-input.is--suffix .vxe-input--inner{padding-right:1.8em}.vxe-input.is--suffix.is--count .vxe-input--inner{padding-right:5em}.vxe-input.is--suffix .vxe-input--count{right:2.1em}.vxe-input.is--left .vxe-input--inner{text-align:left}.vxe-input.is--center .vxe-input--inner{text-align:center}.vxe-input.is--right .vxe-input--inner{text-align:right}.vxe-input.is--count .vxe-input--inner{padding-right:3.4em}.vxe-input.is--controls.type--date .vxe-input--inner,.vxe-input.is--controls.type--datetime .vxe-input--inner,.vxe-input.is--controls.type--float .vxe-input--inner,.vxe-input.is--controls.type--integer .vxe-input--inner,.vxe-input.is--controls.type--month .vxe-input--inner,.vxe-input.is--controls.type--number .vxe-input--inner,.vxe-input.is--controls.type--password .vxe-input--inner,.vxe-input.is--controls.type--quarter .vxe-input--inner,.vxe-input.is--controls.type--search .vxe-input--inner,.vxe-input.is--controls.type--time .vxe-input--inner,.vxe-input.is--controls.type--week .vxe-input--inner,.vxe-input.is--controls.type--year .vxe-input--inner{padding-right:1.8em}.vxe-input.is--controls.type--date .vxe-input--suffix,.vxe-input.is--controls.type--datetime .vxe-input--suffix,.vxe-input.is--controls.type--float .vxe-input--suffix,.vxe-input.is--controls.type--integer .vxe-input--suffix,.vxe-input.is--controls.type--month .vxe-input--suffix,.vxe-input.is--controls.type--number .vxe-input--suffix,.vxe-input.is--controls.type--password .vxe-input--suffix,.vxe-input.is--controls.type--quarter .vxe-input--suffix,.vxe-input.is--controls.type--search .vxe-input--suffix,.vxe-input.is--controls.type--time .vxe-input--suffix,.vxe-input.is--controls.type--week .vxe-input--suffix,.vxe-input.is--controls.type--year .vxe-input--suffix{right:1.6em}.vxe-input.is--suffix.is--controls.type--date .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--datetime .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--float .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--integer .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--month .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--number .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--password .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--quarter .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--search .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--time .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--week .vxe-input--inner,.vxe-input.is--suffix.is--controls.type--year .vxe-input--inner{padding-right:3.2em}.vxe-input.is--suffix:hover .vxe-input--suffix.is--clear .vxe-input--suffix-icon{display:none}.vxe-input.is--suffix:hover .vxe-input--suffix.is--clear .vxe-input--clear-icon{display:inline}.vxe-input:not(.is--disabled) .vxe-input--suffix:hover .vxe-input--clear-icon{color:#606266}.vxe-input:not(.is--disabled) .vxe-input--suffix:active .vxe-input--clear-icon{color:#409eff}.vxe-input:not(.is--disabled) .vxe-input--extra-suffix:hover .vxe-input--password-suffix,.vxe-input:not(.is--disabled) .vxe-input--extra-suffix:hover .vxe-input--search-suffix{color:#606266}.vxe-input:not(.is--disabled) .vxe-input--extra-suffix:active .vxe-input--password-suffix,.vxe-input:not(.is--disabled) .vxe-input--extra-suffix:active .vxe-input--search-suffix{color:#409eff}.vxe-input:not(.is--disabled) .vxe-input--number-next:hover,.vxe-input:not(.is--disabled) .vxe-input--number-prev:hover{color:#606266}.vxe-input:not(.is--disabled) .vxe-input--number-next:active,.vxe-input:not(.is--disabled) .vxe-input--number-prev:active{color:#409eff}.vxe-input:not(.is--disabled) .vxe-input--number-next.is--disabled,.vxe-input:not(.is--disabled) .vxe-input--number-prev.is--disabled{cursor:no-drop;color:#e4e7ed}.vxe-input .vxe-input--date-picker-suffix,.vxe-input .vxe-input--number-suffix,.vxe-input .vxe-input--password-suffix,.vxe-input .vxe-input--search-suffix{position:relative;width:100%;height:100%}.vxe-input .vxe-input--date-picker-icon,.vxe-input .vxe-input--password-icon,.vxe-input .vxe-input--search-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.vxe-input .vxe-input--date-picker-icon[class*=vxe-icon-],.vxe-input .vxe-input--password-icon[class*=vxe-icon-],.vxe-input .vxe-input--search-icon[class*=vxe-icon-]{font-size:1.2em}.vxe-input .vxe-input--date-picker-suffix{display:flex;align-items:center;justify-content:center}.vxe-input .vxe-input--date-picker-suffix .vxe-input--panel-icon{transition:transform .2s ease-in-out}.vxe-input .vxe-input--number-next,.vxe-input .vxe-input--number-prev{position:relative;display:block;height:50%;width:100%;text-align:center}.vxe-input .vxe-input--number-next-icon,.vxe-input .vxe-input--number-prev-icon{line-height:.8em;position:absolute;left:50%;transform:translateX(-50%)}.vxe-input .vxe-input--number-prev-icon{bottom:0}.vxe-input .vxe-input--number-next-icon{top:0}.vxe-input--panel{display:none;position:absolute;left:0;padding:4px 0;color:#606266;font-size:14px;text-align:left}.vxe-input--panel:not(.is--transfer){min-width:100%}.vxe-input--panel.is--transfer{position:fixed}.vxe-input--panel.animat--leave{display:block;opacity:0;transform:scaleY(.5);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top;backface-visibility:hidden;transform-style:preserve-3d}.vxe-input--panel.animat--leave[placement=top]{transform-origin:center bottom}.vxe-input--panel.animat--enter{opacity:1;transform:scaleY(1)}.vxe-input--panel{pointer-events:none}.vxe-input--panel-layout-wrapper,.vxe-input--panel-wrapper{pointer-events:auto;background-color:#fff;border:1px solid #dadce0;box-shadow:0 0 6px 2px rgba(0,0,0,.1);border-radius:4px}.vxe-input--panel-wrapper{overflow-x:hidden;overflow-y:auto}.vxe-input--panel-layout-wrapper{display:inline-flex;flex-direction:row}.vxe-input--panel.type--date,.vxe-input--panel.type--month,.vxe-input--panel.type--quarter,.vxe-input--panel.type--week,.vxe-input--panel.type--year{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-input--panel.type--datetime .vxe-input--panel-right-wrapper{display:flex;flex-direction:column;border-left:1px solid #dcdfe6}.vxe-input--panel.type--date .vxe-input--date-picker-body th,.vxe-input--panel.type--datetime .vxe-input--date-picker-body th{width:14.28571%}.vxe-input--panel.type--week .vxe-input--date-picker-body table th{width:12%}.vxe-input--panel.type--week .vxe-input--date-picker-body table th:first-child{width:14%}.vxe-input--panel.type--quarter .vxe-input--date-picker-body table th{width:50%}.vxe-input--panel.type--month .vxe-input--date-picker-body td,.vxe-input--panel.type--year .vxe-input--date-picker-body td{width:25%}.vxe-input--time-picker-title{display:inline-block;text-align:center;border:1px solid #dcdfe6;border-radius:4px}.vxe-input--time-picker-confirm{position:absolute;right:0;top:0}.vxe-input--date-picker-confirm,.vxe-input--time-picker-confirm{outline:0;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer;color:#fff;border-color:#409eff;background-color:#409eff}.vxe-input--date-picker-confirm:hover,.vxe-input--time-picker-confirm:hover{background-color:#73b8ff;border-color:#73b8ff}.vxe-input--date-picker-confirm:active,.vxe-input--time-picker-confirm:active{background-color:#0d84ff;border-color:#0d84ff}.vxe-input--time-picker-header{display:flex;position:relative;flex-shrink:0}.vxe-input--date-picker-header{display:flex;flex-direction:row;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-input--date-picker-header .vxe-input--date-picker-type-wrapper{flex-grow:1}.vxe-input--date-picker-header .vxe-input--date-picker-btn-wrapper{flex-shrink:0;text-align:center}.vxe-input--date-picker-type-wrapper .vxe-input--date-picker-btn,.vxe-input--date-picker-type-wrapper .vxe-input--date-picker-label{display:inline-block}.vxe-input--date-picker-btn-wrapper{display:flex;flex-direction:row}.vxe-input--date-picker-btn,.vxe-input--date-picker-label{display:flex;align-items:center;justify-content:center;background-color:#fff}.vxe-input--date-picker-btn.is--disabled{color:#bfbfbf;cursor:no-drop}.vxe-input--date-picker-btn:not(.is--disabled){cursor:pointer}.vxe-input--date-picker-btn:not(.is--disabled):hover{background-color:#fff}.vxe-input--date-picker-btn:not(.is--disabled):active{background-color:#fff}.vxe-input--date-picker-body{border-radius:4px;border:1px solid #dadce0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-input--date-picker-body table{border:0;width:100%;border-spacing:0;border-collapse:separate;text-align:center;table-layout:fixed}.vxe-input--date-picker-body td,.vxe-input--date-picker-body th{font-weight:400}.vxe-input--date-picker-body th{box-shadow:inset 0 -1px 0 0 #dadce0}.vxe-input--date-picker-body td.is--next,.vxe-input--date-picker-body td.is--prev{color:#bfbfbf}.vxe-input--date-picker-body td.is--next .vxe-input--date-festival,.vxe-input--date-picker-body td.is--next .vxe-input--date-label,.vxe-input--date-picker-body td.is--prev .vxe-input--date-festival,.vxe-input--date-picker-body td.is--prev .vxe-input--date-label{color:#bfbfbf}.vxe-input--date-picker-body td.is--now{box-shadow:inset 0 0 0 1px #dadce0}.vxe-input--date-picker-body td.is--now:not(.is--selected).is--current{color:#409eff}.vxe-input--date-picker-body td.is--now:not(.is--selected).is--current .vxe-input--date-festival,.vxe-input--date-picker-body td.is--now:not(.is--selected).is--current .vxe-input--date-label{color:#409eff}.vxe-input--date-picker-body td.is--hover{background-color:#f2f6fc}.vxe-input--date-picker-body td.is--selected{color:#fff;background-color:#409eff}.vxe-input--date-picker-body td.is--selected.is--next,.vxe-input--date-picker-body td.is--selected.is--prev{background-color:#73b8ff}.vxe-input--date-picker-body td.is--selected .vxe-input--date-festival,.vxe-input--date-picker-body td.is--selected .vxe-input--date-label{color:#fff}.vxe-input--date-picker-body td.is--selected .vxe-input--date-label.is-notice:before{background-color:#fff}.vxe-input--date-picker-body td:not(.is--disabled){cursor:pointer}.vxe-input--date-picker-body td.is--disabled{cursor:no-drop;color:#dcdfe6;background-color:#f3f3f3}.vxe-input--date-picker-body td.is--disabled .vxe-input--date-festival,.vxe-input--date-picker-body td.is--disabled .vxe-input--date-label{color:#dcdfe6}.vxe-input--date-week-view th:first-child{box-shadow:inset -1px -1px 0 0 #dadce0}.vxe-input--date-week-view td:first-child{box-shadow:inset -1px 0 0 0 #dadce0}.vxe-input--date-festival,.vxe-input--date-label{display:block;overflow:hidden}.vxe-input--date-label{position:relative}.vxe-input--date-label.is-notice:before{content:"";position:absolute;width:4px;height:4px;left:.8em;top:.1em;transform:translateX(-50%);border-radius:100%;background-color:red}.vxe-input--date-label--extra{position:absolute;right:.1em;top:-.2em;font-size:12px;line-height:12px;transform:scale(.7);color:#67c23a}.vxe-input--date-label--extra.is-important{color:#fd2222}.vxe-input--date-festival{color:#999;height:14px;line-height:1;overflow:hidden}.vxe-input--date-festival.is-important{color:#409eff}.vxe-input--date-festival--label{display:block;font-size:12px;transform:scale(.8)}@keyframes festivalOverlap2{0%,100%,45%{transform:translateY(0)}50%,95%{transform:translateY(-14px)}}@keyframes festivalOverlap3{0%,100%,20%{transform:translateY(0)}25%,45%,75%,95%{transform:translateY(-14px)}50%,70%{transform:translateY(-28px)}}.vxe-input--date-festival--overlap{display:block;font-size:12px}.vxe-input--date-festival--overlap.overlap--2{animation:festivalOverlap2 6s infinite ease-in-out}.vxe-input--date-festival--overlap.overlap--3{animation:festivalOverlap3 9s infinite ease-in-out}.vxe-input--date-festival--overlap>span{height:14px;display:block;transform:scale(.8)}.vxe-input--time-picker-body{position:relative;display:flex;flex-direction:row;border:1px solid #dadce0;flex-grow:1;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-input--time-picker-body>ul{height:100%;overflow:hidden;margin:0;padding:0}.vxe-input--time-picker-body>ul:after,.vxe-input--time-picker-body>ul:before{content:" ";display:block}.vxe-input--time-picker-body>ul:hover{overflow-y:auto}.vxe-input--time-picker-body>ul>li{display:block}.vxe-input--time-picker-body>ul>li:hover{background-color:#f2f6fc;cursor:pointer}.vxe-input--time-picker-body>ul>li.is--selected{font-weight:700;color:#409eff}.vxe-input--time-picker-body .vxe-input--time-picker-minute-list{border-left:1px solid #dadce0}.vxe-input--time-picker-body .vxe-input--time-picker-second-list{border-left:1px solid #dadce0}.vxe-input{font-size:14px;height:34px;line-height:34px}.vxe-input .vxe-input--inner[type=date]::-webkit-inner-spin-button,.vxe-input .vxe-input--inner[type=month]::-webkit-inner-spin-button,.vxe-input .vxe-input--inner[type=week]::-webkit-inner-spin-button{margin-top:6px}.vxe-input .vxe-input--inner[type=date]::-webkit-inner-spin-button,.vxe-input .vxe-input--inner[type=month]::-webkit-inner-spin-button,.vxe-input .vxe-input--inner[type=number]::-webkit-inner-spin-button,.vxe-input .vxe-input--inner[type=week]::-webkit-inner-spin-button{height:24px}.vxe-input.size--medium{font-size:14px;height:32px;line-height:32px}.vxe-input.size--medium .vxe-input--inner[type=date]::-webkit-inner-spin-button,.vxe-input.size--medium .vxe-input--inner[type=month]::-webkit-inner-spin-button,.vxe-input.size--medium .vxe-input--inner[type=week]::-webkit-inner-spin-button{margin-top:4px}.vxe-input.size--small{font-size:13px;height:30px;line-height:30px}.vxe-input.size--small .vxe-input--inner[type=date]::-webkit-inner-spin-button,.vxe-input.size--small .vxe-input--inner[type=month]::-webkit-inner-spin-button,.vxe-input.size--small .vxe-input--inner[type=week]::-webkit-inner-spin-button{margin-top:2px}.vxe-input.size--mini{font-size:12px;height:28px;line-height:28px}.vxe-input.size--mini .vxe-input--inner[type=date]::-webkit-inner-spin-button,.vxe-input.size--mini .vxe-input--inner[type=month]::-webkit-inner-spin-button,.vxe-input.size--mini .vxe-input--inner[type=week]::-webkit-inner-spin-button{margin-top:0}.vxe-input--panel{font-size:14px}.vxe-input--panel .vxe-input--panel-wrapper{max-height:380px}.vxe-input--panel.type--date .vxe-input--panel-wrapper,.vxe-input--panel.type--month .vxe-input--panel-wrapper,.vxe-input--panel.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.type--time .vxe-input--panel-wrapper,.vxe-input--panel.type--week .vxe-input--panel-wrapper,.vxe-input--panel.type--year .vxe-input--panel-wrapper{padding:11px}.vxe-input--panel.type--date .vxe-input--panel-wrapper,.vxe-input--panel.type--month .vxe-input--panel-wrapper,.vxe-input--panel.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.type--year .vxe-input--panel-wrapper{width:336px}.vxe-input--panel.type--week .vxe-input--panel-wrapper{width:380px}.vxe-input--panel.type--time .vxe-input--panel-wrapper{width:170px}.vxe-input--panel.type--datetime .vxe-input--panel-left-wrapper{width:336px}.vxe-input--panel.type--datetime .vxe-input--panel-left-wrapper,.vxe-input--panel.type--datetime .vxe-input--panel-right-wrapper{padding:11px}.vxe-input--panel .vxe-input--time-picker-title{height:30px;line-height:30px;padding:0 11px}.vxe-input--panel .vxe-input--date-picker-btn,.vxe-input--panel .vxe-input--date-picker-label{height:30px;line-height:30px}.vxe-input--panel .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-btn{margin-left:8px}.vxe-input--panel .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-current-btn,.vxe-input--panel .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-next-btn,.vxe-input--panel .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-prev-btn{width:30px;border-radius:4px;border:1px solid #dcdfe6}.vxe-input--panel .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-btn,.vxe-input--panel .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-label{padding:0 9px}.vxe-input--panel .vxe-input--date-picker-header,.vxe-input--panel .vxe-input--time-picker-header{padding-bottom:8px}.vxe-input--panel .vxe-input--date-picker-body table,.vxe-input--panel .vxe-input--time-picker-body{height:258px}.vxe-input--panel .vxe-input--time-picker-body>ul{width:48px}.vxe-input--panel .vxe-input--time-picker-body>ul:after,.vxe-input--panel .vxe-input--time-picker-body>ul:before{height:120px}.vxe-input--panel .vxe-input--time-picker-body>ul>li{height:26px;padding-left:9px}.vxe-input--panel .vxe-input--time-picker-body .vxe-input--time-picker-minute-list{left:48px}.vxe-input--panel .vxe-input--time-picker-body .vxe-input--time-picker-second-list{left:96px}.vxe-input--panel .vxe-input--date-day-view td,.vxe-input--panel .vxe-input--date-week-view td{height:38px}.vxe-input--panel .vxe-input--date-quarter-view td{height:60px}.vxe-input--panel .vxe-input--date-month-view td,.vxe-input--panel .vxe-input--date-year-view td{height:48px}.vxe-input--panel .vxe-input--date-picker-body th{height:30px}.vxe-input--panel .vxe-input--date-picker-confirm,.vxe-input--panel .vxe-input--time-picker-confirm{height:30px;padding:0 9px}.vxe-input--panel .vxe-input--date-label{line-height:15px}.vxe-input--panel.size--medium{font-size:14px}.vxe-input--panel.size--medium .vxe-input--panel-wrapper{max-height:360px}.vxe-input--panel.size--medium.type--date .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--month .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--time .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--week .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--year .vxe-input--panel-wrapper{padding:10px}.vxe-input--panel.size--medium.type--date .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--month .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.size--medium.type--year .vxe-input--panel-wrapper{width:336px}.vxe-input--panel.size--medium.type--week .vxe-input--panel-wrapper{width:380px}.vxe-input--panel.size--medium.type--time .vxe-input--panel-wrapper{width:168px}.vxe-input--panel.size--medium.type--datetime .vxe-input--panel-left-wrapper{width:336px}.vxe-input--panel.size--medium.type--datetime .vxe-input--panel-left-wrapper,.vxe-input--panel.size--medium.type--datetime .vxe-input--panel-right-wrapper{padding:10px}.vxe-input--panel.size--medium .vxe-input--time-picker-title{height:29px;line-height:29px;padding:0 10px}.vxe-input--panel.size--medium .vxe-input--date-picker-btn,.vxe-input--panel.size--medium .vxe-input--date-picker-label{height:29px;line-height:29px}.vxe-input--panel.size--medium .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-btn{margin-left:7px}.vxe-input--panel.size--medium .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-current-btn,.vxe-input--panel.size--medium .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-next-btn,.vxe-input--panel.size--medium .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-prev-btn{width:29px;border-radius:4px;border:1px solid #dcdfe6}.vxe-input--panel.size--medium .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-btn,.vxe-input--panel.size--medium .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-label{padding:0 8px}.vxe-input--panel.size--medium .vxe-input--date-picker-header,.vxe-input--panel.size--medium .vxe-input--time-picker-header{padding-bottom:7px}.vxe-input--panel.size--medium .vxe-input--date-picker-body table,.vxe-input--panel.size--medium .vxe-input--time-picker-body{height:245px}.vxe-input--panel.size--medium .vxe-input--time-picker-body>ul{width:48px}.vxe-input--panel.size--medium .vxe-input--time-picker-body>ul:after,.vxe-input--panel.size--medium .vxe-input--time-picker-body>ul:before{height:120px}.vxe-input--panel.size--medium .vxe-input--time-picker-body>ul>li{height:26px;padding-left:8px}.vxe-input--panel.size--medium .vxe-input--time-picker-body .vxe-input--time-picker-minute-list{left:48px}.vxe-input--panel.size--medium .vxe-input--time-picker-body .vxe-input--time-picker-second-list{left:96px}.vxe-input--panel.size--medium .vxe-input--date-day-view td,.vxe-input--panel.size--medium .vxe-input--date-week-view td{height:36px}.vxe-input--panel.size--medium .vxe-input--date-quarter-view td{height:58px}.vxe-input--panel.size--medium .vxe-input--date-month-view td,.vxe-input--panel.size--medium .vxe-input--date-year-view td{height:46px}.vxe-input--panel.size--medium .vxe-input--date-picker-body th{height:29px}.vxe-input--panel.size--medium .vxe-input--date-picker-confirm,.vxe-input--panel.size--medium .vxe-input--time-picker-confirm{height:29px;padding:0 8px}.vxe-input--panel.size--medium .vxe-input--date-label{line-height:15px}.vxe-input--panel.size--small{font-size:13px}.vxe-input--panel.size--small .vxe-input--panel-wrapper{max-height:340px}.vxe-input--panel.size--small.type--date .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--month .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--time .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--week .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--year .vxe-input--panel-wrapper{padding:9px}.vxe-input--panel.size--small.type--date .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--month .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.size--small.type--year .vxe-input--panel-wrapper{width:312px}.vxe-input--panel.size--small.type--week .vxe-input--panel-wrapper{width:354px}.vxe-input--panel.size--small.type--time .vxe-input--panel-wrapper{width:154px}.vxe-input--panel.size--small.type--datetime .vxe-input--panel-left-wrapper{width:312px}.vxe-input--panel.size--small.type--datetime .vxe-input--panel-left-wrapper,.vxe-input--panel.size--small.type--datetime .vxe-input--panel-right-wrapper{padding:9px}.vxe-input--panel.size--small .vxe-input--time-picker-title{height:28px;line-height:28px;padding:0 9px}.vxe-input--panel.size--small .vxe-input--date-picker-btn,.vxe-input--panel.size--small .vxe-input--date-picker-label{height:28px;line-height:28px}.vxe-input--panel.size--small .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-btn{margin-left:6px}.vxe-input--panel.size--small .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-current-btn,.vxe-input--panel.size--small .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-next-btn,.vxe-input--panel.size--small .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-prev-btn{width:28px;border-radius:4px;border:1px solid #dcdfe6}.vxe-input--panel.size--small .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-btn,.vxe-input--panel.size--small .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-label{padding:0 7px}.vxe-input--panel.size--small .vxe-input--date-picker-header,.vxe-input--panel.size--small .vxe-input--time-picker-header{padding-bottom:6px}.vxe-input--panel.size--small .vxe-input--date-picker-body table,.vxe-input--panel.size--small .vxe-input--time-picker-body{height:232px}.vxe-input--panel.size--small .vxe-input--time-picker-body>ul{width:44px}.vxe-input--panel.size--small .vxe-input--time-picker-body>ul:after,.vxe-input--panel.size--small .vxe-input--time-picker-body>ul:before{height:110px}.vxe-input--panel.size--small .vxe-input--time-picker-body>ul>li{height:26px;padding-left:7px}.vxe-input--panel.size--small .vxe-input--time-picker-body .vxe-input--time-picker-minute-list{left:44px}.vxe-input--panel.size--small .vxe-input--time-picker-body .vxe-input--time-picker-second-list{left:88px}.vxe-input--panel.size--small .vxe-input--date-day-view td,.vxe-input--panel.size--small .vxe-input--date-week-view td{height:34px}.vxe-input--panel.size--small .vxe-input--date-quarter-view td{height:56px}.vxe-input--panel.size--small .vxe-input--date-month-view td,.vxe-input--panel.size--small .vxe-input--date-year-view td{height:44px}.vxe-input--panel.size--small .vxe-input--date-picker-body th{height:28px}.vxe-input--panel.size--small .vxe-input--date-picker-confirm,.vxe-input--panel.size--small .vxe-input--time-picker-confirm{height:28px;padding:0 7px}.vxe-input--panel.size--small .vxe-input--date-label{line-height:14px}.vxe-input--panel.size--mini{font-size:12px}.vxe-input--panel.size--mini .vxe-input--panel-wrapper{max-height:320px}.vxe-input--panel.size--mini.type--date .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--month .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--time .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--week .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--year .vxe-input--panel-wrapper{padding:8px}.vxe-input--panel.size--mini.type--date .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--month .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--quarter .vxe-input--panel-wrapper,.vxe-input--panel.size--mini.type--year .vxe-input--panel-wrapper{width:288px}.vxe-input--panel.size--mini.type--week .vxe-input--panel-wrapper{width:326px}.vxe-input--panel.size--mini.type--time .vxe-input--panel-wrapper{width:146px}.vxe-input--panel.size--mini.type--datetime .vxe-input--panel-left-wrapper{width:288px}.vxe-input--panel.size--mini.type--datetime .vxe-input--panel-left-wrapper,.vxe-input--panel.size--mini.type--datetime .vxe-input--panel-right-wrapper{padding:8px}.vxe-input--panel.size--mini .vxe-input--time-picker-title{height:27px;line-height:27px;padding:0 8px}.vxe-input--panel.size--mini .vxe-input--date-picker-btn,.vxe-input--panel.size--mini .vxe-input--date-picker-label{height:27px;line-height:27px}.vxe-input--panel.size--mini .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-btn{margin-left:5px}.vxe-input--panel.size--mini .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-current-btn,.vxe-input--panel.size--mini .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-next-btn,.vxe-input--panel.size--mini .vxe-input--date-picker-btn-wrapper .vxe-input--date-picker-prev-btn{width:27px;border-radius:4px;border:1px solid #dcdfe6}.vxe-input--panel.size--mini .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-btn,.vxe-input--panel.size--mini .vxe-input--date-picker-type-wrapper .vxe-input--date-picker-label{padding:0 6px}.vxe-input--panel.size--mini .vxe-input--date-picker-header,.vxe-input--panel.size--mini .vxe-input--time-picker-header{padding-bottom:5px}.vxe-input--panel.size--mini .vxe-input--date-picker-body table,.vxe-input--panel.size--mini .vxe-input--time-picker-body{height:218px}.vxe-input--panel.size--mini .vxe-input--time-picker-body>ul{width:42px}.vxe-input--panel.size--mini .vxe-input--time-picker-body>ul:after,.vxe-input--panel.size--mini .vxe-input--time-picker-body>ul:before{height:100px}.vxe-input--panel.size--mini .vxe-input--time-picker-body>ul>li{height:26px;padding-left:6px}.vxe-input--panel.size--mini .vxe-input--time-picker-body .vxe-input--time-picker-minute-list{left:42px}.vxe-input--panel.size--mini .vxe-input--time-picker-body .vxe-input--time-picker-second-list{left:84px}.vxe-input--panel.size--mini .vxe-input--date-day-view td,.vxe-input--panel.size--mini .vxe-input--date-week-view td{height:32px}.vxe-input--panel.size--mini .vxe-input--date-quarter-view td{height:54px}.vxe-input--panel.size--mini .vxe-input--date-month-view td,.vxe-input--panel.size--mini .vxe-input--date-year-view td{height:42px}.vxe-input--panel.size--mini .vxe-input--date-picker-body th{height:26px}.vxe-input--panel.size--mini .vxe-input--date-picker-confirm,.vxe-input--panel.size--mini .vxe-input--time-picker-confirm{height:27px;padding:0 6px}.vxe-input--panel.size--mini .vxe-input--date-label{line-height:13px}
|
package/lib/keyboard/index.d.ts
DELETED
package/lib/keyboard/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.VxeTableKeyboardModule = exports.Keyboard = void 0;
|
|
7
|
-
var _table = _interopRequireDefault(require("../table"));
|
|
8
|
-
var _mixin = _interopRequireDefault(require("./src/mixin"));
|
|
9
|
-
var _vXETable = _interopRequireDefault(require("../v-x-e-table"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
var VxeTableKeyboardModule = exports.VxeTableKeyboardModule = {
|
|
12
|
-
install: function install() {
|
|
13
|
-
_vXETable.default.reg('keyboard');
|
|
14
|
-
_table.default.mixins.push(_mixin.default);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var Keyboard = exports.Keyboard = VxeTableKeyboardModule;
|
|
18
|
-
var _default = exports.default = VxeTableKeyboardModule;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VxeTableKeyboardModule=exports.Keyboard=void 0;var _table=_interopRequireDefault(require("../table")),_mixin=_interopRequireDefault(require("./src/mixin")),_vXETable=_interopRequireDefault(require("../v-x-e-table"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var VxeTableKeyboardModule=exports.VxeTableKeyboardModule={install:function(){_vXETable.default.reg("keyboard"),_table.default.mixins.push(_mixin.default)}},Keyboard=exports.Keyboard=VxeTableKeyboardModule,_default=exports.default=VxeTableKeyboardModule;
|
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
9
|
-
var _dom = _interopRequireWildcard(require("../../tools/dom"));
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
function getTargetOffset(target, container) {
|
|
14
|
-
var offsetTop = 0;
|
|
15
|
-
var offsetLeft = 0;
|
|
16
|
-
var triggerCheckboxLabel = !_dom.browse.firefox && _dom.default.hasClass(target, 'vxe-checkbox--label');
|
|
17
|
-
if (triggerCheckboxLabel) {
|
|
18
|
-
var checkboxLabelStyle = getComputedStyle(target);
|
|
19
|
-
offsetTop -= _xeUtils.default.toNumber(checkboxLabelStyle.paddingTop);
|
|
20
|
-
offsetLeft -= _xeUtils.default.toNumber(checkboxLabelStyle.paddingLeft);
|
|
21
|
-
}
|
|
22
|
-
while (target && target !== container) {
|
|
23
|
-
offsetTop += target.offsetTop;
|
|
24
|
-
offsetLeft += target.offsetLeft;
|
|
25
|
-
target = target.offsetParent;
|
|
26
|
-
if (triggerCheckboxLabel) {
|
|
27
|
-
var checkboxStyle = getComputedStyle(target);
|
|
28
|
-
offsetTop -= _xeUtils.default.toNumber(checkboxStyle.paddingTop);
|
|
29
|
-
offsetLeft -= _xeUtils.default.toNumber(checkboxStyle.paddingLeft);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
offsetTop: offsetTop,
|
|
34
|
-
offsetLeft: offsetLeft
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function getCheckboxRangeRows(_vm, params, targetTrElem, moveRange) {
|
|
38
|
-
var countHeight = 0;
|
|
39
|
-
var rangeRows = [];
|
|
40
|
-
var isDown = moveRange > 0;
|
|
41
|
-
var moveSize = moveRange > 0 ? moveRange : Math.abs(moveRange) + targetTrElem.offsetHeight;
|
|
42
|
-
var afterFullData = _vm.afterFullData,
|
|
43
|
-
scrollYStore = _vm.scrollYStore,
|
|
44
|
-
scrollYLoad = _vm.scrollYLoad;
|
|
45
|
-
if (scrollYLoad) {
|
|
46
|
-
var _rowIndex = _vm.getVTRowIndex(params.row);
|
|
47
|
-
if (isDown) {
|
|
48
|
-
rangeRows = afterFullData.slice(_rowIndex, _rowIndex + Math.ceil(moveSize / scrollYStore.rowHeight));
|
|
49
|
-
} else {
|
|
50
|
-
rangeRows = afterFullData.slice(_rowIndex - Math.floor(moveSize / scrollYStore.rowHeight) + 1, _rowIndex + 1);
|
|
51
|
-
}
|
|
52
|
-
} else {
|
|
53
|
-
var siblingProp = isDown ? 'next' : 'previous';
|
|
54
|
-
while (targetTrElem && countHeight < moveSize) {
|
|
55
|
-
rangeRows.push(_vm.getRowNode(targetTrElem).item);
|
|
56
|
-
countHeight += targetTrElem.offsetHeight;
|
|
57
|
-
targetTrElem = targetTrElem["".concat(siblingProp, "ElementSibling")];
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return rangeRows;
|
|
61
|
-
}
|
|
62
|
-
var _default = exports.default = {
|
|
63
|
-
methods: {
|
|
64
|
-
// 处理 Tab 键移动
|
|
65
|
-
moveTabSelected: function moveTabSelected(args, isLeft, evnt) {
|
|
66
|
-
var _this = this;
|
|
67
|
-
var afterFullData = this.afterFullData,
|
|
68
|
-
visibleColumn = this.visibleColumn,
|
|
69
|
-
editConfig = this.editConfig,
|
|
70
|
-
editOpts = this.editOpts;
|
|
71
|
-
var targetRow;
|
|
72
|
-
var targetRowIndex;
|
|
73
|
-
var targetColumnIndex;
|
|
74
|
-
var params = Object.assign({}, args);
|
|
75
|
-
var _rowIndex = this.getVTRowIndex(params.row);
|
|
76
|
-
var _columnIndex = this.getVTColumnIndex(params.column);
|
|
77
|
-
evnt.preventDefault();
|
|
78
|
-
if (isLeft) {
|
|
79
|
-
// 向左
|
|
80
|
-
if (_columnIndex <= 0) {
|
|
81
|
-
// 如果已经是第一列,则移动到上一行
|
|
82
|
-
if (_rowIndex > 0) {
|
|
83
|
-
targetRowIndex = _rowIndex - 1;
|
|
84
|
-
targetRow = afterFullData[targetRowIndex];
|
|
85
|
-
targetColumnIndex = visibleColumn.length - 1;
|
|
86
|
-
}
|
|
87
|
-
} else {
|
|
88
|
-
targetColumnIndex = _columnIndex - 1;
|
|
89
|
-
}
|
|
90
|
-
} else {
|
|
91
|
-
if (_columnIndex >= visibleColumn.length - 1) {
|
|
92
|
-
// 如果已经是第一列,则移动到上一行
|
|
93
|
-
if (_rowIndex < afterFullData.length - 1) {
|
|
94
|
-
targetRowIndex = _rowIndex + 1;
|
|
95
|
-
targetRow = afterFullData[targetRowIndex];
|
|
96
|
-
targetColumnIndex = 0;
|
|
97
|
-
}
|
|
98
|
-
} else {
|
|
99
|
-
targetColumnIndex = _columnIndex + 1;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
var targetColumn = visibleColumn[targetColumnIndex];
|
|
103
|
-
if (targetColumn) {
|
|
104
|
-
if (targetRow) {
|
|
105
|
-
params.rowIndex = targetRowIndex;
|
|
106
|
-
params.row = targetRow;
|
|
107
|
-
} else {
|
|
108
|
-
params.rowIndex = _rowIndex;
|
|
109
|
-
}
|
|
110
|
-
params.columnIndex = targetColumnIndex;
|
|
111
|
-
params.column = targetColumn;
|
|
112
|
-
params.cell = this.getCellElement(params.row, params.column);
|
|
113
|
-
if (editConfig) {
|
|
114
|
-
if (editOpts.trigger === 'click' || editOpts.trigger === 'dblclick') {
|
|
115
|
-
if (editOpts.mode === 'row') {
|
|
116
|
-
this.handleActived(params, evnt);
|
|
117
|
-
} else {
|
|
118
|
-
this.scrollToRow(params.row, params.column).then(function () {
|
|
119
|
-
return _this.handleSelected(params, evnt);
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
} else {
|
|
124
|
-
this.scrollToRow(params.row, params.column).then(function () {
|
|
125
|
-
return _this.handleSelected(params, evnt);
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
// 处理当前行方向键移动
|
|
131
|
-
moveCurrentRow: function moveCurrentRow(isUpArrow, isDwArrow, evnt) {
|
|
132
|
-
var _this2 = this;
|
|
133
|
-
var currentRow = this.currentRow,
|
|
134
|
-
treeConfig = this.treeConfig,
|
|
135
|
-
treeOpts = this.treeOpts,
|
|
136
|
-
afterFullData = this.afterFullData;
|
|
137
|
-
var childrenField = treeOpts.children || treeOpts.childrenField;
|
|
138
|
-
var targetRow;
|
|
139
|
-
evnt.preventDefault();
|
|
140
|
-
if (currentRow) {
|
|
141
|
-
if (treeConfig) {
|
|
142
|
-
var _XEUtils$findTree = _xeUtils.default.findTree(afterFullData, function (item) {
|
|
143
|
-
return item === currentRow;
|
|
144
|
-
}, {
|
|
145
|
-
children: childrenField
|
|
146
|
-
}),
|
|
147
|
-
index = _XEUtils$findTree.index,
|
|
148
|
-
items = _XEUtils$findTree.items;
|
|
149
|
-
if (isUpArrow && index > 0) {
|
|
150
|
-
targetRow = items[index - 1];
|
|
151
|
-
} else if (isDwArrow && index < items.length - 1) {
|
|
152
|
-
targetRow = items[index + 1];
|
|
153
|
-
}
|
|
154
|
-
} else {
|
|
155
|
-
var _rowIndex = this.getVTRowIndex(currentRow);
|
|
156
|
-
if (isUpArrow && _rowIndex > 0) {
|
|
157
|
-
targetRow = afterFullData[_rowIndex - 1];
|
|
158
|
-
} else if (isDwArrow && _rowIndex < afterFullData.length - 1) {
|
|
159
|
-
targetRow = afterFullData[_rowIndex + 1];
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
} else {
|
|
163
|
-
targetRow = afterFullData[0];
|
|
164
|
-
}
|
|
165
|
-
if (targetRow) {
|
|
166
|
-
var params = {
|
|
167
|
-
$table: this,
|
|
168
|
-
row: targetRow
|
|
169
|
-
};
|
|
170
|
-
this.scrollToRow(targetRow).then(function () {
|
|
171
|
-
return _this2.triggerCurrentRowEvent(evnt, params);
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
// 处理可编辑方向键移动
|
|
176
|
-
moveSelected: function moveSelected(args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt) {
|
|
177
|
-
var _this3 = this;
|
|
178
|
-
var afterFullData = this.afterFullData,
|
|
179
|
-
visibleColumn = this.visibleColumn;
|
|
180
|
-
var params = Object.assign({}, args);
|
|
181
|
-
var _rowIndex = this.getVTRowIndex(params.row);
|
|
182
|
-
var _columnIndex = this.getVTColumnIndex(params.column);
|
|
183
|
-
evnt.preventDefault();
|
|
184
|
-
if (isUpArrow && _rowIndex > 0) {
|
|
185
|
-
// 移动到上一行
|
|
186
|
-
params.rowIndex = _rowIndex - 1;
|
|
187
|
-
params.row = afterFullData[params.rowIndex];
|
|
188
|
-
} else if (isDwArrow && _rowIndex < afterFullData.length - 1) {
|
|
189
|
-
// 移动到下一行
|
|
190
|
-
params.rowIndex = _rowIndex + 1;
|
|
191
|
-
params.row = afterFullData[params.rowIndex];
|
|
192
|
-
} else if (isLeftArrow && _columnIndex) {
|
|
193
|
-
// 移动到左侧单元格
|
|
194
|
-
params.columnIndex = _columnIndex - 1;
|
|
195
|
-
params.column = visibleColumn[params.columnIndex];
|
|
196
|
-
} else if (isRightArrow && _columnIndex < visibleColumn.length - 1) {
|
|
197
|
-
// 移动到右侧单元格
|
|
198
|
-
params.columnIndex = _columnIndex + 1;
|
|
199
|
-
params.column = visibleColumn[params.columnIndex];
|
|
200
|
-
}
|
|
201
|
-
this.scrollToRow(params.row, params.column).then(function () {
|
|
202
|
-
params.cell = _this3.getCellElement(params.row, params.column);
|
|
203
|
-
_this3.handleSelected(params, evnt);
|
|
204
|
-
});
|
|
205
|
-
},
|
|
206
|
-
/**
|
|
207
|
-
* 表头单元格按下事件
|
|
208
|
-
*/
|
|
209
|
-
triggerHeaderCellMousedownEvent: function triggerHeaderCellMousedownEvent(evnt, params) {
|
|
210
|
-
var mouseConfig = this.mouseConfig,
|
|
211
|
-
mouseOpts = this.mouseOpts;
|
|
212
|
-
if (mouseConfig && mouseOpts.area && this.handleHeaderCellAreaEvent) {
|
|
213
|
-
var cell = evnt.currentTarget;
|
|
214
|
-
var triggerSort = _dom.default.getEventTargetNode(evnt, cell, 'vxe-cell--sort').flag;
|
|
215
|
-
var triggerFilter = _dom.default.getEventTargetNode(evnt, cell, 'vxe-cell--filter').flag;
|
|
216
|
-
this.handleHeaderCellAreaEvent(evnt, Object.assign({
|
|
217
|
-
cell: cell,
|
|
218
|
-
triggerSort: triggerSort,
|
|
219
|
-
triggerFilter: triggerFilter
|
|
220
|
-
}, params));
|
|
221
|
-
}
|
|
222
|
-
this.focus();
|
|
223
|
-
this.closeMenu();
|
|
224
|
-
},
|
|
225
|
-
/**
|
|
226
|
-
* 单元格按下事件
|
|
227
|
-
*/
|
|
228
|
-
triggerCellMousedownEvent: function triggerCellMousedownEvent(evnt, params) {
|
|
229
|
-
var cell = evnt.currentTarget;
|
|
230
|
-
params.cell = cell;
|
|
231
|
-
this.handleCellMousedownEvent(evnt, params);
|
|
232
|
-
this.focus();
|
|
233
|
-
this.closeFilter();
|
|
234
|
-
this.closeMenu();
|
|
235
|
-
},
|
|
236
|
-
handleCellMousedownEvent: function handleCellMousedownEvent(evnt, params) {
|
|
237
|
-
var editConfig = this.editConfig,
|
|
238
|
-
editOpts = this.editOpts,
|
|
239
|
-
handleSelected = this.handleSelected,
|
|
240
|
-
checkboxConfig = this.checkboxConfig,
|
|
241
|
-
checkboxOpts = this.checkboxOpts,
|
|
242
|
-
mouseConfig = this.mouseConfig,
|
|
243
|
-
mouseOpts = this.mouseOpts;
|
|
244
|
-
if (mouseConfig && mouseOpts.area && this.handleCellAreaEvent) {
|
|
245
|
-
return this.handleCellAreaEvent(evnt, params);
|
|
246
|
-
} else {
|
|
247
|
-
if (checkboxConfig && checkboxOpts.range) {
|
|
248
|
-
this.handleCheckboxRangeEvent(evnt, params);
|
|
249
|
-
}
|
|
250
|
-
if (mouseConfig && mouseOpts.selected) {
|
|
251
|
-
if (!editConfig || editOpts.mode === 'cell') {
|
|
252
|
-
handleSelected(params, evnt);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
handleCheckboxRangeEvent: function handleCheckboxRangeEvent(evnt, params) {
|
|
258
|
-
var _this4 = this;
|
|
259
|
-
var column = params.column,
|
|
260
|
-
cell = params.cell;
|
|
261
|
-
if (column.type === 'checkbox') {
|
|
262
|
-
var $el = this.$el,
|
|
263
|
-
elemStore = this.elemStore;
|
|
264
|
-
var disX = evnt.clientX;
|
|
265
|
-
var disY = evnt.clientY;
|
|
266
|
-
var bodyWrapperElem = elemStore["".concat(column.fixed || 'main', "-body-wrapper")] || elemStore['main-body-wrapper'];
|
|
267
|
-
var checkboxRangeElem = bodyWrapperElem.querySelector('.vxe-table--checkbox-range');
|
|
268
|
-
var domMousemove = document.onmousemove;
|
|
269
|
-
var domMouseup = document.onmouseup;
|
|
270
|
-
var trElem = cell.parentNode;
|
|
271
|
-
var selectRecords = this.getCheckboxRecords();
|
|
272
|
-
var lastRangeRows = [];
|
|
273
|
-
var marginSize = 1;
|
|
274
|
-
var offsetRest = getTargetOffset(evnt.target, bodyWrapperElem);
|
|
275
|
-
var startTop = offsetRest.offsetTop + evnt.offsetY;
|
|
276
|
-
var startLeft = offsetRest.offsetLeft + evnt.offsetX;
|
|
277
|
-
var startScrollTop = bodyWrapperElem.scrollTop;
|
|
278
|
-
var rowHeight = trElem.offsetHeight;
|
|
279
|
-
var mouseScrollTimeout = null;
|
|
280
|
-
var isMouseScrollDown = false;
|
|
281
|
-
var mouseScrollSpaceSize = 1;
|
|
282
|
-
var triggerEvent = function triggerEvent(type, evnt) {
|
|
283
|
-
_this4.emitEvent("checkbox-range-".concat(type), {
|
|
284
|
-
records: _this4.getCheckboxRecords(),
|
|
285
|
-
reserves: _this4.getCheckboxReserveRecords()
|
|
286
|
-
}, evnt);
|
|
287
|
-
};
|
|
288
|
-
var handleChecked = function handleChecked(evnt) {
|
|
289
|
-
var clientX = evnt.clientX,
|
|
290
|
-
clientY = evnt.clientY;
|
|
291
|
-
var offsetLeft = clientX - disX;
|
|
292
|
-
var offsetTop = clientY - disY + (bodyWrapperElem.scrollTop - startScrollTop);
|
|
293
|
-
var rangeHeight = Math.abs(offsetTop);
|
|
294
|
-
var rangeWidth = Math.abs(offsetLeft);
|
|
295
|
-
var rangeTop = startTop;
|
|
296
|
-
var rangeLeft = startLeft;
|
|
297
|
-
if (offsetTop < marginSize) {
|
|
298
|
-
// 向上
|
|
299
|
-
rangeTop += offsetTop;
|
|
300
|
-
if (rangeTop < marginSize) {
|
|
301
|
-
rangeTop = marginSize;
|
|
302
|
-
rangeHeight = startTop;
|
|
303
|
-
}
|
|
304
|
-
} else {
|
|
305
|
-
// 向下
|
|
306
|
-
rangeHeight = Math.min(rangeHeight, bodyWrapperElem.scrollHeight - startTop - marginSize);
|
|
307
|
-
}
|
|
308
|
-
if (offsetLeft < marginSize) {
|
|
309
|
-
// 向左
|
|
310
|
-
rangeLeft += offsetLeft;
|
|
311
|
-
if (rangeWidth > startLeft) {
|
|
312
|
-
rangeLeft = marginSize;
|
|
313
|
-
rangeWidth = startLeft;
|
|
314
|
-
}
|
|
315
|
-
} else {
|
|
316
|
-
// 向右
|
|
317
|
-
rangeWidth = Math.min(rangeWidth, bodyWrapperElem.clientWidth - startLeft - marginSize);
|
|
318
|
-
}
|
|
319
|
-
checkboxRangeElem.style.height = "".concat(rangeHeight, "px");
|
|
320
|
-
checkboxRangeElem.style.width = "".concat(rangeWidth, "px");
|
|
321
|
-
checkboxRangeElem.style.left = "".concat(rangeLeft, "px");
|
|
322
|
-
checkboxRangeElem.style.top = "".concat(rangeTop, "px");
|
|
323
|
-
checkboxRangeElem.style.display = 'block';
|
|
324
|
-
var rangeRows = getCheckboxRangeRows(_this4, params, trElem, offsetTop < marginSize ? -rangeHeight : rangeHeight);
|
|
325
|
-
// 至少滑动 10px 才能有效匹配
|
|
326
|
-
if (rangeHeight > 10 && rangeRows.length !== lastRangeRows.length) {
|
|
327
|
-
lastRangeRows = rangeRows;
|
|
328
|
-
if (evnt.ctrlKey) {
|
|
329
|
-
rangeRows.forEach(function (row) {
|
|
330
|
-
_this4.handleSelectRow({
|
|
331
|
-
row: row
|
|
332
|
-
}, selectRecords.indexOf(row) === -1);
|
|
333
|
-
});
|
|
334
|
-
} else {
|
|
335
|
-
_this4.setAllCheckboxRow(false);
|
|
336
|
-
_this4.handleCheckedCheckboxRow(rangeRows, true, false);
|
|
337
|
-
}
|
|
338
|
-
triggerEvent('change', evnt);
|
|
339
|
-
}
|
|
340
|
-
};
|
|
341
|
-
// 停止鼠标滚动
|
|
342
|
-
var stopMouseScroll = function stopMouseScroll() {
|
|
343
|
-
clearTimeout(mouseScrollTimeout);
|
|
344
|
-
mouseScrollTimeout = null;
|
|
345
|
-
};
|
|
346
|
-
// 开始鼠标滚动
|
|
347
|
-
var startMouseScroll = function startMouseScroll(evnt) {
|
|
348
|
-
stopMouseScroll();
|
|
349
|
-
mouseScrollTimeout = setTimeout(function () {
|
|
350
|
-
if (mouseScrollTimeout) {
|
|
351
|
-
var scrollLeft = bodyWrapperElem.scrollLeft,
|
|
352
|
-
scrollTop = bodyWrapperElem.scrollTop,
|
|
353
|
-
clientHeight = bodyWrapperElem.clientHeight,
|
|
354
|
-
scrollHeight = bodyWrapperElem.scrollHeight;
|
|
355
|
-
var topSize = Math.ceil(mouseScrollSpaceSize * 50 / rowHeight);
|
|
356
|
-
if (isMouseScrollDown) {
|
|
357
|
-
if (scrollTop + clientHeight < scrollHeight) {
|
|
358
|
-
_this4.scrollTo(scrollLeft, scrollTop + topSize);
|
|
359
|
-
startMouseScroll(evnt);
|
|
360
|
-
handleChecked(evnt);
|
|
361
|
-
} else {
|
|
362
|
-
stopMouseScroll();
|
|
363
|
-
}
|
|
364
|
-
} else {
|
|
365
|
-
if (scrollTop) {
|
|
366
|
-
_this4.scrollTo(scrollLeft, scrollTop - topSize);
|
|
367
|
-
startMouseScroll(evnt);
|
|
368
|
-
handleChecked(evnt);
|
|
369
|
-
} else {
|
|
370
|
-
stopMouseScroll();
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}, 50);
|
|
375
|
-
};
|
|
376
|
-
_dom.default.addClass($el, 'drag--range');
|
|
377
|
-
document.onmousemove = function (evnt) {
|
|
378
|
-
evnt.preventDefault();
|
|
379
|
-
evnt.stopPropagation();
|
|
380
|
-
var clientY = evnt.clientY;
|
|
381
|
-
var _DomTools$getAbsolute = _dom.default.getAbsolutePos(bodyWrapperElem),
|
|
382
|
-
boundingTop = _DomTools$getAbsolute.boundingTop;
|
|
383
|
-
// 如果超过可视区,触发滚动
|
|
384
|
-
if (clientY < boundingTop) {
|
|
385
|
-
isMouseScrollDown = false;
|
|
386
|
-
mouseScrollSpaceSize = boundingTop - clientY;
|
|
387
|
-
if (!mouseScrollTimeout) {
|
|
388
|
-
startMouseScroll(evnt);
|
|
389
|
-
}
|
|
390
|
-
} else if (clientY > boundingTop + bodyWrapperElem.clientHeight) {
|
|
391
|
-
isMouseScrollDown = true;
|
|
392
|
-
mouseScrollSpaceSize = clientY - boundingTop - bodyWrapperElem.clientHeight;
|
|
393
|
-
if (!mouseScrollTimeout) {
|
|
394
|
-
startMouseScroll(evnt);
|
|
395
|
-
}
|
|
396
|
-
} else if (mouseScrollTimeout) {
|
|
397
|
-
stopMouseScroll();
|
|
398
|
-
}
|
|
399
|
-
handleChecked(evnt);
|
|
400
|
-
};
|
|
401
|
-
document.onmouseup = function (evnt) {
|
|
402
|
-
stopMouseScroll();
|
|
403
|
-
_dom.default.removeClass($el, 'drag--range');
|
|
404
|
-
checkboxRangeElem.removeAttribute('style');
|
|
405
|
-
document.onmousemove = domMousemove;
|
|
406
|
-
document.onmouseup = domMouseup;
|
|
407
|
-
triggerEvent('end', evnt);
|
|
408
|
-
};
|
|
409
|
-
triggerEvent('start', evnt);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils")),_dom=_interopRequireWildcard(require("../../tools/dom"));function _getRequireWildcardCache(e){var t,o;return"function"!=typeof WeakMap?null:(t=new WeakMap,o=new WeakMap,(_getRequireWildcardCache=function(e){return e?o:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=_typeof(e)&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var o,n,l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(o in e)"default"!==o&&{}.hasOwnProperty.call(e,o)&&((n=r?Object.getOwnPropertyDescriptor(e,o):null)&&(n.get||n.set)?Object.defineProperty(l,o,n):l[o]=e[o]);return l.default=e,t&&t.set(e,l),l}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getTargetOffset(e,t){var o,n,l=0,r=0,i=!_dom.browse.firefox&&_dom.default.hasClass(e,"vxe-checkbox--label");for(i&&(o=getComputedStyle(e),l-=_xeUtils.default.toNumber(o.paddingTop),r-=_xeUtils.default.toNumber(o.paddingLeft));e&&e!==t;)l+=e.offsetTop,r+=e.offsetLeft,e=e.offsetParent,i&&(n=getComputedStyle(e),l-=_xeUtils.default.toNumber(n.paddingTop),r-=_xeUtils.default.toNumber(n.paddingLeft));return{offsetTop:l,offsetLeft:r}}function getCheckboxRangeRows(e,t,o,n){var l=0,r=[],i=0<n,c=0<n?n:Math.abs(n)+o.offsetHeight,n=e.afterFullData,s=e.scrollYStore;if(e.scrollYLoad)t=e.getVTRowIndex(t.row),r=i?n.slice(t,t+Math.ceil(c/s.rowHeight)):n.slice(t-Math.floor(c/s.rowHeight)+1,t+1);else for(var a=i?"next":"previous";o&&l<c;)r.push(e.getRowNode(o).item),l+=o.offsetHeight,o=o["".concat(a,"ElementSibling")];return r}var _default=exports.default={methods:{moveTabSelected:function(e,t,o){var n,l,r,i=this,c=this.afterFullData,s=this.visibleColumn,a=this.editConfig,u=this.editOpts,d=Object.assign({},e),e=this.getVTRowIndex(d.row),f=this.getVTColumnIndex(d.column),t=(o.preventDefault(),t?f<=0?0<e&&(n=c[l=e-1],r=s.length-1):r=f-1:f>=s.length-1?e<c.length-1&&(n=c[l=e+1],r=0):r=f+1,s[r]);t&&(n?(d.rowIndex=l,d.row=n):d.rowIndex=e,d.columnIndex=r,d.column=t,d.cell=this.getCellElement(d.row,d.column),a?"click"!==u.trigger&&"dblclick"!==u.trigger||("row"===u.mode?this.handleActived(d,o):this.scrollToRow(d.row,d.column).then(function(){return i.handleSelected(d,o)})):this.scrollToRow(d.row,d.column).then(function(){return i.handleSelected(d,o)}))},moveCurrentRow:function(e,t,o){var n,l,r=this,i=this.currentRow,c=this.treeConfig,s=this.treeOpts,a=this.afterFullData,s=s.children||s.childrenField;o.preventDefault(),i?c?(s=(c=_xeUtils.default.findTree(a,function(e){return e===i},{children:s})).index,c=c.items,e&&0<s?n=c[s-1]:t&&s<c.length-1&&(n=c[s+1])):(c=this.getVTRowIndex(i),e&&0<c?n=a[c-1]:t&&c<a.length-1&&(n=a[c+1])):n=a[0],n&&(l={$table:this,row:n},this.scrollToRow(n).then(function(){return r.triggerCurrentRowEvent(o,l)}))},moveSelected:function(e,t,o,n,l,r){var i=this,c=this.afterFullData,s=this.visibleColumn,a=Object.assign({},e),e=this.getVTRowIndex(a.row),u=this.getVTColumnIndex(a.column);r.preventDefault(),o&&0<e?(a.rowIndex=e-1,a.row=c[a.rowIndex]):l&&e<c.length-1?(a.rowIndex=e+1,a.row=c[a.rowIndex]):t&&u?(a.columnIndex=u-1,a.column=s[a.columnIndex]):n&&u<s.length-1&&(a.columnIndex=u+1,a.column=s[a.columnIndex]),this.scrollToRow(a.row,a.column).then(function(){a.cell=i.getCellElement(a.row,a.column),i.handleSelected(a,r)})},triggerHeaderCellMousedownEvent:function(e,t){var o,n=this.mouseConfig,l=this.mouseOpts;n&&l.area&&this.handleHeaderCellAreaEvent&&(n=e.currentTarget,l=_dom.default.getEventTargetNode(e,n,"vxe-cell--sort").flag,o=_dom.default.getEventTargetNode(e,n,"vxe-cell--filter").flag,this.handleHeaderCellAreaEvent(e,Object.assign({cell:n,triggerSort:l,triggerFilter:o},t))),this.focus(),this.closeMenu()},triggerCellMousedownEvent:function(e,t){var o=e.currentTarget;t.cell=o,this.handleCellMousedownEvent(e,t),this.focus(),this.closeFilter(),this.closeMenu()},handleCellMousedownEvent:function(e,t){var o=this.editConfig,n=this.editOpts,l=this.handleSelected,r=this.checkboxConfig,i=this.checkboxOpts,c=this.mouseConfig,s=this.mouseOpts;if(c&&s.area&&this.handleCellAreaEvent)return this.handleCellAreaEvent(e,t);r&&i.range&&this.handleCheckboxRangeEvent(e,t),c&&s.selected&&(o&&"cell"!==n.mode||l(t,e))},handleCheckboxRangeEvent:function(e,c){var t,o,s,a,u,d,n,l,f,h,g,m,p,v,x,b,w,C,y,_,R,T,r,k=this,i=c.column,M=c.cell;"checkbox"===i.type&&(t=this.$el,o=this.elemStore,s=e.clientX,a=e.clientY,u=o["".concat(i.fixed||"main","-body-wrapper")]||o["main-body-wrapper"],d=u.querySelector(".vxe-table--checkbox-range"),n=document.onmousemove,l=document.onmouseup,f=M.parentNode,h=this.getCheckboxRecords(),g=[],m=1,i=getTargetOffset(e.target,u),p=i.offsetTop+e.offsetY,v=i.offsetLeft+e.offsetX,x=u.scrollTop,b=f.offsetHeight,w=null,C=!1,y=1,_=function(e,t){k.emitEvent("checkbox-range-".concat(e),{records:k.getCheckboxRecords(),reserves:k.getCheckboxReserveRecords()},t)},R=function(e){var t=e.clientX,o=e.clientY,t=t-s,o=o-a+(u.scrollTop-x),n=Math.abs(o),l=Math.abs(t),r=p,i=v,t=(o<m?(r+=o)<m&&(r=m,n=p):n=Math.min(n,u.scrollHeight-p-m),t<m?(i+=t,v<l&&(i=m,l=v)):l=Math.min(l,u.clientWidth-v-m),d.style.height="".concat(n,"px"),d.style.width="".concat(l,"px"),d.style.left="".concat(i,"px"),d.style.top="".concat(r,"px"),d.style.display="block",getCheckboxRangeRows(k,c,f,o<m?-n:n));10<n&&t.length!==g.length&&(g=t,e.ctrlKey?t.forEach(function(e){k.handleSelectRow({row:e},-1===h.indexOf(e))}):(k.setAllCheckboxRow(!1),k.handleCheckedCheckboxRow(t,!0,!1)),_("change",e))},T=function(){clearTimeout(w),w=null},r=function r(i){T(),w=setTimeout(function(){var e,t,o,n,l;w&&(e=u.scrollLeft,t=u.scrollTop,o=u.clientHeight,n=u.scrollHeight,l=Math.ceil(50*y/b),C?t+o<n?(k.scrollTo(e,t+l),r(i),R(i)):T():t?(k.scrollTo(e,t-l),r(i),R(i)):T())},50)},_dom.default.addClass(t,"drag--range"),document.onmousemove=function(e){e.preventDefault(),e.stopPropagation();var t=e.clientY,o=_dom.default.getAbsolutePos(u).boundingTop;t<o?(C=!1,y=o-t,w||r(e)):t>o+u.clientHeight?(C=!0,y=t-o-u.clientHeight,w||r(e)):w&&T(),R(e)},document.onmouseup=function(e){T(),_dom.default.removeClass(t,"drag--range"),d.removeAttribute("style"),document.onmousemove=n,document.onmouseup=l,_("end",e)},_("start",e))}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('./style.css')
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*font*/
|
|
2
|
-
/*size*/
|
|
3
|
-
/*icon*/
|
|
4
|
-
/*color*/
|
|
5
|
-
/*layout*/
|
|
6
|
-
/*input/radio/checkbox*/
|
|
7
|
-
/*popup*/
|
|
8
|
-
/*table*/
|
|
9
|
-
/*filter*/
|
|
10
|
-
/*menu*/
|
|
11
|
-
/*loading*/
|
|
12
|
-
/*validate*/
|
|
13
|
-
/*grid*/
|
|
14
|
-
/*toolbar*/
|
|
15
|
-
/*tooltip*/
|
|
16
|
-
/*pager*/
|
|
17
|
-
/*modal*/
|
|
18
|
-
/*checkbox*/
|
|
19
|
-
/*radio*/
|
|
20
|
-
/*button*/
|
|
21
|
-
/*input*/
|
|
22
|
-
/*textarea*/
|
|
23
|
-
/*form*/
|
|
24
|
-
/*select*/
|
|
25
|
-
/*switch*/
|
|
26
|
-
/*pulldown*/
|
package/lib/list/index.d.ts
DELETED
package/lib/list/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.VxeList = exports.List = void 0;
|
|
7
|
-
var _list = _interopRequireDefault(require("./src/list"));
|
|
8
|
-
var _vXETable = _interopRequireDefault(require("../v-x-e-table"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
var VxeList = exports.VxeList = Object.assign(_list.default, {
|
|
11
|
-
install: function install(Vue) {
|
|
12
|
-
Vue.component(_list.default.name, _list.default);
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
_vXETable.default.component(_list.default);
|
|
16
|
-
var List = exports.List = VxeList;
|
|
17
|
-
var _default = exports.default = VxeList;
|
package/lib/list/index.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VxeList=exports.List=void 0;var _list=_interopRequireDefault(require("./src/list")),_vXETable=_interopRequireDefault(require("../v-x-e-table"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var VxeList=exports.VxeList=Object.assign(_list.default,{install:function(e){e.component(_list.default.name,_list.default)}}),List=(_vXETable.default.component(_list.default),exports.List=VxeList),_default=exports.default=VxeList;
|