vxe-pc-ui 4.4.20 → 4.4.22
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/table-module/keyboard.d.ts +7 -1
- package/types/components/table-plugins/extend-cell-area.d.ts +116 -80
- package/types/components/table-plugins/extend-pivot-table.d.ts +7 -0
- package/types/components/table-plugins/index.d.ts +1 -0
- package/types/components/table.d.ts +44 -32
- /package/es/icon/{iconfont.1742437791559.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/es/icon/{iconfont.1742437791559.woff → iconfont.1742629559493.woff} +0 -0
- /package/es/icon/{iconfont.1742437791559.woff2 → iconfont.1742629559493.woff2} +0 -0
- /package/es/{iconfont.1742437791559.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/es/{iconfont.1742437791559.woff → iconfont.1742629559493.woff} +0 -0
- /package/es/{iconfont.1742437791559.woff2 → iconfont.1742629559493.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1742437791559.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1742437791559.woff → iconfont.1742629559493.woff} +0 -0
- /package/lib/icon/style/{iconfont.1742437791559.woff2 → iconfont.1742629559493.woff2} +0 -0
- /package/lib/{iconfont.1742437791559.ttf → iconfont.1742629559493.ttf} +0 -0
- /package/lib/{iconfont.1742437791559.woff → iconfont.1742629559493.woff} +0 -0
- /package/lib/{iconfont.1742437791559.woff2 → iconfont.1742629559493.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.4.
|
|
29
|
+
const version = exports.version = "4.4.22";
|
|
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.4.20";function config(e){return"development"===process.env.NODE_ENV&&(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return"development"===process.env.NODE_ENV&&(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:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"hex",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePicker:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,shortcutConfig:{align:"left",mode:"text",autoClose:!0}},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},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,controls:!0},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{},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:100,oSize:2}},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}},treeSelect:{treeConfig:{radioConfig:{},checkboxConfig:{}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0},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",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",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",NUMBER_INPUT_PREV_NUM:iconPrefix+"caret-up",NUMBER_INPUT_NEXT_NUM:iconPrefix+"caret-down",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_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_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_COPY:iconPrefix+"copy",EYE_DROPPER:iconPrefix+"dropper"});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.4.22";function config(e){return"development"===process.env.NODE_ENV&&(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return"development"===process.env.NODE_ENV&&(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:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"hex",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePicker:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,shortcutConfig:{align:"left",mode:"text",autoClose:!0}},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},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,controls:!0},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{},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:100,oSize:2}},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}},treeSelect:{treeConfig:{radioConfig:{},checkboxConfig:{}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0},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",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",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",NUMBER_INPUT_PREV_NUM:iconPrefix+"caret-up",NUMBER_INPUT_NEXT_NUM:iconPrefix+"caret-down",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_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_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_COPY:iconPrefix+"copy",EYE_DROPPER:iconPrefix+"dropper"});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.4.
|
|
8
|
+
const version = `ui v${"4.4.22"}`;
|
|
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.4.
|
|
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.4.22",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
|
package/package.json
CHANGED
|
@@ -6,8 +6,14 @@ export interface TableKeyboardPrivateMethods<D = any> {
|
|
|
6
6
|
moveTabSelected(args: any, isLeft: any, evnt: any): void
|
|
7
7
|
moveCurrentRow(isUpArrow: boolean, isDwArrow: boolean, evnt: any): void
|
|
8
8
|
moveCurrentColumn(isLeftArrow: boolean, isRightArrow: boolean, evnt: any): void
|
|
9
|
-
|
|
9
|
+
moveArrowSelected(args: any, isLeftArrow: boolean, isUpArrow: boolean, isRightArrow: boolean, isDwArrow: boolean, evnt: any): void
|
|
10
|
+
moveEnterSelected(args: any, isLeftArrow: boolean, isUpArrow: boolean, isRightArrow: boolean, isDwArrow: boolean, evnt: any): void
|
|
10
11
|
handleCellMousedownEvent(evnt: any, params: any): void
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*/
|
|
16
|
+
moveSelected(args: any, isLeftArrow: boolean, isUpArrow: boolean, isRightArrow: boolean, isDwArrow: boolean, evnt: any): void
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
declare module '../grid' {
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { VxeComponentEventParams } from '@vxe-ui/core'
|
|
2
2
|
import { VxeTableDefines, VxeTableConstructor } from '../table'
|
|
3
3
|
import { VxeGridConstructor } from '../grid'
|
|
4
|
+
import { VxeColumnPropTypes } from '../column'
|
|
5
|
+
import { VxeModalConstructor, VxeModalMethods } from '../modal'
|
|
4
6
|
|
|
5
|
-
/* eslint-disable no-use-before-define */
|
|
7
|
+
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/no-unused-vars */
|
|
6
8
|
|
|
7
|
-
export interface
|
|
9
|
+
export interface VxeTableExtendCellAreaMethods<D = any> {
|
|
8
10
|
/**
|
|
9
11
|
* 用于 mouse-config.area,用于获取鼠标选择的区域
|
|
10
12
|
*/
|
|
11
|
-
getCellAreas():
|
|
13
|
+
getCellAreas(): VxeTableExtendCellAreaDefines.MouseCellArea[]
|
|
12
14
|
/**
|
|
13
15
|
* 用于 mouse-config.area,用于获取区域中的活动单元格
|
|
14
16
|
*/
|
|
15
|
-
getActiveCellArea():
|
|
17
|
+
getActiveCellArea(): VxeTableExtendCellAreaDefines.MouseActiveCellArea | null
|
|
16
18
|
/**
|
|
17
19
|
* 用于 mouse-config.area,用于获取标记为复制粘贴的区域
|
|
18
20
|
*/
|
|
19
|
-
getCopyCellArea():
|
|
21
|
+
getCopyCellArea(): VxeTableExtendCellAreaDefines.MouseCellArea | null
|
|
20
22
|
/**
|
|
21
23
|
* 请使用 getCopyCellArea
|
|
22
24
|
* @deprecated
|
|
23
25
|
*/
|
|
24
|
-
getCopyCellAreas():
|
|
26
|
+
getCopyCellAreas(): VxeTableExtendCellAreaDefines.MouseCellArea[]
|
|
25
27
|
/**
|
|
26
28
|
* 用于 mouse-config.area,复制指定区域,返回转换后的文本
|
|
27
29
|
*/
|
|
@@ -37,7 +39,7 @@ export interface VxeTableProMethods<D = any> {
|
|
|
37
39
|
/**
|
|
38
40
|
* 用于 mouse-config.area,用于清除鼠标选择的区域,可以指定清除的区域
|
|
39
41
|
*/
|
|
40
|
-
clearCellAreas(area?: number |
|
|
42
|
+
clearCellAreas(area?: number | VxeTableExtendCellAreaDefines.MouseCellArea): Promise<any>
|
|
41
43
|
/**
|
|
42
44
|
* 用于 mouse-config.area,手动清除标记为复制粘贴的区域
|
|
43
45
|
*/
|
|
@@ -46,8 +48,8 @@ export interface VxeTableProMethods<D = any> {
|
|
|
46
48
|
* 用于 mouse-config.area,选取指定区域的单元格
|
|
47
49
|
* @param areaConfigs 指定区域
|
|
48
50
|
*/
|
|
49
|
-
setCellAreas(areaConfigs:
|
|
50
|
-
area?: number |
|
|
51
|
+
setCellAreas(areaConfigs: VxeTableExtendCellAreaDefines.CellAreaConfig[], activeArea?: {
|
|
52
|
+
area?: number | VxeTableExtendCellAreaDefines.CellAreaConfig<D>
|
|
51
53
|
column?: number | VxeTableDefines.ColumnInfo<D>
|
|
52
54
|
row?: D | number
|
|
53
55
|
}): Promise<any>
|
|
@@ -55,7 +57,7 @@ export interface VxeTableProMethods<D = any> {
|
|
|
55
57
|
* 用于 mouse-config.area,设置活动的区域的单元格
|
|
56
58
|
* @param activeArea
|
|
57
59
|
*/
|
|
58
|
-
setActiveCellArea(activeArea:
|
|
60
|
+
setActiveCellArea(activeArea: VxeTableExtendCellAreaDefines.ActiveCellAreaConfig): Promise<any>
|
|
59
61
|
/**
|
|
60
62
|
* 打开单元格查找窗口
|
|
61
63
|
*/
|
|
@@ -75,9 +77,8 @@ export interface VxeTableProMethods<D = any> {
|
|
|
75
77
|
*/
|
|
76
78
|
closeFNR(): Promise<any>
|
|
77
79
|
}
|
|
78
|
-
export type VxeProPluginMethods<D = any> = VxeTableProMethods<D>
|
|
79
80
|
|
|
80
|
-
export interface
|
|
81
|
+
export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
|
|
81
82
|
handleKeyboardCellAreaEvent(evnt: KeyboardEvent): void
|
|
82
83
|
handleHeaderCellAreaEvent(evnt: MouseEvent, params: VxeTableDefines.HeaderCellClickEventParams<D>): void
|
|
83
84
|
handleCellAreaMousedownEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
|
|
@@ -97,19 +98,48 @@ export interface VxeTableProPrivateMethods<D = any> {
|
|
|
97
98
|
triggerPasteCellAreaEvent(evnt: MouseEvent): void
|
|
98
99
|
triggerFNROpenEvent(evnt: MouseEvent, tab: 'find' | 'replace'): void
|
|
99
100
|
}
|
|
100
|
-
export type VxeProPluginPrivateMethods<D = any> = VxeTableProPrivateMethods<D>
|
|
101
101
|
|
|
102
102
|
declare module '../table' {
|
|
103
|
-
export interface
|
|
104
|
-
|
|
103
|
+
export interface TableInternalData<D = any> {
|
|
104
|
+
fnrStore?: {
|
|
105
|
+
visible: boolean
|
|
106
|
+
activeTab: string
|
|
107
|
+
findValue: string
|
|
108
|
+
replaceValue: string
|
|
109
|
+
isRE: boolean
|
|
110
|
+
isWhole: boolean
|
|
111
|
+
isSensitive: boolean
|
|
112
|
+
showREErr: boolean
|
|
113
|
+
showCount: boolean
|
|
114
|
+
findCellRE: RegExp | null
|
|
115
|
+
findCount: number
|
|
116
|
+
}
|
|
117
|
+
fnrTabs?: VxeTableExtendCellAreaDefines.FNRTab[]
|
|
118
|
+
fnrSearchList?: VxeTableExtendCellAreaDefines.FNRSearch[]
|
|
119
|
+
azIndex?: number
|
|
120
|
+
fnrActiveModal?: (VxeModalConstructor & VxeModalMethods) | null
|
|
121
|
+
|
|
122
|
+
cellAreas?: VxeTableExtendCellAreaDefines.MouseCellArea<D>[] | null
|
|
123
|
+
activeCellArea?: VxeTableExtendCellAreaDefines.MouseActiveCellArea | null
|
|
124
|
+
|
|
125
|
+
copyAreaMpas?: {
|
|
126
|
+
cut: boolean;
|
|
127
|
+
cellAreas: VxeTableExtendCellAreaDefines.MouseCellArea[];
|
|
128
|
+
} | null
|
|
129
|
+
|
|
130
|
+
_msTout?: any
|
|
131
|
+
_isCAEd?: boolean
|
|
132
|
+
}
|
|
133
|
+
export interface VxeTableMethods<D = any> extends VxeTableExtendCellAreaMethods<D> { }
|
|
134
|
+
export interface VxeTablePrivateMethods<D = any> extends VxeTableExtendCellAreaPrivateMethods<D> { }
|
|
105
135
|
}
|
|
106
136
|
|
|
107
137
|
declare module '../grid' {
|
|
108
|
-
export interface VxeGridMethods<D = any> extends
|
|
109
|
-
export interface VxeGridPrivateMethods<D = any> extends
|
|
138
|
+
export interface VxeGridMethods<D = any> extends VxeTableExtendCellAreaMethods<D> { }
|
|
139
|
+
export interface VxeGridPrivateMethods<D = any> extends VxeTableExtendCellAreaPrivateMethods<D> { }
|
|
110
140
|
}
|
|
111
141
|
|
|
112
|
-
export namespace
|
|
142
|
+
export namespace VxeTableExtendCellAreaDefines {
|
|
113
143
|
export interface CellAreaParams<D = any> {
|
|
114
144
|
cols: VxeTableDefines.ColumnInfo<D>[]
|
|
115
145
|
rows: D[]
|
|
@@ -164,7 +194,7 @@ export namespace VxeTableProDefines {
|
|
|
164
194
|
}
|
|
165
195
|
|
|
166
196
|
export interface ActiveCellAreaConfig<D = any> {
|
|
167
|
-
area:
|
|
197
|
+
area: VxeTableExtendCellAreaDefines.MouseCellArea<D> | number
|
|
168
198
|
column: VxeTableDefines.ColumnInfo<D> | number
|
|
169
199
|
row: D | number
|
|
170
200
|
}
|
|
@@ -237,7 +267,7 @@ export namespace VxeTableProDefines {
|
|
|
237
267
|
export interface CellAreaCopyParams<D = any> {
|
|
238
268
|
status: boolean
|
|
239
269
|
invalid: boolean
|
|
240
|
-
targetAreas:
|
|
270
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<D>[]
|
|
241
271
|
cellValues: string[][]
|
|
242
272
|
}
|
|
243
273
|
export interface CellAreaCopyEventParams<D = any> extends EventParams<D>, CellAreaCopyParams<D> { }
|
|
@@ -245,7 +275,7 @@ export namespace VxeTableProDefines {
|
|
|
245
275
|
export interface CellAreaCutParams<D = any> {
|
|
246
276
|
status: boolean
|
|
247
277
|
invalid: boolean
|
|
248
|
-
targetAreas:
|
|
278
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<D>[]
|
|
249
279
|
cellValues: string[][]
|
|
250
280
|
}
|
|
251
281
|
export interface CellAreaCutEventParams<D = any> extends EventParams<D>, CellAreaCutParams<D> { }
|
|
@@ -253,13 +283,13 @@ export namespace VxeTableProDefines {
|
|
|
253
283
|
export interface CellAreaPasteParams<D = any> {
|
|
254
284
|
status: boolean
|
|
255
285
|
invalid: boolean
|
|
256
|
-
targetAreas:
|
|
286
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<D>[]
|
|
257
287
|
}
|
|
258
288
|
export interface CellAreaPasteEventParams<D = any> extends EventParams<D>, CellAreaPasteParams<D> { }
|
|
259
289
|
|
|
260
290
|
export interface CellAreaMergeParams<D = any> {
|
|
261
291
|
status: boolean
|
|
262
|
-
targetAreas:
|
|
292
|
+
targetAreas: VxeTableExtendCellAreaDefines.CellAreaParams<D>[]
|
|
263
293
|
}
|
|
264
294
|
export interface CellAreaMergeEventParams<D = any> extends EventParams<D>, CellAreaMergeParams<D> { }
|
|
265
295
|
|
|
@@ -269,7 +299,7 @@ export namespace VxeTableProDefines {
|
|
|
269
299
|
export interface ClearCellAreaMergeEventParams<D = any> extends EventParams<D>, ClearCellAreaMergeParams<D> { }
|
|
270
300
|
|
|
271
301
|
export interface ClearCellAreaSelectionParams<D = any> {
|
|
272
|
-
cellAreas:
|
|
302
|
+
cellAreas: VxeTableExtendCellAreaDefines.MouseCellArea<D>[]
|
|
273
303
|
}
|
|
274
304
|
export interface ClearCellAreaSelectionEventParams<D = any> extends EventParams<D>, ClearCellAreaSelectionParams<D> { }
|
|
275
305
|
|
|
@@ -310,10 +340,15 @@ export namespace VxeTableProDefines {
|
|
|
310
340
|
}
|
|
311
341
|
export interface CellAreaSelectionEndEventParams<D = any> extends EventParams<D>, CellAreaSelectionEndParams<D> { }
|
|
312
342
|
|
|
313
|
-
export
|
|
343
|
+
export interface CellAreaExtensionStartParams<D = any> {
|
|
344
|
+
fixed: VxeColumnPropTypes.Fixed
|
|
345
|
+
targetRows: D[]
|
|
346
|
+
targetCols: VxeTableDefines.ColumnInfo<D>[]
|
|
347
|
+
}
|
|
314
348
|
export interface CellAreaExtensionStartEventParams<D = any> extends EventParams<D>, CellAreaExtensionStartParams<D> { }
|
|
315
349
|
|
|
316
350
|
export interface CellAreaExtensionDragParams<D = any> {
|
|
351
|
+
fixed: VxeColumnPropTypes.Fixed
|
|
317
352
|
rows: D[]
|
|
318
353
|
cols: VxeTableDefines.ColumnInfo<D>[]
|
|
319
354
|
targetRows: D[]
|
|
@@ -322,6 +357,7 @@ export namespace VxeTableProDefines {
|
|
|
322
357
|
export interface CellAreaExtensionDragEventParams<D = any> extends EventParams<D>, CellAreaExtensionDragParams<D> { }
|
|
323
358
|
|
|
324
359
|
export interface CellAreaExtensionEndParams<D = any> {
|
|
360
|
+
fixed: VxeColumnPropTypes.Fixed
|
|
325
361
|
rows: D[]
|
|
326
362
|
cols: VxeTableDefines.ColumnInfo<D>[]
|
|
327
363
|
targetRows: D[]
|
|
@@ -356,7 +392,7 @@ export namespace VxeTableProDefines {
|
|
|
356
392
|
export interface CellAreaArrowsEndEventParams<D = any> extends EventParams<D>, CellAreaArrowsEndParams<D> { }
|
|
357
393
|
|
|
358
394
|
export interface ActiveCellChangeStartParams<D = any> {
|
|
359
|
-
activeArea:
|
|
395
|
+
activeArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
360
396
|
row: D
|
|
361
397
|
column: VxeTableDefines.ColumnInfo<D>
|
|
362
398
|
isTab: boolean
|
|
@@ -369,12 +405,12 @@ export namespace VxeTableProDefines {
|
|
|
369
405
|
export interface ActiveCellChangeStartEventParams<D = any> extends EventParams<D>, ActiveCellChangeStartParams<D> { }
|
|
370
406
|
|
|
371
407
|
export interface ActiveCellChangeEndParams<D = any> extends ActiveCellChangeStartParams<D> {
|
|
372
|
-
beforeActiveArea:
|
|
408
|
+
beforeActiveArea: VxeTableExtendCellAreaDefines.MouseActiveCellArea
|
|
373
409
|
}
|
|
374
410
|
export interface ActiveCellChangeEndEventParams<D = any> extends EventParams<D>, ActiveCellChangeEndParams<D> { }
|
|
375
411
|
}
|
|
376
412
|
|
|
377
|
-
export type
|
|
413
|
+
export type VxeTableExtendCellAreaEmits = [
|
|
378
414
|
'change-fnr', // 废弃
|
|
379
415
|
|
|
380
416
|
'open-fnr',
|
|
@@ -483,32 +519,32 @@ declare module '../table' {
|
|
|
483
519
|
activeCellChangeEnd?: VxeTableEvents.ActiveCellChangeEnd<D>
|
|
484
520
|
}
|
|
485
521
|
export namespace VxeTableEvents {
|
|
486
|
-
export type OpenFnr<D = any> = (params:
|
|
487
|
-
export type FnrChange<D = any> = (params:
|
|
488
|
-
export type FnrFind<D = any> = (params:
|
|
489
|
-
export type FnrFindAll<D = any> = (params:
|
|
490
|
-
export type FnrReplace<D = any> = (params:
|
|
491
|
-
export type FnrReplaceAll<D = any> = (params:
|
|
492
|
-
export type CellAreaCopy<D = any> = (params:
|
|
493
|
-
export type CellAreaCut<D = any> = (params:
|
|
494
|
-
export type CellAreaPaste<D = any> = (params:
|
|
495
|
-
export type CellAreaMerge<D = any> = (params:
|
|
496
|
-
export type ClearCellAreaMerge<D = any> = (params:
|
|
497
|
-
export type ClearCellAreaSelection<D = any> = (params:
|
|
498
|
-
export type HeaderCellAreaSelection<D = any> = (params:
|
|
499
|
-
export type CellAreaSelectionInvalid<D = any> = (params:
|
|
500
|
-
export type CellAreaSelectionStart<D = any> = (params:
|
|
501
|
-
export type CellAreaSelectionDrag<D = any> = (params:
|
|
502
|
-
export type CellAreaSelectionEnd<D = any> = (params:
|
|
503
|
-
export type CellAreaExtensionStart<D = any> = (params:
|
|
504
|
-
export type CellAreaExtensionDrag<D = any> = (params:
|
|
505
|
-
export type CellAreaExtensionEnd<D = any> = (params:
|
|
506
|
-
export type CellAreaSelectionAllStart<D = any> = (params:
|
|
507
|
-
export type CellAreaSelectionAllEnd<D = any> = (params:
|
|
508
|
-
export type CellAreaArrowsStart<D = any> = (params:
|
|
509
|
-
export type CellAreaArrowsEnd<D = any> = (params:
|
|
510
|
-
export type ActiveCellChangeStart<D = any> = (params:
|
|
511
|
-
export type ActiveCellChangeEnd<D = any> = (params:
|
|
522
|
+
export type OpenFnr<D = any> = (params: VxeTableExtendCellAreaDefines.OpenFnrParams<D>) => void
|
|
523
|
+
export type FnrChange<D = any> = (params: VxeTableExtendCellAreaDefines.FnrChangeParams<D>) => void
|
|
524
|
+
export type FnrFind<D = any> = (params: VxeTableExtendCellAreaDefines.FnrFindParams<D>) => void
|
|
525
|
+
export type FnrFindAll<D = any> = (params: VxeTableExtendCellAreaDefines.FnrFindAllParams<D>) => void
|
|
526
|
+
export type FnrReplace<D = any> = (params: VxeTableExtendCellAreaDefines.FnrReplaceParams<D>) => void
|
|
527
|
+
export type FnrReplaceAll<D = any> = (params: VxeTableExtendCellAreaDefines.FnrReplaceAllParams<D>) => void
|
|
528
|
+
export type CellAreaCopy<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaCopyParams<D>) => void
|
|
529
|
+
export type CellAreaCut<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaCutParams<D>) => void
|
|
530
|
+
export type CellAreaPaste<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaPasteParams<D>) => void
|
|
531
|
+
export type CellAreaMerge<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaMergeEventParams<D>) => void
|
|
532
|
+
export type ClearCellAreaMerge<D = any> = (params: VxeTableExtendCellAreaDefines.ClearCellAreaMergeEventParams<D>) => void
|
|
533
|
+
export type ClearCellAreaSelection<D = any> = (params: VxeTableExtendCellAreaDefines.ClearCellAreaSelectionEventParams<D>) => void
|
|
534
|
+
export type HeaderCellAreaSelection<D = any> = (params: VxeTableExtendCellAreaDefines.HeaderCellAreaSelectionEventParams<D>) => void
|
|
535
|
+
export type CellAreaSelectionInvalid<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionInvalidEventParams<D>) => void
|
|
536
|
+
export type CellAreaSelectionStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionStartEventParams<D>) => void
|
|
537
|
+
export type CellAreaSelectionDrag<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionDragEventParams<D>) => void
|
|
538
|
+
export type CellAreaSelectionEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionEndEventParams<D>) => void
|
|
539
|
+
export type CellAreaExtensionStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaExtensionStartEventParams<D>) => void
|
|
540
|
+
export type CellAreaExtensionDrag<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaExtensionDragEventParams<D>) => void
|
|
541
|
+
export type CellAreaExtensionEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaExtensionEndEventParams<D>) => void
|
|
542
|
+
export type CellAreaSelectionAllStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionAllStartEventParams<D>) => void
|
|
543
|
+
export type CellAreaSelectionAllEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionAllEndEventParams<D>) => void
|
|
544
|
+
export type CellAreaArrowsStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaArrowsStartEventParams<D>) => void
|
|
545
|
+
export type CellAreaArrowsEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaArrowsEndEventParams<D>) => void
|
|
546
|
+
export type ActiveCellChangeStart<D = any> = (params: VxeTableExtendCellAreaDefines.ActiveCellChangeStartEventParams<D>) => void
|
|
547
|
+
export type ActiveCellChangeEnd<D = any> = (params: VxeTableExtendCellAreaDefines.ActiveCellChangeEndEventParams<D>) => void
|
|
512
548
|
}
|
|
513
549
|
}
|
|
514
550
|
|
|
@@ -588,31 +624,31 @@ declare module '../grid' {
|
|
|
588
624
|
activeCellChangeEnd?: VxeGridEvents.ActiveCellChangeEnd<D>
|
|
589
625
|
}
|
|
590
626
|
export namespace VxeGridEvents {
|
|
591
|
-
export type OpenFnr<D = any> = (params:
|
|
592
|
-
export type FnrChange<D = any> = (params:
|
|
593
|
-
export type FnrFind<D = any> = (params:
|
|
594
|
-
export type FnrFindAll<D = any> = (params:
|
|
595
|
-
export type FnrReplace<D = any> = (params:
|
|
596
|
-
export type FnrReplaceAll<D = any> = (params:
|
|
597
|
-
export type CellAreaCopy<D = any> = (params:
|
|
598
|
-
export type CellAreaCut<D = any> = (params:
|
|
599
|
-
export type CellAreaPaste<D = any> = (params:
|
|
600
|
-
export type CellAreaMerge<D = any> = (params:
|
|
601
|
-
export type ClearCellAreaMerge<D = any> = (params:
|
|
602
|
-
export type ClearCellAreaSelection<D = any> = (params:
|
|
603
|
-
export type HeaderCellAreaSelection<D = any> = (params:
|
|
604
|
-
export type CellAreaSelectionInvalid<D = any> = (params:
|
|
605
|
-
export type CellAreaSelectionStart<D = any> = (params:
|
|
606
|
-
export type CellAreaSelectionDrag<D = any> = (params:
|
|
607
|
-
export type CellAreaSelectionEnd<D = any> = (params:
|
|
608
|
-
export type CellAreaExtensionStart<D = any> = (params:
|
|
609
|
-
export type CellAreaExtensionDrag<D = any> = (params:
|
|
610
|
-
export type CellAreaExtensionEnd<D = any> = (params:
|
|
611
|
-
export type CellAreaArrowsStart<D = any> = (params:
|
|
612
|
-
export type CellAreaSelectionAllStart<D = any> = (params:
|
|
613
|
-
export type CellAreaSelectionAllEnd<D = any> = (params:
|
|
614
|
-
export type CellAreaArrowsEnd<D = any> = (params:
|
|
615
|
-
export type ActiveCellChangeStart<D = any> = (params:
|
|
616
|
-
export type ActiveCellChangeEnd<D = any> = (params:
|
|
627
|
+
export type OpenFnr<D = any> = (params: VxeTableExtendCellAreaDefines.OpenFnrParams<D>) => void
|
|
628
|
+
export type FnrChange<D = any> = (params: VxeTableExtendCellAreaDefines.FnrChangeParams<D>) => void
|
|
629
|
+
export type FnrFind<D = any> = (params: VxeTableExtendCellAreaDefines.FnrFindParams<D>) => void
|
|
630
|
+
export type FnrFindAll<D = any> = (params: VxeTableExtendCellAreaDefines.FnrFindAllParams<D>) => void
|
|
631
|
+
export type FnrReplace<D = any> = (params: VxeTableExtendCellAreaDefines.FnrReplaceParams<D>) => void
|
|
632
|
+
export type FnrReplaceAll<D = any> = (params: VxeTableExtendCellAreaDefines.FnrReplaceAllParams<D>) => void
|
|
633
|
+
export type CellAreaCopy<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaCopyParams<D>) => void
|
|
634
|
+
export type CellAreaCut<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaCutParams<D>) => void
|
|
635
|
+
export type CellAreaPaste<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaPasteParams<D>) => void
|
|
636
|
+
export type CellAreaMerge<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaMergeParams<D>) => void
|
|
637
|
+
export type ClearCellAreaMerge<D = any> = (params: VxeTableExtendCellAreaDefines.ClearCellAreaMergeParams<D>) => void
|
|
638
|
+
export type ClearCellAreaSelection<D = any> = (params: VxeTableExtendCellAreaDefines.ClearCellAreaSelectionParams<D>) => void
|
|
639
|
+
export type HeaderCellAreaSelection<D = any> = (params: VxeTableExtendCellAreaDefines.HeaderCellAreaSelectionParams<D>) => void
|
|
640
|
+
export type CellAreaSelectionInvalid<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionInvalidEventParams<D>) => void
|
|
641
|
+
export type CellAreaSelectionStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionStartEventParams<D>) => void
|
|
642
|
+
export type CellAreaSelectionDrag<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionDragEventParams<D>) => void
|
|
643
|
+
export type CellAreaSelectionEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionEndEventParams<D>) => void
|
|
644
|
+
export type CellAreaExtensionStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaExtensionStartEventParams<D>) => void
|
|
645
|
+
export type CellAreaExtensionDrag<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaExtensionDragEventParams<D>) => void
|
|
646
|
+
export type CellAreaExtensionEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaExtensionEndEventParams<D>) => void
|
|
647
|
+
export type CellAreaArrowsStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaArrowsStartEventParams<D>) => void
|
|
648
|
+
export type CellAreaSelectionAllStart<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionAllStartEventParams<D>) => void
|
|
649
|
+
export type CellAreaSelectionAllEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaSelectionAllEndEventParams<D>) => void
|
|
650
|
+
export type CellAreaArrowsEnd<D = any> = (params: VxeTableExtendCellAreaDefines.CellAreaArrowsEndEventParams<D>) => void
|
|
651
|
+
export type ActiveCellChangeStart<D = any> = (params: VxeTableExtendCellAreaDefines.ActiveCellChangeStartEventParams<D>) => void
|
|
652
|
+
export type ActiveCellChangeEnd<D = any> = (params: VxeTableExtendCellAreaDefines.ActiveCellChangeEndEventParams<D>) => void
|
|
617
653
|
}
|
|
618
654
|
}
|