vxe-pc-ui 4.7.27 → 4.7.29

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 (39) hide show
  1. package/es/color-picker/src/color-picker.js +5 -4
  2. package/es/icon/style.css +1 -1
  3. package/es/pager/src/pager.js +33 -12
  4. package/es/style.css +1 -1
  5. package/es/style.min.css +1 -1
  6. package/es/ui/index.js +1 -1
  7. package/es/ui/src/log.js +1 -1
  8. package/lib/color-picker/src/color-picker.js +5 -4
  9. package/lib/color-picker/src/color-picker.min.js +1 -1
  10. package/lib/icon/style/style.css +1 -1
  11. package/lib/icon/style/style.min.css +1 -1
  12. package/lib/index.umd.js +12924 -12899
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/pager/src/pager.js +35 -14
  15. package/lib/pager/src/pager.min.js +1 -1
  16. package/lib/style.css +1 -1
  17. package/lib/style.min.css +1 -1
  18. package/lib/ui/index.js +1 -1
  19. package/lib/ui/index.min.js +1 -1
  20. package/lib/ui/src/log.js +1 -1
  21. package/lib/ui/src/log.min.js +1 -1
  22. package/package.json +2 -2
  23. package/packages/color-picker/src/color-picker.ts +5 -4
  24. package/packages/pager/src/pager.ts +33 -13
  25. package/types/components/grid.d.ts +20 -0
  26. package/types/components/pager.d.ts +7 -0
  27. package/types/components/table.d.ts +29 -3
  28. /package/es/icon/{iconfont.1753445536608.ttf → iconfont.1753670267661.ttf} +0 -0
  29. /package/es/icon/{iconfont.1753445536608.woff → iconfont.1753670267661.woff} +0 -0
  30. /package/es/icon/{iconfont.1753445536608.woff2 → iconfont.1753670267661.woff2} +0 -0
  31. /package/es/{iconfont.1753445536608.ttf → iconfont.1753670267661.ttf} +0 -0
  32. /package/es/{iconfont.1753445536608.woff → iconfont.1753670267661.woff} +0 -0
  33. /package/es/{iconfont.1753445536608.woff2 → iconfont.1753670267661.woff2} +0 -0
  34. /package/lib/icon/style/{iconfont.1753445536608.ttf → iconfont.1753670267661.ttf} +0 -0
  35. /package/lib/icon/style/{iconfont.1753445536608.woff → iconfont.1753670267661.woff} +0 -0
  36. /package/lib/icon/style/{iconfont.1753445536608.woff2 → iconfont.1753670267661.woff2} +0 -0
  37. /package/lib/{iconfont.1753445536608.ttf → iconfont.1753670267661.ttf} +0 -0
  38. /package/lib/{iconfont.1753445536608.woff → iconfont.1753670267661.woff} +0 -0
  39. /package/lib/{iconfont.1753445536608.woff2 → iconfont.1753670267661.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.7.27";
29
+ const version = exports.version = "4.7.29";
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.7.27";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}},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:{}});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.7.29";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}},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:{}});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.7.27"}`;
8
+ const version = `ui v${"4.7.29"}`;
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.7.27",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.7.29",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-pc-ui",
3
- "version": "4.7.27",
3
+ "version": "4.7.29",
4
4
  "description": "A vue based PC component library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -25,7 +25,7 @@
25
25
  "style": "lib/style.css",
26
26
  "typings": "types/index.d.ts",
27
27
  "dependencies": {
28
- "@vxe-ui/core": "^4.2.6"
28
+ "@vxe-ui/core": "^4.2.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@typescript-eslint/eslint-plugin": "^6.21.0",
@@ -7,6 +7,7 @@ import { getLastZIndex, nextZIndex } from '../../ui/src/utils'
7
7
  import { parseColor, updateColorAlpha, hexToHsv, rgbToHsv, rgbToHex, hexToRgb, hsvToRgb, toRgb } from './util'
8
8
  import VxeButtonComponent from '../../button/src/button'
9
9
  import VxeInputComponent from '../../input/src/input'
10
+ import VxeNumberInputComponent from '../../number-input/src/number-input'
10
11
 
11
12
  import type { ColorPickerReactData, VxeColorPickerPropTypes, VxeColorPickerEmits, ColorPickerInternalData, ColorPickerMethods, ColorPickerPrivateMethods, ValueOf, ColorPickerPrivateRef, VxeColorPickerPrivateComputed, VxeColorPickerConstructor, VxeColorPickerPrivateMethods, VxeModalConstructor, VxeModalMethods, VxeDrawerConstructor, VxeDrawerMethods, VxeFormDefines, VxeFormConstructor, VxeFormPrivateMethods } from '../../../types'
12
13
  import type { VxeTableConstructor, VxeTablePrivateMethods } from '../../../types/components/table'
@@ -822,7 +823,7 @@ export default defineVxeComponent({
822
823
  h('div', {
823
824
  class: 'vxe-color-picker--input-wrapper'
824
825
  }, [
825
- h(VxeInputComponent, {
826
+ h(VxeNumberInputComponent, {
826
827
  type: 'integer',
827
828
  size: 'mini',
828
829
  align: 'center',
@@ -836,7 +837,7 @@ export default defineVxeComponent({
836
837
  },
837
838
  onChange: handleInputRgbEvent
838
839
  }),
839
- h(VxeInputComponent, {
840
+ h(VxeNumberInputComponent, {
840
841
  type: 'integer',
841
842
  size: 'mini',
842
843
  align: 'center',
@@ -850,7 +851,7 @@ export default defineVxeComponent({
850
851
  },
851
852
  onChange: handleInputRgbEvent
852
853
  }),
853
- h(VxeInputComponent, {
854
+ h(VxeNumberInputComponent, {
854
855
  type: 'integer',
855
856
  size: 'mini',
856
857
  align: 'center',
@@ -864,7 +865,7 @@ export default defineVxeComponent({
864
865
  },
865
866
  onChange: handleInputRgbEvent
866
867
  }),
867
- h(VxeInputComponent, {
868
+ h(VxeNumberInputComponent, {
868
869
  type: 'number',
869
870
  size: 'mini',
870
871
  align: 'center',
@@ -4,7 +4,7 @@ import XEUtils from 'xe-utils'
4
4
  import { getIcon, getConfig, getI18n, globalEvents, GLOBAL_EVENT_KEYS, createEvent, useSize } from '../../ui'
5
5
  import { errLog } from '../../ui/src/log'
6
6
  import VxeSelectComponent from '../../select/src/select'
7
- import VxeInputComponent from '../../input/src/input'
7
+ import VxeNumberInputComponent from '../../number-input/src/number-input'
8
8
 
9
9
  import type { VxePagerPropTypes, VxePagerConstructor, VxePagerEmits, VxeSelectEvents, ValueOf, PagerPrivateRef, PagerMethods, PagerPrivateMethods, VxePagerPrivateMethods, PagerReactData, VxeInputEvents } from '../../../types'
10
10
  import type { VxeGridConstructor, VxeGridPrivateMethods } from '../../../types/components/grid'
@@ -150,8 +150,9 @@ export default defineVxeComponent({
150
150
  getRefMaps: () => refMaps
151
151
  } as unknown as VxePagerConstructor & VxePagerPrivateMethods
152
152
 
153
- let pagerMethods = {} as PagerMethods
154
- let pagerPrivateMethods = {} as PagerPrivateMethods
153
+ const dispatchEvent = (type: ValueOf<VxePagerEmits>, params: Record<string, any>, evnt: Event | null) => {
154
+ emit(type, createEvent(evnt, { $pager: $xePager }, params))
155
+ }
155
156
 
156
157
  const getPageCount = (total: number, size: number) => {
157
158
  return Math.max(Math.ceil(total / size), 1)
@@ -160,14 +161,14 @@ export default defineVxeComponent({
160
161
  const jumpPageEvent = (evnt: Event, currentPage: number) => {
161
162
  emit('update:currentPage', currentPage)
162
163
  if (evnt && currentPage !== props.currentPage) {
163
- pagerMethods.dispatchEvent('page-change', { type: 'current', pageSize: props.pageSize, currentPage }, evnt)
164
+ dispatchEvent('page-change', { type: 'current', pageSize: props.pageSize, currentPage }, evnt)
164
165
  }
165
166
  }
166
167
 
167
168
  const changeCurrentPage = (currentPage: number, evnt?: Event) => {
168
169
  emit('update:currentPage', currentPage)
169
170
  if (evnt && currentPage !== props.currentPage) {
170
- pagerMethods.dispatchEvent('page-change', { type: 'current', pageSize: props.pageSize, currentPage }, evnt)
171
+ dispatchEvent('page-change', { type: 'current', pageSize: props.pageSize, currentPage }, evnt)
171
172
  }
172
173
  }
173
174
 
@@ -235,7 +236,7 @@ export default defineVxeComponent({
235
236
  emit('update:currentPage', pageCount)
236
237
  }
237
238
  emit('update:pageSize', pageSize)
238
- pagerMethods.dispatchEvent('page-change', { type: 'size', pageSize, currentPage }, params.$event)
239
+ dispatchEvent('page-change', { type: 'size', pageSize, currentPage }, params.$event)
239
240
  }
240
241
 
241
242
  const jumpKeydownEvent: VxeInputEvents.Keydown = (params) => {
@@ -522,7 +523,7 @@ export default defineVxeComponent({
522
523
  class: 'vxe-pager--goto-text'
523
524
  }, getI18n('vxe.pager.goto'))
524
525
  : null,
525
- h(VxeInputComponent, {
526
+ h(VxeNumberInputComponent, {
526
527
  class: 'vxe-pager--goto',
527
528
  modelValue: reactData.inpCurrPage,
528
529
  placeholder: getI18n('vxe.pager.gotoTitle'),
@@ -585,45 +586,64 @@ export default defineVxeComponent({
585
586
  }, getI18n('vxe.pager.total', [total]))
586
587
  }
587
588
 
588
- const dispatchEvent = (type: ValueOf<VxePagerEmits>, params: Record<string, any>, evnt: Event | null) => {
589
- emit(type, createEvent(evnt, { $pager: $xePager }, params))
590
- }
591
-
592
- pagerMethods = {
589
+ const pagerMethods: PagerMethods = {
593
590
  dispatchEvent,
594
591
  homePage () {
595
592
  handleHomePage()
596
593
  return nextTick()
597
594
  },
595
+ homePageByEvent (evnt) {
596
+ handleHomePage(evnt)
597
+ },
598
598
  endPage () {
599
599
  handleEndPage()
600
600
  return nextTick()
601
601
  },
602
+ endPageByEvent (evnt) {
603
+ handleEndPage(evnt)
604
+ },
602
605
  prevPage () {
603
606
  handlePrevPage()
604
607
  return nextTick()
605
608
  },
609
+ prevPageByEvent (evnt) {
610
+ handlePrevPage(evnt)
611
+ },
606
612
  nextPage () {
607
613
  handleNextPage()
608
614
  return nextTick()
609
615
  },
616
+ nextPageByEvent (evnt) {
617
+ handleNextPage(evnt)
618
+ },
610
619
  prevJump () {
611
620
  handlePrevJump()
612
621
  return nextTick()
613
622
  },
623
+ prevJumpByEvent (evnt) {
624
+ handlePrevJump(evnt)
625
+ },
614
626
  nextJump () {
615
627
  handleNextJump()
616
628
  return nextTick()
617
629
  },
630
+ nextJumpByEvent (evnt) {
631
+ handleNextJump(evnt)
632
+ },
618
633
  jumpPage (currentPage) {
619
634
  const current = XEUtils.toNumber(currentPage) || 1
620
635
  reactData.inpCurrPage = current
621
636
  changeCurrentPage(current)
622
637
  return nextTick()
638
+ },
639
+ jumpPageByEvent (evnt, currentPage) {
640
+ const current = XEUtils.toNumber(currentPage) || 1
641
+ reactData.inpCurrPage = current
642
+ changeCurrentPage(current, evnt)
623
643
  }
624
644
  }
625
645
 
626
- pagerPrivateMethods = {
646
+ const pagerPrivateMethods: PagerPrivateMethods = {
627
647
  handlePrevPage,
628
648
  handleNextPage,
629
649
  handlePrevJump,
@@ -374,6 +374,10 @@ export interface GridMethods<D = any> {
374
374
  }
375
375
  pendingRecords: D[]
376
376
  } | null
377
+ /**
378
+ * 获取自定义的 params 属性
379
+ */
380
+ getParams (): any
377
381
  /**
378
382
  * 设置数据代理信息
379
383
  */
@@ -462,7 +466,11 @@ export namespace VxeGridDefines {
462
466
  export interface FooterCellDblclickEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.FooterCellDblclickEventParams<D> { }
463
467
  export interface FooterCellMenuEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.FooterCellMenuEventParams<D> { }
464
468
  export interface SortChangeEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.SortChangeEventParams<D> { }
469
+ export interface ClearSortEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ClearSortEventParams<D> { }
470
+ export interface ClearAllSortEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ClearAllSortEventParams<D> { }
465
471
  export interface FilterChangeEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.FilterChangeEventParams<D> { }
472
+ export interface ClearFilterEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ClearFilterEventParams<D> { }
473
+ export interface ClearAllFilterEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ClearAllFilterEventParams<D> { }
466
474
  export interface FilterVisibleEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.FilterVisibleEventParams<D> { }
467
475
  export interface ResizableChangeEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ResizableChangeEventParams<D> { }
468
476
  export interface ToggleRowGroupExpandEventParams<D = any> extends GridEventParams<D>, VxeTableDefines.ToggleRowGroupExpandEventParams<D> { }
@@ -549,7 +557,11 @@ export interface VxeGridEventProps<D = any> {
549
557
  onFooterCellDblclick?: VxeGridEvents.FooterCellDblclick<D>
550
558
  onFooterCellMenu?: VxeGridEvents.FooterCellMenu<D>
551
559
  onSortChange?: VxeGridEvents.SortChange<D>
560
+ onClearSort?: VxeGridEvents.ClearSort<D>
561
+ onClearAllSort?: VxeGridEvents.ClearAllSort<D>
552
562
  onFilterChange?: VxeGridEvents.FilterChange<D>
563
+ onClearFilter?: VxeGridEvents.ClearFilter<D>
564
+ onClearAllFilter?: VxeGridEvents.ClearAllFilter<D>
553
565
  onFilterVisible?: VxeGridEvents.FilterVisible<D>
554
566
  onResizableChange?: VxeGridEvents.ResizableChange<D>
555
567
  onToggleRowGroupExpand?: VxeGridEvents.ToggleRowGroupExpand<D>
@@ -621,7 +633,11 @@ export interface VxeGridListeners<D = any> {
621
633
  footerCellDblclick?: VxeGridEvents.FooterCellDblclick<D>
622
634
  footerCellMenu?: VxeGridEvents.FooterCellMenu<D>
623
635
  sortChange?: VxeGridEvents.SortChange<D>
636
+ clearSort?: VxeGridEvents.ClearSort<D>
637
+ clearAllSort?: VxeGridEvents.ClearAllSort<D>
624
638
  filterChange?: VxeGridEvents.FilterChange<D>
639
+ clearFilter?: VxeGridEvents.ClearFilter<D>
640
+ clearAllFilter?: VxeGridEvents.ClearAllFilter<D>
625
641
  filterVisible?: VxeGridEvents.FilterVisible<D>
626
642
  resizableChange?: VxeGridEvents.ResizableChange<D>
627
643
  toggleRowGroupExpand?: VxeGridEvents.ToggleRowGroupExpand<D>
@@ -693,7 +709,11 @@ export namespace VxeGridEvents {
693
709
  export type FooterCellDblclick<D = any> = (params: VxeGridDefines.FooterCellDblclickEventParams<D>) => void
694
710
  export type FooterCellMenu<D = any> = (params: VxeGridDefines.FooterCellMenuEventParams<D>) => void
695
711
  export type SortChange<D = any> = (params: VxeGridDefines.SortChangeEventParams<D>) => void
712
+ export type ClearSort<D = any> = (params: VxeGridDefines.ClearSortEventParams<D>) => void
713
+ export type ClearAllSort<D = any> = (params: VxeGridDefines.ClearAllSortEventParams<D>) => void
696
714
  export type FilterChange<D = any> = (params: VxeGridDefines.FilterChangeEventParams<D>) => void
715
+ export type ClearFilter<D = any> = (params: VxeGridDefines.ClearFilterEventParams<D>) => void
716
+ export type ClearAllFilter<D = any> = (params: VxeGridDefines.ClearAllFilterEventParams<D>) => void
697
717
  export type FilterVisible<D = any> = (params: VxeGridDefines.FilterVisibleEventParams<D>) => void
698
718
  export type ResizableChange<D = any> = (params: VxeGridDefines.ResizableChangeEventParams<D>) => void
699
719
  export type ToggleRowGroupExpand<D = any> = (params: VxeGridDefines.ToggleRowGroupExpandEventParams<D>) => void
@@ -135,30 +135,37 @@ export interface PagerMethods {
135
135
  * 首页
136
136
  */
137
137
  homePage(): Promise<any>
138
+ homePageByEvent(evnt: Event): void
138
139
  /**
139
140
  * 末页
140
141
  */
141
142
  endPage(): Promise<any>
143
+ endPageByEvent(evnt: Event): void
142
144
  /**
143
145
  * 上一页
144
146
  */
145
147
  prevPage(): Promise<any>
148
+ prevPageByEvent(evnt: Event): void
146
149
  /**
147
150
  * 下一页
148
151
  */
149
152
  nextPage(): Promise<any>
153
+ nextPageByEvent(evnt: Event): void
150
154
  /**
151
155
  * 向上翻页
152
156
  */
153
157
  prevJump(): Promise<any>
158
+ prevJumpByEvent(evnt: Event): void
154
159
  /**
155
160
  * 向下翻页
156
161
  */
157
162
  nextJump(): Promise<any>
163
+ nextJumpByEvent(evnt: Event): void
158
164
  /**
159
165
  * 跳转到指定页面
160
166
  */
161
167
  jumpPage(currentPage: number | string | null | undefined): Promise<any>
168
+ jumpPageByEvent(evnt: Event, currentPage: number | string | null | undefined): void
162
169
  }
163
170
  export interface VxePagerMethods extends PagerMethods { }
164
171
 
@@ -1124,7 +1124,13 @@ export namespace VxeTablePropTypes {
1124
1124
  data: D[]
1125
1125
  sortList: VxeTableDefines.SortCheckedParams[]
1126
1126
  }): any[]
1127
+ /**
1128
+ * 是否使用服务端排序,如果设置为 true 则不会对数据进行处理
1129
+ */
1127
1130
  remote?: boolean
1131
+ /**
1132
+ * 是否允许多列排序
1133
+ */
1128
1134
  multiple?: boolean
1129
1135
  /**
1130
1136
  * 只对 multiple 有效,是否按照先后触发顺序进行排序
@@ -1185,9 +1191,13 @@ export namespace VxeTablePropTypes {
1185
1191
  */
1186
1192
  isEvery?: boolean
1187
1193
  /**
1188
- * 是否启用远程筛选
1194
+ * 是否使用服务端筛选,如果设置为 true 则不会对数据进行处理
1189
1195
  */
1190
1196
  remote?: boolean
1197
+ /**
1198
+ * 是否允许多列筛选
1199
+ */
1200
+ multiple?: boolean
1191
1201
  /**
1192
1202
  * 是否显示筛选按钮图标
1193
1203
  */
@@ -4448,7 +4458,7 @@ export interface TableMethods<DT = any> {
4448
4458
  /**
4449
4459
  * 区别就是会触发对应的事件
4450
4460
  */
4451
- setSortByEvent(event: Event, sortConfs: VxeTableDefines.SortConfs | VxeTableDefines.SortConfs[], update?: boolean): Promise<void>
4461
+ setSortByEvent(event: Event, sortConfs: VxeTableDefines.SortConfs | VxeTableDefines.SortConfs[]): Promise<void>
4452
4462
  /**
4453
4463
  * 手动清空排序条件,数据会恢复成未排序的状态;如果需要同时触发对应的事件,请使用 clearSortByEvent
4454
4464
  */
@@ -4478,7 +4488,7 @@ export interface TableMethods<DT = any> {
4478
4488
  /**
4479
4489
  * 区别就是会触发对应的事件
4480
4490
  */
4481
- setFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.Filters, update?: boolean): Promise<void>
4491
+ setFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.Filters): Promise<void>
4482
4492
  /**
4483
4493
  * 区别就是会触发对应的事件
4484
4494
  */
@@ -5706,6 +5716,8 @@ export namespace VxeTableDefines {
5706
5716
  sortList: SortCheckedParams[]
5707
5717
  }
5708
5718
  export interface SortChangeEventParams<D = any> extends TableEventParams<D>, SortChangeParams<D> { }
5719
+ export interface ClearSortEventParams<D = any> extends TableEventParams<D>, SortChangeParams<D> { }
5720
+ export interface ClearAllSortEventParams<D = any> extends TableEventParams<D>, SortChangeParams<D> { }
5709
5721
 
5710
5722
  export interface FilterCheckedParams<D = any> {
5711
5723
  column: VxeTableDefines.ColumnInfo<D>
@@ -5722,6 +5734,8 @@ export namespace VxeTableDefines {
5722
5734
  filterList: FilterCheckedParams<D>[]
5723
5735
  }
5724
5736
  export interface FilterChangeEventParams<D = any> extends TableEventParams<D>, FilterChangeParams<D> { }
5737
+ export interface ClearFilterEventParams<D = any> extends TableEventParams<D>, FilterChangeParams<D> { }
5738
+ export interface ClearAllFilterEventParams<D = any> extends TableEventParams<D>, FilterChangeParams<D> { }
5725
5739
 
5726
5740
  export interface FilterVisibleParams<D = any> {
5727
5741
  column: VxeTableDefines.ColumnInfo<D>
@@ -6148,7 +6162,11 @@ export interface VxeTableEventProps<D = any> {
6148
6162
  onFooterCellDblclick?: VxeTableEvents.FooterCellDblclick<D>
6149
6163
  onFooterCellMenu?: VxeTableEvents.FooterCellMenu<D>
6150
6164
  onSortChange?: VxeTableEvents.SortChange<D>
6165
+ onClearSort?: VxeTableEvents.ClearSort<D>
6166
+ onClearAllSort?: VxeTableEvents.ClearAllSort<D>
6151
6167
  onFilterChange?: VxeTableEvents.FilterChange<D>
6168
+ onClearFilter?: VxeTableEvents.ClearFilter<D>
6169
+ onClearAllFilter?: VxeTableEvents.ClearAllFilter<D>
6152
6170
  onFilterVisible?: VxeTableEvents.FilterVisible<D>
6153
6171
  onResizableChange?: VxeTableEvents.ResizableChange<D>
6154
6172
  onToggleRowGroupExpand?: VxeTableEvents.ToggleRowGroupExpand<D>
@@ -6217,7 +6235,11 @@ export interface VxeTableListeners<D = any> {
6217
6235
  footerCellDblclick?: VxeTableEvents.FooterCellDblclick<D>
6218
6236
  footerCellMenu?: VxeTableEvents.FooterCellMenu<D>
6219
6237
  sortChange?: VxeTableEvents.SortChange<D>
6238
+ clearSort?: VxeTableEvents.ClearSort<D>
6239
+ clearAllSort?: VxeTableEvents.ClearAllSort<D>
6220
6240
  filterChange?: VxeTableEvents.FilterChange<D>
6241
+ clearFilter?: VxeTableEvents.ClearFilter<D>
6242
+ clearAllFilter?: VxeTableEvents.ClearAllFilter<D>
6221
6243
  resizableChange?: VxeTableEvents.ResizableChange<D>
6222
6244
  toggleRowGroupExpand?: VxeTableEvents.ToggleRowGroupExpand<D>
6223
6245
  toggleRowExpand?: VxeTableEvents.ToggleRowExpand<D>
@@ -6285,7 +6307,11 @@ export namespace VxeTableEvents {
6285
6307
  export type FooterCellDblclick<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.FooterCellDblclickEventParams<D>) => void
6286
6308
  export type FooterCellMenu<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.FooterCellMenuEventParams<D>) => void
6287
6309
  export type SortChange<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.SortChangeEventParams<D>) => void
6310
+ export type ClearSort<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ClearSortEventParams<D>) => void
6311
+ export type ClearAllSort<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ClearAllSortEventParams<D>) => void
6288
6312
  export type FilterChange<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.FilterChangeEventParams<D>) => void
6313
+ export type ClearFilter<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ClearFilterEventParams<D>) => void
6314
+ export type ClearAllFilter<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ClearAllFilterEventParams<D>) => void
6289
6315
  export type FilterVisible<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.FilterVisibleEventParams<D>) => void
6290
6316
  export type ResizableChange<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ResizableChangeEventParams<D>) => void
6291
6317
  export type ToggleRowGroupExpand<D = VxeTablePropTypes.Row> = (params: VxeTableDefines.ToggleRowGroupExpandEventParams<D>) => void