vxe-pc-ui 3.16.28 → 3.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.
- package/es/date-picker/src/date-picker.js +6 -2
- package/es/date-range-picker/src/date-range-picker.js +6 -2
- package/es/icon/style.css +1 -1
- package/es/input/src/input.js +6 -2
- package/es/number-input/src/number-input.js +6 -2
- package/es/password-input/src/password-input.js +6 -2
- package/es/splitter/src/splitter-panel.js +22 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/textarea/src/textarea.js +6 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/date-picker/src/date-picker.js +8 -1
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +8 -1
- package/lib/date-range-picker/src/date-range-picker.min.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 +77 -9
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +8 -1
- package/lib/input/src/input.min.js +1 -1
- package/lib/number-input/src/number-input.js +9 -2
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +8 -1
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/splitter/src/splitter-panel.js +26 -0
- package/lib/splitter/src/splitter-panel.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/textarea/src/textarea.js +8 -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 +2 -2
- package/packages/date-picker/src/date-picker.ts +6 -2
- package/packages/date-range-picker/src/date-range-picker.ts +6 -2
- package/packages/input/src/input.ts +6 -2
- package/packages/number-input/src/number-input.ts +6 -2
- package/packages/password-input/src/password-input.ts +6 -2
- package/packages/splitter/src/splitter-panel.ts +24 -0
- package/packages/textarea/src/textarea.ts +6 -2
- package/types/components/date-picker.d.ts +2 -0
- package/types/components/date-range-picker.d.ts +2 -0
- package/types/components/input.d.ts +2 -0
- package/types/components/number-input.d.ts +2 -0
- package/types/components/password-input.d.ts +2 -0
- package/types/components/splitter-panel.d.ts +25 -0
- package/types/components/splitter.d.ts +8 -0
- package/types/components/table-module/edit.d.ts +37 -4
- package/types/components/table-plugins/extend-cell-area.d.ts +2 -2
- package/types/components/table.d.ts +9 -2
- package/types/components/textarea.d.ts +2 -0
- package/types/ui/renderer.d.ts +9 -3
- /package/es/icon/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
- /package/es/icon/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
- /package/es/icon/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
- /package/es/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
- /package/es/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
- /package/es/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
- /package/lib/icon/style/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
- /package/lib/{iconfont.1786584290899.ttf → iconfont.1786796103854.ttf} +0 -0
- /package/lib/{iconfont.1786584290899.woff → iconfont.1786796103854.woff} +0 -0
- /package/lib/{iconfont.1786584290899.woff2 → iconfont.1786796103854.woff2} +0 -0
|
@@ -27,6 +27,12 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
27
27
|
props: {
|
|
28
28
|
value: [String, Number],
|
|
29
29
|
className: String,
|
|
30
|
+
inputClassName: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: function _default() {
|
|
33
|
+
return (0, _ui.getConfig)().textarea.inputClassName;
|
|
34
|
+
}
|
|
35
|
+
},
|
|
30
36
|
immediate: {
|
|
31
37
|
type: Boolean,
|
|
32
38
|
default: true
|
|
@@ -378,6 +384,7 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
378
384
|
var props = $xeTextarea;
|
|
379
385
|
var reactData = $xeTextarea.reactData;
|
|
380
386
|
var className = props.className,
|
|
387
|
+
inputClassName = props.inputClassName,
|
|
381
388
|
resize = props.resize,
|
|
382
389
|
autosize = props.autosize,
|
|
383
390
|
autoSize = props.autoSize,
|
|
@@ -411,7 +418,7 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
411
418
|
}
|
|
412
419
|
}, [h('textarea', {
|
|
413
420
|
ref: 'refTextarea',
|
|
414
|
-
class: 'vxe-textarea--inner',
|
|
421
|
+
class: 'vxe-textarea--inner' + (inputClassName ? ' ' + inputClassName : ''),
|
|
415
422
|
domProps: {
|
|
416
423
|
value: inputValue
|
|
417
424
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _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}}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}var autoTxtElem,_createComponentLog=(0,_log.createComponentLog)("textarea"),warnLog=_createComponentLog.warnLog,_default2=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTextarea",model:{prop:"value",event:"modelValue"},mixins:[_ui.globalMixins.sizeMixin],props:{value:[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:function(){return(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:function(){return(0,_ui.getConfig)().textarea.resize}},size:{type:String,default:function(){return(0,_ui.getConfig)().textarea.size||(0,_ui.getConfig)().size}},maxlength:[String,Number]},inject:{$xeForm:{default:null},formItemInfo:{from:"xeFormItemInfo",default:null}},data:function(){return{xID:_xeUtils.default.uniqueId(),reactData:{inputValue:""},reFlag:0}},computed:Object.assign(Object.assign({},{}),{computeFormReadonly:function(){var e=this.$xeForm,t=this.readonly;return null===t?!!e&&e.readonly:t},computeIsDisabled:function(){var e=this.$xeForm,t=this.disabled;return null===t?!!e&&e.disabled:t},computeInputReadonly:function(){var e=this.editable;return this.readonly||!e},computeInpPlaceholder:function(){var e=this.placeholder;return(e=e||(0,_ui.getConfig)().textarea.placeholder)?(0,_utils.getFuncText)(e):(0,_ui.getI18n)("vxe.base.pleaseInput")},computeInpMaxLength:function(){var e=this.maxLength,t=this.maxlength;return e||t},computeInputCount:function(){var e=this.reactData;return _xeUtils.default.getSize(e.inputValue)},computeIsCountError:function(){var e=this.computeInputCount,t=this.computeInpMaxLength;return t&&e>_xeUtils.default.toNumber(t)},computeSizeOpts:function(){var e=this.autosize,t=this.autoSize;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)}}),methods:{dispatchEvent:function(e,t,n){this.$emit(e,(0,_ui.createEvent)(n,{$textarea:this},t))},emitModel:function(e){var t=this._events;t&&t.modelValue?this.$emit("modelValue",e):this.$emit("model-value",e)},focus:function(){return this.$refs.refTextarea.focus(),this.$nextTick()},blur:function(){return this.$refs.refTextarea.blur(),this.$nextTick()},updateAutoTxt:function(){var e,t,n=this,a=n.reactData,i=n.size,a=a.inputValue;(n.autosize||n.autoSize)&&(t=n.computeFormReadonly,(autoTxtElem=autoTxtElem||document.createElement("div")).parentNode||document.body.appendChild(autoTxtElem),e=n.$refs.refTextarea,n=n.$refs.refContent,t=t?n:e)&&(n=getComputedStyle(t),autoTxtElem.className=["vxe-textarea--autosize",i?"size--".concat(i):""].join(" "),autoTxtElem.style.width="".concat(t.clientWidth,"px"),autoTxtElem.style.padding=n.padding,autoTxtElem.innerText=(""+(a||" ")).replace(/\n$/,"\n "))},handleResize:function(){var u=this;(u.autosize||u.autoSize)&&u.$nextTick(function(){var e,t,n=u.computeSizeOpts,a=u.computeFormReadonly,i=n.minRows,n=n.maxRows,o=u.$refs.refTextarea,r=u.$refs.refContent,a=a?r:o;a&&(r=autoTxtElem.clientHeight,o=getComputedStyle(a),e=_xeUtils.default.toNumber(o.lineHeight),(t=o=(o=(r-(r=_xeUtils.default.toNumber(o.paddingTop)+_xeUtils.default.toNumber(o.paddingBottom)+_xeUtils.default.toNumber(o.borderTopWidth)+_xeUtils.default.toNumber(o.borderBottomWidth)))/e)&&/[0-9]/.test(""+o)?o:Math.floor(o)+1)<i?t=i:n<o&&(t=n),a.style.height="".concat(t*e+r,"px"))})},triggerEvent:function(e){var t=this.reactData.inputValue;this.dispatchEvent(e.type,{value:t},e)},handleChange:function(e,t){var n=this,a=n,i=n.reactData,o=n.$xeForm,r=n.formItemInfo;a.trim&&(e="".concat(e||"").trim()),i.inputValue=e,n.emitModel(e),_xeUtils.default.toValueString(a.value)!==e&&(n.dispatchEvent("change",{value:e},t),o)&&r&&o.triggerItemEvent(t,r.itemConfig.field,e)},inputEvent:function(e){var t=this,n=t.reactData,a=t.$xeForm,i=t.formItemInfo,o=t.immediate,r=e.target.value;n.inputValue=r,o?t.handleChange(r,e):a&&i&&a.triggerItemEvent(e,i.itemConfig.field,r),t.dispatchEvent("input",{value:r},e),t.handleResize()},changeEvent:function(e){var t=this,n=t.reactData;t.immediate?t.triggerEvent(e):t.handleChange(n.inputValue,e),t.dispatchEvent("lazy-change",{value:n.inputValue},e)},blurEvent:function(e){var t=this.reactData,n=this.immediate,t=t.inputValue;n||this.handleChange(t,e),this.dispatchEvent("blur",{value:t},e)},renderVN:function(e){var t=this,n=t,a=t.reactData,i=n.className,o=n.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _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}}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}var autoTxtElem,_createComponentLog=(0,_log.createComponentLog)("textarea"),warnLog=_createComponentLog.warnLog,_default2=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTextarea",model:{prop:"value",event:"modelValue"},mixins:[_ui.globalMixins.sizeMixin],props:{value:[String,Number],className:String,inputClassName:{type:String,default:function(){return(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:function(){return(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:function(){return(0,_ui.getConfig)().textarea.resize}},size:{type:String,default:function(){return(0,_ui.getConfig)().textarea.size||(0,_ui.getConfig)().size}},maxlength:[String,Number]},inject:{$xeForm:{default:null},formItemInfo:{from:"xeFormItemInfo",default:null}},data:function(){return{xID:_xeUtils.default.uniqueId(),reactData:{inputValue:""},reFlag:0}},computed:Object.assign(Object.assign({},{}),{computeFormReadonly:function(){var e=this.$xeForm,t=this.readonly;return null===t?!!e&&e.readonly:t},computeIsDisabled:function(){var e=this.$xeForm,t=this.disabled;return null===t?!!e&&e.disabled:t},computeInputReadonly:function(){var e=this.editable;return this.readonly||!e},computeInpPlaceholder:function(){var e=this.placeholder;return(e=e||(0,_ui.getConfig)().textarea.placeholder)?(0,_utils.getFuncText)(e):(0,_ui.getI18n)("vxe.base.pleaseInput")},computeInpMaxLength:function(){var e=this.maxLength,t=this.maxlength;return e||t},computeInputCount:function(){var e=this.reactData;return _xeUtils.default.getSize(e.inputValue)},computeIsCountError:function(){var e=this.computeInputCount,t=this.computeInpMaxLength;return t&&e>_xeUtils.default.toNumber(t)},computeSizeOpts:function(){var e=this.autosize,t=this.autoSize;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)}}),methods:{dispatchEvent:function(e,t,n){this.$emit(e,(0,_ui.createEvent)(n,{$textarea:this},t))},emitModel:function(e){var t=this._events;t&&t.modelValue?this.$emit("modelValue",e):this.$emit("model-value",e)},focus:function(){return this.$refs.refTextarea.focus(),this.$nextTick()},blur:function(){return this.$refs.refTextarea.blur(),this.$nextTick()},updateAutoTxt:function(){var e,t,n=this,a=n.reactData,i=n.size,a=a.inputValue;(n.autosize||n.autoSize)&&(t=n.computeFormReadonly,(autoTxtElem=autoTxtElem||document.createElement("div")).parentNode||document.body.appendChild(autoTxtElem),e=n.$refs.refTextarea,n=n.$refs.refContent,t=t?n:e)&&(n=getComputedStyle(t),autoTxtElem.className=["vxe-textarea--autosize",i?"size--".concat(i):""].join(" "),autoTxtElem.style.width="".concat(t.clientWidth,"px"),autoTxtElem.style.padding=n.padding,autoTxtElem.innerText=(""+(a||" ")).replace(/\n$/,"\n "))},handleResize:function(){var u=this;(u.autosize||u.autoSize)&&u.$nextTick(function(){var e,t,n=u.computeSizeOpts,a=u.computeFormReadonly,i=n.minRows,n=n.maxRows,o=u.$refs.refTextarea,r=u.$refs.refContent,a=a?r:o;a&&(r=autoTxtElem.clientHeight,o=getComputedStyle(a),e=_xeUtils.default.toNumber(o.lineHeight),(t=o=(o=(r-(r=_xeUtils.default.toNumber(o.paddingTop)+_xeUtils.default.toNumber(o.paddingBottom)+_xeUtils.default.toNumber(o.borderTopWidth)+_xeUtils.default.toNumber(o.borderBottomWidth)))/e)&&/[0-9]/.test(""+o)?o:Math.floor(o)+1)<i?t=i:n<o&&(t=n),a.style.height="".concat(t*e+r,"px"))})},triggerEvent:function(e){var t=this.reactData.inputValue;this.dispatchEvent(e.type,{value:t},e)},handleChange:function(e,t){var n=this,a=n,i=n.reactData,o=n.$xeForm,r=n.formItemInfo;a.trim&&(e="".concat(e||"").trim()),i.inputValue=e,n.emitModel(e),_xeUtils.default.toValueString(a.value)!==e&&(n.dispatchEvent("change",{value:e},t),o)&&r&&o.triggerItemEvent(t,r.itemConfig.field,e)},inputEvent:function(e){var t=this,n=t.reactData,a=t.$xeForm,i=t.formItemInfo,o=t.immediate,r=e.target.value;n.inputValue=r,o?t.handleChange(r,e):a&&i&&a.triggerItemEvent(e,i.itemConfig.field,r),t.dispatchEvent("input",{value:r},e),t.handleResize()},changeEvent:function(e){var t=this,n=t.reactData;t.immediate?t.triggerEvent(e):t.handleChange(n.inputValue,e),t.dispatchEvent("lazy-change",{value:n.inputValue},e)},blurEvent:function(e){var t=this.reactData,n=this.immediate,t=t.inputValue;n||this.handleChange(t,e),this.dispatchEvent("blur",{value:t},e)},renderVN:function(e){var t=this,n=t,a=t.reactData,i=n.className,o=n.inputClassName,r=n.resize,u=n.autosize,l=n.autoSize,s=n.showWordCount,c=n.countMethod,d=n.rows,m=n.cols,a=a.inputValue,f=t.computeSize,p=t.computeIsDisabled,g=t.computeIsCountError,h=t.computeInputCount,x=t.computeInputReadonly,v=t.computeInpPlaceholder,y=t.computeInpMaxLength;return t.computeFormReadonly?e("div",{ref:"refElem",class:["vxe-textarea--readonly",i]},[e("div",{ref:"refContent",class:"vxe-textarea--content"},a)]):e("div",{ref:"refElem",class:["vxe-textarea",i,_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},"size--".concat(f),f),"is--autosize",u||l),"is--count",s),"is--disabled",p),"is--rows",!_xeUtils.default.eqNull(d)),"is--cols",!_xeUtils.default.eqNull(m))],attrs:{spellcheck:!1}},[e("textarea",{ref:"refTextarea",class:"vxe-textarea--inner"+(o?" "+o:""),domProps:{value:a},attrs:{name:n.name,placeholder:v,maxlength:y,readonly:x,disabled:p,rows:d,cols:m},style:r?{resize:r}:{},on:{input:t.inputEvent,change:t.changeEvent,keydown:t.triggerEvent,keyup:t.triggerEvent,click:t.triggerEvent,focus:t.triggerEvent,blur:t.blurEvent}}),s?e("span",{class:["vxe-textarea--count",{"is--error":g}]},c?"".concat(c({value:a})):"".concat(h).concat(y?"/".concat(y):"")):null])}},watch:{value:function(e){this.reactData.inputValue=e,this.updateAutoTxt()},computeFormReadonly:function(){this.reFlag++},computeSizeOpts:function(){this.reFlag++},autoSize:function(){this.reFlag++},autosize:function(){this.reFlag++},reFlag:function(){this.updateAutoTxt(),this.handleResize()}},created:function(){var n=this,a=n;n.reactData.inputValue=a.value,n.$nextTick(function(){var e=a.autosize,t=a.autoSize;e&&warnLog("vxe.error.delProp",["autosize","auto-size"]),(e||t)&&(n.updateAutoTxt(),n.handleResize())})},render:function(e){return this.renderVN(e)}});
|
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
|
-
var version = exports.version = "3.
|
|
29
|
+
var version = exports.version = "3.17.1";
|
|
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
|
-
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"),version=exports.version="3.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:!0,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:60}},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:{}});var iconPrefix="vxe-icon-",_default=((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"}),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"),version=exports.version="3.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:!0,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:60}},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:{}});var iconPrefix="vxe-icon-",_default=((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"}),exports.default=_core.VxeUI);
|
package/lib/ui/src/log.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.createComponentLog = createComponentLog;
|
|
|
7
7
|
exports.warnLog = exports.errLog = void 0;
|
|
8
8
|
var _core = require("@vxe-ui/core");
|
|
9
9
|
var log = _core.VxeUI.log;
|
|
10
|
-
var uiVersion = "ui v".concat("3.
|
|
10
|
+
var uiVersion = "ui v".concat("3.17.1");
|
|
11
11
|
function createComponentLog(name) {
|
|
12
12
|
var tableVersion = _core.VxeUI.tableVersion ? "table v".concat(_core.VxeUI.tableVersion) : '';
|
|
13
13
|
var ganttVersion = _core.VxeUI.ganttVersion ? "gantt v".concat(_core.VxeUI.ganttVersion) : '';
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComponentLog=createComponentLog,exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core"),log=_core.VxeUI.log,uiVersion="ui v".concat("3.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComponentLog=createComponentLog,exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core"),log=_core.VxeUI.log,uiVersion="ui v".concat("3.17.1");function createComponentLog(e){var r=_core.VxeUI.tableVersion?"table v".concat(_core.VxeUI.tableVersion):"",o=_core.VxeUI.ganttVersion?"gantt v".concat(_core.VxeUI.ganttVersion):"",n=_core.VxeUI.designVersion?"design v".concat(_core.VxeUI.designVersion):"",r=[uiVersion,r,o,n].filter(function(e){return e}).join(" ");return{warnLog:log.create("warn",r+"] ["+e),errLog:log.create("error",r+"] ["+e)}}var 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": "3.
|
|
3
|
+
"version": "3.17.1",
|
|
4
4
|
"description": "A vue based PC component library",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"style": "lib/style.css",
|
|
26
26
|
"typings": "types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@vxe-ui/core": "^3.4.
|
|
28
|
+
"@vxe-ui/core": "^3.4.20"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
@@ -86,6 +86,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
86
86
|
},
|
|
87
87
|
form: String as PropType<VxeDatePickerPropTypes.Form>,
|
|
88
88
|
className: String as PropType<VxeDatePickerPropTypes.ClassName>,
|
|
89
|
+
inputClassName: {
|
|
90
|
+
type: String as PropType<VxeDatePickerPropTypes.InputClassName>,
|
|
91
|
+
default: () => getConfig().datePicker.inputClassName
|
|
92
|
+
},
|
|
89
93
|
zIndex: Number as PropType<VxeDatePickerPropTypes.ZIndex>,
|
|
90
94
|
size: {
|
|
91
95
|
type: String as PropType<VxeDatePickerPropTypes.Size>,
|
|
@@ -1818,7 +1822,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
1818
1822
|
const reactData = $xeDatePicker.reactData
|
|
1819
1823
|
const internalData = $xeDatePicker.internalData
|
|
1820
1824
|
|
|
1821
|
-
const { className, type, name, autoComplete } = props
|
|
1825
|
+
const { className, inputClassName, type, name, autoComplete } = props
|
|
1822
1826
|
const { inputValue, visiblePanel, isActivated, labelFlag } = reactData
|
|
1823
1827
|
const { inputLabel } = internalData
|
|
1824
1828
|
const vSize = $xeDatePicker.computeSize
|
|
@@ -1857,7 +1861,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
1857
1861
|
}, [
|
|
1858
1862
|
h('input', {
|
|
1859
1863
|
ref: 'refInputTarget',
|
|
1860
|
-
class: 'vxe-date-picker--inner',
|
|
1864
|
+
class: 'vxe-date-picker--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
1861
1865
|
domProps: {
|
|
1862
1866
|
value: labelFlag ? inputLabel : ''
|
|
1863
1867
|
},
|
|
@@ -84,6 +84,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
84
84
|
},
|
|
85
85
|
form: String as PropType<VxeDateRangePickerPropTypes.Form>,
|
|
86
86
|
className: String as PropType<VxeDateRangePickerPropTypes.ClassName>,
|
|
87
|
+
inputClassName: {
|
|
88
|
+
type: String as PropType<VxeDateRangePickerPropTypes.InputClassName>,
|
|
89
|
+
default: () => getConfig().dateRangePicker.inputClassName
|
|
90
|
+
},
|
|
87
91
|
zIndex: Number as PropType<VxeDateRangePickerPropTypes.ZIndex>,
|
|
88
92
|
size: {
|
|
89
93
|
type: String as PropType<VxeDateRangePickerPropTypes.Size>,
|
|
@@ -1675,7 +1679,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
1675
1679
|
const props = $xeDateRangePicker
|
|
1676
1680
|
const reactData = $xeDateRangePicker.reactData
|
|
1677
1681
|
|
|
1678
|
-
const { className, type, name, autoComplete } = props
|
|
1682
|
+
const { className, inputClassName, type, name, autoComplete } = props
|
|
1679
1683
|
const { selectStValue, selectEdValue, visiblePanel, isActivated } = reactData
|
|
1680
1684
|
const vSize = $xeDateRangePicker.computeSize
|
|
1681
1685
|
const isDisabled = $xeDateRangePicker.computeIsDisabled
|
|
@@ -1712,7 +1716,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
1712
1716
|
}, [
|
|
1713
1717
|
h('input', {
|
|
1714
1718
|
ref: 'refInputTarget',
|
|
1715
|
-
class: 'vxe-date-range-picker--inner',
|
|
1719
|
+
class: 'vxe-date-range-picker--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
1716
1720
|
domProps: {
|
|
1717
1721
|
value: inputLabel
|
|
1718
1722
|
},
|
|
@@ -66,6 +66,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
66
66
|
align: String as PropType<VxeInputPropTypes.Align>,
|
|
67
67
|
form: String as PropType<VxeInputPropTypes.Form>,
|
|
68
68
|
className: String as PropType<VxeInputPropTypes.ClassName>,
|
|
69
|
+
inputClassName: {
|
|
70
|
+
type: String as PropType<VxeInputPropTypes.InputClassName>,
|
|
71
|
+
default: () => getConfig().input.inputClassName
|
|
72
|
+
},
|
|
69
73
|
size: {
|
|
70
74
|
type: String as PropType<VxeInputPropTypes.Size>,
|
|
71
75
|
default: () => getConfig().input.size || getConfig().size
|
|
@@ -3020,7 +3024,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
3020
3024
|
const props = $xeInput
|
|
3021
3025
|
const reactData = $xeInput.reactData
|
|
3022
3026
|
|
|
3023
|
-
const { className, controls, type, title, align, showWordCount, countMethod, name, autoComplete, autocomplete } = props
|
|
3027
|
+
const { className, inputClassName, controls, type, title, align, showWordCount, countMethod, name, autoComplete, autocomplete } = props
|
|
3024
3028
|
const { inputValue, visiblePanel, isActivated } = reactData
|
|
3025
3029
|
const vSize = $xeInput.computeSize
|
|
3026
3030
|
const isDisabled = $xeInput.computeIsDisabled
|
|
@@ -3070,7 +3074,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
3070
3074
|
}, [
|
|
3071
3075
|
h('input', {
|
|
3072
3076
|
ref: 'refInputTarget',
|
|
3073
|
-
class: 'vxe-input--inner',
|
|
3077
|
+
class: 'vxe-input--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
3074
3078
|
domProps: {
|
|
3075
3079
|
value: inputValue
|
|
3076
3080
|
},
|
|
@@ -60,6 +60,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
60
60
|
align: String as PropType<VxeNumberInputPropTypes.Align>,
|
|
61
61
|
form: String as PropType<VxeNumberInputPropTypes.Form>,
|
|
62
62
|
className: String as PropType<VxeNumberInputPropTypes.ClassName>,
|
|
63
|
+
inputClassName: {
|
|
64
|
+
type: String as PropType<VxeNumberInputPropTypes.InputClassName>,
|
|
65
|
+
default: () => getConfig().numberInput.inputClassName
|
|
66
|
+
},
|
|
63
67
|
size: {
|
|
64
68
|
type: String as PropType<VxeNumberInputPropTypes.Size>,
|
|
65
69
|
default: () => getConfig().numberInput.size || getConfig().size
|
|
@@ -1041,7 +1045,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
1041
1045
|
const props = $xeNumberInput
|
|
1042
1046
|
const reactData = $xeNumberInput.reactData
|
|
1043
1047
|
|
|
1044
|
-
const { type, name, autocomplete, autoComplete } = props
|
|
1048
|
+
const { inputClassName, type, name, autocomplete, autoComplete } = props
|
|
1045
1049
|
const { inputValue, isFocus } = reactData
|
|
1046
1050
|
const isDisabled = $xeNumberInput.computeIsDisabled
|
|
1047
1051
|
const numLabel = $xeNumberInput.computeNumLabel
|
|
@@ -1058,7 +1062,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
1058
1062
|
}, [
|
|
1059
1063
|
h('input', {
|
|
1060
1064
|
ref: 'refInputTarget',
|
|
1061
|
-
class: 'vxe-number-input--input',
|
|
1065
|
+
class: 'vxe-number-input--input' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
1062
1066
|
domProps: {
|
|
1063
1067
|
value: !isFocus && type === 'amount' ? numLabel : inputValue
|
|
1064
1068
|
},
|
|
@@ -36,6 +36,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
36
36
|
default: 'off'
|
|
37
37
|
},
|
|
38
38
|
className: String as PropType<VxePasswordInputPropTypes.ClassName>,
|
|
39
|
+
inputClassName: {
|
|
40
|
+
type: String as PropType<VxePasswordInputPropTypes.InputClassName>,
|
|
41
|
+
default: () => getConfig().passwordInput.inputClassName
|
|
42
|
+
},
|
|
39
43
|
size: {
|
|
40
44
|
type: String as PropType<VxePasswordInputPropTypes.Size>,
|
|
41
45
|
default: () => getConfig().passwordInput.size || getConfig().size
|
|
@@ -390,7 +394,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
390
394
|
const props = $xePasswordInput
|
|
391
395
|
const reactData = $xePasswordInput.reactData
|
|
392
396
|
|
|
393
|
-
const { className, name, disabled, readonly, autocomplete, autoComplete, maxLength } = props
|
|
397
|
+
const { className, inputClassName, name, disabled, readonly, autocomplete, autoComplete, maxLength } = props
|
|
394
398
|
const { inputValue, isActivated } = reactData
|
|
395
399
|
const vSize = $xePasswordInput.computeSize
|
|
396
400
|
const inpReadonly = $xePasswordInput.computeInpReadonly
|
|
@@ -420,7 +424,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
420
424
|
}, [
|
|
421
425
|
h('input', {
|
|
422
426
|
ref: 'refInputTarget',
|
|
423
|
-
class: 'vxe-password-input--inner',
|
|
427
|
+
class: 'vxe-password-input--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
424
428
|
domProps: {
|
|
425
429
|
value: inputValue
|
|
426
430
|
},
|
|
@@ -23,6 +23,14 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
23
23
|
type: [Number, String] as PropType<VxeSplitterPanelPropTypes.MinHeight>,
|
|
24
24
|
default: () => null
|
|
25
25
|
},
|
|
26
|
+
maxWidth: {
|
|
27
|
+
type: [Number, String] as PropType<VxeSplitterPanelPropTypes.MaxWidth>,
|
|
28
|
+
default: () => null
|
|
29
|
+
},
|
|
30
|
+
maxHeight: {
|
|
31
|
+
type: [Number, String] as PropType<VxeSplitterPanelPropTypes.MaxHeight>,
|
|
32
|
+
default: () => null
|
|
33
|
+
},
|
|
26
34
|
|
|
27
35
|
// 已废弃
|
|
28
36
|
showAction: Boolean as PropType<VxeSplitterPanelPropTypes.ShowAction>
|
|
@@ -49,6 +57,8 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
49
57
|
height: 0,
|
|
50
58
|
minWidth: 0,
|
|
51
59
|
minHeight: 0,
|
|
60
|
+
maxWidth: 0,
|
|
61
|
+
maxHeight: 0,
|
|
52
62
|
showAction: false,
|
|
53
63
|
isExpand: true,
|
|
54
64
|
renderWidth: 0,
|
|
@@ -103,6 +113,18 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
103
113
|
|
|
104
114
|
paneConfig.minHeight = val
|
|
105
115
|
},
|
|
116
|
+
maxWidth (val) {
|
|
117
|
+
const $xeSplitterItem = this
|
|
118
|
+
const paneConfig = $xeSplitterItem.paneConfig
|
|
119
|
+
|
|
120
|
+
paneConfig.maxWidth = val
|
|
121
|
+
},
|
|
122
|
+
maxHeight (val) {
|
|
123
|
+
const $xeSplitterItem = this
|
|
124
|
+
const paneConfig = $xeSplitterItem.paneConfig
|
|
125
|
+
|
|
126
|
+
paneConfig.maxHeight = val
|
|
127
|
+
},
|
|
106
128
|
showAction (val) {
|
|
107
129
|
const $xeSplitterItem = this
|
|
108
130
|
const paneConfig = $xeSplitterItem.paneConfig
|
|
@@ -139,6 +161,8 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
139
161
|
height: props.height,
|
|
140
162
|
minWidth: props.minWidth,
|
|
141
163
|
minHeight: props.minHeight,
|
|
164
|
+
maxWidth: props.maxWidth,
|
|
165
|
+
maxHeight: props.maxHeight,
|
|
142
166
|
showAction: props.showAction,
|
|
143
167
|
slots
|
|
144
168
|
})
|
|
@@ -23,6 +23,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
23
23
|
props: {
|
|
24
24
|
value: [String, Number] as PropType<VxeTextareaPropTypes.ModelValue>,
|
|
25
25
|
className: String as PropType<VxeTextareaPropTypes.ClassName>,
|
|
26
|
+
inputClassName: {
|
|
27
|
+
type: String as PropType<VxeTextareaPropTypes.InputClassName>,
|
|
28
|
+
default: () => getConfig().textarea.inputClassName
|
|
29
|
+
},
|
|
26
30
|
immediate: {
|
|
27
31
|
type: Boolean as PropType<VxeTextareaPropTypes.Immediate>,
|
|
28
32
|
default: true
|
|
@@ -368,7 +372,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
368
372
|
const props = $xeTextarea
|
|
369
373
|
const reactData = $xeTextarea.reactData
|
|
370
374
|
|
|
371
|
-
const { className, resize, autosize, autoSize, showWordCount, countMethod, rows, cols } = props
|
|
375
|
+
const { className, inputClassName, resize, autosize, autoSize, showWordCount, countMethod, rows, cols } = props
|
|
372
376
|
const { inputValue } = reactData
|
|
373
377
|
const vSize = $xeTextarea.computeSize
|
|
374
378
|
const isDisabled = $xeTextarea.computeIsDisabled
|
|
@@ -405,7 +409,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
405
409
|
}, [
|
|
406
410
|
h('textarea', {
|
|
407
411
|
ref: 'refTextarea',
|
|
408
|
-
class: 'vxe-textarea--inner',
|
|
412
|
+
class: 'vxe-textarea--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
409
413
|
domProps: {
|
|
410
414
|
value: inputValue
|
|
411
415
|
},
|
|
@@ -22,6 +22,7 @@ export namespace VxeDatePickerPropTypes {
|
|
|
22
22
|
export type Size = VxeComponentSizeType
|
|
23
23
|
export type ModelValue = string | number | Date | null
|
|
24
24
|
export type ClassName = string
|
|
25
|
+
export type InputClassName = string
|
|
25
26
|
export type Immediate = boolean
|
|
26
27
|
export type Name = string
|
|
27
28
|
export type Type = VxeDatePanelPropTypes.Type
|
|
@@ -140,6 +141,7 @@ export interface VxeDatePickerProps {
|
|
|
140
141
|
size?: VxeDatePickerPropTypes.Size
|
|
141
142
|
value?: VxeDatePickerPropTypes.ModelValue
|
|
142
143
|
className?: VxeDatePickerPropTypes.ClassName
|
|
144
|
+
inputClassName?: VxeDatePickerPropTypes.InputClassName
|
|
143
145
|
immediate?: VxeDatePickerPropTypes.Immediate
|
|
144
146
|
name?: VxeDatePickerPropTypes.Name
|
|
145
147
|
type?: VxeDatePickerPropTypes.Type
|
|
@@ -24,6 +24,7 @@ export namespace VxeDateRangePickerPropTypes {
|
|
|
24
24
|
export type StartValue = string | number | Date | null
|
|
25
25
|
export type EndValue = string | number | Date | null
|
|
26
26
|
export type ClassName = string
|
|
27
|
+
export type InputClassName = string
|
|
27
28
|
export type Immediate = boolean
|
|
28
29
|
export type Name = string
|
|
29
30
|
export type Type = VxeDatePanelPropTypes.Type
|
|
@@ -125,6 +126,7 @@ export interface VxeDateRangePickerProps {
|
|
|
125
126
|
startValue?: VxeDateRangePickerPropTypes.StartValue
|
|
126
127
|
endValue?: VxeDateRangePickerPropTypes.EndValue
|
|
127
128
|
className?: VxeDateRangePickerPropTypes.ClassName
|
|
129
|
+
inputClassName?: VxeDateRangePickerPropTypes.InputClassName
|
|
128
130
|
immediate?: VxeDateRangePickerPropTypes.Immediate
|
|
129
131
|
name?: VxeDateRangePickerPropTypes.Name
|
|
130
132
|
type?: VxeDateRangePickerPropTypes.Type
|
|
@@ -19,6 +19,7 @@ export namespace VxeInputPropTypes {
|
|
|
19
19
|
export type Size = VxeComponentSizeType
|
|
20
20
|
export type ModelValue = string | number | Date | undefined | null
|
|
21
21
|
export type ClassName = string
|
|
22
|
+
export type InputClassName = string
|
|
22
23
|
export type Immediate = boolean
|
|
23
24
|
export type Name = string
|
|
24
25
|
export type Title = string
|
|
@@ -86,6 +87,7 @@ export interface VxeInputProps {
|
|
|
86
87
|
size?: VxeInputPropTypes.Size
|
|
87
88
|
value?: VxeInputPropTypes.ModelValue
|
|
88
89
|
className?: VxeInputPropTypes.ClassName
|
|
90
|
+
inputClassName?: VxeInputPropTypes.InputClassName
|
|
89
91
|
immediate?: VxeInputPropTypes.Immediate
|
|
90
92
|
name?: VxeInputPropTypes.Name
|
|
91
93
|
title?: VxeInputPropTypes.Title
|
|
@@ -19,6 +19,7 @@ export namespace VxeNumberInputPropTypes {
|
|
|
19
19
|
export type Size = VxeComponentSizeType
|
|
20
20
|
export type ModelValue = string | number | null
|
|
21
21
|
export type ClassName = string
|
|
22
|
+
export type InputClassName = string
|
|
22
23
|
export type Immediate = boolean
|
|
23
24
|
export type Name = string
|
|
24
25
|
export type Type = 'number' | 'integer' | 'float' | 'amount'
|
|
@@ -105,6 +106,7 @@ export interface VxeNumberInputProps {
|
|
|
105
106
|
size?: VxeNumberInputPropTypes.Size
|
|
106
107
|
value?: VxeNumberInputPropTypes.ModelValue
|
|
107
108
|
className?: VxeNumberInputPropTypes.ClassName
|
|
109
|
+
inputClassName?: VxeNumberInputPropTypes.InputClassName
|
|
108
110
|
immediate?: VxeNumberInputPropTypes.Immediate
|
|
109
111
|
name?: VxeNumberInputPropTypes.Name
|
|
110
112
|
type?: VxeNumberInputPropTypes.Type
|
|
@@ -19,6 +19,7 @@ export namespace VxePasswordInputPropTypes {
|
|
|
19
19
|
export type Size = VxeComponentSizeType
|
|
20
20
|
export type ModelValue = string | null
|
|
21
21
|
export type Immediate = boolean
|
|
22
|
+
export type InputClassName = string
|
|
22
23
|
export type ClassName = string
|
|
23
24
|
export type Name = string
|
|
24
25
|
export type Clearable = boolean
|
|
@@ -42,6 +43,7 @@ export interface VxePasswordInputProps {
|
|
|
42
43
|
value?: VxePasswordInputPropTypes.ModelValue
|
|
43
44
|
immediate?: VxePasswordInputPropTypes.Immediate
|
|
44
45
|
className?: VxePasswordInputPropTypes.ClassName
|
|
46
|
+
inputClassName?: VxePasswordInputPropTypes.InputClassName
|
|
45
47
|
name?: VxePasswordInputPropTypes.Name
|
|
46
48
|
clearable?: VxePasswordInputPropTypes.Clearable
|
|
47
49
|
readonly?: VxePasswordInputPropTypes.Readonly
|
|
@@ -21,6 +21,8 @@ export namespace VxeSplitterPanelPropTypes {
|
|
|
21
21
|
export type Height = string | number
|
|
22
22
|
export type MinWidth = string | number
|
|
23
23
|
export type MinHeight = string | number
|
|
24
|
+
export type MaxWidth = string | number
|
|
25
|
+
export type MaxHeight = string | number
|
|
24
26
|
|
|
25
27
|
/**
|
|
26
28
|
* 已废弃
|
|
@@ -30,12 +32,35 @@ export namespace VxeSplitterPanelPropTypes {
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface VxeSplitterPanelProps {
|
|
35
|
+
/**
|
|
36
|
+
* 面板唯一标识
|
|
37
|
+
*/
|
|
33
38
|
name?: VxeSplitterPanelPropTypes.Name
|
|
39
|
+
/**
|
|
40
|
+
* 用于左右布局,面板宽度
|
|
41
|
+
*/
|
|
34
42
|
width?: VxeSplitterPanelPropTypes.Width
|
|
43
|
+
/**
|
|
44
|
+
* 用于上下布局,面板高度
|
|
45
|
+
*/
|
|
35
46
|
height?: VxeSplitterPanelPropTypes.Height
|
|
47
|
+
/**
|
|
48
|
+
* 用于左右布局,面板最小宽度
|
|
49
|
+
*/
|
|
36
50
|
minWidth?: VxeSplitterPanelPropTypes.MinWidth
|
|
51
|
+
/**
|
|
52
|
+
* 用于上下布局,面板最小高度
|
|
53
|
+
*/
|
|
37
54
|
minHeight?: VxeSplitterPanelPropTypes.MinHeight
|
|
55
|
+
maxWidth?: VxeSplitterPanelPropTypes.MaxWidth
|
|
56
|
+
maxHeight?: VxeSplitterPanelPropTypes.MaxHeight
|
|
57
|
+
/**
|
|
58
|
+
* 自定义插槽模板
|
|
59
|
+
*/
|
|
38
60
|
slots?: {
|
|
61
|
+
/**
|
|
62
|
+
* 自定义面板内容插槽模板
|
|
63
|
+
*/
|
|
39
64
|
default?: string | ((params: VxeSplitterPanelSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[])
|
|
40
65
|
}
|
|
41
66
|
|
|
@@ -26,8 +26,16 @@ export namespace VxeSplitterPropTypes {
|
|
|
26
26
|
export type Resize = boolean
|
|
27
27
|
export type Items = VxeSplitterPanelProps[]
|
|
28
28
|
export interface ItemConfig {
|
|
29
|
+
/**
|
|
30
|
+
* 用于左右布局,面板最小宽度
|
|
31
|
+
*/
|
|
29
32
|
minWidth?: string | number
|
|
33
|
+
/**
|
|
34
|
+
* 用于上下布局,面板最小高度
|
|
35
|
+
*/
|
|
30
36
|
minHeight?: string | number
|
|
37
|
+
maxWidth?: string | number
|
|
38
|
+
maxHeight?: string | number
|
|
31
39
|
}
|
|
32
40
|
export interface BarConfig {
|
|
33
41
|
width?: string | number
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VxeTableDefines } from '../table'
|
|
1
|
+
import { VxeTableConstructor, VxeTableDefines } from '../table'
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unused-vars,no-use-before-define */
|
|
4
4
|
|
|
@@ -208,7 +208,17 @@ export interface TableEditPrivateMethods<D = any> {
|
|
|
208
208
|
/**
|
|
209
209
|
* @private
|
|
210
210
|
*/
|
|
211
|
-
handleEdit(params:
|
|
211
|
+
handleEdit(params: {
|
|
212
|
+
$table: VxeTableConstructor<D>
|
|
213
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
214
|
+
columnIndex: number
|
|
215
|
+
_columnIndex: number
|
|
216
|
+
$columnIndex: number
|
|
217
|
+
row: D
|
|
218
|
+
rowIndex: number
|
|
219
|
+
$rowIndex: number
|
|
220
|
+
_rowIndex: number
|
|
221
|
+
}, evnt: any, options?: {
|
|
212
222
|
isClear?: boolean
|
|
213
223
|
}): Promise<any>
|
|
214
224
|
/**
|
|
@@ -218,11 +228,34 @@ export interface TableEditPrivateMethods<D = any> {
|
|
|
218
228
|
/**
|
|
219
229
|
* @private
|
|
220
230
|
*/
|
|
221
|
-
|
|
231
|
+
handleCellFocus(cell: HTMLElement, params: {
|
|
232
|
+
$table: VxeTableConstructor<D>
|
|
233
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
234
|
+
row: D
|
|
235
|
+
}): HTMLInputElement | null
|
|
236
|
+
/**
|
|
237
|
+
* @private
|
|
238
|
+
*/
|
|
239
|
+
handleFocus(params: {
|
|
240
|
+
$table: VxeTableConstructor<D>
|
|
241
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
242
|
+
row: D
|
|
243
|
+
cell: HTMLElement
|
|
244
|
+
}, evnt?: Event | null): void
|
|
222
245
|
/**
|
|
223
246
|
* @private
|
|
224
247
|
*/
|
|
225
|
-
handleSelected(params:
|
|
248
|
+
handleSelected(params: {
|
|
249
|
+
$table: VxeTableConstructor<D>
|
|
250
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
251
|
+
columnIndex: number
|
|
252
|
+
_columnIndex: number
|
|
253
|
+
$columnIndex: number
|
|
254
|
+
row: D
|
|
255
|
+
rowIndex: number
|
|
256
|
+
$rowIndex: number
|
|
257
|
+
_rowIndex: number
|
|
258
|
+
}, evnt: Event | null): Promise<any>
|
|
226
259
|
/**
|
|
227
260
|
* @private
|
|
228
261
|
*/
|