vxe-pc-ui 4.9.37 → 4.9.39
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/input/src/input.js +6 -3
- package/es/number-input/src/number-input.js +5 -0
- package/es/password-input/src/password-input.js +9 -7
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/textarea/src/textarea.js +3 -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 +42 -18
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +10 -4
- package/lib/input/src/input.min.js +1 -1
- package/lib/number-input/src/number-input.js +13 -1
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +13 -10
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/textarea/src/textarea.js +4 -1
- package/lib/textarea/src/textarea.min.js +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/packages/input/src/input.ts +6 -3
- package/packages/number-input/src/number-input.ts +5 -0
- package/packages/password-input/src/password-input.ts +9 -7
- package/packages/textarea/src/textarea.ts +3 -1
- package/types/components/column.d.ts +18 -0
- package/types/components/grid.d.ts +10 -0
- package/types/components/input.d.ts +6 -0
- package/types/components/number-input.d.ts +1 -0
- package/types/components/password-input.d.ts +1 -0
- package/types/components/table-module/filter.d.ts +50 -4
- package/types/components/table-plugins/extend-cell-area.d.ts +1 -1
- package/types/components/table.d.ts +33 -4
- package/types/components/textarea.d.ts +7 -1
- package/types/ui/renderer.d.ts +24 -0
- /package/es/icon/{iconfont.1758878505769.ttf → iconfont.1759043297531.ttf} +0 -0
- /package/es/icon/{iconfont.1758878505769.woff → iconfont.1759043297531.woff} +0 -0
- /package/es/icon/{iconfont.1758878505769.woff2 → iconfont.1759043297531.woff2} +0 -0
- /package/es/{iconfont.1758878505769.ttf → iconfont.1759043297531.ttf} +0 -0
- /package/es/{iconfont.1758878505769.woff → iconfont.1759043297531.woff} +0 -0
- /package/es/{iconfont.1758878505769.woff2 → iconfont.1759043297531.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1758878505769.ttf → iconfont.1759043297531.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1758878505769.woff → iconfont.1759043297531.woff} +0 -0
- /package/lib/icon/style/{iconfont.1758878505769.woff2 → iconfont.1759043297531.woff2} +0 -0
- /package/lib/{iconfont.1758878505769.ttf → iconfont.1759043297531.ttf} +0 -0
- /package/lib/{iconfont.1758878505769.woff → iconfont.1759043297531.woff} +0 -0
- /package/lib/{iconfont.1758878505769.woff2 → iconfont.1759043297531.woff2} +0 -0
|
@@ -58,7 +58,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
58
58
|
// 已废弃
|
|
59
59
|
maxlength: [String, Number]
|
|
60
60
|
},
|
|
61
|
-
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'click', 'change', 'focus', 'blur'],
|
|
61
|
+
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'click', 'change', 'focus', 'blur', 'lazy-change'],
|
|
62
62
|
setup(props, context) {
|
|
63
63
|
const {
|
|
64
64
|
emit
|
|
@@ -252,6 +252,9 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
252
252
|
} else {
|
|
253
253
|
handleChange(reactData.inputValue, evnt);
|
|
254
254
|
}
|
|
255
|
+
$xeTextarea.dispatchEvent('lazy-change', {
|
|
256
|
+
value: reactData.inputValue
|
|
257
|
+
}, evnt);
|
|
255
258
|
};
|
|
256
259
|
const blurEvent = evnt => {
|
|
257
260
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_utils=require("../../ui/src/utils");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let autoTxtElem;var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTextarea",props:{modelValue:[String,Number],className:String,immediate:{type:Boolean,default:!0},name:String,readonly:{type:Boolean,default:null},editable:{type:Boolean,default:!0},disabled:{type:Boolean,default:null},placeholder:String,maxLength:[String,Number],rows:{type:[String,Number],default:null},cols:{type:[String,Number],default:null},showWordCount:Boolean,countMethod:Function,autosize:[Boolean,Object],form:String,resize:{type:String,default:()=>(0,_ui.getConfig)().textarea.resize},size:{type:String,default:()=>(0,_ui.getConfig)().textarea.size||(0,_ui.getConfig)().size},maxlength:[String,Number]},emits:["update:modelValue","input","keydown","keyup","click","change","focus","blur"],setup(_,e){const a=e["emit"],u=(0,_vue.inject)("$xeForm",null),l=(0,_vue.inject)("xeFormItemInfo",null);var t=_xeUtils.default.uniqueId();const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_utils=require("../../ui/src/utils");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let autoTxtElem;var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTextarea",props:{modelValue:[String,Number],className:String,immediate:{type:Boolean,default:!0},name:String,readonly:{type:Boolean,default:null},editable:{type:Boolean,default:!0},disabled:{type:Boolean,default:null},placeholder:String,maxLength:[String,Number],rows:{type:[String,Number],default:null},cols:{type:[String,Number],default:null},showWordCount:Boolean,countMethod:Function,autosize:[Boolean,Object],form:String,resize:{type:String,default:()=>(0,_ui.getConfig)().textarea.resize},size:{type:String,default:()=>(0,_ui.getConfig)().textarea.size||(0,_ui.getConfig)().size},maxlength:[String,Number]},emits:["update:modelValue","input","keydown","keyup","click","change","focus","blur","lazy-change"],setup(_,e){const a=e["emit"],u=(0,_vue.inject)("$xeForm",null),l=(0,_vue.inject)("xeFormItemInfo",null);var t=_xeUtils.default.uniqueId();const g=(0,_ui.useSize)(_)["computeSize"],f=(0,_vue.reactive)({inputValue:_.modelValue}),h=(0,_vue.ref)(),b=(0,_vue.ref)(),i={refElem:h,refTextarea:b},r={xID:t,props:_,context:e,reactData:f,getRefMaps:()=>i};let n;const y=(0,_vue.computed)(()=>{var e=_["readonly"];return null===e?!!u&&u.props.readonly:e}),z=(0,_vue.computed)(()=>{var e=_["disabled"];return null===e?!!u&&u.props.disabled:e}),V=(0,_vue.computed)(()=>{var e=_["editable"];return y.value||!e}),E=(0,_vue.computed)(()=>{var e=_["placeholder"];return(e=e||(0,_ui.getConfig)().textarea.placeholder)?(0,_utils.getFuncText)(e):(0,_ui.getI18n)("vxe.base.pleaseInput")}),N=(0,_vue.computed)(()=>{var{maxLength:e,maxlength:t}=_;return e||t}),T=(0,_vue.computed)(()=>_xeUtils.default.getSize(f.inputValue)),S=(0,_vue.computed)(()=>{var e=T.value,t=N.value;return t&&e>_xeUtils.default.toNumber(t)}),o=(0,_vue.computed)(()=>Object.assign({minRows:1,maxRows:10},(0,_ui.getConfig)().textarea.autosize,_.autosize)),s=()=>{var e,{size:t,autosize:u}=_,a=f["inputValue"];u&&((autoTxtElem=autoTxtElem||document.createElement("div")).parentNode||document.body.appendChild(autoTxtElem),u=b.value)&&(e=getComputedStyle(u),autoTxtElem.className=["vxe-textarea--autosize",t?"size--"+t:""].join(" "),autoTxtElem.style.width=u.clientWidth+"px",autoTxtElem.style.padding=e.padding,autoTxtElem.innerText=(""+(a||" ")).replace(/\n$/,"\n "))},d=()=>{_.autosize&&(0,_vue.nextTick)(()=>{var{minRows:t,maxRows:u}=o.value,a=b.value;if(a){var l=autoTxtElem.clientHeight,i=getComputedStyle(a),r=_xeUtils.default.toNumber(i.lineHeight),i=_xeUtils.default.toNumber(i.paddingTop)+_xeUtils.default.toNumber(i.paddingBottom)+_xeUtils.default.toNumber(i.borderTopWidth)+_xeUtils.default.toNumber(i.borderBottomWidth),l=(l-i)/r,l=l&&/[0-9]/.test(""+l)?l:Math.floor(l)+1;let e=l;l<t?e=t:u<l&&(e=u),a.style.height=e*r+i+"px"}})},w=e=>{var t=f.inputValue;r.dispatchEvent(e.type,{value:t},e)},v=(e,t)=>{f.inputValue=e,a("update:modelValue",e),_xeUtils.default.toValueString(_.modelValue)!==e&&(n.dispatchEvent("change",{value:e},t),u)&&l&&u.triggerItemEvent(t,l.itemConfig.field,e)},C=e=>{var t=_["immediate"],u=e.target.value;f.inputValue=u,t&&v(u,e),r.dispatchEvent("input",{value:u},e),d()},U=e=>{var t=_["immediate"];t?w(e):v(f.inputValue,e),r.dispatchEvent("lazy-change",{value:f.inputValue},e)},q=e=>{var t=_["immediate"],u=f["inputValue"];t||v(u,e),r.dispatchEvent("blur",{value:u},e)};n={dispatchEvent(e,t,u){a(e,(0,_ui.createEvent)(u,{$textarea:r},t))},focus(){return b.value.focus(),(0,_vue.nextTick)()},blur(){return b.value.blur(),(0,_vue.nextTick)()}},Object.assign(r,n),(0,_vue.watch)(()=>_.modelValue,e=>{f.inputValue=e,s()}),(0,_vue.watch)(o,()=>{s(),d()}),(0,_vue.nextTick)(()=>{var e=_["autosize"];e&&(s(),d())});return r.renderVN=()=>{var{className:e,resize:t,autosize:u,showWordCount:a,countMethod:l,rows:i,cols:r}=_,n=f["inputValue"],o=g.value,s=z.value,d=S.value,v=T.value,p=V.value,c=y.value,m=E.value,x=N.value;return c?(0,_vue.h)("div",{ref:h,class:["vxe-textarea--readonly",e]},n):(0,_vue.h)("div",{ref:h,class:["vxe-textarea",e,{["size--"+o]:o,"is--autosize":u,"is--count":a,"is--disabled":s,"is--rows":!_xeUtils.default.eqNull(i),"is--cols":!_xeUtils.default.eqNull(r)}],spellcheck:!1},[(0,_vue.h)("textarea",{ref:b,class:"vxe-textarea--inner",value:n,name:_.name,placeholder:m,maxlength:x,readonly:p,disabled:s,rows:i,cols:r,style:t?{resize:t}:null,onInput:C,onChange:U,onKeydown:w,onKeyup:w,onClick:w,onFocus:w,onBlur:q}),a?(0,_vue.h)("span",{class:["vxe-textarea--count",{"is--error":d}]},l?""+l({value:n}):v+(x?"/"+x:"")):null])},r},render(){return this.renderVN()}});
|
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.9.
|
|
29
|
+
const version = exports.version = "4.9.39";
|
|
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.9.37";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}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0}},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:{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",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.9.39";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}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0}},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:{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",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.9.
|
|
8
|
+
const version = `ui v${"4.9.39"}`;
|
|
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.9.
|
|
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.9.39",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
|
package/package.json
CHANGED
|
@@ -160,6 +160,7 @@ export default defineVxeComponent({
|
|
|
160
160
|
'focus',
|
|
161
161
|
'blur',
|
|
162
162
|
'clear',
|
|
163
|
+
'lazy-change',
|
|
163
164
|
'search-click',
|
|
164
165
|
'toggle-visible',
|
|
165
166
|
'prev-number',
|
|
@@ -857,6 +858,7 @@ export default defineVxeComponent({
|
|
|
857
858
|
if (!inpImmediate) {
|
|
858
859
|
triggerEvent(evnt)
|
|
859
860
|
}
|
|
861
|
+
$xeInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
860
862
|
}
|
|
861
863
|
|
|
862
864
|
const blurEvent = (evnt: Event & { type: 'blur' }) => {
|
|
@@ -896,7 +898,7 @@ export default defineVxeComponent({
|
|
|
896
898
|
const isDisabled = computeIsDisabled.value
|
|
897
899
|
if (!isDisabled) {
|
|
898
900
|
const { inputValue } = reactData
|
|
899
|
-
|
|
901
|
+
$xeInput.dispatchEvent('prefix-click', { value: inputValue }, evnt)
|
|
900
902
|
}
|
|
901
903
|
}
|
|
902
904
|
|
|
@@ -923,14 +925,15 @@ export default defineVxeComponent({
|
|
|
923
925
|
}
|
|
924
926
|
}
|
|
925
927
|
handleChange('', evnt)
|
|
926
|
-
|
|
928
|
+
$xeInput.dispatchEvent('clear', { value }, evnt)
|
|
929
|
+
$xeInput.dispatchEvent('lazy-change', { value }, evnt)
|
|
927
930
|
}
|
|
928
931
|
|
|
929
932
|
const clickSuffixEvent = (evnt: Event) => {
|
|
930
933
|
const isDisabled = computeIsDisabled.value
|
|
931
934
|
if (!isDisabled) {
|
|
932
935
|
const { inputValue } = reactData
|
|
933
|
-
|
|
936
|
+
$xeInput.dispatchEvent('suffix-click', { value: inputValue }, evnt)
|
|
934
937
|
}
|
|
935
938
|
}
|
|
936
939
|
|
|
@@ -115,6 +115,7 @@ export default defineVxeComponent({
|
|
|
115
115
|
'focus',
|
|
116
116
|
'blur',
|
|
117
117
|
'clear',
|
|
118
|
+
'lazy-change',
|
|
118
119
|
'plus-number',
|
|
119
120
|
'minus-number',
|
|
120
121
|
'prefix-click',
|
|
@@ -389,6 +390,7 @@ export default defineVxeComponent({
|
|
|
389
390
|
if (!inpImmediate) {
|
|
390
391
|
triggerEvent(evnt)
|
|
391
392
|
}
|
|
393
|
+
$xeNumberInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
const focusEvent = (evnt: Event & { type: 'focus' }) => {
|
|
@@ -414,6 +416,7 @@ export default defineVxeComponent({
|
|
|
414
416
|
focus()
|
|
415
417
|
handleChange(null, '', evnt)
|
|
416
418
|
numberInputMethods.dispatchEvent('clear', { value }, evnt)
|
|
419
|
+
$xeNumberInput.dispatchEvent('lazy-change', { value }, evnt)
|
|
417
420
|
}
|
|
418
421
|
|
|
419
422
|
const clickSuffixEvent = (evnt: Event) => {
|
|
@@ -559,6 +562,7 @@ export default defineVxeComponent({
|
|
|
559
562
|
}
|
|
560
563
|
reactData.isActivated = true
|
|
561
564
|
numberInputMethods.dispatchEvent('plus-number', { value: reactData.inputValue }, evnt)
|
|
565
|
+
$xeNumberInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
562
566
|
// 已废弃
|
|
563
567
|
numberInputMethods.dispatchEvent('next-number', { value: reactData.inputValue }, evnt)
|
|
564
568
|
}
|
|
@@ -572,6 +576,7 @@ export default defineVxeComponent({
|
|
|
572
576
|
}
|
|
573
577
|
reactData.isActivated = true
|
|
574
578
|
numberInputMethods.dispatchEvent('minus-number', { value: reactData.inputValue }, evnt)
|
|
579
|
+
$xeNumberInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
575
580
|
// 已废弃
|
|
576
581
|
numberInputMethods.dispatchEvent('prev-number', { value: reactData.inputValue }, evnt)
|
|
577
582
|
}
|
|
@@ -51,6 +51,7 @@ export default defineVxeComponent({
|
|
|
51
51
|
'focus',
|
|
52
52
|
'blur',
|
|
53
53
|
'clear',
|
|
54
|
+
'lazy-change',
|
|
54
55
|
'toggle-visible',
|
|
55
56
|
'prefix-click',
|
|
56
57
|
'suffix-click'
|
|
@@ -158,10 +159,10 @@ export default defineVxeComponent({
|
|
|
158
159
|
|
|
159
160
|
const changeEvent = (evnt: Event & { type: 'change' }) => {
|
|
160
161
|
triggerEvent(evnt)
|
|
161
|
-
|
|
162
|
+
$xePasswordInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
162
163
|
// 自动更新校验状态
|
|
163
164
|
if ($xeForm && formItemInfo) {
|
|
164
|
-
$xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, inputValue)
|
|
165
|
+
$xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, reactData.inputValue)
|
|
165
166
|
}
|
|
166
167
|
}
|
|
167
168
|
|
|
@@ -173,7 +174,7 @@ export default defineVxeComponent({
|
|
|
173
174
|
const blurEvent = (evnt: Event & { type: 'blur' }) => {
|
|
174
175
|
const { inputValue } = reactData
|
|
175
176
|
const value = inputValue
|
|
176
|
-
|
|
177
|
+
$xePasswordInput.dispatchEvent('blur', { value }, evnt)
|
|
177
178
|
// 自动更新校验状态
|
|
178
179
|
if ($xeForm && formItemInfo) {
|
|
179
180
|
$xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value)
|
|
@@ -186,7 +187,7 @@ export default defineVxeComponent({
|
|
|
186
187
|
if (!disabled && !readonly) {
|
|
187
188
|
reactData.showPwd = !showPwd
|
|
188
189
|
}
|
|
189
|
-
|
|
190
|
+
$xePasswordInput.dispatchEvent('toggle-visible', { visible: reactData.showPwd }, evnt)
|
|
190
191
|
}
|
|
191
192
|
|
|
192
193
|
const clickEvent = (evnt: Event & { type: 'click' }) => {
|
|
@@ -196,14 +197,15 @@ export default defineVxeComponent({
|
|
|
196
197
|
const clearValueEvent = (evnt: Event, value: VxePasswordInputPropTypes.ModelValue) => {
|
|
197
198
|
focus()
|
|
198
199
|
handleChange('', evnt)
|
|
199
|
-
|
|
200
|
+
$xePasswordInput.dispatchEvent('clear', { value }, evnt)
|
|
201
|
+
$xePasswordInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
200
202
|
}
|
|
201
203
|
|
|
202
204
|
const clickSuffixEvent = (evnt: Event) => {
|
|
203
205
|
const { disabled } = props
|
|
204
206
|
if (!disabled) {
|
|
205
207
|
const { inputValue } = reactData
|
|
206
|
-
|
|
208
|
+
$xePasswordInput.dispatchEvent('suffix-click', { value: inputValue }, evnt)
|
|
207
209
|
}
|
|
208
210
|
}
|
|
209
211
|
|
|
@@ -211,7 +213,7 @@ export default defineVxeComponent({
|
|
|
211
213
|
const { disabled } = props
|
|
212
214
|
if (!disabled) {
|
|
213
215
|
const { inputValue } = reactData
|
|
214
|
-
|
|
216
|
+
$xePasswordInput.dispatchEvent('prefix-click', { value: inputValue }, evnt)
|
|
215
217
|
}
|
|
216
218
|
}
|
|
217
219
|
|
|
@@ -63,7 +63,8 @@ export default defineVxeComponent({
|
|
|
63
63
|
'click',
|
|
64
64
|
'change',
|
|
65
65
|
'focus',
|
|
66
|
-
'blur'
|
|
66
|
+
'blur',
|
|
67
|
+
'lazy-change'
|
|
67
68
|
] as VxeTextareaEmits,
|
|
68
69
|
setup (props, context) {
|
|
69
70
|
const { emit } = context
|
|
@@ -243,6 +244,7 @@ export default defineVxeComponent({
|
|
|
243
244
|
} else {
|
|
244
245
|
handleChange(reactData.inputValue, evnt)
|
|
245
246
|
}
|
|
247
|
+
$xeTextarea.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt)
|
|
246
248
|
}
|
|
247
249
|
|
|
248
250
|
const blurEvent = (evnt: Event & { type: 'blur' }) => {
|
|
@@ -152,6 +152,8 @@ export namespace VxeColumnPropTypes {
|
|
|
152
152
|
cellType?: VxeColumnPropTypes.CellType
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
export type FloatingFilters = boolean
|
|
156
|
+
|
|
155
157
|
/**
|
|
156
158
|
* 设置为分组节点
|
|
157
159
|
*/
|
|
@@ -383,6 +385,11 @@ export namespace VxeColumnPropTypes {
|
|
|
383
385
|
* 只对 filter-render 启用时有效,自定义筛选模板
|
|
384
386
|
*/
|
|
385
387
|
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<D>) => VxeComponentSlotType[] | VxeComponentSlotType) | null
|
|
388
|
+
/**
|
|
389
|
+
* 只对 floating-filters 和 filter-render 启用时有效,自定义浮动筛选模板
|
|
390
|
+
*/
|
|
391
|
+
floatingFilter?: string | ((params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => VxeComponentSlotType[] | VxeComponentSlotType) | null
|
|
392
|
+
'floating-filter'?: string | ((params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => VxeComponentSlotType[] | VxeComponentSlotType) | null
|
|
386
393
|
/**
|
|
387
394
|
* 只对 edit-render 启用时有效,自定义可编辑组件模板
|
|
388
395
|
*/
|
|
@@ -533,6 +540,10 @@ export interface VxeColumnProps<D = any> {
|
|
|
533
540
|
* 筛选模板配置项
|
|
534
541
|
*/
|
|
535
542
|
filterRender?: VxeColumnPropTypes.FilterRender
|
|
543
|
+
/**
|
|
544
|
+
* 是否启用浮动筛选
|
|
545
|
+
*/
|
|
546
|
+
floatingFilters?: VxeColumnPropTypes.FloatingFilters
|
|
536
547
|
/**
|
|
537
548
|
* 设置为分组节点
|
|
538
549
|
*/
|
|
@@ -642,7 +653,9 @@ export namespace VxeColumnSlotTypes {
|
|
|
642
653
|
columnIndex: number
|
|
643
654
|
$columnIndex: number
|
|
644
655
|
$rowIndex: number
|
|
656
|
+
option: VxeColumnPropTypes.FilterItem | null
|
|
645
657
|
}
|
|
658
|
+
export interface FloatingFilterSlotParams<D = any> extends VxeTableDefines.CellFloatingFilterParams<D> { }
|
|
646
659
|
|
|
647
660
|
export interface EditSlotParams<D = any> extends VxeTableDefines.CellRenderBodyParams<D> { }
|
|
648
661
|
|
|
@@ -712,6 +725,11 @@ export interface VxeColumnSlots<D = any> {
|
|
|
712
725
|
* 只对 filter-render 启用时有效,自定义筛选模板
|
|
713
726
|
*/
|
|
714
727
|
filter?: (params: VxeColumnSlotTypes.FilterSlotParams<D>) => any
|
|
728
|
+
/**
|
|
729
|
+
* 只对 floating-filters 和 filter-render 启用时有效,自定义浮动筛选模板
|
|
730
|
+
*/
|
|
731
|
+
floatingFilter?: (params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => any
|
|
732
|
+
'floating-filter'?: (params: VxeColumnSlotTypes.FloatingFilterSlotParams<D>) => any
|
|
715
733
|
/**
|
|
716
734
|
* 只对 edit-render 启用时有效,自定义可编辑组件模板
|
|
717
735
|
*/
|
|
@@ -349,6 +349,10 @@ export interface GridMethods<D = any> {
|
|
|
349
349
|
* @param field 字段名
|
|
350
350
|
*/
|
|
351
351
|
clearFormValidate(field?: VxeFormItemPropTypes.Field | VxeFormItemPropTypes.Field[] | VxeFormDefines.ItemInfo | VxeFormDefines.ItemInfo[] | null): Promise<any>
|
|
352
|
+
/**
|
|
353
|
+
* 获取每页大小
|
|
354
|
+
*/
|
|
355
|
+
getPageSize(): number
|
|
352
356
|
/**
|
|
353
357
|
* 修改每页大小
|
|
354
358
|
*/
|
|
@@ -373,6 +377,10 @@ export interface GridMethods<D = any> {
|
|
|
373
377
|
* 跳转末页,并触发对应的事件
|
|
374
378
|
*/
|
|
375
379
|
endPageByEvent(evnt: Event): void
|
|
380
|
+
/**
|
|
381
|
+
* 获取当前页数
|
|
382
|
+
*/
|
|
383
|
+
getCurrentPage(): number
|
|
376
384
|
/**
|
|
377
385
|
* 修改每当前页数
|
|
378
386
|
*/
|
|
@@ -844,6 +852,8 @@ export namespace VxeGridSlotTypes {
|
|
|
844
852
|
*/
|
|
845
853
|
_columnIndex: number
|
|
846
854
|
|
|
855
|
+
option: VxeColumnPropTypes.FilterItem | null
|
|
856
|
+
|
|
847
857
|
type: string
|
|
848
858
|
fixed: VxeColumnPropTypes.Fixed
|
|
849
859
|
checked?: boolean
|
|
@@ -226,6 +226,7 @@ export type VxeInputEmits = [
|
|
|
226
226
|
'focus',
|
|
227
227
|
'blur',
|
|
228
228
|
'clear',
|
|
229
|
+
'lazy-change',
|
|
229
230
|
'search-click',
|
|
230
231
|
'toggle-visible',
|
|
231
232
|
'prev-number',
|
|
@@ -312,6 +313,8 @@ export namespace VxeInputDefines {
|
|
|
312
313
|
export interface ClearParams extends InputParams {}
|
|
313
314
|
export interface ClearEventParams extends InputKeyboardEventParams, ClearParams { }
|
|
314
315
|
|
|
316
|
+
export interface LazyChangeEventParams extends InputKeyboardEventParams { }
|
|
317
|
+
|
|
315
318
|
export interface SearchClickParams extends InputParams {}
|
|
316
319
|
export interface SearchClickEventParams extends InputKeyboardEventParams, SearchClickParams { }
|
|
317
320
|
|
|
@@ -350,6 +353,7 @@ export type VxeInputEventProps = {
|
|
|
350
353
|
onFocus?: VxeInputEvents.Focus
|
|
351
354
|
onBlur?: VxeInputEvents.Blur
|
|
352
355
|
onClear?: VxeInputEvents.Clear
|
|
356
|
+
onLazyChange?: VxeInputEvents.LazyChange
|
|
353
357
|
onSearchClick?: VxeInputEvents.SearchClick
|
|
354
358
|
onToggleVisible?: VxeInputEvents.ToggleVisible
|
|
355
359
|
onPrevNumber?: VxeInputEvents.PrevNumber
|
|
@@ -371,6 +375,7 @@ export interface VxeInputListeners {
|
|
|
371
375
|
focus?: VxeInputEvents.Focus
|
|
372
376
|
blur?: VxeInputEvents.Blur
|
|
373
377
|
clear?: VxeInputEvents.Clear
|
|
378
|
+
lazyChange?: VxeInputEvents.LazyChange
|
|
374
379
|
searchClick?: VxeInputEvents.SearchClick
|
|
375
380
|
toggleVisible?: VxeInputEvents.ToggleVisible
|
|
376
381
|
prevNumber?: VxeInputEvents.PrevNumber
|
|
@@ -392,6 +397,7 @@ export namespace VxeInputEvents {
|
|
|
392
397
|
export type Focus = (params: VxeInputDefines.FocusEventParams) => void
|
|
393
398
|
export type Blur = (params: VxeInputDefines.BlurEventParams) => void
|
|
394
399
|
export type Clear = (params: VxeInputDefines.ClearEventParams) => void
|
|
400
|
+
export type LazyChange = (params: VxeInputDefines.LazyChangeEventParams) => void
|
|
395
401
|
export type SearchClick = (params: VxeInputDefines.SearchClickEventParams) => void
|
|
396
402
|
export type ToggleVisible = (params: VxeInputDefines.ToggleVisibleEventParams) => void
|
|
397
403
|
export type PrevNumber = (params: VxeInputDefines.PrevNumberEventParams) => void
|
|
@@ -57,6 +57,22 @@ export interface TableFilterMethods<D = any> {
|
|
|
57
57
|
* 用于在自定义面板中使用,手动重置筛选并触发 filter-change 事件
|
|
58
58
|
*/
|
|
59
59
|
resetFilterPanelByEvent(event: Event): Promise<any>
|
|
60
|
+
/**
|
|
61
|
+
* 对指定列手动确认筛选
|
|
62
|
+
*/
|
|
63
|
+
saveFilter(fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
64
|
+
/**
|
|
65
|
+
* 对指定列手动确认筛选并触发 filter-change 事件
|
|
66
|
+
*/
|
|
67
|
+
saveFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
68
|
+
/**
|
|
69
|
+
* 对指定列手动重置筛选
|
|
70
|
+
*/
|
|
71
|
+
resetFilter(fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
72
|
+
/**
|
|
73
|
+
* 对指定列手动重置筛选并触发 filter-change 事件
|
|
74
|
+
*/
|
|
75
|
+
resetFilterByEvent(event: Event, fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<any>
|
|
60
76
|
/**
|
|
61
77
|
* 获取当前筛选的所有列信息
|
|
62
78
|
*/
|
|
@@ -64,20 +80,50 @@ export interface TableFilterMethods<D = any> {
|
|
|
64
80
|
/**
|
|
65
81
|
* 更新筛选选项的状态
|
|
66
82
|
*/
|
|
67
|
-
updateFilterOptionStatus(item:
|
|
83
|
+
updateFilterOptionStatus(item: VxeTableDefines.FilterOption | VxeColumnPropTypes.FilterItem, checked: boolean): Promise<void>
|
|
68
84
|
}
|
|
69
85
|
|
|
70
86
|
export interface TableFilterPrivateMethods<D = any> {
|
|
87
|
+
/**
|
|
88
|
+
* @private
|
|
89
|
+
*/
|
|
71
90
|
checkFilterOptions(): void
|
|
91
|
+
/**
|
|
92
|
+
* @private
|
|
93
|
+
*/
|
|
72
94
|
handleClearFilter(column: any): void
|
|
95
|
+
/**
|
|
96
|
+
* @private
|
|
97
|
+
*/
|
|
73
98
|
triggerFilterEvent(evnt: any, column: any, params: any): void
|
|
99
|
+
/**
|
|
100
|
+
* @private
|
|
101
|
+
*/
|
|
74
102
|
handleColumnConfirmFilter(column: VxeTableDefines.ColumnInfo, evnt: Event | null): Promise<any>
|
|
75
|
-
|
|
103
|
+
/**
|
|
104
|
+
* @private
|
|
105
|
+
*/
|
|
106
|
+
confirmFilterEvent(evnt: Event | null, column?: VxeTableDefines.ColumnInfo | null): void
|
|
107
|
+
/**
|
|
108
|
+
* @private
|
|
109
|
+
*/
|
|
76
110
|
handleFilterChangeRadioOption (evnt: Event, checked: boolean, item: any): void
|
|
111
|
+
/**
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
77
114
|
handleFilterChangeMultipleOption (evnt: Event, checked: boolean, item: any): void
|
|
115
|
+
/**
|
|
116
|
+
* @private
|
|
117
|
+
*/
|
|
78
118
|
handleFilterChangeOption (evnt: Event, checked: boolean, item: any): void
|
|
79
|
-
|
|
80
|
-
|
|
119
|
+
/**
|
|
120
|
+
* @private
|
|
121
|
+
*/
|
|
122
|
+
handleFilterConfirmFilter (evnt: Event | null, column: VxeTableDefines.ColumnInfo | null): void
|
|
123
|
+
/**
|
|
124
|
+
* @private
|
|
125
|
+
*/
|
|
126
|
+
handleFilterResetFilter (evnt: Event | null, column: VxeTableDefines.ColumnInfo | null): void
|
|
81
127
|
}
|
|
82
128
|
|
|
83
129
|
declare module '../grid' {
|
|
@@ -86,7 +86,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
|
|
|
86
86
|
/**
|
|
87
87
|
* @private
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
handleHeaderCellAreaMouseDnEvent(evnt: MouseEvent, params: VxeTableDefines.HeaderCellClickEventParams<D>): void
|
|
90
90
|
/**
|
|
91
91
|
* @private
|
|
92
92
|
*/
|
|
@@ -1244,6 +1244,17 @@ export namespace VxeTablePropTypes {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
export interface FilterOpts<D = VxeTablePropTypes.Row> extends FilterConfig<D> { }
|
|
1246
1246
|
|
|
1247
|
+
export interface FloatingFilterConfig<D = VxeTablePropTypes.Row> {
|
|
1248
|
+
/**
|
|
1249
|
+
* 是否启用
|
|
1250
|
+
*/
|
|
1251
|
+
enabled?: boolean
|
|
1252
|
+
/**
|
|
1253
|
+
* 是否启用浮动筛选
|
|
1254
|
+
*/
|
|
1255
|
+
floatingFilters?: VxeColumnPropTypes.FloatingFilters
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1247
1258
|
/**
|
|
1248
1259
|
* 单选框配置
|
|
1249
1260
|
*/
|
|
@@ -3294,6 +3305,10 @@ export interface VxeTableProps<D = any> {
|
|
|
3294
3305
|
* 筛选配置项
|
|
3295
3306
|
*/
|
|
3296
3307
|
filterConfig?: VxeTablePropTypes.FilterConfig<D>
|
|
3308
|
+
/**
|
|
3309
|
+
* 浮动筛选配置项
|
|
3310
|
+
*/
|
|
3311
|
+
floatingFilterConfig?: VxeTablePropTypes.FloatingFilterConfig<D>
|
|
3297
3312
|
/**
|
|
3298
3313
|
* 单选框配置项
|
|
3299
3314
|
*/
|
|
@@ -3511,6 +3526,7 @@ export interface TablePrivateComputed<D = any> {
|
|
|
3511
3526
|
computeEditOpts: ComputedRef<VxeTablePropTypes.EditOpts<D>>
|
|
3512
3527
|
computeSortOpts: ComputedRef<VxeTablePropTypes.SortConfig<D>>
|
|
3513
3528
|
computeFilterOpts: ComputedRef<VxeTablePropTypes.FilterOpts<D>>
|
|
3529
|
+
computeFloatingFilterOpts: ComputedRef<VxeTablePropTypes.FloatingFilterConfig<D>>
|
|
3514
3530
|
computeMouseOpts: ComputedRef<VxeTablePropTypes.MouseOpts>
|
|
3515
3531
|
computeAreaOpts: ComputedRef<VxeTablePropTypes.AreaOpts>
|
|
3516
3532
|
computeKeyboardOpts: ComputedRef<VxeTablePropTypes.KeyboardOpts>
|
|
@@ -3639,12 +3655,9 @@ export interface TableReactData<D = any> {
|
|
|
3639
3655
|
isAllSelected: boolean
|
|
3640
3656
|
isIndeterminate: boolean
|
|
3641
3657
|
style: any
|
|
3642
|
-
|
|
3643
|
-
column: any
|
|
3644
|
-
multiple: boolean
|
|
3658
|
+
column: VxeTableDefines.ColumnInfo | null | undefined
|
|
3645
3659
|
visible: boolean
|
|
3646
3660
|
maxHeight: number | string | null
|
|
3647
|
-
[key: string]: any
|
|
3648
3661
|
}
|
|
3649
3662
|
// 存放列相关的信息
|
|
3650
3663
|
columnStore: {
|
|
@@ -5508,6 +5521,7 @@ export namespace VxeTableDefines {
|
|
|
5508
5521
|
filterResetMethod: VxeColumnPropTypes.FilterResetMethod<D>
|
|
5509
5522
|
filterRecoverMethod: VxeColumnPropTypes.FilterRecoverMethod<D>
|
|
5510
5523
|
filterRender: VxeColumnPropTypes.FilterRender
|
|
5524
|
+
floatingFilters: VxeColumnPropTypes.FloatingFilters
|
|
5511
5525
|
rowGroupNode: VxeColumnPropTypes.RowGroupNode
|
|
5512
5526
|
treeNode: VxeColumnPropTypes.TreeNode
|
|
5513
5527
|
dragSort: VxeColumnPropTypes.DragSort
|
|
@@ -5682,6 +5696,21 @@ export namespace VxeTableDefines {
|
|
|
5682
5696
|
getKey(): string
|
|
5683
5697
|
}
|
|
5684
5698
|
|
|
5699
|
+
export interface CellFloatingFilterParams<D = any> {
|
|
5700
|
+
$table: VxeTableConstructor<D>
|
|
5701
|
+
$grid: VxeGridConstructor | null | undefined
|
|
5702
|
+
$gantt: VxeGanttConstructor | null | undefined
|
|
5703
|
+
column: ColumnInfo<D>
|
|
5704
|
+
columnIndex: number
|
|
5705
|
+
$columnIndex: number
|
|
5706
|
+
_columnIndex: number
|
|
5707
|
+
fixed: VxeColumnPropTypes.Fixed
|
|
5708
|
+
type: string
|
|
5709
|
+
isHidden: boolean
|
|
5710
|
+
hasFilter: boolean
|
|
5711
|
+
option: VxeColumnPropTypes.FilterItem | null
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5685
5714
|
export interface CellRenderHeaderParams<D = any> {
|
|
5686
5715
|
$table: VxeTableConstructor<D>
|
|
5687
5716
|
$grid: VxeGridConstructor | null | undefined
|