vxe-pc-ui 3.18.3 → 3.18.5
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/color-picker/src/color-picker.js +14 -1
- package/es/date-picker/src/date-picker.js +14 -1
- package/es/date-range-picker/src/date-range-picker.js +14 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +18 -5
- package/es/input/src/input.js +14 -1
- package/es/language/en-US.js +2 -2
- package/es/language/zh-CHT.js +2 -2
- package/es/language/zh-CN.js +2 -2
- package/es/number-input/src/number-input.js +12 -1
- package/es/password-input/src/password-input.js +14 -0
- package/es/select/src/select.js +20 -7
- package/es/space/src/space.js +8 -4
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/color-picker/src/color-picker.js +14 -1
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +13 -0
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +13 -0
- 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/icon-picker/src/icon-picker.js +18 -5
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +131 -21
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +13 -0
- package/lib/input/src/input.min.js +1 -1
- package/lib/language/en-US.js +2 -2
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +2 -2
- package/lib/language/zh-CHT.js +2 -2
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +2 -2
- package/lib/language/zh-CN.js +2 -2
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +2 -2
- package/lib/number-input/src/number-input.js +11 -0
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +14 -0
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/select/src/select.js +20 -7
- package/lib/select/src/select.min.js +1 -1
- package/lib/space/src/space.js +9 -4
- package/lib/space/src/space.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +16 -2
- package/packages/date-picker/src/date-picker.ts +16 -2
- package/packages/date-range-picker/src/date-range-picker.ts +16 -2
- package/packages/icon-picker/src/icon-picker.ts +19 -5
- package/packages/input/src/input.ts +15 -1
- package/packages/language/en-US.ts +2 -2
- package/packages/language/zh-CHT.ts +2 -2
- package/packages/language/zh-CN.ts +2 -2
- package/packages/number-input/src/number-input.ts +14 -2
- package/packages/password-input/src/password-input.ts +16 -1
- package/packages/select/src/select.ts +21 -7
- package/packages/space/src/space.ts +8 -4
- package/types/components/color-picker.d.ts +2 -0
- package/types/components/date-picker.d.ts +2 -0
- package/types/components/date-range-picker.d.ts +2 -0
- package/types/components/gantt.d.ts +62 -3
- package/types/components/icon-picker.d.ts +2 -0
- package/types/components/input.d.ts +5 -0
- package/types/components/number-input.d.ts +5 -0
- package/types/components/password-input.d.ts +5 -0
- package/types/components/select.d.ts +5 -0
- package/types/components/space.d.ts +5 -0
- /package/es/icon/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/es/icon/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/es/icon/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
- /package/es/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/es/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/es/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
- /package/lib/{iconfont.1788745444732.ttf → iconfont.1788857081434.ttf} +0 -0
- /package/lib/{iconfont.1788745444732.woff → iconfont.1788857081434.woff} +0 -0
- /package/lib/{iconfont.1788745444732.woff2 → iconfont.1788857081434.woff2} +0 -0
package/lib/input/src/input.js
CHANGED
|
@@ -107,6 +107,7 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
107
107
|
return (0, _ui.getConfig)().input.inputClassName;
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
+
width: [String, Number],
|
|
110
111
|
size: {
|
|
111
112
|
type: String,
|
|
112
113
|
default: function _default() {
|
|
@@ -348,6 +349,16 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
348
349
|
}
|
|
349
350
|
return maxLen;
|
|
350
351
|
},
|
|
352
|
+
computeCurrStyle: function computeCurrStyle() {
|
|
353
|
+
var $xeInput = this;
|
|
354
|
+
var props = $xeInput;
|
|
355
|
+
var width = props.width;
|
|
356
|
+
var stys = {};
|
|
357
|
+
if (width) {
|
|
358
|
+
stys.width = (0, _dom.toCssUnit)(width);
|
|
359
|
+
}
|
|
360
|
+
return stys;
|
|
361
|
+
},
|
|
351
362
|
computeIsDateTimeType: function computeIsDateTimeType() {
|
|
352
363
|
var $xeInput = this;
|
|
353
364
|
var props = $xeInput;
|
|
@@ -2998,6 +3009,7 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
2998
3009
|
class: ['vxe-input--readonly', "type--".concat(type), className]
|
|
2999
3010
|
}, inputValue);
|
|
3000
3011
|
}
|
|
3012
|
+
var currStyle = $xeInput.computeCurrStyle;
|
|
3001
3013
|
var isCountError = $xeInput.computeIsCountError;
|
|
3002
3014
|
var inputCount = $xeInput.computeInputCount;
|
|
3003
3015
|
var inputReadonly = $xeInput.computeInputReadonly;
|
|
@@ -3012,6 +3024,7 @@ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defi
|
|
|
3012
3024
|
return h('div', {
|
|
3013
3025
|
ref: 'refElem',
|
|
3014
3026
|
class: ['vxe-input', "type--".concat(type), floatContent ? "fla--".concat(floatAlign || 'center') : '', className, (_ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "size--".concat(vSize), vSize), "is--".concat(align), align), 'is--controls', controls), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--visible', visiblePanel), 'is--clear', isClearable), 'is--count', isWordCount), 'is--disabled', isDisabled), 'is--active', isActivated), _defineProperty(_ref2, 'show--clear', isClearable && !isDisabled && !(inputValue === '' || _xeUtils.default.eqNull(inputValue))))],
|
|
3027
|
+
style: currStyle,
|
|
3015
3028
|
attrs: {
|
|
3016
3029
|
spellcheck: false
|
|
3017
3030
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
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)}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"),_dom=require("../../ui/src/dom"),_util=require("../../date-panel/src/util"),_util2=require("../../number-input/src/util"),_vn=require("../../ui/src/vn"),_log=require("../../ui/src/log");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,a){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,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 a=e[Symbol.toPrimitive];if(void 0===a)return("string"===t?String:Number)(e);a=a.call(e,t||"default");if("object"!=_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var a;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(a="Object"===(a={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:a)||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(e,t):void 0}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var _createComponentLog=(0,_log.createComponentLog)("input"),warnLog=_createComponentLog.warnLog,_default2=exports.default=(0,_comp.defineVxeComponent)({name:"VxeInput",mixins:[_ui.globalMixins.sizeMixin],model:{prop:"value",event:"modelValue"},props:{value:[String,Number,Date],immediate:{type:Boolean,default:!0},name:String,title:String,type:{type:String,default:"text"},clearable:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.clearable}},delClearable:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.delClearable}},readonly:{type:Boolean,default:null},disabled:{type:Boolean,default:null},placeholder:{type:String,default:null},floatContent:{type:String,default:function(){return(0,_ui.getConfig)().input.floatContent}},floatAlign:{type:String,default:function(){return(0,_ui.getConfig)().input.floatAlign}},maxLength:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.maxLength}},autoComplete:{type:String,default:"off"},autoFocus:{type:Boolean,default:null},align:String,form:String,className:String,inputClassName:{type:String,default:function(){return(0,_ui.getConfig)().input.inputClassName}},size:{type:String,default:function(){return(0,_ui.getConfig)().input.size||(0,_ui.getConfig)().size}},multiple:Boolean,showWordCount:Boolean,countMethod:Function,min:{type:[String,Number],default:null},max:{type:[String,Number],default:null},step:[String,Number],trim:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.trim}},exponential:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.exponential}},controls:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.controls}},digits:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.digits}},startDate:{type:[String,Number,Date],default:function(){return(0,_ui.getConfig)().input.startDate}},endDate:{type:[String,Number,Date],default:function(){return(0,_ui.getConfig)().input.endDate}},minDate:[String,Number,Date],maxDate:[String,Number,Date],startWeek:Number,startDay:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.startDay}},labelFormat:String,valueFormat:String,editable:{type:Boolean,default:!0},festivalMethod:{type:Function,default:function(){return(0,_ui.getConfig)().input.festivalMethod}},disabledMethod:{type:Function,default:function(){return(0,_ui.getConfig)().input.disabledMethod}},selectDay:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.selectDay}},prefixIcon:String,prefixConfig:Object,suffixIcon:String,suffixConfig:Object,placement:String,transfer:{type:Boolean,default:null},maxlength:[String,Number],autocomplete:String},inject:{$xeSelect:{default:null},$xeTreeSelect:{default:null},$xeModal:{default:null},$xeDrawer:{default:null},$xeTable:{default:null},$xeForm:{default:null},formItemInfo:{from:"xeFormItemInfo",default:null}},data:function(){return{xID:_xeUtils.default.uniqueId(),reactData:{initialized:!1,panelIndex:0,showPwd:!1,visiblePanel:!1,isAniVisible:!1,panelStyle:{},panelPlacement:"",isActivated:!1,inputValue:"",datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null},internalData:{yearSize:12,monthSize:20,quarterSize:8,hpTimeout:void 0,dnTimeout:void 0}}},computed:Object.assign(Object.assign({},{}),{computePrefixOpts:function(){return Object.assign({},(0,_ui.getConfig)().input.prefixConfig,this.prefixConfig)},computeSuffixOpts:function(){return Object.assign({},(0,_ui.getConfig)().input.suffixConfig,this.suffixConfig)},computeBtnTransfer:function(){var e=this,t=e.$xeTable,a=e.$xeModal,n=e.$xeDrawer,i=e.$xeForm,e=e.transfer;if(null===e){var u=(0,_ui.getConfig)().input.transfer;if(_xeUtils.default.isBoolean(u))return u;if(t||a||n||i)return!0}return e},computeFormReadonly:function(){var e,t=this.$xeForm;return"obsolete"===(0,_ui.getConfig)().inputReadonly||null===(e=this.readonly)?!!t&&t.readonly:e},computeIsDisabled:function(){var e=this.$xeForm,t=this.disabled;return null===t?!!e&&e.disabled:t},computeInpMaxLength:function(){var e=this.maxLength,t=this.maxlength,e=e||t;return this.computeIsNumType&&!_xeUtils.default.toNumber(e)?16:e},computeIsDateTimeType:function(){var e=this.type;return"time"===e||"datetime"===e},computeIsNumType:function(){return-1<["number","integer","float"].indexOf(this.type)},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)},computeIsDatePickerType:function(){return this.computeIsDateTimeType||-1<["date","week","month","quarter","year"].indexOf(this.type)},computeIsPawdType:function(){return"password"===this.type},computeIsSearchType:function(){return"search"===this.type},computeDigitsValue:function(){return _xeUtils.default.toInteger(this.digits)||1},computeStepValue:function(){var e=this.type,t=this.computeDigitsValue,a=this.step;return"integer"===e?_xeUtils.default.toInteger(a)||1:"float"===e?_xeUtils.default.toNumber(a)||1/Math.pow(10,t):_xeUtils.default.toNumber(a)||1},computeIsClearable:function(){var e=this.type,t=this.computeIsNumType,a=this.computeIsDatePickerType,n=this.computeIsPawdType;return this.clearable&&(n||t||a||"text"===e||"search"===e)},computeDateStartTime:function(){return this.startDate?_xeUtils.default.toStringDate(this.startDate):null},computeDateEndTime:function(){return this.endDate?_xeUtils.default.toStringDate(this.endDate):null},computeSupportMultiples:function(){return-1<["date","week","month","quarter","year"].indexOf(this.type)},computeDateListValue:function(){var t=this,e=t.value,a=t.computeIsDatePickerType,n=t.computeDateValueFormat;return t.multiple&&e&&a?_xeUtils.default.toValueString(e).split(",").map(function(e){e=t.parseDate(e,n);return _xeUtils.default.isValidDate(e),e}):[]},computeDateMultipleValue:function(){var e=this.computeDateListValue,t=this.computeDateValueFormat;return e.map(function(e){return _xeUtils.default.toDateString(e,t)})},computeDateMultipleLabel:function(){var e=this.computeDateListValue,t=this.computeDateLabelFormat;return e.map(function(e){return _xeUtils.default.toDateString(e,t)}).join(", ")},computeDateValueFormat:function(){var e=this.type,t=this.valueFormat;return t||("time"===e?"HH:mm:ss":"datetime"===e?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")},computeDateValue:function(){var e=this.value,t=this.computeIsDatePickerType,a=this.computeDateValueFormat,n=null;return n=e&&t&&(t=this.parseDate(e,a),_xeUtils.default.isValidDate(t))?t:n},computeIsDisabledPrevDateBtn:function(){var e=this.reactData,t=this.computeDateStartTime,e=e.selectMonth;return!(!e||!t)&&e<=t},computeIsDisabledNextDateBtn:function(){var e=this.reactData,t=this.computeDateEndTime,e=e.selectMonth;return!(!e||!t)&&t<=e},computeDateTimeLabel:function(){var e=this.reactData.datetimePanelValue,t=this.computeHasTimeSecond;return e?_xeUtils.default.toDateString(e,t?"HH:mm:ss":"HH:mm"):""},computeDateHMSTime:function(){var e=this.computeDateValue,t=this.computeIsDateTimeType;return e&&t?1e3*(3600*e.getHours()+60*e.getMinutes()+e.getSeconds()):0},computeDateLabelFormat:function(){var e=this.labelFormat;return this.computeIsDatePickerType?e||(0,_ui.getI18n)("vxe.input.date.labelFormat.".concat(this.type)):""},computeYearList:function(){var e=this.reactData,t=this.internalData,a=e.selectMonth,e=e.currentDate,n=t.yearSize,i=[];if(a&&e)for(var u=e.getFullYear(),t=a.getFullYear(),r=new Date(t-t%n,0,1),l=-4;l<n+4;l++){var s=_xeUtils.default.getWhatYear(r,l,"first"),o=s.getFullYear();i.push({date:s,isCurrent:!0,isPrev:l<0,isNow:u===o,isNext:n<=l,year:o})}return i},computeSelectDatePanelObj:function(){var e,t,a,n,i=this.reactData,u="",r="";return this.computeIsDatePickerType&&(e=i.datePanelType,i=i.selectMonth,t=this.computeYearList,a="",i&&(a=i.getFullYear(),n=i.getMonth()+1),"quarter"===e||"month"===e?u=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[a]):"year"===e?u=t.length?"".concat(t[0].year," - ").concat(t[t.length-1].year):"":(u=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[a]),r=n?(0,_ui.getI18n)("vxe.input.date.m".concat(n)):"-")),{y:u,m:r}},computeFirstDayOfWeek:function(){var e=this.startDay,t=this.startWeek;return _xeUtils.default.toNumber(_xeUtils.default.isNumber(e)||_xeUtils.default.isString(e)?e:t)},computeWeekDatas:function(){var e=[];if(this.computeIsDatePickerType){var t=this.computeFirstDayOfWeek;e.push(t);for(var a=0;a<6;a++)6<=t?t=0:t++,e.push(t)}return e},computeDateHeaders:function(){return this.computeIsDatePickerType?this.computeWeekDatas.map(function(e){return{value:e,label:(0,_ui.getI18n)("vxe.input.date.weeks.w".concat(e))}}):[]},computeWeekHeaders:function(){var e;return this.computeIsDatePickerType?(e=this.computeDateHeaders,[{label:(0,_ui.getI18n)("vxe.input.date.weeks.w")}].concat(e)):[]},computeYearDatas:function(){var e=this.computeYearList;return _xeUtils.default.chunk(e,4)},computeQuarterList:function(){var e=this.reactData,t=this.internalData,a=e.selectMonth,e=e.currentDate,n=t.quarterSize,i=[];if(a&&e)for(var u=e.getFullYear(),r=(0,_util.getDateQuarter)(e),l=_xeUtils.default.getWhatYear(a,0,"first"),s=l.getFullYear(),o=-2;o<n-2;o++){var c=_xeUtils.default.getWhatQuarter(l,o),p=c.getFullYear(),d=(0,_util.getDateQuarter)(c),m=p<s;i.push({date:c,isPrev:m,isCurrent:p===s,isNow:p===u&&d===r,isNext:!m&&s<p,quarter:d})}return i},computeQuarterDatas:function(){var e=this.computeQuarterList;return _xeUtils.default.chunk(e,2)},computeMonthList:function(){var e=this.reactData,t=this.internalData,a=e.selectMonth,e=e.currentDate,n=t.monthSize,i=[];if(a&&e)for(var u=e.getFullYear(),r=e.getMonth(),l=_xeUtils.default.getWhatYear(a,0,"first").getFullYear(),s=-4;s<n-4;s++){var o=_xeUtils.default.getWhatYear(a,0,s),c=o.getFullYear(),p=o.getMonth(),d=c<l;i.push({date:o,isPrev:d,isCurrent:c===l,isNow:c===u&&p===r,isNext:!d&&l<c,month:p})}return i},computeMonthDatas:function(){var e=this.computeMonthList;return _xeUtils.default.chunk(e,4)},computeDayList:function(){var e=this.reactData,t=e.selectMonth,e=e.currentDate,a=[];if(t&&e)for(var n=this.computeDateHMSTime,i=this.computeWeekDatas,u=e.getFullYear(),r=e.getMonth(),l=e.getDate(),s=t.getFullYear(),o=t.getMonth(),e=t.getDay(),i=-i.indexOf(e),c=new Date(_xeUtils.default.getWhatDay(t,i).getTime()+n),p=0;p<42;p++){var d=_xeUtils.default.getWhatDay(c,p),m=d.getFullYear(),f=d.getMonth(),h=d.getDate(),v=d<t;a.push({date:d,isPrev:v,isCurrent:m===s&&f===o,isNow:m===u&&f===r&&h===l,isNext:!v&&o!==f,label:h})}return a},computeDayDatas:function(){var e=this.computeDayList;return _xeUtils.default.chunk(e,7)},computeWeekDates:function(){var e=this.computeDayDatas,a=this.computeFirstDayOfWeek;return e.map(function(e){var t=e[0];return[{date:t.date,isWeekNumber:!0,isPrev:!1,isCurrent:!1,isNow:!1,isNext:!1,label:_xeUtils.default.getYearWeek(t.date,a)}].concat(e)})},computeHourList:function(){var e=[];if(this.computeIsDateTimeType)for(var t=0;t<24;t++)e.push({value:t,label:(""+t).padStart(2,"0"),disabled:!1});return e},computeMinuteList:function(){var e=[];if(this.computeIsDateTimeType)for(var t=0;t<60;t++)e.push({value:t,label:(""+t).padStart(2,"0"),disabled:!1});return e},computeHasTimeMinute:function(){var e=this.computeDateValueFormat;return!/HH/.test(e)||/mm/.test(e)},computeHasTimeSecond:function(){var e=this.computeDateValueFormat;return!/HH/.test(e)||/ss/.test(e)},computeSecondList:function(){return this.computeMinuteList},computeInputReadonly:function(){var e=this.type,t=this.editable,a=this.multiple;return this.computeFormReadonly||a||!t||"week"===e||"quarter"===e},computeInputType:function(){var e=this,t=e.reactData,a=e.type,t=t.showPwd;return e.computeIsDatePickerType||e.computeIsNumType||e.computeIsPawdType&&t||"number"===a?"text":a},computeInpPlaceholder:function(){var e,t=this.placeholder;return t?(0,_utils.getFuncText)(t):_xeUtils.default.eqNull(t)?(e=(0,_ui.getConfig)().input.placeholder)?(0,_utils.getFuncText)(e):(0,_ui.getI18n)("vxe.base.pleaseInput"):t},computeInpImmediate:function(){var e=this.type;return this.immediate||!("text"===e||"number"===e||"integer"===e||"float"===e)},computeNumValue:function(){var e=this.reactData,t=this.type,e=e.inputValue;return this.computeIsNumType?"integer"===t?_xeUtils.default.toInteger((0,_util2.handleNumber)(e)):_xeUtils.default.toNumber((0,_util2.handleNumber)(e)):0},computeIsDisabledSubtractNumber:function(){var e=this.reactData,t=this.min,e=e.inputValue,a=this.computeIsNumType,n=this.computeNumValue;return!(!e&&0!==e||!a||null===t)&&n<=_xeUtils.default.toNumber(t)},computeIsDisabledAddNumber:function(){var e=this.reactData,t=this.max,e=e.inputValue,a=this.computeIsNumType,n=this.computeNumValue;return!(!e&&0!==e||!a||null===t)&&n>=_xeUtils.default.toNumber(t)}}),methods:{dispatchEvent:function(e,t,a){this.$emit(e,(0,_ui.createEvent)(a,{$input:this},t))},emitModel:function(e){var t=this.trim,a=this._events;a&&a.modelValue?this.$emit("modelValue",t?"".concat(e||"").trim():e):this.$emit("model-value",t?"".concat(e||"").trim():e)},focus:function(){var e=this.reactData,t=this.$refs.refInputTarget;return e.isActivated=!0,t.focus(),this.$nextTick()},blur:function(){var e=this.reactData;return this.$refs.refInputTarget.blur(),e.isActivated=!1,this.$nextTick()},select:function(){var e=this.reactData;return this.$refs.refInputTarget.select(),e.isActivated=!1,this.$nextTick()},parseDate:function(e,t){return"time"===this.type?(0,_util.toStringTimeDate)(e):_xeUtils.default.toStringDate(e,t)},getNumberValue:function(e){var t=this.type,a=this.exponential,n=this.computeInpMaxLength,i=this.computeDigitsValue,t="float"===t?(0,_util2.toFloatValueFixed)(e,t,i,""):_xeUtils.default.toValueString(e);return!a||e!==t&&_xeUtils.default.toValueString(e).toLowerCase()!==_xeUtils.default.toNumber(t).toExponential()?t.slice(0,n):e},triggerEvent:function(e){var t=this.reactData.inputValue;this.dispatchEvent(e.type,{value:t},e)},handleChange:function(e,t){var a=this,n=a,i=a.reactData,u=a.$xeForm,r=a.formItemInfo,l=a.$xeSelect,s=a.$xeTreeSelect;n.trim&&(e="".concat(e||"").trim()),i.inputValue=e,a.emitModel(e),a.dispatchEvent("input",{value:e},t),_xeUtils.default.toValueString(n.value)!==e&&(a.dispatchEvent("change",{value:e},t),l||s||u&&r&&u.triggerItemEvent(t,r.itemConfig.field,e))},emitInputEvent:function(e,t){var a=this,n=a.reactData,i=a.$xeForm,u=a.formItemInfo,r=a.$xeSelect,l=a.$xeTreeSelect,s=a.computeIsDatePickerType,o=a.computeInpImmediate;n.inputValue=e,s||(o?a.handleChange(e,t):(a.dispatchEvent("input",{value:e},t),r||l||i&&u&&i.triggerItemEvent(t,u.itemConfig.field,e)))},inputEvent:function(e){var t=e.target.value;this.emitInputEvent(t,e)},changeEvent:function(e){var t=this.reactData;this.computeInpImmediate||this.triggerEvent(e),this.dispatchEvent("lazy-change",{value:t.inputValue},e)},blurEvent:function(e){var t=this,a=t.reactData,n=t.$xeForm,i=t.formItemInfo,u=t.$xeSelect,r=t.$xeTreeSelect,l=a.inputValue;t.computeInpImmediate||t.handleChange(l,e),t.afterCheckValue(),a.visiblePanel||(a.isActivated=!1),t.dispatchEvent("blur",{value:l},e),u||r||n&&i&&n.triggerItemEvent(e,i.itemConfig.field,l)},focusEvent:function(e){var t=this,a=t.reactData,n=a.inputValue,i=t.computeIsNumType,u=t.computeIsDatePickerType;a.isActivated=!0,i?a.inputValue=(0,_utils.eqEmptyValue)(n)?"":"".concat(_xeUtils.default.toNumber(n)):u&&t.datePickerOpenEvent(e),t.triggerEvent(e)},clickPrefixEvent:function(e){var t=this.reactData;this.computeIsDisabled||(t=t.inputValue,this.dispatchEvent("prefix-click",{value:t},e))},hidePanel:function(){var t=this.reactData,a=this.internalData;return new Promise(function(e){t.visiblePanel=!1,a.hpTimeout=setTimeout(function(){t.isAniVisible=!1,e()},350)})},clearValueEvent:function(e,t){var a=this,n=a.type,i=a.autoFocus,u=a.computeIsNumType;a.computeIsDatePickerType&&a.hidePanel(),(i||null===i)&&(u||-1<["text","search","password"].indexOf(n))&&a.focus(),a.handleChange("",e),a.dispatchEvent("clear",{value:t},e),a.dispatchEvent("lazy-change",{value:t},e)},clickSuffixEvent:function(e){var t=this.reactData;this.computeIsDisabled||(t=t.inputValue,this.dispatchEvent("suffix-click",{value:t},e))},dateParseValue:function(e){var t=this,a=t.reactData,n=t.type,i=t.computeDateLabelFormat,u=t.computeFirstDayOfWeek,r=null,l="";e&&(r=t.parseDate(e,t.computeDateValueFormat)),_xeUtils.default.isValidDate(r)?(l=_xeUtils.default.toDateString(r,i,{firstDay:u}),i&&"week"===n&&(e=_xeUtils.default.getYearWeek(r,u),(t=_xeUtils.default.getWhatWeek(r,0,1===e?(6+u)%7:u,u).getFullYear())!==r.getFullYear())&&-1<(n=i.indexOf("yyyy"))&&(e=Number(l.substring(n,n+4)))&&!isNaN(e)&&(l=l.replace("".concat(e),"".concat(t)))):r=null,a.datePanelValue=r,a.datePanelLabel=l},changeValue:function(){var e=this,t=e,a=e.reactData,n=a.inputValue;e.computeIsDatePickerType&&(e.dateParseValue(n),a.inputValue=t.multiple?e.computeDateMultipleLabel:a.datePanelLabel)},initValue:function(){var e=this,t=e.reactData,a=e.type,t=t.inputValue,n=e.computeDigitsValue;e.computeIsDatePickerType?e.changeValue():"float"===a&&t&&t!==(t=(0,_util2.toFloatValueFixed)(t,a,n,""))&&e.handleChange(t,{type:"init"})},validMaxNum:function(e){return null===this.max||""===this.max||_xeUtils.default.toNumber(e)<=_xeUtils.default.toNumber(this.max)},validMinNum:function(e){return null===this.min||""===this.min||_xeUtils.default.toNumber(e)>=_xeUtils.default.toNumber(this.min)},dateRevert:function(){var e=this.reactData;e.inputValue=this.multiple?this.computeDateMultipleLabel:e.datePanelLabel},dateCheckMonth:function(e){var t=this.reactData,a=this.computeFirstDayOfWeek,n=_xeUtils.default.getYearWeek(e,a),a=_xeUtils.default.getWhatWeek(e,0,a,a),n=_xeUtils.default.getWhatMonth(1===n?_xeUtils.default.getWhatDay(a,6):e,0,"first");_xeUtils.default.isEqual(n,t.selectMonth)||(t.selectMonth=n)},dateChange:function(t){var e,a,n=this,i=n,u=n.reactData,r=i.multiple,l=u.datetimePanelValue,u=n.computeIsDateTimeType,s=n.computeDateValueFormat,o=n.computeFirstDayOfWeek,c=("week"===i.type?(e=_xeUtils.default.toNumber(i.selectDay),t=_xeUtils.default.getWhatWeek(t,0,e,o)):u&&(t.setHours(l.getHours()),t.setMinutes(l.getMinutes()),t.setSeconds(l.getSeconds())),_xeUtils.default.toDateString(t,s,{firstDay:o}));n.dateCheckMonth(t),r?(e=n.computeDateMultipleValue,u?(o=_toConsumableArray(n.computeDateListValue),a=[],-1===(r=_xeUtils.default.findIndexOf(o,function(e){return _xeUtils.default.isDateSame(t,e,"yyyyMMdd")}))?o.push(t):o.splice(r,1),o.forEach(function(e){e&&(e.setHours(l.getHours()),e.setMinutes(l.getMinutes()),e.setSeconds(l.getSeconds()),a.push(e))}),n.handleChange(a.map(function(e){return _xeUtils.default.toDateString(e,s)}).join(","),{type:"update"})):e.some(function(e){return _xeUtils.default.isEqual(e,c)})?n.handleChange(e.filter(function(e){return!_xeUtils.default.isEqual(e,c)}).join(","),{type:"update"}):n.handleChange(e.concat([c]).join(","),{type:"update"})):_xeUtils.default.isEqual(i.value,c)||n.handleChange(c,{type:"update"})},afterCheckValue:function(){var e,t=this,a=t.reactData,n=t.type,i=t.min,u=t.max,r=t.exponential,l=a.inputValue,s=a.datetimePanelValue,o=t.computeIsDatePickerType,c=t.computeDateLabelFormat;t.computeInputReadonly||(t.computeIsNumType?l&&((e="".concat((0,_util2.handleNumber)(l)))?(e="integer"===n?_xeUtils.default.toInteger(e):_xeUtils.default.toNumber(e),t.validMinNum(e)?t.validMaxNum(e)||(e=u):e=i,r&&(u=_xeUtils.default.toValueString(l).toLowerCase())===_xeUtils.default.toNumber(e).toExponential()&&(e=u),t.handleChange(t.getNumberValue(e),{type:"check"})):(r="",!i&&0!==i||(r="".concat(i)),t.handleChange(r,{type:"check"}))):o&&(l?(u=t.parseDate(l,c),_xeUtils.default.isValidDate(u)?"time"===n?(l!==(u=_xeUtils.default.toDateString(u,c))&&t.handleChange(u,{type:"check"}),a.inputValue=u):(e=!1,i=t.computeFirstDayOfWeek,"datetime"===n?(r=t.computeDateValue,l===_xeUtils.default.toDateString(r,c)&&l===_xeUtils.default.toDateString(u,c)||(e=!0,s.setHours(u.getHours()),s.setMinutes(u.getMinutes()),s.setSeconds(u.getSeconds()))):e=!0,a.inputValue=_xeUtils.default.toDateString(u,c,{firstDay:i}),e&&t.dateChange(u)):t.dateRevert()):t.handleChange("",{type:"check"})))},passwordToggleEvent:function(e){var t=this.reactData,a=t.showPwd,n=this.computeIsDisabled,i=this.computeInputReadonly;n||i||(t.showPwd=!a),this.dispatchEvent("toggle-visible",{visible:t.showPwd},e)},searchEvent:function(e){this.dispatchEvent("search-click",{},e)},numberChange:function(e,t){var a=this,n=a.reactData,i=a.min,u=a.max,n=n.inputValue,r=a.computeStepValue,n="integer"===a.type?_xeUtils.default.toInteger((0,_util2.handleNumber)(n)):_xeUtils.default.toNumber((0,_util2.handleNumber)(n)),e=e?_xeUtils.default.add(n,r):_xeUtils.default.subtract(n,r),n=a.validMinNum(e)?a.validMaxNum(e)?e:u:i;a.emitInputEvent(a.getNumberValue(n),t)},numberNextEvent:function(e){var t=this,a=t.reactData,n=t.computeIsDisabled,i=t.computeInputReadonly,u=t.computeIsDisabledSubtractNumber;t.numberStopDown(),n||i||u||t.numberChange(!1,e),t.dispatchEvent("next-number",{value:a.inputValue},e)},numberDownNextEvent:function(e){var t=this;t.internalData.dnTimeout=setTimeout(function(){t.numberNextEvent(e),t.numberDownNextEvent(e)},60)},numberPrevEvent:function(e){var t=this,a=t.reactData,n=t.computeIsDisabled,i=t.computeInputReadonly,u=t.computeIsDisabledAddNumber;t.numberStopDown(),n||i||u||t.numberChange(!0,e),t.dispatchEvent("prev-number",{value:a.inputValue},e)},numberKeydownEvent:function(e){var t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),a=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN);(t||a)&&(e.preventDefault(),t?this.numberPrevEvent(e):this.numberNextEvent(e))},keydownEvent:function(e){var t,a,n,i,u,r,l,s=this,o=s.type,c=s.exponential,p=s.controls;s.computeIsNumType&&(t=(0,_dom.hasControlKey)(e),a=e.shiftKey,n=e.altKey,i=e.keyCode,u=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ESCAPE),r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),l=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),t||a||n||(_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.SPACEBAR)||"integer"===o&&110===i||(!c||69!==i)&&65<=i&&i<=90||186<=i&&i<=188||191<=i)&&e.preventDefault(),u?s.afterCheckValue():(r||l)&&p&&s.numberKeydownEvent(e)),s.triggerEvent(e)},keyupEvent:function(e){this.triggerEvent(e)},numberStopDown:function(){var e=this.internalData,t=e.dnTimeout;t&&(clearTimeout(t),e.dnTimeout=void 0)},numberDownPrevEvent:function(e){var t=this;t.internalData.dnTimeout=setTimeout(function(){t.numberPrevEvent(e),t.numberDownPrevEvent(e)},60)},numberMousedownEvent:function(e){var t,a=this,n=a.internalData;a.numberStopDown(),0===e.button&&((t=(0,_dom.hasClass)(e.currentTarget,"is--prev"))?a.numberPrevEvent(e):a.numberNextEvent(e),n.dnTimeout=setTimeout(function(){t?a.numberDownPrevEvent(e):a.numberDownNextEvent(e)},500))},wheelEvent:function(e){var t=this,a=t.reactData;t.computeIsNumType&&t.controls&&a.isActivated&&(0<(a=e.deltaY)?t.numberNextEvent(e):a<0&&t.numberPrevEvent(e),e.preventDefault()),t.triggerEvent(e)},dateMonthHandle:function(e,t){var a=this.reactData,n=this.computeFirstDayOfWeek,i=_xeUtils.default.getYearWeek(e,n),n=_xeUtils.default.getWhatWeek(e,0,n,n),i=_xeUtils.default.getWhatMonth(1===i?_xeUtils.default.getWhatDay(n,6):e,t,"first");a.selectMonth=i},dateNowHandle:function(){var e=this.reactData,t=_xeUtils.default.getWhatDay(Date.now(),0,"first");e.currentDate=t,this.dateMonthHandle(t,0)},dateToggleYearTypeEvent:function(){this.reactData.datePanelType="year"},dateToggleMonthTypeEvent:function(){var e=this.reactData,t="month"===(t=e.datePanelType)||"quarter"===t?"year":"month";e.datePanelType=t},datePrevEvent:function(e){var t=this,a=t.reactData,n=t.type,i=a.datePanelType,u=a.selectMonth,r=t.internalData.yearSize,l=a.inputValue;t.computeIsDisabledPrevDateBtn||(r="year"===n?_xeUtils.default.getWhatYear(u,-r,"first"):"month"===n||"quarter"===n?"year"===i?_xeUtils.default.getWhatYear(u,-r,"first"):_xeUtils.default.getWhatYear(u,-1,"first"):"year"===i?_xeUtils.default.getWhatYear(u,-r,"first"):"month"===i?_xeUtils.default.getWhatYear(u,-1,"first"):_xeUtils.default.getWhatMonth(u,-1,"first"),a.selectMonth=r,t.dispatchEvent("date-prev",{viewType:i,viewDate:r,value:l,type:n},e))},dateTodayMonthEvent:function(e){var t=this,a=t,n=t.reactData;t.dateNowHandle(),a.multiple||(t.dateChange(n.currentDate),t.hidePanel()),t.dispatchEvent("date-today",{type:a.type},e)},dateNextEvent:function(e){var t=this,a=t.reactData,n=t.type,i=a.datePanelType,u=a.selectMonth,r=t.internalData.yearSize,l=a.inputValue;t.computeIsDisabledNextDateBtn||(r="year"===n?_xeUtils.default.getWhatYear(u,r,"first"):"month"===n||"quarter"===n?"year"===i?_xeUtils.default.getWhatYear(u,r,"first"):_xeUtils.default.getWhatYear(u,1,"first"):"year"===i?_xeUtils.default.getWhatYear(u,r,"first"):"month"===i?_xeUtils.default.getWhatYear(u,1,"first"):_xeUtils.default.getWhatMonth(u,1,"first"),a.selectMonth=r,t.dispatchEvent("date-next",{viewType:i,viewDate:r,value:l,type:n},e))},isDateDisabled:function(e){var t=this,a=t.reactData,n=t.disabledMethod,a=a.datePanelType,i=t.computeDateStartTime,u=t.computeDateEndTime,e=e.date;return!!(i&&i.getTime()>e.getTime())||!!(u&&u.getTime()<e.getTime())||!!n&&n({type:a,viewType:a,date:e,$input:t})},dateSelectItem:function(e){var t=this,a=t.reactData,n=t.type,i=t.multiple,u=a.datePanelType;"month"===n?"year"===u?(a.datePanelType="month",t.dateCheckMonth(e)):(t.dateChange(e),i||t.hidePanel()):"year"===n?(t.dateChange(e),i||t.hidePanel()):"quarter"===n?"year"===u?(a.datePanelType="quarter",t.dateCheckMonth(e)):(t.dateChange(e),i||t.hidePanel()):"month"===u?(a.datePanelType="week"===n?n:"day",t.dateCheckMonth(e)):"year"===u?(a.datePanelType="month",t.dateCheckMonth(e)):(t.dateChange(e),"datetime"===n||i||t.hidePanel())},dateSelectEvent:function(e){this.isDateDisabled(e)||this.dateSelectItem(e.date)},dateMoveDay:function(t){this.isDateDisabled({date:t})||(this.computeDayList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyyMMdd")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMoveYear:function(t){this.isDateDisabled({date:t})||(this.computeYearList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyy")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMoveQuarter:function(t){this.isDateDisabled({date:t})||(this.computeQuarterList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyyq")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMoveMonth:function(t){this.isDateDisabled({date:t})||(this.computeMonthList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyyMM")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMouseenterEvent:function(e){var t=this,a=t.reactData;t.isDateDisabled(e)||("month"===(a=a.datePanelType)?t.dateMoveMonth(e.date):"quarter"===a?t.dateMoveQuarter(e.date):"year"===a?t.dateMoveYear(e.date):t.dateMoveDay(e.date))},updateTimePos:function(e){var t;e&&(t=e.offsetHeight,e.parentNode.scrollTop=e.offsetTop-4*t)},dateTimeChangeEvent:function(e){var t=this.reactData;t.datetimePanelValue=new Date(t.datetimePanelValue.getTime()),this.updateTimePos(e.currentTarget)},dateHourEvent:function(e,t){this.reactData.datetimePanelValue.setHours(t.value),this.dateTimeChangeEvent(e)},dateConfirmEvent:function(){var t,a,e=this,n=e.reactData,i=e.multiple,u=n.datetimePanelValue,r=e.computeDateValue,l=e.computeIsDateTimeType;l&&(t=e.computeDateValueFormat,i?(i=e.computeDateMultipleValue,l?(l=_toConsumableArray(e.computeDateListValue),a=[],l.forEach(function(e){e&&(e.setHours(u.getHours()),e.setMinutes(u.getMinutes()),e.setSeconds(u.getSeconds()),a.push(e))}),e.handleChange(a.map(function(e){return _xeUtils.default.toDateString(e,t)}).join(","),{type:"update"})):e.handleChange(i.join(","),{type:"update"})):e.dateChange(r||n.currentDate)),e.hidePanel()},dateMinuteEvent:function(e,t){this.reactData.datetimePanelValue.setMinutes(t.value),this.dateTimeChangeEvent(e)},dateSecondEvent:function(e,t){this.reactData.datetimePanelValue.setSeconds(t.value),this.dateTimeChangeEvent(e)},dateOffsetEvent:function(e){var t,a,n,i=this,u=i.reactData,r=u.isActivated,l=u.datePanelValue,u=u.datePanelType;r&&(e.preventDefault(),r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),a=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),e=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),"year"===u?(n=_xeUtils.default.getWhatYear(l||Date.now(),0,"first"),r?n=_xeUtils.default.getWhatYear(n,-1):t?n=_xeUtils.default.getWhatYear(n,-4):a?n=_xeUtils.default.getWhatYear(n,1):e&&(n=_xeUtils.default.getWhatYear(n,4)),i.dateMoveYear(n)):"quarter"===u?(n=_xeUtils.default.getWhatQuarter(l||Date.now(),0,"first"),r?n=_xeUtils.default.getWhatQuarter(n,-1):t?n=_xeUtils.default.getWhatQuarter(n,-2):a?n=_xeUtils.default.getWhatQuarter(n,1):e&&(n=_xeUtils.default.getWhatQuarter(n,2)),i.dateMoveQuarter(n)):"month"===u?(n=_xeUtils.default.getWhatMonth(l||Date.now(),0,"first"),r?n=_xeUtils.default.getWhatMonth(n,-1):t?n=_xeUtils.default.getWhatMonth(n,-4):a?n=_xeUtils.default.getWhatMonth(n,1):e&&(n=_xeUtils.default.getWhatMonth(n,4)),i.dateMoveMonth(n)):(u=l||_xeUtils.default.getWhatDay(Date.now(),0,"first"),n=i.computeFirstDayOfWeek,r?u=_xeUtils.default.getWhatDay(u,-1):t?u=_xeUtils.default.getWhatWeek(u,-1,n):a?u=_xeUtils.default.getWhatDay(u,1):e&&(u=_xeUtils.default.getWhatWeek(u,1,n)),i.dateMoveDay(u)))},datePgOffsetEvent:function(e){var t;this.reactData.isActivated&&(t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),e.preventDefault(),t?this.datePrevEvent(e):this.dateNextEvent(e))},dateOpenPanel:function(){var t=this,e=t.reactData,a=t.type,n=t.computeIsDateTimeType,i=t.computeDateValue;-1<["year","quarter","month","week"].indexOf(a)?e.datePanelType=a:e.datePanelType="day",e.currentDate=_xeUtils.default.getWhatDay(Date.now(),0,"first"),i?(t.dateMonthHandle(i,0),t.dateParseValue(i)):t.dateNowHandle(),n&&(e.datetimePanelValue=e.datePanelValue||_xeUtils.default.getWhatDay(Date.now(),0,"first"),t.$nextTick(function(){var e=t.$refs.refInputTimeBody;_xeUtils.default.arrayEach(e.querySelectorAll("li.is--selected"),function(e){t.updateTimePos(e)})}))},updateZindex:function(){var e=this.reactData;e.panelIndex<(0,_utils.getLastZIndex)()&&(e.panelIndex=(0,_utils.nextZIndex)())},updatePlacement:function(){var d=this,m=d,f=d.reactData;return d.$nextTick().then(function(){var e,t,a,n,i,u,r,l=m.placement,s=f.panelIndex,o=d.$refs.refInputTarget,c=d.$refs.refInputPanel,p=d.computeBtnTransfer;if(o&&c)return e=o.offsetHeight,t=o.offsetWidth,a=c.offsetHeight,c=c.offsetWidth,s={zIndex:s},n=(o=(0,_dom.getAbsolutePos)(o)).boundingTop,i=o.visibleHeight,u=o.visibleWidth,r="bottom",p?(p=n+e,"top"===l?(r="top",p=n-a):l||(i<p+a+5&&(r="top",p=n-a),p<5&&(r="bottom",p=n+e)),u<(o=o.boundingLeft)+c+5&&(o-=o+c+5-u),o<5&&(o=5),Object.assign(s,{left:"".concat(o,"px"),top:"".concat(p,"px"),minWidth:"".concat(t,"px")})):"top"===l?(r="top",s.bottom="".concat(e,"px")):l||(s.top="".concat(e,"px"),i<n+e+a&&5<n-e-a&&(r="top",s.top="",s.bottom="".concat(e,"px"))),f.panelStyle=s,f.panelPlacement=r,d.$nextTick()})},showPanel:function(){var e=this,t=e.reactData,a=e.internalData,n=t.visiblePanel,i=a.hpTimeout,u=e.computeIsDatePickerType,r=e.computeBtnTransfer;return e.computeIsDisabled||n?e.$nextTick():(n=e.$refs.refInputPanel,t.initialized||(t.initialized=!0,r&&n&&document.body.appendChild(n)),i&&(clearTimeout(i),a.hpTimeout=void 0),t.isActivated=!0,t.isAniVisible=!0,u&&e.dateOpenPanel(),setTimeout(function(){t.visiblePanel=!0},10),e.updateZindex(),e.updatePlacement())},datePickerOpenEvent:function(e){this.computeInputReadonly||(e.preventDefault(),this.showPanel())},clickEvent:function(e){this.triggerEvent(e)},handleGlobalMousedownEvent:function(e){var t=this,a=t.reactData,n=a.visiblePanel,i=t.computeIsDatePickerType,u=t.$refs.refElem,r=t.$refs.refPanelWrapper;!t.computeIsDisabled&&a.isActivated&&(a.isActivated=(0,_dom.getEventTargetNode)(e,u).flag||(0,_dom.getEventTargetNode)(e,r).flag,a.isActivated||(i?n&&(t.hidePanel(),t.afterCheckValue()):t.afterCheckValue()))},handleGlobalKeydownEvent:function(e){var t,a,n,i,u,r,l,s,o,c,p=this,d=p.reactData,m=p.clearable,f=p.delClearable,h=d.visiblePanel,v=p.computeIsDatePickerType;p.computeIsDisabled||(t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.TAB),a=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.DELETE),n=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ESCAPE),i=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ENTER),o=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),u=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),c=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),l=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),s=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.PAGE_DOWN),o=o||u||c||r,c=d.isActivated,t?(c&&p.afterCheckValue(),d.isActivated=c=!1):o?v&&c&&(h?p.dateOffsetEvent(e):(u||r)&&p.datePickerOpenEvent(e)):i?v&&(h?d.datePanelValue?p.dateSelectItem(d.datePanelValue):p.hidePanel():c&&p.datePickerOpenEvent(e)):(l||s)&&v&&c&&p.datePgOffsetEvent(e),(t||n)&&h&&p.hidePanel(),f&&a&&m&&c&&p.clearValueEvent(e,null))},handleGlobalMousewheelEvent:function(e){var t=this,a=t.reactData.visiblePanel;t.computeIsDisabled||a&&(a=t.$refs.refPanelWrapper,(0,_dom.getEventTargetNode)(e,a).flag?t.updatePlacement():(t.hidePanel(),t.afterCheckValue()))},handleGlobalBlurEvent:function(){var e=this.reactData,t=e.isActivated;e.visiblePanel&&this.hidePanel(),t&&(e.isActivated=!1),t&&(this.afterCheckValue(),e=this.$refs.refInputTarget)&&e.blur()},renderDateLabel:function(t,e,a){var n=this.reactData,i=this.festivalMethod;return i?(e=(i=(n=i({type:i=n.datePanelType,viewType:i,date:e.date,$input:this}))?_xeUtils.default.isString(n)?{label:n}:n:{}).extra?_xeUtils.default.isString(i.extra)?{label:i.extra}:i.extra:null,n=[t("span",{class:["vxe-input--date-label",{"is-notice":i.notice}]},e&&e.label?[t("span","".concat(a||"")),t("span",{class:["vxe-input--date-label--extra",e.important?"is-important":"",e.className],style:e.style},_xeUtils.default.toValueString(e.label))]:["".concat(a||"")])],(e=i.label)&&(e=_xeUtils.default.toValueString(e).split(","),n.push(t("span",{class:["vxe-input--date-festival",i.important?"is-important":"",i.className],style:i.style},[1<e.length?t("span",{class:["vxe-input--date-festival--overlap","overlap--".concat(e.length)]},e.map(function(e){return t("span",e.substring(0,3))})):t("span",{class:"vxe-input--date-festival--label"},e[0].substring(0,3))]))),n):["".concat(a||"")]},renderDateDayTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,u=e.datePanelValue,r=n.computeDateValue,e=n.computeDateHeaders,l=n.computeDayDatas,s=n.computeDateListValue,o="yyyyMMdd";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("thead",[a("tr",e.map(function(e){return a("th",e.label)}))]),a("tbody",l.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?s.some(function(e){return _xeUtils.default.isDateSame(e,t.date,o)}):_xeUtils.default.isDateSame(r,t.date,o),"is--hover":_xeUtils.default.isDateSame(u,t.date,o)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,t.label))}))}))])]},renderDateWeekTable:function(n){var i=this,e=i.reactData,u=i.multiple,t=e.datePanelType,r=e.datePanelValue,l=i.computeDateValue,e=i.computeWeekHeaders,a=i.computeWeekDates,s=i.computeDateListValue,o="yyyyMMdd";return[n("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[n("thead",[n("tr",e.map(function(e){return n("th",e.label)}))]),n("tbody",a.map(function(e){var t=u?e.some(function(t){return s.some(function(e){return _xeUtils.default.isDateSame(e,t.date,o)})}):e.some(function(e){return _xeUtils.default.isDateSame(l,e.date,o)}),a=e.some(function(e){return _xeUtils.default.isDateSame(r,e.date,o)});return n("tr",e.map(function(e){return n("td",{class:{"is--prev":e.isPrev,"is--current":e.isCurrent,"is--now":e.isNow,"is--next":e.isNext,"is--disabled":i.isDateDisabled(e),"is--selected":t,"is--hover":a},on:{click:function(){return i.dateSelectEvent(e)},mouseenter:function(){return i.dateMouseenterEvent(e)}}},i.renderDateLabel(n,e,e.label))}))}))])]},renderDateMonthTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,u=e.datePanelValue,r=n.computeDateValue,e=n.computeMonthDatas,l=n.computeDateListValue,s="yyyyMM";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("tbody",e.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?l.some(function(e){return _xeUtils.default.isDateSame(e,t.date,s)}):_xeUtils.default.isDateSame(r,t.date,s),"is--hover":_xeUtils.default.isDateSame(u,t.date,s)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,(0,_ui.getI18n)("vxe.input.date.months.m".concat(t.month))))}))}))])]},renderDateQuarterTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,u=e.datePanelValue,r=n.computeDateValue,e=n.computeQuarterDatas,l=n.computeDateListValue,s="yyyyq";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("tbody",e.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?l.some(function(e){return _xeUtils.default.isDateSame(e,t.date,s)}):_xeUtils.default.isDateSame(r,t.date,s),"is--hover":_xeUtils.default.isDateSame(u,t.date,s)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,(0,_ui.getI18n)("vxe.input.date.quarters.q".concat(t.quarter))))}))}))])]},renderDateYearTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,u=e.datePanelValue,r=n.computeDateValue,e=n.computeYearDatas,l=n.computeDateListValue,s="yyyy";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("tbody",e.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?l.some(function(e){return _xeUtils.default.isDateSame(e,t.date,s)}):_xeUtils.default.isDateSame(r,t.date,s),"is--hover":_xeUtils.default.isDateSame(u,t.date,s)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,t.year))}))}))])]},renderDateTable:function(e){var t=this;switch(t.reactData.datePanelType){case"week":return t.renderDateWeekTable(e);case"month":return t.renderDateMonthTable(e);case"quarter":return t.renderDateQuarterTable(e);case"year":return t.renderDateYearTable(e)}return t.renderDateDayTable(e)},renderDatePanel:function(e){var t=this,a=t.reactData,n=t.multiple,a=a.datePanelType,i=t.computeIsDisabledPrevDateBtn,u=t.computeIsDisabledNextDateBtn,r=t.computeSelectDatePanelObj;return[e("div",{class:"vxe-input--date-picker-header"},[e("div",{class:"vxe-input--date-picker-type-wrapper"},["year"===a?e("span",{class:"vxe-input--date-picker-label"},r.y):e("span",{class:"vxe-input--date-picker-btns"},[e("span",{class:"vxe-input--date-picker-btn",on:{click:t.dateToggleYearTypeEvent}},r.y),r.m?e("span",{class:"vxe-input--date-picker-btn",on:{click:t.dateToggleMonthTypeEvent}},r.m):(0,_ui.renderEmptyElement)(t)])]),e("div",{class:"vxe-input--date-picker-btn-wrapper"},[e("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":i}],on:{click:t.datePrevEvent}},[e("i",{class:"vxe-icon-caret-left"})]),e("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",on:{click:t.dateTodayMonthEvent}},[e("i",{class:"vxe-icon-dot"})]),e("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":u}],on:{click:t.dateNextEvent}},[e("i",{class:"vxe-icon-caret-right"})]),n&&t.computeSupportMultiples?e("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[e("button",{class:"vxe-input--date-picker-confirm",attrs:{type:"button"},on:{click:t.dateConfirmEvent}},(0,_ui.getI18n)("vxe.button.confirm"))]):null])]),e("div",{class:"vxe-input--date-picker-body"},t.renderDateTable(e))]},renderTimePanel:function(a){var n=this,i=n.reactData.datetimePanelValue,e=n.computeHourList,t=n.computeHasTimeMinute,u=n.computeMinuteList,r=n.computeHasTimeSecond,l=n.computeSecondList;return[a("div",{class:"vxe-input--time-picker-header"},[t?a("span",{class:"vxe-input--time-picker-title"},n.computeDateTimeLabel):(0,_ui.renderEmptyElement)(n),a("div",{class:"vxe-input--time-picker-btn"},[a("button",{class:"vxe-input--time-picker-confirm",attrs:{type:"button"},on:{click:n.dateConfirmEvent}},(0,_ui.getI18n)("vxe.button.confirm"))])]),a("div",{ref:"refInputTimeBody",class:"vxe-input--time-picker-body"},[a("ul",{class:"vxe-input--time-picker-hour-list"},e.map(function(t,e){return a("li",{key:e,class:{"is--selected":i&&i.getHours()===t.value},on:{click:function(e){return n.dateHourEvent(e,t)}}},t.label)})),t?a("ul",{class:"vxe-input--time-picker-minute-list"},u.map(function(t,e){return a("li",{key:e,class:{"is--selected":i&&i.getMinutes()===t.value},on:{click:function(e){return n.dateMinuteEvent(e,t)}}},t.label)})):(0,_ui.renderEmptyElement)(n),t&&r?a("ul",{class:"vxe-input--time-picker-second-list"},l.map(function(t,e){return a("li",{key:e,class:{"is--selected":i&&i.getSeconds()===t.value},on:{click:function(e){return n.dateSecondEvent(e,t)}}},t.label)})):(0,_ui.renderEmptyElement)(n)])]},renderPanel:function(e){var t=this,a=t.reactData,n=t.type,i=a.initialized,u=a.isAniVisible,r=a.visiblePanel,l=a.panelPlacement,a=a.panelStyle,s=t.computeSize,o=t.computeBtnTransfer,c=[];return t.computeIsDatePickerType?(c.push("datetime"===n?e("div",{key:n,ref:"refPanelWrapper",class:"vxe-input--panel-layout-wrapper"},[e("div",{class:"vxe-input--panel-left-wrapper"},t.renderDatePanel(e)),e("div",{class:"vxe-input--panel-right-wrapper"},t.renderTimePanel(e))]):"time"===n?e("div",{key:n,ref:"refPanelWrapper",class:"vxe-input--panel-wrapper"},t.renderTimePanel(e)):e("div",{key:n||"default",ref:"refPanelWrapper",class:"vxe-input--panel-wrapper"},t.renderDatePanel(e))),e("div",{ref:"refInputPanel",class:["vxe-table--ignore-clear vxe-input--panel","type--".concat(n),_defineProperty(_defineProperty(_defineProperty(_defineProperty({},"size--".concat(s),s),"is--transfer",o),"ani--leave",u),"ani--enter",r)],attrs:{placement:l},style:a},i&&(r||u)?c:[])):(0,_ui.renderEmptyElement)(t)},renderNumberIcon:function(e){var t=this,a=t.computeIsDisabledAddNumber,n=t.computeIsDisabledSubtractNumber;return e("div",{class:"vxe-input--control-icon"},[e("div",{class:"vxe-input--number-icon"},[e("div",{class:["vxe-input--number-btn is--prev",{"is--disabled":a}],on:{mousedown:t.numberMousedownEvent,mouseup:t.numberStopDown,mouseleave:t.numberStopDown}},[e("i",{class:(0,_ui.getIcon)().INPUT_PLUS_NUM})]),e("div",{class:["vxe-input--number-btn is--next",{"is--disabled":n}],on:{mousedown:t.numberMousedownEvent,mouseup:t.numberStopDown,mouseleave:t.numberStopDown}},[e("i",{class:(0,_ui.getIcon)().INPUT_MINUS_NUM})])])])},renderDatePickerIcon:function(e){return e("div",{class:"vxe-input--control-icon",on:{click:this.datePickerOpenEvent}},[e("i",{class:["vxe-input--date-picker-icon",(0,_ui.getIcon)().DATE_PICKER_DATE]})])},renderSearchIcon:function(e){return e("div",{class:"vxe-input--control-icon",on:{click:this.searchEvent}},[e("i",{class:["vxe-input--search-icon",(0,_ui.getIcon)().INPUT_SEARCH]})])},renderPasswordIcon:function(e){var t=this.reactData.showPwd;return e("div",{class:"vxe-input--control-icon",on:{click:this.passwordToggleEvent}},[e("i",{class:["vxe-input--password-icon",t?(0,_ui.getIcon)().PASSWORD_INPUT_SHOW_PWD:(0,_ui.getIcon)().PASSWORD_INPUT_HIDE_PWD]})])},renderPrefixIcon:function(e){var t=this,a=t.$scopedSlots,n=t.prefixIcon,i=t.computePrefixOpts,a=a.prefix,n=n||i.icon,i=i.content;return a||n||i?e("div",{class:"vxe-input--prefix",on:{click:t.clickPrefixEvent}},[e("div",{class:"vxe-input--prefix-icon"},a?(0,_vn.getSlotVNs)(a({})):[n?e("i",{class:n}):(0,_ui.renderEmptyElement)(t),i?e("span",{class:"vxe-input--prefix-text"},"".concat(i)):(0,_ui.renderEmptyElement)(t)])]):null},renderSuffixIcon:function(e){var t=this,a=t.$scopedSlots,n=t.suffixIcon,i=t.reactData.inputValue,a=a.suffix,u=t.computeSuffixOpts,r=t.computeIsClearable,l=t.computeIsPawdType||t.computeIsNumType||t.computeIsDatePickerType||t.computeIsSearchType,n=n||u.icon,u=u.content;return r||a||n||u||l?e("div",{class:["vxe-input--suffix",{"is--clear":r&&!t.computeIsDisabled&&!(""===i||_xeUtils.default.eqNull(i))}]},[r?e("div",{class:"vxe-input--clear-icon",on:{click:t.clearValueEvent}},[e("i",{class:(0,_ui.getIcon)().INPUT_CLEAR})]):(0,_ui.renderEmptyElement)(t),l?t.renderExtraSuffixIcon(e):(0,_ui.renderEmptyElement)(t),a||n||u?e("div",{class:"vxe-input--suffix-icon",on:{click:t.clickSuffixEvent}},a?(0,_vn.getSlotVNs)(a({})):[n?e("i",{class:n}):(0,_ui.renderEmptyElement)(t),u?e("span",{class:"vxe-input--suffix-text"},"".concat(u)):(0,_ui.renderEmptyElement)(t)]):(0,_ui.renderEmptyElement)(t)]):null},renderExtraSuffixIcon:function(e){var t=this,a=t.controls,n=t.computeIsNumType,i=t.computeIsDatePickerType,u=t.computeIsSearchType;return t.computeIsPawdType?t.renderPasswordIcon(e):n&&a?t.renderNumberIcon(e):i?t.renderDatePickerIcon(e):u?t.renderSearchIcon(e):(0,_ui.renderEmptyElement)(t)},renderVN:function(e){var t,a,n,i,u,r,l,s,o,c=this,p=c.$scopedSlots,d=c.reactData,m=c.className,f=c.inputClassName,h=c.controls,v=c.type,y=c.title,g=c.floatContent,D=c.align,x=c.showWordCount,_=c.countMethod,b=c.name,E=c.autoComplete,P=c.autocomplete,T=c.floatAlign,S=d.inputValue,I=d.visiblePanel,d=d.isActivated,k=c.computeSize,V=c.computeIsDisabled;return c.computeFormReadonly?e("div",{ref:"refElem",class:["vxe-input--readonly","type--".concat(v),m]},S):(t=c.computeIsCountError,a=c.computeInputCount,n=c.computeInputReadonly,i=c.computeInpMaxLength,u=c.computeInputType,r=c.computeInpPlaceholder,l=c.computeIsClearable,x=x&&["text","search"].includes(v),s=c.renderPrefixIcon(e),o=c.renderSuffixIcon(e),p=p.float,e("div",{ref:"refElem",class:["vxe-input","type--".concat(v),g?"fla--".concat(T||"center"):"",m,(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(v={},"size--".concat(k),k),"is--".concat(D),D),"is--controls",h),"is--prefix",!!s),"is--suffix",!!o),"is--visible",I),"is--clear",l),"is--count",x),"is--disabled",V),"is--active",d),_defineProperty(v,"show--clear",l&&!V&&!(""===S||_xeUtils.default.eqNull(S))))],attrs:{spellcheck:!1}},[s||(0,_ui.renderEmptyElement)(c),e("div",{class:"vxe-input--wrapper",attrs:y?{title:y}:void 0},[e("input",{ref:"refInputTarget",class:"vxe-input--inner"+(f?" "+f:""),domProps:{value:S},attrs:{name:b,type:u,placeholder:r,maxlength:i,readonly:n,disabled:V,autocomplete:E||P},on:{keydown:c.keydownEvent,keyup:c.keyupEvent,click:c.clickEvent,input:c.inputEvent,change:c.changeEvent,focus:c.focusEvent,blur:c.blurEvent}}),g||p?e("span",{class:"vxe-input--float-wrapper"},p?p({}):(0,_utils.getText)(g)):(0,_ui.renderEmptyElement)(c)]),o||(0,_ui.renderEmptyElement)(c),c.renderPanel(e),x?e("span",{class:["vxe-input--count",{"is--error":t}]},_?"".concat(_({value:S})):"".concat(a).concat(i?"/".concat(i):"")):(0,_ui.renderEmptyElement)(c)]))}},watch:{value:function(e){this.reactData.inputValue=e,this.changeValue()},type:function(){var e=this.reactData;Object.assign(e,{inputValue:this.value,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),this.initValue()},computeDateLabelFormat:function(){var e=this,t=e,a=e.reactData;e.computeIsDatePickerType&&(e.dateParseValue(a.datePanelValue),a.inputValue=t.multiple?e.computeDateMultipleLabel:a.datePanelLabel)}},created:function(){this.reactData.inputValue=this.value,this.initValue()},mounted:function(){var e=this,t=e.type,t=(["date","time","datetime","week","month","quarter","year"].includes(t)?warnLog("vxe.error.useNew",['<vxe-input type="'.concat(t,'" ... />'),'<vxe-date-picker type="'.concat(t,'" ... />')]):["number","integer","float"].includes(t)?warnLog("vxe.error.useNew",['<vxe-input type="'.concat(t,'" ... />'),'<vxe-number-input type="'.concat(t,'" ... />')]):["password"].includes(t)&&warnLog("vxe.error.useNew",['<vxe-input type="'.concat(t,'" ... />'),"<vxe-password-input ... />"]),e.$refs.refInputTarget);t&&t.addEventListener("wheel",e.wheelEvent,{passive:!1}),_ui.globalEvents.on(e,"mousewheel",e.handleGlobalMousewheelEvent),_ui.globalEvents.on(e,"mousedown",e.handleGlobalMousedownEvent),_ui.globalEvents.on(e,"keydown",e.handleGlobalKeydownEvent),_ui.globalEvents.on(e,"blur",e.handleGlobalBlurEvent)},beforeDestroy:function(){var e=this,t=e.$refs.refInputPanel,t=(t&&t.parentNode&&t.parentNode.removeChild(t),e.numberStopDown(),e.afterCheckValue(),e.$refs.refInputTarget);t&&t.removeEventListener("wheel",e.wheelEvent),_ui.globalEvents.off(e,"mousewheel"),_ui.globalEvents.off(e,"mousedown"),_ui.globalEvents.off(e,"keydown"),_ui.globalEvents.off(e,"blur")},render:function(e){return this.renderVN(e)}});
|
|
1
|
+
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)}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"),_dom=require("../../ui/src/dom"),_util=require("../../date-panel/src/util"),_util2=require("../../number-input/src/util"),_vn=require("../../ui/src/vn"),_log=require("../../ui/src/log");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,a){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,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 a=e[Symbol.toPrimitive];if(void 0===a)return("string"===t?String:Number)(e);a=a.call(e,t||"default");if("object"!=_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var a;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(a="Object"===(a={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:a)||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(e,t):void 0}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var _createComponentLog=(0,_log.createComponentLog)("input"),warnLog=_createComponentLog.warnLog,_default2=exports.default=(0,_comp.defineVxeComponent)({name:"VxeInput",mixins:[_ui.globalMixins.sizeMixin],model:{prop:"value",event:"modelValue"},props:{value:[String,Number,Date],immediate:{type:Boolean,default:!0},name:String,title:String,type:{type:String,default:"text"},clearable:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.clearable}},delClearable:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.delClearable}},readonly:{type:Boolean,default:null},disabled:{type:Boolean,default:null},placeholder:{type:String,default:null},floatContent:{type:String,default:function(){return(0,_ui.getConfig)().input.floatContent}},floatAlign:{type:String,default:function(){return(0,_ui.getConfig)().input.floatAlign}},maxLength:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.maxLength}},autoComplete:{type:String,default:"off"},autoFocus:{type:Boolean,default:null},align:String,form:String,className:String,inputClassName:{type:String,default:function(){return(0,_ui.getConfig)().input.inputClassName}},width:[String,Number],size:{type:String,default:function(){return(0,_ui.getConfig)().input.size||(0,_ui.getConfig)().size}},multiple:Boolean,showWordCount:Boolean,countMethod:Function,min:{type:[String,Number],default:null},max:{type:[String,Number],default:null},step:[String,Number],trim:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.trim}},exponential:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.exponential}},controls:{type:Boolean,default:function(){return(0,_ui.getConfig)().input.controls}},digits:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.digits}},startDate:{type:[String,Number,Date],default:function(){return(0,_ui.getConfig)().input.startDate}},endDate:{type:[String,Number,Date],default:function(){return(0,_ui.getConfig)().input.endDate}},minDate:[String,Number,Date],maxDate:[String,Number,Date],startWeek:Number,startDay:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.startDay}},labelFormat:String,valueFormat:String,editable:{type:Boolean,default:!0},festivalMethod:{type:Function,default:function(){return(0,_ui.getConfig)().input.festivalMethod}},disabledMethod:{type:Function,default:function(){return(0,_ui.getConfig)().input.disabledMethod}},selectDay:{type:[String,Number],default:function(){return(0,_ui.getConfig)().input.selectDay}},prefixIcon:String,prefixConfig:Object,suffixIcon:String,suffixConfig:Object,placement:String,transfer:{type:Boolean,default:null},maxlength:[String,Number],autocomplete:String},inject:{$xeSelect:{default:null},$xeTreeSelect:{default:null},$xeModal:{default:null},$xeDrawer:{default:null},$xeTable:{default:null},$xeForm:{default:null},formItemInfo:{from:"xeFormItemInfo",default:null}},data:function(){return{xID:_xeUtils.default.uniqueId(),reactData:{initialized:!1,panelIndex:0,showPwd:!1,visiblePanel:!1,isAniVisible:!1,panelStyle:{},panelPlacement:"",isActivated:!1,inputValue:"",datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null},internalData:{yearSize:12,monthSize:20,quarterSize:8,hpTimeout:void 0,dnTimeout:void 0}}},computed:Object.assign(Object.assign({},{}),{computePrefixOpts:function(){return Object.assign({},(0,_ui.getConfig)().input.prefixConfig,this.prefixConfig)},computeSuffixOpts:function(){return Object.assign({},(0,_ui.getConfig)().input.suffixConfig,this.suffixConfig)},computeBtnTransfer:function(){var e=this,t=e.$xeTable,a=e.$xeModal,n=e.$xeDrawer,i=e.$xeForm,e=e.transfer;if(null===e){var r=(0,_ui.getConfig)().input.transfer;if(_xeUtils.default.isBoolean(r))return r;if(t||a||n||i)return!0}return e},computeFormReadonly:function(){var e,t=this.$xeForm;return"obsolete"===(0,_ui.getConfig)().inputReadonly||null===(e=this.readonly)?!!t&&t.readonly:e},computeIsDisabled:function(){var e=this.$xeForm,t=this.disabled;return null===t?!!e&&e.disabled:t},computeInpMaxLength:function(){var e=this.maxLength,t=this.maxlength,e=e||t;return this.computeIsNumType&&!_xeUtils.default.toNumber(e)?16:e},computeCurrStyle:function(){var e=this.width,t={};return e&&(t.width=(0,_dom.toCssUnit)(e)),t},computeIsDateTimeType:function(){var e=this.type;return"time"===e||"datetime"===e},computeIsNumType:function(){return-1<["number","integer","float"].indexOf(this.type)},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)},computeIsDatePickerType:function(){return this.computeIsDateTimeType||-1<["date","week","month","quarter","year"].indexOf(this.type)},computeIsPawdType:function(){return"password"===this.type},computeIsSearchType:function(){return"search"===this.type},computeDigitsValue:function(){return _xeUtils.default.toInteger(this.digits)||1},computeStepValue:function(){var e=this.type,t=this.computeDigitsValue,a=this.step;return"integer"===e?_xeUtils.default.toInteger(a)||1:"float"===e?_xeUtils.default.toNumber(a)||1/Math.pow(10,t):_xeUtils.default.toNumber(a)||1},computeIsClearable:function(){var e=this.type,t=this.computeIsNumType,a=this.computeIsDatePickerType,n=this.computeIsPawdType;return this.clearable&&(n||t||a||"text"===e||"search"===e)},computeDateStartTime:function(){return this.startDate?_xeUtils.default.toStringDate(this.startDate):null},computeDateEndTime:function(){return this.endDate?_xeUtils.default.toStringDate(this.endDate):null},computeSupportMultiples:function(){return-1<["date","week","month","quarter","year"].indexOf(this.type)},computeDateListValue:function(){var t=this,e=t.value,a=t.computeIsDatePickerType,n=t.computeDateValueFormat;return t.multiple&&e&&a?_xeUtils.default.toValueString(e).split(",").map(function(e){e=t.parseDate(e,n);return _xeUtils.default.isValidDate(e),e}):[]},computeDateMultipleValue:function(){var e=this.computeDateListValue,t=this.computeDateValueFormat;return e.map(function(e){return _xeUtils.default.toDateString(e,t)})},computeDateMultipleLabel:function(){var e=this.computeDateListValue,t=this.computeDateLabelFormat;return e.map(function(e){return _xeUtils.default.toDateString(e,t)}).join(", ")},computeDateValueFormat:function(){var e=this.type,t=this.valueFormat;return t||("time"===e?"HH:mm:ss":"datetime"===e?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")},computeDateValue:function(){var e=this.value,t=this.computeIsDatePickerType,a=this.computeDateValueFormat,n=null;return n=e&&t&&(t=this.parseDate(e,a),_xeUtils.default.isValidDate(t))?t:n},computeIsDisabledPrevDateBtn:function(){var e=this.reactData,t=this.computeDateStartTime,e=e.selectMonth;return!(!e||!t)&&e<=t},computeIsDisabledNextDateBtn:function(){var e=this.reactData,t=this.computeDateEndTime,e=e.selectMonth;return!(!e||!t)&&t<=e},computeDateTimeLabel:function(){var e=this.reactData.datetimePanelValue,t=this.computeHasTimeSecond;return e?_xeUtils.default.toDateString(e,t?"HH:mm:ss":"HH:mm"):""},computeDateHMSTime:function(){var e=this.computeDateValue,t=this.computeIsDateTimeType;return e&&t?1e3*(3600*e.getHours()+60*e.getMinutes()+e.getSeconds()):0},computeDateLabelFormat:function(){var e=this.labelFormat;return this.computeIsDatePickerType?e||(0,_ui.getI18n)("vxe.input.date.labelFormat.".concat(this.type)):""},computeYearList:function(){var e=this.reactData,t=this.internalData,a=e.selectMonth,e=e.currentDate,n=t.yearSize,i=[];if(a&&e)for(var r=e.getFullYear(),t=a.getFullYear(),u=new Date(t-t%n,0,1),l=-4;l<n+4;l++){var s=_xeUtils.default.getWhatYear(u,l,"first"),o=s.getFullYear();i.push({date:s,isCurrent:!0,isPrev:l<0,isNow:r===o,isNext:n<=l,year:o})}return i},computeSelectDatePanelObj:function(){var e,t,a,n,i=this.reactData,r="",u="";return this.computeIsDatePickerType&&(e=i.datePanelType,i=i.selectMonth,t=this.computeYearList,a="",i&&(a=i.getFullYear(),n=i.getMonth()+1),"quarter"===e||"month"===e?r=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[a]):"year"===e?r=t.length?"".concat(t[0].year," - ").concat(t[t.length-1].year):"":(r=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[a]),u=n?(0,_ui.getI18n)("vxe.input.date.m".concat(n)):"-")),{y:r,m:u}},computeFirstDayOfWeek:function(){var e=this.startDay,t=this.startWeek;return _xeUtils.default.toNumber(_xeUtils.default.isNumber(e)||_xeUtils.default.isString(e)?e:t)},computeWeekDatas:function(){var e=[];if(this.computeIsDatePickerType){var t=this.computeFirstDayOfWeek;e.push(t);for(var a=0;a<6;a++)6<=t?t=0:t++,e.push(t)}return e},computeDateHeaders:function(){return this.computeIsDatePickerType?this.computeWeekDatas.map(function(e){return{value:e,label:(0,_ui.getI18n)("vxe.input.date.weeks.w".concat(e))}}):[]},computeWeekHeaders:function(){var e;return this.computeIsDatePickerType?(e=this.computeDateHeaders,[{label:(0,_ui.getI18n)("vxe.input.date.weeks.w")}].concat(e)):[]},computeYearDatas:function(){var e=this.computeYearList;return _xeUtils.default.chunk(e,4)},computeQuarterList:function(){var e=this.reactData,t=this.internalData,a=e.selectMonth,e=e.currentDate,n=t.quarterSize,i=[];if(a&&e)for(var r=e.getFullYear(),u=(0,_util.getDateQuarter)(e),l=_xeUtils.default.getWhatYear(a,0,"first"),s=l.getFullYear(),o=-2;o<n-2;o++){var c=_xeUtils.default.getWhatQuarter(l,o),d=c.getFullYear(),p=(0,_util.getDateQuarter)(c),m=d<s;i.push({date:c,isPrev:m,isCurrent:d===s,isNow:d===r&&p===u,isNext:!m&&s<d,quarter:p})}return i},computeQuarterDatas:function(){var e=this.computeQuarterList;return _xeUtils.default.chunk(e,2)},computeMonthList:function(){var e=this.reactData,t=this.internalData,a=e.selectMonth,e=e.currentDate,n=t.monthSize,i=[];if(a&&e)for(var r=e.getFullYear(),u=e.getMonth(),l=_xeUtils.default.getWhatYear(a,0,"first").getFullYear(),s=-4;s<n-4;s++){var o=_xeUtils.default.getWhatYear(a,0,s),c=o.getFullYear(),d=o.getMonth(),p=c<l;i.push({date:o,isPrev:p,isCurrent:c===l,isNow:c===r&&d===u,isNext:!p&&l<c,month:d})}return i},computeMonthDatas:function(){var e=this.computeMonthList;return _xeUtils.default.chunk(e,4)},computeDayList:function(){var e=this.reactData,t=e.selectMonth,e=e.currentDate,a=[];if(t&&e)for(var n=this.computeDateHMSTime,i=this.computeWeekDatas,r=e.getFullYear(),u=e.getMonth(),l=e.getDate(),s=t.getFullYear(),o=t.getMonth(),e=t.getDay(),i=-i.indexOf(e),c=new Date(_xeUtils.default.getWhatDay(t,i).getTime()+n),d=0;d<42;d++){var p=_xeUtils.default.getWhatDay(c,d),m=p.getFullYear(),f=p.getMonth(),h=p.getDate(),v=p<t;a.push({date:p,isPrev:v,isCurrent:m===s&&f===o,isNow:m===r&&f===u&&h===l,isNext:!v&&o!==f,label:h})}return a},computeDayDatas:function(){var e=this.computeDayList;return _xeUtils.default.chunk(e,7)},computeWeekDates:function(){var e=this.computeDayDatas,a=this.computeFirstDayOfWeek;return e.map(function(e){var t=e[0];return[{date:t.date,isWeekNumber:!0,isPrev:!1,isCurrent:!1,isNow:!1,isNext:!1,label:_xeUtils.default.getYearWeek(t.date,a)}].concat(e)})},computeHourList:function(){var e=[];if(this.computeIsDateTimeType)for(var t=0;t<24;t++)e.push({value:t,label:(""+t).padStart(2,"0"),disabled:!1});return e},computeMinuteList:function(){var e=[];if(this.computeIsDateTimeType)for(var t=0;t<60;t++)e.push({value:t,label:(""+t).padStart(2,"0"),disabled:!1});return e},computeHasTimeMinute:function(){var e=this.computeDateValueFormat;return!/HH/.test(e)||/mm/.test(e)},computeHasTimeSecond:function(){var e=this.computeDateValueFormat;return!/HH/.test(e)||/ss/.test(e)},computeSecondList:function(){return this.computeMinuteList},computeInputReadonly:function(){var e=this.type,t=this.editable,a=this.multiple;return this.computeFormReadonly||a||!t||"week"===e||"quarter"===e},computeInputType:function(){var e=this,t=e.reactData,a=e.type,t=t.showPwd;return e.computeIsDatePickerType||e.computeIsNumType||e.computeIsPawdType&&t||"number"===a?"text":a},computeInpPlaceholder:function(){var e,t=this.placeholder;return t?(0,_utils.getFuncText)(t):_xeUtils.default.eqNull(t)?(e=(0,_ui.getConfig)().input.placeholder)?(0,_utils.getFuncText)(e):(0,_ui.getI18n)("vxe.base.pleaseInput"):t},computeInpImmediate:function(){var e=this.type;return this.immediate||!("text"===e||"number"===e||"integer"===e||"float"===e)},computeNumValue:function(){var e=this.reactData,t=this.type,e=e.inputValue;return this.computeIsNumType?"integer"===t?_xeUtils.default.toInteger((0,_util2.handleNumber)(e)):_xeUtils.default.toNumber((0,_util2.handleNumber)(e)):0},computeIsDisabledSubtractNumber:function(){var e=this.reactData,t=this.min,e=e.inputValue,a=this.computeIsNumType,n=this.computeNumValue;return!(!e&&0!==e||!a||null===t)&&n<=_xeUtils.default.toNumber(t)},computeIsDisabledAddNumber:function(){var e=this.reactData,t=this.max,e=e.inputValue,a=this.computeIsNumType,n=this.computeNumValue;return!(!e&&0!==e||!a||null===t)&&n>=_xeUtils.default.toNumber(t)}}),methods:{dispatchEvent:function(e,t,a){this.$emit(e,(0,_ui.createEvent)(a,{$input:this},t))},emitModel:function(e){var t=this.trim,a=this._events;a&&a.modelValue?this.$emit("modelValue",t?"".concat(e||"").trim():e):this.$emit("model-value",t?"".concat(e||"").trim():e)},focus:function(){var e=this.reactData,t=this.$refs.refInputTarget;return e.isActivated=!0,t.focus(),this.$nextTick()},blur:function(){var e=this.reactData;return this.$refs.refInputTarget.blur(),e.isActivated=!1,this.$nextTick()},select:function(){var e=this.reactData;return this.$refs.refInputTarget.select(),e.isActivated=!1,this.$nextTick()},parseDate:function(e,t){return"time"===this.type?(0,_util.toStringTimeDate)(e):_xeUtils.default.toStringDate(e,t)},getNumberValue:function(e){var t=this.type,a=this.exponential,n=this.computeInpMaxLength,i=this.computeDigitsValue,t="float"===t?(0,_util2.toFloatValueFixed)(e,t,i,""):_xeUtils.default.toValueString(e);return!a||e!==t&&_xeUtils.default.toValueString(e).toLowerCase()!==_xeUtils.default.toNumber(t).toExponential()?t.slice(0,n):e},triggerEvent:function(e){var t=this.reactData.inputValue;this.dispatchEvent(e.type,{value:t},e)},handleChange:function(e,t){var a=this,n=a,i=a.reactData,r=a.$xeForm,u=a.formItemInfo,l=a.$xeSelect,s=a.$xeTreeSelect;n.trim&&(e="".concat(e||"").trim()),i.inputValue=e,a.emitModel(e),a.dispatchEvent("input",{value:e},t),_xeUtils.default.toValueString(n.value)!==e&&(a.dispatchEvent("change",{value:e},t),l||s||r&&u&&r.triggerItemEvent(t,u.itemConfig.field,e))},emitInputEvent:function(e,t){var a=this,n=a.reactData,i=a.$xeForm,r=a.formItemInfo,u=a.$xeSelect,l=a.$xeTreeSelect,s=a.computeIsDatePickerType,o=a.computeInpImmediate;n.inputValue=e,s||(o?a.handleChange(e,t):(a.dispatchEvent("input",{value:e},t),u||l||i&&r&&i.triggerItemEvent(t,r.itemConfig.field,e)))},inputEvent:function(e){var t=e.target.value;this.emitInputEvent(t,e)},changeEvent:function(e){var t=this.reactData;this.computeInpImmediate||this.triggerEvent(e),this.dispatchEvent("lazy-change",{value:t.inputValue},e)},blurEvent:function(e){var t=this,a=t.reactData,n=t.$xeForm,i=t.formItemInfo,r=t.$xeSelect,u=t.$xeTreeSelect,l=a.inputValue;t.computeInpImmediate||t.handleChange(l,e),t.afterCheckValue(),a.visiblePanel||(a.isActivated=!1),t.dispatchEvent("blur",{value:l},e),r||u||n&&i&&n.triggerItemEvent(e,i.itemConfig.field,l)},focusEvent:function(e){var t=this,a=t.reactData,n=a.inputValue,i=t.computeIsNumType,r=t.computeIsDatePickerType;a.isActivated=!0,i?a.inputValue=(0,_utils.eqEmptyValue)(n)?"":"".concat(_xeUtils.default.toNumber(n)):r&&t.datePickerOpenEvent(e),t.triggerEvent(e)},clickPrefixEvent:function(e){var t=this.reactData;this.computeIsDisabled||(t=t.inputValue,this.dispatchEvent("prefix-click",{value:t},e))},hidePanel:function(){var t=this.reactData,a=this.internalData;return new Promise(function(e){t.visiblePanel=!1,a.hpTimeout=setTimeout(function(){t.isAniVisible=!1,e()},350)})},clearValueEvent:function(e,t){var a=this,n=a.type,i=a.autoFocus,r=a.computeIsNumType;a.computeIsDatePickerType&&a.hidePanel(),(i||null===i)&&(r||-1<["text","search","password"].indexOf(n))&&a.focus(),a.handleChange("",e),a.dispatchEvent("clear",{value:t},e),a.dispatchEvent("lazy-change",{value:t},e)},clickSuffixEvent:function(e){var t=this.reactData;this.computeIsDisabled||(t=t.inputValue,this.dispatchEvent("suffix-click",{value:t},e))},dateParseValue:function(e){var t=this,a=t.reactData,n=t.type,i=t.computeDateLabelFormat,r=t.computeFirstDayOfWeek,u=null,l="";e&&(u=t.parseDate(e,t.computeDateValueFormat)),_xeUtils.default.isValidDate(u)?(l=_xeUtils.default.toDateString(u,i,{firstDay:r}),i&&"week"===n&&(e=_xeUtils.default.getYearWeek(u,r),(t=_xeUtils.default.getWhatWeek(u,0,1===e?(6+r)%7:r,r).getFullYear())!==u.getFullYear())&&-1<(n=i.indexOf("yyyy"))&&(e=Number(l.substring(n,n+4)))&&!isNaN(e)&&(l=l.replace("".concat(e),"".concat(t)))):u=null,a.datePanelValue=u,a.datePanelLabel=l},changeValue:function(){var e=this,t=e,a=e.reactData,n=a.inputValue;e.computeIsDatePickerType&&(e.dateParseValue(n),a.inputValue=t.multiple?e.computeDateMultipleLabel:a.datePanelLabel)},initValue:function(){var e=this,t=e.reactData,a=e.type,t=t.inputValue,n=e.computeDigitsValue;e.computeIsDatePickerType?e.changeValue():"float"===a&&t&&t!==(t=(0,_util2.toFloatValueFixed)(t,a,n,""))&&e.handleChange(t,{type:"init"})},validMaxNum:function(e){return null===this.max||""===this.max||_xeUtils.default.toNumber(e)<=_xeUtils.default.toNumber(this.max)},validMinNum:function(e){return null===this.min||""===this.min||_xeUtils.default.toNumber(e)>=_xeUtils.default.toNumber(this.min)},dateRevert:function(){var e=this.reactData;e.inputValue=this.multiple?this.computeDateMultipleLabel:e.datePanelLabel},dateCheckMonth:function(e){var t=this.reactData,a=this.computeFirstDayOfWeek,n=_xeUtils.default.getYearWeek(e,a),a=_xeUtils.default.getWhatWeek(e,0,a,a),n=_xeUtils.default.getWhatMonth(1===n?_xeUtils.default.getWhatDay(a,6):e,0,"first");_xeUtils.default.isEqual(n,t.selectMonth)||(t.selectMonth=n)},dateChange:function(t){var e,a,n=this,i=n,r=n.reactData,u=i.multiple,l=r.datetimePanelValue,r=n.computeIsDateTimeType,s=n.computeDateValueFormat,o=n.computeFirstDayOfWeek,c=("week"===i.type?(e=_xeUtils.default.toNumber(i.selectDay),t=_xeUtils.default.getWhatWeek(t,0,e,o)):r&&(t.setHours(l.getHours()),t.setMinutes(l.getMinutes()),t.setSeconds(l.getSeconds())),_xeUtils.default.toDateString(t,s,{firstDay:o}));n.dateCheckMonth(t),u?(e=n.computeDateMultipleValue,r?(o=_toConsumableArray(n.computeDateListValue),a=[],-1===(u=_xeUtils.default.findIndexOf(o,function(e){return _xeUtils.default.isDateSame(t,e,"yyyyMMdd")}))?o.push(t):o.splice(u,1),o.forEach(function(e){e&&(e.setHours(l.getHours()),e.setMinutes(l.getMinutes()),e.setSeconds(l.getSeconds()),a.push(e))}),n.handleChange(a.map(function(e){return _xeUtils.default.toDateString(e,s)}).join(","),{type:"update"})):e.some(function(e){return _xeUtils.default.isEqual(e,c)})?n.handleChange(e.filter(function(e){return!_xeUtils.default.isEqual(e,c)}).join(","),{type:"update"}):n.handleChange(e.concat([c]).join(","),{type:"update"})):_xeUtils.default.isEqual(i.value,c)||n.handleChange(c,{type:"update"})},afterCheckValue:function(){var e,t=this,a=t.reactData,n=t.type,i=t.min,r=t.max,u=t.exponential,l=a.inputValue,s=a.datetimePanelValue,o=t.computeIsDatePickerType,c=t.computeDateLabelFormat;t.computeInputReadonly||(t.computeIsNumType?l&&((e="".concat((0,_util2.handleNumber)(l)))?(e="integer"===n?_xeUtils.default.toInteger(e):_xeUtils.default.toNumber(e),t.validMinNum(e)?t.validMaxNum(e)||(e=r):e=i,u&&(r=_xeUtils.default.toValueString(l).toLowerCase())===_xeUtils.default.toNumber(e).toExponential()&&(e=r),t.handleChange(t.getNumberValue(e),{type:"check"})):(u="",!i&&0!==i||(u="".concat(i)),t.handleChange(u,{type:"check"}))):o&&(l?(r=t.parseDate(l,c),_xeUtils.default.isValidDate(r)?"time"===n?(l!==(r=_xeUtils.default.toDateString(r,c))&&t.handleChange(r,{type:"check"}),a.inputValue=r):(e=!1,i=t.computeFirstDayOfWeek,"datetime"===n?(u=t.computeDateValue,l===_xeUtils.default.toDateString(u,c)&&l===_xeUtils.default.toDateString(r,c)||(e=!0,s.setHours(r.getHours()),s.setMinutes(r.getMinutes()),s.setSeconds(r.getSeconds()))):e=!0,a.inputValue=_xeUtils.default.toDateString(r,c,{firstDay:i}),e&&t.dateChange(r)):t.dateRevert()):t.handleChange("",{type:"check"})))},passwordToggleEvent:function(e){var t=this.reactData,a=t.showPwd,n=this.computeIsDisabled,i=this.computeInputReadonly;n||i||(t.showPwd=!a),this.dispatchEvent("toggle-visible",{visible:t.showPwd},e)},searchEvent:function(e){this.dispatchEvent("search-click",{},e)},numberChange:function(e,t){var a=this,n=a.reactData,i=a.min,r=a.max,n=n.inputValue,u=a.computeStepValue,n="integer"===a.type?_xeUtils.default.toInteger((0,_util2.handleNumber)(n)):_xeUtils.default.toNumber((0,_util2.handleNumber)(n)),e=e?_xeUtils.default.add(n,u):_xeUtils.default.subtract(n,u),n=a.validMinNum(e)?a.validMaxNum(e)?e:r:i;a.emitInputEvent(a.getNumberValue(n),t)},numberNextEvent:function(e){var t=this,a=t.reactData,n=t.computeIsDisabled,i=t.computeInputReadonly,r=t.computeIsDisabledSubtractNumber;t.numberStopDown(),n||i||r||t.numberChange(!1,e),t.dispatchEvent("next-number",{value:a.inputValue},e)},numberDownNextEvent:function(e){var t=this;t.internalData.dnTimeout=setTimeout(function(){t.numberNextEvent(e),t.numberDownNextEvent(e)},60)},numberPrevEvent:function(e){var t=this,a=t.reactData,n=t.computeIsDisabled,i=t.computeInputReadonly,r=t.computeIsDisabledAddNumber;t.numberStopDown(),n||i||r||t.numberChange(!0,e),t.dispatchEvent("prev-number",{value:a.inputValue},e)},numberKeydownEvent:function(e){var t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),a=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN);(t||a)&&(e.preventDefault(),t?this.numberPrevEvent(e):this.numberNextEvent(e))},keydownEvent:function(e){var t,a,n,i,r,u,l,s=this,o=s.type,c=s.exponential,d=s.controls;s.computeIsNumType&&(t=(0,_dom.hasControlKey)(e),a=e.shiftKey,n=e.altKey,i=e.keyCode,r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ESCAPE),u=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),l=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),t||a||n||(_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.SPACEBAR)||"integer"===o&&110===i||(!c||69!==i)&&65<=i&&i<=90||186<=i&&i<=188||191<=i)&&e.preventDefault(),r?s.afterCheckValue():(u||l)&&d&&s.numberKeydownEvent(e)),s.triggerEvent(e)},keyupEvent:function(e){this.triggerEvent(e)},numberStopDown:function(){var e=this.internalData,t=e.dnTimeout;t&&(clearTimeout(t),e.dnTimeout=void 0)},numberDownPrevEvent:function(e){var t=this;t.internalData.dnTimeout=setTimeout(function(){t.numberPrevEvent(e),t.numberDownPrevEvent(e)},60)},numberMousedownEvent:function(e){var t,a=this,n=a.internalData;a.numberStopDown(),0===e.button&&((t=(0,_dom.hasClass)(e.currentTarget,"is--prev"))?a.numberPrevEvent(e):a.numberNextEvent(e),n.dnTimeout=setTimeout(function(){t?a.numberDownPrevEvent(e):a.numberDownNextEvent(e)},500))},wheelEvent:function(e){var t=this,a=t.reactData;t.computeIsNumType&&t.controls&&a.isActivated&&(0<(a=e.deltaY)?t.numberNextEvent(e):a<0&&t.numberPrevEvent(e),e.preventDefault()),t.triggerEvent(e)},dateMonthHandle:function(e,t){var a=this.reactData,n=this.computeFirstDayOfWeek,i=_xeUtils.default.getYearWeek(e,n),n=_xeUtils.default.getWhatWeek(e,0,n,n),i=_xeUtils.default.getWhatMonth(1===i?_xeUtils.default.getWhatDay(n,6):e,t,"first");a.selectMonth=i},dateNowHandle:function(){var e=this.reactData,t=_xeUtils.default.getWhatDay(Date.now(),0,"first");e.currentDate=t,this.dateMonthHandle(t,0)},dateToggleYearTypeEvent:function(){this.reactData.datePanelType="year"},dateToggleMonthTypeEvent:function(){var e=this.reactData,t="month"===(t=e.datePanelType)||"quarter"===t?"year":"month";e.datePanelType=t},datePrevEvent:function(e){var t=this,a=t.reactData,n=t.type,i=a.datePanelType,r=a.selectMonth,u=t.internalData.yearSize,l=a.inputValue;t.computeIsDisabledPrevDateBtn||(u="year"===n?_xeUtils.default.getWhatYear(r,-u,"first"):"month"===n||"quarter"===n?"year"===i?_xeUtils.default.getWhatYear(r,-u,"first"):_xeUtils.default.getWhatYear(r,-1,"first"):"year"===i?_xeUtils.default.getWhatYear(r,-u,"first"):"month"===i?_xeUtils.default.getWhatYear(r,-1,"first"):_xeUtils.default.getWhatMonth(r,-1,"first"),a.selectMonth=u,t.dispatchEvent("date-prev",{viewType:i,viewDate:u,value:l,type:n},e))},dateTodayMonthEvent:function(e){var t=this,a=t,n=t.reactData;t.dateNowHandle(),a.multiple||(t.dateChange(n.currentDate),t.hidePanel()),t.dispatchEvent("date-today",{type:a.type},e)},dateNextEvent:function(e){var t=this,a=t.reactData,n=t.type,i=a.datePanelType,r=a.selectMonth,u=t.internalData.yearSize,l=a.inputValue;t.computeIsDisabledNextDateBtn||(u="year"===n?_xeUtils.default.getWhatYear(r,u,"first"):"month"===n||"quarter"===n?"year"===i?_xeUtils.default.getWhatYear(r,u,"first"):_xeUtils.default.getWhatYear(r,1,"first"):"year"===i?_xeUtils.default.getWhatYear(r,u,"first"):"month"===i?_xeUtils.default.getWhatYear(r,1,"first"):_xeUtils.default.getWhatMonth(r,1,"first"),a.selectMonth=u,t.dispatchEvent("date-next",{viewType:i,viewDate:u,value:l,type:n},e))},isDateDisabled:function(e){var t=this,a=t.reactData,n=t.disabledMethod,a=a.datePanelType,i=t.computeDateStartTime,r=t.computeDateEndTime,e=e.date;return!!(i&&i.getTime()>e.getTime())||!!(r&&r.getTime()<e.getTime())||!!n&&n({type:a,viewType:a,date:e,$input:t})},dateSelectItem:function(e){var t=this,a=t.reactData,n=t.type,i=t.multiple,r=a.datePanelType;"month"===n?"year"===r?(a.datePanelType="month",t.dateCheckMonth(e)):(t.dateChange(e),i||t.hidePanel()):"year"===n?(t.dateChange(e),i||t.hidePanel()):"quarter"===n?"year"===r?(a.datePanelType="quarter",t.dateCheckMonth(e)):(t.dateChange(e),i||t.hidePanel()):"month"===r?(a.datePanelType="week"===n?n:"day",t.dateCheckMonth(e)):"year"===r?(a.datePanelType="month",t.dateCheckMonth(e)):(t.dateChange(e),"datetime"===n||i||t.hidePanel())},dateSelectEvent:function(e){this.isDateDisabled(e)||this.dateSelectItem(e.date)},dateMoveDay:function(t){this.isDateDisabled({date:t})||(this.computeDayList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyyMMdd")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMoveYear:function(t){this.isDateDisabled({date:t})||(this.computeYearList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyy")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMoveQuarter:function(t){this.isDateDisabled({date:t})||(this.computeQuarterList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyyq")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMoveMonth:function(t){this.isDateDisabled({date:t})||(this.computeMonthList.some(function(e){return _xeUtils.default.isDateSame(e.date,t,"yyyyMM")})||this.dateCheckMonth(t),this.dateParseValue(t))},dateMouseenterEvent:function(e){var t=this,a=t.reactData;t.isDateDisabled(e)||("month"===(a=a.datePanelType)?t.dateMoveMonth(e.date):"quarter"===a?t.dateMoveQuarter(e.date):"year"===a?t.dateMoveYear(e.date):t.dateMoveDay(e.date))},updateTimePos:function(e){var t;e&&(t=e.offsetHeight,e.parentNode.scrollTop=e.offsetTop-4*t)},dateTimeChangeEvent:function(e){var t=this.reactData;t.datetimePanelValue=new Date(t.datetimePanelValue.getTime()),this.updateTimePos(e.currentTarget)},dateHourEvent:function(e,t){this.reactData.datetimePanelValue.setHours(t.value),this.dateTimeChangeEvent(e)},dateConfirmEvent:function(){var t,a,e=this,n=e.reactData,i=e.multiple,r=n.datetimePanelValue,u=e.computeDateValue,l=e.computeIsDateTimeType;l&&(t=e.computeDateValueFormat,i?(i=e.computeDateMultipleValue,l?(l=_toConsumableArray(e.computeDateListValue),a=[],l.forEach(function(e){e&&(e.setHours(r.getHours()),e.setMinutes(r.getMinutes()),e.setSeconds(r.getSeconds()),a.push(e))}),e.handleChange(a.map(function(e){return _xeUtils.default.toDateString(e,t)}).join(","),{type:"update"})):e.handleChange(i.join(","),{type:"update"})):e.dateChange(u||n.currentDate)),e.hidePanel()},dateMinuteEvent:function(e,t){this.reactData.datetimePanelValue.setMinutes(t.value),this.dateTimeChangeEvent(e)},dateSecondEvent:function(e,t){this.reactData.datetimePanelValue.setSeconds(t.value),this.dateTimeChangeEvent(e)},dateOffsetEvent:function(e){var t,a,n,i=this,r=i.reactData,u=r.isActivated,l=r.datePanelValue,r=r.datePanelType;u&&(e.preventDefault(),u=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),a=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),e=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),"year"===r?(n=_xeUtils.default.getWhatYear(l||Date.now(),0,"first"),u?n=_xeUtils.default.getWhatYear(n,-1):t?n=_xeUtils.default.getWhatYear(n,-4):a?n=_xeUtils.default.getWhatYear(n,1):e&&(n=_xeUtils.default.getWhatYear(n,4)),i.dateMoveYear(n)):"quarter"===r?(n=_xeUtils.default.getWhatQuarter(l||Date.now(),0,"first"),u?n=_xeUtils.default.getWhatQuarter(n,-1):t?n=_xeUtils.default.getWhatQuarter(n,-2):a?n=_xeUtils.default.getWhatQuarter(n,1):e&&(n=_xeUtils.default.getWhatQuarter(n,2)),i.dateMoveQuarter(n)):"month"===r?(n=_xeUtils.default.getWhatMonth(l||Date.now(),0,"first"),u?n=_xeUtils.default.getWhatMonth(n,-1):t?n=_xeUtils.default.getWhatMonth(n,-4):a?n=_xeUtils.default.getWhatMonth(n,1):e&&(n=_xeUtils.default.getWhatMonth(n,4)),i.dateMoveMonth(n)):(r=l||_xeUtils.default.getWhatDay(Date.now(),0,"first"),n=i.computeFirstDayOfWeek,u?r=_xeUtils.default.getWhatDay(r,-1):t?r=_xeUtils.default.getWhatWeek(r,-1,n):a?r=_xeUtils.default.getWhatDay(r,1):e&&(r=_xeUtils.default.getWhatWeek(r,1,n)),i.dateMoveDay(r)))},datePgOffsetEvent:function(e){var t;this.reactData.isActivated&&(t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),e.preventDefault(),t?this.datePrevEvent(e):this.dateNextEvent(e))},dateOpenPanel:function(){var t=this,e=t.reactData,a=t.type,n=t.computeIsDateTimeType,i=t.computeDateValue;-1<["year","quarter","month","week"].indexOf(a)?e.datePanelType=a:e.datePanelType="day",e.currentDate=_xeUtils.default.getWhatDay(Date.now(),0,"first"),i?(t.dateMonthHandle(i,0),t.dateParseValue(i)):t.dateNowHandle(),n&&(e.datetimePanelValue=e.datePanelValue||_xeUtils.default.getWhatDay(Date.now(),0,"first"),t.$nextTick(function(){var e=t.$refs.refInputTimeBody;_xeUtils.default.arrayEach(e.querySelectorAll("li.is--selected"),function(e){t.updateTimePos(e)})}))},updateZindex:function(){var e=this.reactData;e.panelIndex<(0,_utils.getLastZIndex)()&&(e.panelIndex=(0,_utils.nextZIndex)())},updatePlacement:function(){var p=this,m=p,f=p.reactData;return p.$nextTick().then(function(){var e,t,a,n,i,r,u,l=m.placement,s=f.panelIndex,o=p.$refs.refInputTarget,c=p.$refs.refInputPanel,d=p.computeBtnTransfer;if(o&&c)return e=o.offsetHeight,t=o.offsetWidth,a=c.offsetHeight,c=c.offsetWidth,s={zIndex:s},n=(o=(0,_dom.getAbsolutePos)(o)).boundingTop,i=o.visibleHeight,r=o.visibleWidth,u="bottom",d?(d=n+e,"top"===l?(u="top",d=n-a):l||(i<d+a+5&&(u="top",d=n-a),d<5&&(u="bottom",d=n+e)),r<(o=o.boundingLeft)+c+5&&(o-=o+c+5-r),o<5&&(o=5),Object.assign(s,{left:"".concat(o,"px"),top:"".concat(d,"px"),minWidth:"".concat(t,"px")})):"top"===l?(u="top",s.bottom="".concat(e,"px")):l||(s.top="".concat(e,"px"),i<n+e+a&&5<n-e-a&&(u="top",s.top="",s.bottom="".concat(e,"px"))),f.panelStyle=s,f.panelPlacement=u,p.$nextTick()})},showPanel:function(){var e=this,t=e.reactData,a=e.internalData,n=t.visiblePanel,i=a.hpTimeout,r=e.computeIsDatePickerType,u=e.computeBtnTransfer;return e.computeIsDisabled||n?e.$nextTick():(n=e.$refs.refInputPanel,t.initialized||(t.initialized=!0,u&&n&&document.body.appendChild(n)),i&&(clearTimeout(i),a.hpTimeout=void 0),t.isActivated=!0,t.isAniVisible=!0,r&&e.dateOpenPanel(),setTimeout(function(){t.visiblePanel=!0},10),e.updateZindex(),e.updatePlacement())},datePickerOpenEvent:function(e){this.computeInputReadonly||(e.preventDefault(),this.showPanel())},clickEvent:function(e){this.triggerEvent(e)},handleGlobalMousedownEvent:function(e){var t=this,a=t.reactData,n=a.visiblePanel,i=t.computeIsDatePickerType,r=t.$refs.refElem,u=t.$refs.refPanelWrapper;!t.computeIsDisabled&&a.isActivated&&(a.isActivated=(0,_dom.getEventTargetNode)(e,r).flag||(0,_dom.getEventTargetNode)(e,u).flag,a.isActivated||(i?n&&(t.hidePanel(),t.afterCheckValue()):t.afterCheckValue()))},handleGlobalKeydownEvent:function(e){var t,a,n,i,r,u,l,s,o,c,d=this,p=d.reactData,m=d.clearable,f=d.delClearable,h=p.visiblePanel,v=d.computeIsDatePickerType;d.computeIsDisabled||(t=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.TAB),a=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.DELETE),n=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ESCAPE),i=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ENTER),o=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),c=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),u=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),l=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),s=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.PAGE_DOWN),o=o||r||c||u,c=p.isActivated,t?(c&&d.afterCheckValue(),p.isActivated=c=!1):o?v&&c&&(h?d.dateOffsetEvent(e):(r||u)&&d.datePickerOpenEvent(e)):i?v&&(h?p.datePanelValue?d.dateSelectItem(p.datePanelValue):d.hidePanel():c&&d.datePickerOpenEvent(e)):(l||s)&&v&&c&&d.datePgOffsetEvent(e),(t||n)&&h&&d.hidePanel(),f&&a&&m&&c&&d.clearValueEvent(e,null))},handleGlobalMousewheelEvent:function(e){var t=this,a=t.reactData.visiblePanel;t.computeIsDisabled||a&&(a=t.$refs.refPanelWrapper,(0,_dom.getEventTargetNode)(e,a).flag?t.updatePlacement():(t.hidePanel(),t.afterCheckValue()))},handleGlobalBlurEvent:function(){var e=this.reactData,t=e.isActivated;e.visiblePanel&&this.hidePanel(),t&&(e.isActivated=!1),t&&(this.afterCheckValue(),e=this.$refs.refInputTarget)&&e.blur()},renderDateLabel:function(t,e,a){var n=this.reactData,i=this.festivalMethod;return i?(e=(i=(n=i({type:i=n.datePanelType,viewType:i,date:e.date,$input:this}))?_xeUtils.default.isString(n)?{label:n}:n:{}).extra?_xeUtils.default.isString(i.extra)?{label:i.extra}:i.extra:null,n=[t("span",{class:["vxe-input--date-label",{"is-notice":i.notice}]},e&&e.label?[t("span","".concat(a||"")),t("span",{class:["vxe-input--date-label--extra",e.important?"is-important":"",e.className],style:e.style},_xeUtils.default.toValueString(e.label))]:["".concat(a||"")])],(e=i.label)&&(e=_xeUtils.default.toValueString(e).split(","),n.push(t("span",{class:["vxe-input--date-festival",i.important?"is-important":"",i.className],style:i.style},[1<e.length?t("span",{class:["vxe-input--date-festival--overlap","overlap--".concat(e.length)]},e.map(function(e){return t("span",e.substring(0,3))})):t("span",{class:"vxe-input--date-festival--label"},e[0].substring(0,3))]))),n):["".concat(a||"")]},renderDateDayTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,r=e.datePanelValue,u=n.computeDateValue,e=n.computeDateHeaders,l=n.computeDayDatas,s=n.computeDateListValue,o="yyyyMMdd";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("thead",[a("tr",e.map(function(e){return a("th",e.label)}))]),a("tbody",l.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?s.some(function(e){return _xeUtils.default.isDateSame(e,t.date,o)}):_xeUtils.default.isDateSame(u,t.date,o),"is--hover":_xeUtils.default.isDateSame(r,t.date,o)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,t.label))}))}))])]},renderDateWeekTable:function(n){var i=this,e=i.reactData,r=i.multiple,t=e.datePanelType,u=e.datePanelValue,l=i.computeDateValue,e=i.computeWeekHeaders,a=i.computeWeekDates,s=i.computeDateListValue,o="yyyyMMdd";return[n("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[n("thead",[n("tr",e.map(function(e){return n("th",e.label)}))]),n("tbody",a.map(function(e){var t=r?e.some(function(t){return s.some(function(e){return _xeUtils.default.isDateSame(e,t.date,o)})}):e.some(function(e){return _xeUtils.default.isDateSame(l,e.date,o)}),a=e.some(function(e){return _xeUtils.default.isDateSame(u,e.date,o)});return n("tr",e.map(function(e){return n("td",{class:{"is--prev":e.isPrev,"is--current":e.isCurrent,"is--now":e.isNow,"is--next":e.isNext,"is--disabled":i.isDateDisabled(e),"is--selected":t,"is--hover":a},on:{click:function(){return i.dateSelectEvent(e)},mouseenter:function(){return i.dateMouseenterEvent(e)}}},i.renderDateLabel(n,e,e.label))}))}))])]},renderDateMonthTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,r=e.datePanelValue,u=n.computeDateValue,e=n.computeMonthDatas,l=n.computeDateListValue,s="yyyyMM";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("tbody",e.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?l.some(function(e){return _xeUtils.default.isDateSame(e,t.date,s)}):_xeUtils.default.isDateSame(u,t.date,s),"is--hover":_xeUtils.default.isDateSame(r,t.date,s)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,(0,_ui.getI18n)("vxe.input.date.months.m".concat(t.month))))}))}))])]},renderDateQuarterTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,r=e.datePanelValue,u=n.computeDateValue,e=n.computeQuarterDatas,l=n.computeDateListValue,s="yyyyq";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("tbody",e.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?l.some(function(e){return _xeUtils.default.isDateSame(e,t.date,s)}):_xeUtils.default.isDateSame(u,t.date,s),"is--hover":_xeUtils.default.isDateSame(r,t.date,s)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,(0,_ui.getI18n)("vxe.input.date.quarters.q".concat(t.quarter))))}))}))])]},renderDateYearTable:function(a){var n=this,e=n.reactData,i=n.multiple,t=e.datePanelType,r=e.datePanelValue,u=n.computeDateValue,e=n.computeYearDatas,l=n.computeDateListValue,s="yyyy";return[a("table",{class:"vxe-input--date-".concat(t,"-view"),attrs:{cellspacing:0,cellpadding:0,border:0}},[a("tbody",e.map(function(e){return a("tr",e.map(function(t){return a("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":n.isDateDisabled(t),"is--selected":i?l.some(function(e){return _xeUtils.default.isDateSame(e,t.date,s)}):_xeUtils.default.isDateSame(u,t.date,s),"is--hover":_xeUtils.default.isDateSame(r,t.date,s)},on:{click:function(){return n.dateSelectEvent(t)},mouseenter:function(){return n.dateMouseenterEvent(t)}}},n.renderDateLabel(a,t,t.year))}))}))])]},renderDateTable:function(e){var t=this;switch(t.reactData.datePanelType){case"week":return t.renderDateWeekTable(e);case"month":return t.renderDateMonthTable(e);case"quarter":return t.renderDateQuarterTable(e);case"year":return t.renderDateYearTable(e)}return t.renderDateDayTable(e)},renderDatePanel:function(e){var t=this,a=t.reactData,n=t.multiple,a=a.datePanelType,i=t.computeIsDisabledPrevDateBtn,r=t.computeIsDisabledNextDateBtn,u=t.computeSelectDatePanelObj;return[e("div",{class:"vxe-input--date-picker-header"},[e("div",{class:"vxe-input--date-picker-type-wrapper"},["year"===a?e("span",{class:"vxe-input--date-picker-label"},u.y):e("span",{class:"vxe-input--date-picker-btns"},[e("span",{class:"vxe-input--date-picker-btn",on:{click:t.dateToggleYearTypeEvent}},u.y),u.m?e("span",{class:"vxe-input--date-picker-btn",on:{click:t.dateToggleMonthTypeEvent}},u.m):(0,_ui.renderEmptyElement)(t)])]),e("div",{class:"vxe-input--date-picker-btn-wrapper"},[e("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":i}],on:{click:t.datePrevEvent}},[e("i",{class:"vxe-icon-caret-left"})]),e("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",on:{click:t.dateTodayMonthEvent}},[e("i",{class:"vxe-icon-dot"})]),e("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":r}],on:{click:t.dateNextEvent}},[e("i",{class:"vxe-icon-caret-right"})]),n&&t.computeSupportMultiples?e("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[e("button",{class:"vxe-input--date-picker-confirm",attrs:{type:"button"},on:{click:t.dateConfirmEvent}},(0,_ui.getI18n)("vxe.button.confirm"))]):null])]),e("div",{class:"vxe-input--date-picker-body"},t.renderDateTable(e))]},renderTimePanel:function(a){var n=this,i=n.reactData.datetimePanelValue,e=n.computeHourList,t=n.computeHasTimeMinute,r=n.computeMinuteList,u=n.computeHasTimeSecond,l=n.computeSecondList;return[a("div",{class:"vxe-input--time-picker-header"},[t?a("span",{class:"vxe-input--time-picker-title"},n.computeDateTimeLabel):(0,_ui.renderEmptyElement)(n),a("div",{class:"vxe-input--time-picker-btn"},[a("button",{class:"vxe-input--time-picker-confirm",attrs:{type:"button"},on:{click:n.dateConfirmEvent}},(0,_ui.getI18n)("vxe.button.confirm"))])]),a("div",{ref:"refInputTimeBody",class:"vxe-input--time-picker-body"},[a("ul",{class:"vxe-input--time-picker-hour-list"},e.map(function(t,e){return a("li",{key:e,class:{"is--selected":i&&i.getHours()===t.value},on:{click:function(e){return n.dateHourEvent(e,t)}}},t.label)})),t?a("ul",{class:"vxe-input--time-picker-minute-list"},r.map(function(t,e){return a("li",{key:e,class:{"is--selected":i&&i.getMinutes()===t.value},on:{click:function(e){return n.dateMinuteEvent(e,t)}}},t.label)})):(0,_ui.renderEmptyElement)(n),t&&u?a("ul",{class:"vxe-input--time-picker-second-list"},l.map(function(t,e){return a("li",{key:e,class:{"is--selected":i&&i.getSeconds()===t.value},on:{click:function(e){return n.dateSecondEvent(e,t)}}},t.label)})):(0,_ui.renderEmptyElement)(n)])]},renderPanel:function(e){var t=this,a=t.reactData,n=t.type,i=a.initialized,r=a.isAniVisible,u=a.visiblePanel,l=a.panelPlacement,a=a.panelStyle,s=t.computeSize,o=t.computeBtnTransfer,c=[];return t.computeIsDatePickerType?(c.push("datetime"===n?e("div",{key:n,ref:"refPanelWrapper",class:"vxe-input--panel-layout-wrapper"},[e("div",{class:"vxe-input--panel-left-wrapper"},t.renderDatePanel(e)),e("div",{class:"vxe-input--panel-right-wrapper"},t.renderTimePanel(e))]):"time"===n?e("div",{key:n,ref:"refPanelWrapper",class:"vxe-input--panel-wrapper"},t.renderTimePanel(e)):e("div",{key:n||"default",ref:"refPanelWrapper",class:"vxe-input--panel-wrapper"},t.renderDatePanel(e))),e("div",{ref:"refInputPanel",class:["vxe-table--ignore-clear vxe-input--panel","type--".concat(n),_defineProperty(_defineProperty(_defineProperty(_defineProperty({},"size--".concat(s),s),"is--transfer",o),"ani--leave",r),"ani--enter",u)],attrs:{placement:l},style:a},i&&(u||r)?c:[])):(0,_ui.renderEmptyElement)(t)},renderNumberIcon:function(e){var t=this,a=t.computeIsDisabledAddNumber,n=t.computeIsDisabledSubtractNumber;return e("div",{class:"vxe-input--control-icon"},[e("div",{class:"vxe-input--number-icon"},[e("div",{class:["vxe-input--number-btn is--prev",{"is--disabled":a}],on:{mousedown:t.numberMousedownEvent,mouseup:t.numberStopDown,mouseleave:t.numberStopDown}},[e("i",{class:(0,_ui.getIcon)().INPUT_PLUS_NUM})]),e("div",{class:["vxe-input--number-btn is--next",{"is--disabled":n}],on:{mousedown:t.numberMousedownEvent,mouseup:t.numberStopDown,mouseleave:t.numberStopDown}},[e("i",{class:(0,_ui.getIcon)().INPUT_MINUS_NUM})])])])},renderDatePickerIcon:function(e){return e("div",{class:"vxe-input--control-icon",on:{click:this.datePickerOpenEvent}},[e("i",{class:["vxe-input--date-picker-icon",(0,_ui.getIcon)().DATE_PICKER_DATE]})])},renderSearchIcon:function(e){return e("div",{class:"vxe-input--control-icon",on:{click:this.searchEvent}},[e("i",{class:["vxe-input--search-icon",(0,_ui.getIcon)().INPUT_SEARCH]})])},renderPasswordIcon:function(e){var t=this.reactData.showPwd;return e("div",{class:"vxe-input--control-icon",on:{click:this.passwordToggleEvent}},[e("i",{class:["vxe-input--password-icon",t?(0,_ui.getIcon)().PASSWORD_INPUT_SHOW_PWD:(0,_ui.getIcon)().PASSWORD_INPUT_HIDE_PWD]})])},renderPrefixIcon:function(e){var t=this,a=t.$scopedSlots,n=t.prefixIcon,i=t.computePrefixOpts,a=a.prefix,n=n||i.icon,i=i.content;return a||n||i?e("div",{class:"vxe-input--prefix",on:{click:t.clickPrefixEvent}},[e("div",{class:"vxe-input--prefix-icon"},a?(0,_vn.getSlotVNs)(a({})):[n?e("i",{class:n}):(0,_ui.renderEmptyElement)(t),i?e("span",{class:"vxe-input--prefix-text"},"".concat(i)):(0,_ui.renderEmptyElement)(t)])]):null},renderSuffixIcon:function(e){var t=this,a=t.$scopedSlots,n=t.suffixIcon,i=t.reactData.inputValue,a=a.suffix,r=t.computeSuffixOpts,u=t.computeIsClearable,l=t.computeIsPawdType||t.computeIsNumType||t.computeIsDatePickerType||t.computeIsSearchType,n=n||r.icon,r=r.content;return u||a||n||r||l?e("div",{class:["vxe-input--suffix",{"is--clear":u&&!t.computeIsDisabled&&!(""===i||_xeUtils.default.eqNull(i))}]},[u?e("div",{class:"vxe-input--clear-icon",on:{click:t.clearValueEvent}},[e("i",{class:(0,_ui.getIcon)().INPUT_CLEAR})]):(0,_ui.renderEmptyElement)(t),l?t.renderExtraSuffixIcon(e):(0,_ui.renderEmptyElement)(t),a||n||r?e("div",{class:"vxe-input--suffix-icon",on:{click:t.clickSuffixEvent}},a?(0,_vn.getSlotVNs)(a({})):[n?e("i",{class:n}):(0,_ui.renderEmptyElement)(t),r?e("span",{class:"vxe-input--suffix-text"},"".concat(r)):(0,_ui.renderEmptyElement)(t)]):(0,_ui.renderEmptyElement)(t)]):null},renderExtraSuffixIcon:function(e){var t=this,a=t.controls,n=t.computeIsNumType,i=t.computeIsDatePickerType,r=t.computeIsSearchType;return t.computeIsPawdType?t.renderPasswordIcon(e):n&&a?t.renderNumberIcon(e):i?t.renderDatePickerIcon(e):r?t.renderSearchIcon(e):(0,_ui.renderEmptyElement)(t)},renderVN:function(e){var t,a,n,i,r,u,l,s,o,c,d=this,p=d.$scopedSlots,m=d.reactData,f=d.className,h=d.inputClassName,v=d.controls,y=d.type,g=d.title,D=d.floatContent,x=d.align,_=d.showWordCount,b=d.countMethod,E=d.name,P=d.autoComplete,T=d.autocomplete,S=d.floatAlign,I=m.inputValue,k=m.visiblePanel,m=m.isActivated,V=d.computeSize,N=d.computeIsDisabled;return d.computeFormReadonly?e("div",{ref:"refElem",class:["vxe-input--readonly","type--".concat(y),f]},I):(t=d.computeCurrStyle,a=d.computeIsCountError,n=d.computeInputCount,i=d.computeInputReadonly,r=d.computeInpMaxLength,u=d.computeInputType,l=d.computeInpPlaceholder,s=d.computeIsClearable,_=_&&["text","search"].includes(y),o=d.renderPrefixIcon(e),c=d.renderSuffixIcon(e),p=p.float,e("div",{ref:"refElem",class:["vxe-input","type--".concat(y),D?"fla--".concat(S||"center"):"",f,(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(y={},"size--".concat(V),V),"is--".concat(x),x),"is--controls",v),"is--prefix",!!o),"is--suffix",!!c),"is--visible",k),"is--clear",s),"is--count",_),"is--disabled",N),"is--active",m),_defineProperty(y,"show--clear",s&&!N&&!(""===I||_xeUtils.default.eqNull(I))))],style:t,attrs:{spellcheck:!1}},[o||(0,_ui.renderEmptyElement)(d),e("div",{class:"vxe-input--wrapper",attrs:g?{title:g}:void 0},[e("input",{ref:"refInputTarget",class:"vxe-input--inner"+(h?" "+h:""),domProps:{value:I},attrs:{name:E,type:u,placeholder:l,maxlength:r,readonly:i,disabled:N,autocomplete:P||T},on:{keydown:d.keydownEvent,keyup:d.keyupEvent,click:d.clickEvent,input:d.inputEvent,change:d.changeEvent,focus:d.focusEvent,blur:d.blurEvent}}),D||p?e("span",{class:"vxe-input--float-wrapper"},p?p({}):(0,_utils.getText)(D)):(0,_ui.renderEmptyElement)(d)]),c||(0,_ui.renderEmptyElement)(d),d.renderPanel(e),_?e("span",{class:["vxe-input--count",{"is--error":a}]},b?"".concat(b({value:I})):"".concat(n).concat(r?"/".concat(r):"")):(0,_ui.renderEmptyElement)(d)]))}},watch:{value:function(e){this.reactData.inputValue=e,this.changeValue()},type:function(){var e=this.reactData;Object.assign(e,{inputValue:this.value,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),this.initValue()},computeDateLabelFormat:function(){var e=this,t=e,a=e.reactData;e.computeIsDatePickerType&&(e.dateParseValue(a.datePanelValue),a.inputValue=t.multiple?e.computeDateMultipleLabel:a.datePanelLabel)}},created:function(){this.reactData.inputValue=this.value,this.initValue()},mounted:function(){var e=this,t=e.type,t=(["date","time","datetime","week","month","quarter","year"].includes(t)?warnLog("vxe.error.useNew",['<vxe-input type="'.concat(t,'" ... />'),'<vxe-date-picker type="'.concat(t,'" ... />')]):["number","integer","float"].includes(t)?warnLog("vxe.error.useNew",['<vxe-input type="'.concat(t,'" ... />'),'<vxe-number-input type="'.concat(t,'" ... />')]):["password"].includes(t)&&warnLog("vxe.error.useNew",['<vxe-input type="'.concat(t,'" ... />'),"<vxe-password-input ... />"]),e.$refs.refInputTarget);t&&t.addEventListener("wheel",e.wheelEvent,{passive:!1}),_ui.globalEvents.on(e,"mousewheel",e.handleGlobalMousewheelEvent),_ui.globalEvents.on(e,"mousedown",e.handleGlobalMousedownEvent),_ui.globalEvents.on(e,"keydown",e.handleGlobalKeydownEvent),_ui.globalEvents.on(e,"blur",e.handleGlobalBlurEvent)},beforeDestroy:function(){var e=this,t=e.$refs.refInputPanel,t=(t&&t.parentNode&&t.parentNode.removeChild(t),e.numberStopDown(),e.afterCheckValue(),e.$refs.refInputTarget);t&&t.removeEventListener("wheel",e.wheelEvent),_ui.globalEvents.off(e,"mousewheel"),_ui.globalEvents.off(e,"mousedown"),_ui.globalEvents.off(e,"keydown"),_ui.globalEvents.off(e,"blur")},render:function(e){return this.renderVN(e)}});
|
package/lib/language/en-US.js
CHANGED
|
@@ -664,7 +664,7 @@ var _default = exports.default = {
|
|
|
664
664
|
mergeErr: 'This operation cannot be performed on merged cells',
|
|
665
665
|
multiErr: 'This operation cannot be performed on multiple selection areas',
|
|
666
666
|
selectErr: 'Unable to operate on cells in the specified range',
|
|
667
|
-
extendErr: '
|
|
667
|
+
extendErr: 'To perform this operation, all merged cells must be of the same size',
|
|
668
668
|
pasteMultiErr: 'Unable to paste, the copied and pasted areas need to be of the same size to perform this operation',
|
|
669
669
|
cpInvalidErr: 'The operation cannot be performed. There are prohibited columns ({0}) in the range you selected.'
|
|
670
670
|
},
|
|
@@ -816,7 +816,7 @@ var _default = exports.default = {
|
|
|
816
816
|
area: {
|
|
817
817
|
mergeErr: 'This operation cannot be performed on merged cells',
|
|
818
818
|
multiErr: 'This operation cannot be performed on multiple selection areas',
|
|
819
|
-
extendErr: '
|
|
819
|
+
extendErr: 'To perform this operation, all merged cells must be of the same size',
|
|
820
820
|
pasteMultiErr: 'Unable to paste, the copied and pasted areas need to be of the same size to perform this operation'
|
|
821
821
|
},
|
|
822
822
|
fnr: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
((e,t)=>{"function"==typeof define&&define.amd?define("vxe-language.en-US",["exports"],t):"undefined"!=typeof exports?t(exports):(t(t={}),e.VxeLanguageEnUs=t)})("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={vxe:{base:{pleaseInput:"Please enter",pleaseSelect:"Please select",comma:",",fullStop:"。"},loading:{text:"Loading..."},error:{downErr:"Download failed",errLargeData:"When the amount of bound data is too large, please use {0}, otherwise it may cause lag",groupFixed:"If using grouped headers, the frozen column must be set by group",groupMouseRange:'The grouping header cannot be used at the same time as "{0}" and this may cause an error',groupTag:'Grouping column headers should use "{0}" instead of "{1}", which may cause errors',scrollErrProp:'This parameter "{0}" is not supported after virtual scrolling is enabled',errConflicts:'Parameter "{0}" conflicts with "{1}"',modelConflicts:'The bound field values "{0}" and "{1}" conflict, an error will occur.',notSupportProp:'"{1}" is not supported when the parameter "{0}" is enabled, it should be "{2}", otherwise an error will occur',reqSupportProp:'When using "{0}", "{1}" should be set; otherwise, an error may occur.',notConflictProp:'When using "{0}", "{1}" should be set, otherwise there may be functional conflicts',unableInsert:"Cannot be inserted into the specified location, please check whether the parameters are correct",useErr:'An error occurred while installing the "{0}" module. The order may be incorrect. The dependent module needs to be installed before Table',barUnableLink:"The toolbar cannot associate tables",expandContent:'The slot for the expanded line should be "content", please check if it is correct',reqComp:'The component "{0}" is missing. Please check if it is installed correctly. https://vxeui.com/#/start/useUI/useGlobal',reqModule:'Missing "{0}" module',reqProp:'The necessary "{0}" parameter is missing, which may cause an error',emptyProp:'Parameter "{0}" is not allowed to be empty',errProp:'Unsupported parameter "{0}", possibly "{1}"',colRepet:'column.{0}="{1}" is repeated, which may cause some functions to become unusable',notFunc:'Method "{0}" does not exist',errFunc:'Parameter "{0}" is not a method',notValidators:'Global verification "{0}" does not exist',notFormats:'Global formatting "{0}" does not exist',notCommands:'The global directive "{0}" does not exist',notSlot:'Slot "{0}" does not exist',noTree:'"{0}" is not supported in the tree structure',noGroup:'"{0}" is not supported in the aggregation grouping',notProp:'Unsupported parameter "{0}"',returnErr:'参数 "{0}" 的返回值期望是 "{1}" 实际是 "{2}"',notSupportReturn:'当返回值为 "{0}" 时的参数应该使用用 "{1}" 而不是 "{2}"',checkProp:'When the data volume is too large, the check box may be stuttered. It is recommended to set the parameter "{0}" to improve rendering speed',coverProp:'The parameter "{1}" of "{0}" is repeatedly defined, which may cause an error',uniField:'The field name "{0}" is repeatedly defined, which may cause an error',repeatKey:'Repeat the primary key {0}="{1}", which may cause an error',repeatProp:'Repeat parameters {0}="{1}", which may cause an error',delFunc:'Method "{0}" is deprecated, please use "{1}"',delProp:'Parameter "{0}" is deprecated, please use "{1}"',delEvent:'Event "{0}" is deprecated, please use "{1}"',removeProp:'Parameter "{0}" is deprecated and is not recommended, which may cause an error',errFormat:'Global formatted content should be defined using "VXETable.formats" and the method of mounting "formatter={0}" is no longer recommended.',notType:'Unsupported file type "{0}"',notExp:"This browser does not support import/export function",impFields:"The import failed. Please check whether the field name and data format are correct.",treeNotImp:"Tree tables do not support import",treeCrossDrag:"Only drag the first level",treeDragChild:"Parents cannot drag to their own children",reqPlugin:'扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',errMaxRow:"Exceeding the maximum supported data volume {0} rows, this may cause an error",useNew:"It is not recommended to use {0}. Please use {1} instead.",errorVersion:"Version mismatch. Current version is {0}, while the minimum supported version is {1}."},table:{emptyText:"No data yet",allTitle:"Select all/cancel",seqTitle:"No.",actionTitle:"Operate",confirmFilter:"Filter",resetFilter:"Reset",allFilter:"All",sortAsc:"Ascending order: lowest to highest",sortDesc:"Descending order: highest to lowest",filter:"Enable filtering for selected columns",impSuccess:"Successfully imported {0} records",expLoading:"Exporting",expSuccess:"Export successfully",expError:"Export failed",expFilename:"Export_{0}",expOriginFilename:"Export_source_{0}",customTitle:"Custom setting",customAll:"All",customConfirm:"Confirm",customClose:"Closure",customCancel:"Cancel",customRestore:"Restore default",maxFixedCol:"The maximum number of frozen columns cannot exceed {0}",maxGroupCol:"The maximum number of grouping fields cannot exceed {0}",dragTip:"Move: {0}",resizeColTip:"Width: {0} pixels",resizeRowTip:"Height: {0} pixels",rowGroupContentTotal:"{0} ({1})",menuLoading:"加载中..."},grid:{selectOneRecord:"Please select at least one record!",deleteSelectRecord:"Are you sure you want to delete the selected record?",removeSelectRecord:"Are you sure you want to remove the selected record?",dataUnchanged:"Data not changed!",delSuccess:"The selected record was successfully deleted!",saveSuccess:"Save successfully!",operError:"An error occurred and the operation failed!"},select:{clear:"Clear",allChecked:"All",total:"{0} items selected",close:"Close",search:"Search",loadingText:"Loading",emptyText:"No data yet",maxSize:"最大可选择的数量不能超过 {0} 个",overSizeErr:"The maximum selectable quantity of {0} has been exceeded. The excess part will be ignored!",searchEmpty:"No matching data found!"},list:{allChecked:"All",dragTip:"Move: {0}"},tree:{searchEmpty:"No matching data found!",dragTip:"Move: {0}"},treeSelect:{clearChecked:"Clear",allChecked:"Check all",allExpand:"Expand all",clearExpand:"Collapse all",total:"{0} items selected",close:"Close",search:"Search",emptyText:"No data yet"},pager:{goto:"Go",gotoTitle:"Number of pages",pagesize:"{0} items/page",total:"Total {0} records",pageClassifier:"Page",homePage:"front page",homePageTitle:"front page",prevPage:"Previous page",prevPageTitle:"Previous page",nextPage:"Next page",nextPageTitle:"Next page",prevJump:"Jump up page",prevJumpTitle:"Jump up page",nextJump:"Jump down page",nextJumpTitle:"Jump down page",endPage:"Last page",endPageTitle:"Last page"},alert:{title:"System prompts"},button:{confirm:"Confirm",cancel:"Cancel",clear:"Clear"},filter:{search:"search"},custom:{cstmTitle:"Custom setting",cstmRestore:"Restore default",cstmCancel:"Cancel",cstmConfirm:"Sure",cstmConfirmRestore:"Please confirm whether it is restored to the default column configuration?",cstmDragTarget:"Move: {0}",setting:{colSort:"Sort",sortHelpTip:"Click on the icon and then start dragging.",colTitle:"Title",colResizable:"Width (pixels)",colVisible:"Visible",colFixed:"Freeze",colFixedMax:"Freeze (Max {0})",colAlign:"Align",colHeadAlign:"Header align",colFootAlign:"Footer align",fixedLeft:"Left",fixedUnset:"None",fixedRight:"Right",alignLeft:"Left",alignCenter:"Center",alignRight:"Right",moveUp:"Up",moveDn:"Down",putTop:"Top",putBottom:"Bottom",moveUpTitle:"Click to move upwards",moveDnTitle:"Click to move downward",putTopTitle:"Click to start",putBottomTitle:"Click to end",anLeftTitle:"Align left",anCenterTitle:"Align center",anRightTitle:"Align right"}},import:{modes:{covering:"Overwrite method (directly overwrite table data)",insert:"Append at the bottom (append new data at the bottom of the table)",insertTop:"Append at the top (append new data at the top of the table)",insertBottom:"Append at the bottom (append new data at the bottom of the table)"},impTitle:"Import data",impFile:"File name",impSelect:"Select file",impType:"File type",impOpts:"Parameter settings",impMode:"Import mode",impConfirm:"Import",impCancel:"Cancel"},export:{types:{csv:"CSV (comma separated)(*.csv)",html:"Web page (*.html)",xml:"XML data (*.xml)",txt:"Text file (tab separated)(*.txt)",xls:"Excel 97-2003 Workbook (*.xls)",xlsx:"Excel workbook (*.xlsx)",pdf:"PDF (*.pdf)"},modes:{empty:"Empty data",current:"Current data (data on the current page)",selected:"Selected data (data selected on the current page)",all:"Full data (including all paged data)"},printTitle:"Print data",expTitle:"Export data",expName:"File name",expNamePlaceholder:"Please enter a file name",expSheetName:"Title",expSheetNamePlaceholder:"Please enter a title",expType:"Save type",expMode:"Select data",expCurrentColumn:"All fields",expColumn:"Select field",widthMode:"Column width settings",wModeTitle:"Set the rendering mode for column width during printing",wdModes:{default:"Default",auto:"Adaptive (adjusting column width according to content)",scale:"Proportional (adjusting column widths according to the page ratio)"},expOpts:"Parameter settings",expOptHeader:"Header",expHeaderTitle:"Is the table header required",expOptFooter:"End of table",expFooterTitle:"Is the end of the table required?",expOptColgroup:"Grouping header",expOptTitle:"Column title",expTitleTitle:"Whether it is the column title, otherwise it will be displayed as the column's field name",expColgroupTitle:"If present, a header with a grouping structure is supported",expOptMerge:"merge",expMergeTitle:"If present, cells with merged structures are supported",expOptAllExpand:"Expand the tree",expAllExpandTitle:"If it exists, it is supported to expand all data with hierarchical structures",expOptTreeAllExpand:"Expand tree",expTreeAllExpandTitle:"If present, automatically expand all tree levels",expOptRowGroupAllExpand:"Expand group",expRowGroupAllExpandTitle:"If present, automatically expand all group levels",expOptUseStyle:"style",expUseStyleTitle:"If present, cells with style are supported",expOptOriginal:"Source data",expOriginalTitle:"If it is source data, import into tables is supported",expPrint:"Print",expConfirm:"Export",expCancel:"Cancel"},modal:{errTitle:"Error message",zoomMin:"Minimize",zoomIn:"maximize",zoomOut:"reduction",close:"closure",miniMaxSize:"The number of minimized windows cannot exceed {0}",footPropErr:"show-footer is only used to enable the table tail, and must be used with show-confirm-button | show-cancel-button | slots"},drawer:{close:"closure"},form:{folding:"Close",unfolding:"Expand"},toolbar:{import:"Import",export:"Export",print:"Print",refresh:"Refresh",zoomIn:"Full screen",zoomOut:"reduction",custom:"Custom setting",customAll:"All",customConfirm:"Confirm",customRestore:"Reset",fixedLeft:"Freeze left",fixedRight:"Freeze right",cancelFixed:"Unfreeze"},iconPicker:{search:"搜索",emptyText:"暂无数据"},datePicker:{yearTitle:"{0} years"},dateRangePicker:{pleaseRange:"Please select the date time and the end date"},input:{date:{m1:"January",m2:"February",m3:"March",m4:"April",m5:"May",m6:"June",m7:"July",m8:"August",m9:"September",m10:"October",m11:"November",m12:"December",quarterLabel:"{0} years",monthLabel:"{0} years",dayLabel:"{0} year {1}",labelFormat:{date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss",week:"Week WW of year yyyy",month:"yyyy-MM",quarter:"quarter q of year yyyy",year:"yyyy"},weeks:{w:"",w0:"Sun",w1:"Mon",w2:"Tue",w3:"Wed",w4:"Thu",w5:"Fri",w6:"Sat"},months:{m0:"January",m1:"February",m2:"March",m3:"April",m4:"May",m5:"June",m6:"July",m7:"August",m8:"September",m9:"October",m10:"November",m11:"December"},quarters:{q1:"First quarter",q2:"Second quarter",q3:"Third quarter",q4:"Fourth quarter"}}},calendar:{yearLabel:"{0}",monthLabel:"{0}"},cascader:{clearChecked:"清除",allChecked:"全选",total:"已选 {0} 项",close:"关闭",search:"搜索"},numberInput:{currencySymbol:"$"},imagePreview:{popupTitle:"Preview",operBtn:{zoomOut:"Shrink",zoomIn:"enlarge",pctFull:"Scaling equally",pct11:"Show original size",rotateLeft:"Rotate left",rotateRight:"Rotate to the right",print:"Click to print the picture",download:"Click to download the picture"}},upload:{fileBtnText:"Click or drag to upload",imgBtnText:"Click or drag to upload",dragPlaceholder:"Please drag and drop the file to this area to upload",imgSizeHint:"Leaflet {0}",imgCountHint:"Maximum {0} pictures",fileTypeHint:"Support {0} file types",fileSizeHint:"A single file size does not exceed {0}",fileCountHint:"Up to {0} files can be uploaded",uploadTypeErr:"File type mismatch!",overCountErr:"Only {0} files can be selected at most!",overCountExtraErr:"The maximum number of {0} has been exceeded, and the excess {1} files will be ignored!",overSizeErr:"The maximum file size cannot exceed {0}!",manualUpload:"点击上传",reUpload:"Re-upload",uploadProgress:"Uploading {0}%",uploadErr:"Upload failed",uploadSuccess:"Upload successfully",moreBtnText:"More ({0})",moreImgBtnText:"图片({0})",moreFileBtnText:"文件({0})",viewItemTitle:"Click to view",morePopup:{readTitle:"View list",imageTitle:"Upload pictures",fileTitle:"Upload file"}},empty:{defText:"No data yet"},colorPicker:{clear:"Clear",confirm:"Confirm",copySuccess:"Copyed to clipboard: {0}",hex:"HEX"},formDesign:{formName:"Form name",defFormTitle:"Unnamed form",widgetPropTab:"Control Properties",widgetFormTab:"Form Properties",error:{wdFormUni:"This type of control is allowed to add only one in the form",wdSubUni:"This type of control is allowed to add only one in the subtable"},styleSetting:{btn:"Style settings",title:"Form style settings",layoutTitle:"Control layout",verticalLayout:"Top and bottom layout",horizontalLayout:"Horizontal layout",styleTitle:"Title style",boldTitle:"Title bold",fontBold:"Bold",fontNormal:"conventional",colonTitle:"Show colon",colonVisible:"show",colonHidden:"hide",alignTitle:"Alignment",widthTitle:"Title Width",alignLeft:"On the left",alignRight:"On the right",unitPx:"Pixels",unitPct:"percentage"},widget:{group:{base:"Basic controls",layout:"Layout Controls",system:"System Controls",module:"Module controls",chart:"Chart control",advanced:"Advanced Controls"},copyTitle:"Copy_{0}",component:{input:"Input box",textarea:"Text field",select:"Pull down to select",row:"One row and multiple columns",title:"title",text:"text",subtable:"Sub-table",VxeSwitch:"whether",VxeInput:"Input box",VxeNumberInput:"number",VxeDatePicker:"date",VxeTextarea:"Text field",VxeSelect:"Pull down to select",VxeTreeSelect:"Tree selection",VxeRadioGroup:"Radio button",VxeCheckboxGroup:"Checkbox",VxeUploadFile:"document",VxeUploadImage:"picture",VxeRate:"score",VxeSlider:"slider"}},widgetProp:{name:"Control name",placeholder:"Prompt",required:"Required verification",multiple:"Multiple choices are allowed",displaySetting:{name:"Display settings",pc:"PC",mobile:"Mobile",visible:"show",hidden:"hide"},dataSource:{name:"Data Source",defValue:"Option {0}",addOption:"Add options",batchEditOption:"Batch editing",batchEditTip:"Each row corresponds to an option, which supports direct copy and paste from tables, Excel, and WPS.",batchEditSubTip:"Each row corresponds to an option. If it is a group, the child items can start with a space or a tab key, and it supports direct copy and paste from tables, Excel, and WPS.",buildOption:"Build options"},rowProp:{colSize:"Number of columns",col2:"Two columns",col3:"Three columns",col4:"Four columns",col6:"Six columns",layout:"layout"},textProp:{name:"content",alignTitle:"Alignment",alignLeft:"On the left",alignCenter:"Center",alignRight:"On the right",colorTitle:"Font color",sizeTitle:"Font size",boldTitle:"Bold font",fontNormal:"conventional",fontBold:"Bold"},subtableProp:{seqTitle:"No.",showSeq:"Show serial number",showCheckbox:"Multiple choices are allowed",errSubDrag:"The subtable does not support this control, please use other controls",colPlace:"Drag the control in"},uploadProp:{limitFileCount:"File quantity limit",limitFileSize:"File size limit",multiFile:"Allow multiple files to be uploaded",limitImgCount:"Limit number of pictures",limitImgSize:"Image size limit",multiImg:"Allow multiple pictures to upload"}}},listDesign:{fieldSettingTab:"Field settings",listSettingTab:"Parameter settings",searchTitle:"Query criteria",listTitle:"List field",searchField:"Query fields",listField:"List field",activeBtn:{ActionButtonUpdate:"edit",ActionButtonDelete:"delete"},search:{addBtn:"edit",emptyText:"Query conditions not configured",editPopupTitle:"Edit query fields"},searchPopup:{colTitle:"title",saveBtn:"save"}},text:{copySuccess:"Copyed to clipboard",copyError:"The current environment does not support this operation"},countdown:{formats:{yyyy:"Year",MM:"moon",dd:"sky",HH:"hour",mm:"point",ss:"Second"}},contextMenu:{loadingText:"Loading"},switch:{onText:"On",offText:"Off"},gantt:{tFullFormat:{year:"{yyyy}年",quarter:"{yyyy}年第{q}季度",month:"{yyyy}年{MM}月",week:"{yyyy}年第{W}周",day:"{yyyy}年{MM}月 {E}",date:"{yyyy}年{MM}月{dd}日",hour:"{yyyy}年{MM}月{dd}日{HH}时",minute:"{yyyy}年{MM}月{dd}日{HH}时{mm}分",second:"{yyyy}年{MM}月{dd}日{HH}时{mm}分{ss}秒"},tSimpleFormat:{year:"{yyyy}年",quarter:"{q}季度",month:"{M}月",week:"{W}周",day:"{d}",date:"{d}",hour:"{HH}",minute:"{mm}",second:"{ss}"},stepFormat:{year:"{start.yyyy}~{end.yyyy}年",quarter:"{start.q}~{end.q}季度",month:"{start.M}~{end.M}月",week:"{start.W}~{end.W}周",day:"{sE}~{eE}",date:"{start.d}~{end.d}",hour:"{start.HH}~{end.HH}",minute:"{start.mm}~{end.mm}",second:"{start.ss}~{end.ss}"},dayss:{w0:"Sun",w1:"Mon",w2:"Tue",w3:"Wed",w4:"Thu",w5:"Fri",w6:"Sat"},days:{w0:"日",w1:"一",w2:"二",w3:"三",w4:"四",w5:"五",w6:"六"}},plugins:{extendCellArea:{area:{mergeErr:"This operation cannot be performed on merged cells",multiErr:"This operation cannot be performed on multiple selection areas",selectErr:"Unable to operate on cells in the specified range",extendErr:"If the extended range contains merged cells, all merged cells must be the same size",pasteMultiErr:"Unable to paste, the copied and pasted areas need to be of the same size to perform this operation",cpInvalidErr:"The operation cannot be performed. There are prohibited columns ({0}) in the range you selected."},fnr:{title:"Find and replace",titleFd:"Find",titleRe:"Replace",findLabel:"Find",replaceLabel:"replace",findTitle:"Find what:",replaceTitle:"Replace with:",tabs:{find:"Find",replace:"replace"},filter:{re:"Regular expressions",whole:"Full word matching",sensitive:"case sensitive"},btns:{findNext:"Find next",findAll:"Find all",replace:"replace",replaceAll:"Replace all",cancel:"Cancel"},header:{seq:"#",cell:"Cell",value:"value"},body:{row:"Row: {0}",col:"Column: {0}"},empty:"(Null value)",reError:"Invalid regular expression",recordCount:"{0} cells found",notCell:"The matching cell cannot be found",replaceSuccess:"Successfully replaced {0} cells"}},extendPivotTable:{aggregation:{grouping:"Group",values:"Values",groupPlaceholder:"Drag here to set row groups",valuesPlaceholder:"Drag here to aggregate",dragExistCol:"The column already exists",sortHelpTip:"点击图标开始拖动"},aggFuncs:{sum:"Sum",count:"Count",avg:"Avg",min:"Min",max:"Max",first:"First",last:"Last"}},filterComplexInput:{menus:{fixedColumn:"Freeze column",fixedGroup:"Freeze group",cancelFixed:"Unfreeze",fixedLeft:"Freeze left",fixedRight:"Freeze right"},cases:{equal:"equal",gt:"Greater",lt:"Less",begin:"Start",endin:"End",include:"Include",isSensitive:"case sensitive"}},filterCombination:{menus:{sort:"Sort",clearSort:"Clear sort",sortAsc:"Ascending order",sortDesc:"descending order",fixedColumn:"Freeze column",fixedGroup:"Freeze group",cancelFixed:"Unfreeze",fixedLeft:"Freeze left",fixedRight:"Freeze right",clearFilter:"Clear Filter",textOption:"Text filters",numberOption:"Number filters",dateOption:"Date filters"},popup:{title:"Custom filtering methods",currColumnTitle:"Show rows where:",and:"and",or:"or",describeHtml:"Available? Represents a single character<br/>Use * Represents any multiple characters"},cases:{equal:"equal",unequal:"Not equal",gt:"Greater",ge:"Greater or equal",lt:"Less",le:"Less or equal",begin:"Start",notbegin:"It's not at the beginning",endin:"End",notendin:"The ending is not",include:"Include",exclude:"Not included",between:"Between",isAfter:"Is after",eqAfter:"Is after or equal to",isBefore:"Is before",eqBefore:"Is before or equal to",top10:"Top 10",aboveAverage:"Above average",belowAverage:"Below average",before:"Before",after:"After",tomorrow:"Tomorrow",today:"Today",yesterday:"Yesterday",nextWeek:"Next Week",thisWeek:"This Week",lastWeek:"Last Week",nextMonth:"Next Month",thisMonth:"This Month",lastMonth:"Last Month",nextYear:"Next Year",thisYear:"This Year",lastYear:"Last Year",yearToDate:"Year to Date",custom:"Custom filter",insensitive:"Case insensitive",isSensitive:"case sensitive"},empty:"(blank)",notData:"No match"}},pro:{area:{mergeErr:"This operation cannot be performed on merged cells",multiErr:"This operation cannot be performed on multiple selection areas",extendErr:"If the extended range contains merged cells, all merged cells must be the same size",pasteMultiErr:"Unable to paste, the copied and pasted areas need to be of the same size to perform this operation"},fnr:{title:"Find and replace",titleFd:"Find",titleRe:"Replace",findLabel:"Find",replaceLabel:"replace",findTitle:"Find content:",replaceTitle:"Replace with:",tabs:{find:"Find",replace:"replace"},filter:{re:"Regular expressions",whole:"Full word matching",sensitive:"case sensitive"},btns:{findNext:"Find next",findAll:"Find all",replace:"replace",replaceAll:"Replace all",cancel:"Cancel"},header:{seq:"#",cell:"Cell",value:"value"},empty:"(Null value)",reError:"Invalid regular expression",recordCount:"{0} cells found",notCell:"No matching cell found",replaceSuccess:"Successfully replaced {0} cells"}},renderer:{search:"search",cases:{equal:"equal",unequal:"Not equal",gt:"Greater",ge:"Greater or equal",lt:"Less",le:"Less or equal",begin:"Start",notbegin:"It's not at the beginning",endin:"End",notendin:"The ending is not",include:"Include",exclude:"Not included",between:"Between",top10:"Top 10",aboveAverage:"Above average",belowAverage:"Below average",custom:"Custom filter",insensitive:"Case insensitive",isSensitive:"case sensitive"},combination:{menus:{sort:"Sort",clearSort:"Clear sort",sortAsc:"Ascending order",sortDesc:"descending order",fixedColumn:"Freeze column",fixedGroup:"Freeze group",cancelFixed:"Unfreeze",fixedLeft:"Freeze left",fixedRight:"Freeze right",clearFilter:"Clear Filter",textOption:"Text filters",numberOption:"Number filters",dateOption:"Date filters"},popup:{title:"Custom filtering methods",currColumnTitle:"Show rows where:",and:"and",or:"or",describeHtml:"Available? Represents a single character<br/>Use * Represents any multiple characters"},empty:"(blank)",notData:"No match"}}}}});
|
|
1
|
+
((e,t)=>{"function"==typeof define&&define.amd?define("vxe-language.en-US",["exports"],t):"undefined"!=typeof exports?t(exports):(t(t={}),e.VxeLanguageEnUs=t)})("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={vxe:{base:{pleaseInput:"Please enter",pleaseSelect:"Please select",comma:",",fullStop:"。"},loading:{text:"Loading..."},error:{downErr:"Download failed",errLargeData:"When the amount of bound data is too large, please use {0}, otherwise it may cause lag",groupFixed:"If using grouped headers, the frozen column must be set by group",groupMouseRange:'The grouping header cannot be used at the same time as "{0}" and this may cause an error',groupTag:'Grouping column headers should use "{0}" instead of "{1}", which may cause errors',scrollErrProp:'This parameter "{0}" is not supported after virtual scrolling is enabled',errConflicts:'Parameter "{0}" conflicts with "{1}"',modelConflicts:'The bound field values "{0}" and "{1}" conflict, an error will occur.',notSupportProp:'"{1}" is not supported when the parameter "{0}" is enabled, it should be "{2}", otherwise an error will occur',reqSupportProp:'When using "{0}", "{1}" should be set; otherwise, an error may occur.',notConflictProp:'When using "{0}", "{1}" should be set, otherwise there may be functional conflicts',unableInsert:"Cannot be inserted into the specified location, please check whether the parameters are correct",useErr:'An error occurred while installing the "{0}" module. The order may be incorrect. The dependent module needs to be installed before Table',barUnableLink:"The toolbar cannot associate tables",expandContent:'The slot for the expanded line should be "content", please check if it is correct',reqComp:'The component "{0}" is missing. Please check if it is installed correctly. https://vxeui.com/#/start/useUI/useGlobal',reqModule:'Missing "{0}" module',reqProp:'The necessary "{0}" parameter is missing, which may cause an error',emptyProp:'Parameter "{0}" is not allowed to be empty',errProp:'Unsupported parameter "{0}", possibly "{1}"',colRepet:'column.{0}="{1}" is repeated, which may cause some functions to become unusable',notFunc:'Method "{0}" does not exist',errFunc:'Parameter "{0}" is not a method',notValidators:'Global verification "{0}" does not exist',notFormats:'Global formatting "{0}" does not exist',notCommands:'The global directive "{0}" does not exist',notSlot:'Slot "{0}" does not exist',noTree:'"{0}" is not supported in the tree structure',noGroup:'"{0}" is not supported in the aggregation grouping',notProp:'Unsupported parameter "{0}"',returnErr:'参数 "{0}" 的返回值期望是 "{1}" 实际是 "{2}"',notSupportReturn:'当返回值为 "{0}" 时的参数应该使用用 "{1}" 而不是 "{2}"',checkProp:'When the data volume is too large, the check box may be stuttered. It is recommended to set the parameter "{0}" to improve rendering speed',coverProp:'The parameter "{1}" of "{0}" is repeatedly defined, which may cause an error',uniField:'The field name "{0}" is repeatedly defined, which may cause an error',repeatKey:'Repeat the primary key {0}="{1}", which may cause an error',repeatProp:'Repeat parameters {0}="{1}", which may cause an error',delFunc:'Method "{0}" is deprecated, please use "{1}"',delProp:'Parameter "{0}" is deprecated, please use "{1}"',delEvent:'Event "{0}" is deprecated, please use "{1}"',removeProp:'Parameter "{0}" is deprecated and is not recommended, which may cause an error',errFormat:'Global formatted content should be defined using "VXETable.formats" and the method of mounting "formatter={0}" is no longer recommended.',notType:'Unsupported file type "{0}"',notExp:"This browser does not support import/export function",impFields:"The import failed. Please check whether the field name and data format are correct.",treeNotImp:"Tree tables do not support import",treeCrossDrag:"Only drag the first level",treeDragChild:"Parents cannot drag to their own children",reqPlugin:'扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',errMaxRow:"Exceeding the maximum supported data volume {0} rows, this may cause an error",useNew:"It is not recommended to use {0}. Please use {1} instead.",errorVersion:"Version mismatch. Current version is {0}, while the minimum supported version is {1}."},table:{emptyText:"No data yet",allTitle:"Select all/cancel",seqTitle:"No.",actionTitle:"Operate",confirmFilter:"Filter",resetFilter:"Reset",allFilter:"All",sortAsc:"Ascending order: lowest to highest",sortDesc:"Descending order: highest to lowest",filter:"Enable filtering for selected columns",impSuccess:"Successfully imported {0} records",expLoading:"Exporting",expSuccess:"Export successfully",expError:"Export failed",expFilename:"Export_{0}",expOriginFilename:"Export_source_{0}",customTitle:"Custom setting",customAll:"All",customConfirm:"Confirm",customClose:"Closure",customCancel:"Cancel",customRestore:"Restore default",maxFixedCol:"The maximum number of frozen columns cannot exceed {0}",maxGroupCol:"The maximum number of grouping fields cannot exceed {0}",dragTip:"Move: {0}",resizeColTip:"Width: {0} pixels",resizeRowTip:"Height: {0} pixels",rowGroupContentTotal:"{0} ({1})",menuLoading:"加载中..."},grid:{selectOneRecord:"Please select at least one record!",deleteSelectRecord:"Are you sure you want to delete the selected record?",removeSelectRecord:"Are you sure you want to remove the selected record?",dataUnchanged:"Data not changed!",delSuccess:"The selected record was successfully deleted!",saveSuccess:"Save successfully!",operError:"An error occurred and the operation failed!"},select:{clear:"Clear",allChecked:"All",total:"{0} items selected",close:"Close",search:"Search",loadingText:"Loading",emptyText:"No data yet",maxSize:"最大可选择的数量不能超过 {0} 个",overSizeErr:"The maximum selectable quantity of {0} has been exceeded. The excess part will be ignored!",searchEmpty:"No matching data found!"},list:{allChecked:"All",dragTip:"Move: {0}"},tree:{searchEmpty:"No matching data found!",dragTip:"Move: {0}"},treeSelect:{clearChecked:"Clear",allChecked:"Check all",allExpand:"Expand all",clearExpand:"Collapse all",total:"{0} items selected",close:"Close",search:"Search",emptyText:"No data yet"},pager:{goto:"Go",gotoTitle:"Number of pages",pagesize:"{0} items/page",total:"Total {0} records",pageClassifier:"Page",homePage:"front page",homePageTitle:"front page",prevPage:"Previous page",prevPageTitle:"Previous page",nextPage:"Next page",nextPageTitle:"Next page",prevJump:"Jump up page",prevJumpTitle:"Jump up page",nextJump:"Jump down page",nextJumpTitle:"Jump down page",endPage:"Last page",endPageTitle:"Last page"},alert:{title:"System prompts"},button:{confirm:"Confirm",cancel:"Cancel",clear:"Clear"},filter:{search:"search"},custom:{cstmTitle:"Custom setting",cstmRestore:"Restore default",cstmCancel:"Cancel",cstmConfirm:"Sure",cstmConfirmRestore:"Please confirm whether it is restored to the default column configuration?",cstmDragTarget:"Move: {0}",setting:{colSort:"Sort",sortHelpTip:"Click on the icon and then start dragging.",colTitle:"Title",colResizable:"Width (pixels)",colVisible:"Visible",colFixed:"Freeze",colFixedMax:"Freeze (Max {0})",colAlign:"Align",colHeadAlign:"Header align",colFootAlign:"Footer align",fixedLeft:"Left",fixedUnset:"None",fixedRight:"Right",alignLeft:"Left",alignCenter:"Center",alignRight:"Right",moveUp:"Up",moveDn:"Down",putTop:"Top",putBottom:"Bottom",moveUpTitle:"Click to move upwards",moveDnTitle:"Click to move downward",putTopTitle:"Click to start",putBottomTitle:"Click to end",anLeftTitle:"Align left",anCenterTitle:"Align center",anRightTitle:"Align right"}},import:{modes:{covering:"Overwrite method (directly overwrite table data)",insert:"Append at the bottom (append new data at the bottom of the table)",insertTop:"Append at the top (append new data at the top of the table)",insertBottom:"Append at the bottom (append new data at the bottom of the table)"},impTitle:"Import data",impFile:"File name",impSelect:"Select file",impType:"File type",impOpts:"Parameter settings",impMode:"Import mode",impConfirm:"Import",impCancel:"Cancel"},export:{types:{csv:"CSV (comma separated)(*.csv)",html:"Web page (*.html)",xml:"XML data (*.xml)",txt:"Text file (tab separated)(*.txt)",xls:"Excel 97-2003 Workbook (*.xls)",xlsx:"Excel workbook (*.xlsx)",pdf:"PDF (*.pdf)"},modes:{empty:"Empty data",current:"Current data (data on the current page)",selected:"Selected data (data selected on the current page)",all:"Full data (including all paged data)"},printTitle:"Print data",expTitle:"Export data",expName:"File name",expNamePlaceholder:"Please enter a file name",expSheetName:"Title",expSheetNamePlaceholder:"Please enter a title",expType:"Save type",expMode:"Select data",expCurrentColumn:"All fields",expColumn:"Select field",widthMode:"Column width settings",wModeTitle:"Set the rendering mode for column width during printing",wdModes:{default:"Default",auto:"Adaptive (adjusting column width according to content)",scale:"Proportional (adjusting column widths according to the page ratio)"},expOpts:"Parameter settings",expOptHeader:"Header",expHeaderTitle:"Is the table header required",expOptFooter:"End of table",expFooterTitle:"Is the end of the table required?",expOptColgroup:"Grouping header",expOptTitle:"Column title",expTitleTitle:"Whether it is the column title, otherwise it will be displayed as the column's field name",expColgroupTitle:"If present, a header with a grouping structure is supported",expOptMerge:"merge",expMergeTitle:"If present, cells with merged structures are supported",expOptAllExpand:"Expand the tree",expAllExpandTitle:"If it exists, it is supported to expand all data with hierarchical structures",expOptTreeAllExpand:"Expand tree",expTreeAllExpandTitle:"If present, automatically expand all tree levels",expOptRowGroupAllExpand:"Expand group",expRowGroupAllExpandTitle:"If present, automatically expand all group levels",expOptUseStyle:"style",expUseStyleTitle:"If present, cells with style are supported",expOptOriginal:"Source data",expOriginalTitle:"If it is source data, import into tables is supported",expPrint:"Print",expConfirm:"Export",expCancel:"Cancel"},modal:{errTitle:"Error message",zoomMin:"Minimize",zoomIn:"maximize",zoomOut:"reduction",close:"closure",miniMaxSize:"The number of minimized windows cannot exceed {0}",footPropErr:"show-footer is only used to enable the table tail, and must be used with show-confirm-button | show-cancel-button | slots"},drawer:{close:"closure"},form:{folding:"Close",unfolding:"Expand"},toolbar:{import:"Import",export:"Export",print:"Print",refresh:"Refresh",zoomIn:"Full screen",zoomOut:"reduction",custom:"Custom setting",customAll:"All",customConfirm:"Confirm",customRestore:"Reset",fixedLeft:"Freeze left",fixedRight:"Freeze right",cancelFixed:"Unfreeze"},iconPicker:{search:"搜索",emptyText:"暂无数据"},datePicker:{yearTitle:"{0} years"},dateRangePicker:{pleaseRange:"Please select the date time and the end date"},input:{date:{m1:"January",m2:"February",m3:"March",m4:"April",m5:"May",m6:"June",m7:"July",m8:"August",m9:"September",m10:"October",m11:"November",m12:"December",quarterLabel:"{0} years",monthLabel:"{0} years",dayLabel:"{0} year {1}",labelFormat:{date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss",week:"Week WW of year yyyy",month:"yyyy-MM",quarter:"quarter q of year yyyy",year:"yyyy"},weeks:{w:"",w0:"Sun",w1:"Mon",w2:"Tue",w3:"Wed",w4:"Thu",w5:"Fri",w6:"Sat"},months:{m0:"January",m1:"February",m2:"March",m3:"April",m4:"May",m5:"June",m6:"July",m7:"August",m8:"September",m9:"October",m10:"November",m11:"December"},quarters:{q1:"First quarter",q2:"Second quarter",q3:"Third quarter",q4:"Fourth quarter"}}},calendar:{yearLabel:"{0}",monthLabel:"{0}"},cascader:{clearChecked:"清除",allChecked:"全选",total:"已选 {0} 项",close:"关闭",search:"搜索"},numberInput:{currencySymbol:"$"},imagePreview:{popupTitle:"Preview",operBtn:{zoomOut:"Shrink",zoomIn:"enlarge",pctFull:"Scaling equally",pct11:"Show original size",rotateLeft:"Rotate left",rotateRight:"Rotate to the right",print:"Click to print the picture",download:"Click to download the picture"}},upload:{fileBtnText:"Click or drag to upload",imgBtnText:"Click or drag to upload",dragPlaceholder:"Please drag and drop the file to this area to upload",imgSizeHint:"Leaflet {0}",imgCountHint:"Maximum {0} pictures",fileTypeHint:"Support {0} file types",fileSizeHint:"A single file size does not exceed {0}",fileCountHint:"Up to {0} files can be uploaded",uploadTypeErr:"File type mismatch!",overCountErr:"Only {0} files can be selected at most!",overCountExtraErr:"The maximum number of {0} has been exceeded, and the excess {1} files will be ignored!",overSizeErr:"The maximum file size cannot exceed {0}!",manualUpload:"点击上传",reUpload:"Re-upload",uploadProgress:"Uploading {0}%",uploadErr:"Upload failed",uploadSuccess:"Upload successfully",moreBtnText:"More ({0})",moreImgBtnText:"图片({0})",moreFileBtnText:"文件({0})",viewItemTitle:"Click to view",morePopup:{readTitle:"View list",imageTitle:"Upload pictures",fileTitle:"Upload file"}},empty:{defText:"No data yet"},colorPicker:{clear:"Clear",confirm:"Confirm",copySuccess:"Copyed to clipboard: {0}",hex:"HEX"},formDesign:{formName:"Form name",defFormTitle:"Unnamed form",widgetPropTab:"Control Properties",widgetFormTab:"Form Properties",error:{wdFormUni:"This type of control is allowed to add only one in the form",wdSubUni:"This type of control is allowed to add only one in the subtable"},styleSetting:{btn:"Style settings",title:"Form style settings",layoutTitle:"Control layout",verticalLayout:"Top and bottom layout",horizontalLayout:"Horizontal layout",styleTitle:"Title style",boldTitle:"Title bold",fontBold:"Bold",fontNormal:"conventional",colonTitle:"Show colon",colonVisible:"show",colonHidden:"hide",alignTitle:"Alignment",widthTitle:"Title Width",alignLeft:"On the left",alignRight:"On the right",unitPx:"Pixels",unitPct:"percentage"},widget:{group:{base:"Basic controls",layout:"Layout Controls",system:"System Controls",module:"Module controls",chart:"Chart control",advanced:"Advanced Controls"},copyTitle:"Copy_{0}",component:{input:"Input box",textarea:"Text field",select:"Pull down to select",row:"One row and multiple columns",title:"title",text:"text",subtable:"Sub-table",VxeSwitch:"whether",VxeInput:"Input box",VxeNumberInput:"number",VxeDatePicker:"date",VxeTextarea:"Text field",VxeSelect:"Pull down to select",VxeTreeSelect:"Tree selection",VxeRadioGroup:"Radio button",VxeCheckboxGroup:"Checkbox",VxeUploadFile:"document",VxeUploadImage:"picture",VxeRate:"score",VxeSlider:"slider"}},widgetProp:{name:"Control name",placeholder:"Prompt",required:"Required verification",multiple:"Multiple choices are allowed",displaySetting:{name:"Display settings",pc:"PC",mobile:"Mobile",visible:"show",hidden:"hide"},dataSource:{name:"Data Source",defValue:"Option {0}",addOption:"Add options",batchEditOption:"Batch editing",batchEditTip:"Each row corresponds to an option, which supports direct copy and paste from tables, Excel, and WPS.",batchEditSubTip:"Each row corresponds to an option. If it is a group, the child items can start with a space or a tab key, and it supports direct copy and paste from tables, Excel, and WPS.",buildOption:"Build options"},rowProp:{colSize:"Number of columns",col2:"Two columns",col3:"Three columns",col4:"Four columns",col6:"Six columns",layout:"layout"},textProp:{name:"content",alignTitle:"Alignment",alignLeft:"On the left",alignCenter:"Center",alignRight:"On the right",colorTitle:"Font color",sizeTitle:"Font size",boldTitle:"Bold font",fontNormal:"conventional",fontBold:"Bold"},subtableProp:{seqTitle:"No.",showSeq:"Show serial number",showCheckbox:"Multiple choices are allowed",errSubDrag:"The subtable does not support this control, please use other controls",colPlace:"Drag the control in"},uploadProp:{limitFileCount:"File quantity limit",limitFileSize:"File size limit",multiFile:"Allow multiple files to be uploaded",limitImgCount:"Limit number of pictures",limitImgSize:"Image size limit",multiImg:"Allow multiple pictures to upload"}}},listDesign:{fieldSettingTab:"Field settings",listSettingTab:"Parameter settings",searchTitle:"Query criteria",listTitle:"List field",searchField:"Query fields",listField:"List field",activeBtn:{ActionButtonUpdate:"edit",ActionButtonDelete:"delete"},search:{addBtn:"edit",emptyText:"Query conditions not configured",editPopupTitle:"Edit query fields"},searchPopup:{colTitle:"title",saveBtn:"save"}},text:{copySuccess:"Copyed to clipboard",copyError:"The current environment does not support this operation"},countdown:{formats:{yyyy:"Year",MM:"moon",dd:"sky",HH:"hour",mm:"point",ss:"Second"}},contextMenu:{loadingText:"Loading"},switch:{onText:"On",offText:"Off"},gantt:{tFullFormat:{year:"{yyyy}年",quarter:"{yyyy}年第{q}季度",month:"{yyyy}年{MM}月",week:"{yyyy}年第{W}周",day:"{yyyy}年{MM}月 {E}",date:"{yyyy}年{MM}月{dd}日",hour:"{yyyy}年{MM}月{dd}日{HH}时",minute:"{yyyy}年{MM}月{dd}日{HH}时{mm}分",second:"{yyyy}年{MM}月{dd}日{HH}时{mm}分{ss}秒"},tSimpleFormat:{year:"{yyyy}年",quarter:"{q}季度",month:"{M}月",week:"{W}周",day:"{d}",date:"{d}",hour:"{HH}",minute:"{mm}",second:"{ss}"},stepFormat:{year:"{start.yyyy}~{end.yyyy}年",quarter:"{start.q}~{end.q}季度",month:"{start.M}~{end.M}月",week:"{start.W}~{end.W}周",day:"{sE}~{eE}",date:"{start.d}~{end.d}",hour:"{start.HH}~{end.HH}",minute:"{start.mm}~{end.mm}",second:"{start.ss}~{end.ss}"},dayss:{w0:"Sun",w1:"Mon",w2:"Tue",w3:"Wed",w4:"Thu",w5:"Fri",w6:"Sat"},days:{w0:"日",w1:"一",w2:"二",w3:"三",w4:"四",w5:"五",w6:"六"}},plugins:{extendCellArea:{area:{mergeErr:"This operation cannot be performed on merged cells",multiErr:"This operation cannot be performed on multiple selection areas",selectErr:"Unable to operate on cells in the specified range",extendErr:"To perform this operation, all merged cells must be of the same size",pasteMultiErr:"Unable to paste, the copied and pasted areas need to be of the same size to perform this operation",cpInvalidErr:"The operation cannot be performed. There are prohibited columns ({0}) in the range you selected."},fnr:{title:"Find and replace",titleFd:"Find",titleRe:"Replace",findLabel:"Find",replaceLabel:"replace",findTitle:"Find what:",replaceTitle:"Replace with:",tabs:{find:"Find",replace:"replace"},filter:{re:"Regular expressions",whole:"Full word matching",sensitive:"case sensitive"},btns:{findNext:"Find next",findAll:"Find all",replace:"replace",replaceAll:"Replace all",cancel:"Cancel"},header:{seq:"#",cell:"Cell",value:"value"},body:{row:"Row: {0}",col:"Column: {0}"},empty:"(Null value)",reError:"Invalid regular expression",recordCount:"{0} cells found",notCell:"The matching cell cannot be found",replaceSuccess:"Successfully replaced {0} cells"}},extendPivotTable:{aggregation:{grouping:"Group",values:"Values",groupPlaceholder:"Drag here to set row groups",valuesPlaceholder:"Drag here to aggregate",dragExistCol:"The column already exists",sortHelpTip:"点击图标开始拖动"},aggFuncs:{sum:"Sum",count:"Count",avg:"Avg",min:"Min",max:"Max",first:"First",last:"Last"}},filterComplexInput:{menus:{fixedColumn:"Freeze column",fixedGroup:"Freeze group",cancelFixed:"Unfreeze",fixedLeft:"Freeze left",fixedRight:"Freeze right"},cases:{equal:"equal",gt:"Greater",lt:"Less",begin:"Start",endin:"End",include:"Include",isSensitive:"case sensitive"}},filterCombination:{menus:{sort:"Sort",clearSort:"Clear sort",sortAsc:"Ascending order",sortDesc:"descending order",fixedColumn:"Freeze column",fixedGroup:"Freeze group",cancelFixed:"Unfreeze",fixedLeft:"Freeze left",fixedRight:"Freeze right",clearFilter:"Clear Filter",textOption:"Text filters",numberOption:"Number filters",dateOption:"Date filters"},popup:{title:"Custom filtering methods",currColumnTitle:"Show rows where:",and:"and",or:"or",describeHtml:"Available? Represents a single character<br/>Use * Represents any multiple characters"},cases:{equal:"equal",unequal:"Not equal",gt:"Greater",ge:"Greater or equal",lt:"Less",le:"Less or equal",begin:"Start",notbegin:"It's not at the beginning",endin:"End",notendin:"The ending is not",include:"Include",exclude:"Not included",between:"Between",isAfter:"Is after",eqAfter:"Is after or equal to",isBefore:"Is before",eqBefore:"Is before or equal to",top10:"Top 10",aboveAverage:"Above average",belowAverage:"Below average",before:"Before",after:"After",tomorrow:"Tomorrow",today:"Today",yesterday:"Yesterday",nextWeek:"Next Week",thisWeek:"This Week",lastWeek:"Last Week",nextMonth:"Next Month",thisMonth:"This Month",lastMonth:"Last Month",nextYear:"Next Year",thisYear:"This Year",lastYear:"Last Year",yearToDate:"Year to Date",custom:"Custom filter",insensitive:"Case insensitive",isSensitive:"case sensitive"},empty:"(blank)",notData:"No match"}},pro:{area:{mergeErr:"This operation cannot be performed on merged cells",multiErr:"This operation cannot be performed on multiple selection areas",extendErr:"To perform this operation, all merged cells must be of the same size",pasteMultiErr:"Unable to paste, the copied and pasted areas need to be of the same size to perform this operation"},fnr:{title:"Find and replace",titleFd:"Find",titleRe:"Replace",findLabel:"Find",replaceLabel:"replace",findTitle:"Find content:",replaceTitle:"Replace with:",tabs:{find:"Find",replace:"replace"},filter:{re:"Regular expressions",whole:"Full word matching",sensitive:"case sensitive"},btns:{findNext:"Find next",findAll:"Find all",replace:"replace",replaceAll:"Replace all",cancel:"Cancel"},header:{seq:"#",cell:"Cell",value:"value"},empty:"(Null value)",reError:"Invalid regular expression",recordCount:"{0} cells found",notCell:"No matching cell found",replaceSuccess:"Successfully replaced {0} cells"}},renderer:{search:"search",cases:{equal:"equal",unequal:"Not equal",gt:"Greater",ge:"Greater or equal",lt:"Less",le:"Less or equal",begin:"Start",notbegin:"It's not at the beginning",endin:"End",notendin:"The ending is not",include:"Include",exclude:"Not included",between:"Between",top10:"Top 10",aboveAverage:"Above average",belowAverage:"Below average",custom:"Custom filter",insensitive:"Case insensitive",isSensitive:"case sensitive"},combination:{menus:{sort:"Sort",clearSort:"Clear sort",sortAsc:"Ascending order",sortDesc:"descending order",fixedColumn:"Freeze column",fixedGroup:"Freeze group",cancelFixed:"Unfreeze",fixedLeft:"Freeze left",fixedRight:"Freeze right",clearFilter:"Clear Filter",textOption:"Text filters",numberOption:"Number filters",dateOption:"Date filters"},popup:{title:"Custom filtering methods",currColumnTitle:"Show rows where:",and:"and",or:"or",describeHtml:"Available? Represents a single character<br/>Use * Represents any multiple characters"},empty:"(blank)",notData:"No match"}}}}});
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
mergeErr: 'This operation cannot be performed on merged cells',
|
|
678
678
|
multiErr: 'This operation cannot be performed on multiple selection areas',
|
|
679
679
|
selectErr: 'Unable to operate on cells in the specified range',
|
|
680
|
-
extendErr: '
|
|
680
|
+
extendErr: 'To perform this operation, all merged cells must be of the same size',
|
|
681
681
|
pasteMultiErr: 'Unable to paste, the copied and pasted areas need to be of the same size to perform this operation',
|
|
682
682
|
cpInvalidErr: 'The operation cannot be performed. There are prohibited columns ({0}) in the range you selected.'
|
|
683
683
|
},
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
area: {
|
|
830
830
|
mergeErr: 'This operation cannot be performed on merged cells',
|
|
831
831
|
multiErr: 'This operation cannot be performed on multiple selection areas',
|
|
832
|
-
extendErr: '
|
|
832
|
+
extendErr: 'To perform this operation, all merged cells must be of the same size',
|
|
833
833
|
pasteMultiErr: 'Unable to paste, the copied and pasted areas need to be of the same size to perform this operation'
|
|
834
834
|
},
|
|
835
835
|
fnr: {
|
package/lib/language/zh-CHT.js
CHANGED
|
@@ -664,7 +664,7 @@ var _default = exports.default = {
|
|
|
664
664
|
mergeErr: '無法對合併單元格進行該操作',
|
|
665
665
|
multiErr: '無法對多重選擇區域進行該操作',
|
|
666
666
|
selectErr: '無法操作指定區域的單元格',
|
|
667
|
-
extendErr: '
|
|
667
|
+
extendErr: '若要执行此操作,所有合併的單元格需大小相同',
|
|
668
668
|
pasteMultiErr: '無法粘貼,需要相同大小的複制的區域和粘貼的區域才能執行此操作',
|
|
669
669
|
cpInvalidErr: '該操作無法進行,您選擇的區域中存在被禁止的列({0})'
|
|
670
670
|
},
|
|
@@ -816,7 +816,7 @@ var _default = exports.default = {
|
|
|
816
816
|
area: {
|
|
817
817
|
mergeErr: '無法對合併單元格進行該操作',
|
|
818
818
|
multiErr: '無法對多重選擇區域進行該操作',
|
|
819
|
-
extendErr: '
|
|
819
|
+
extendErr: '若要执行此操作,所有合併的單元格需大小相同',
|
|
820
820
|
pasteMultiErr: '無法粘貼,需要相同大小的複制的區域和粘貼的區域才能執行此操作'
|
|
821
821
|
},
|
|
822
822
|
fnr: {
|