vxe-pc-ui 4.10.31 → 4.10.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +2 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/types/components/column.d.ts +44 -36
- package/types/components/gantt.d.ts +50 -2
- package/types/components/grid.d.ts +49 -34
- package/types/ui/renderer.d.ts +23 -1
- /package/es/icon/{iconfont.1764123661446.ttf → iconfont.1764235392040.ttf} +0 -0
- /package/es/icon/{iconfont.1764123661446.woff → iconfont.1764235392040.woff} +0 -0
- /package/es/icon/{iconfont.1764123661446.woff2 → iconfont.1764235392040.woff2} +0 -0
- /package/es/{iconfont.1764123661446.ttf → iconfont.1764235392040.ttf} +0 -0
- /package/es/{iconfont.1764123661446.woff → iconfont.1764235392040.woff} +0 -0
- /package/es/{iconfont.1764123661446.woff2 → iconfont.1764235392040.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1764123661446.ttf → iconfont.1764235392040.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1764123661446.woff → iconfont.1764235392040.woff} +0 -0
- /package/lib/icon/style/{iconfont.1764123661446.woff2 → iconfont.1764235392040.woff2} +0 -0
- /package/lib/{iconfont.1764123661446.ttf → iconfont.1764235392040.ttf} +0 -0
- /package/lib/{iconfont.1764123661446.woff → iconfont.1764235392040.woff} +0 -0
- /package/lib/{iconfont.1764123661446.woff2 → iconfont.1764235392040.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.10.
|
|
29
|
+
const version = exports.version = "4.10.32";
|
|
30
30
|
_core.VxeUI.uiVersion = version;
|
|
31
31
|
_core.VxeUI.dynamicApp = _dynamics.dynamicApp;
|
|
32
32
|
function config(options) {
|
package/lib/ui/index.min.js
CHANGED
|
@@ -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.10.31";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:{showErrorMessage:!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:{},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}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0}},splitterPanel:{},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:{copyConfig:{showMessage:!0}},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_VALID_ERROR_ICON:iconPrefix+"warning-circle-fill",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",TAG_CLOSE:iconPrefix+"close",TAG_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.10.32";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:{showErrorMessage:!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:{},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}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0}},splitterPanel:{},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:{copyConfig:{showMessage:!0}},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_VALID_ERROR_ICON:iconPrefix+"warning-circle-fill",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",TAG_CLOSE:iconPrefix+"close",TAG_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.10.
|
|
8
|
+
const version = `ui v${"4.10.32"}`;
|
|
9
9
|
const warnLog = exports.warnLog = _core.log.create('warn', version);
|
|
10
10
|
const errLog = exports.errLog = _core.log.create('error', version);
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -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.10.
|
|
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.10.32",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
|
package/package.json
CHANGED
|
@@ -48,11 +48,7 @@ export namespace VxeColumnPropTypes {
|
|
|
48
48
|
export type Padding = boolean
|
|
49
49
|
export type VerticalAlign = '' | 'top' | 'center' | null
|
|
50
50
|
|
|
51
|
-
export type Formatter<D = any> = ((params:
|
|
52
|
-
cellValue: any
|
|
53
|
-
column: VxeTableDefines.ColumnInfo<D>
|
|
54
|
-
row: D
|
|
55
|
-
}) => string | number) | any[] | string
|
|
51
|
+
export type Formatter<D = any> = ((params: VxeColumnDefines.CellFormatterParams<D>) => string | number) | any[] | string
|
|
56
52
|
|
|
57
53
|
export type HeaderFormatter = ((params: {
|
|
58
54
|
cellTitle: any
|
|
@@ -352,39 +348,11 @@ export namespace VxeColumnPropTypes {
|
|
|
352
348
|
props?: P
|
|
353
349
|
}
|
|
354
350
|
|
|
355
|
-
export type CopyMethod<D = any> = (params:
|
|
356
|
-
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
357
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
358
|
-
isCut: boolean
|
|
359
|
-
row: D
|
|
360
|
-
column: VxeTableDefines.ColumnInfo<D>
|
|
361
|
-
cellValue: any
|
|
362
|
-
}) => string
|
|
351
|
+
export type CopyMethod<D = any> = (params: VxeColumnDefines.CellCopyParams<D>) => string
|
|
363
352
|
|
|
364
|
-
export type CutMethod<D = any> = (params:
|
|
365
|
-
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
366
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
367
|
-
row: D,
|
|
368
|
-
column: VxeTableDefines.ColumnInfo<D>
|
|
369
|
-
cellValue: any
|
|
370
|
-
clipData: {
|
|
371
|
-
text?: string
|
|
372
|
-
html?: string
|
|
373
|
-
}
|
|
374
|
-
}) => void
|
|
353
|
+
export type CutMethod<D = any> = (params: VxeColumnDefines.CellCutParams<D>) => void
|
|
375
354
|
|
|
376
|
-
export type PasteMethod<D = any> = (params:
|
|
377
|
-
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
378
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
379
|
-
isCut: boolean
|
|
380
|
-
row: D,
|
|
381
|
-
column: VxeTableDefines.ColumnInfo<D>
|
|
382
|
-
cellValue: any
|
|
383
|
-
clipData: {
|
|
384
|
-
text?: string
|
|
385
|
-
html?: string
|
|
386
|
-
}
|
|
387
|
-
}) => void
|
|
355
|
+
export type PasteMethod<D = any> = (params: VxeColumnDefines.CellPasteParams<D>) => void
|
|
388
356
|
|
|
389
357
|
export type Params = any
|
|
390
358
|
|
|
@@ -688,6 +656,46 @@ export namespace VxeColumnDefines {
|
|
|
688
656
|
export interface ColumnEventParams extends VxeComponentEventParams {
|
|
689
657
|
$table: VxeTableConstructor
|
|
690
658
|
}
|
|
659
|
+
|
|
660
|
+
export interface CellFormatterParams<D = any> {
|
|
661
|
+
cellValue: any
|
|
662
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
663
|
+
row: D
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export interface CellCopyParams<D = any> {
|
|
667
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
668
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
669
|
+
isCut: boolean
|
|
670
|
+
row: D
|
|
671
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
672
|
+
cellValue: any
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export interface CellCutParams<D = any> {
|
|
676
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
677
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
678
|
+
row: D,
|
|
679
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
680
|
+
cellValue: any
|
|
681
|
+
clipData: {
|
|
682
|
+
text?: string
|
|
683
|
+
html?: string
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export interface CellPasteParams<D = any> {
|
|
688
|
+
$table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
|
|
689
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
690
|
+
isCut: boolean
|
|
691
|
+
row: D,
|
|
692
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
693
|
+
cellValue: any
|
|
694
|
+
clipData: {
|
|
695
|
+
text?: string
|
|
696
|
+
html?: string
|
|
697
|
+
}
|
|
698
|
+
}
|
|
691
699
|
}
|
|
692
700
|
|
|
693
701
|
export type VxeColumnEventProps = {}
|
|
@@ -131,6 +131,54 @@ export namespace VxeGanttPropTypes {
|
|
|
131
131
|
* 边框
|
|
132
132
|
*/
|
|
133
133
|
border?: VxeTablePropTypes.Border
|
|
134
|
+
/**
|
|
135
|
+
* 给行附加 className
|
|
136
|
+
*/
|
|
137
|
+
rowClassName?: string | ((params: {
|
|
138
|
+
source: string
|
|
139
|
+
type: string
|
|
140
|
+
row: D
|
|
141
|
+
rowIndex: number
|
|
142
|
+
$rowIndex: number
|
|
143
|
+
_rowIndex: number
|
|
144
|
+
}) => void | null | string | { [key: string]: boolean | null | undefined })
|
|
145
|
+
/**
|
|
146
|
+
* 行样式
|
|
147
|
+
*/
|
|
148
|
+
rowStyle?: ((params: {
|
|
149
|
+
source: string
|
|
150
|
+
type: string
|
|
151
|
+
row: D
|
|
152
|
+
rowIndex: number
|
|
153
|
+
$rowIndex: number
|
|
154
|
+
_rowIndex: number
|
|
155
|
+
}) => Partial<CSSStyleDeclaration>)
|
|
156
|
+
/**
|
|
157
|
+
* 给单元格附加 className
|
|
158
|
+
*/
|
|
159
|
+
cellClassName?: string | ((params: {
|
|
160
|
+
source: string
|
|
161
|
+
type: string
|
|
162
|
+
dateObj: VxeGanttDefines.ScaleDateObj
|
|
163
|
+
column?: VxeGanttDefines.ViewColumn<D>
|
|
164
|
+
row: D
|
|
165
|
+
rowIndex: number
|
|
166
|
+
$rowIndex: number
|
|
167
|
+
_rowIndex: number
|
|
168
|
+
}) => void | null | string | { [key: string]: boolean | null | undefined })
|
|
169
|
+
/**
|
|
170
|
+
* 单元格样式
|
|
171
|
+
*/
|
|
172
|
+
cellStyle?: ((params: {
|
|
173
|
+
source: string
|
|
174
|
+
type: string
|
|
175
|
+
dateObj: VxeGanttDefines.ScaleDateObj
|
|
176
|
+
column?: VxeGanttDefines.ViewColumn<D>
|
|
177
|
+
row: D
|
|
178
|
+
rowIndex: number
|
|
179
|
+
$rowIndex: number
|
|
180
|
+
_rowIndex: number
|
|
181
|
+
}) => Partial<CSSStyleDeclaration>)
|
|
134
182
|
}
|
|
135
183
|
}
|
|
136
184
|
|
|
@@ -395,11 +443,11 @@ export namespace VxeGanttDefines {
|
|
|
395
443
|
|
|
396
444
|
export interface ScaleDefaultOptions {
|
|
397
445
|
/**
|
|
398
|
-
*
|
|
446
|
+
* 自定义时间轴-列头单元格标题
|
|
399
447
|
*/
|
|
400
448
|
titleMethod?: (params: VxeGanttSlotTypes.TaskViewCellTitleSlotParams) => string | number
|
|
401
449
|
/**
|
|
402
|
-
*
|
|
450
|
+
* 自定义时间轴-列头单元格样式
|
|
403
451
|
*/
|
|
404
452
|
headerCellStyle?: CSSStyleDeclaration | ((params: VxeGanttSlotTypes.TaskViewHeaderCellStyleSlotParams) => Partial<CSSStyleDeclaration>)
|
|
405
453
|
/**
|
|
@@ -91,7 +91,16 @@ export namespace VxeGridPropTypes {
|
|
|
91
91
|
[key: string]: any
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
|
|
95
|
+
interface ProxyAjaxQueryFooterParams<D = any> {
|
|
96
|
+
$table: VxeTableConstructor<D>
|
|
97
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
98
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
99
|
+
filters: VxeTableDefines.FilterCheckedParams[]
|
|
100
|
+
form: {
|
|
101
|
+
[key: string]: any
|
|
102
|
+
}
|
|
103
|
+
}
|
|
95
104
|
|
|
96
105
|
interface ProxyAjaxQueryAllParams<D = any> {
|
|
97
106
|
$table: VxeTableConstructor<D>
|
|
@@ -151,38 +160,8 @@ export namespace VxeGridPropTypes {
|
|
|
151
160
|
sort?: boolean
|
|
152
161
|
filter?: boolean
|
|
153
162
|
form?: boolean
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
data: any
|
|
157
|
-
$table: VxeTableConstructor<D>
|
|
158
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
159
|
-
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
160
|
-
}) => any[])
|
|
161
|
-
result?: string | ((params: {
|
|
162
|
-
data: any
|
|
163
|
-
$table: VxeTableConstructor<D>
|
|
164
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
165
|
-
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
166
|
-
}) => any[])
|
|
167
|
-
footerData?: string | ((params: {
|
|
168
|
-
data: any
|
|
169
|
-
$table: VxeTableConstructor<D>
|
|
170
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
171
|
-
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
172
|
-
}) => any[])
|
|
173
|
-
total?: string | ((params: {
|
|
174
|
-
data: any
|
|
175
|
-
$table: VxeTableConstructor<D>
|
|
176
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
177
|
-
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
178
|
-
}) => number)
|
|
179
|
-
message?: string | ((params: {
|
|
180
|
-
data: any
|
|
181
|
-
$table: VxeTableConstructor<D>
|
|
182
|
-
$grid: VxeGridConstructor<D> | null | undefined
|
|
183
|
-
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
184
|
-
}) => string)
|
|
185
|
-
}
|
|
163
|
+
footer?: boolean
|
|
164
|
+
response?: VxeGridDefines.ProxyConfigResponseConfig<D>
|
|
186
165
|
ajax?: {
|
|
187
166
|
query?(params: ProxyAjaxQueryParams<D>, ...args: any[]): Promise<any>
|
|
188
167
|
querySuccess?(params: ProxyAjaxQueryParams<D> & ProxyAjaxResponseParams): void
|
|
@@ -311,6 +290,7 @@ export interface GridReactData<D = any> {
|
|
|
311
290
|
filterData: VxeTableDefines.FilterCheckedParams<D>[]
|
|
312
291
|
formData: any
|
|
313
292
|
sortData: VxeTableDefines.SortCheckedParams<D>[]
|
|
293
|
+
footerData: any[]
|
|
314
294
|
tZindex: number
|
|
315
295
|
tablePage: {
|
|
316
296
|
total: number
|
|
@@ -319,7 +299,9 @@ export interface GridReactData<D = any> {
|
|
|
319
299
|
}
|
|
320
300
|
}
|
|
321
301
|
|
|
322
|
-
export interface GridInternalData {
|
|
302
|
+
export interface GridInternalData {
|
|
303
|
+
uFoot?: boolean
|
|
304
|
+
}
|
|
323
305
|
|
|
324
306
|
export interface GridMethods<D = any> {
|
|
325
307
|
dispatchEvent(type: ValueOf<VxeGridEmits>, params: Record<string, any>, evnt: Event | null): void
|
|
@@ -591,6 +573,39 @@ export namespace VxeGridDefines {
|
|
|
591
573
|
type: 'max' | 'revert'
|
|
592
574
|
}
|
|
593
575
|
export interface ZoomEventParams<D = any> extends GridEventParams<D>, ZoomParams { }
|
|
576
|
+
|
|
577
|
+
export interface ProxyConfigResponseConfig<D = any> {
|
|
578
|
+
list?: string | null | ((params: {
|
|
579
|
+
data: any
|
|
580
|
+
$table: VxeTableConstructor<D>
|
|
581
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
582
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
583
|
+
}) => any[])
|
|
584
|
+
result?: string | ((params: {
|
|
585
|
+
data: any
|
|
586
|
+
$table: VxeTableConstructor<D>
|
|
587
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
588
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
589
|
+
}) => any[])
|
|
590
|
+
footerData?: string | ((params: {
|
|
591
|
+
data: any
|
|
592
|
+
$table: VxeTableConstructor<D>
|
|
593
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
594
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
595
|
+
}) => any[])
|
|
596
|
+
total?: string | ((params: {
|
|
597
|
+
data: any
|
|
598
|
+
$table: VxeTableConstructor<D>
|
|
599
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
600
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
601
|
+
}) => number)
|
|
602
|
+
message?: string | ((params: {
|
|
603
|
+
data: any
|
|
604
|
+
$table: VxeTableConstructor<D>
|
|
605
|
+
$grid: VxeGridConstructor<D> | null | undefined
|
|
606
|
+
$gantt: VxeGanttConstructor<D> | null | undefined
|
|
607
|
+
}) => string)
|
|
608
|
+
}
|
|
594
609
|
}
|
|
595
610
|
|
|
596
611
|
export interface VxeGridEventProps<D = any> {
|
package/types/ui/renderer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { VxeComponentStyleType, VxeComponentClassNameType, VxeComponentSlotType,
|
|
|
2
2
|
import { VxeTableConstructor, VxeTablePropTypes, VxeTableDefines } from '../components/table'
|
|
3
3
|
import { VxeFormItemPropTypes, VxeFormItemSlotTypes, FormItemContentRenderParams, FormItemVisibleParams, FormItemResetParams } from '../components/form-item'
|
|
4
4
|
import { VxeGridConstructor, VxeGridPropTypes } from '../components/grid'
|
|
5
|
-
import { VxeColumnPropTypes } from '../components/column'
|
|
5
|
+
import { VxeColumnPropTypes, VxeColumnDefines } from '../components/column'
|
|
6
6
|
import { VxeToolbarPropTypes } from '../components/toolbar'
|
|
7
7
|
import { VxeButtonConstructor, VxeButtonPropTypes } from '../components/button'
|
|
8
8
|
import { VxeIconPickerConstructor, VxeIconPickerDefines } from '../components/icon-picker'
|
|
@@ -102,6 +102,22 @@ declare module '@vxe-ui/core' {
|
|
|
102
102
|
* 表格 - 自定义表尾单元格导出逻辑
|
|
103
103
|
*/
|
|
104
104
|
tableFooterExportMethod?(params: VxeGlobalRendererHandles.TableFooterExportMethodParams<any>): string
|
|
105
|
+
/**
|
|
106
|
+
* 表格 - 自定义单元格格式化方法
|
|
107
|
+
*/
|
|
108
|
+
tableCellFormatter?(renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.TableCellFormatterParams<any>): string
|
|
109
|
+
/**
|
|
110
|
+
* 表格 - 自定义单元格复制方法
|
|
111
|
+
*/
|
|
112
|
+
tableCellCopyMethod?(renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.TableCellCopyMethodParams<any>): string
|
|
113
|
+
/**
|
|
114
|
+
* 表格 - 自定义单元格剪贴方法
|
|
115
|
+
*/
|
|
116
|
+
tableCellCutMethod?(renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.TableCellCutMethodParams<any>): void
|
|
117
|
+
/**
|
|
118
|
+
* 表格 - 自定义单元格粘贴方法
|
|
119
|
+
*/
|
|
120
|
+
tableCellPasteMethod?(renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.TableCellPasteMethodParams<any>): void
|
|
105
121
|
|
|
106
122
|
/**
|
|
107
123
|
* 表格 - 激活编辑状态时,设置自动聚焦的 class
|
|
@@ -404,6 +420,12 @@ declare module '@vxe-ui/core' {
|
|
|
404
420
|
options: VxeTablePropTypes.ExportHandleOptions
|
|
405
421
|
}
|
|
406
422
|
|
|
423
|
+
export interface TableCellFormatterParams<D = any> extends VxeColumnDefines.CellFormatterParams<D> {}
|
|
424
|
+
|
|
425
|
+
export interface TableCellCopyMethodParams<D = any> extends VxeColumnDefines.CellCopyParams<D> {}
|
|
426
|
+
export interface TableCellCutMethodParams<D = any> extends VxeColumnDefines.CellCutParams<D> {}
|
|
427
|
+
export interface TableCellPasteMethodParams<D = any> extends VxeColumnDefines.CellPasteParams<D> {}
|
|
428
|
+
|
|
407
429
|
/**
|
|
408
430
|
* @deprecated
|
|
409
431
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|