vxe-pc-ui 4.16.28 → 4.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/all.esm.js +54 -14
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/date-picker/src/date-picker.js +6 -2
  5. package/es/date-range-picker/src/date-range-picker.js +6 -2
  6. package/es/icon/style.css +1 -1
  7. package/es/input/src/input.js +6 -2
  8. package/es/number-input/src/number-input.js +6 -2
  9. package/es/password-input/src/password-input.js +6 -2
  10. package/es/splitter/src/splitter-panel.js +16 -0
  11. package/es/style.css +1 -1
  12. package/es/style.min.css +1 -1
  13. package/es/textarea/src/textarea.js +6 -2
  14. package/es/ui/index.js +1 -1
  15. package/es/ui/src/log.js +1 -1
  16. package/lib/date-picker/src/date-picker.js +6 -1
  17. package/lib/date-picker/src/date-picker.min.js +1 -1
  18. package/lib/date-range-picker/src/date-range-picker.js +6 -1
  19. package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
  20. package/lib/icon/style/style.css +1 -1
  21. package/lib/icon/style/style.min.css +1 -1
  22. package/lib/index.umd.js +54 -8
  23. package/lib/index.umd.min.js +1 -1
  24. package/lib/input/src/input.js +6 -1
  25. package/lib/input/src/input.min.js +1 -1
  26. package/lib/number-input/src/number-input.js +6 -1
  27. package/lib/number-input/src/number-input.min.js +1 -1
  28. package/lib/password-input/src/password-input.js +6 -1
  29. package/lib/password-input/src/password-input.min.js +1 -1
  30. package/lib/splitter/src/splitter-panel.js +16 -0
  31. package/lib/splitter/src/splitter-panel.min.js +1 -1
  32. package/lib/style.css +1 -1
  33. package/lib/style.min.css +1 -1
  34. package/lib/textarea/src/textarea.js +6 -1
  35. package/lib/textarea/src/textarea.min.js +1 -1
  36. package/lib/ui/index.js +1 -1
  37. package/lib/ui/index.min.js +1 -1
  38. package/lib/ui/src/log.js +1 -1
  39. package/lib/ui/src/log.min.js +1 -1
  40. package/package.json +2 -2
  41. package/packages/date-picker/src/date-picker.ts +6 -2
  42. package/packages/date-range-picker/src/date-range-picker.ts +6 -2
  43. package/packages/input/src/input.ts +6 -2
  44. package/packages/number-input/src/number-input.ts +6 -2
  45. package/packages/password-input/src/password-input.ts +6 -2
  46. package/packages/splitter/src/splitter-panel.ts +18 -0
  47. package/packages/textarea/src/textarea.ts +6 -2
  48. package/types/components/date-picker.d.ts +2 -0
  49. package/types/components/date-range-picker.d.ts +2 -0
  50. package/types/components/input.d.ts +2 -0
  51. package/types/components/number-input.d.ts +2 -0
  52. package/types/components/password-input.d.ts +2 -0
  53. package/types/components/splitter-panel.d.ts +25 -0
  54. package/types/components/splitter.d.ts +8 -0
  55. package/types/components/table-module/edit.d.ts +37 -4
  56. package/types/components/table-plugins/extend-cell-area.d.ts +2 -2
  57. package/types/components/table.d.ts +9 -2
  58. package/types/components/textarea.d.ts +2 -0
  59. package/types/ui/renderer.d.ts +9 -3
  60. /package/es/icon/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
  61. /package/es/icon/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
  62. /package/es/icon/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
  63. /package/es/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
  64. /package/es/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
  65. /package/es/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
  66. /package/lib/icon/style/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
  67. /package/lib/icon/style/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
  68. /package/lib/icon/style/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
  69. /package/lib/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
  70. /package/lib/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
  71. /package/lib/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
@@ -20,6 +20,10 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
20
20
  props: {
21
21
  modelValue: [String, Number],
22
22
  className: String,
23
+ inputClassName: {
24
+ type: String,
25
+ default: () => (0, _ui.getConfig)().textarea.inputClassName
26
+ },
23
27
  immediate: {
24
28
  type: Boolean,
25
29
  default: true
@@ -340,6 +344,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
340
344
  const renderVN = () => {
341
345
  const {
342
346
  className,
347
+ inputClassName,
343
348
  resize,
344
349
  autosize,
345
350
  autoSize,
@@ -381,7 +386,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
381
386
  spellcheck: false
382
387
  }, [(0, _vue.h)('textarea', {
383
388
  ref: refTextarea,
384
- class: 'vxe-textarea--inner',
389
+ class: 'vxe-textarea--inner' + (inputClassName ? ' ' + inputClassName : ''),
385
390
  value: inputValue,
386
391
  name: props.name,
387
392
  placeholder: inpPlaceholder,
@@ -1 +1 @@
1
- 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"),_log=require("../../ui/src/log");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let warnLog=(0,_log.createComponentLog)("textarea").warnLog,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],trim:{type:Boolean,default:()=>(0,_ui.getConfig)().textarea.trim},rows:{type:[String,Number],default:null},cols:{type:[String,Number],default:null},showWordCount:Boolean,countMethod:Function,autosize:{type:[Boolean,Object],default:null},autoSize:{type:[Boolean,Object],default:null},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){let u=e.emit,l=(0,_vue.inject)("$xeForm",null),i=(0,_vue.inject)("xeFormItemInfo",null);var t=_xeUtils.default.uniqueId();let f=(0,_ui.useSize)(_).computeSize,h=(0,_vue.reactive)({inputValue:_.modelValue}),z=(0,_vue.ref)(),b=(0,_vue.ref)(),y=(0,_vue.ref)(),a={refElem:z,refTextarea:b},r={xID:t,props:_,context:e,reactData:h,getRefMaps:()=>a},o={},S=(0,_vue.computed)(()=>{var e=_.readonly;return null===e?!!l&&l.props.readonly:e}),w=(0,_vue.computed)(()=>{var e=_.disabled;return null===e?!!l&&l.props.disabled:e}),V=(0,_vue.computed)(()=>{var{editable:e,readonly:t}=_;return t||!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")}),C=(0,_vue.computed)(()=>{var{maxLength:e,maxlength:t}=_;return e||t}),N=(0,_vue.computed)(()=>_xeUtils.default.getSize(h.inputValue)),T=(0,_vue.computed)(()=>{var e=N.value,t=C.value;return t&&e>_xeUtils.default.toNumber(t)}),n=(0,_vue.computed)(()=>{var{autosize:e,autoSize:t}=_;return e||(0,_ui.getConfig)().textarea.autosize?Object.assign({minRows:1,maxRows:10},(0,_ui.getConfig)().textarea.autosize,e):Object.assign({minRows:1,maxRows:10},(0,_ui.getConfig)().textarea.autoSize,t)}),s=()=>{var e,{size:t,autosize:a,autoSize:u}=_,l=h.inputValue;(a||u)&&(a=S.value,(autoTxtElem=autoTxtElem||document.createElement("div")).parentNode||document.body.appendChild(autoTxtElem),u=b.value,e=y.value,a=a?e:u)&&(e=getComputedStyle(a),autoTxtElem.className=["vxe-textarea--autosize",t?"size--"+t:""].join(" "),autoTxtElem.style.width=a.clientWidth+"px",autoTxtElem.style.padding=e.padding,autoTxtElem.innerText=(""+(l||" ")).replace(/\n$/,"\n "))},d=()=>{var{autosize:e,autoSize:t}=_;(e||t)&&(0,_vue.nextTick)(()=>{var t=n.value,a=S.value,{minRows:t,maxRows:u}=t,l=b.value,i=y.value,a=a?i:l;if(a){var i=autoTxtElem.clientHeight,l=getComputedStyle(a),r=_xeUtils.default.toNumber(l.lineHeight),l=_xeUtils.default.toNumber(l.paddingTop)+_xeUtils.default.toNumber(l.paddingBottom)+_xeUtils.default.toNumber(l.borderTopWidth)+_xeUtils.default.toNumber(l.borderBottomWidth),i=(i-l)/r,i=i&&/[0-9]/.test(""+i)?i:Math.floor(i)+1;let e=i;i<t?e=t:u<i&&(e=u),a.style.height=e*r+l+"px"}})},U=e=>{var t=h.inputValue;r.dispatchEvent(e.type,{value:t},e)},v=(e,t)=>{_.trim&&(e=(""+(e||"")).trim()),h.inputValue=e,u("update:modelValue",e),_xeUtils.default.toValueString(_.modelValue)!==e&&(o.dispatchEvent("change",{value:e},t),l)&&i&&l.triggerItemEvent(t,i.itemConfig.field,e)},q=e=>{var t=_.immediate,a=e.target.value;h.inputValue=a,t?v(a,e):l&&i&&l.triggerItemEvent(e,i.itemConfig.field,a),r.dispatchEvent("input",{value:a},e),d()},B=e=>{var t=_.immediate;t?U(e):v(h.inputValue,e),r.dispatchEvent("lazy-change",{value:h.inputValue},e)},j=e=>{var t=_.immediate,a=h.inputValue;t||v(a,e),r.dispatchEvent("blur",{value:a},e)};o={dispatchEvent(e,t,a){u(e,(0,_ui.createEvent)(a,{$textarea:r},t))},focus(){return b.value.focus(),(0,_vue.nextTick)()},blur(){return b.value.blur(),(0,_vue.nextTick)()}},Object.assign(r,o);(0,_vue.watch)(()=>_.modelValue,e=>{h.inputValue=e,s()});let p=(0,_vue.ref)(0);return(0,_vue.watch)(S,()=>{p.value++}),(0,_vue.watch)(n,()=>{p.value++}),(0,_vue.watch)(()=>_.autoSize,()=>{p.value++}),(0,_vue.watch)(()=>_.autosize,()=>{p.value++}),(0,_vue.watch)(p,()=>{s(),d()}),(0,_vue.nextTick)(()=>{var{autosize:e,autoSize:t}=_;e&&warnLog("vxe.error.delProp",["autosize","auto-size"]),(e||t)&&(s(),d())}),r.renderVN=()=>{var{className:e,resize:t,autosize:a,autoSize:u,showWordCount:l,countMethod:i,rows:r,cols:o}=_,n=h.inputValue,s=f.value,d=w.value,v=T.value,p=N.value,m=V.value,c=S.value,x=E.value,g=C.value;return c?(0,_vue.h)("div",{ref:z,class:["vxe-textarea--readonly",e]},[(0,_vue.h)("div",{ref:y,class:"vxe-textarea--content"},n)]):(0,_vue.h)("div",{ref:z,class:["vxe-textarea",e,{["size--"+s]:s,"is--autosize":a||u,"is--count":l,"is--disabled":d,"is--rows":!_xeUtils.default.eqNull(r),"is--cols":!_xeUtils.default.eqNull(o)}],spellcheck:!1},[(0,_vue.h)("textarea",{ref:b,class:"vxe-textarea--inner",value:n,name:_.name,placeholder:x,maxlength:g,readonly:m,disabled:d,rows:r,cols:o,style:t?{resize:t}:null,onInput:q,onChange:B,onKeydown:U,onKeyup:U,onClick:U,onFocus:U,onBlur:j}),l?(0,_vue.h)("span",{class:["vxe-textarea--count",{"is--error":v}]},i?""+i({value:n}):p+(g?"/"+g:"")):null])},r},render(){return this.renderVN()}});
1
+ 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"),_log=require("../../ui/src/log");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let warnLog=(0,_log.createComponentLog)("textarea").warnLog,autoTxtElem;var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTextarea",props:{modelValue:[String,Number],className:String,inputClassName:{type:String,default:()=>(0,_ui.getConfig)().textarea.inputClassName},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],trim:{type:Boolean,default:()=>(0,_ui.getConfig)().textarea.trim},rows:{type:[String,Number],default:null},cols:{type:[String,Number],default:null},showWordCount:Boolean,countMethod:Function,autosize:{type:[Boolean,Object],default:null},autoSize:{type:[Boolean,Object],default:null},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(f,e){let u=e.emit,l=(0,_vue.inject)("$xeForm",null),i=(0,_vue.inject)("xeFormItemInfo",null);var t=_xeUtils.default.uniqueId();let h=(0,_ui.useSize)(f).computeSize,z=(0,_vue.reactive)({inputValue:f.modelValue}),y=(0,_vue.ref)(),b=(0,_vue.ref)(),S=(0,_vue.ref)(),a={refElem:y,refTextarea:b},r={xID:t,props:f,context:e,reactData:z,getRefMaps:()=>a},o={},w=(0,_vue.computed)(()=>{var e=f.readonly;return null===e?!!l&&l.props.readonly:e}),C=(0,_vue.computed)(()=>{var e=f.disabled;return null===e?!!l&&l.props.disabled:e}),N=(0,_vue.computed)(()=>{var{editable:e,readonly:t}=f;return t||!e}),V=(0,_vue.computed)(()=>{var e=f.placeholder;return(e=e||(0,_ui.getConfig)().textarea.placeholder)?(0,_utils.getFuncText)(e):(0,_ui.getI18n)("vxe.base.pleaseInput")}),E=(0,_vue.computed)(()=>{var{maxLength:e,maxlength:t}=f;return e||t}),T=(0,_vue.computed)(()=>_xeUtils.default.getSize(z.inputValue)),U=(0,_vue.computed)(()=>{var e=T.value,t=E.value;return t&&e>_xeUtils.default.toNumber(t)}),n=(0,_vue.computed)(()=>{var{autosize:e,autoSize:t}=f;return e||(0,_ui.getConfig)().textarea.autosize?Object.assign({minRows:1,maxRows:10},(0,_ui.getConfig)().textarea.autosize,e):Object.assign({minRows:1,maxRows:10},(0,_ui.getConfig)().textarea.autoSize,t)}),s=()=>{var e,{size:t,autosize:a,autoSize:u}=f,l=z.inputValue;(a||u)&&(a=w.value,(autoTxtElem=autoTxtElem||document.createElement("div")).parentNode||document.body.appendChild(autoTxtElem),u=b.value,e=S.value,a=a?e:u)&&(e=getComputedStyle(a),autoTxtElem.className=["vxe-textarea--autosize",t?"size--"+t:""].join(" "),autoTxtElem.style.width=a.clientWidth+"px",autoTxtElem.style.padding=e.padding,autoTxtElem.innerText=(""+(l||" ")).replace(/\n$/,"\n "))},d=()=>{var{autosize:e,autoSize:t}=f;(e||t)&&(0,_vue.nextTick)(()=>{var t=n.value,a=w.value,{minRows:t,maxRows:u}=t,l=b.value,i=S.value,a=a?i:l;if(a){var i=autoTxtElem.clientHeight,l=getComputedStyle(a),r=_xeUtils.default.toNumber(l.lineHeight),l=_xeUtils.default.toNumber(l.paddingTop)+_xeUtils.default.toNumber(l.paddingBottom)+_xeUtils.default.toNumber(l.borderTopWidth)+_xeUtils.default.toNumber(l.borderBottomWidth),i=(i-l)/r,i=i&&/[0-9]/.test(""+i)?i:Math.floor(i)+1;let e=i;i<t?e=t:u<i&&(e=u),a.style.height=e*r+l+"px"}})},q=e=>{var t=z.inputValue;r.dispatchEvent(e.type,{value:t},e)},v=(e,t)=>{f.trim&&(e=(""+(e||"")).trim()),z.inputValue=e,u("update:modelValue",e),_xeUtils.default.toValueString(f.modelValue)!==e&&(o.dispatchEvent("change",{value:e},t),l)&&i&&l.triggerItemEvent(t,i.itemConfig.field,e)},B=e=>{var t=f.immediate,a=e.target.value;z.inputValue=a,t?v(a,e):l&&i&&l.triggerItemEvent(e,i.itemConfig.field,a),r.dispatchEvent("input",{value:a},e),d()},j=e=>{var t=f.immediate;t?q(e):v(z.inputValue,e),r.dispatchEvent("lazy-change",{value:z.inputValue},e)},k=e=>{var t=f.immediate,a=z.inputValue;t||v(a,e),r.dispatchEvent("blur",{value:a},e)};o={dispatchEvent(e,t,a){u(e,(0,_ui.createEvent)(a,{$textarea:r},t))},focus(){return b.value.focus(),(0,_vue.nextTick)()},blur(){return b.value.blur(),(0,_vue.nextTick)()}},Object.assign(r,o);(0,_vue.watch)(()=>f.modelValue,e=>{z.inputValue=e,s()});let p=(0,_vue.ref)(0);return(0,_vue.watch)(w,()=>{p.value++}),(0,_vue.watch)(n,()=>{p.value++}),(0,_vue.watch)(()=>f.autoSize,()=>{p.value++}),(0,_vue.watch)(()=>f.autosize,()=>{p.value++}),(0,_vue.watch)(p,()=>{s(),d()}),(0,_vue.nextTick)(()=>{var{autosize:e,autoSize:t}=f;e&&warnLog("vxe.error.delProp",["autosize","auto-size"]),(e||t)&&(s(),d())}),r.renderVN=()=>{var{className:e,inputClassName:t,resize:a,autosize:u,autoSize:l,showWordCount:i,countMethod:r,rows:o,cols:n}=f,s=z.inputValue,d=h.value,v=C.value,p=U.value,m=T.value,c=N.value,x=w.value,g=V.value,_=E.value;return x?(0,_vue.h)("div",{ref:y,class:["vxe-textarea--readonly",e]},[(0,_vue.h)("div",{ref:S,class:"vxe-textarea--content"},s)]):(0,_vue.h)("div",{ref:y,class:["vxe-textarea",e,{["size--"+d]:d,"is--autosize":u||l,"is--count":i,"is--disabled":v,"is--rows":!_xeUtils.default.eqNull(o),"is--cols":!_xeUtils.default.eqNull(n)}],spellcheck:!1},[(0,_vue.h)("textarea",{ref:b,class:"vxe-textarea--inner"+(t?" "+t:""),value:s,name:f.name,placeholder:g,maxlength:_,readonly:c,disabled:v,rows:o,cols:n,style:a?{resize:a}:null,onInput:B,onChange:j,onKeydown:q,onKeyup:q,onClick:q,onFocus:q,onBlur:k}),i?(0,_vue.h)("span",{class:["vxe-textarea--count",{"is--error":p}]},r?""+r({value:s}):m+(_?"/"+_:"")):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.16.28";
29
+ const version = exports.version = "4.17.1";
30
30
  _core.VxeUI.uiVersion = version;
31
31
  _core.VxeUI.dynamicApp = _dynamics.dynamicApp;
32
32
  function config(options) {
@@ -1 +1 @@
1
- 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");let version=exports.version="4.16.28";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:{},backtop:{showIcon:!0,showContent:!0,showTop:!0,showBottom:!0,shadow:!0,threshold:20},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0},showDropdownIcon:!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:{},cascader:{showFullLabel:!0,treeConfig:{showIcon:!0},filterConfig:{autoExpandMode:"first"}},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},contextMenu:{autoLocate:!0},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:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),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"],popupConfig:{}},image:{draggable:null,showPreview:!0,showPrintButton:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0,maskClosable:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{backtopConfig:{}},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{rowConfig:{contentField:"label"},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},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:{},segmented:{},select:{emptyValue:null,multiCharOverflow:8,radioConfig:{showIcon:!0,trigger:"option"},checkboxConfig:{showIcon:!0,trigger:"option"},remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0},actionConfig:{autoHideButton:!0}},splitterPanel:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tableTransfer:{},tabs:{},tag:{},textEllipsis:{underline:!0},text:{copyConfig:{showMessage:!0}},textarea:{resize:"none"},timeline:{},timelineItem:{},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},transfer:{},tree:{indent:20,minHeight:60,showOverflow:!0,radioConfig:{strict:!0},tooltipConfig:{mode:"tooltip",enterable:!0,leaveDelay:300,defaultPlacement:"top"},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{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,previewImageConfig:{}},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});let 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-right rotate90",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-right",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_DRAG:iconPrefix+"drag-handle",TREE_DRAG_STATUS_NODE:iconPrefix+"sort",TREE_DRAG_STATUS_SUB_NODE:iconPrefix+"add-sub",TREE_DRAG_DISABLED:iconPrefix+"no-drop",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",TAG_CLOSE:iconPrefix+"close",TAG_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right",BACKTOP_TOP:iconPrefix+"top",CONTEXT_MENU_OPTION_LOADING:iconPrefix+"spinner roll",CONTEXT_MENU_CHILDREN:iconPrefix+"arrow-right",CASCADER_NODE_OPEN:iconPrefix+"arrow-right",CASCADER_NODE_CLOSE:iconPrefix+"arrow-right",CASCADER_NODE_LOADED:iconPrefix+"spinner roll",LIST_DRAG:iconPrefix+"drag-handle",LIST_DRAG_STATUS_NODE:iconPrefix+"sort",LIST_DRAG_DISABLED:iconPrefix+"no-drop"});var _default=exports.default=_core.VxeUI;
1
+ 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");let version=exports.version="4.17.1";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:{},backtop:{showIcon:!0,showContent:!0,showTop:!0,showBottom:!0,shadow:!0,threshold:20},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0},showDropdownIcon:!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:{},cascader:{showFullLabel:!0,treeConfig:{showIcon:!0},filterConfig:{autoExpandMode:"first"}},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},contextMenu:{autoLocate:!0},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:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),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"],popupConfig:{}},image:{draggable:null,showPreview:!0,showPrintButton:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0,maskClosable:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{backtopConfig:{}},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{rowConfig:{contentField:"label"},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},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:{},segmented:{},select:{emptyValue:null,multiCharOverflow:8,radioConfig:{showIcon:!0,trigger:"option"},checkboxConfig:{showIcon:!0,trigger:"option"},remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0},actionConfig:{autoHideButton:!0}},splitterPanel:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tableTransfer:{},tabs:{},tag:{},textEllipsis:{underline:!0},text:{copyConfig:{showMessage:!0}},textarea:{resize:"none"},timeline:{},timelineItem:{},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},transfer:{},tree:{indent:20,minHeight:60,showOverflow:!0,radioConfig:{strict:!0},tooltipConfig:{mode:"tooltip",enterable:!0,leaveDelay:300,defaultPlacement:"top"},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{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,previewImageConfig:{}},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});let 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-right rotate90",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-right",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_DRAG:iconPrefix+"drag-handle",TREE_DRAG_STATUS_NODE:iconPrefix+"sort",TREE_DRAG_STATUS_SUB_NODE:iconPrefix+"add-sub",TREE_DRAG_DISABLED:iconPrefix+"no-drop",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",TAG_CLOSE:iconPrefix+"close",TAG_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right",BACKTOP_TOP:iconPrefix+"top",CONTEXT_MENU_OPTION_LOADING:iconPrefix+"spinner roll",CONTEXT_MENU_CHILDREN:iconPrefix+"arrow-right",CASCADER_NODE_OPEN:iconPrefix+"arrow-right",CASCADER_NODE_CLOSE:iconPrefix+"arrow-right",CASCADER_NODE_LOADED:iconPrefix+"spinner roll",LIST_DRAG:iconPrefix+"drag-handle",LIST_DRAG_STATUS_NODE:iconPrefix+"sort",LIST_DRAG_DISABLED:iconPrefix+"no-drop"});var _default=exports.default=_core.VxeUI;
package/lib/ui/src/log.js CHANGED
@@ -9,7 +9,7 @@ var _core = require("@vxe-ui/core");
9
9
  const {
10
10
  log
11
11
  } = _core.VxeUI;
12
- const uiVersion = `ui v${"4.16.28"}`;
12
+ const uiVersion = `ui v${"4.17.1"}`;
13
13
  function createComponentLog(name) {
14
14
  const tableVersion = _core.VxeUI.tableVersion ? `table v${_core.VxeUI.tableVersion}` : '';
15
15
  const ganttVersion = _core.VxeUI.ganttVersion ? `gantt v${_core.VxeUI.ganttVersion}` : '';
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComponentLog=createComponentLog,exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,uiVersion="ui v4.16.28";function createComponentLog(e){var r=_core.VxeUI.tableVersion?"table v"+_core.VxeUI.tableVersion:"",o=_core.VxeUI.ganttVersion?"gantt v"+_core.VxeUI.ganttVersion:"",n=_core.VxeUI.designVersion?"design v"+_core.VxeUI.designVersion:"",r=[uiVersion,r,o,n].filter(e=>e).join(" ");return{warnLog:log.create("warn",r+"] ["+e),errLog:log.create("error",r+"] ["+e)}}let warnLog=exports.warnLog=log.create("warn",uiVersion),errLog=exports.errLog=log.create("error",uiVersion);
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComponentLog=createComponentLog,exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,uiVersion="ui v4.17.1";function createComponentLog(e){var r=_core.VxeUI.tableVersion?"table v"+_core.VxeUI.tableVersion:"",o=_core.VxeUI.ganttVersion?"gantt v"+_core.VxeUI.ganttVersion:"",n=_core.VxeUI.designVersion?"design v"+_core.VxeUI.designVersion:"",r=[uiVersion,r,o,n].filter(e=>e).join(" ");return{warnLog:log.create("warn",r+"] ["+e),errLog:log.create("error",r+"] ["+e)}}let warnLog=exports.warnLog=log.create("warn",uiVersion),errLog=exports.errLog=log.create("error",uiVersion);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-pc-ui",
3
- "version": "4.16.28",
3
+ "version": "4.17.1",
4
4
  "description": "A vue based PC component library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -27,7 +27,7 @@
27
27
  "style": "lib/style.css",
28
28
  "typings": "types/index.d.ts",
29
29
  "dependencies": {
30
- "@vxe-ui/core": "^4.4.19"
30
+ "@vxe-ui/core": "^4.4.20"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@rollup/plugin-commonjs": "^29.0.0",
@@ -79,6 +79,10 @@ export default defineVxeComponent({
79
79
  },
80
80
  form: String as PropType<VxeDatePickerPropTypes.Form>,
81
81
  className: String as PropType<VxeDatePickerPropTypes.ClassName>,
82
+ inputClassName: {
83
+ type: String as PropType<VxeDatePickerPropTypes.InputClassName>,
84
+ default: () => getConfig().datePicker.inputClassName
85
+ },
82
86
  zIndex: Number as PropType<VxeDatePickerPropTypes.ZIndex>,
83
87
  size: {
84
88
  type: String as PropType<VxeDatePickerPropTypes.Size>,
@@ -1608,7 +1612,7 @@ export default defineVxeComponent({
1608
1612
  }
1609
1613
 
1610
1614
  const renderVN = () => {
1611
- const { className, type, name, autoComplete } = props
1615
+ const { className, inputClassName, type, name, autoComplete } = props
1612
1616
  const { inputValue, visiblePanel, isActivated, labelFlag } = reactData
1613
1617
  const { inputLabel } = internalData
1614
1618
  const vSize = computeSize.value
@@ -1645,7 +1649,7 @@ export default defineVxeComponent({
1645
1649
  }, [
1646
1650
  h('input', {
1647
1651
  ref: refInputTarget,
1648
- class: 'vxe-date-picker--inner',
1652
+ class: 'vxe-date-picker--inner' + (inputClassName ? (' ' + inputClassName) : ''),
1649
1653
  value: labelFlag ? inputLabel : '',
1650
1654
  name,
1651
1655
  type: 'text',
@@ -77,6 +77,10 @@ export default defineVxeComponent({
77
77
  },
78
78
  form: String as PropType<VxeDateRangePickerPropTypes.Form>,
79
79
  className: String as PropType<VxeDateRangePickerPropTypes.ClassName>,
80
+ inputClassName: {
81
+ type: String as PropType<VxeDateRangePickerPropTypes.InputClassName>,
82
+ default: () => getConfig().dateRangePicker.inputClassName
83
+ },
80
84
  zIndex: Number as PropType<VxeDateRangePickerPropTypes.ZIndex>,
81
85
  size: {
82
86
  type: String as PropType<VxeDateRangePickerPropTypes.Size>,
@@ -1485,7 +1489,7 @@ export default defineVxeComponent({
1485
1489
  }
1486
1490
 
1487
1491
  const renderVN = () => {
1488
- const { className, type, name, autoComplete } = props
1492
+ const { className, inputClassName, type, name, autoComplete } = props
1489
1493
  const { selectStValue, selectEdValue, visiblePanel, isActivated } = reactData
1490
1494
  const vSize = computeSize.value
1491
1495
  const isDisabled = computeIsDisabled.value
@@ -1520,7 +1524,7 @@ export default defineVxeComponent({
1520
1524
  }, [
1521
1525
  h('input', {
1522
1526
  ref: refInputTarget,
1523
- class: 'vxe-date-range-picker--inner',
1527
+ class: 'vxe-date-range-picker--inner' + (inputClassName ? (' ' + inputClassName) : ''),
1524
1528
  value: inputLabel,
1525
1529
  name,
1526
1530
  type: 'text',
@@ -59,6 +59,10 @@ export default defineVxeComponent({
59
59
  align: String as PropType<VxeInputPropTypes.Align>,
60
60
  form: String as PropType<VxeInputPropTypes.Form>,
61
61
  className: String as PropType<VxeInputPropTypes.ClassName>,
62
+ inputClassName: {
63
+ type: String as PropType<VxeInputPropTypes.InputClassName>,
64
+ default: () => getConfig().input.inputClassName
65
+ },
62
66
  size: {
63
67
  type: String as PropType<VxeInputPropTypes.Size>,
64
68
  default: () => getConfig().input.size || getConfig().size
@@ -2648,7 +2652,7 @@ export default defineVxeComponent({
2648
2652
  Object.assign($xeInput, inputMethods)
2649
2653
 
2650
2654
  const renderVN = () => {
2651
- const { className, controls, type, title, align, showWordCount, countMethod, name, autoComplete, autocomplete } = props
2655
+ const { className, inputClassName, controls, type, title, align, showWordCount, countMethod, name, autoComplete, autocomplete } = props
2652
2656
  const { inputValue, visiblePanel, isActivated } = reactData
2653
2657
  const vSize = computeSize.value
2654
2658
  const isDisabled = computeIsDisabled.value
@@ -2692,7 +2696,7 @@ export default defineVxeComponent({
2692
2696
  }, [
2693
2697
  h('input', {
2694
2698
  ref: refInputTarget,
2695
- class: 'vxe-input--inner',
2699
+ class: 'vxe-input--inner' + (inputClassName ? (' ' + inputClassName) : ''),
2696
2700
  value: inputValue,
2697
2701
  name,
2698
2702
  type: inputType,
@@ -46,6 +46,10 @@ export default defineVxeComponent({
46
46
  align: String as PropType<VxeNumberInputPropTypes.Align>,
47
47
  form: String as PropType<VxeNumberInputPropTypes.Form>,
48
48
  className: String as PropType<VxeNumberInputPropTypes.ClassName>,
49
+ inputClassName: {
50
+ type: String as PropType<VxeNumberInputPropTypes.InputClassName>,
51
+ default: () => getConfig().numberInput.inputClassName
52
+ },
49
53
  size: {
50
54
  type: String as PropType<VxeNumberInputPropTypes.Size>,
51
55
  default: () => getConfig().numberInput.size || getConfig().size
@@ -915,7 +919,7 @@ export default defineVxeComponent({
915
919
  }
916
920
 
917
921
  const renderInput = () => {
918
- const { type, name, autocomplete, autoComplete } = props
922
+ const { inputClassName, type, name, autocomplete, autoComplete } = props
919
923
  const { inputValue, isFocus } = reactData
920
924
  const isDisabled = computeIsDisabled.value
921
925
  const numLabel = computeNumLabel.value
@@ -932,7 +936,7 @@ export default defineVxeComponent({
932
936
  }, [
933
937
  h('input', {
934
938
  ref: refInputTarget,
935
- class: 'vxe-number-input--input',
939
+ class: 'vxe-number-input--input' + (inputClassName ? (' ' + inputClassName) : ''),
936
940
  value: !isFocus && type === 'amount' ? numLabel : inputValue,
937
941
  name,
938
942
  type: 'text',
@@ -29,6 +29,10 @@ export default defineVxeComponent({
29
29
  default: 'off'
30
30
  },
31
31
  className: String as PropType<VxePasswordInputPropTypes.ClassName>,
32
+ inputClassName: {
33
+ type: String as PropType<VxePasswordInputPropTypes.InputClassName>,
34
+ default: () => getConfig().passwordInput.inputClassName
35
+ },
32
36
  size: {
33
37
  type: String as PropType<VxePasswordInputPropTypes.Size>,
34
38
  default: () => getConfig().passwordInput.size || getConfig().size
@@ -321,7 +325,7 @@ export default defineVxeComponent({
321
325
  })
322
326
 
323
327
  const renderVN = () => {
324
- const { className, name, disabled, readonly, autocomplete, autoComplete, maxLength } = props
328
+ const { className, inputClassName, name, disabled, readonly, autocomplete, autoComplete, maxLength } = props
325
329
  const { inputValue, isActivated } = reactData
326
330
  const vSize = computeSize.value
327
331
  const inpReadonly = computeInpReadonly.value
@@ -349,7 +353,7 @@ export default defineVxeComponent({
349
353
  }, [
350
354
  h('input', {
351
355
  ref: refInputTarget,
352
- class: 'vxe-password-input--inner',
356
+ class: 'vxe-password-input--inner' + (inputClassName ? (' ' + inputClassName) : ''),
353
357
  value: inputValue,
354
358
  name,
355
359
  type: inputType,
@@ -20,6 +20,14 @@ export default defineVxeComponent({
20
20
  type: [Number, String] as PropType<VxeSplitterPanelPropTypes.MinHeight>,
21
21
  default: () => null
22
22
  },
23
+ maxWidth: {
24
+ type: [Number, String] as PropType<VxeSplitterPanelPropTypes.MaxWidth>,
25
+ default: () => null
26
+ },
27
+ maxHeight: {
28
+ type: [Number, String] as PropType<VxeSplitterPanelPropTypes.MaxHeight>,
29
+ default: () => null
30
+ },
23
31
 
24
32
  // 已废弃
25
33
  showAction: Boolean as PropType<VxeSplitterPanelPropTypes.ShowAction>
@@ -42,6 +50,8 @@ export default defineVxeComponent({
42
50
  height: props.height,
43
51
  minWidth: props.minWidth,
44
52
  minHeight: props.minHeight,
53
+ maxWidth: props.maxWidth,
54
+ maxHeight: props.maxHeight,
45
55
  showAction: props.showAction,
46
56
  isExpand: true,
47
57
  renderWidth: 0,
@@ -116,6 +126,14 @@ export default defineVxeComponent({
116
126
  paneConfig.minHeight = val
117
127
  })
118
128
 
129
+ watch(() => props.maxWidth, (val) => {
130
+ paneConfig.maxWidth = val
131
+ })
132
+
133
+ watch(() => props.maxHeight, (val) => {
134
+ paneConfig.maxHeight = val
135
+ })
136
+
119
137
  watch(() => props.showAction, (val) => {
120
138
  paneConfig.showAction = val
121
139
  })
@@ -16,6 +16,10 @@ export default defineVxeComponent({
16
16
  props: {
17
17
  modelValue: [String, Number] as PropType<VxeTextareaPropTypes.ModelValue>,
18
18
  className: String as PropType<VxeTextareaPropTypes.ClassName>,
19
+ inputClassName: {
20
+ type: String as PropType<VxeTextareaPropTypes.InputClassName>,
21
+ default: () => getConfig().textarea.inputClassName
22
+ },
19
23
  immediate: {
20
24
  type: Boolean as PropType<VxeTextareaPropTypes.Immediate>,
21
25
  default: true
@@ -314,7 +318,7 @@ export default defineVxeComponent({
314
318
  Object.assign($xeTextarea, textareaMethods)
315
319
 
316
320
  const renderVN = () => {
317
- const { className, resize, autosize, autoSize, showWordCount, countMethod, rows, cols } = props
321
+ const { className, inputClassName, resize, autosize, autoSize, showWordCount, countMethod, rows, cols } = props
318
322
  const { inputValue } = reactData
319
323
  const vSize = computeSize.value
320
324
  const isDisabled = computeIsDisabled.value
@@ -349,7 +353,7 @@ export default defineVxeComponent({
349
353
  }, [
350
354
  h('textarea', {
351
355
  ref: refTextarea,
352
- class: 'vxe-textarea--inner',
356
+ class: 'vxe-textarea--inner' + (inputClassName ? (' ' + inputClassName) : ''),
353
357
  value: inputValue,
354
358
  name: props.name,
355
359
  placeholder: inpPlaceholder,
@@ -30,6 +30,7 @@ export namespace VxeDatePickerPropTypes {
30
30
  export type Size = VxeComponentSizeType
31
31
  export type ModelValue = string | number | Date | null
32
32
  export type ClassName = string
33
+ export type InputClassName = string
33
34
  export type Immediate = boolean
34
35
  export type Name = string
35
36
  export type Type = VxeDatePanelPropTypes.Type
@@ -148,6 +149,7 @@ export interface VxeDatePickerProps {
148
149
  size?: VxeDatePickerPropTypes.Size
149
150
  modelValue?: VxeDatePickerPropTypes.ModelValue
150
151
  className?: VxeDatePickerPropTypes.ClassName
152
+ inputClassName?: VxeDatePickerPropTypes.InputClassName
151
153
  immediate?: VxeDatePickerPropTypes.Immediate
152
154
  name?: VxeDatePickerPropTypes.Name
153
155
  type?: VxeDatePickerPropTypes.Type
@@ -32,6 +32,7 @@ export namespace VxeDateRangePickerPropTypes {
32
32
  export type StartValue = string | number | Date | null
33
33
  export type EndValue = string | number | Date | null
34
34
  export type ClassName = string
35
+ export type InputClassName = string
35
36
  export type Immediate = boolean
36
37
  export type Name = string
37
38
  export type Type = VxeDatePanelPropTypes.Type
@@ -133,6 +134,7 @@ export interface VxeDateRangePickerProps {
133
134
  startValue?: VxeDateRangePickerPropTypes.StartValue
134
135
  endValue?: VxeDateRangePickerPropTypes.EndValue
135
136
  className?: VxeDateRangePickerPropTypes.ClassName
137
+ inputClassName?: VxeDateRangePickerPropTypes.InputClassName
136
138
  immediate?: VxeDateRangePickerPropTypes.Immediate
137
139
  name?: VxeDateRangePickerPropTypes.Name
138
140
  type?: VxeDateRangePickerPropTypes.Type
@@ -27,6 +27,7 @@ export namespace VxeInputPropTypes {
27
27
  export type Size = VxeComponentSizeType
28
28
  export type ModelValue = string | number | Date | undefined | null
29
29
  export type ClassName = string
30
+ export type InputClassName = string
30
31
  export type Immediate = boolean
31
32
  export type Name = string
32
33
  export type Title = string
@@ -94,6 +95,7 @@ export interface VxeInputProps {
94
95
  size?: VxeInputPropTypes.Size
95
96
  modelValue?: VxeInputPropTypes.ModelValue
96
97
  className?: VxeInputPropTypes.ClassName
98
+ inputClassName?: VxeInputPropTypes.InputClassName
97
99
  immediate?: VxeInputPropTypes.Immediate
98
100
  name?: VxeInputPropTypes.Name
99
101
  title?: VxeInputPropTypes.Title
@@ -26,6 +26,7 @@ export namespace VxeNumberInputPropTypes {
26
26
  export type Size = VxeComponentSizeType
27
27
  export type ModelValue = string | number | null
28
28
  export type ClassName = string
29
+ export type InputClassName = string
29
30
  export type Immediate = boolean
30
31
  export type Name = string
31
32
  export type Type = 'number' | 'integer' | 'float' | 'amount'
@@ -112,6 +113,7 @@ export interface VxeNumberInputProps {
112
113
  size?: VxeNumberInputPropTypes.Size
113
114
  modelValue?: VxeNumberInputPropTypes.ModelValue
114
115
  className?: VxeNumberInputPropTypes.ClassName
116
+ inputClassName?: VxeNumberInputPropTypes.InputClassName
115
117
  immediate?: VxeNumberInputPropTypes.Immediate
116
118
  name?: VxeNumberInputPropTypes.Name
117
119
  type?: VxeNumberInputPropTypes.Type
@@ -27,6 +27,7 @@ export namespace VxePasswordInputPropTypes {
27
27
  export type ModelValue = string | null
28
28
  export type Immediate = boolean
29
29
  export type ClassName = string
30
+ export type InputClassName = string
30
31
  export type Name = string
31
32
  export type Clearable = boolean
32
33
  export type Readonly = boolean
@@ -49,6 +50,7 @@ export interface VxePasswordInputProps {
49
50
  modelValue?: VxePasswordInputPropTypes.ModelValue
50
51
  immediate?: VxePasswordInputPropTypes.Immediate
51
52
  className?: VxePasswordInputPropTypes.ClassName
53
+ inputClassName?: VxePasswordInputPropTypes.InputClassName
52
54
  name?: VxePasswordInputPropTypes.Name
53
55
  clearable?: VxePasswordInputPropTypes.Clearable
54
56
  readonly?: VxePasswordInputPropTypes.Readonly
@@ -28,6 +28,8 @@ export namespace VxeSplitterPanelPropTypes {
28
28
  export type Height = string | number
29
29
  export type MinWidth = string | number
30
30
  export type MinHeight = string | number
31
+ export type MaxWidth = string | number
32
+ export type MaxHeight = string | number
31
33
 
32
34
  /**
33
35
  * 已废弃
@@ -37,12 +39,35 @@ export namespace VxeSplitterPanelPropTypes {
37
39
  }
38
40
 
39
41
  export interface VxeSplitterPanelProps {
42
+ /**
43
+ * 面板唯一标识
44
+ */
40
45
  name?: VxeSplitterPanelPropTypes.Name
46
+ /**
47
+ * 用于左右布局,面板宽度
48
+ */
41
49
  width?: VxeSplitterPanelPropTypes.Width
50
+ /**
51
+ * 用于上下布局,面板高度
52
+ */
42
53
  height?: VxeSplitterPanelPropTypes.Height
54
+ /**
55
+ * 用于左右布局,面板最小宽度
56
+ */
43
57
  minWidth?: VxeSplitterPanelPropTypes.MinWidth
58
+ /**
59
+ * 用于上下布局,面板最小高度
60
+ */
44
61
  minHeight?: VxeSplitterPanelPropTypes.MinHeight
62
+ maxWidth?: VxeSplitterPanelPropTypes.MaxWidth
63
+ maxHeight?: VxeSplitterPanelPropTypes.MaxHeight
64
+ /**
65
+ * 自定义插槽模板
66
+ */
45
67
  slots?: {
68
+ /**
69
+ * 自定义面板内容插槽模板
70
+ */
46
71
  default?: string | ((params: VxeSplitterPanelSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
47
72
  }
48
73
 
@@ -33,8 +33,16 @@ export namespace VxeSplitterPropTypes {
33
33
  export type Resize = boolean
34
34
  export type Items = VxeSplitterPanelProps[]
35
35
  export interface ItemConfig {
36
+ /**
37
+ * 用于左右布局,面板最小宽度
38
+ */
36
39
  minWidth?: string | number
40
+ /**
41
+ * 用于上下布局,面板最小高度
42
+ */
37
43
  minHeight?: string | number
44
+ maxWidth?: string | number
45
+ maxHeight?: string | number
38
46
  }
39
47
  export interface BarConfig {
40
48
  width?: string | number
@@ -1,4 +1,4 @@
1
- import { VxeTableDefines } from '../table'
1
+ import { VxeTableConstructor, VxeTableDefines } from '../table'
2
2
 
3
3
  /* eslint-disable no-use-before-define */
4
4
 
@@ -206,7 +206,17 @@ export interface TableEditPrivateMethods<D = any> {
206
206
  /**
207
207
  * @private
208
208
  */
209
- handleEdit(params: any, evnt: any, options?: {
209
+ handleEdit(params: {
210
+ $table: VxeTableConstructor<D>
211
+ column: VxeTableDefines.ColumnInfo<D>
212
+ columnIndex: number
213
+ _columnIndex: number
214
+ $columnIndex: number
215
+ row: D
216
+ rowIndex: number
217
+ $rowIndex: number
218
+ _rowIndex: number
219
+ }, evnt: any, options?: {
210
220
  isClear?: boolean
211
221
  }): Promise<any>
212
222
  /**
@@ -216,11 +226,34 @@ export interface TableEditPrivateMethods<D = any> {
216
226
  /**
217
227
  * @private
218
228
  */
219
- handleFocus(params: any, evnt?: any): void
229
+ handleCellFocus(cell: HTMLElement, params: {
230
+ $table: VxeTableConstructor<D>
231
+ column: VxeTableDefines.ColumnInfo<D>
232
+ row: D
233
+ }): HTMLInputElement | null
234
+ /**
235
+ * @private
236
+ */
237
+ handleFocus(params: {
238
+ $table: VxeTableConstructor<D>
239
+ column: VxeTableDefines.ColumnInfo<D>
240
+ row: D
241
+ cell: HTMLElement
242
+ }, evnt?: Event | null): void
220
243
  /**
221
244
  * @private
222
245
  */
223
- handleSelected(params: any, evnt: any): Promise<any>
246
+ handleSelected(params: {
247
+ $table: VxeTableConstructor<D>
248
+ column: VxeTableDefines.ColumnInfo<D>
249
+ columnIndex: number
250
+ _columnIndex: number
251
+ $columnIndex: number
252
+ row: D
253
+ rowIndex: number
254
+ $rowIndex: number
255
+ _rowIndex: number
256
+ }, evnt: Event | null): Promise<any>
224
257
  /**
225
258
  * @private
226
259
  */
@@ -83,7 +83,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
83
83
  * 内部方法
84
84
  * @private
85
85
  */
86
- handleKeyboardCellAreaEvent(evnt: KeyboardEvent): void
86
+ handleKdClAreaEvent(evnt: KeyboardEvent): void
87
87
  /**
88
88
  * 内部方法
89
89
  * @private
@@ -93,7 +93,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
93
93
  * 内部方法
94
94
  * @private
95
95
  */
96
- triggerCelllAreaMnEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
96
+ triggerClAreaMnEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
97
97
  /**
98
98
  * 内部方法
99
99
  * @private