vxe-pc-ui 4.8.12 → 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 (59) hide show
  1. package/README.md +12 -8
  2. package/es/form/index.js +0 -1
  3. package/es/form/src/form.js +1 -0
  4. package/es/icon/style.css +1 -1
  5. package/es/split/style.css +27 -33
  6. package/es/split/style.min.css +1 -1
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-split/style.css +27 -33
  12. package/es/vxe-split/style.min.css +1 -1
  13. package/lib/form/index.js +0 -1
  14. package/lib/form/index.min.js +1 -1
  15. package/lib/form/src/form.js +1 -0
  16. package/lib/form/src/form.min.js +1 -1
  17. package/lib/icon/style/style.css +1 -1
  18. package/lib/icon/style/style.min.css +1 -1
  19. package/lib/index.umd.js +1577 -1577
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/split/style/style.css +27 -33
  22. package/lib/split/style/style.min.css +1 -1
  23. package/lib/style.css +1 -1
  24. package/lib/style.min.css +1 -1
  25. package/lib/ui/index.js +1 -1
  26. package/lib/ui/index.min.js +1 -1
  27. package/lib/ui/src/log.js +1 -1
  28. package/lib/ui/src/log.min.js +1 -1
  29. package/lib/vxe-split/style/style.css +27 -33
  30. package/lib/vxe-split/style/style.min.css +1 -1
  31. package/package.json +1 -1
  32. package/packages/form/index.ts +0 -1
  33. package/packages/form/src/form.ts +2 -0
  34. package/styles/components/split.scss +25 -42
  35. package/styles/theme/base.scss +4 -2
  36. package/styles/theme/dark.scss +2 -1
  37. package/styles/theme/light.scss +2 -1
  38. package/styles/variable.scss +2 -1
  39. package/types/components/gantt-module/gantt-view.d.ts +168 -0
  40. package/types/components/gantt-module/index.d.ts +1 -0
  41. package/types/components/gantt.d.ts +202 -29
  42. package/types/components/grid.d.ts +41 -20
  43. package/types/components/table-module/custom.d.ts +2 -1
  44. package/types/components/table.d.ts +35 -9
  45. package/types/ui/commands.d.ts +3 -1
  46. package/types/ui/global-icon.d.ts +6 -0
  47. package/types/ui/hooks.d.ts +2 -0
  48. /package/es/icon/{iconfont.1754641145942.ttf → iconfont.1755066105728.ttf} +0 -0
  49. /package/es/icon/{iconfont.1754641145942.woff → iconfont.1755066105728.woff} +0 -0
  50. /package/es/icon/{iconfont.1754641145942.woff2 → iconfont.1755066105728.woff2} +0 -0
  51. /package/es/{iconfont.1754641145942.ttf → iconfont.1755066105728.ttf} +0 -0
  52. /package/es/{iconfont.1754641145942.woff → iconfont.1755066105728.woff} +0 -0
  53. /package/es/{iconfont.1754641145942.woff2 → iconfont.1755066105728.woff2} +0 -0
  54. /package/lib/icon/style/{iconfont.1754641145942.ttf → iconfont.1755066105728.ttf} +0 -0
  55. /package/lib/icon/style/{iconfont.1754641145942.woff → iconfont.1755066105728.woff} +0 -0
  56. /package/lib/icon/style/{iconfont.1754641145942.woff2 → iconfont.1755066105728.woff2} +0 -0
  57. /package/lib/{iconfont.1754641145942.ttf → iconfont.1755066105728.ttf} +0 -0
  58. /package/lib/{iconfont.1754641145942.woff → iconfont.1755066105728.woff} +0 -0
  59. /package/lib/{iconfont.1754641145942.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.12";
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.12";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.12"}`;
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.12",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.12",
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",
@@ -2,7 +2,6 @@ import { App } from 'vue'
2
2
  import { VxeUI } from '@vxe-ui/core'
3
3
  import VxeFormComponent from './src/form'
4
4
  import { dynamicApp } from '../dynamics'
5
- import './render'
6
5
 
7
6
  export const VxeForm = Object.assign(VxeFormComponent, {
8
7
  install (app: App) {
@@ -11,6 +11,8 @@ import VxeLoadingComponent from '../../loading/src/loading'
11
11
  import { getSlotVNs } from '../../ui/src/vn'
12
12
  import { warnLog, errLog } from '../../ui/src/log'
13
13
 
14
+ import '../render'
15
+
14
16
  import type { VxeFormConstructor, VxeFormPropTypes, VxeFormEmits, FormReactData, FormMethods, FormPrivateRef, VxeFormPrivateMethods, VxeFormDefines, VxeFormItemPropTypes, VxeTooltipInstance, FormInternalData, VxeFormPrivateComputed } from '../../../types'
15
17
  import type { VxeGridConstructor, VxeGridPrivateMethods } from '../../../types/components/grid'
16
18
 
@@ -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
 
@@ -0,0 +1,168 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { VxeComponentBaseOptions, DefineVxeComponentInstance } from '@vxe-ui/core'
3
+ import { VxeTableConstructor, VxeTableMethods, VxeTablePrivateMethods } from '../table'
4
+ import { VxeGanttPropTypes, VxeGanttDefines } from '../gantt'
5
+
6
+ /* eslint-disable no-use-before-define */
7
+
8
+ export interface VxeGanttViewConstructor extends VxeComponentBaseOptions, VxeGanttViewMethods {
9
+ props: VxeGanttViewProps
10
+ context: SetupContext<VxeGanttViewEmits>
11
+ reactData: GanttViewReactData
12
+ internalData: GanttViewInternalData
13
+ getRefMaps(): GanttViewPrivateRef
14
+ getComputeMaps(): GanttViewPrivateComputed
15
+ renderVN: RenderFunction
16
+ }
17
+ export type VxeGanttViewInstance = DefineVxeComponentInstance<VxeGanttViewProps, VxeGanttViewConstructor>
18
+
19
+ interface VxeGanttViewProps {
20
+ }
21
+
22
+ export interface GanttViewReactData {
23
+ // 是否启用了横向 X 可视渲染方式加载
24
+ scrollXLoad: boolean
25
+ // 是否启用了纵向 Y 可视渲染方式加载
26
+ scrollYLoad: boolean
27
+ // 是否存在纵向滚动条
28
+ overflowY: boolean
29
+ // 是否存在横向滚动条
30
+ overflowX: boolean
31
+ // 纵向滚动条的宽度
32
+ scrollbarWidth: number
33
+ // 横向滚动条的高度
34
+ scrollbarHeight: number
35
+
36
+ lazScrollLoading: boolean
37
+
38
+ scrollVMLoading: boolean
39
+ scrollYHeight: number
40
+ scrollYTop: number
41
+ isScrollYBig: boolean
42
+ scrollXLeft: number
43
+ scrollXWidth: number
44
+ isScrollXBig: boolean
45
+
46
+ minViewDate: Date | null
47
+ maxViewDate: Date | null
48
+ tableData: any[]
49
+ tableColumn: VxeGanttPropTypes.Column[]
50
+ headerGroups: VxeGanttPropTypes.Column[][]
51
+
52
+ viewCellWidth: number
53
+
54
+ rowHeightStore: {
55
+ large: number
56
+ default: number
57
+ medium: number
58
+ small: number
59
+ mini: number
60
+ }
61
+ }
62
+
63
+ export interface GanttViewInternalData {
64
+ xeTable: (VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods) | null
65
+ startMaps: Record<string, any>
66
+ endMaps: Record<string, any>
67
+ chartMaps: Record<string, VxeGanttDefines.RowCacheItem>
68
+ elemStore: {
69
+ [key: string]: Ref<HTMLElement> | null
70
+ }
71
+ // 存放横向 X 虚拟滚动相关的信息
72
+ scrollXStore: {
73
+ preloadSize: number
74
+ offsetSize: number
75
+ visibleSize: number
76
+ visibleStartIndex: number
77
+ visibleEndIndex: number
78
+ startIndex: number
79
+ endIndex: number
80
+ }
81
+ // 存放纵向 Y 虚拟滚动相关信息
82
+ scrollYStore: {
83
+ adaptive?: boolean
84
+ preloadSize: number
85
+ offsetSize: number
86
+ visibleSize: number
87
+ visibleStartIndex: number
88
+ visibleEndIndex: number
89
+ startIndex: number
90
+ endIndex: number
91
+ }
92
+
93
+ // 滚动属性
94
+ intoRunScroll?: boolean
95
+ inVirtualScroll?: boolean
96
+ inWheelScroll?: boolean
97
+
98
+ inHeaderScroll?: boolean
99
+ inBodyScroll?: boolean
100
+ inFooterScroll?: boolean
101
+ scrollRenderType?: '' | 'left' | 'right'
102
+ // 同步滚动
103
+ lcsTimeout?: undefined | number
104
+ lcsRunTime?: undefined | number
105
+
106
+ // 横向虚拟
107
+ lxRunTime?: undefined | number
108
+ lxTimeout?: undefined | number
109
+ // 纵向虚拟
110
+ lyRunTime?: undefined | number
111
+ lyTimeout?: undefined | number
112
+ }
113
+
114
+ export interface GanttViewPrivateRef {
115
+ refElem: Ref<HTMLDivElement | undefined>
116
+ }
117
+
118
+ export interface GanttViewPrivateComputed {
119
+ }
120
+
121
+ export interface VxeGanttViewPrivateMethods {
122
+ /**
123
+ * @private
124
+ */
125
+ handleUpdateStyle(): void
126
+ /**
127
+ * @private
128
+ */
129
+ handleLazyRecalculate(): Promise<void>
130
+ /**
131
+ * @private
132
+ */
133
+ triggerHeaderScrollEvent(evnt: Event): void
134
+ /**
135
+ * @private
136
+ */
137
+ triggerBodyScrollEvent(evnt: Event): void
138
+ /**
139
+ * @private
140
+ */
141
+ triggerFooterScrollEvent(evnt: Event): void
142
+ /**
143
+ * @private
144
+ */
145
+ triggerVirtualScrollXEvent(evnt: Event): void
146
+ /**
147
+ * @private
148
+ */
149
+ triggerVirtualScrollYEvent(evnt: Event): void
150
+ /**
151
+ * @private
152
+ */
153
+ updateScrollXSpace(): void
154
+ /**
155
+ * @private
156
+ */
157
+ updateScrollYSpace(): void
158
+ }
159
+
160
+ export interface VxeGanttViewMethods {
161
+ refreshData(): Promise<void>
162
+ updateViewData(): Promise<void>
163
+ connectUpdate(params: {
164
+ $table: VxeTableConstructor & VxeTableMethods & VxeTablePrivateMethods
165
+ }): Promise<void>
166
+ }
167
+
168
+ type VxeGanttViewEmits = []
@@ -0,0 +1 @@
1
+ export * from './gantt-view'