vxe-table 4.3.4 → 4.3.6-beta.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/es/button/style.css +465 -341
- package/es/checkbox/style.css +156 -127
- package/es/checkbox-group/style.css +1 -1
- package/es/colgroup/style.css +1 -1
- package/es/column/style.css +1 -1
- package/es/edit/style.css +1 -1
- package/es/export/src/hook.js +1 -0
- package/es/export/style.css +136 -108
- package/es/filter/src/hook.js +1 -1
- package/es/filter/style.css +103 -82
- package/es/footer/src/footer.js +3 -3
- package/es/form/src/form.js +5 -4
- package/es/form/style.css +201 -168
- package/es/form-gather/style.css +1 -1
- package/es/form-item/style.css +1 -1
- package/es/grid/style.css +61 -50
- package/es/header/src/header.js +10 -5
- package/es/icon/style/iconfont.1669214286403.ttf +0 -0
- package/es/icon/style/iconfont.1669214286403.woff +0 -0
- package/es/icon/style/iconfont.1669214286403.woff2 +0 -0
- package/es/icon/style.css +406 -178
- package/es/iconfont.1669214286403.ttf +0 -0
- package/es/iconfont.1669214286403.woff +0 -0
- package/es/iconfont.1669214286403.woff2 +0 -0
- package/es/input/style.css +771 -595
- package/es/keyboard/style.css +1 -1
- package/es/list/src/list.js +7 -1
- package/es/list/style.css +19 -14
- package/es/loading/style.css +52 -48
- package/es/locale/lang/en-US.js +0 -1
- package/es/locale/lang/ja-JP.js +0 -1
- package/es/locale/lang/zh-CN.js +0 -1
- package/es/locale/lang/zh-TC.js +0 -1
- package/es/menu/style.css +79 -59
- package/es/modal/style.css +311 -247
- package/es/optgroup/style.css +1 -1
- package/es/option/style.css +1 -1
- package/es/pager/style.css +307 -257
- package/es/pulldown/src/pulldown.js +9 -3
- package/es/pulldown/style.css +42 -31
- package/es/radio/style.css +184 -151
- package/es/radio-button/style.css +1 -1
- package/es/radio-group/style.css +1 -1
- package/es/select/style.css +108 -79
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +87 -67
- package/es/table/src/column.js +2 -0
- package/es/table/src/columnInfo.js +1 -0
- package/es/table/src/table.js +36 -40
- package/es/table/style.css +1025 -835
- package/es/textarea/style.css +57 -41
- package/es/toolbar/style.css +216 -174
- package/es/tools/log.js +1 -1
- package/es/tooltip/style.css +87 -63
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/style.css +458 -226
- package/es/validator/style.css +1 -1
- package/es/vxe-button/style.css +465 -341
- package/es/vxe-checkbox/style.css +156 -127
- package/es/vxe-checkbox-group/style.css +1 -1
- package/es/vxe-colgroup/style.css +1 -1
- package/es/vxe-column/style.css +1 -1
- package/es/vxe-form/style.css +201 -168
- package/es/vxe-form-gather/style.css +1 -1
- package/es/vxe-form-item/style.css +1 -1
- package/es/vxe-grid/style.css +61 -50
- package/es/vxe-icon/style.css +406 -178
- package/es/vxe-input/style.css +771 -595
- package/es/vxe-list/style.css +19 -14
- package/es/vxe-loading/style.css +52 -48
- package/es/vxe-modal/style.css +311 -247
- package/es/vxe-module-edit/style.css +1 -1
- package/es/vxe-module-export/style.css +136 -108
- package/es/vxe-module-filter/style.css +103 -82
- package/es/vxe-module-keyboard/style.css +1 -1
- package/es/vxe-module-menu/style.css +79 -59
- package/es/vxe-module-validator/style.css +1 -1
- package/es/vxe-optgroup/style.css +1 -1
- package/es/vxe-option/style.css +1 -1
- package/es/vxe-pager/style.css +307 -257
- package/es/vxe-pulldown/style.css +42 -31
- package/es/vxe-radio/style.css +184 -151
- package/es/vxe-radio-button/style.css +1 -1
- package/es/vxe-radio-group/style.css +1 -1
- package/es/vxe-select/style.css +108 -79
- package/es/vxe-switch/style.css +87 -67
- package/es/vxe-table/style.css +1025 -835
- package/es/vxe-textarea/style.css +57 -41
- package/es/vxe-toolbar/style.css +216 -174
- package/es/vxe-tooltip/style.css +87 -63
- package/lib/all.js +45 -115
- package/lib/all.min.js +1 -1
- package/lib/button/index.js +1 -7
- package/lib/button/index.min.js +1 -1
- package/lib/button/src/button.js +48 -113
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +465 -341
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/index.js +1 -7
- package/lib/checkbox/index.min.js +1 -1
- package/lib/checkbox/src/checkbox.js +12 -32
- package/lib/checkbox/src/checkbox.min.js +1 -1
- package/lib/checkbox/src/group.js +13 -28
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/checkbox/style/style.css +156 -127
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/checkbox-group/index.js +1 -7
- package/lib/checkbox-group/index.min.js +1 -1
- package/lib/checkbox-group/style/style.css +1 -1
- package/lib/colgroup/index.js +5 -12
- package/lib/colgroup/index.min.js +1 -1
- package/lib/colgroup/style/style.css +1 -1
- package/lib/column/index.js +5 -12
- package/lib/column/index.min.js +1 -1
- package/lib/column/style/style.css +1 -1
- package/lib/dynamics/index.js +1 -5
- package/lib/dynamics/index.min.js +1 -1
- package/lib/edit/index.js +1 -5
- package/lib/edit/index.min.js +1 -1
- package/lib/edit/src/hook.js +102 -248
- package/lib/edit/src/hook.min.js +1 -1
- package/lib/edit/style/style.css +1 -1
- package/lib/export/index.js +4 -19
- package/lib/export/index.min.js +1 -1
- package/lib/export/src/export-panel.js +38 -77
- package/lib/export/src/export-panel.min.js +1 -1
- package/lib/export/src/hook.js +127 -380
- package/lib/export/src/hook.min.js +1 -1
- package/lib/export/src/import-panel.js +17 -39
- package/lib/export/src/import-panel.min.js +1 -1
- package/lib/export/src/util.js +10 -52
- package/lib/export/src/util.min.js +1 -1
- package/lib/export/style/style.css +136 -108
- package/lib/export/style/style.min.css +1 -1
- package/lib/filter/index.js +1 -10
- package/lib/filter/index.min.js +1 -1
- package/lib/filter/src/hook.js +31 -82
- package/lib/filter/src/hook.min.js +1 -1
- package/lib/filter/src/panel.js +25 -52
- package/lib/filter/src/panel.min.js +1 -1
- package/lib/filter/style/style.css +103 -82
- package/lib/filter/style/style.min.css +1 -1
- package/lib/footer/index.js +1 -7
- package/lib/footer/index.min.js +1 -1
- package/lib/footer/src/footer.js +54 -99
- package/lib/footer/src/footer.min.js +1 -1
- package/lib/form/index.js +1 -7
- package/lib/form/index.min.js +1 -1
- package/lib/form/src/form-config-item.js +27 -56
- package/lib/form/src/form-config-item.min.js +1 -1
- package/lib/form/src/form-gather.js +3 -12
- package/lib/form/src/form-gather.min.js +1 -1
- package/lib/form/src/form-item.js +23 -52
- package/lib/form/src/form-item.min.js +1 -1
- package/lib/form/src/form.js +78 -185
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/src/itemInfo.js +1 -9
- package/lib/form/src/render.js +7 -26
- package/lib/form/src/render.min.js +1 -1
- package/lib/form/src/util.js +4 -28
- package/lib/form/src/util.min.js +1 -1
- package/lib/form/style/style.css +201 -168
- package/lib/form/style/style.min.css +1 -1
- package/lib/form-gather/index.js +1 -7
- package/lib/form-gather/index.min.js +1 -1
- package/lib/form-gather/style/style.css +1 -1
- package/lib/form-item/index.js +1 -7
- package/lib/form-item/index.min.js +1 -1
- package/lib/form-item/style/style.css +1 -1
- package/lib/grid/index.js +1 -7
- package/lib/grid/index.min.js +1 -1
- package/lib/grid/src/grid.js +97 -315
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/grid/style/style.css +61 -50
- package/lib/grid/style/style.min.css +1 -1
- package/lib/header/index.js +1 -7
- package/lib/header/index.min.js +1 -1
- package/lib/header/src/header.js +57 -92
- package/lib/header/src/header.min.js +1 -1
- package/lib/header/src/util.js +3 -14
- package/lib/header/src/util.min.js +1 -1
- package/lib/hooks/size.js +0 -2
- package/lib/icon/index.js +1 -7
- package/lib/icon/index.min.js +1 -1
- package/lib/icon/src/icon.js +2 -7
- package/lib/icon/style/iconfont.1669214286403.ttf +0 -0
- package/lib/icon/style/iconfont.1669214286403.woff +0 -0
- package/lib/icon/style/iconfont.1669214286403.woff2 +0 -0
- package/lib/icon/style/style.css +406 -178
- package/lib/icon/style/style.min.css +719 -1
- package/lib/iconfont.1669214286403.ttf +0 -0
- package/lib/iconfont.1669214286403.woff +0 -0
- package/lib/iconfont.1669214286403.woff2 +0 -0
- package/lib/index.common.js +3 -10
- package/lib/index.common.min.js +1 -1
- package/lib/index.umd.js +14514 -23890
- package/lib/index.umd.min.js +1 -1
- package/lib/input/index.js +1 -7
- package/lib/input/index.min.js +1 -1
- package/lib/input/src/date.js +0 -10
- package/lib/input/src/date.min.js +1 -1
- package/lib/input/src/input.js +217 -553
- package/lib/input/src/input.min.js +1 -1
- package/lib/input/src/number.js +0 -5
- package/lib/input/style/style.css +771 -595
- package/lib/input/style/style.min.css +1 -1
- package/lib/keyboard/index.js +1 -5
- package/lib/keyboard/index.min.js +1 -1
- package/lib/keyboard/src/hook.js +40 -106
- package/lib/keyboard/src/hook.min.js +1 -1
- package/lib/keyboard/style/style.css +1 -1
- package/lib/list/index.js +1 -7
- package/lib/list/index.min.js +1 -1
- package/lib/list/src/list.js +39 -91
- package/lib/list/src/list.min.js +1 -1
- package/lib/list/style/style.css +19 -14
- package/lib/loading/index.js +1 -4
- package/lib/loading/index.min.js +1 -1
- package/lib/loading/src/loading.js +1 -6
- package/lib/loading/style/style.css +52 -48
- package/lib/loading/style/style.min.css +1 -1
- package/lib/locale/lang/en-US.js +0 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +0 -1
- package/lib/locale/lang/ja-JP.js +0 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +0 -1
- package/lib/locale/lang/zh-CN.js +0 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +0 -1
- package/lib/locale/lang/zh-HK.js +0 -3
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +0 -1
- package/lib/locale/lang/zh-MO.js +0 -3
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +0 -1
- package/lib/locale/lang/zh-TC.js +0 -1
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +0 -1
- package/lib/locale/lang/zh-TW.js +0 -3
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +0 -1
- package/lib/menu/index.js +1 -10
- package/lib/menu/index.min.js +1 -1
- package/lib/menu/src/hooks.js +45 -109
- package/lib/menu/src/hooks.min.js +1 -1
- package/lib/menu/src/panel.js +10 -19
- package/lib/menu/src/panel.min.js +1 -1
- package/lib/menu/style/style.css +79 -59
- package/lib/menu/style/style.min.css +1 -1
- package/lib/modal/index.js +5 -36
- package/lib/modal/index.min.js +1 -1
- package/lib/modal/src/modal.js +128 -315
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +311 -247
- package/lib/modal/style/style.min.css +1 -1
- package/lib/optgroup/index.js +1 -7
- package/lib/optgroup/index.min.js +1 -1
- package/lib/optgroup/style/style.css +1 -1
- package/lib/option/index.js +1 -7
- package/lib/option/index.min.js +1 -1
- package/lib/option/style/style.css +1 -1
- package/lib/pager/index.js +1 -7
- package/lib/pager/index.min.js +1 -1
- package/lib/pager/src/pager.js +74 -151
- package/lib/pager/src/pager.min.js +1 -1
- package/lib/pager/style/style.css +307 -257
- package/lib/pager/style/style.min.css +1 -1
- package/lib/pulldown/index.js +1 -7
- package/lib/pulldown/index.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +46 -90
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/pulldown/style/style.css +42 -31
- package/lib/pulldown/style/style.min.css +1 -1
- package/lib/radio/index.js +1 -7
- package/lib/radio/index.min.js +1 -1
- package/lib/radio/src/button.js +14 -32
- package/lib/radio/src/button.min.js +1 -1
- package/lib/radio/src/group.js +11 -22
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio/src/radio.js +15 -34
- package/lib/radio/src/radio.min.js +1 -1
- package/lib/radio/style/style.css +184 -151
- package/lib/radio/style/style.min.css +1 -1
- package/lib/radio-button/index.js +1 -7
- package/lib/radio-button/index.min.js +1 -1
- package/lib/radio-button/style/style.css +1 -1
- package/lib/radio-group/index.js +1 -7
- package/lib/radio-group/index.min.js +1 -1
- package/lib/radio-group/style/style.css +1 -1
- package/lib/select/index.js +1 -7
- package/lib/select/index.min.js +1 -1
- package/lib/select/src/optgroup.js +1 -5
- package/lib/select/src/option.js +1 -5
- package/lib/select/src/optionInfo.js +1 -9
- package/lib/select/src/select.js +103 -256
- package/lib/select/src/select.min.js +1 -1
- package/lib/select/src/util.js +0 -13
- package/lib/select/src/util.min.js +1 -1
- package/lib/select/style/style.css +108 -79
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/index.js +1 -7
- package/lib/switch/index.min.js +1 -1
- package/lib/switch/src/switch.js +16 -35
- package/lib/switch/src/switch.min.js +1 -1
- package/lib/switch/style/style.css +87 -67
- package/lib/switch/style/style.min.css +1 -1
- package/lib/table/index.js +1 -7
- package/lib/table/index.min.js +1 -1
- package/lib/table/src/body.js +143 -262
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +138 -259
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/column.js +4 -13
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +6 -35
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/group.js +2 -15
- package/lib/table/src/group.min.js +1 -1
- package/lib/table/src/props.js +25 -29
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +670 -1620
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +32 -102
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +1025 -835
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/index.js +1 -7
- package/lib/textarea/index.min.js +1 -1
- package/lib/textarea/src/textarea.js +31 -71
- package/lib/textarea/src/textarea.min.js +1 -1
- package/lib/textarea/style/style.css +57 -41
- package/lib/textarea/style/style.min.css +1 -1
- package/lib/toolbar/index.js +1 -7
- package/lib/toolbar/index.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +60 -167
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/toolbar/style/style.css +216 -174
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/tools/dom.js +6 -48
- package/lib/tools/dom.min.js +1 -1
- package/lib/tools/event.js +8 -20
- package/lib/tools/event.min.js +1 -1
- package/lib/tools/log.js +1 -6
- package/lib/tools/log.min.js +1 -1
- package/lib/tools/resize.js +3 -27
- package/lib/tools/utils.js +0 -16
- package/lib/tools/utils.min.js +1 -1
- package/lib/tools/vn.js +0 -5
- package/lib/tooltip/index.js +1 -8
- package/lib/tooltip/index.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +47 -111
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/tooltip/style/style.css +87 -63
- package/lib/v-x-e-table/index.js +13 -44
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/src/commands.js +0 -4
- package/lib/v-x-e-table/src/conf.js +31 -19
- package/lib/v-x-e-table/src/formats.js +0 -4
- package/lib/v-x-e-table/src/hooks.js +0 -3
- package/lib/v-x-e-table/src/interceptor.js +6 -18
- package/lib/v-x-e-table/src/interceptor.min.js +1 -1
- package/lib/v-x-e-table/src/menus.js +0 -4
- package/lib/v-x-e-table/src/renderer.js +66 -199
- package/lib/v-x-e-table/src/renderer.min.js +1 -1
- package/lib/v-x-e-table/src/setup.js +1 -6
- package/lib/v-x-e-table/src/store.js +3 -19
- package/lib/v-x-e-table/style/style.css +458 -226
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/validator/index.js +1 -5
- package/lib/validator/index.min.js +1 -1
- package/lib/validator/src/hook.js +50 -116
- package/lib/validator/src/hook.min.js +1 -1
- package/lib/validator/style/style.css +1 -1
- package/lib/vxe-button/index.js +3 -10
- package/lib/vxe-button/index.min.js +1 -1
- package/lib/vxe-button/style/style.css +465 -341
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox/index.js +3 -10
- package/lib/vxe-checkbox/index.min.js +1 -1
- package/lib/vxe-checkbox/style/style.css +156 -127
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-checkbox-group/index.js +3 -10
- package/lib/vxe-checkbox-group/index.min.js +1 -1
- package/lib/vxe-checkbox-group/style/style.css +1 -1
- package/lib/vxe-colgroup/index.js +3 -10
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-colgroup/style/style.css +1 -1
- package/lib/vxe-column/index.js +3 -10
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-column/style/style.css +1 -1
- package/lib/vxe-form/index.js +3 -10
- package/lib/vxe-form/index.min.js +1 -1
- package/lib/vxe-form/style/style.css +201 -168
- package/lib/vxe-form/style/style.min.css +1 -1
- package/lib/vxe-form-gather/index.js +3 -10
- package/lib/vxe-form-gather/index.min.js +1 -1
- package/lib/vxe-form-gather/style/style.css +1 -1
- package/lib/vxe-form-item/index.js +3 -10
- package/lib/vxe-form-item/index.min.js +1 -1
- package/lib/vxe-form-item/style/style.css +1 -1
- package/lib/vxe-grid/index.js +3 -10
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-grid/style/style.css +61 -50
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-icon/index.js +3 -10
- package/lib/vxe-icon/index.min.js +1 -1
- package/lib/vxe-icon/style/style.css +406 -178
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-input/index.js +3 -10
- package/lib/vxe-input/index.min.js +1 -1
- package/lib/vxe-input/style/style.css +771 -595
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-list/index.js +3 -10
- package/lib/vxe-list/index.min.js +1 -1
- package/lib/vxe-list/style/style.css +19 -14
- package/lib/vxe-loading/index.js +3 -10
- package/lib/vxe-loading/index.min.js +1 -1
- package/lib/vxe-loading/style/style.css +52 -48
- package/lib/vxe-loading/style/style.min.css +1 -1
- package/lib/vxe-modal/index.js +3 -10
- package/lib/vxe-modal/index.min.js +1 -1
- package/lib/vxe-modal/style/style.css +311 -247
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/lib/vxe-module-edit/index.js +3 -10
- package/lib/vxe-module-edit/index.min.js +1 -1
- package/lib/vxe-module-edit/style/style.css +1 -1
- package/lib/vxe-module-export/index.js +3 -10
- package/lib/vxe-module-export/index.min.js +1 -1
- package/lib/vxe-module-export/style/style.css +136 -108
- package/lib/vxe-module-export/style/style.min.css +1 -1
- package/lib/vxe-module-filter/index.js +3 -10
- package/lib/vxe-module-filter/index.min.js +1 -1
- package/lib/vxe-module-filter/style/style.css +103 -82
- package/lib/vxe-module-filter/style/style.min.css +1 -1
- package/lib/vxe-module-keyboard/index.js +3 -10
- package/lib/vxe-module-keyboard/index.min.js +1 -1
- package/lib/vxe-module-keyboard/style/style.css +1 -1
- package/lib/vxe-module-menu/index.js +3 -10
- package/lib/vxe-module-menu/index.min.js +1 -1
- package/lib/vxe-module-menu/style/style.css +79 -59
- package/lib/vxe-module-menu/style/style.min.css +1 -1
- package/lib/vxe-module-validator/index.js +3 -10
- package/lib/vxe-module-validator/index.min.js +1 -1
- package/lib/vxe-module-validator/style/style.css +1 -1
- package/lib/vxe-optgroup/index.js +3 -10
- package/lib/vxe-optgroup/index.min.js +1 -1
- package/lib/vxe-optgroup/style/style.css +1 -1
- package/lib/vxe-option/index.js +3 -10
- package/lib/vxe-option/index.min.js +1 -1
- package/lib/vxe-option/style/style.css +1 -1
- package/lib/vxe-pager/index.js +3 -10
- package/lib/vxe-pager/index.min.js +1 -1
- package/lib/vxe-pager/style/style.css +307 -257
- package/lib/vxe-pager/style/style.min.css +1 -1
- package/lib/vxe-pulldown/index.js +3 -10
- package/lib/vxe-pulldown/index.min.js +1 -1
- package/lib/vxe-pulldown/style/style.css +42 -31
- package/lib/vxe-pulldown/style/style.min.css +1 -1
- package/lib/vxe-radio/index.js +3 -10
- package/lib/vxe-radio/index.min.js +1 -1
- package/lib/vxe-radio/style/style.css +184 -151
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-radio-button/index.js +3 -10
- package/lib/vxe-radio-button/index.min.js +1 -1
- package/lib/vxe-radio-button/style/style.css +1 -1
- package/lib/vxe-radio-group/index.js +3 -10
- package/lib/vxe-radio-group/index.min.js +1 -1
- package/lib/vxe-radio-group/style/style.css +1 -1
- package/lib/vxe-select/index.js +3 -10
- package/lib/vxe-select/index.min.js +1 -1
- package/lib/vxe-select/style/style.css +108 -79
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-switch/index.js +3 -10
- package/lib/vxe-switch/index.min.js +1 -1
- package/lib/vxe-switch/style/style.css +87 -67
- package/lib/vxe-switch/style/style.min.css +1 -1
- package/lib/vxe-table/index.js +3 -10
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +1025 -835
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-textarea/index.js +3 -10
- package/lib/vxe-textarea/index.min.js +1 -1
- package/lib/vxe-textarea/style/style.css +57 -41
- package/lib/vxe-textarea/style/style.min.css +1 -1
- package/lib/vxe-toolbar/index.js +3 -10
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-toolbar/style/style.css +216 -174
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/lib/vxe-tooltip/index.js +3 -10
- package/lib/vxe-tooltip/index.min.js +1 -1
- package/lib/vxe-tooltip/style/style.css +87 -63
- package/package.json +27 -33
- package/packages/export/src/hook.ts +1 -0
- package/packages/filter/src/hook.ts +1 -1
- package/packages/footer/src/footer.ts +3 -3
- package/packages/form/src/form.ts +5 -4
- package/packages/header/src/header.ts +13 -9
- package/packages/list/src/list.ts +8 -2
- package/packages/locale/lang/en-US.ts +0 -1
- package/packages/locale/lang/ja-JP.ts +0 -1
- package/packages/locale/lang/zh-CN.ts +0 -1
- package/packages/locale/lang/zh-TC.ts +0 -1
- package/packages/pulldown/src/pulldown.ts +11 -5
- package/packages/table/src/column.ts +2 -0
- package/packages/table/src/columnInfo.ts +1 -0
- package/packages/table/src/table.ts +117 -113
- package/packages/table/src/util.ts +1 -1
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/icon.scss +78 -2
- package/styles/table.scss +1 -1
- package/styles/variable.scss +2 -2
- package/types/column.d.ts +6 -1
- package/types/list.d.ts +4 -4
- package/types/pulldown.d.ts +61 -61
- package/types/table.d.ts +11 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_xeUtils=_interopRequireDefault(require("xe-utils")),_conf=_interopRequireDefault(require("../../v-x-e-table/src/conf")),_vXETable=require("../../v-x-e-table"),_size=require("../../hooks/size"),_dom=require("../../tools/dom"),_utils=require("../../tools/utils"),_log=require("../../tools/log"),_event=require("../../tools/event"),_vn=require("../../tools/vn");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},_default2=(0,_vue.defineComponent)({name:"VxeToolbar",props:{loading:Boolean,refresh:[Boolean,Object],import:[Boolean,Object],export:[Boolean,Object],print:[Boolean,Object],zoom:[Boolean,Object],custom:[Boolean,Object],buttons:{type:Array,default:function(){return _conf.default.toolbar.buttons}},tools:{type:Array,default:function(){return _conf.default.toolbar.tools}},perfect:{type:Boolean,default:function(){return _conf.default.toolbar.perfect}},size:{type:String,default:function(){return _conf.default.toolbar.size||_conf.default.size}},className:[String,Function]},emits:["button-click","tool-click"],setup:function(f,e){function n(){var e=O.columns,t=h.getComputeMaps().computeCustomOpts.value.checkMethod;E.isAll=e.every(function(e){return!!t&&!t({column:e})||e.visible}),E.isIndeterminate=!E.isAll&&e.some(function(e){return(!t||t({column:e}))&&(e.visible||e.halfVisible)})}function i(){h.handleCustom()}function t(e){v()&&(E.visible||(E.visible=!0,n(),q("open",e)))}function o(e){E.visible&&(V(),q("close",e))}function r(t){var e=O.columns;(e=_xeUtils.default.findTree(e,function(e){return e===t}))&&e.parent&&((e=e.parent).children&&e.children.length&&(e.visible=e.children.every(function(e){return e.visible}),e.halfVisible=!e.visible&&e.children.some(function(e){return e.visible||e.halfVisible}),r(e)))}function u(e){var t=T.value;(0,_dom.getEventTargetNode)(e,t).flag||o(e)}function l(e){o(e)}function d(){var e=O.isRefresh,t=R.value;if(!e){e=t.queryMethod||t.query;if(e){O.isRefresh=!0;try{Promise.resolve(e({})).catch(function(e){return e}).then(function(){O.isRefresh=!1})}catch(e){O.isRefresh=!1}}else y&&(O.isRefresh=!0,y.commitProxy(t.code||"reload").catch(function(e){return e}).then(function(){O.isRefresh=!1}))}}function _(e){y&&y.triggerZoomEvent(e)}function b(){v()&&h.openImport()}function m(){v()&&h.openExport()}function p(){v()&&h.openPrint()}var h,x=e.slots,c=e.emit,a=_xeUtils.default.uniqueId(),g=(0,_size.useSize)(f),O=(0,_vue.reactive)({isRefresh:!1,columns:[]}),C=(0,_vue.ref)(),T=(0,_vue.ref)(),E=(0,_vue.reactive)({isAll:!1,isIndeterminate:!1,activeBtn:!1,activeWrapper:!1,visible:!1}),s={refElem:C},B={xID:a,props:f,context:e,reactData:O,getRefMaps:function(){return s}},e={},y=(0,_vue.inject)("$xegrid",null),R=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.refresh,f.refresh)}),k=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.import,f.import)}),L=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.export,f.export)}),M=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.print,f.print)}),A=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.zoom,f.zoom)}),N=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.custom,f.custom)}),v=function(){if(h)return!0;(0,_log.errLog)("vxe.error.barUnableLink")},V=function(){var e=f.custom,t=N.value;E.visible&&(E.visible=!1,e&&!t.immediate&&i())},q=function(e,t){(y||h).dispatchEvent("custom",{type:e},t)},S=function(e){V(),q("confirm",e)},j=function(e){var t=O.columns,o=h.getComputeMaps().computeCustomOpts.value.checkMethod;_xeUtils.default.eachTree(t,function(e){o&&!o({column:e})||(e.visible=e.defaultVisible,e.halfVisible=!1),e.resizeWidth=0}),h.saveCustomResizable(!0),V(),q("reset",e)},I=function(e){var t=!e.visible,o=N.value;_xeUtils.default.eachTree([e],function(e){e.visible=t,e.halfVisible=!1}),r(e),f.custom&&o.immediate&&i(),n()},z=function(){var e=O.columns,t=h.getComputeMaps().computeCustomOpts.value.checkMethod,o=!E.isAll;_xeUtils.default.eachTree(e,function(e){t&&!t({column:e})||(e.visible=o,e.halfVisible=!1)}),E.isAll=o,n()},$=function(e){(E.visible?o:t)(e)},X=function(e){E.activeBtn=!0,t(e)},U=function(e){E.activeBtn=!1,setTimeout(function(){E.activeBtn||E.activeWrapper||o(e)},300)},w=function(e){E.activeWrapper=!0,t(e)},D=function(e){E.activeWrapper=!1,setTimeout(function(){E.activeBtn||E.activeWrapper||o(e)},300)},H=function(e,t){var o,n=t.code;n&&(y?y.triggerToolbarBtnEvent(t,e):(o=_vXETable.VXETable.commands.get(n),t={code:n,button:t,$table:h,$event:e},o&&o(t,e),B.dispatchEvent("button-click",t,e)))},K=function(e,t){var o,n=t.code;n&&(y?y.triggerToolbarTolEvent(t,e):(o=_vXETable.VXETable.commands.get(n),t={code:n,tool:t,$table:h,$event:e},o&&o(t,e),B.dispatchEvent("tool-click",t,e)))},P=function(e,o){e=e.dropdowns;return e?e.map(function(t,e){return!1===t.visible?(0,_vue.createCommentVNode)():(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{key:e,disabled:t.disabled,loading:t.loading,type:t.type,icon:t.icon,circle:t.circle,round:t.round,status:t.status,content:t.name,onClick:function(e){return(o?H:K)(e,t)}})}):[]},e={dispatchEvent:function(e,t,o){c(e,Object.assign({$toolbar:B,$event:o},t))},syncUpdate:function(e){var t=e.collectColumn;h=e.$table,O.columns=t}};Object.assign(B,e),(0,_vue.onMounted)(function(){_event.GlobalEvent.on(B,"mousedown",u),_event.GlobalEvent.on(B,"blur",l)}),(0,_vue.onUnmounted)(function(){_event.GlobalEvent.off(B,"mousedown"),_event.GlobalEvent.off(B,"blur")}),(0,_vue.nextTick)(function(){var e=f.refresh,t=R.value,t=t.queryMethod||t.query;!e||y||t||(0,_log.warnLog)("vxe.error.notFunc",["queryMethod"])});return B.renderVN=function(){var e=f.perfect,t=f.loading,o=f.refresh,n=f.zoom,i=f.custom,r=f.className,u=g.value,l=R.value,c=k.value,a=L.value,s=M.value,v=A.value;return(0,_vue.h)("div",{ref:C,class:["vxe-toolbar",r?_xeUtils.default.isFunction(r)?r({$toolbar:B}):r:"",((r={})["size--".concat(u)]=u,r["is--perfect"]=e,r["is--loading"]=t,r)]},[(0,_vue.h)("div",{class:"vxe-buttons--wrapper"},function(){var e=f.buttons,t=x.buttons;if(t)return(0,_vn.getSlotVNs)(t({$grid:y,$table:h}));var i=[];return e&&e.forEach(function(t){var e,o=t.dropdowns,n=t.buttonRender;!1!==t.visible&&(e=n?_vXETable.VXETable.renderer.get(n.name):null,n&&e&&e.renderToolbarButton?i.push((0,_vue.h)("span",{class:"vxe-button--item"},(0,_vn.getSlotVNs)(e.renderToolbarButton(n,{$grid:y,$table:h,button:t})))):i.push((0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{disabled:t.disabled,loading:t.loading,type:t.type,icon:t.icon,circle:t.circle,round:t.round,status:t.status,content:t.name,destroyOnClose:t.destroyOnClose,placement:t.placement,transfer:t.transfer,onClick:function(e){return H(e,t)}},o&&o.length?{dropdowns:function(){return P(t,!0)}}:{})))}),i}()),(0,_vue.h)("div",{class:"vxe-tools--wrapper"},function(){var e=f.tools,t=x.tools;if(t)return(0,_vn.getSlotVNs)(t({$grid:y,$table:h}));var i=[];return e&&e.forEach(function(t){var e,o=t.dropdowns,n=t.toolRender;!1!==t.visible&&(e=n?_vXETable.VXETable.renderer.get(n.name):null,n&&e&&e.renderToolbarTool?i.push((0,_vue.h)("span",{class:"vxe-tool--item"},(0,_vn.getSlotVNs)(e.renderToolbarTool(n,{$grid:y,$table:h,tool:t})))):i.push((0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{disabled:t.disabled,loading:t.loading,type:t.type,icon:t.icon,circle:t.circle,round:t.round,status:t.status,content:t.name,destroyOnClose:t.destroyOnClose,placement:t.placement,transfer:t.transfer,onClick:function(e){return K(e,t)}},o&&o.length?{dropdowns:function(){return P(t,!1)}}:{})))}),i}()),(0,_vue.h)("div",{class:"vxe-tools--operate"},[f.import?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:c.icon||_conf.default.icon.TOOLBAR_TOOLS_IMPORT,title:_conf.default.i18n("vxe.toolbar.import"),onClick:b}):(0,_vue.createCommentVNode)(),f.export?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:a.icon||_conf.default.icon.TOOLBAR_TOOLS_EXPORT,title:_conf.default.i18n("vxe.toolbar.export"),onClick:m}):(0,_vue.createCommentVNode)(),f.print?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:s.icon||_conf.default.icon.TOOLBAR_TOOLS_PRINT,title:_conf.default.i18n("vxe.toolbar.print"),onClick:p}):(0,_vue.createCommentVNode)(),o?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:O.isRefresh?l.iconLoading||_conf.default.icon.TOOLBAR_TOOLS_REFRESH_LOADING:l.icon||_conf.default.icon.TOOLBAR_TOOLS_REFRESH,title:_conf.default.i18n("vxe.toolbar.refresh"),onClick:d}):(0,_vue.createCommentVNode)(),n&&y?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:y.isMaximized()?v.iconOut||_conf.default.icon.TOOLBAR_TOOLS_MINIMIZE:v.iconIn||_conf.default.icon.TOOLBAR_TOOLS_FULLSCREEN,title:_conf.default.i18n("vxe.toolbar.zoom".concat(y.isMaximized()?"Out":"In")),onClick:_}):(0,_vue.createCommentVNode)(),(i?function(){var u,e=O.columns,t=N.value,l=[],o={},n={};h&&(u=h.getComputeMaps().computeCustomOpts.value.checkMethod),"manual"===t.trigger||("hover"===t.trigger?(o.onMouseenter=X,o.onMouseleave=U,n.onMouseenter=w,n.onMouseleave=D):o.onClick=$),_xeUtils.default.eachTree(e,function(e){var t,o=(0,_utils.formatText)(e.getTitle(),1),n=e.getKey(),i=e.children&&e.children.length,r=!!u&&!u({column:e});(i||n)&&(t=e.visible,n=e.halfVisible,l.push((0,_vue.h)("li",{class:["vxe-custom--option","level--".concat(e.level),{"is--group":i,"is--checked":t,"is--indeterminate":n,"is--disabled":r}],title:o,onClick:function(){r||I(e)}},[(0,_vue.h)("span",{class:["vxe-checkbox--icon",n?_conf.default.icon.TABLE_CHECKBOX_INDETERMINATE:t?_conf.default.icon.TABLE_CHECKBOX_CHECKED:_conf.default.icon.TABLE_CHECKBOX_UNCHECKED]}),(0,_vue.h)("span",{class:"vxe-checkbox--label"},o)])))});var i=E.isAll,e=E.isIndeterminate;return(0,_vue.h)("div",{class:["vxe-custom--wrapper",{"is--active":E.visible}],ref:T},[(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),__assign({circle:!0,icon:t.icon||_conf.default.icon.TOOLBAR_TOOLS_CUSTOM,title:_conf.default.i18n("vxe.toolbar.custom")},o)),(0,_vue.h)("div",{class:"vxe-custom--option-wrapper"},[(0,_vue.h)("ul",{class:"vxe-custom--header"},[(0,_vue.h)("li",{class:["vxe-custom--option",{"is--checked":i,"is--indeterminate":e}],title:_conf.default.i18n("vxe.table.allTitle"),onClick:z},[(0,_vue.h)("span",{class:["vxe-checkbox--icon",e?_conf.default.icon.TABLE_CHECKBOX_INDETERMINATE:i?_conf.default.icon.TABLE_CHECKBOX_CHECKED:_conf.default.icon.TABLE_CHECKBOX_UNCHECKED]}),(0,_vue.h)("span",{class:"vxe-checkbox--label"},_conf.default.i18n("vxe.toolbar.customAll"))])]),(0,_vue.h)("ul",__assign({class:"vxe-custom--body"},n),l),!1===t.isFooter?null:(0,_vue.h)("div",{class:"vxe-custom--footer"},[(0,_vue.h)("button",{class:"btn--confirm",onClick:S},_conf.default.i18n("vxe.toolbar.customConfirm")),(0,_vue.h)("button",{class:"btn--reset",onClick:j},_conf.default.i18n("vxe.toolbar.customRestore"))])])])}:(0,_vue.createCommentVNode))()])])},B},render:function(){return this.renderVN()}});exports.default=_default2;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_xeUtils=_interopRequireDefault(require("xe-utils")),_conf=_interopRequireDefault(require("../../v-x-e-table/src/conf")),_vXETable=require("../../v-x-e-table"),_size=require("../../hooks/size"),_dom=require("../../tools/dom"),_utils=require("../../tools/utils"),_log=require("../../tools/log"),_event=require("../../tools/event"),_vn=require("../../tools/vn");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},_default=(0,_vue.defineComponent)({name:"VxeToolbar",props:{loading:Boolean,refresh:[Boolean,Object],import:[Boolean,Object],export:[Boolean,Object],print:[Boolean,Object],zoom:[Boolean,Object],custom:[Boolean,Object],buttons:{type:Array,default:function(){return _conf.default.toolbar.buttons}},tools:{type:Array,default:function(){return _conf.default.toolbar.tools}},perfect:{type:Boolean,default:function(){return _conf.default.toolbar.perfect}},size:{type:String,default:function(){return _conf.default.toolbar.size||_conf.default.size}},className:[String,Function]},emits:["button-click","tool-click"],setup:function(m,e){function n(){var e=B.columns,t=C.getComputeMaps().computeCustomOpts.value.checkMethod;k.isAll=e.every(function(e){return!!t&&!t({column:e})||e.visible}),k.isIndeterminate=!k.isAll&&e.some(function(e){return(!t||t({column:e}))&&(e.visible||e.halfVisible)})}function i(){C.handleCustom()}function t(e){!v()||k.visible||(k.visible=!0,n(),d("open",e))}function o(e){k.visible&&(f(),d("close",e))}function l(t){var e=B.columns;(e=_xeUtils.default.findTree(e,function(e){return e===t}))&&e.parent&&(e=e.parent).children&&e.children.length&&(e.visible=e.children.every(function(e){return e.visible}),e.halfVisible=!e.visible&&e.children.some(function(e){return e.visible||e.halfVisible}),l(e))}function u(e){var t=R.value;(0,_dom.getEventTargetNode)(e,t).flag||o(e)}function r(e){o(e)}function p(){var e=B.isRefresh,t=A.value;if(!e){e=t.queryMethod||t.query;if(e){B.isRefresh=!0;try{Promise.resolve(e({})).catch(function(e){return e}).then(function(){B.isRefresh=!1})}catch(e){B.isRefresh=!1}}else M&&(B.isRefresh=!0,M.commitProxy(t.code||"reload").catch(function(e){return e}).then(function(){B.isRefresh=!1}))}}function h(e){M&&M.triggerZoomEvent(e)}function x(){v()&&C.openImport()}function g(){v()&&C.openExport()}function O(){v()&&C.openPrint()}var C,T=e.slots,c=e.emit,a=_xeUtils.default.uniqueId(),E=(0,_size.useSize)(m),B=(0,_vue.reactive)({isRefresh:!1,columns:[]}),y=(0,_vue.ref)(),R=(0,_vue.ref)(),k=(0,_vue.reactive)({isAll:!1,isIndeterminate:!1,activeBtn:!1,activeWrapper:!1,visible:!1}),s={refElem:y},L={xID:a,props:m,context:e,reactData:B,getRefMaps:function(){return s}},M=(0,_vue.inject)("$xegrid",null),A=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.refresh,m.refresh)}),N=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.import,m.import)}),V=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.export,m.export)}),z=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.print,m.print)}),$=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.zoom,m.zoom)}),q=(0,_vue.computed)(function(){return Object.assign({},_conf.default.toolbar.custom,m.custom)}),v=function(){if(C)return!0;(0,_log.errLog)("vxe.error.barUnableLink")},f=function(){var e=m.custom,t=q.value;k.visible&&(k.visible=!1,e)&&!t.immediate&&i()},d=function(e,t){(M||C).dispatchEvent("custom",{type:e},t)},X=function(e){f(),d("confirm",e)},U=function(e){var t=B.columns,o=C.getComputeMaps().computeCustomOpts.value.checkMethod;_xeUtils.default.eachTree(t,function(e){o&&!o({column:e})||(e.visible=e.defaultVisible,e.halfVisible=!1),e.resizeWidth=0}),C.saveCustomResizable(!0),f(),d("reset",e)},w=function(e){var t=!e.visible,o=q.value;_xeUtils.default.eachTree([e],function(e){e.visible=t,e.halfVisible=!1}),l(e),m.custom&&o.immediate&&i(),n()},D=function(){var e=B.columns,t=C.getComputeMaps().computeCustomOpts.value.checkMethod,o=!k.isAll;_xeUtils.default.eachTree(e,function(e){t&&!t({column:e})||(e.visible=o,e.halfVisible=!1)}),k.isAll=o,n()},H=function(e){(k.visible?o:t)(e)},K=function(e){k.activeBtn=!0,t(e)},P=function(e){k.activeBtn=!1,setTimeout(function(){k.activeBtn||k.activeWrapper||o(e)},300)},F=function(e){k.activeWrapper=!0,t(e)},W=function(e){k.activeWrapper=!1,setTimeout(function(){k.activeBtn||k.activeWrapper||o(e)},300)},S=function(e,t){var o,n=t.code;n&&(M?M.triggerToolbarBtnEvent(t,e):(o=_vXETable.VXETable.commands.get(n),n={code:n,button:t,$table:C,$event:e},o&&o(n,e),L.dispatchEvent("button-click",n,e)))},j=function(e,t){var o,n=t.code;n&&(M?M.triggerToolbarTolEvent(t,e):(o=_vXETable.VXETable.commands.get(n),n={code:n,tool:t,$table:C,$event:e},o&&o(n,e),L.dispatchEvent("tool-click",n,e)))},I=function(e,o){e=e.dropdowns;return e?e.map(function(t,e){return!1===t.visible?(0,_vue.createCommentVNode)():(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{key:e,disabled:t.disabled,loading:t.loading,type:t.type,icon:t.icon,circle:t.circle,round:t.round,status:t.status,content:t.name,onClick:function(e){return(o?S:j)(e,t)}})}):[]};Object.assign(L,{dispatchEvent:function(e,t,o){c(e,Object.assign({$toolbar:L,$event:o},t))},syncUpdate:function(e){var t=e.collectColumn;C=e.$table,B.columns=t}}),(0,_vue.onMounted)(function(){_event.GlobalEvent.on(L,"mousedown",u),_event.GlobalEvent.on(L,"blur",r)}),(0,_vue.onUnmounted)(function(){_event.GlobalEvent.off(L,"mousedown"),_event.GlobalEvent.off(L,"blur")}),(0,_vue.nextTick)(function(){var e=m.refresh,t=A.value,t=t.queryMethod||t.query;!e||M||t||(0,_log.warnLog)("vxe.error.notFunc",["queryMethod"])});return L.renderVN=function(){var u,r,i,l,e=m.perfect,t=m.loading,o=m.refresh,n=m.zoom,c=m.custom,a=m.className,s=E.value,v=A.value,f=N.value,d=V.value,_=z.value,b=$.value;return(0,_vue.h)("div",{ref:y,class:["vxe-toolbar",a?_xeUtils.default.isFunction(a)?a({$toolbar:L}):a:"",((a={})["size--".concat(s)]=s,a["is--perfect"]=e,a["is--loading"]=t,a)]},[(0,_vue.h)("div",{class:"vxe-buttons--wrapper"},(s=m.buttons,(e=T.buttons)?(0,_vn.getSlotVNs)(e({$grid:M,$table:C})):(l=[],s&&s.forEach(function(t){var e,o=t.dropdowns,n=t.buttonRender;!1!==t.visible&&(e=n?_vXETable.VXETable.renderer.get(n.name):null,n&&e&&e.renderToolbarButton?l.push((0,_vue.h)("span",{class:"vxe-button--item"},(0,_vn.getSlotVNs)(e.renderToolbarButton(n,{$grid:M,$table:C,button:t})))):l.push((0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{disabled:t.disabled,loading:t.loading,type:t.type,icon:t.icon,circle:t.circle,round:t.round,status:t.status,content:t.name,destroyOnClose:t.destroyOnClose,placement:t.placement,transfer:t.transfer,onClick:function(e){return S(e,t)}},o&&o.length?{dropdowns:function(){return I(t,!0)}}:{})))}),l))),(0,_vue.h)("div",{class:"vxe-tools--wrapper"},(t=m.tools,(a=T.tools)?(0,_vn.getSlotVNs)(a({$grid:M,$table:C})):(i=[],t&&t.forEach(function(t){var e,o=t.dropdowns,n=t.toolRender;!1!==t.visible&&(e=n?_vXETable.VXETable.renderer.get(n.name):null,n&&e&&e.renderToolbarTool?i.push((0,_vue.h)("span",{class:"vxe-tool--item"},(0,_vn.getSlotVNs)(e.renderToolbarTool(n,{$grid:M,$table:C,tool:t})))):i.push((0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{disabled:t.disabled,loading:t.loading,type:t.type,icon:t.icon,circle:t.circle,round:t.round,status:t.status,content:t.name,destroyOnClose:t.destroyOnClose,placement:t.placement,transfer:t.transfer,onClick:function(e){return j(e,t)}},o&&o.length?{dropdowns:function(){return I(t,!1)}}:{})))}),i))),(0,_vue.h)("div",{class:"vxe-tools--operate"},[m.import?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:f.icon||_conf.default.icon.TOOLBAR_TOOLS_IMPORT,title:_conf.default.i18n("vxe.toolbar.import"),onClick:x}):(0,_vue.createCommentVNode)(),m.export?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:d.icon||_conf.default.icon.TOOLBAR_TOOLS_EXPORT,title:_conf.default.i18n("vxe.toolbar.export"),onClick:g}):(0,_vue.createCommentVNode)(),m.print?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:_.icon||_conf.default.icon.TOOLBAR_TOOLS_PRINT,title:_conf.default.i18n("vxe.toolbar.print"),onClick:O}):(0,_vue.createCommentVNode)(),o?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:B.isRefresh?v.iconLoading||_conf.default.icon.TOOLBAR_TOOLS_REFRESH_LOADING:v.icon||_conf.default.icon.TOOLBAR_TOOLS_REFRESH,title:_conf.default.i18n("vxe.toolbar.refresh"),onClick:p}):(0,_vue.createCommentVNode)(),n&&M?(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),{circle:!0,icon:M.isMaximized()?b.iconOut||_conf.default.icon.TOOLBAR_TOOLS_MINIMIZE:b.iconIn||_conf.default.icon.TOOLBAR_TOOLS_FULLSCREEN,title:_conf.default.i18n("vxe.toolbar.zoom".concat(M.isMaximized()?"Out":"In")),onClick:h}):(0,_vue.createCommentVNode)(),c?(e=B.columns,s=q.value,r=[],a={},t={},C&&(u=C.getComputeMaps().computeCustomOpts.value.checkMethod),"manual"!==s.trigger&&("hover"===s.trigger?(a.onMouseenter=K,a.onMouseleave=P,t.onMouseenter=F,t.onMouseleave=W):a.onClick=H),_xeUtils.default.eachTree(e,function(e){var t,o=(0,_utils.formatText)(e.getTitle(),1),n=e.getKey(),i=e.children&&e.children.length,l=!!u&&!u({column:e});(i||n)&&(n=e.visible,t=e.halfVisible,r.push((0,_vue.h)("li",{class:["vxe-custom--option","level--".concat(e.level),{"is--group":i,"is--checked":n,"is--indeterminate":t,"is--disabled":l}],title:o,onClick:function(){l||w(e)}},[(0,_vue.h)("span",{class:["vxe-checkbox--icon",t?_conf.default.icon.TABLE_CHECKBOX_INDETERMINATE:n?_conf.default.icon.TABLE_CHECKBOX_CHECKED:_conf.default.icon.TABLE_CHECKBOX_UNCHECKED]}),(0,_vue.h)("span",{class:"vxe-checkbox--label"},o)])))}),e=k.isAll,f=k.isIndeterminate,(0,_vue.h)("div",{class:["vxe-custom--wrapper",{"is--active":k.visible}],ref:R},[(0,_vue.h)((0,_vue.resolveComponent)("vxe-button"),__assign({circle:!0,icon:s.icon||_conf.default.icon.TOOLBAR_TOOLS_CUSTOM,title:_conf.default.i18n("vxe.toolbar.custom")},a)),(0,_vue.h)("div",{class:"vxe-custom--option-wrapper"},[(0,_vue.h)("ul",{class:"vxe-custom--header"},[(0,_vue.h)("li",{class:["vxe-custom--option",{"is--checked":e,"is--indeterminate":f}],title:_conf.default.i18n("vxe.table.allTitle"),onClick:D},[(0,_vue.h)("span",{class:["vxe-checkbox--icon",f?_conf.default.icon.TABLE_CHECKBOX_INDETERMINATE:e?_conf.default.icon.TABLE_CHECKBOX_CHECKED:_conf.default.icon.TABLE_CHECKBOX_UNCHECKED]}),(0,_vue.h)("span",{class:"vxe-checkbox--label"},_conf.default.i18n("vxe.toolbar.customAll"))])]),(0,_vue.h)("ul",__assign({class:"vxe-custom--body"},t),r),!1===s.isFooter?null:(0,_vue.h)("div",{class:"vxe-custom--footer"},[(0,_vue.h)("button",{class:"btn--confirm",onClick:X},_conf.default.i18n("vxe.toolbar.customConfirm")),(0,_vue.h)("button",{class:"btn--reset",onClick:U},_conf.default.i18n("vxe.toolbar.customRestore"))])])])):(0,_vue.createCommentVNode)()])])},L},render:function(){return this.renderVN()}});exports.default=_default;
|
|
@@ -24,36 +24,39 @@
|
|
|
24
24
|
/*switch*/
|
|
25
25
|
/*pulldown*/
|
|
26
26
|
.vxe-custom--option .vxe-checkbox--icon {
|
|
27
|
-
font-size: 1.34em;
|
|
28
|
-
|
|
27
|
+
font-size: 1.34em;
|
|
28
|
+
}
|
|
29
29
|
.vxe-custom--option .vxe-checkbox--icon {
|
|
30
30
|
color: #dcdfe6;
|
|
31
31
|
vertical-align: middle;
|
|
32
32
|
font-weight: 700;
|
|
33
33
|
-webkit-user-select: none;
|
|
34
34
|
-moz-user-select: none;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
user-select: none;
|
|
36
|
+
}
|
|
38
37
|
.is--checked.vxe-custom--option, .is--indeterminate.vxe-custom--option {
|
|
39
|
-
color: #409eff;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
color: #409eff;
|
|
39
|
+
}
|
|
40
|
+
.is--checked.vxe-custom--option .vxe-checkbox--icon, .is--indeterminate.vxe-custom--option .vxe-checkbox--icon {
|
|
41
|
+
color: #409eff;
|
|
42
|
+
}
|
|
43
43
|
.vxe-custom--option:not(.is--disabled) {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
.vxe-custom--option:not(.is--disabled):hover .vxe-checkbox--icon {
|
|
47
|
+
color: #409eff;
|
|
48
|
+
}
|
|
48
49
|
.is--disabled.vxe-custom--option {
|
|
49
50
|
color: #BFBFBF;
|
|
50
|
-
cursor: not-allowed;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
.is--disabled.vxe-custom--option .vxe-checkbox--icon {
|
|
54
|
+
color: #dcdfe6;
|
|
55
|
+
}
|
|
54
56
|
.vxe-custom--option .vxe-checkbox--label {
|
|
55
57
|
padding-left: 0.5em;
|
|
56
|
-
vertical-align: middle;
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
}
|
|
57
60
|
|
|
58
61
|
/*toolbar*/
|
|
59
62
|
.vxe-toolbar {
|
|
@@ -64,148 +67,182 @@
|
|
|
64
67
|
padding: 0.6em 0;
|
|
65
68
|
color: #606266;
|
|
66
69
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
|
|
67
|
-
background-color: #fff;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
70
|
+
background-color: #fff;
|
|
71
|
+
}
|
|
72
|
+
.vxe-toolbar:after {
|
|
73
|
+
content: "";
|
|
74
|
+
display: block;
|
|
75
|
+
clear: both;
|
|
76
|
+
height: 0;
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
visibility: hidden;
|
|
79
|
+
}
|
|
80
|
+
.vxe-toolbar.is--perfect {
|
|
81
|
+
border: 1px solid #e8eaec;
|
|
82
|
+
border-bottom-width: 0;
|
|
83
|
+
background-color: #f8f8f9;
|
|
84
|
+
}
|
|
85
|
+
.vxe-toolbar.is--loading:before {
|
|
86
|
+
content: "";
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 0;
|
|
89
|
+
left: 0;
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: 100%;
|
|
92
|
+
z-index: 999;
|
|
93
|
+
-webkit-user-select: none;
|
|
94
|
+
-moz-user-select: none;
|
|
95
|
+
user-select: none;
|
|
96
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
97
|
+
}
|
|
98
|
+
.vxe-toolbar .vxe-buttons--wrapper {
|
|
99
|
+
flex-grow: 1;
|
|
100
|
+
}
|
|
101
|
+
.vxe-toolbar .vxe-buttons--wrapper > .vxe-button + .vxe-button--item, .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item + .vxe-button, .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item + .vxe-button--item {
|
|
102
|
+
margin-left: 0.8em;
|
|
103
|
+
}
|
|
104
|
+
.vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item {
|
|
105
|
+
display: inline-block;
|
|
106
|
+
}
|
|
107
|
+
.vxe-toolbar .vxe-tools--wrapper > .vxe-button + .vxe-tool--item, .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item + .vxe-button, .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item + .vxe-tool--item {
|
|
108
|
+
margin-left: 0.8em;
|
|
109
|
+
}
|
|
110
|
+
.vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item {
|
|
111
|
+
display: inline-block;
|
|
112
|
+
}
|
|
113
|
+
.vxe-toolbar .vxe-tools--wrapper > .vxe-button {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
}
|
|
118
|
+
.vxe-toolbar .vxe-buttons--wrapper,
|
|
119
|
+
.vxe-toolbar .vxe-tools--wrapper,
|
|
120
|
+
.vxe-toolbar .vxe-tools--operate {
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
}
|
|
124
|
+
.vxe-toolbar .vxe-buttons--wrapper,
|
|
125
|
+
.vxe-toolbar .vxe-tools--wrapper {
|
|
126
|
+
flex-wrap: wrap;
|
|
127
|
+
}
|
|
128
|
+
.vxe-toolbar .vxe-tools--operate {
|
|
129
|
+
flex-shrink: 0;
|
|
130
|
+
}
|
|
131
|
+
.vxe-toolbar .vxe-custom--wrapper {
|
|
132
|
+
position: relative;
|
|
133
|
+
margin-left: 0.8em;
|
|
134
|
+
}
|
|
135
|
+
.vxe-toolbar .vxe-custom--wrapper.is--active > .vxe-button {
|
|
136
|
+
background-color: #D9DADB;
|
|
137
|
+
border-radius: 50%;
|
|
138
|
+
}
|
|
139
|
+
.vxe-toolbar .vxe-custom--wrapper.is--active .vxe-custom--option-wrapper {
|
|
140
|
+
display: block;
|
|
141
|
+
}
|
|
142
|
+
.vxe-toolbar .vxe-custom--option-wrapper {
|
|
143
|
+
display: none;
|
|
144
|
+
position: absolute;
|
|
145
|
+
right: 2px;
|
|
146
|
+
text-align: left;
|
|
147
|
+
background-color: #fff;
|
|
148
|
+
z-index: 19;
|
|
149
|
+
border: 1px solid #e8eaec;
|
|
150
|
+
border-radius: 4px;
|
|
151
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
|
152
|
+
}
|
|
153
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header {
|
|
154
|
+
padding: 0.28em 0;
|
|
155
|
+
font-weight: 700;
|
|
156
|
+
border-bottom: 1px solid #DADCE0;
|
|
157
|
+
}
|
|
158
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body {
|
|
159
|
+
padding: 0.2em 0;
|
|
160
|
+
max-height: 17.6em;
|
|
161
|
+
}
|
|
162
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body .vxe-custom--option:hover {
|
|
163
|
+
background-color: #f5f7fa;
|
|
164
|
+
}
|
|
165
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li,
|
|
166
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li {
|
|
167
|
+
max-width: 16em;
|
|
168
|
+
min-width: 12.5em;
|
|
169
|
+
padding: 0.2em 1em 0.2em 1em;
|
|
170
|
+
}
|
|
171
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--2,
|
|
172
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--2 {
|
|
173
|
+
padding-left: 3.5em;
|
|
174
|
+
}
|
|
175
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--2 .vxe-checkbox--icon,
|
|
176
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--2 .vxe-checkbox--icon {
|
|
177
|
+
left: 1.8em;
|
|
178
|
+
}
|
|
179
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--3,
|
|
180
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--3 {
|
|
181
|
+
padding-left: 4.5em;
|
|
182
|
+
}
|
|
183
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--3 .vxe-checkbox--icon,
|
|
184
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--3 .vxe-checkbox--icon {
|
|
185
|
+
left: 2.8em;
|
|
186
|
+
}
|
|
187
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--4,
|
|
188
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--4 {
|
|
189
|
+
padding-left: 5.5em;
|
|
190
|
+
}
|
|
191
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--4 .vxe-checkbox--icon,
|
|
192
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--4 .vxe-checkbox--icon {
|
|
193
|
+
left: 3.8em;
|
|
194
|
+
}
|
|
195
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--5,
|
|
196
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--5 {
|
|
197
|
+
padding-left: 6.5em;
|
|
198
|
+
}
|
|
199
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--5 .vxe-checkbox--icon,
|
|
200
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--5 .vxe-checkbox--icon {
|
|
201
|
+
left: 4.8em;
|
|
202
|
+
}
|
|
203
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--6,
|
|
204
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--6 {
|
|
205
|
+
padding-left: 7.5em;
|
|
206
|
+
}
|
|
207
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--6 .vxe-checkbox--icon,
|
|
208
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--6 .vxe-checkbox--icon {
|
|
209
|
+
left: 5.8em;
|
|
210
|
+
}
|
|
211
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--7,
|
|
212
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--7 {
|
|
213
|
+
padding-left: 8.5em;
|
|
214
|
+
}
|
|
215
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--7 .vxe-checkbox--icon,
|
|
216
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--7 .vxe-checkbox--icon {
|
|
217
|
+
left: 6.8em;
|
|
218
|
+
}
|
|
219
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--8,
|
|
220
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--8 {
|
|
221
|
+
padding-left: 9.5em;
|
|
222
|
+
}
|
|
223
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--8 .vxe-checkbox--icon,
|
|
224
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--8 .vxe-checkbox--icon {
|
|
225
|
+
left: 7.8em;
|
|
226
|
+
}
|
|
227
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer {
|
|
228
|
+
border-top: 1px solid #DADCE0;
|
|
229
|
+
text-align: right;
|
|
230
|
+
}
|
|
231
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button {
|
|
232
|
+
background-color: transparent;
|
|
233
|
+
width: 50%;
|
|
234
|
+
height: 2.5em;
|
|
235
|
+
border: 0;
|
|
236
|
+
color: #606266;
|
|
237
|
+
text-align: center;
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
}
|
|
240
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:focus {
|
|
241
|
+
outline: none;
|
|
242
|
+
}
|
|
243
|
+
.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:hover {
|
|
244
|
+
color: #409eff;
|
|
245
|
+
}
|
|
209
246
|
|
|
210
247
|
.vxe-custom--option-wrapper .vxe-custom--header,
|
|
211
248
|
.vxe-custom--option-wrapper .vxe-custom--body {
|
|
@@ -216,19 +253,24 @@
|
|
|
216
253
|
padding: 0;
|
|
217
254
|
-webkit-user-select: none;
|
|
218
255
|
-moz-user-select: none;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
256
|
+
user-select: none;
|
|
257
|
+
}
|
|
258
|
+
.vxe-custom--option-wrapper .vxe-custom--header > li,
|
|
259
|
+
.vxe-custom--option-wrapper .vxe-custom--body > li {
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
text-overflow: ellipsis;
|
|
262
|
+
white-space: nowrap;
|
|
263
|
+
}
|
|
226
264
|
|
|
227
265
|
.vxe-toolbar {
|
|
228
|
-
font-size: 14px;
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
266
|
+
font-size: 14px;
|
|
267
|
+
}
|
|
268
|
+
.vxe-toolbar.size--medium {
|
|
269
|
+
font-size: 14px;
|
|
270
|
+
}
|
|
271
|
+
.vxe-toolbar.size--small {
|
|
272
|
+
font-size: 13px;
|
|
273
|
+
}
|
|
274
|
+
.vxe-toolbar.size--mini {
|
|
275
|
+
font-size: 12px;
|
|
276
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-custom--option .vxe-checkbox--icon{font-size:1.34em}.vxe-custom--option .vxe-checkbox--icon{color:#dcdfe6;vertical-align:middle;font-weight:700;-webkit-user-select:none;-moz-user-select:none
|
|
1
|
+
.vxe-custom--option .vxe-checkbox--icon{font-size:1.34em}.vxe-custom--option .vxe-checkbox--icon{color:#dcdfe6;vertical-align:middle;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none}.is--checked.vxe-custom--option,.is--indeterminate.vxe-custom--option{color:#409eff}.is--checked.vxe-custom--option .vxe-checkbox--icon,.is--indeterminate.vxe-custom--option .vxe-checkbox--icon{color:#409eff}.vxe-custom--option:not(.is--disabled){cursor:pointer}.vxe-custom--option:not(.is--disabled):hover .vxe-checkbox--icon{color:#409eff}.is--disabled.vxe-custom--option{color:#bfbfbf;cursor:not-allowed}.is--disabled.vxe-custom--option .vxe-checkbox--icon{color:#dcdfe6}.vxe-custom--option .vxe-checkbox--label{padding-left:.5em;vertical-align:middle}.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;padding:.6em 0;color:#606266;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;background-color:#fff}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid #e8eaec;border-bottom-width:0;background-color:#f8f8f9}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:rgba(255,255,255,.5)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--operate,.vxe-toolbar .vxe-tools--wrapper{display:flex;align-items:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--wrapper{flex-wrap:wrap}.vxe-toolbar .vxe-tools--operate{flex-shrink:0}.vxe-toolbar .vxe-custom--wrapper{position:relative;margin-left:.8em}.vxe-toolbar .vxe-custom--wrapper.is--active>.vxe-button{background-color:#d9dadb;border-radius:50%}.vxe-toolbar .vxe-custom--wrapper.is--active .vxe-custom--option-wrapper{display:block}.vxe-toolbar .vxe-custom--option-wrapper{display:none;position:absolute;right:2px;text-align:left;background-color:#fff;z-index:19;border:1px solid #e8eaec;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2)}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header{padding:.28em 0;font-weight:700;border-bottom:1px solid #dadce0}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body{padding:.2em 0;max-height:17.6em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body .vxe-custom--option:hover{background-color:#f5f7fa}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li{max-width:16em;min-width:12.5em;padding:.2em 1em .2em 1em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--2,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--2{padding-left:3.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--2 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--2 .vxe-checkbox--icon{left:1.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--3,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--3{padding-left:4.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--3 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--3 .vxe-checkbox--icon{left:2.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--4,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--4{padding-left:5.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--4 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--4 .vxe-checkbox--icon{left:3.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--5,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--5{padding-left:6.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--5 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--5 .vxe-checkbox--icon{left:4.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--6,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--6{padding-left:7.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--6 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--6 .vxe-checkbox--icon{left:5.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--7,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--7{padding-left:8.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--7 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--7 .vxe-checkbox--icon{left:6.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--8,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--8{padding-left:9.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--8 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--8 .vxe-checkbox--icon{left:7.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer{border-top:1px solid #dadce0;text-align:right}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button{background-color:transparent;width:50%;height:2.5em;border:0;color:#606266;text-align:center;cursor:pointer}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:focus{outline:0}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:hover{color:#409eff}.vxe-custom--option-wrapper .vxe-custom--body,.vxe-custom--option-wrapper .vxe-custom--header{list-style-type:none;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-custom--option-wrapper .vxe-custom--body>li,.vxe-custom--option-wrapper .vxe-custom--header>li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vxe-toolbar{font-size:14px}.vxe-toolbar.size--medium{font-size:14px}.vxe-toolbar.size--small{font-size:13px}.vxe-toolbar.size--mini{font-size:12px}
|