vxe-pc-ui 4.8.13 → 4.8.14

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.
Files changed (47) hide show
  1. package/README.md +8 -4
  2. package/es/icon/style.css +1 -1
  3. package/es/split/style.css +27 -33
  4. package/es/split/style.min.css +1 -1
  5. package/es/style.css +1 -1
  6. package/es/style.min.css +1 -1
  7. package/es/ui/index.js +1 -1
  8. package/es/ui/src/log.js +1 -1
  9. package/es/vxe-split/style.css +27 -33
  10. package/es/vxe-split/style.min.css +1 -1
  11. package/lib/icon/style/style.css +1 -1
  12. package/lib/icon/style/style.min.css +1 -1
  13. package/lib/index.umd.js +2 -2
  14. package/lib/index.umd.min.js +1 -1
  15. package/lib/split/style/style.css +27 -33
  16. package/lib/split/style/style.min.css +1 -1
  17. package/lib/style.css +1 -1
  18. package/lib/style.min.css +1 -1
  19. package/lib/ui/index.js +1 -1
  20. package/lib/ui/index.min.js +1 -1
  21. package/lib/ui/src/log.js +1 -1
  22. package/lib/ui/src/log.min.js +1 -1
  23. package/lib/vxe-split/style/style.css +27 -33
  24. package/lib/vxe-split/style/style.min.css +1 -1
  25. package/package.json +1 -1
  26. package/styles/components/split.scss +25 -42
  27. package/styles/theme/base.scss +4 -2
  28. package/styles/theme/dark.scss +2 -1
  29. package/styles/theme/light.scss +2 -1
  30. package/styles/variable.scss +2 -1
  31. package/types/components/gantt-module/gantt-view.d.ts +5 -1
  32. package/types/components/gantt.d.ts +105 -16
  33. package/types/components/grid.d.ts +3 -2
  34. package/types/components/table.d.ts +9 -6
  35. package/types/ui/global-icon.d.ts +6 -0
  36. /package/es/icon/{iconfont.1754905375075.ttf → iconfont.1755066105728.ttf} +0 -0
  37. /package/es/icon/{iconfont.1754905375075.woff → iconfont.1755066105728.woff} +0 -0
  38. /package/es/icon/{iconfont.1754905375075.woff2 → iconfont.1755066105728.woff2} +0 -0
  39. /package/es/{iconfont.1754905375075.ttf → iconfont.1755066105728.ttf} +0 -0
  40. /package/es/{iconfont.1754905375075.woff → iconfont.1755066105728.woff} +0 -0
  41. /package/es/{iconfont.1754905375075.woff2 → iconfont.1755066105728.woff2} +0 -0
  42. /package/lib/icon/style/{iconfont.1754905375075.ttf → iconfont.1755066105728.ttf} +0 -0
  43. /package/lib/icon/style/{iconfont.1754905375075.woff → iconfont.1755066105728.woff} +0 -0
  44. /package/lib/icon/style/{iconfont.1754905375075.woff2 → iconfont.1755066105728.woff2} +0 -0
  45. /package/lib/{iconfont.1754905375075.ttf → iconfont.1755066105728.ttf} +0 -0
  46. /package/lib/{iconfont.1754905375075.woff → iconfont.1755066105728.woff} +0 -0
  47. /package/lib/{iconfont.1754905375075.woff2 → iconfont.1755066105728.woff2} +0 -0
package/lib/ui/index.js CHANGED
@@ -26,7 +26,7 @@ Object.keys(_core).forEach(function (key) {
26
26
  });
27
27
  var _dynamics = require("../dynamics");
28
28
  var _log = require("./src/log");
29
- const version = exports.version = "4.8.13";
29
+ const version = exports.version = "4.8.14";
30
30
  _core.VxeUI.uiVersion = version;
31
31
  _core.VxeUI.dynamicApp = _dynamics.dynamicApp;
32
32
  function config(options) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_log=require("./src/log");const version=exports.version="4.8.13";function config(e){return(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return(0,_log.warnLog)("vxe.error.delFunc",["setup","setConfig"]),(0,_core.setConfig)(e)}_core.VxeUI.uiVersion=version,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},avatar:{},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0}},buttonGroup:{},calendar:{minDate:new Date(1900,0,1),maxDate:new Date(2100,0,1),startDay:1,selectDay:1},card:{border:!0,padding:!0},carousel:{height:200,loop:!0,interval:5e3},carouselItem:{},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showMessage:!0,autoPos:!0,theme:"beautify"},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},formGroup:{},formItem:{},formView:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{destroyOnClose:!0},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40}},splitPane:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tabs:{},tag:{},textEllipsis:{underline:!0},text:{},textarea:{resize:"none"},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{autoClose:!0,virtualYConfig:{enabled:!0,gt:0,oSize:2},treeConfig:{maxHeight:300,radioConfig:{},checkboxConfig:{},filterConfig:{autoExpandAll:!0}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_DESIGN_STYLE_SETTING:iconPrefix+"layout",FORM_DESIGN_PROPS_PC:iconPrefix+"pc",FORM_DESIGN_PROPS_MOBILE:iconPrefix+"mobile",FORM_DESIGN_PROPS_ADD:iconPrefix+"add",FORM_DESIGN_PROPS_EDIT:iconPrefix+"edit",FORM_DESIGN_WIDGET_ADD:iconPrefix+"square-plus-fill",FORM_DESIGN_WIDGET_COPY:iconPrefix+"copy",FORM_DESIGN_WIDGET_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_SWAP_LR:iconPrefix+"swap",FORM_DESIGN_WIDGET_OPTION_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus",LIST_DESIGN_FIELD_SETTING:iconPrefix+"custom-column",LIST_DESIGN_LIST_SETTING:iconPrefix+"menu",LIST_DESIGN_LIST_SETTING_SEARCH_DELETE:iconPrefix+"delete",LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE:iconPrefix+"delete",UPLOAD_FILE_ERROR:iconPrefix+"warning-circle-fill",UPLOAD_FILE_ADD:iconPrefix+"upload",UPLOAD_FILE_REMOVE:iconPrefix+"delete",UPLOAD_FILE_DOWNLOAD:iconPrefix+"download",UPLOAD_IMAGE_UPLOAD:iconPrefix+"upload",UPLOAD_IMAGE_RE_UPLOAD:iconPrefix+"repeat",UPLOAD_IMAGE_ADD:iconPrefix+"add",UPLOAD_IMAGE_REMOVE:iconPrefix+"close",UPLOAD_LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",UPLOAD_FILE_TYPE_DEFAULT:iconPrefix+"file",UPLOAD_FILE_TYPE_XLSX:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_XLS:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_PDF:iconPrefix+"file-pdf",UPLOAD_FILE_TYPE_PNG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_GIF:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPEG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_MD:iconPrefix+"file-markdown",UPLOAD_FILE_TYPE_PPD:iconPrefix+"file-ppt",UPLOAD_FILE_TYPE_DOCX:iconPrefix+"file-word",UPLOAD_FILE_TYPE_DOC:iconPrefix+"file-word",UPLOAD_FILE_TYPE_ZIP:iconPrefix+"file-zip",UPLOAD_FILE_TYPE_TXT:iconPrefix+"file-txt",IMAGE_PREVIEW_CLOSE:iconPrefix+"close",IMAGE_PREVIEW_PREVIOUS:iconPrefix+"arrow-left",IMAGE_PREVIEW_NEXT:iconPrefix+"arrow-right",IMAGE_PREVIEW_PCT_FULL:iconPrefix+"pct-full",IMAGE_PREVIEW_PCT_1_1:iconPrefix+"pct-1-1",IMAGE_PREVIEW_ZOOM_OUT:iconPrefix+"search-zoom-out",IMAGE_PREVIEW_ZOOM_IN:iconPrefix+"search-zoom-in",IMAGE_PREVIEW_ROTATE_LEFT:iconPrefix+"rotate-left",IMAGE_PREVIEW_ROTATE_RIGHT:iconPrefix+"rotate-right",IMAGE_PREVIEW_PRINT:iconPrefix+"print",IMAGE_PREVIEW_DOWNLOAD:iconPrefix+"download",ALERT_CLOSE:iconPrefix+"close",ALERT_INFO:iconPrefix+"info-circle-fill",ALERT_SUCCESS:iconPrefix+"success-circle-fill",ALERT_WARNING:iconPrefix+"warning-circle-fill",ALERT_ERROR:iconPrefix+"error-circle-fill",TREE_NODE_OPEN:iconPrefix+"caret-right rotate90",TREE_NODE_CLOSE:iconPrefix+"caret-right",TREE_NODE_LOADED:iconPrefix+"spinner roll",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right"});var _default=exports.default=_core.VxeUI;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_log=require("./src/log");const version=exports.version="4.8.14";function config(e){return(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return(0,_log.warnLog)("vxe.error.delFunc",["setup","setConfig"]),(0,_core.setConfig)(e)}_core.VxeUI.uiVersion=version,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},avatar:{},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0}},buttonGroup:{},calendar:{minDate:new Date(1900,0,1),maxDate:new Date(2100,0,1),startDay:1,selectDay:1},card:{border:!0,padding:!0},carousel:{height:200,loop:!0,interval:5e3},carouselItem:{},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showMessage:!0,autoPos:!0,theme:"beautify"},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},formGroup:{},formItem:{},formView:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{destroyOnClose:!0},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40}},splitPane:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tabs:{},tag:{},textEllipsis:{underline:!0},text:{},textarea:{resize:"none"},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{autoClose:!0,virtualYConfig:{enabled:!0,gt:0,oSize:2},treeConfig:{maxHeight:300,radioConfig:{},checkboxConfig:{},filterConfig:{autoExpandAll:!0}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_DESIGN_STYLE_SETTING:iconPrefix+"layout",FORM_DESIGN_PROPS_PC:iconPrefix+"pc",FORM_DESIGN_PROPS_MOBILE:iconPrefix+"mobile",FORM_DESIGN_PROPS_ADD:iconPrefix+"add",FORM_DESIGN_PROPS_EDIT:iconPrefix+"edit",FORM_DESIGN_WIDGET_ADD:iconPrefix+"square-plus-fill",FORM_DESIGN_WIDGET_COPY:iconPrefix+"copy",FORM_DESIGN_WIDGET_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_SWAP_LR:iconPrefix+"swap",FORM_DESIGN_WIDGET_OPTION_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus",LIST_DESIGN_FIELD_SETTING:iconPrefix+"custom-column",LIST_DESIGN_LIST_SETTING:iconPrefix+"menu",LIST_DESIGN_LIST_SETTING_SEARCH_DELETE:iconPrefix+"delete",LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE:iconPrefix+"delete",UPLOAD_FILE_ERROR:iconPrefix+"warning-circle-fill",UPLOAD_FILE_ADD:iconPrefix+"upload",UPLOAD_FILE_REMOVE:iconPrefix+"delete",UPLOAD_FILE_DOWNLOAD:iconPrefix+"download",UPLOAD_IMAGE_UPLOAD:iconPrefix+"upload",UPLOAD_IMAGE_RE_UPLOAD:iconPrefix+"repeat",UPLOAD_IMAGE_ADD:iconPrefix+"add",UPLOAD_IMAGE_REMOVE:iconPrefix+"close",UPLOAD_LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",UPLOAD_FILE_TYPE_DEFAULT:iconPrefix+"file",UPLOAD_FILE_TYPE_XLSX:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_XLS:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_PDF:iconPrefix+"file-pdf",UPLOAD_FILE_TYPE_PNG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_GIF:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPEG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_MD:iconPrefix+"file-markdown",UPLOAD_FILE_TYPE_PPD:iconPrefix+"file-ppt",UPLOAD_FILE_TYPE_DOCX:iconPrefix+"file-word",UPLOAD_FILE_TYPE_DOC:iconPrefix+"file-word",UPLOAD_FILE_TYPE_ZIP:iconPrefix+"file-zip",UPLOAD_FILE_TYPE_TXT:iconPrefix+"file-txt",IMAGE_PREVIEW_CLOSE:iconPrefix+"close",IMAGE_PREVIEW_PREVIOUS:iconPrefix+"arrow-left",IMAGE_PREVIEW_NEXT:iconPrefix+"arrow-right",IMAGE_PREVIEW_PCT_FULL:iconPrefix+"pct-full",IMAGE_PREVIEW_PCT_1_1:iconPrefix+"pct-1-1",IMAGE_PREVIEW_ZOOM_OUT:iconPrefix+"search-zoom-out",IMAGE_PREVIEW_ZOOM_IN:iconPrefix+"search-zoom-in",IMAGE_PREVIEW_ROTATE_LEFT:iconPrefix+"rotate-left",IMAGE_PREVIEW_ROTATE_RIGHT:iconPrefix+"rotate-right",IMAGE_PREVIEW_PRINT:iconPrefix+"print",IMAGE_PREVIEW_DOWNLOAD:iconPrefix+"download",ALERT_CLOSE:iconPrefix+"close",ALERT_INFO:iconPrefix+"info-circle-fill",ALERT_SUCCESS:iconPrefix+"success-circle-fill",ALERT_WARNING:iconPrefix+"warning-circle-fill",ALERT_ERROR:iconPrefix+"error-circle-fill",TREE_NODE_OPEN:iconPrefix+"caret-right rotate90",TREE_NODE_CLOSE:iconPrefix+"caret-right",TREE_NODE_LOADED:iconPrefix+"spinner roll",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right"});var _default=exports.default=_core.VxeUI;
package/lib/ui/src/log.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.warnLog = exports.errLog = void 0;
7
7
  var _core = require("@vxe-ui/core");
8
- const version = `ui v${"4.8.13"}`;
8
+ const version = `ui v${"4.8.14"}`;
9
9
  const warnLog = exports.warnLog = _core.log.create('warn', version);
10
10
  const errLog = exports.errLog = _core.log.create('error', version);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const version="ui v4.8.13",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const version="ui v4.8.14",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
@@ -21,6 +21,9 @@
21
21
  height: 100%;
22
22
  z-index: 1;
23
23
  background: transparent;
24
+ -webkit-user-select: none;
25
+ -moz-user-select: none;
26
+ user-select: none;
24
27
  }
25
28
 
26
29
  .vxe-split-wrapper {
@@ -59,22 +62,33 @@
59
62
  }
60
63
 
61
64
  .vxe-split-pane-handle-bar {
62
- background-color: var(--vxe-split-handle-bar-background-color);
65
+ background-color: var(--vxe-ui-split-handle-bar-background-color);
63
66
  }
64
67
 
65
68
  .vxe-split-pane-action-btn {
66
- display: block;
67
69
  position: absolute;
70
+ display: flex;
71
+ flex-direction: row;
72
+ align-items: center;
73
+ justify-content: center;
74
+ font-size: 0.5em;
75
+ border-radius: var(--vxe-ui-base-border-radius);
76
+ top: 50%;
77
+ left: 50%;
78
+ transform: translate(-50%, -50%);
68
79
  z-index: 2;
69
- cursor: pointer;
70
- background-color: var(--vxe-ui-layout-background-color);
80
+ color: var(--vxe-ui-layout-background-color);
81
+ background-color: var(--vxe-ui-split-handle-button-background-color);
71
82
  border: 1px solid var(--vxe-ui-input-border-color);
83
+ cursor: pointer;
72
84
  transition: transform 0.1s ease-in-out;
73
85
  }
74
86
  .vxe-split-pane-action-btn:hover {
75
- color: var(--vxe-ui-layout-background-color);
76
87
  background-color: var(--vxe-ui-font-primary-lighten-color);
77
88
  }
89
+ .vxe-split-pane-action-btn:active {
90
+ transform: translate(-50%, -50%) scale(0.9);
91
+ }
78
92
 
79
93
  .vxe-split-pane {
80
94
  display: flex;
@@ -93,7 +107,7 @@
93
107
  .vxe-split-pane.is--width, .vxe-split-pane.is--height {
94
108
  flex-shrink: 0;
95
109
  }
96
- .vxe-split-pane.is--border > .vxe-split-pane--wrapper, .vxe-split-pane.is--border > .vxe-split-pane-handle {
110
+ .vxe-split-pane.is--border > .vxe-split-pane--wrapper {
97
111
  border: 1px solid var(--vxe-ui-base-popup-border-color);
98
112
  }
99
113
  .vxe-split-pane.is--resize.is--expand.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
@@ -103,7 +117,7 @@
103
117
  cursor: n-resize;
104
118
  }
105
119
  .vxe-split-pane.is--resize.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar {
106
- background-color: var(--vxe-split-handle-bar-background-color);
120
+ background-color: var(--vxe-ui-split-handle-bar-background-color);
107
121
  }
108
122
  .vxe-split-pane.is--resize.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar:hover {
109
123
  background-color: var(--vxe-ui-font-primary-lighten-color);
@@ -114,23 +128,13 @@
114
128
  .vxe-split-pane.is--horizontal {
115
129
  flex-direction: row;
116
130
  }
117
- .vxe-split-pane.is--horizontal > .vxe-split-pane-handle.to--prev .vxe-split-pane-action-btn {
118
- left: 0;
119
- }
120
- .vxe-split-pane.is--horizontal > .vxe-split-pane-handle.to--next .vxe-split-pane-action-btn {
121
- right: 0;
122
- }
123
131
  .vxe-split-pane.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
124
- width: var(--vxe-split-handle-bar-width);
132
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
125
133
  height: 100%;
126
134
  }
127
135
  .vxe-split-pane.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-action-btn {
128
- top: 50%;
129
- transform: translateY(-50%);
130
- padding: 1em 0;
131
- }
132
- .vxe-split-pane.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-action-btn:active {
133
- transform: translateY(-50%) scale(0.9);
136
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
137
+ height: var(--vxe-ui-split-handle-bar-horizontal-height);
134
138
  }
135
139
  .vxe-split-pane.is--horizontal.is--border > .vxe-split-pane-handle {
136
140
  border-width: 1px 0 1px 0;
@@ -138,23 +142,13 @@
138
142
  .vxe-split-pane.is--vertical {
139
143
  flex-direction: column;
140
144
  }
141
- .vxe-split-pane.is--vertical > .vxe-split-pane-handle.to--prev .vxe-split-pane-action-btn {
142
- top: 0;
143
- }
144
- .vxe-split-pane.is--vertical > .vxe-split-pane-handle.to--next .vxe-split-pane-action-btn {
145
- bottom: 0;
146
- }
147
145
  .vxe-split-pane.is--vertical > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
148
- height: var(--vxe-split-handle-bar-height);
146
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
149
147
  width: 100%;
150
148
  }
151
149
  .vxe-split-pane.is--vertical > .vxe-split-pane-handle .vxe-split-pane-action-btn {
152
- left: 50%;
153
- transform: translateX(-50%);
154
- padding: 0 1em;
155
- }
156
- .vxe-split-pane.is--vertical > .vxe-split-pane-handle .vxe-split-pane-action-btn:active {
157
- transform: translateX(-50%) scale(0.9);
150
+ width: var(--vxe-ui-split-handle-bar-vertical-width);
151
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
158
152
  }
159
153
  .vxe-split-pane.is--vertical.is--border > .vxe-split-pane-handle {
160
154
  border-width: 0 1px 0 1px;
@@ -1 +1 @@
1
- .vxe-split{width:100%}.vxe-split.is--vertical>.vxe-split-wrapper{flex-direction:column}.vxe-split.is--vertical>.vxe-split-wrapper>.vxe-split-pane{width:100%}.vxe-split.is--drag{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split.is--drag>.vxe-split-wrapper>.vxe-split-pane>.vxe-split-pane--wrapper::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:0 0}.vxe-split-wrapper{height:100%;display:flex;flex-direction:row;overflow:hidden}.vxe-split-slots{display:none}.vxe-split-pane-handle{position:relative;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split-pane--wrapper{position:relative;word-break:break-word;overflow:hidden;flex-grow:1}.vxe-split-pane--inner{height:100%;width:100%;overflow:auto}.vxe-split-pane--inner>.vxe-split{height:100%}.vxe-split-pane-handle-bar{background-color:var(--vxe-split-handle-bar-background-color)}.vxe-split-pane-action-btn{display:block;position:absolute;z-index:2;cursor:pointer;background-color:var(--vxe-ui-layout-background-color);border:1px solid var(--vxe-ui-input-border-color);transition:transform .1s ease-in-out}.vxe-split-pane-action-btn:hover{color:var(--vxe-ui-layout-background-color);background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-pane{display:flex;position:relative;overflow:hidden}.vxe-split-pane.is--hidden{width:0}.vxe-split-pane.is--padding>.vxe-split-pane--wrapper{padding:var(--vxe-ui-layout-padding-default)}.vxe-split-pane.is--fill{flex-grow:1}.vxe-split-pane.is--height,.vxe-split-pane.is--width{flex-shrink:0}.vxe-split-pane.is--border>.vxe-split-pane--wrapper,.vxe-split-pane.is--border>.vxe-split-pane-handle{border:1px solid var(--vxe-ui-base-popup-border-color)}.vxe-split-pane.is--resize.is--expand.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-handle-bar{cursor:w-resize}.vxe-split-pane.is--resize.is--expand.is--vertical>.vxe-split-pane-handle .vxe-split-pane-handle-bar{cursor:n-resize}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar{background-color:var(--vxe-split-handle-bar-background-color)}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar:hover{background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar:active{background-color:var(--vxe-ui-font-primary-darken-color)}.vxe-split-pane.is--horizontal{flex-direction:row}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle.to--prev .vxe-split-pane-action-btn{left:0}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle.to--next .vxe-split-pane-action-btn{right:0}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-handle-bar{width:var(--vxe-split-handle-bar-width);height:100%}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-action-btn{top:50%;transform:translateY(-50%);padding:1em 0}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-action-btn:active{transform:translateY(-50%) scale(.9)}.vxe-split-pane.is--horizontal.is--border>.vxe-split-pane-handle{border-width:1px 0 1px 0}.vxe-split-pane.is--vertical{flex-direction:column}.vxe-split-pane.is--vertical>.vxe-split-pane-handle.to--prev .vxe-split-pane-action-btn{top:0}.vxe-split-pane.is--vertical>.vxe-split-pane-handle.to--next .vxe-split-pane-action-btn{bottom:0}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-handle-bar{height:var(--vxe-split-handle-bar-height);width:100%}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-action-btn{left:50%;transform:translateX(-50%);padding:0 1em}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-action-btn:active{transform:translateX(-50%) scale(.9)}.vxe-split-pane.is--vertical.is--border>.vxe-split-pane-handle{border-width:0 1px 0 1px}.vxe-modal--content>.vxe-split{height:100%}
1
+ .vxe-split{width:100%}.vxe-split.is--vertical>.vxe-split-wrapper{flex-direction:column}.vxe-split.is--vertical>.vxe-split-wrapper>.vxe-split-pane{width:100%}.vxe-split.is--drag{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split.is--drag>.vxe-split-wrapper>.vxe-split-pane>.vxe-split-pane--wrapper::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split-wrapper{height:100%;display:flex;flex-direction:row;overflow:hidden}.vxe-split-slots{display:none}.vxe-split-pane-handle{position:relative;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split-pane--wrapper{position:relative;word-break:break-word;overflow:hidden;flex-grow:1}.vxe-split-pane--inner{height:100%;width:100%;overflow:auto}.vxe-split-pane--inner>.vxe-split{height:100%}.vxe-split-pane-handle-bar{background-color:var(--vxe-ui-split-handle-bar-background-color)}.vxe-split-pane-action-btn{position:absolute;display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:.5em;border-radius:var(--vxe-ui-base-border-radius);top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;color:var(--vxe-ui-layout-background-color);background-color:var(--vxe-ui-split-handle-button-background-color);border:1px solid var(--vxe-ui-input-border-color);cursor:pointer;transition:transform .1s ease-in-out}.vxe-split-pane-action-btn:hover{background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-pane-action-btn:active{transform:translate(-50%,-50%) scale(.9)}.vxe-split-pane{display:flex;position:relative;overflow:hidden}.vxe-split-pane.is--hidden{width:0}.vxe-split-pane.is--padding>.vxe-split-pane--wrapper{padding:var(--vxe-ui-layout-padding-default)}.vxe-split-pane.is--fill{flex-grow:1}.vxe-split-pane.is--height,.vxe-split-pane.is--width{flex-shrink:0}.vxe-split-pane.is--border>.vxe-split-pane--wrapper{border:1px solid var(--vxe-ui-base-popup-border-color)}.vxe-split-pane.is--resize.is--expand.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-handle-bar{cursor:w-resize}.vxe-split-pane.is--resize.is--expand.is--vertical>.vxe-split-pane-handle .vxe-split-pane-handle-bar{cursor:n-resize}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar{background-color:var(--vxe-ui-split-handle-bar-background-color)}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar:hover{background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar:active{background-color:var(--vxe-ui-font-primary-darken-color)}.vxe-split-pane.is--horizontal{flex-direction:row}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-handle-bar{width:var(--vxe-ui-split-handle-bar-horizontal-width);height:100%}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-action-btn{width:var(--vxe-ui-split-handle-bar-horizontal-width);height:var(--vxe-ui-split-handle-bar-horizontal-height)}.vxe-split-pane.is--horizontal.is--border>.vxe-split-pane-handle{border-width:1px 0 1px 0}.vxe-split-pane.is--vertical{flex-direction:column}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-handle-bar{height:var(--vxe-ui-split-handle-bar-vertical-height);width:100%}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-action-btn{width:var(--vxe-ui-split-handle-bar-vertical-width);height:var(--vxe-ui-split-handle-bar-vertical-height)}.vxe-split-pane.is--vertical.is--border>.vxe-split-pane-handle{border-width:0 1px 0 1px}.vxe-modal--content>.vxe-split{height:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-pc-ui",
3
- "version": "4.8.13",
3
+ "version": "4.8.14",
4
4
  "description": "A vue based PC component library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -25,6 +25,7 @@
25
25
  height: 100%;
26
26
  z-index: 1;
27
27
  background: transparent;
28
+ user-select: none;
28
29
  }
29
30
  }
30
31
  }
@@ -63,20 +64,31 @@
63
64
  }
64
65
  }
65
66
  .vxe-split-pane-handle-bar {
66
- background-color: var(--vxe-split-handle-bar-background-color);
67
+ background-color: var(--vxe-ui-split-handle-bar-background-color);
67
68
  }
68
69
  .vxe-split-pane-action-btn {
69
- display: block;
70
70
  position: absolute;
71
+ display: flex;
72
+ flex-direction: row;
73
+ align-items: center;
74
+ justify-content: center;
75
+ font-size: 0.5em;
76
+ border-radius: var(--vxe-ui-base-border-radius);
77
+ top: 50%;
78
+ left: 50%;
79
+ transform: translate(-50%, -50%);
71
80
  z-index: 2;
72
- cursor: pointer;
73
- background-color: var(--vxe-ui-layout-background-color);
81
+ color: var(--vxe-ui-layout-background-color);
82
+ background-color: var(--vxe-ui-split-handle-button-background-color);
74
83
  border: 1px solid var(--vxe-ui-input-border-color);
84
+ cursor: pointer;
75
85
  @include baseMixin.createAnimationTransition(transform, 0.1s);
76
86
  &:hover {
77
- color: var(--vxe-ui-layout-background-color);
78
87
  background-color: var(--vxe-ui-font-primary-lighten-color);
79
88
  }
89
+ &:active {
90
+ transform: translate(-50%, -50%) scale(0.9);
91
+ }
80
92
  }
81
93
 
82
94
  .vxe-split-pane {
@@ -99,8 +111,7 @@
99
111
  flex-shrink: 0;
100
112
  }
101
113
  &.is--border {
102
- & > .vxe-split-pane--wrapper,
103
- & > .vxe-split-pane-handle {
114
+ & > .vxe-split-pane--wrapper {
104
115
  border: 1px solid var(--vxe-ui-base-popup-border-color);
105
116
  }
106
117
  }
@@ -122,7 +133,7 @@
122
133
  }
123
134
  & > .vxe-split-pane-handle {
124
135
  & > .vxe-split-pane-handle-bar {
125
- background-color: var(--vxe-split-handle-bar-background-color);
136
+ background-color: var(--vxe-ui-split-handle-bar-background-color);
126
137
  &:hover {
127
138
  background-color: var(--vxe-ui-font-primary-lighten-color);
128
139
  }
@@ -136,27 +147,13 @@
136
147
  &.is--horizontal {
137
148
  flex-direction: row;
138
149
  & > .vxe-split-pane-handle {
139
- &.to--prev {
140
- .vxe-split-pane-action-btn {
141
- left: 0;
142
- }
143
- }
144
- &.to--next {
145
- .vxe-split-pane-action-btn {
146
- right: 0;
147
- }
148
- }
149
150
  .vxe-split-pane-handle-bar {
150
- width: var(--vxe-split-handle-bar-width);
151
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
151
152
  height: 100%;
152
153
  }
153
154
  .vxe-split-pane-action-btn {
154
- top: 50%;
155
- transform: translateY(-50%);
156
- padding: 1em 0;
157
- &:active {
158
- transform: translateY(-50%) scale(0.9);
159
- }
155
+ width: var(--vxe-ui-split-handle-bar-horizontal-width);
156
+ height: var(--vxe-ui-split-handle-bar-horizontal-height);
160
157
  }
161
158
  }
162
159
  &.is--border {
@@ -168,27 +165,13 @@
168
165
  &.is--vertical {
169
166
  flex-direction: column;
170
167
  & > .vxe-split-pane-handle {
171
- &.to--prev {
172
- .vxe-split-pane-action-btn {
173
- top: 0;
174
- }
175
- }
176
- &.to--next {
177
- .vxe-split-pane-action-btn {
178
- bottom: 0;
179
- }
180
- }
181
168
  .vxe-split-pane-handle-bar {
182
- height: var(--vxe-split-handle-bar-height);
169
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
183
170
  width: 100%;
184
171
  }
185
172
  .vxe-split-pane-action-btn {
186
- left: 50%;
187
- transform: translateX(-50%);
188
- padding: 0 1em;
189
- &:active {
190
- transform: translateX(-50%) scale(0.9);
191
- }
173
+ width: var(--vxe-ui-split-handle-bar-vertical-width);
174
+ height: var(--vxe-ui-split-handle-bar-vertical-height);
192
175
  }
193
176
  }
194
177
  &.is--border {
@@ -181,6 +181,8 @@
181
181
  --vxe-ui-calendar-notice-selected-background-color: var(--vxe-ui-calendar-selected-color);
182
182
 
183
183
  /*split*/
184
- --vxe-split-handle-bar-width: 0.4em;
185
- --vxe-split-handle-bar-height: var(--vxe-split-handle-bar-width);
184
+ --vxe-ui-split-handle-bar-horizontal-width: 10px;
185
+ --vxe-ui-split-handle-bar-horizontal-height: 6.8em;
186
+ --vxe-ui-split-handle-bar-vertical-width: var(--vxe-ui-split-handle-bar-horizontal-height);
187
+ --vxe-ui-split-handle-bar-vertical-height: var(--vxe-ui-split-handle-bar-horizontal-width);
186
188
  }
@@ -112,5 +112,6 @@
112
112
  --vxe-ui-rate-item-color: #bd9537;
113
113
 
114
114
  /*split*/
115
- --vxe-split-handle-bar-background-color: #28282a;
115
+ --vxe-ui-split-handle-button-background-color: #9f9f9f;
116
+ --vxe-ui-split-handle-bar-background-color: #444444;
116
117
  }
@@ -111,5 +111,6 @@
111
111
  --vxe-ui-rate-item-color: #{light_variable.$vxe-ui-rate-item-color};
112
112
 
113
113
  /*split*/
114
- --vxe-split-handle-bar-background-color: #{light_variable.$vxe-split-handle-bar-background-color};
114
+ --vxe-ui-split-handle-button-background-color: #{light_variable.$vxe-ui-split-handle-button-background-color};
115
+ --vxe-ui-split-handle-bar-background-color: #{light_variable.$vxe-ui-split-handle-bar-background-color};
115
116
  }
@@ -104,5 +104,6 @@ $vxe-ui-tree-node-hover-current-background-color: #d7effb !default;
104
104
  $vxe-ui-rate-item-color: #f7ba2a !default;
105
105
 
106
106
  /*split*/
107
- $vxe-split-handle-bar-background-color: #f0f0f0;
107
+ $vxe-ui-split-handle-button-background-color: #8b8b8b;
108
+ $vxe-ui-split-handle-bar-background-color: #e2e2e3;
108
109
 
@@ -1,7 +1,7 @@
1
1
  import { RenderFunction, SetupContext, Ref } from 'vue'
2
2
  import { VxeComponentBaseOptions, DefineVxeComponentInstance } from '@vxe-ui/core'
3
3
  import { VxeTableConstructor, VxeTableMethods, VxeTablePrivateMethods } from '../table'
4
- import { VxeGanttPropTypes } from '../gantt'
4
+ import { VxeGanttPropTypes, VxeGanttDefines } from '../gantt'
5
5
 
6
6
  /* eslint-disable no-use-before-define */
7
7
 
@@ -49,6 +49,8 @@ export interface GanttViewReactData {
49
49
  tableColumn: VxeGanttPropTypes.Column[]
50
50
  headerGroups: VxeGanttPropTypes.Column[][]
51
51
 
52
+ viewCellWidth: number
53
+
52
54
  rowHeightStore: {
53
55
  large: number
54
56
  default: number
@@ -62,6 +64,7 @@ export interface GanttViewInternalData {
62
64
  xeTable: (VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods) | null
63
65
  startMaps: Record<string, any>
64
66
  endMaps: Record<string, any>
67
+ chartMaps: Record<string, VxeGanttDefines.RowCacheItem>
65
68
  elemStore: {
66
69
  [key: string]: Ref<HTMLElement> | null
67
70
  }
@@ -155,6 +158,7 @@ export interface VxeGanttViewPrivateMethods {
155
158
  }
156
159
 
157
160
  export interface VxeGanttViewMethods {
161
+ refreshData(): Promise<void>
158
162
  updateViewData(): Promise<void>
159
163
  connectUpdate(params: {
160
164
  $table: VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods
@@ -26,7 +26,7 @@ export interface VxeGanttPrivateRef<D = any> extends GanttPrivateRef<D> { }
26
26
 
27
27
  export namespace VxeGanttPropTypes {
28
28
  export type Size = VxeGridPropTypes.Size
29
- export type Layouts = VxeGridPropTypes.Layouts
29
+ export type Layouts = VxeGanttDefines.LayoutKey[] | VxeGanttDefines.LayoutKey[][]
30
30
  export type Column<D = any> = VxeGridPropTypes.Column<D>
31
31
  export type Columns<D = any> = Column<D>[]
32
32
  export interface PagerConfig extends VxeGridPropTypes.PagerConfig {}
@@ -53,6 +53,7 @@ export namespace VxeGanttPropTypes {
53
53
  */
54
54
  progressField?: string
55
55
  }
56
+
56
57
  export interface TaskViewConfig<D = any> {
57
58
  /**
58
59
  * 视图的渲染模式
@@ -66,33 +67,73 @@ export namespace VxeGanttPropTypes {
66
67
  minWidth?: number | string
67
68
  maxWidth?: number | string
68
69
  }
70
+ }
71
+
72
+ export interface TaskSplitConfig {
69
73
  /**
70
- * 视图样式
74
+ * 是否启用
71
75
  */
72
- viewStyle?: {
73
- width?: number | string
74
- minWidth?: number | string
75
- maxWidth?: number | string
76
- }
76
+ enabled?: boolean
77
+ /**
78
+ * 是否允许拖拽调整视图宽度
79
+ */
80
+ resize?: boolean
81
+ /**
82
+ * 是否显示左侧表格的折叠按钮
83
+ */
84
+ showCollapseTableButton?: boolean
85
+ /**
86
+ * 是否显示右侧任务的折叠按钮
87
+ */
88
+ showCollapseTaskButton?: boolean
77
89
  }
90
+
78
91
  export interface TaskBarConfig<D = any> {
79
92
  /**
80
- * 是否在进度条显示标题
93
+ * 是否显示进度条
81
94
  */
82
- showTitle?: boolean
95
+ showProgress?: boolean
83
96
  /**
84
- * 自定义标题的方法
97
+ * 是否在任务条显示内容
85
98
  */
86
- titleMethod?(params: {
99
+ showContent?: boolean
100
+ /**
101
+ * 自定义任务条内容方法
102
+ */
103
+ contentMethod?(params: {
87
104
  title: string
105
+ progress?: string | number
88
106
  row: D
89
107
  }): string | number
108
+ /**
109
+ * 任务条样式
110
+ */
111
+ barStyle?: {
112
+ /**
113
+ * 圆角
114
+ */
115
+ round?: boolean | number
116
+ /**
117
+ * 任务条的背景颜色
118
+ */
119
+ bgColor?: string
120
+ /**
121
+ * 任务条的字体颜色
122
+ */
123
+ fontColor?: string
124
+ /**
125
+ * 已完成部分任务条的背景颜色
126
+ */
127
+ completedBgColor?: string
128
+ }
90
129
  }
91
130
  }
92
131
 
93
- export interface VxeGanttProps<D = any> extends VxeGridProps<D> {
132
+ export interface VxeGanttProps<D = any> extends Omit<VxeGridProps<D>, 'layouts'> {
133
+ layouts?: VxeGanttPropTypes.Layouts
94
134
  taskConfig?: VxeGanttPropTypes.TaskConfig
95
135
  taskViewConfig?: VxeGanttPropTypes.TaskViewConfig
136
+ taskSplitConfig?: VxeGanttPropTypes.TaskSplitConfig
96
137
  taskBarConfig?: VxeGanttPropTypes.TaskBarConfig
97
138
  }
98
139
 
@@ -100,6 +141,7 @@ export interface GanttPrivateComputed<D = any> extends GridPrivateComputed<D> {
100
141
  computeTaskOpts: ComputedRef<VxeGanttPropTypes.TaskConfig>
101
142
  computeTaskViewOpts: ComputedRef<VxeGanttPropTypes.TaskViewConfig>
102
143
  computeTaskBarOpts: ComputedRef<VxeGanttPropTypes.TaskBarConfig>
144
+ computeTaskSplitOpts: ComputedRef<VxeGanttPropTypes.TaskSplitConfig>
103
145
  computeTitleField: ComputedRef<string>
104
146
  computeStartField: ComputedRef<string>
105
147
  computeEndField: ComputedRef<string>
@@ -111,21 +153,38 @@ export interface GanttPrivateComputed<D = any> extends GridPrivateComputed<D> {
111
153
  export interface VxeGanttPrivateComputed<D = any> extends GanttPrivateComputed<D> { }
112
154
 
113
155
  export interface GanttReactData<D = any> extends GridReactData<D> {
156
+ showLeftView: boolean
157
+ showRightView: boolean
114
158
  }
115
159
 
116
- export interface GanttInternalData extends GridInternalData {}
160
+ export interface GanttInternalData extends GridInternalData {
161
+ resizeTableWidth: number
162
+ }
117
163
 
118
164
  export interface GanttMethods<D = any> extends Omit<GridMethods<D>, 'dispatchEvent'> {
119
165
  dispatchEvent(type: ValueOf<VxeGanttEmits>, params: Record<string, any>, evnt: Event | null): void
166
+ /**
167
+ * 刷新任务视图
168
+ */
169
+ refreshTaskView(): Promise<any>
120
170
  }
121
171
  export interface VxeGanttMethods<D = any> extends GanttMethods<D>, Omit<VxeGridMethods<D>, 'dispatchEvent'> { }
122
172
 
123
173
  export interface GanttPrivateMethods extends GridPrivateMethods {
174
+ handleTaskCellClickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskCellClickParams): void
175
+ handleTaskCellDblclickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskCellClickParams): void
176
+ handleTaskBarClickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskCellClickParams): void
177
+ handleTaskBarDblclickEvent(evnt: MouseEvent, params: VxeGanttDefines.TaskCellClickParams): void
124
178
  }
125
- export interface VxeGanttPrivateMethods extends GanttPrivateMethods { }
179
+ export interface VxeGanttPrivateMethods extends GanttPrivateMethods {}
126
180
 
127
181
  export type VxeGanttEmits = [
128
- ...VxeGridEmits
182
+ ...VxeGridEmits,
183
+
184
+ 'task-cell-click',
185
+ 'task-cell-dblclick',
186
+ 'task-bar-click',
187
+ 'task-bar-dblclick'
129
188
  ]
130
189
 
131
190
  export namespace VxeGanttDefines {
@@ -133,17 +192,47 @@ export namespace VxeGanttDefines {
133
192
  $gantt: VxeGanttConstructor<D>
134
193
  }
135
194
 
195
+ export type LayoutKey = 'Form' | 'Toolbar' | 'Top' | 'Gantt' | 'Bottom' | 'Pager'
196
+
136
197
  export interface GroupHeaderColumn<D = any> extends VxeGanttPropTypes.Column<D> {
137
198
  children: VxeGanttPropTypes.Column<D>[]
138
199
  }
200
+
201
+ export interface RowCacheItem<D = any> {
202
+ row: D
203
+ rowid: string
204
+ oLeftSize: number
205
+ oWidthSize: number
206
+ }
207
+
208
+ export interface TaskCellClickParams<D = any> {
209
+ row: D
210
+ }
211
+ export interface TaskCellClickEventParams<D = any> extends TaskCellClickParams<D>, GanttEventParams {}
212
+ export interface TaskCellDblClickEventParams<D = any> extends TaskCellClickEventParams<D> {}
213
+ export interface TaskBarClickEventParams<D = any> extends TaskCellClickEventParams<D> {}
214
+ export interface TaskBarDblClickEventParams<D = any> extends TaskCellClickEventParams<D> {}
139
215
  }
140
216
 
141
- export interface VxeGanttEventProps<D = any> extends VxeGridEventProps<D> {}
217
+ export interface VxeGanttEventProps<D = any> extends VxeGridEventProps<D> {
218
+ onTaskCellClick?: VxeGanttEvents.TaskCellClick<D>
219
+ onTaskCellDblClick?: VxeGanttEvents.TaskCellDblClick<D>
220
+ onTaskBarClick?: VxeGanttEvents.TaskBarClick<D>
221
+ onTaskBarDblClick?: VxeGanttEvents.TaskBarDblClick<D>
222
+ }
142
223
 
143
224
  export interface VxeGanttListeners<D = any> extends VxeGridListeners<D> {
225
+ taskCellClick?: VxeGanttEvents.TaskCellClick<D>
226
+ taskCellDblClick?: VxeGanttEvents.TaskCellDblClick<D>
227
+ taskBarClick?: VxeGanttEvents.TaskBarClick<D>
228
+ taskBarDblClick?: VxeGanttEvents.TaskBarDblClick<D>
144
229
  }
145
230
 
146
231
  export namespace VxeGanttEvents {
232
+ export type TaskCellClick<D = any> = (params: VxeGanttDefines.TaskCellClickEventParams<D>) => void
233
+ export type TaskCellDblClick<D = any> = (params: VxeGanttDefines.TaskCellDblClickEventParams<D>) => void
234
+ export type TaskBarClick<D = any> = (params: VxeGanttDefines.TaskBarClickEventParams<D>) => void
235
+ export type TaskBarDblClick<D = any> = (params: VxeGanttDefines.TaskBarDblClickEventParams<D>) => void
147
236
  }
148
237
 
149
238
  export namespace VxeGanttSlotTypes {
@@ -37,8 +37,7 @@ export interface VxeGridPrivateRef<D = any> extends GridPrivateRef<D> { }
37
37
  export namespace VxeGridPropTypes {
38
38
  export type Size = VxeComponentSizeType
39
39
 
40
- export type LayoutKey = 'Form' | 'Toolbar' | 'Top' | 'Table' | 'Bottom' | 'Pager'
41
- export type Layouts = LayoutKey[] |LayoutKey[][]
40
+ export type Layouts = VxeGridDefines.LayoutKey[] | VxeGridDefines.LayoutKey[][]
42
41
 
43
42
  export type Column<D = any> = VxeTableDefines.ColumnOptions<D>
44
43
  export type Columns<D = any> = Column<D>[]
@@ -478,6 +477,8 @@ export namespace VxeGridDefines {
478
477
  $gantt: VxeGanttConstructor<D> | null | undefined
479
478
  }
480
479
 
480
+ export type LayoutKey = 'Form' | 'Toolbar' | 'Top' | 'Table' | 'Bottom' | 'Pager'
481
+
481
482
  export interface KeydownStartEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.KeydownStartEventParams<D> { }
482
483
  export interface KeydownEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.KeydownEventParams<D> { }
483
484
  export interface KeydownEndEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.KeydownEndEventParams<D> { }