vxe-pc-ui 4.18.3 → 4.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/dist/all.esm.js +117 -25
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +14 -3
- package/es/date-picker/src/date-picker.js +12 -1
- package/es/date-range-picker/src/date-range-picker.js +12 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +17 -6
- package/es/input/src/input.js +12 -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 +12 -0
- package/es/select/src/select.js +19 -8
- 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 +18 -5
- 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 +21 -8
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +141 -31
- 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 +13 -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 +23 -10
- 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 -4
- package/packages/date-picker/src/date-picker.ts +14 -2
- package/packages/date-range-picker/src/date-range-picker.ts +14 -2
- package/packages/icon-picker/src/icon-picker.ts +18 -6
- package/packages/input/src/input.ts +13 -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 +14 -1
- package/packages/select/src/select.ts +20 -8
- 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.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/es/icon/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/es/icon/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
- /package/es/{iconfont.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/es/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/es/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
- /package/lib/{iconfont.1788745459463.ttf → iconfont.1788857098184.ttf} +0 -0
- /package/lib/{iconfont.1788745459463.woff → iconfont.1788857098184.woff} +0 -0
- /package/lib/{iconfont.1788745459463.woff2 → iconfont.1788857098184.woff2} +0 -0
package/lib/input/src/input.js
CHANGED
|
@@ -78,6 +78,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
78
78
|
align: String,
|
|
79
79
|
form: String,
|
|
80
80
|
className: String,
|
|
81
|
+
width: [String, Number],
|
|
81
82
|
inputClassName: {
|
|
82
83
|
type: String,
|
|
83
84
|
default: () => (0, _ui.getConfig)().input.inputClassName
|
|
@@ -301,6 +302,16 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
301
302
|
}
|
|
302
303
|
return maxLen;
|
|
303
304
|
});
|
|
305
|
+
const computeCurrStyle = (0, _vue.computed)(() => {
|
|
306
|
+
const {
|
|
307
|
+
width
|
|
308
|
+
} = props;
|
|
309
|
+
const stys = {};
|
|
310
|
+
if (width) {
|
|
311
|
+
stys.width = (0, _dom.toCssUnit)(width);
|
|
312
|
+
}
|
|
313
|
+
return stys;
|
|
314
|
+
});
|
|
304
315
|
const computeIsDateTimeType = (0, _vue.computed)(() => {
|
|
305
316
|
const {
|
|
306
317
|
type
|
|
@@ -2736,6 +2747,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
2736
2747
|
class: ['vxe-input--readonly', `type--${type}`, className]
|
|
2737
2748
|
}, inputValue);
|
|
2738
2749
|
}
|
|
2750
|
+
const currStyle = computeCurrStyle.value;
|
|
2739
2751
|
const isCountError = computeIsCountError.value;
|
|
2740
2752
|
const inputCount = computeInputCount.value;
|
|
2741
2753
|
const inputReadonly = computeInputReadonly.value;
|
|
@@ -2762,6 +2774,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
2762
2774
|
'is--active': isActivated,
|
|
2763
2775
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || _xeUtils.default.eqNull(inputValue))
|
|
2764
2776
|
}],
|
|
2777
|
+
style: currStyle,
|
|
2765
2778
|
spellcheck: false
|
|
2766
2779
|
}, [prefix || (0, _vue.createCommentVNode)(), (0, _vue.h)('div', {
|
|
2767
2780
|
class: 'vxe-input--wrapper',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_utils=require("../../ui/src/utils"),_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}}let warnLog=(0,_log.createComponentLog)("input").warnLog;var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeInput",props:{modelValue:[String,Number,Date],immediate:{type:Boolean,default:!0},name:String,title:String,type:{type:String,default:"text"},clearable:{type:Boolean,default:()=>(0,_ui.getConfig)().input.clearable},delClearable:{type:Boolean,default:()=>(0,_ui.getConfig)().input.delClearable},readonly:{type:Boolean,default:null},disabled:{type:Boolean,default:null},placeholder:{type:String,default:null},floatContent:{type:String,default:()=>(0,_ui.getConfig)().input.floatContent},floatAlign:{type:String,default:()=>(0,_ui.getConfig)().input.floatAlign},maxLength:{type:[String,Number],default:()=>(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:()=>(0,_ui.getConfig)().input.inputClassName},size:{type:String,default:()=>(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:()=>(0,_ui.getConfig)().input.trim},exponential:{type:Boolean,default:()=>(0,_ui.getConfig)().input.exponential},controls:{type:Boolean,default:()=>(0,_ui.getConfig)().input.controls},digits:{type:[String,Number],default:()=>(0,_ui.getConfig)().input.digits},startDate:{type:[String,Number,Date],default:()=>(0,_ui.getConfig)().input.startDate},endDate:{type:[String,Number,Date],default:()=>(0,_ui.getConfig)().input.endDate},minDate:[String,Number,Date],maxDate:[String,Number,Date],startWeek:Number,startDay:{type:[String,Number],default:()=>(0,_ui.getConfig)().input.startDay},labelFormat:String,valueFormat:String,editable:{type:Boolean,default:!0},festivalMethod:{type:Function,default:()=>(0,_ui.getConfig)().input.festivalMethod},disabledMethod:{type:Function,default:()=>(0,_ui.getConfig)().input.disabledMethod},selectDay:{type:[String,Number],default:()=>(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},emits:["update:modelValue","input","change","keydown","keyup","wheel","click","focus","blur","clear","lazy-change","search-click","toggle-visible","prev-number","next-number","prefix-click","suffix-click","date-prev","date-today","date-next"],setup(L,e){let{slots:z,emit:V}=e,P=(0,_vue.inject)("$xeSelect",null),T=(0,_vue.inject)("$xeTreeSelect",null),w=(0,_vue.inject)("$xeModal",null),k=(0,_vue.inject)("$xeDrawer",null),C=(0,_vue.inject)("$xeTable",null),u=(0,_vue.inject)("$xeForm",null),i=(0,_vue.inject)("xeFormItemInfo",null);var t=_xeUtils.default.uniqueId();let j=(0,_ui.useSize)(L).computeSize,Y=(0,_vue.reactive)({initialized:!1,panelIndex:0,showPwd:!1,visiblePanel:!1,isAniVisible:!1,panelStyle:{},panelPlacement:"",isActivated:!1,inputValue:L.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),p={yearSize:12,monthSize:20,quarterSize:8,hpTimeout:void 0,dnTimeout:void 0},I=(0,_vue.ref)(),O=(0,_vue.ref)(),$=(0,_vue.ref)(),K=(0,_vue.ref)(),W=(0,_vue.ref)(),M={refElem:I,refInput:O},q={xID:t,props:L,context:e,reactData:Y,internalData:p,getRefMaps:()=>M},v=(e,t)=>{var a=L.type;return"time"===a?(0,_util.toStringTimeDate)(e):_xeUtils.default.toStringDate(e,t)},Q=(0,_vue.computed)(()=>Object.assign({},(0,_ui.getConfig)().input.prefixConfig,L.prefixConfig)),Z=(0,_vue.computed)(()=>Object.assign({},(0,_ui.getConfig)().input.suffixConfig,L.suffixConfig)),J=(0,_vue.computed)(()=>{var e=L.transfer;if(null===e){var t=(0,_ui.getConfig)().input.transfer;if(_xeUtils.default.isBoolean(t))return t;if(C||w||k||u)return!0}return e}),X=(0,_vue.computed)(()=>{var e;return"obsolete"===(0,_ui.getConfig)().inputReadonly||(e=L.readonly,null===e)?!!u&&u.props.readonly:e}),B=(0,_vue.computed)(()=>{var e=L.disabled;return null===e?!!u&&u.props.disabled:e}),ee=(0,_vue.computed)(()=>{var{maxLength:e,maxlength:t}=L,e=e||t;return R.value&&!_xeUtils.default.toNumber(e)?16:e}),o=(0,_vue.computed)(()=>{var e=L.type;return"time"===e||"datetime"===e}),R=(0,_vue.computed)(()=>-1<["number","integer","float"].indexOf(L.type)),te=(0,_vue.computed)(()=>_xeUtils.default.getSize(Y.inputValue)),ae=(0,_vue.computed)(()=>{var e=te.value,t=ee.value;return t&&e>_xeUtils.default.toNumber(t)}),F=(0,_vue.computed)(()=>o.value||-1<["date","week","month","quarter","year"].indexOf(L.type)),H=(0,_vue.computed)(()=>"password"===L.type),le=(0,_vue.computed)(()=>"search"===L.type),A=(0,_vue.computed)(()=>_xeUtils.default.toInteger(L.digits)||1),ue=(0,_vue.computed)(()=>{var e=L.type,t=A.value,a=L.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}),ie=(0,_vue.computed)(()=>{var e=L.type,t=R.value,a=F.value,l=H.value;return L.clearable&&(l||t||a||"text"===e||"search"===e)}),ne=(0,_vue.computed)(()=>L.startDate?_xeUtils.default.toStringDate(L.startDate):null),re=(0,_vue.computed)(()=>L.endDate?_xeUtils.default.toStringDate(L.endDate):null),se=(0,_vue.computed)(()=>-1<["date","week","month","quarter","year"].indexOf(L.type)),d=(0,_vue.computed)(()=>{var{modelValue:e,multiple:t}=L,a=F.value;let l=_.value;return t&&e&&a?_xeUtils.default.toValueString(e).split(",").map(e=>{e=v(e,l);return _xeUtils.default.isValidDate(e)?e:null}):[]}),ve=(0,_vue.computed)(()=>{var e=d.value;let t=_.value;return e.map(e=>_xeUtils.default.toDateString(e,t))}),oe=(0,_vue.computed)(()=>{var e=d.value;let t=m.value;return e.map(e=>_xeUtils.default.toDateString(e,t)).join(", ")}),_=(0,_vue.computed)(()=>{var{type:e,valueFormat:t}=L;return t||("time"===e?"HH:mm:ss":"datetime"===e?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")}),c=(0,_vue.computed)(()=>{var e=L.modelValue,t=F.value,a=_.value;let l=null;return l=e&&t&&(t=v(e,a),_xeUtils.default.isValidDate(t))?t:l}),de=(0,_vue.computed)(()=>{var e=ne.value,t=Y.selectMonth;return!(!t||!e)&&t<=e}),pe=(0,_vue.computed)(()=>{var e=re.value,t=Y.selectMonth;return!(!t||!e)&&e<=t}),_e=(0,_vue.computed)(()=>{var e=Y.datetimePanelValue,t=ke.value;return e?_xeUtils.default.toDateString(e,t?"HH:mm:ss":"HH:mm"):""}),ce=(0,_vue.computed)(()=>{var e=c.value,t=o.value;return e&&t?1e3*(3600*e.getHours()+60*e.getMinutes()+e.getSeconds()):0}),m=(0,_vue.computed)(()=>{var e=L.labelFormat;return F.value?e||(0,_ui.getI18n)("vxe.input.date.labelFormat."+L.type):""}),me=(0,_vue.computed)(()=>{var{selectMonth:e,currentDate:t}=Y,a=p.yearSize,l=[];if(e&&t){var u=t.getFullYear(),t=e.getFullYear(),i=new Date(t-t%a,0,1);for(let e=-4;e<a+4;e++){var n=_xeUtils.default.getWhatYear(i,e,"first"),r=n.getFullYear();l.push({date:n,isCurrent:!0,isPrev:e<0,isNow:u===r,isNext:e>=a,year:r})}}return l}),fe=(0,_vue.computed)(()=>{let a="",l="";if(F.value){var{datePanelType:u,selectMonth:i}=Y,n=me.value;let e="",t;i&&(e=i.getFullYear(),t=i.getMonth()+1),"quarter"===u||"month"===u?a=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[e]):"year"===u?a=n.length?n[0].year+" - "+n[n.length-1].year:"":(a=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[e]),l=t?(0,_ui.getI18n)("vxe.input.date.m"+t):"-")}return{y:a,m:l}}),f=(0,_vue.computed)(()=>{var{startDay:e,startWeek:t}=L;return _xeUtils.default.toNumber(_xeUtils.default.isNumber(e)||_xeUtils.default.isString(e)?e:t)}),ge=(0,_vue.computed)(()=>{var a=[];if(F.value){let t=f.value;a.push(t);for(let e=0;e<6;e++)6<=t?t=0:t++,a.push(t)}return a}),xe=(0,_vue.computed)(()=>F.value?ge.value.map(e=>({value:e,label:(0,_ui.getI18n)("vxe.input.date.weeks.w"+e)})):[]),he=(0,_vue.computed)(()=>{var e;return F.value?(e=xe.value,[{label:(0,_ui.getI18n)("vxe.input.date.weeks.w")}].concat(e)):[]}),ye=(0,_vue.computed)(()=>{var e=me.value;return _xeUtils.default.chunk(e,4)}),be=(0,_vue.computed)(()=>{var{selectMonth:e,currentDate:t}=Y,a=p.quarterSize,l=[];if(e&&t){var u=t.getFullYear(),i=(0,_util.getDateQuarter)(t),n=_xeUtils.default.getWhatYear(e,0,"first"),r=n.getFullYear();for(let e=-2;e<a-2;e++){var s=_xeUtils.default.getWhatQuarter(n,e),v=s.getFullYear(),o=(0,_util.getDateQuarter)(s),d=v<r;l.push({date:s,isPrev:d,isCurrent:v===r,isNow:v===u&&o===i,isNext:!d&&r<v,quarter:o})}}return l}),Ue=(0,_vue.computed)(()=>{var e=be.value;return _xeUtils.default.chunk(e,2)}),Ee=(0,_vue.computed)(()=>{var{selectMonth:t,currentDate:e}=Y,a=p.monthSize,l=[];if(t&&e){var u=e.getFullYear(),i=e.getMonth(),n=_xeUtils.default.getWhatYear(t,0,"first").getFullYear();for(let e=-4;e<a-4;e++){var r=_xeUtils.default.getWhatYear(t,0,e),s=r.getFullYear(),v=r.getMonth(),o=s<n;l.push({date:r,isPrev:o,isCurrent:s===n,isNow:s===u&&v===i,isNext:!o&&n<s,month:v})}}return l}),Se=(0,_vue.computed)(()=>{var e=Ee.value;return _xeUtils.default.chunk(e,4)}),Ne=(0,_vue.computed)(()=>{var{selectMonth:t,currentDate:e}=Y,a=[];if(t&&e){var l=ce.value,u=ge.value,i=e.getFullYear(),n=e.getMonth(),r=e.getDate(),s=t.getFullYear(),v=t.getMonth(),e=t.getDay(),u=-u.indexOf(e),o=new Date(_xeUtils.default.getWhatDay(t,u).getTime()+l);for(let e=0;e<42;e++){var d=_xeUtils.default.getWhatDay(o,e),p=d.getFullYear(),_=d.getMonth(),c=d.getDate(),m=d<t;a.push({date:d,isPrev:m,isCurrent:p===s&&_===v,isNow:p===i&&_===n&&c===r,isNext:!m&&v!==_,label:c})}}return a}),De=(0,_vue.computed)(()=>{var e=Ne.value;return _xeUtils.default.chunk(e,7)}),Ve=(0,_vue.computed)(()=>{var e=De.value;let a=f.value;return e.map(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)})}),Pe=(0,_vue.computed)(()=>{var t=[];if(o.value)for(let e=0;e<24;e++)t.push({value:e,label:(""+e).padStart(2,"0"),disabled:!1});return t}),Te=(0,_vue.computed)(()=>{var t=[];if(o.value)for(let e=0;e<60;e++)t.push({value:e,label:(""+e).padStart(2,"0"),disabled:!1});return t}),we=(0,_vue.computed)(()=>{var e=_.value;return!/HH/.test(e)||/mm/.test(e)}),ke=(0,_vue.computed)(()=>{var e=_.value;return!/HH/.test(e)||/ss/.test(e)}),Ce=(0,_vue.computed)(()=>Te.value),G=(0,_vue.computed)(()=>{var{type:e,editable:t,multiple:a}=L;return X.value||a||!t||"week"===e||"quarter"===e}),We=(0,_vue.computed)(()=>{var e=L.type,t=Y.showPwd,a=R.value,l=F.value,u=H.value;return l||a||u&&t||"number"===e?"text":e}),Me=(0,_vue.computed)(()=>{var e,t=L.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}),Ae=(0,_vue.computed)(()=>{var{type:e,immediate:t}=L;return t||!("text"===e||"number"===e||"integer"===e||"float"===e)}),Le=(0,_vue.computed)(()=>{var e=L.type,t=Y.inputValue;return R.value?"integer"===e?_xeUtils.default.toInteger((0,_util2.handleNumber)(t)):_xeUtils.default.toNumber((0,_util2.handleNumber)(t)):0}),Ye=(0,_vue.computed)(()=>{var e=L.min,t=Y.inputValue,a=R.value,l=Le.value;return!(!t&&0!==t||!a||null===e)&&l<=_xeUtils.default.toNumber(e)}),Ie=(0,_vue.computed)(()=>{var e=L.max,t=Y.inputValue,a=R.value,l=Le.value;return!(!t&&0!==t||!a||null===e)&&l>=_xeUtils.default.toNumber(e)}),Oe=(0,_vue.computed)(()=>{var e=Y.inputValue;return e}),Ke=e=>{var{type:t,exponential:a}=L,l=ee.value,u=A.value,t="float"===t?(0,_util2.toFloatValueFixed)(e,t,u,""):_xeUtils.default.toValueString(e);return!a||e!==t&&_xeUtils.default.toValueString(e).toLowerCase()!==_xeUtils.default.toNumber(t).toExponential()?t.slice(0,l):e},r=(e,t,a)=>{V(e,(0,_ui.createEvent)(a,{$input:q},t))},a=()=>{var e=Oe.value,t=O.value;t&&(t.value=_xeUtils.default.eqNull(e)?"":""+e)},qe=e=>{V("update:modelValue",e)},g=e=>{var t=Y.inputValue;r(e.type,{value:t},e)},x=(e,t)=>{L.trim&&(e=(""+(e||"")).trim()),Y.inputValue=e,qe(e),r("input",{value:e},t),_xeUtils.default.toValueString(L.modelValue)!==e&&(r("change",{value:e},t),P||T||u&&i&&u.triggerItemEvent(t,i.itemConfig.field,e))},Be=(e,t)=>{var a=F.value,l=Ae.value;Y.inputValue=e,a||(l?x(e,t):(r("input",{value:e},t),P||T||u&&i&&u.triggerItemEvent(t,i.itemConfig.field,e)))},Re=e=>{var t=e.target.value;Be(t,e)},Fe=e=>{Ae.value||g(e),r("lazy-change",{value:Y.inputValue},e)},He=e=>{var t=Y.inputValue;Ae.value?a():x(t,e),U(),Y.visiblePanel||(Y.isActivated=!1),r("blur",{value:t},e),P||T||u&&i&&u.triggerItemEvent(e,i.itemConfig.field,t)},Ge=e=>{var t=Y.inputValue,a=R.value,l=F.value;Y.isActivated=!0,a?Y.inputValue=(0,_utils.eqEmptyValue)(t)?"":""+_xeUtils.default.toNumber(t):l&&Mt(e),g(e)},ze=e=>{var t;B.value||(t=Y.inputValue,r("prefix-click",{value:t},e))},h=()=>new Promise(e=>{Y.visiblePanel=!1,p.hpTimeout=setTimeout(()=>{Y.isAniVisible=!1,e()},350)}),je=(e,t)=>{var{type:a,autoFocus:l}=L,u=R.value;F.value&&h(),(l||null===l)&&(u||-1<["text","search","password"].indexOf(a))&&focus(),x("",e),r("clear",{value:t},e),r("lazy-change",{value:t},e)},$e=e=>{var t;B.value||(t=Y.inputValue,r("suffix-click",{value:t},e))},l=e=>{var t=L.type,a=m.value,l=_.value,u=f.value;let i=null,n="";e&&(i=v(e,l)),_xeUtils.default.isValidDate(i)?(n=_xeUtils.default.toDateString(i,a,{firstDay:u}),a&&"week"===t&&(e=_xeUtils.default.getYearWeek(i,u),(l=_xeUtils.default.getWhatWeek(i,0,1===e?(6+u)%7:u,u).getFullYear())!==i.getFullYear())&&-1<(t=a.indexOf("yyyy"))&&(e=Number(n.substring(t,t+4)))&&!isNaN(e)&&(n=n.replace(""+e,""+l))):i=null,Y.datePanelValue=i,Y.datePanelLabel=n},Qe=()=>{var e=F.value,t=Y.inputValue;e&&(l(t),Y.inputValue=L.multiple?oe.value:Y.datePanelLabel)},Ze=()=>{var e=L.type,t=Y.inputValue,a=F.value,l=A.value;a?Qe():"float"===e&&t&&t!==(a=(0,_util2.toFloatValueFixed)(t,e,l,""))&&x(a,{type:"init"})},Je=e=>null===L.max||""===L.max||_xeUtils.default.toNumber(e)<=_xeUtils.default.toNumber(L.max),Xe=e=>null===L.min||""===L.min||_xeUtils.default.toNumber(e)>=_xeUtils.default.toNumber(L.min),et=()=>{Y.inputValue=L.multiple?oe.value:Y.datePanelLabel},y=e=>{var t=f.value,a=_xeUtils.default.getYearWeek(e,t),t=_xeUtils.default.getWhatWeek(e,0,t,t),a=_xeUtils.default.getWhatMonth(1===a?_xeUtils.default.getWhatDay(t,6):e,0,"first");_xeUtils.default.isEqual(a,Y.selectMonth)||(Y.selectMonth=a)},b=a=>{var{modelValue:e,multiple:l}=L;let u=Y.datetimePanelValue;var t=o.value;let i=_.value;var n=f.value;"week"===L.type?(s=_xeUtils.default.toNumber(L.selectDay),a=_xeUtils.default.getWhatWeek(a,0,s,n)):t&&(a.setHours(u.getHours()),a.setMinutes(u.getMinutes()),a.setSeconds(u.getSeconds()));let r=_xeUtils.default.toDateString(a,i,{firstDay:n});if(y(a),l){var s=ve.value;if(t){n=[...d.value];let t=[];l=_xeUtils.default.findIndexOf(n,e=>_xeUtils.default.isDateSame(a,e,"yyyyMMdd"));-1===l?n.push(a):n.splice(l,1),n.forEach(e=>{e&&(e.setHours(u.getHours()),e.setMinutes(u.getMinutes()),e.setSeconds(u.getSeconds()),t.push(e))}),x(t.map(e=>_xeUtils.default.toDateString(e,i)).join(","),{type:"update"})}else s.some(e=>_xeUtils.default.isEqual(e,r))?x(s.filter(e=>!_xeUtils.default.isEqual(e,r)).join(","),{type:"update"}):x(s.concat([r]).join(","),{type:"update"})}else _xeUtils.default.isEqual(e,r)||x(r,{type:"update"})},U=()=>{var{type:a,min:t,max:l,exponential:u}=L,{inputValue:i,datetimePanelValue:n}=Y,r=R.value,e=F.value,s=m.value;if(!G.value)if(r){if(i){var r=""+(0,_util2.handleNumber)(i);if(r){let e="integer"===a?_xeUtils.default.toInteger(r):_xeUtils.default.toNumber(r);Xe(e)?Je(e)||(e=l):e=t,u&&(r=_xeUtils.default.toValueString(i).toLowerCase())===_xeUtils.default.toNumber(e).toExponential()&&(e=r),x(Ke(e),{type:"check"})}else{let e=!t&&0!==t?"":""+t;x(e,{type:"check"})}}}else if(e)if(i){let t=v(i,s);if(_xeUtils.default.isValidDate(t))if("time"===a)i!==(t=_xeUtils.default.toDateString(t,s))&&x(t,{type:"check"}),Y.inputValue=t;else{let e=!1;l=f.value;"datetime"===a?(u=c.value,i===_xeUtils.default.toDateString(u,s)&&i===_xeUtils.default.toDateString(t,s)||(e=!0,n.setHours(t.getHours()),n.setMinutes(t.getMinutes()),n.setSeconds(t.getSeconds()))):e=!0,Y.inputValue=_xeUtils.default.toDateString(t,s,{firstDay:l}),e&&b(t)}else et()}else x("",{type:"check"})},tt=e=>{var t=Y.showPwd,a=B.value,l=G.value;a||l||(Y.showPwd=!t),r("toggle-visible",{visible:Y.showPwd},e)},at=e=>{r("search-click",{},e)},lt=(e,t)=>{var{min:a,max:l,type:u}=L,i=Y.inputValue,n=ue.value,u="integer"===u?_xeUtils.default.toInteger((0,_util2.handleNumber)(i)):_xeUtils.default.toNumber((0,_util2.handleNumber)(i)),i=e?_xeUtils.default.add(u,n):_xeUtils.default.subtract(u,n);let r;r=Xe(i)?Je(i)?i:l:a,Be(Ke(r),t)},n=e=>{var t=B.value,a=G.value,l=Ye.value;s(),t||a||l||lt(!1,e),r("next-number",{value:Y.inputValue},e)},ut=e=>{p.dnTimeout=setTimeout(()=>{n(e),ut(e)},60)},it=e=>{var t=B.value,a=G.value,l=Ie.value;s(),t||a||l||lt(!0,e),r("prev-number",{value:Y.inputValue},e)},nt=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?it:n)(e))},rt=e=>{var t,a,l,u,i,n,r,{type:s,exponential:v,controls:o}=L;R.value&&(t=(0,_dom.hasControlKey)(e),a=e.shiftKey,l=e.altKey,u=e.keyCode,i=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ESCAPE),n=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),t||a||l||(_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.SPACEBAR)||"integer"===s&&110===u||(!v||69!==u)&&65<=u&&u<=90||186<=u&&u<=188||191<=u)&&e.preventDefault(),i?U():(n||r)&&o&&nt(e)),g(e)},st=e=>{g(e)},s=()=>{var e=p.dnTimeout;e&&(clearTimeout(e),p.dnTimeout=void 0)},vt=e=>{p.dnTimeout=setTimeout(()=>{it(e),vt(e)},60)},ot=t=>{if(s(),0===t.button){let e=(0,_dom.hasClass)(t.currentTarget,"is--prev");(e?it:n)(t),p.dnTimeout=setTimeout(()=>{(e?vt:ut)(t)},500)}},dt=e=>{var t;R.value&&L.controls&&Y.isActivated&&(0<(t=e.deltaY)?n(e):t<0&&it(e),e.preventDefault()),g(e)},pt=(e,t)=>{var a=f.value,l=_xeUtils.default.getYearWeek(e,a),a=_xeUtils.default.getWhatWeek(e,0,a,a),l=_xeUtils.default.getWhatMonth(1===l?_xeUtils.default.getWhatDay(a,6):e,t,"first");Y.selectMonth=l},_t=()=>{var e=_xeUtils.default.getWhatDay(Date.now(),0,"first");Y.currentDate=e,pt(e,0)},ct=()=>{Y.datePanelType="year"},mt=()=>{let e=Y.datePanelType;e="month"===e||"quarter"===e?"year":"month",Y.datePanelType=e},ft=t=>{var a=L.type,{datePanelType:l,selectMonth:u,inputValue:i}=Y,n=p.yearSize;if(!de.value){let e;e="year"===a?_xeUtils.default.getWhatYear(u,-n,"first"):"month"===a||"quarter"===a?"year"===l?_xeUtils.default.getWhatYear(u,-n,"first"):_xeUtils.default.getWhatYear(u,-1,"first"):"year"===l?_xeUtils.default.getWhatYear(u,-n,"first"):"month"===l?_xeUtils.default.getWhatYear(u,-1,"first"):_xeUtils.default.getWhatMonth(u,-1,"first"),Y.selectMonth=e,r("date-prev",{viewType:l,viewDate:e,value:i,type:a},t)}},gt=e=>{_t(),L.multiple||(b(Y.currentDate),h()),r("date-today",{type:L.type},e)},xt=t=>{var a=L.type,{datePanelType:l,selectMonth:u,inputValue:i}=Y,n=p.yearSize;if(!pe.value){let e;e="year"===a?_xeUtils.default.getWhatYear(u,n,"first"):"month"===a||"quarter"===a?"year"===l?_xeUtils.default.getWhatYear(u,n,"first"):_xeUtils.default.getWhatYear(u,1,"first"):"year"===l?_xeUtils.default.getWhatYear(u,n,"first"):"month"===l?_xeUtils.default.getWhatYear(u,1,"first"):_xeUtils.default.getWhatMonth(u,1,"first"),Y.selectMonth=e,r("date-next",{viewType:l,viewDate:e,value:i,type:a},t)}},E=e=>{var t=L.disabledMethod,a=Y.datePanelType,l=ne.value,u=re.value,e=e.date;return!!(l&&l.getTime()>e.getTime())||!!(u&&u.getTime()<e.getTime())||!!t&&t({type:a,viewType:a,date:e,$input:q})},ht=e=>{var{type:t,multiple:a}=L,l=Y.datePanelType;"month"===t?"year"===l?(Y.datePanelType="month",y(e)):(b(e),a||h()):"year"===t?(b(e),a||h()):"quarter"===t?"year"===l?(Y.datePanelType="quarter",y(e)):(b(e),a||h()):"month"===l?(Y.datePanelType="week"===t?t:"day",y(e)):"year"===l?(Y.datePanelType="month",y(e)):(b(e),"datetime"===t||a||h())},S=e=>{E(e)||ht(e.date)},yt=t=>{E({date:t})||(Ne.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyyMMdd"))||y(t),l(t))},bt=t=>{E({date:t})||(me.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyy"))||y(t),l(t))},Ut=t=>{E({date:t})||(be.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyyq"))||y(t),l(t))},Et=t=>{E({date:t})||(Ee.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyyMM"))||y(t),l(t))},N=e=>{var t;E(e)||(t=Y.datePanelType,("month"===t?Et:"quarter"===t?Ut:"year"===t?bt:yt)(e.date))},St=e=>{var t;e&&(t=e.offsetHeight,e.parentNode.scrollTop=e.offsetTop-4*t)},Nt=e=>{Y.datetimePanelValue=new Date(Y.datetimePanelValue.getTime()),St(e.currentTarget)},Dt=(e,t)=>{Y.datetimePanelValue.setHours(t.value),Nt(e)},Vt=()=>{var e=L.multiple;let l=Y.datetimePanelValue;var t=c.value,u=o.value;if(u){let a=_.value;if(e){e=ve.value;if(u){u=[...d.value];let t=[];u.forEach(e=>{e&&(e.setHours(l.getHours()),e.setMinutes(l.getMinutes()),e.setSeconds(l.getSeconds()),t.push(e))}),x(t.map(e=>_xeUtils.default.toDateString(e,a)).join(","),{type:"update"})}else x(e.join(","),{type:"update"})}else b(t||Y.currentDate)}h()},Pt=(e,t)=>{Y.datetimePanelValue.setMinutes(t.value),Nt(e)},Tt=(e,t)=>{Y.datetimePanelValue.setSeconds(t.value),Nt(e)},wt=()=>{var e=L.type,t=o.value,a=c.value;-1<["year","quarter","month","week"].indexOf(e)?Y.datePanelType=e:Y.datePanelType="day",Y.currentDate=_xeUtils.default.getWhatDay(Date.now(),0,"first"),a?(pt(a,0),l(a)):_t(),t&&(Y.datetimePanelValue=Y.datePanelValue||_xeUtils.default.getWhatDay(Date.now(),0,"first"),(0,_vue.nextTick)(()=>{var e=W.value;_xeUtils.default.arrayEach(e.querySelectorAll("li.is--selected"),e=>{St(e)})}))},kt=()=>{Y.panelIndex<(0,_utils.getLastZIndex)()&&(Y.panelIndex=(0,_utils.nextZIndex)())},Ct=()=>(0,_vue.nextTick)().then(()=>{var l=L.placement,u=Y.panelIndex,i=O.value,n=$.value,e=J.value;if(i&&n){var r=i.offsetHeight,s=i.offsetWidth,v=n.offsetHeight,n=n.offsetWidth,u={zIndex:u},{boundingTop:i,boundingLeft:o,visibleHeight:d,visibleWidth:p}=(0,_dom.getAbsolutePos)(i);let a="bottom";if(e){let e=o,t=i+r;"top"===l?(a="top",t=i-v):l||(t+v+5>d&&(a="top",t=i-v),t<5&&(a="bottom",t=i+r)),e+n+5>p&&(e-=e+n+5-p),e<5&&(e=5),Object.assign(u,{left:e+"px",top:t+"px",minWidth:s+"px"})}else"top"===l?(a="top",u.bottom=r+"px"):l||(u.top=r+"px",d<i+r+v&&5<i-r-v&&(a="top",u.top="",u.bottom=r+"px"));return Y.panelStyle=u,Y.panelPlacement=a,(0,_vue.nextTick)()}}),Wt=()=>{var e=Y.visiblePanel,t=p.hpTimeout,a=B.value,l=F.value;return(a||e?(0,_vue.nextTick):(Y.initialized||(Y.initialized=!0),t&&(clearTimeout(t),p.hpTimeout=void 0),Y.isActivated=!0,Y.isAniVisible=!0,l&&wt(),setTimeout(()=>{Y.visiblePanel=!0},10),kt(),Ct))()},Mt=e=>{G.value||(e.preventDefault(),Wt())},At=e=>{g(e)},Lt=e=>{var{visiblePanel:t,isActivated:a}=Y,l=F.value,u=I.value,i=K.value;!B.value&&a&&(Y.isActivated=(0,_dom.getEventTargetNode)(e,u).flag||(0,_dom.getEventTargetNode)(e,i).flag,Y.isActivated||(l?t&&(h(),U()):U()))},Yt=t=>{var{clearable:a,delClearable:l}=L,u=Y.visiblePanel,i=B.value,n=F.value;if(!i){var i=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.TAB),r=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.DELETE),s=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ESCAPE),v=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ENTER),o=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),d=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),p=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),_=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),c=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),m=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.PAGE_DOWN),o=o||d||p||_;let e=Y.isActivated;i?(e&&U(),e=!1,Y.isActivated=e):o?n&&e&&(u?(t=>{var{isActivated:a,datePanelValue:l,datePanelType:u}=Y;if(a){t.preventDefault();var a=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),i=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),n=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),t=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN);if("year"===u){let e=_xeUtils.default.getWhatYear(l||Date.now(),0,"first");a?e=_xeUtils.default.getWhatYear(e,-1):i?e=_xeUtils.default.getWhatYear(e,-4):n?e=_xeUtils.default.getWhatYear(e,1):t&&(e=_xeUtils.default.getWhatYear(e,4)),bt(e)}else if("quarter"===u){let e=_xeUtils.default.getWhatQuarter(l||Date.now(),0,"first");a?e=_xeUtils.default.getWhatQuarter(e,-1):i?e=_xeUtils.default.getWhatQuarter(e,-2):n?e=_xeUtils.default.getWhatQuarter(e,1):t&&(e=_xeUtils.default.getWhatQuarter(e,2)),Ut(e)}else if("month"===u){let e=_xeUtils.default.getWhatMonth(l||Date.now(),0,"first");a?e=_xeUtils.default.getWhatMonth(e,-1):i?e=_xeUtils.default.getWhatMonth(e,-4):n?e=_xeUtils.default.getWhatMonth(e,1):t&&(e=_xeUtils.default.getWhatMonth(e,4)),Et(e)}else{let e=l||_xeUtils.default.getWhatDay(Date.now(),0,"first");u=f.value;a?e=_xeUtils.default.getWhatDay(e,-1):i?e=_xeUtils.default.getWhatWeek(e,-1,u):n?e=_xeUtils.default.getWhatDay(e,1):t&&(e=_xeUtils.default.getWhatWeek(e,1,u)),yt(e)}}})(t):(d||_)&&Mt(t)):v?n&&(u?Y.datePanelValue?ht(Y.datePanelValue):h():e&&Mt(t)):(c||m)&&n&&e&&(p=t,o=Y.isActivated)&&(o=_ui.globalEvents.hasKey(p,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),p.preventDefault(),(o?ft:xt)(p)),(i||s)&&u&&h(),l&&r&&a&&e&&je(t,null)}},It=e=>{var t=Y.visiblePanel;B.value||t&&(t=K.value,((0,_dom.getEventTargetNode)(e,t).flag?Ct:(h(),U))())},Ot=()=>{var{isActivated:e,visiblePanel:t}=Y;t&&h(),e&&(Y.isActivated=!1),(t||e)&&(t=O.value,U(),t)&&t.blur()};t={dispatchEvent:r,focus(){var e=O.value;return Y.isActivated=!0,e.focus(),(0,_vue.nextTick)()},blur(){return O.value.blur(),(Y.isActivated=!1,_vue.nextTick)()},select(){return O.value.select(),(Y.isActivated=!1,_vue.nextTick)()},showPanel:Wt,hidePanel:h,updatePlacement:Ct};Object.assign(q,t);let D=(e,t)=>{var a,l=L.festivalMethod;return l?(a=Y.datePanelType,e=(a=(l=l({type:a,viewType:a,date:e.date,$input:q}))?_xeUtils.default.isString(l)?{label:l}:l:{}).extra?_xeUtils.default.isString(a.extra)?{label:a.extra}:a.extra:null,l=[(0,_vue.h)("span",{class:["vxe-input--date-label",{"is-notice":a.notice}]},e&&e.label?[(0,_vue.h)("span",""+(t||"")),(0,_vue.h)("span",{class:["vxe-input--date-label--extra",e.important?"is-important":"",e.className],style:e.style},_xeUtils.default.toValueString(e.label))]:[""+(t||"")])],(e=a.label)&&(e=_xeUtils.default.toValueString(e).split(","),l.push((0,_vue.h)("span",{class:["vxe-input--date-festival",a.important?"is-important":"",a.className],style:a.style},[1<e.length?(0,_vue.h)("span",{class:["vxe-input--date-festival--overlap","overlap--"+e.length]},e.map(e=>(0,_vue.h)("span",e.substring(0,3)))):(0,_vue.h)("span",{class:"vxe-input--date-festival--label"},e[0].substring(0,3))]))),l):[""+(t||"")]},Kt=()=>{let a=L.multiple,{datePanelType:e,datePanelValue:l}=Y,u=c.value;var t=xe.value,i=De.value;let n=d.value,r="yyyyMMdd";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("thead",[(0,_vue.h)("tr",t.map(e=>(0,_vue.h)("th",e.label)))]),(0,_vue.h)("tbody",i.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?n.some(e=>_xeUtils.default.isDateSame(e,t.date,r)):_xeUtils.default.isDateSame(u,t.date,r),"is--hover":_xeUtils.default.isDateSame(l,t.date,r)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,t.label))))))])]},qt=()=>{let l=L.multiple,{datePanelType:e,datePanelValue:u}=Y,i=c.value;var t=he.value,a=Ve.value;let n=d.value,r="yyyyMMdd";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("thead",[(0,_vue.h)("tr",t.map(e=>(0,_vue.h)("th",e.label)))]),(0,_vue.h)("tbody",a.map(e=>{let t=l?e.some(t=>n.some(e=>_xeUtils.default.isDateSame(e,t.date,r))):e.some(e=>_xeUtils.default.isDateSame(i,e.date,r)),a=e.some(e=>_xeUtils.default.isDateSame(u,e.date,r));return(0,_vue.h)("tr",e.map(e=>(0,_vue.h)("td",{class:{"is--prev":e.isPrev,"is--current":e.isCurrent,"is--now":e.isNow,"is--next":e.isNext,"is--disabled":E(e),"is--selected":t,"is--hover":a},onClick:()=>S(e),onMouseenter:()=>N(e)},D(e,e.label))))}))])]},Bt=()=>{let a=L.multiple,{datePanelType:e,datePanelValue:l}=Y,u=c.value;var t=Se.value;let i=d.value,n="yyyyMM";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("tbody",t.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?i.some(e=>_xeUtils.default.isDateSame(e,t.date,n)):_xeUtils.default.isDateSame(u,t.date,n),"is--hover":_xeUtils.default.isDateSame(l,t.date,n)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,(0,_ui.getI18n)("vxe.input.date.months.m"+t.month)))))))])]},Rt=()=>{let a=L.multiple,{datePanelType:e,datePanelValue:l}=Y,u=c.value;var t=Ue.value;let i=d.value,n="yyyyq";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("tbody",t.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?i.some(e=>_xeUtils.default.isDateSame(e,t.date,n)):_xeUtils.default.isDateSame(u,t.date,n),"is--hover":_xeUtils.default.isDateSame(l,t.date,n)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,(0,_ui.getI18n)("vxe.input.date.quarters.q"+t.quarter)))))))])]},Ft=()=>{let a=L.multiple,{datePanelType:e,datePanelValue:l}=Y,u=c.value;var t=ye.value;let i=d.value,n="yyyy";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("tbody",t.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?i.some(e=>_xeUtils.default.isDateSame(e,t.date,n)):_xeUtils.default.isDateSame(u,t.date,n),"is--hover":_xeUtils.default.isDateSame(l,t.date,n)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,t.year))))))])]},Ht=()=>{var e=Y.datePanelType;switch(e){case"week":return qt();case"month":return Bt();case"quarter":return Rt();case"year":return Ft()}return Kt()},Gt=()=>{var e=L.multiple,t=Y.datePanelType,a=de.value,l=pe.value,u=fe.value;return[(0,_vue.h)("div",{class:"vxe-input--date-picker-header"},[(0,_vue.h)("div",{class:"vxe-input--date-picker-type-wrapper"},["year"===t?(0,_vue.h)("span",{class:"vxe-input--date-picker-label"},u.y):(0,_vue.h)("span",{class:"vxe-input--date-picker-btns"},[(0,_vue.h)("span",{class:"vxe-input--date-picker-btn",onClick:ct},u.y),u.m?(0,_vue.h)("span",{class:"vxe-input--date-picker-btn",onClick:mt},u.m):(0,_ui.renderEmptyElement)(q)])]),(0,_vue.h)("div",{class:"vxe-input--date-picker-btn-wrapper"},[(0,_vue.h)("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":a}],onClick:ft},[(0,_vue.h)("i",{class:"vxe-icon-caret-left"})]),(0,_vue.h)("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",onClick:gt},[(0,_vue.h)("i",{class:"vxe-icon-dot"})]),(0,_vue.h)("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":l}],onClick:xt},[(0,_vue.h)("i",{class:"vxe-icon-caret-right"})]),e&&se.value?(0,_vue.h)("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[(0,_vue.h)("button",{class:"vxe-input--date-picker-confirm",type:"button",onClick:Vt},(0,_ui.getI18n)("vxe.button.confirm"))]):null])]),(0,_vue.h)("div",{class:"vxe-input--date-picker-body"},Ht())]},zt=()=>{let a=Y.datetimePanelValue;var e=_e.value,t=Pe.value,l=we.value,u=Te.value,i=ke.value,n=Ce.value;return[(0,_vue.h)("div",{class:"vxe-input--time-picker-header"},[l?(0,_vue.h)("span",{class:"vxe-input--time-picker-title"},e):(0,_vue.createCommentVNode)(),(0,_vue.h)("div",{class:"vxe-input--time-picker-btn"},[(0,_vue.h)("button",{class:"vxe-input--time-picker-confirm",type:"button",onClick:Vt},(0,_ui.getI18n)("vxe.button.confirm"))])]),(0,_vue.h)("div",{ref:W,class:"vxe-input--time-picker-body"},[(0,_vue.h)("ul",{class:"vxe-input--time-picker-hour-list"},t.map((t,e)=>(0,_vue.h)("li",{key:e,class:{"is--selected":a&&a.getHours()===t.value},onClick:e=>Dt(e,t)},t.label))),l?(0,_vue.h)("ul",{class:"vxe-input--time-picker-minute-list"},u.map((t,e)=>(0,_vue.h)("li",{key:e,class:{"is--selected":a&&a.getMinutes()===t.value},onClick:e=>Pt(e,t)},t.label))):(0,_vue.createCommentVNode)(),l&&i?(0,_vue.h)("ul",{class:"vxe-input--time-picker-second-list"},n.map((t,e)=>(0,_vue.h)("li",{key:e,class:{"is--selected":a&&a.getSeconds()===t.value},onClick:e=>Tt(e,t)},t.label))):(0,_vue.createCommentVNode)()])]},jt=()=>{var e=Ie.value,t=Ye.value;return(0,_vue.h)("div",{class:"vxe-input--control-icon"},[(0,_vue.h)("div",{class:"vxe-input--number-icon"},[(0,_vue.h)("div",{class:["vxe-input--number-btn is--prev",{"is--disabled":e}],onMousedown:ot,onMouseup:s,onMouseleave:s},[(0,_vue.h)("i",{class:(0,_ui.getIcon)().INPUT_PLUS_NUM})]),(0,_vue.h)("div",{class:["vxe-input--number-btn is--next",{"is--disabled":t}],onMousedown:ot,onMouseup:s,onMouseleave:s},[(0,_vue.h)("i",{class:(0,_ui.getIcon)().INPUT_MINUS_NUM})])])])},$t=()=>(0,_vue.h)("div",{class:"vxe-input--control-icon",onClick:Mt},[(0,_vue.h)("i",{class:["vxe-input--date-picker-icon",(0,_ui.getIcon)().DATE_PICKER_DATE]})]),Qt=()=>(0,_vue.h)("div",{class:"vxe-input--control-icon",onClick:at},[(0,_vue.h)("i",{class:["vxe-input--search-icon",(0,_ui.getIcon)().INPUT_SEARCH]})]),Zt=()=>{var e=Y.showPwd;return(0,_vue.h)("div",{class:"vxe-input--control-icon",onClick:tt},[(0,_vue.h)("i",{class:["vxe-input--password-icon",e?(0,_ui.getIcon)().PASSWORD_INPUT_SHOW_PWD:(0,_ui.getIcon)().PASSWORD_INPUT_HIDE_PWD]})])},Jt=()=>{var e=L.controls,t=R.value,a=F.value,l=H.value,u=le.value;return(l?Zt:t&&e?jt:a?$t:u?Qt:(0,_vue.createCommentVNode))()};(0,_vue.watch)(()=>L.modelValue,e=>{Y.inputValue=e,Qe()}),(0,_vue.watch)(()=>L.type,()=>{Object.assign(Y,{inputValue:L.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),Ze()}),(0,_vue.watch)(m,()=>{F.value&&(l(Y.datePanelValue),Y.inputValue=L.multiple?oe.value:Y.datePanelLabel)});let Xt=(0,_vue.ref)(0);return(0,_vue.watch)(X,()=>{Xt.value++}),(0,_vue.watch)(Oe,()=>{Xt.value++}),(0,_vue.watch)(Xt,()=>{a(),(0,_vue.nextTick)(()=>{a()})}),(0,_vue.onMounted)(()=>{var e=L.type,e=(["date","time","datetime","week","month","quarter","year"].includes(e)?warnLog("vxe.error.useNew",[`<vxe-input type="${e}" ... />`,`<vxe-date-picker type="${e}" ... />`]):["number","integer","float"].includes(e)?warnLog("vxe.error.useNew",[`<vxe-input type="${e}" ... />`,`<vxe-number-input type="${e}" ... />`]):["password"].includes(e)&&warnLog("vxe.error.useNew",[`<vxe-input type="${e}" ... />`,"<vxe-password-input ... />"]),O.value);e&&e.addEventListener("wheel",dt,{passive:!1}),_ui.globalEvents.on(q,"mousewheel",It),_ui.globalEvents.on(q,"mousedown",Lt),_ui.globalEvents.on(q,"keydown",Yt),_ui.globalEvents.on(q,"blur",Ot),a()}),(0,_vue.onBeforeUnmount)(()=>{s(),U();var e=O.value;e&&e.removeEventListener("wheel",dt),_ui.globalEvents.off(q,"mousewheel"),_ui.globalEvents.off(q,"mousedown"),_ui.globalEvents.off(q,"keydown"),_ui.globalEvents.off(q,"blur")}),Ze(),q.renderVN=()=>{var e,t,a,l,u,i,n,r,s,v,o,d,p,_,c,m,f,g,{className:x,inputClassName:h,controls:y,type:b,title:U,floatContent:E,align:S,showWordCount:N,countMethod:D,name:V,autoComplete:P,autocomplete:T,floatAlign:w}=L,{inputValue:k,visiblePanel:C,isActivated:W}=Y,M=j.value,A=B.value;return X.value?(0,_vue.h)("div",{ref:I,class:["vxe-input--readonly","type--"+b,x]},k):(e=ae.value,t=te.value,a=G.value,l=ee.value,u=We.value,i=Me.value,n=ie.value,N=N&&["text","search"].includes(b),g=L.prefixIcon,s=Q.value,r=z.prefix,g=g||s.icon,s=s.content,r=r||g||s?(0,_vue.h)("div",{class:"vxe-input--prefix",onClick:ze},[(0,_vue.h)("div",{class:"vxe-input--prefix-icon"},r?(0,_vn.getSlotVNs)(r({})):[g?(0,_vue.h)("i",{class:g}):(0,_ui.renderEmptyElement)(q),s?(0,_vue.h)("span",{class:"vxe-input--prefix-text"},""+s):(0,_ui.renderEmptyElement)(q)])]):(0,_ui.renderEmptyElement)(q),g=L.suffixIcon,s=Y.inputValue,v=z.suffix,o=Z.value,d=B.value,p=R.value,_=F.value,c=H.value,m=le.value,f=ie.value,c=c||p||_||m,p=g||o.icon,_=o.content,m=f||v||p||_||c?(0,_vue.h)("div",{class:["vxe-input--suffix",{"is--clear":f&&!d&&!(""===s||_xeUtils.default.eqNull(s))}]},[f?(0,_vue.h)("div",{class:"vxe-input--clear-icon",onClick:je},[(0,_vue.h)("i",{class:(0,_ui.getIcon)().INPUT_CLEAR})]):(0,_ui.renderEmptyElement)(q),c?Jt():(0,_ui.renderEmptyElement)(q),v||p||_?(0,_vue.h)("div",{class:"vxe-input--suffix-icon",onClick:$e},v?(0,_vn.getSlotVNs)(v({})):[p?(0,_vue.h)("i",{class:p}):(0,_ui.renderEmptyElement)(q),_?(0,_vue.h)("span",{class:"vxe-input--suffix-text"},""+_):(0,_ui.renderEmptyElement)(q)]):(0,_ui.renderEmptyElement)(q)]):(0,_ui.renderEmptyElement)(q),g=z.float,(0,_vue.h)("div",{ref:I,class:["vxe-input","type--"+b,E?"fla--"+(w||"center"):"",x,{["size--"+M]:M,["is--"+S]:S,"is--controls":y,"is--prefix":!!r,"is--suffix":!!m,"is--visible":C,"is--clear":n,"is--count":N,"is--disabled":A,"is--active":W,"show--clear":n&&!A&&!(""===k||_xeUtils.default.eqNull(k))}],spellcheck:!1},[r||(0,_vue.createCommentVNode)(),(0,_vue.h)("div",{class:"vxe-input--wrapper",title:U||null},[(0,_vue.h)("input",{ref:O,class:"vxe-input--inner"+(h?" "+h:""),name:V,type:u,placeholder:i,maxlength:l,readonly:a,disabled:A,autocomplete:P||T,onKeydown:rt,onKeyup:st,onClick:At,onInput:Re,onChange:Fe,onFocus:Ge,onBlur:He}),E||g?(0,_vue.h)("span",{class:"vxe-input--float-wrapper"},g?g({}):(0,_utils.getText)(E)):(0,_ui.renderEmptyElement)(q)]),m||(0,_vue.createCommentVNode)(),(()=>{var e=L.type,{initialized:t,isAniVisible:a,visiblePanel:l,panelPlacement:u,panelStyle:i}=Y,n=j.value,r=J.value,s=[];return F.value?(s.push("datetime"===e?(0,_vue.h)("div",{key:e,ref:K,class:"vxe-input--panel-layout-wrapper"},[(0,_vue.h)("div",{class:"vxe-input--panel-left-wrapper"},Gt()),(0,_vue.h)("div",{class:"vxe-input--panel-right-wrapper"},zt())]):"time"===e?(0,_vue.h)("div",{key:e,ref:K,class:"vxe-input--panel-wrapper"},zt()):(0,_vue.h)("div",{key:e||"default",ref:K,class:"vxe-input--panel-wrapper"},Gt())),(0,_vue.h)(_vue.Teleport,{to:"body",disabled:!r||!t},[(0,_vue.h)("div",{ref:$,class:["vxe-table--ignore-clear vxe-input--panel","type--"+e,{["size--"+n]:n,"is--transfer":r,"ani--leave":a,"ani--enter":l}],placement:u,style:i},l||a?s:[])])):(0,_vue.createCommentVNode)()})(),N?(0,_vue.h)("span",{class:["vxe-input--count",{"is--error":e}]},D?""+D({value:k}):t+(l?"/"+l:"")):(0,_vue.createCommentVNode)()]))},q},render(){return this.renderVN()}});
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_utils=require("../../ui/src/utils"),_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}}let warnLog=(0,_log.createComponentLog)("input").warnLog;var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeInput",props:{modelValue:[String,Number,Date],immediate:{type:Boolean,default:!0},name:String,title:String,type:{type:String,default:"text"},clearable:{type:Boolean,default:()=>(0,_ui.getConfig)().input.clearable},delClearable:{type:Boolean,default:()=>(0,_ui.getConfig)().input.delClearable},readonly:{type:Boolean,default:null},disabled:{type:Boolean,default:null},placeholder:{type:String,default:null},floatContent:{type:String,default:()=>(0,_ui.getConfig)().input.floatContent},floatAlign:{type:String,default:()=>(0,_ui.getConfig)().input.floatAlign},maxLength:{type:[String,Number],default:()=>(0,_ui.getConfig)().input.maxLength},autoComplete:{type:String,default:"off"},autoFocus:{type:Boolean,default:null},align:String,form:String,className:String,width:[String,Number],inputClassName:{type:String,default:()=>(0,_ui.getConfig)().input.inputClassName},size:{type:String,default:()=>(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:()=>(0,_ui.getConfig)().input.trim},exponential:{type:Boolean,default:()=>(0,_ui.getConfig)().input.exponential},controls:{type:Boolean,default:()=>(0,_ui.getConfig)().input.controls},digits:{type:[String,Number],default:()=>(0,_ui.getConfig)().input.digits},startDate:{type:[String,Number,Date],default:()=>(0,_ui.getConfig)().input.startDate},endDate:{type:[String,Number,Date],default:()=>(0,_ui.getConfig)().input.endDate},minDate:[String,Number,Date],maxDate:[String,Number,Date],startWeek:Number,startDay:{type:[String,Number],default:()=>(0,_ui.getConfig)().input.startDay},labelFormat:String,valueFormat:String,editable:{type:Boolean,default:!0},festivalMethod:{type:Function,default:()=>(0,_ui.getConfig)().input.festivalMethod},disabledMethod:{type:Function,default:()=>(0,_ui.getConfig)().input.disabledMethod},selectDay:{type:[String,Number],default:()=>(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},emits:["update:modelValue","input","change","keydown","keyup","wheel","click","focus","blur","clear","lazy-change","search-click","toggle-visible","prev-number","next-number","prefix-click","suffix-click","date-prev","date-today","date-next"],setup(Y,e){let{slots:j,emit:V}=e,P=(0,_vue.inject)("$xeSelect",null),w=(0,_vue.inject)("$xeTreeSelect",null),T=(0,_vue.inject)("$xeModal",null),k=(0,_vue.inject)("$xeDrawer",null),C=(0,_vue.inject)("$xeTable",null),u=(0,_vue.inject)("$xeForm",null),i=(0,_vue.inject)("xeFormItemInfo",null);var t=_xeUtils.default.uniqueId();let $=(0,_ui.useSize)(Y).computeSize,I=(0,_vue.reactive)({initialized:!1,panelIndex:0,showPwd:!1,visiblePanel:!1,isAniVisible:!1,panelStyle:{},panelPlacement:"",isActivated:!1,inputValue:Y.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),p={yearSize:12,monthSize:20,quarterSize:8,hpTimeout:void 0,dnTimeout:void 0},O=(0,_vue.ref)(),K=(0,_vue.ref)(),Q=(0,_vue.ref)(),q=(0,_vue.ref)(),W=(0,_vue.ref)(),M={refElem:O,refInput:K},B={xID:t,props:Y,context:e,reactData:I,internalData:p,getRefMaps:()=>M},v=(e,t)=>{var a=Y.type;return"time"===a?(0,_util.toStringTimeDate)(e):_xeUtils.default.toStringDate(e,t)},Z=(0,_vue.computed)(()=>Object.assign({},(0,_ui.getConfig)().input.prefixConfig,Y.prefixConfig)),J=(0,_vue.computed)(()=>Object.assign({},(0,_ui.getConfig)().input.suffixConfig,Y.suffixConfig)),X=(0,_vue.computed)(()=>{var e=Y.transfer;if(null===e){var t=(0,_ui.getConfig)().input.transfer;if(_xeUtils.default.isBoolean(t))return t;if(C||T||k||u)return!0}return e}),ee=(0,_vue.computed)(()=>{var e;return"obsolete"===(0,_ui.getConfig)().inputReadonly||(e=Y.readonly,null===e)?!!u&&u.props.readonly:e}),R=(0,_vue.computed)(()=>{var e=Y.disabled;return null===e?!!u&&u.props.disabled:e}),te=(0,_vue.computed)(()=>{var{maxLength:e,maxlength:t}=Y,e=e||t;return F.value&&!_xeUtils.default.toNumber(e)?16:e}),ae=(0,_vue.computed)(()=>{var e=Y.width,t={};return e&&(t.width=(0,_dom.toCssUnit)(e)),t}),o=(0,_vue.computed)(()=>{var e=Y.type;return"time"===e||"datetime"===e}),F=(0,_vue.computed)(()=>-1<["number","integer","float"].indexOf(Y.type)),le=(0,_vue.computed)(()=>_xeUtils.default.getSize(I.inputValue)),ue=(0,_vue.computed)(()=>{var e=le.value,t=te.value;return t&&e>_xeUtils.default.toNumber(t)}),H=(0,_vue.computed)(()=>o.value||-1<["date","week","month","quarter","year"].indexOf(Y.type)),G=(0,_vue.computed)(()=>"password"===Y.type),ie=(0,_vue.computed)(()=>"search"===Y.type),A=(0,_vue.computed)(()=>_xeUtils.default.toInteger(Y.digits)||1),L=(0,_vue.computed)(()=>{var e=Y.type,t=A.value,a=Y.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}),ne=(0,_vue.computed)(()=>{var e=Y.type,t=F.value,a=H.value,l=G.value;return Y.clearable&&(l||t||a||"text"===e||"search"===e)}),re=(0,_vue.computed)(()=>Y.startDate?_xeUtils.default.toStringDate(Y.startDate):null),se=(0,_vue.computed)(()=>Y.endDate?_xeUtils.default.toStringDate(Y.endDate):null),ve=(0,_vue.computed)(()=>-1<["date","week","month","quarter","year"].indexOf(Y.type)),d=(0,_vue.computed)(()=>{var{modelValue:e,multiple:t}=Y,a=H.value;let l=_.value;return t&&e&&a?_xeUtils.default.toValueString(e).split(",").map(e=>{e=v(e,l);return _xeUtils.default.isValidDate(e)?e:null}):[]}),oe=(0,_vue.computed)(()=>{var e=d.value;let t=_.value;return e.map(e=>_xeUtils.default.toDateString(e,t))}),de=(0,_vue.computed)(()=>{var e=d.value;let t=m.value;return e.map(e=>_xeUtils.default.toDateString(e,t)).join(", ")}),_=(0,_vue.computed)(()=>{var{type:e,valueFormat:t}=Y;return t||("time"===e?"HH:mm:ss":"datetime"===e?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")}),c=(0,_vue.computed)(()=>{var e=Y.modelValue,t=H.value,a=_.value;let l=null;return l=e&&t&&(t=v(e,a),_xeUtils.default.isValidDate(t))?t:l}),pe=(0,_vue.computed)(()=>{var e=re.value,t=I.selectMonth;return!(!t||!e)&&t<=e}),_e=(0,_vue.computed)(()=>{var e=se.value,t=I.selectMonth;return!(!t||!e)&&e<=t}),ce=(0,_vue.computed)(()=>{var e=I.datetimePanelValue,t=Ce.value;return e?_xeUtils.default.toDateString(e,t?"HH:mm:ss":"HH:mm"):""}),me=(0,_vue.computed)(()=>{var e=c.value,t=o.value;return e&&t?1e3*(3600*e.getHours()+60*e.getMinutes()+e.getSeconds()):0}),m=(0,_vue.computed)(()=>{var e=Y.labelFormat;return H.value?e||(0,_ui.getI18n)("vxe.input.date.labelFormat."+Y.type):""}),fe=(0,_vue.computed)(()=>{var{selectMonth:e,currentDate:t}=I,a=p.yearSize,l=[];if(e&&t){var u=t.getFullYear(),t=e.getFullYear(),i=new Date(t-t%a,0,1);for(let e=-4;e<a+4;e++){var n=_xeUtils.default.getWhatYear(i,e,"first"),r=n.getFullYear();l.push({date:n,isCurrent:!0,isPrev:e<0,isNow:u===r,isNext:e>=a,year:r})}}return l}),ge=(0,_vue.computed)(()=>{let a="",l="";if(H.value){var{datePanelType:u,selectMonth:i}=I,n=fe.value;let e="",t;i&&(e=i.getFullYear(),t=i.getMonth()+1),"quarter"===u||"month"===u?a=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[e]):"year"===u?a=n.length?n[0].year+" - "+n[n.length-1].year:"":(a=(0,_ui.getI18n)("vxe.datePicker.yearTitle",[e]),l=t?(0,_ui.getI18n)("vxe.input.date.m"+t):"-")}return{y:a,m:l}}),f=(0,_vue.computed)(()=>{var{startDay:e,startWeek:t}=Y;return _xeUtils.default.toNumber(_xeUtils.default.isNumber(e)||_xeUtils.default.isString(e)?e:t)}),xe=(0,_vue.computed)(()=>{var a=[];if(H.value){let t=f.value;a.push(t);for(let e=0;e<6;e++)6<=t?t=0:t++,a.push(t)}return a}),he=(0,_vue.computed)(()=>H.value?xe.value.map(e=>({value:e,label:(0,_ui.getI18n)("vxe.input.date.weeks.w"+e)})):[]),ye=(0,_vue.computed)(()=>{var e;return H.value?(e=he.value,[{label:(0,_ui.getI18n)("vxe.input.date.weeks.w")}].concat(e)):[]}),be=(0,_vue.computed)(()=>{var e=fe.value;return _xeUtils.default.chunk(e,4)}),Ue=(0,_vue.computed)(()=>{var{selectMonth:e,currentDate:t}=I,a=p.quarterSize,l=[];if(e&&t){var u=t.getFullYear(),i=(0,_util.getDateQuarter)(t),n=_xeUtils.default.getWhatYear(e,0,"first"),r=n.getFullYear();for(let e=-2;e<a-2;e++){var s=_xeUtils.default.getWhatQuarter(n,e),v=s.getFullYear(),o=(0,_util.getDateQuarter)(s),d=v<r;l.push({date:s,isPrev:d,isCurrent:v===r,isNow:v===u&&o===i,isNext:!d&&r<v,quarter:o})}}return l}),Ee=(0,_vue.computed)(()=>{var e=Ue.value;return _xeUtils.default.chunk(e,2)}),Se=(0,_vue.computed)(()=>{var{selectMonth:t,currentDate:e}=I,a=p.monthSize,l=[];if(t&&e){var u=e.getFullYear(),i=e.getMonth(),n=_xeUtils.default.getWhatYear(t,0,"first").getFullYear();for(let e=-4;e<a-4;e++){var r=_xeUtils.default.getWhatYear(t,0,e),s=r.getFullYear(),v=r.getMonth(),o=s<n;l.push({date:r,isPrev:o,isCurrent:s===n,isNow:s===u&&v===i,isNext:!o&&n<s,month:v})}}return l}),Ne=(0,_vue.computed)(()=>{var e=Se.value;return _xeUtils.default.chunk(e,4)}),De=(0,_vue.computed)(()=>{var{selectMonth:t,currentDate:e}=I,a=[];if(t&&e){var l=me.value,u=xe.value,i=e.getFullYear(),n=e.getMonth(),r=e.getDate(),s=t.getFullYear(),v=t.getMonth(),e=t.getDay(),u=-u.indexOf(e),o=new Date(_xeUtils.default.getWhatDay(t,u).getTime()+l);for(let e=0;e<42;e++){var d=_xeUtils.default.getWhatDay(o,e),p=d.getFullYear(),_=d.getMonth(),c=d.getDate(),m=d<t;a.push({date:d,isPrev:m,isCurrent:p===s&&_===v,isNow:p===i&&_===n&&c===r,isNext:!m&&v!==_,label:c})}}return a}),Ve=(0,_vue.computed)(()=>{var e=De.value;return _xeUtils.default.chunk(e,7)}),Pe=(0,_vue.computed)(()=>{var e=Ve.value;let a=f.value;return e.map(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)})}),we=(0,_vue.computed)(()=>{var t=[];if(o.value)for(let e=0;e<24;e++)t.push({value:e,label:(""+e).padStart(2,"0"),disabled:!1});return t}),Te=(0,_vue.computed)(()=>{var t=[];if(o.value)for(let e=0;e<60;e++)t.push({value:e,label:(""+e).padStart(2,"0"),disabled:!1});return t}),ke=(0,_vue.computed)(()=>{var e=_.value;return!/HH/.test(e)||/mm/.test(e)}),Ce=(0,_vue.computed)(()=>{var e=_.value;return!/HH/.test(e)||/ss/.test(e)}),We=(0,_vue.computed)(()=>Te.value),z=(0,_vue.computed)(()=>{var{type:e,editable:t,multiple:a}=Y;return ee.value||a||!t||"week"===e||"quarter"===e}),Me=(0,_vue.computed)(()=>{var e=Y.type,t=I.showPwd,a=F.value,l=H.value,u=G.value;return l||a||u&&t||"number"===e?"text":e}),Ae=(0,_vue.computed)(()=>{var e,t=Y.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}),Le=(0,_vue.computed)(()=>{var{type:e,immediate:t}=Y;return t||!("text"===e||"number"===e||"integer"===e||"float"===e)}),Ye=(0,_vue.computed)(()=>{var e=Y.type,t=I.inputValue;return F.value?"integer"===e?_xeUtils.default.toInteger((0,_util2.handleNumber)(t)):_xeUtils.default.toNumber((0,_util2.handleNumber)(t)):0}),Ie=(0,_vue.computed)(()=>{var e=Y.min,t=I.inputValue,a=F.value,l=Ye.value;return!(!t&&0!==t||!a||null===e)&&l<=_xeUtils.default.toNumber(e)}),Oe=(0,_vue.computed)(()=>{var e=Y.max,t=I.inputValue,a=F.value,l=Ye.value;return!(!t&&0!==t||!a||null===e)&&l>=_xeUtils.default.toNumber(e)}),Ke=(0,_vue.computed)(()=>{var e=I.inputValue;return e}),qe=e=>{var{type:t,exponential:a}=Y,l=te.value,u=A.value,t="float"===t?(0,_util2.toFloatValueFixed)(e,t,u,""):_xeUtils.default.toValueString(e);return!a||e!==t&&_xeUtils.default.toValueString(e).toLowerCase()!==_xeUtils.default.toNumber(t).toExponential()?t.slice(0,l):e},r=(e,t,a)=>{V(e,(0,_ui.createEvent)(a,{$input:B},t))},a=()=>{var e=Ke.value,t=K.value;t&&(t.value=_xeUtils.default.eqNull(e)?"":""+e)},Be=e=>{V("update:modelValue",e)},g=e=>{var t=I.inputValue;r(e.type,{value:t},e)},x=(e,t)=>{Y.trim&&(e=(""+(e||"")).trim()),I.inputValue=e,Be(e),r("input",{value:e},t),_xeUtils.default.toValueString(Y.modelValue)!==e&&(r("change",{value:e},t),P||w||u&&i&&u.triggerItemEvent(t,i.itemConfig.field,e))},Re=(e,t)=>{var a=H.value,l=Le.value;I.inputValue=e,a||(l?x(e,t):(r("input",{value:e},t),P||w||u&&i&&u.triggerItemEvent(t,i.itemConfig.field,e)))},Fe=e=>{var t=e.target.value;Re(t,e)},He=e=>{Le.value||g(e),r("lazy-change",{value:I.inputValue},e)},Ge=e=>{var t=I.inputValue;Le.value?a():x(t,e),U(),I.visiblePanel||(I.isActivated=!1),r("blur",{value:t},e),P||w||u&&i&&u.triggerItemEvent(e,i.itemConfig.field,t)},ze=e=>{var t=I.inputValue,a=F.value,l=H.value;I.isActivated=!0,a?I.inputValue=(0,_utils.eqEmptyValue)(t)?"":""+_xeUtils.default.toNumber(t):l&&At(e),g(e)},je=e=>{var t;R.value||(t=I.inputValue,r("prefix-click",{value:t},e))},h=()=>new Promise(e=>{I.visiblePanel=!1,p.hpTimeout=setTimeout(()=>{I.isAniVisible=!1,e()},350)}),$e=(e,t)=>{var{type:a,autoFocus:l}=Y,u=F.value;H.value&&h(),(l||null===l)&&(u||-1<["text","search","password"].indexOf(a))&&focus(),x("",e),r("clear",{value:t},e),r("lazy-change",{value:t},e)},Qe=e=>{var t;R.value||(t=I.inputValue,r("suffix-click",{value:t},e))},l=e=>{var t=Y.type,a=m.value,l=_.value,u=f.value;let i=null,n="";e&&(i=v(e,l)),_xeUtils.default.isValidDate(i)?(n=_xeUtils.default.toDateString(i,a,{firstDay:u}),a&&"week"===t&&(e=_xeUtils.default.getYearWeek(i,u),(l=_xeUtils.default.getWhatWeek(i,0,1===e?(6+u)%7:u,u).getFullYear())!==i.getFullYear())&&-1<(t=a.indexOf("yyyy"))&&(e=Number(n.substring(t,t+4)))&&!isNaN(e)&&(n=n.replace(""+e,""+l))):i=null,I.datePanelValue=i,I.datePanelLabel=n},Ze=()=>{var e=H.value,t=I.inputValue;e&&(l(t),I.inputValue=Y.multiple?de.value:I.datePanelLabel)},Je=()=>{var e=Y.type,t=I.inputValue,a=H.value,l=A.value;a?Ze():"float"===e&&t&&t!==(a=(0,_util2.toFloatValueFixed)(t,e,l,""))&&x(a,{type:"init"})},Xe=e=>null===Y.max||""===Y.max||_xeUtils.default.toNumber(e)<=_xeUtils.default.toNumber(Y.max),et=e=>null===Y.min||""===Y.min||_xeUtils.default.toNumber(e)>=_xeUtils.default.toNumber(Y.min),tt=()=>{I.inputValue=Y.multiple?de.value:I.datePanelLabel},y=e=>{var t=f.value,a=_xeUtils.default.getYearWeek(e,t),t=_xeUtils.default.getWhatWeek(e,0,t,t),a=_xeUtils.default.getWhatMonth(1===a?_xeUtils.default.getWhatDay(t,6):e,0,"first");_xeUtils.default.isEqual(a,I.selectMonth)||(I.selectMonth=a)},b=a=>{var{modelValue:e,multiple:l}=Y;let u=I.datetimePanelValue;var t=o.value;let i=_.value;var n=f.value;"week"===Y.type?(s=_xeUtils.default.toNumber(Y.selectDay),a=_xeUtils.default.getWhatWeek(a,0,s,n)):t&&(a.setHours(u.getHours()),a.setMinutes(u.getMinutes()),a.setSeconds(u.getSeconds()));let r=_xeUtils.default.toDateString(a,i,{firstDay:n});if(y(a),l){var s=oe.value;if(t){n=[...d.value];let t=[];l=_xeUtils.default.findIndexOf(n,e=>_xeUtils.default.isDateSame(a,e,"yyyyMMdd"));-1===l?n.push(a):n.splice(l,1),n.forEach(e=>{e&&(e.setHours(u.getHours()),e.setMinutes(u.getMinutes()),e.setSeconds(u.getSeconds()),t.push(e))}),x(t.map(e=>_xeUtils.default.toDateString(e,i)).join(","),{type:"update"})}else s.some(e=>_xeUtils.default.isEqual(e,r))?x(s.filter(e=>!_xeUtils.default.isEqual(e,r)).join(","),{type:"update"}):x(s.concat([r]).join(","),{type:"update"})}else _xeUtils.default.isEqual(e,r)||x(r,{type:"update"})},U=()=>{var{type:a,min:t,max:l,exponential:u}=Y,{inputValue:i,datetimePanelValue:n}=I,r=F.value,e=H.value,s=m.value;if(!z.value)if(r){if(i){var r=""+(0,_util2.handleNumber)(i);if(r){let e="integer"===a?_xeUtils.default.toInteger(r):_xeUtils.default.toNumber(r);et(e)?Xe(e)||(e=l):e=t,u&&(r=_xeUtils.default.toValueString(i).toLowerCase())===_xeUtils.default.toNumber(e).toExponential()&&(e=r),x(qe(e),{type:"check"})}else{let e=!t&&0!==t?"":""+t;x(e,{type:"check"})}}}else if(e)if(i){let t=v(i,s);if(_xeUtils.default.isValidDate(t))if("time"===a)i!==(t=_xeUtils.default.toDateString(t,s))&&x(t,{type:"check"}),I.inputValue=t;else{let e=!1;l=f.value;"datetime"===a?(u=c.value,i===_xeUtils.default.toDateString(u,s)&&i===_xeUtils.default.toDateString(t,s)||(e=!0,n.setHours(t.getHours()),n.setMinutes(t.getMinutes()),n.setSeconds(t.getSeconds()))):e=!0,I.inputValue=_xeUtils.default.toDateString(t,s,{firstDay:l}),e&&b(t)}else tt()}else x("",{type:"check"})},at=e=>{var t=I.showPwd,a=R.value,l=z.value;a||l||(I.showPwd=!t),r("toggle-visible",{visible:I.showPwd},e)},lt=e=>{r("search-click",{},e)},ut=(e,t)=>{var{min:a,max:l,type:u}=Y,i=I.inputValue,n=L.value,u="integer"===u?_xeUtils.default.toInteger((0,_util2.handleNumber)(i)):_xeUtils.default.toNumber((0,_util2.handleNumber)(i)),i=e?_xeUtils.default.add(u,n):_xeUtils.default.subtract(u,n);let r;r=et(i)?Xe(i)?i:l:a,Re(qe(r),t)},n=e=>{var t=R.value,a=z.value,l=Ie.value;s(),t||a||l||ut(!1,e),r("next-number",{value:I.inputValue},e)},it=e=>{p.dnTimeout=setTimeout(()=>{n(e),it(e)},60)},nt=e=>{var t=R.value,a=z.value,l=Oe.value;s(),t||a||l||ut(!0,e),r("prev-number",{value:I.inputValue},e)},rt=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?nt:n)(e))},st=e=>{var t,a,l,u,i,n,r,{type:s,exponential:v,controls:o}=Y;F.value&&(t=(0,_dom.hasControlKey)(e),a=e.shiftKey,l=e.altKey,u=e.keyCode,i=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ESCAPE),n=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),r=_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),t||a||l||(_ui.globalEvents.hasKey(e,_ui.GLOBAL_EVENT_KEYS.SPACEBAR)||"integer"===s&&110===u||(!v||69!==u)&&65<=u&&u<=90||186<=u&&u<=188||191<=u)&&e.preventDefault(),i?U():(n||r)&&o&&rt(e)),g(e)},vt=e=>{g(e)},s=()=>{var e=p.dnTimeout;e&&(clearTimeout(e),p.dnTimeout=void 0)},ot=e=>{p.dnTimeout=setTimeout(()=>{nt(e),ot(e)},60)},dt=t=>{if(s(),0===t.button){let e=(0,_dom.hasClass)(t.currentTarget,"is--prev");(e?nt:n)(t),p.dnTimeout=setTimeout(()=>{(e?ot:it)(t)},500)}},pt=e=>{var t;F.value&&Y.controls&&I.isActivated&&(0<(t=e.deltaY)?n(e):t<0&&nt(e),e.preventDefault()),g(e)},_t=(e,t)=>{var a=f.value,l=_xeUtils.default.getYearWeek(e,a),a=_xeUtils.default.getWhatWeek(e,0,a,a),l=_xeUtils.default.getWhatMonth(1===l?_xeUtils.default.getWhatDay(a,6):e,t,"first");I.selectMonth=l},ct=()=>{var e=_xeUtils.default.getWhatDay(Date.now(),0,"first");I.currentDate=e,_t(e,0)},mt=()=>{I.datePanelType="year"},ft=()=>{let e=I.datePanelType;e="month"===e||"quarter"===e?"year":"month",I.datePanelType=e},gt=t=>{var a=Y.type,{datePanelType:l,selectMonth:u,inputValue:i}=I,n=p.yearSize;if(!pe.value){let e;e="year"===a?_xeUtils.default.getWhatYear(u,-n,"first"):"month"===a||"quarter"===a?"year"===l?_xeUtils.default.getWhatYear(u,-n,"first"):_xeUtils.default.getWhatYear(u,-1,"first"):"year"===l?_xeUtils.default.getWhatYear(u,-n,"first"):"month"===l?_xeUtils.default.getWhatYear(u,-1,"first"):_xeUtils.default.getWhatMonth(u,-1,"first"),I.selectMonth=e,r("date-prev",{viewType:l,viewDate:e,value:i,type:a},t)}},xt=e=>{ct(),Y.multiple||(b(I.currentDate),h()),r("date-today",{type:Y.type},e)},ht=t=>{var a=Y.type,{datePanelType:l,selectMonth:u,inputValue:i}=I,n=p.yearSize;if(!_e.value){let e;e="year"===a?_xeUtils.default.getWhatYear(u,n,"first"):"month"===a||"quarter"===a?"year"===l?_xeUtils.default.getWhatYear(u,n,"first"):_xeUtils.default.getWhatYear(u,1,"first"):"year"===l?_xeUtils.default.getWhatYear(u,n,"first"):"month"===l?_xeUtils.default.getWhatYear(u,1,"first"):_xeUtils.default.getWhatMonth(u,1,"first"),I.selectMonth=e,r("date-next",{viewType:l,viewDate:e,value:i,type:a},t)}},E=e=>{var t=Y.disabledMethod,a=I.datePanelType,l=re.value,u=se.value,e=e.date;return!!(l&&l.getTime()>e.getTime())||!!(u&&u.getTime()<e.getTime())||!!t&&t({type:a,viewType:a,date:e,$input:B})},yt=e=>{var{type:t,multiple:a}=Y,l=I.datePanelType;"month"===t?"year"===l?(I.datePanelType="month",y(e)):(b(e),a||h()):"year"===t?(b(e),a||h()):"quarter"===t?"year"===l?(I.datePanelType="quarter",y(e)):(b(e),a||h()):"month"===l?(I.datePanelType="week"===t?t:"day",y(e)):"year"===l?(I.datePanelType="month",y(e)):(b(e),"datetime"===t||a||h())},S=e=>{E(e)||yt(e.date)},bt=t=>{E({date:t})||(De.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyyMMdd"))||y(t),l(t))},Ut=t=>{E({date:t})||(fe.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyy"))||y(t),l(t))},Et=t=>{E({date:t})||(Ue.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyyq"))||y(t),l(t))},St=t=>{E({date:t})||(Se.value.some(e=>_xeUtils.default.isDateSame(e.date,t,"yyyyMM"))||y(t),l(t))},N=e=>{var t;E(e)||(t=I.datePanelType,("month"===t?St:"quarter"===t?Et:"year"===t?Ut:bt)(e.date))},Nt=e=>{var t;e&&(t=e.offsetHeight,e.parentNode.scrollTop=e.offsetTop-4*t)},Dt=e=>{I.datetimePanelValue=new Date(I.datetimePanelValue.getTime()),Nt(e.currentTarget)},Vt=(e,t)=>{I.datetimePanelValue.setHours(t.value),Dt(e)},Pt=()=>{var e=Y.multiple;let l=I.datetimePanelValue;var t=c.value,u=o.value;if(u){let a=_.value;if(e){e=oe.value;if(u){u=[...d.value];let t=[];u.forEach(e=>{e&&(e.setHours(l.getHours()),e.setMinutes(l.getMinutes()),e.setSeconds(l.getSeconds()),t.push(e))}),x(t.map(e=>_xeUtils.default.toDateString(e,a)).join(","),{type:"update"})}else x(e.join(","),{type:"update"})}else b(t||I.currentDate)}h()},wt=(e,t)=>{I.datetimePanelValue.setMinutes(t.value),Dt(e)},Tt=(e,t)=>{I.datetimePanelValue.setSeconds(t.value),Dt(e)},kt=()=>{var e=Y.type,t=o.value,a=c.value;-1<["year","quarter","month","week"].indexOf(e)?I.datePanelType=e:I.datePanelType="day",I.currentDate=_xeUtils.default.getWhatDay(Date.now(),0,"first"),a?(_t(a,0),l(a)):ct(),t&&(I.datetimePanelValue=I.datePanelValue||_xeUtils.default.getWhatDay(Date.now(),0,"first"),(0,_vue.nextTick)(()=>{var e=W.value;_xeUtils.default.arrayEach(e.querySelectorAll("li.is--selected"),e=>{Nt(e)})}))},Ct=()=>{I.panelIndex<(0,_utils.getLastZIndex)()&&(I.panelIndex=(0,_utils.nextZIndex)())},Wt=()=>(0,_vue.nextTick)().then(()=>{var l=Y.placement,u=I.panelIndex,i=K.value,n=Q.value,e=X.value;if(i&&n){var r=i.offsetHeight,s=i.offsetWidth,v=n.offsetHeight,n=n.offsetWidth,u={zIndex:u},{boundingTop:i,boundingLeft:o,visibleHeight:d,visibleWidth:p}=(0,_dom.getAbsolutePos)(i);let a="bottom";if(e){let e=o,t=i+r;"top"===l?(a="top",t=i-v):l||(t+v+5>d&&(a="top",t=i-v),t<5&&(a="bottom",t=i+r)),e+n+5>p&&(e-=e+n+5-p),e<5&&(e=5),Object.assign(u,{left:e+"px",top:t+"px",minWidth:s+"px"})}else"top"===l?(a="top",u.bottom=r+"px"):l||(u.top=r+"px",d<i+r+v&&5<i-r-v&&(a="top",u.top="",u.bottom=r+"px"));return I.panelStyle=u,I.panelPlacement=a,(0,_vue.nextTick)()}}),Mt=()=>{var e=I.visiblePanel,t=p.hpTimeout,a=R.value,l=H.value;return(a||e?(0,_vue.nextTick):(I.initialized||(I.initialized=!0),t&&(clearTimeout(t),p.hpTimeout=void 0),I.isActivated=!0,I.isAniVisible=!0,l&&kt(),setTimeout(()=>{I.visiblePanel=!0},10),Ct(),Wt))()},At=e=>{z.value||(e.preventDefault(),Mt())},Lt=e=>{g(e)},Yt=e=>{var{visiblePanel:t,isActivated:a}=I,l=H.value,u=O.value,i=q.value;!R.value&&a&&(I.isActivated=(0,_dom.getEventTargetNode)(e,u).flag||(0,_dom.getEventTargetNode)(e,i).flag,I.isActivated||(l?t&&(h(),U()):U()))},It=t=>{var{clearable:a,delClearable:l}=Y,u=I.visiblePanel,i=R.value,n=H.value;if(!i){var i=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.TAB),r=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.DELETE),s=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ESCAPE),v=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ENTER),o=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),d=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),p=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),_=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN),c=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),m=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.PAGE_DOWN),o=o||d||p||_;let e=I.isActivated;i?(e&&U(),e=!1,I.isActivated=e):o?n&&e&&(u?(t=>{var{isActivated:a,datePanelValue:l,datePanelType:u}=I;if(a){t.preventDefault();var a=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_LEFT),i=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_UP),n=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_RIGHT),t=_ui.globalEvents.hasKey(t,_ui.GLOBAL_EVENT_KEYS.ARROW_DOWN);if("year"===u){let e=_xeUtils.default.getWhatYear(l||Date.now(),0,"first");a?e=_xeUtils.default.getWhatYear(e,-1):i?e=_xeUtils.default.getWhatYear(e,-4):n?e=_xeUtils.default.getWhatYear(e,1):t&&(e=_xeUtils.default.getWhatYear(e,4)),Ut(e)}else if("quarter"===u){let e=_xeUtils.default.getWhatQuarter(l||Date.now(),0,"first");a?e=_xeUtils.default.getWhatQuarter(e,-1):i?e=_xeUtils.default.getWhatQuarter(e,-2):n?e=_xeUtils.default.getWhatQuarter(e,1):t&&(e=_xeUtils.default.getWhatQuarter(e,2)),Et(e)}else if("month"===u){let e=_xeUtils.default.getWhatMonth(l||Date.now(),0,"first");a?e=_xeUtils.default.getWhatMonth(e,-1):i?e=_xeUtils.default.getWhatMonth(e,-4):n?e=_xeUtils.default.getWhatMonth(e,1):t&&(e=_xeUtils.default.getWhatMonth(e,4)),St(e)}else{let e=l||_xeUtils.default.getWhatDay(Date.now(),0,"first");u=f.value;a?e=_xeUtils.default.getWhatDay(e,-1):i?e=_xeUtils.default.getWhatWeek(e,-1,u):n?e=_xeUtils.default.getWhatDay(e,1):t&&(e=_xeUtils.default.getWhatWeek(e,1,u)),bt(e)}}})(t):(d||_)&&At(t)):v?n&&(u?I.datePanelValue?yt(I.datePanelValue):h():e&&At(t)):(c||m)&&n&&e&&(p=t,o=I.isActivated)&&(o=_ui.globalEvents.hasKey(p,_ui.GLOBAL_EVENT_KEYS.PAGE_UP),p.preventDefault(),(o?gt:ht)(p)),(i||s)&&u&&h(),l&&r&&a&&e&&$e(t,null)}},Ot=e=>{var t=I.visiblePanel;R.value||t&&(t=q.value,((0,_dom.getEventTargetNode)(e,t).flag?Wt:(h(),U))())},Kt=()=>{var{isActivated:e,visiblePanel:t}=I;t&&h(),e&&(I.isActivated=!1),(t||e)&&(t=K.value,U(),t)&&t.blur()};t={dispatchEvent:r,focus(){var e=K.value;return I.isActivated=!0,e.focus(),(0,_vue.nextTick)()},blur(){return K.value.blur(),(I.isActivated=!1,_vue.nextTick)()},select(){return K.value.select(),(I.isActivated=!1,_vue.nextTick)()},showPanel:Mt,hidePanel:h,updatePlacement:Wt};Object.assign(B,t);let D=(e,t)=>{var a,l=Y.festivalMethod;return l?(a=I.datePanelType,e=(a=(l=l({type:a,viewType:a,date:e.date,$input:B}))?_xeUtils.default.isString(l)?{label:l}:l:{}).extra?_xeUtils.default.isString(a.extra)?{label:a.extra}:a.extra:null,l=[(0,_vue.h)("span",{class:["vxe-input--date-label",{"is-notice":a.notice}]},e&&e.label?[(0,_vue.h)("span",""+(t||"")),(0,_vue.h)("span",{class:["vxe-input--date-label--extra",e.important?"is-important":"",e.className],style:e.style},_xeUtils.default.toValueString(e.label))]:[""+(t||"")])],(e=a.label)&&(e=_xeUtils.default.toValueString(e).split(","),l.push((0,_vue.h)("span",{class:["vxe-input--date-festival",a.important?"is-important":"",a.className],style:a.style},[1<e.length?(0,_vue.h)("span",{class:["vxe-input--date-festival--overlap","overlap--"+e.length]},e.map(e=>(0,_vue.h)("span",e.substring(0,3)))):(0,_vue.h)("span",{class:"vxe-input--date-festival--label"},e[0].substring(0,3))]))),l):[""+(t||"")]},qt=()=>{let a=Y.multiple,{datePanelType:e,datePanelValue:l}=I,u=c.value;var t=he.value,i=Ve.value;let n=d.value,r="yyyyMMdd";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("thead",[(0,_vue.h)("tr",t.map(e=>(0,_vue.h)("th",e.label)))]),(0,_vue.h)("tbody",i.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?n.some(e=>_xeUtils.default.isDateSame(e,t.date,r)):_xeUtils.default.isDateSame(u,t.date,r),"is--hover":_xeUtils.default.isDateSame(l,t.date,r)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,t.label))))))])]},Bt=()=>{let l=Y.multiple,{datePanelType:e,datePanelValue:u}=I,i=c.value;var t=ye.value,a=Pe.value;let n=d.value,r="yyyyMMdd";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("thead",[(0,_vue.h)("tr",t.map(e=>(0,_vue.h)("th",e.label)))]),(0,_vue.h)("tbody",a.map(e=>{let t=l?e.some(t=>n.some(e=>_xeUtils.default.isDateSame(e,t.date,r))):e.some(e=>_xeUtils.default.isDateSame(i,e.date,r)),a=e.some(e=>_xeUtils.default.isDateSame(u,e.date,r));return(0,_vue.h)("tr",e.map(e=>(0,_vue.h)("td",{class:{"is--prev":e.isPrev,"is--current":e.isCurrent,"is--now":e.isNow,"is--next":e.isNext,"is--disabled":E(e),"is--selected":t,"is--hover":a},onClick:()=>S(e),onMouseenter:()=>N(e)},D(e,e.label))))}))])]},Rt=()=>{let a=Y.multiple,{datePanelType:e,datePanelValue:l}=I,u=c.value;var t=Ne.value;let i=d.value,n="yyyyMM";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("tbody",t.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?i.some(e=>_xeUtils.default.isDateSame(e,t.date,n)):_xeUtils.default.isDateSame(u,t.date,n),"is--hover":_xeUtils.default.isDateSame(l,t.date,n)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,(0,_ui.getI18n)("vxe.input.date.months.m"+t.month)))))))])]},Ft=()=>{let a=Y.multiple,{datePanelType:e,datePanelValue:l}=I,u=c.value;var t=Ee.value;let i=d.value,n="yyyyq";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("tbody",t.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?i.some(e=>_xeUtils.default.isDateSame(e,t.date,n)):_xeUtils.default.isDateSame(u,t.date,n),"is--hover":_xeUtils.default.isDateSame(l,t.date,n)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,(0,_ui.getI18n)("vxe.input.date.quarters.q"+t.quarter)))))))])]},Ht=()=>{let a=Y.multiple,{datePanelType:e,datePanelValue:l}=I,u=c.value;var t=be.value;let i=d.value,n="yyyy";return[(0,_vue.h)("table",{class:`vxe-input--date-${e}-view`,cellspacing:0,cellpadding:0,border:0},[(0,_vue.h)("tbody",t.map(e=>(0,_vue.h)("tr",e.map(t=>(0,_vue.h)("td",{class:{"is--prev":t.isPrev,"is--current":t.isCurrent,"is--now":t.isNow,"is--next":t.isNext,"is--disabled":E(t),"is--selected":a?i.some(e=>_xeUtils.default.isDateSame(e,t.date,n)):_xeUtils.default.isDateSame(u,t.date,n),"is--hover":_xeUtils.default.isDateSame(l,t.date,n)},onClick:()=>S(t),onMouseenter:()=>N(t)},D(t,t.year))))))])]},Gt=()=>{var e=I.datePanelType;switch(e){case"week":return Bt();case"month":return Rt();case"quarter":return Ft();case"year":return Ht()}return qt()},zt=()=>{var e=Y.multiple,t=I.datePanelType,a=pe.value,l=_e.value,u=ge.value;return[(0,_vue.h)("div",{class:"vxe-input--date-picker-header"},[(0,_vue.h)("div",{class:"vxe-input--date-picker-type-wrapper"},["year"===t?(0,_vue.h)("span",{class:"vxe-input--date-picker-label"},u.y):(0,_vue.h)("span",{class:"vxe-input--date-picker-btns"},[(0,_vue.h)("span",{class:"vxe-input--date-picker-btn",onClick:mt},u.y),u.m?(0,_vue.h)("span",{class:"vxe-input--date-picker-btn",onClick:ft},u.m):(0,_ui.renderEmptyElement)(B)])]),(0,_vue.h)("div",{class:"vxe-input--date-picker-btn-wrapper"},[(0,_vue.h)("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":a}],onClick:gt},[(0,_vue.h)("i",{class:"vxe-icon-caret-left"})]),(0,_vue.h)("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",onClick:xt},[(0,_vue.h)("i",{class:"vxe-icon-dot"})]),(0,_vue.h)("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":l}],onClick:ht},[(0,_vue.h)("i",{class:"vxe-icon-caret-right"})]),e&&ve.value?(0,_vue.h)("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[(0,_vue.h)("button",{class:"vxe-input--date-picker-confirm",type:"button",onClick:Pt},(0,_ui.getI18n)("vxe.button.confirm"))]):null])]),(0,_vue.h)("div",{class:"vxe-input--date-picker-body"},Gt())]},jt=()=>{let a=I.datetimePanelValue;var e=ce.value,t=we.value,l=ke.value,u=Te.value,i=Ce.value,n=We.value;return[(0,_vue.h)("div",{class:"vxe-input--time-picker-header"},[l?(0,_vue.h)("span",{class:"vxe-input--time-picker-title"},e):(0,_vue.createCommentVNode)(),(0,_vue.h)("div",{class:"vxe-input--time-picker-btn"},[(0,_vue.h)("button",{class:"vxe-input--time-picker-confirm",type:"button",onClick:Pt},(0,_ui.getI18n)("vxe.button.confirm"))])]),(0,_vue.h)("div",{ref:W,class:"vxe-input--time-picker-body"},[(0,_vue.h)("ul",{class:"vxe-input--time-picker-hour-list"},t.map((t,e)=>(0,_vue.h)("li",{key:e,class:{"is--selected":a&&a.getHours()===t.value},onClick:e=>Vt(e,t)},t.label))),l?(0,_vue.h)("ul",{class:"vxe-input--time-picker-minute-list"},u.map((t,e)=>(0,_vue.h)("li",{key:e,class:{"is--selected":a&&a.getMinutes()===t.value},onClick:e=>wt(e,t)},t.label))):(0,_vue.createCommentVNode)(),l&&i?(0,_vue.h)("ul",{class:"vxe-input--time-picker-second-list"},n.map((t,e)=>(0,_vue.h)("li",{key:e,class:{"is--selected":a&&a.getSeconds()===t.value},onClick:e=>Tt(e,t)},t.label))):(0,_vue.createCommentVNode)()])]},$t=()=>{var e=Oe.value,t=Ie.value;return(0,_vue.h)("div",{class:"vxe-input--control-icon"},[(0,_vue.h)("div",{class:"vxe-input--number-icon"},[(0,_vue.h)("div",{class:["vxe-input--number-btn is--prev",{"is--disabled":e}],onMousedown:dt,onMouseup:s,onMouseleave:s},[(0,_vue.h)("i",{class:(0,_ui.getIcon)().INPUT_PLUS_NUM})]),(0,_vue.h)("div",{class:["vxe-input--number-btn is--next",{"is--disabled":t}],onMousedown:dt,onMouseup:s,onMouseleave:s},[(0,_vue.h)("i",{class:(0,_ui.getIcon)().INPUT_MINUS_NUM})])])])},Qt=()=>(0,_vue.h)("div",{class:"vxe-input--control-icon",onClick:At},[(0,_vue.h)("i",{class:["vxe-input--date-picker-icon",(0,_ui.getIcon)().DATE_PICKER_DATE]})]),Zt=()=>(0,_vue.h)("div",{class:"vxe-input--control-icon",onClick:lt},[(0,_vue.h)("i",{class:["vxe-input--search-icon",(0,_ui.getIcon)().INPUT_SEARCH]})]),Jt=()=>{var e=I.showPwd;return(0,_vue.h)("div",{class:"vxe-input--control-icon",onClick:at},[(0,_vue.h)("i",{class:["vxe-input--password-icon",e?(0,_ui.getIcon)().PASSWORD_INPUT_SHOW_PWD:(0,_ui.getIcon)().PASSWORD_INPUT_HIDE_PWD]})])},Xt=()=>{var e=Y.controls,t=F.value,a=H.value,l=G.value,u=ie.value;return(l?Jt:t&&e?$t:a?Qt:u?Zt:(0,_vue.createCommentVNode))()};(0,_vue.watch)(()=>Y.modelValue,e=>{I.inputValue=e,Ze()}),(0,_vue.watch)(()=>Y.type,()=>{Object.assign(I,{inputValue:Y.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),Je()}),(0,_vue.watch)(m,()=>{H.value&&(l(I.datePanelValue),I.inputValue=Y.multiple?de.value:I.datePanelLabel)});let ea=(0,_vue.ref)(0);return(0,_vue.watch)(ee,()=>{ea.value++}),(0,_vue.watch)(Ke,()=>{ea.value++}),(0,_vue.watch)(ea,()=>{a(),(0,_vue.nextTick)(()=>{a()})}),(0,_vue.onMounted)(()=>{var e=Y.type,e=(["date","time","datetime","week","month","quarter","year"].includes(e)?warnLog("vxe.error.useNew",[`<vxe-input type="${e}" ... />`,`<vxe-date-picker type="${e}" ... />`]):["number","integer","float"].includes(e)?warnLog("vxe.error.useNew",[`<vxe-input type="${e}" ... />`,`<vxe-number-input type="${e}" ... />`]):["password"].includes(e)&&warnLog("vxe.error.useNew",[`<vxe-input type="${e}" ... />`,"<vxe-password-input ... />"]),K.value);e&&e.addEventListener("wheel",pt,{passive:!1}),_ui.globalEvents.on(B,"mousewheel",Ot),_ui.globalEvents.on(B,"mousedown",Yt),_ui.globalEvents.on(B,"keydown",It),_ui.globalEvents.on(B,"blur",Kt),a()}),(0,_vue.onBeforeUnmount)(()=>{s(),U();var e=K.value;e&&e.removeEventListener("wheel",pt),_ui.globalEvents.off(B,"mousewheel"),_ui.globalEvents.off(B,"mousedown"),_ui.globalEvents.off(B,"keydown"),_ui.globalEvents.off(B,"blur")}),Je(),B.renderVN=()=>{var e,t,a,l,u,i,n,r,s,v,o,d,p,_,c,m,f,g,x,{className:h,inputClassName:y,controls:b,type:U,title:E,floatContent:S,align:N,showWordCount:D,countMethod:V,name:P,autoComplete:w,autocomplete:T,floatAlign:k}=Y,{inputValue:C,visiblePanel:W,isActivated:L}=I,M=$.value,A=R.value;return ee.value?(0,_vue.h)("div",{ref:O,class:["vxe-input--readonly","type--"+U,h]},C):(e=ae.value,t=ue.value,a=le.value,l=z.value,u=te.value,i=Me.value,n=Ae.value,r=ne.value,D=D&&["text","search"].includes(U),x=Y.prefixIcon,v=Z.value,s=j.prefix,x=x||v.icon,v=v.content,s=s||x||v?(0,_vue.h)("div",{class:"vxe-input--prefix",onClick:je},[(0,_vue.h)("div",{class:"vxe-input--prefix-icon"},s?(0,_vn.getSlotVNs)(s({})):[x?(0,_vue.h)("i",{class:x}):(0,_ui.renderEmptyElement)(B),v?(0,_vue.h)("span",{class:"vxe-input--prefix-text"},""+v):(0,_ui.renderEmptyElement)(B)])]):(0,_ui.renderEmptyElement)(B),x=Y.suffixIcon,v=I.inputValue,o=j.suffix,d=J.value,p=R.value,_=F.value,c=H.value,m=G.value,f=ie.value,g=ne.value,m=m||_||c||f,_=x||d.icon,c=d.content,f=g||o||_||c||m?(0,_vue.h)("div",{class:["vxe-input--suffix",{"is--clear":g&&!p&&!(""===v||_xeUtils.default.eqNull(v))}]},[g?(0,_vue.h)("div",{class:"vxe-input--clear-icon",onClick:$e},[(0,_vue.h)("i",{class:(0,_ui.getIcon)().INPUT_CLEAR})]):(0,_ui.renderEmptyElement)(B),m?Xt():(0,_ui.renderEmptyElement)(B),o||_||c?(0,_vue.h)("div",{class:"vxe-input--suffix-icon",onClick:Qe},o?(0,_vn.getSlotVNs)(o({})):[_?(0,_vue.h)("i",{class:_}):(0,_ui.renderEmptyElement)(B),c?(0,_vue.h)("span",{class:"vxe-input--suffix-text"},""+c):(0,_ui.renderEmptyElement)(B)]):(0,_ui.renderEmptyElement)(B)]):(0,_ui.renderEmptyElement)(B),x=j.float,(0,_vue.h)("div",{ref:O,class:["vxe-input","type--"+U,S?"fla--"+(k||"center"):"",h,{["size--"+M]:M,["is--"+N]:N,"is--controls":b,"is--prefix":!!s,"is--suffix":!!f,"is--visible":W,"is--clear":r,"is--count":D,"is--disabled":A,"is--active":L,"show--clear":r&&!A&&!(""===C||_xeUtils.default.eqNull(C))}],style:e,spellcheck:!1},[s||(0,_vue.createCommentVNode)(),(0,_vue.h)("div",{class:"vxe-input--wrapper",title:E||null},[(0,_vue.h)("input",{ref:K,class:"vxe-input--inner"+(y?" "+y:""),name:P,type:i,placeholder:n,maxlength:u,readonly:l,disabled:A,autocomplete:w||T,onKeydown:st,onKeyup:vt,onClick:Lt,onInput:Fe,onChange:He,onFocus:ze,onBlur:Ge}),S||x?(0,_vue.h)("span",{class:"vxe-input--float-wrapper"},x?x({}):(0,_utils.getText)(S)):(0,_ui.renderEmptyElement)(B)]),f||(0,_vue.createCommentVNode)(),(()=>{var e=Y.type,{initialized:t,isAniVisible:a,visiblePanel:l,panelPlacement:u,panelStyle:i}=I,n=$.value,r=X.value,s=[];return H.value?(s.push("datetime"===e?(0,_vue.h)("div",{key:e,ref:q,class:"vxe-input--panel-layout-wrapper"},[(0,_vue.h)("div",{class:"vxe-input--panel-left-wrapper"},zt()),(0,_vue.h)("div",{class:"vxe-input--panel-right-wrapper"},jt())]):"time"===e?(0,_vue.h)("div",{key:e,ref:q,class:"vxe-input--panel-wrapper"},jt()):(0,_vue.h)("div",{key:e||"default",ref:q,class:"vxe-input--panel-wrapper"},zt())),(0,_vue.h)(_vue.Teleport,{to:"body",disabled:!r||!t},[(0,_vue.h)("div",{ref:Q,class:["vxe-table--ignore-clear vxe-input--panel","type--"+e,{["size--"+n]:n,"is--transfer":r,"ani--leave":a,"ani--enter":l}],placement:u,style:i},l||a?s:[])])):(0,_vue.createCommentVNode)()})(),D?(0,_vue.h)("span",{class:["vxe-input--count",{"is--error":t}]},V?""+V({value:C}):a+(u?"/"+u:"")):(0,_vue.createCommentVNode)()]))},B},render(){return this.renderVN()}});
|
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: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
((e,t)=>{"function"==typeof define&&define.amd?define("vxe-language.zh-CHT",["exports"],t):"undefined"!=typeof exports?t(exports):(t(t={}),e.VxeLanguageZhCht=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:"請輸入",pleaseSelect:"請選擇",comma:",",fullStop:"。"},loading:{text:"載入中..."},error:{downErr:"下載失敗",errLargeData:"當綁定的數據量過大時,應該請使用 {0},否則可能會出現卡頓",groupFixed:"如果使用分組表頭,凍結列必須按組設置",groupMouseRange:'分組表頭與 "{0}" 不能同時使用,這可能會出現錯誤',groupTag:'分組列頭應該使用 "{0}" 而不是 "{1}",這可能會出現錯誤',scrollErrProp:'啟用虛擬滾動後不支持該參數 "{0}"',errConflicts:'參數 "{0}" 與 "{1}" 有衝突',modelConflicts:'綁定的字段值 "{0}" 與 "{1}" 存在衝突,將會出現錯誤',notSupportProp:'當啟用參數 "{0}" 時不支持 "{1}",應該為 "{2}",否則將會出現錯誤',reqSupportProp:'当使用 "{0}" 时,应该设置 "{1}",否则可能会出现错误',notConflictProp:'當使用 "{0}" 時,應該設置 "{1}",否則可能會存在功能衝突',unableInsert:"無法插入到指定位置,請檢查參數是否正確",useErr:'安裝 "{0}" 模塊時發生錯誤,可能順序不正確,依賴的模塊需要在 Table 之前安裝',barUnableLink:"工具欄無法關聯表格",expandContent:'展開行的插槽應該是 "content",請檢查是否正確',reqComp:'缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useUI/useGlobal',reqModule:'缺少 "{0}" 模塊',reqProp:'缺少必要的 "{0}" 參數,這可能會導致出現錯誤',emptyProp:'參數 "{0}" 不允許為空',errProp:'不支持的參數 "{0}",可能為 "{1}"',colRepet:'column.{0}="{1}" 重複了,這可能會導致某些功能無法使用',notFunc:'方法 "{0}" 不存在',errFunc:'參數 "{0}" 不是一個方法',notValidators:'全局校驗 "{0}" 不存在',notFormats:'全局格式化 "{0}" 不存在',notCommands:'全局指令 "{0}" 不存在',notSlot:'插槽 "{0}" 不存在',noTree:'樹結構不支持 "{0}"',noGroup:'數據分組後不支持 "{0}"',notProp:'不支持的參數 "{0}"',returnErr:'参数 "{0}" 的返回值期望是 "{1}" 实际是 "{2}"',notSupportReturn:'当返回值为 "{0}" 时的参数应该使用用 "{1}" 而不是 "{2}"',checkProp:'當數據量過大時可能會導致複選框卡頓,建議設置參數 "{0}" 提升渲染速度',coverProp:'"{0}" 的參數 "{1}" 重複定義,這可能會出現錯誤',uniField:'字段名 "{0}" 重複定義,這可能會出現錯誤',repeatKey:'主鍵重複 {0}="{1}",這可能會出現錯誤',repeatProp:'参数重复 {0}="{1}",这可能会出现错误',delFunc:'方法 "{0}" 已廢棄,請使用 "{1}"',delProp:'參數 "{0}" 已廢棄,請使用 "{1}"',delEvent:'事件 "{0}" 已廢棄,請使用 "{1}"',removeProp:'參數 "{0}" 已廢棄,不建議使用,這可能會導致出現錯誤',errFormat:'全局的格式化內容應該使用 "VXETable.formats" 定義,掛載 "formatter={0}" 的方式已不建議使用',notType:'不支持的文件類型 "{0}"',notExp:"該瀏覽器不支持導入/導出功能",impFields:"導入失敗,請檢查字段名和數據格式是否正確",treeNotImp:"樹表格不支持導入",treeCrossDrag:"只能拖拽第一層級",treeDragChild:"父級不能拖拽到自己的子級中",reqPlugin:'扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',errMaxRow:"超過支持的最大數據量 {0} 行,這可能會導致出現錯誤",useNew:"不建議使用 {0},請使用 {1}",errorVersion:"版本不匹配,当前版本 {0},最低支持版本为 {1}"},table:{emptyText:"暫無數據",allTitle:"全選/取消",seqTitle:"序號",actionTitle:"操作",confirmFilter:"篩選",resetFilter:"重置",allFilter:"全部",sortAsc:"升序:最低到最高",sortDesc:"降序:最高到最低",filter:"對所選的列啟用篩選",impSuccess:"成功導入 {0} 條記錄",expLoading:"正在導出中",expSuccess:"導出成功",expError:"導出失敗",expFilename:"導出_{0}",expOriginFilename:"導出_源_{0}",customTitle:"列設置",customAll:"全部",customConfirm:"確認",customClose:"關閉",customCancel:"取消",customRestore:"恢復默認",maxFixedCol:"最大凍結列的數量不能超過 {0} 個",maxGroupCol:"最大分組字段的數量不能超過 {0} 個",dragTip:"移動:{0}",resizeColTip:"寬:{0} 像素",resizeRowTip:"高:{0} 像素",rowGroupContentTotal:"{0}({1})",menuLoading:"加载中..."},grid:{selectOneRecord:"請至少選擇一條記錄!",deleteSelectRecord:"您確定要刪除所選記錄嗎?",removeSelectRecord:"您確定要移除所選記錄嗎?",dataUnchanged:"數據未改動!",delSuccess:"成功刪除所選記錄!",saveSuccess:"保存成功!",operError:"發生錯誤,操作失敗!"},select:{clear:"清除",allChecked:"全選",total:"已选 {0} 项",close:"关闭",search:"搜尋",loadingText:"載入中",emptyText:"暫無數據",maxSize:"最大可選擇的數量不能超過 {0} 個",overSizeErr:"已超出最大可選數量 {0} 個,超出部分將被忽略!",searchEmpty:"未匹配到數據!"},list:{allChecked:"全选",dragTip:"移动:{0}"},tree:{searchEmpty:"未匹配到數據!",dragTip:"移動:{0}"},treeSelect:{clearChecked:"清除",allChecked:"全選",allExpand:"全部展開",clearExpand:"全部收起",total:"已选 {0} 项",close:"关闭",search:"搜尋",emptyText:"暫無數據"},pager:{goto:"前往",gotoTitle:"頁數",pagesize:"{0}條/頁",total:"共 {0} 條記錄",pageClassifier:"頁",homePage:"首頁",homePageTitle:"首頁",prevPage:"上一頁",prevPageTitle:"上一頁",nextPage:"下一頁",nextPageTitle:"下一頁",prevJump:"向上跳頁",prevJumpTitle:"向上跳頁",nextJump:"向下跳頁",nextJumpTitle:"向下跳頁",endPage:"末頁",endPageTitle:"末頁"},alert:{title:"系統提示"},button:{confirm:"確認",cancel:"取消",clear:"清除"},filter:{search:"搜尋"},custom:{cstmTitle:"列設置",cstmRestore:"恢復默認",cstmCancel:"取消",cstmConfirm:"確定",cstmConfirmRestore:"請確認是否恢復成默認列配置?",cstmDragTarget:"移動:{0}",setting:{colSort:"排序",sortHelpTip:"点击图标开始拖动",colTitle:"列標題",colResizable:"列寬(像素)",colVisible:"是否顯示",colFixed:"凍結列",colFixedMax:"凍結列({0})",colAlign:"对齐方式",colHeadAlign:"表头对齐方式",colFootAlign:"表尾对齐方式",fixedLeft:"左",fixedUnset:"无",fixedRight:"右",alignLeft:"左",alignCenter:"中",alignRight:"右",moveUp:"上移",moveDn:"下移",putTop:"置顶",putBottom:"置尾",moveUpTitle:"点击向上移动",moveDnTitle:"点击向下移动",putTopTitle:"点击置顶",putBottomTitle:"点击置尾",anLeftTitle:"左对齐",anCenterTitle:"居中",anRightTitle:"右对齐"}},import:{modes:{covering:"覆蓋方式(直接覆蓋表格數據)",insert:"底部追加(在表格的底部追加新數據)",insertTop:"頂部追加(在表格的頂部追加新數據)",insertBottom:"底部追加(在表格的底部追加新數據)"},impTitle:"導入數據",impFile:"文件名",impSelect:"選擇文件",impType:"文件類型",impOpts:"參數設置",impMode:"導入模式",impConfirm:"導入",impCancel:"取消"},export:{types:{csv:"CSV (逗號分隔)(*.csv)",html:"網頁(*.html)",xml:"XML 數據(*.xml)",txt:"文本文件(製表符分隔)(*.txt)",xls:"Excel 97-2003 工作簿(*.xls)",xlsx:"Excel 工作簿(*.xlsx)",pdf:"PDF (*.pdf)"},modes:{empty:"空數據",current:"當前數據(當前頁的數據)",selected:"選中數據(當前頁選中的數據)",all:"全量數據(包括所有分頁的數據)"},printTitle:"打印數據",expTitle:"導出數據",expName:"文件名",expNamePlaceholder:"請輸入文件名",expSheetName:"標題",expSheetNamePlaceholder:"請輸入標題",expType:"保存類型",expMode:"選擇數據",expCurrentColumn:"全部字段",expColumn:"選擇字段",widthMode:"列宽设置",wModeTitle:"设置打印时列宽的渲染方式",wdModes:{default:"默认",auto:"自适应(根据内容自适应列宽)",scale:"等比例(根据页面比例渲染列宽)"},expOpts:"參數設置",expOptHeader:"表頭",expHeaderTitle:"是否需要表頭",expOptFooter:"表尾",expFooterTitle:"是否需要表尾",expOptColgroup:"分組表頭",expOptTitle:"列標題",expTitleTitle:"是否為列標題,否則顯示為列的字段名",expColgroupTitle:"如果存在,則支持帶有分組結構的表頭",expOptMerge:"合併",expMergeTitle:"如果存在,則支持帶有合併結構的單元格",expOptAllExpand:"展開樹",expAllExpandTitle:"如果存在,則支持將帶有層級結構的數據全部展開",expOptTreeAllExpand:"展开树",expTreeAllExpandTitle:"如果存在,则自动展开所有树层级",expOptRowGroupAllExpand:"展开分组",expRowGroupAllExpandTitle:"如果存在,则自动展开所有分组层级",expOptUseStyle:"樣式",expUseStyleTitle:"如果存在,則支持帶樣式的單元格",expOptOriginal:"源數據",expOriginalTitle:"如果為源數據,則支持導入到表格中",expPrint:"列印",expConfirm:"導出",expCancel:"取消"},modal:{errTitle:"錯誤提示",zoomMin:"最小化",zoomIn:"最大化",zoomOut:"還原",close:"關閉",miniMaxSize:"最小化窗口的數量不能超過 {0} 個",footPropErr:"show-footer 僅用於啟用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用"},drawer:{close:"關閉"},form:{folding:"收起",unfolding:"展開"},toolbar:{import:"導入",export:"導出",print:"列印",refresh:"重新整理",zoomIn:"全螢幕",zoomOut:"還原",custom:"列設置",customAll:"全部",customConfirm:"確認",customRestore:"重置",fixedLeft:"凍結在左側",fixedRight:"凍結在右側",cancelFixed:"取消凍結列"},iconPicker:{search:"搜索",emptyText:"暂无数据"},datePicker:{yearTitle:"{0} 年"},dateRangePicker:{pleaseRange:"請選擇開始日期與結束日期"},input:{date:{m1:"01 月",m2:"02 月",m3:"03 月",m4:"04 月",m5:"05 月",m6:"06 月",m7:"07 月",m8:"08 月",m9:"09 月",m10:"10 月",m11:"11 月",m12:"12 月",quarterLabel:"{0} 年",monthLabel:"{0} 年",dayLabel:"{0} 年 {1}",labelFormat:{date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss",week:"yyyy 年第 WW 週",month:"yyyy-MM",quarter:"yyyy 年第 q 季度",year:"yyyy"},weeks:{w:"",w0:"週日",w1:"週一",w2:"週二",w3:"週三",w4:"週四",w5:"週五",w6:"週六"},months:{m0:"一月",m1:"二月",m2:"三月",m3:"四月",m4:"五月",m5:"六月",m6:"七月",m7:"八月",m8:"九月",m9:"十月",m10:"十一月",m11:"十二月"},quarters:{q1:"第一季度",q2:"第二季度",q3:"第三季度",q4:"第四季度"}}},calendar:{yearLabel:"{0} 年",monthLabel:"{0} 月"},cascader:{clearChecked:"清除",allChecked:"全选",total:"已选 {0} 项",close:"关闭",search:"搜索"},numberInput:{currencySymbol:"¥"},imagePreview:{popupTitle:"預覽",operBtn:{zoomOut:"縮小",zoomIn:"放大",pctFull:"等比例縮放",pct11:"顯示原始尺寸",rotateLeft:"向左旋轉",rotateRight:"向右旋轉",print:"點擊打印圖片",download:"點擊下載圖片"}},upload:{fileBtnText:"點擊或拖拽上傳",imgBtnText:"點擊或拖拽上傳",dragPlaceholder:"請把文件拖放到這個區域即可上傳",imgSizeHint:"單張{0}",imgCountHint:"最多{0}張",fileTypeHint:"支持 {0} 文件類型",fileSizeHint:"單個文件大小不超過{0}",fileCountHint:"最多可上傳{0}個文件",uploadTypeErr:"文件類型不匹配!",overCountErr:"最多只能選擇{0}個文件!",overCountExtraErr:"已超出最大數量{0}個,超出的{1}個文件將被忽略!",overSizeErr:"文件大小最大不能超過{0}!",manualUpload:"點擊上傳",reUpload:"重新上傳",uploadProgress:"上傳中 {0}%",uploadErr:"上傳失敗",uploadSuccess:"上傳成功",moreBtnText:"更多({0})",moreImgBtnText:"图片({0})",moreFileBtnText:"文件({0})",viewItemTitle:"點擊查看",morePopup:{readTitle:"查看列表",imageTitle:"上傳圖片",fileTitle:"上傳文件"}},empty:{defText:"暫無數據"},colorPicker:{clear:"清除",confirm:"確認",copySuccess:"已復製到剪貼板:{0}",hex:"十六進位"},formDesign:{formName:"表單名稱",defFormTitle:"未命名的表單",widgetPropTab:"控件屬性",widgetFormTab:"表單屬性",error:{wdFormUni:"該類型的控件在表單中只允許添加一個",wdSubUni:"該類型的控件在子表中只允許添加一個"},styleSetting:{btn:"樣式設置",title:"表單的樣式設置",layoutTitle:"控件佈局",verticalLayout:"上下佈局",horizontalLayout:"橫向佈局",styleTitle:"標題樣式",boldTitle:"標題加粗",fontBold:"加粗",fontNormal:"常規",colonTitle:"顯示冒號",colonVisible:"顯示",colonHidden:"隱藏",alignTitle:"對齊方式",widthTitle:"標題寬度",alignLeft:"居左",alignRight:"居右",unitPx:"像素",unitPct:"百分比"},widget:{group:{base:"基礎控件",layout:"佈局控件",system:"系統控件",module:"模塊控件",chart:"圖表控件",advanced:"高級控件"},copyTitle:"副本_{0}",component:{input:"輸入框",textarea:"文本域",select:"下拉選擇",row:"一行多列",title:"標題",text:"文字",subtable:"子表",VxeSwitch:"是/否",VxeInput:"輸入框",VxeNumberInput:"數字",VxeDatePicker:"日期",VxeTextarea:"文本域",VxeSelect:"下拉選擇",VxeTreeSelect:"樹形選擇",VxeRadioGroup:"單選框",VxeCheckboxGroup:"複選框",VxeUploadFile:"文件",VxeUploadImage:"圖片",VxeRate:"評分",VxeSlider:"滑桿"}},widgetProp:{name:"控件名稱",placeholder:"提示語",required:"必填校驗",multiple:"允許多選",displaySetting:{name:"顯示設置",pc:"電腦端",mobile:"手機端",visible:"顯示",hidden:"隱藏"},dataSource:{name:"數據源",defValue:"選項{0}",addOption:"添加選項",batchEditOption:"批量編輯",batchEditTip:"每行對應一個選項,支持從表格、Excel、WPS 中直接複製粘貼。",batchEditSubTip:"每行對應一個選項,如果是分組,子項可以是空格或製表鍵開頭,支持從表格、Excel、WPS 中直接複製粘貼。",buildOption:"生成選項"},rowProp:{colSize:"列數",col2:"兩列",col3:"三列",col4:"四列",col6:"六列",layout:"佈局"},textProp:{name:"內容",alignTitle:"對齊方式",alignLeft:"居左",alignCenter:"居中",alignRight:"居右",colorTitle:"字體顏色",sizeTitle:"字體大小",boldTitle:"字體加粗",fontNormal:"常規",fontBold:"加粗"},subtableProp:{seqTitle:"序號",showSeq:"顯示序號",showCheckbox:"允許多選",errSubDrag:"子表不支持該控件,請使用其他控件",colPlace:"將控件拖拽進來"},uploadProp:{limitFileCount:"文件數量限制",limitFileSize:"文件大小限制",multiFile:"允許上傳多個文件",limitImgCount:"圖片數量限制",limitImgSize:"圖片大小限制",multiImg:"允許上傳多張圖片"}}},listDesign:{fieldSettingTab:"字段設置",listSettingTab:"參數設置",searchTitle:"查詢條件",listTitle:"列表字段",searchField:"查詢字段",listField:"列表字段",activeBtn:{ActionButtonUpdate:"編輯",ActionButtonDelete:"刪除"},search:{addBtn:"編輯",emptyText:"未配置查詢條件",editPopupTitle:"編輯查詢字段"},searchPopup:{colTitle:"標題",saveBtn:"保存"}},text:{copySuccess:"已復製到剪貼板",copyError:"當前環境不支持該操作"},countdown:{formats:{yyyy:"年",MM:"月",dd:"天",HH:"時",mm:"分",ss:"秒"}},contextMenu:{loadingText:"加载中..."},switch:{onText:"打开",offText:"关闭"},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:"日",w1:"一",w2:"二",w3:"三",w4:"四",w5:"五",w6:"六"},days:{w0:"日",w1:"一",w2:"二",w3:"三",w4:"四",w5:"五",w6:"六"}},plugins:{extendCellArea:{area:{mergeErr:"無法對合併單元格進行該操作",multiErr:"無法對多重選擇區域進行該操作",selectErr:"無法操作指定區域的單元格",extendErr:"如果延伸的區域包含被合併的單元格,所有合併的單元格需大小相同",pasteMultiErr:"無法粘貼,需要相同大小的複制的區域和粘貼的區域才能執行此操作",cpInvalidErr:"該操作無法進行,您選擇的區域中存在被禁止的列({0})"},fnr:{title:"查找和替換",titleFd:"查找",titleRe:"替换",findLabel:"查找",replaceLabel:"替換",findTitle:"查找內容:",replaceTitle:"替換為:",tabs:{find:"查找",replace:"替換"},filter:{re:"正則表達式",whole:"全詞匹配",sensitive:"區分大小寫"},btns:{findNext:"查找下一個",findAll:"查找全部",replace:"替換",replaceAll:"替換全部",cancel:"取消"},header:{seq:"#",cell:"單元格",value:"值"},body:{row:"行:{0}",col:"列:{0}"},empty:"(空值)",reError:"無效的正則表達式",recordCount:"已找到 {0} 個單元格",notCell:"找不到匹配的單元格",replaceSuccess:"成功替換 {0} 個單元格"}},extendPivotTable:{aggregation:{grouping:"分組",values:"值",groupPlaceholder:"拖至此處進行分組",valuesPlaceholder:"拖至此處進行聚合",dragExistCol:"該列已存在",sortHelpTip:"点击图标开始拖动"},aggFuncs:{sum:"求和",count:"計數",avg:"平均值",min:"最小值",max:"最大值",first:"首個值",last:"末尾值"}},filterComplexInput:{menus:{fixedColumn:"凍結列",fixedGroup:"凍結分組",cancelFixed:"取消凍結",fixedLeft:"凍結左側",fixedRight:"凍結右側"},cases:{equal:"等於",gt:"大於",lt:"小於",begin:"開頭是",endin:"結尾是",include:"包含",isSensitive:"區分大小寫"}},filterCombination:{menus:{sort:"排序",clearSort:"清除排序",sortAsc:"升序",sortDesc:"降序",fixedColumn:"凍結列",fixedGroup:"凍結分組",cancelFixed:"取消凍結",fixedLeft:"凍結左側",fixedRight:"凍結右側",clearFilter:"清除篩選",textOption:"文本篩選",numberOption:"數值篩選",dateOption:"日期筛选"},popup:{title:"自定義篩選的方式",currColumnTitle:"显示行:",and:"與",or:"或",describeHtml:"可用 ? 代表單個字符<br/>用 * 代表任意多個字符"},cases:{equal:"等於",unequal:"不等於",gt:"大於",ge:"大於或等於",lt:"小於",le:"小於或等於",begin:"開頭是",notbegin:"開頭不是",endin:"結尾是",notendin:"結尾不是",include:"包含",exclude:"不包含",between:"介於",isAfter:"在以下日期之后",eqAfter:"在以下日期之后或与之相同",isBefore:"在以下日期之前",eqBefore:"在以下日期之前或与之相同",top10:"前10项",aboveAverage:"高于平均值",belowAverage:"低于平均值",before:"之前",after:"之后",tomorrow:"明天",today:"今天",yesterday:"昨天",nextWeek:"下周",thisWeek:"本周",lastWeek:"上周",nextMonth:"下月",thisMonth:"本月",lastMonth:"上月",nextYear:"明年",thisYear:"今年",lastYear:"去年",yearToDate:"本年度截止到现在",custom:"自定義篩選",insensitive:"不區分大小寫",isSensitive:"區分大小寫"},empty:"(空白)",notData:"無匹配項"}},pro:{area:{mergeErr:"無法對合併單元格進行該操作",multiErr:"無法對多重選擇區域進行該操作",extendErr:"如果延伸的區域包含被合併的單元格,所有合併的單元格需大小相同",pasteMultiErr:"無法粘貼,需要相同大小的複制的區域和粘貼的區域才能執行此操作"},fnr:{title:"查找和替換",titleFd:"查找",titleRe:"替换",findLabel:"查找",replaceLabel:"替換",findTitle:"查找內容:",replaceTitle:"替換為:",tabs:{find:"查找",replace:"替換"},filter:{re:"正則表達式",whole:"全詞匹配",sensitive:"區分大小寫"},btns:{findNext:"查找下一個",findAll:"查找全部",replace:"替換",replaceAll:"替換全部",cancel:"取消"},header:{seq:"#",cell:"單元格",value:"值"},empty:"(空值)",reError:"無效的正則表達式",recordCount:"已找到 {0} 個單元格",notCell:"找不到匹配的單元格",replaceSuccess:"成功替換 {0} 個單元格"}},renderer:{search:"搜尋",cases:{equal:"等於",unequal:"不等於",gt:"大於",ge:"大於或等於",lt:"小於",le:"小於或等於",begin:"開頭是",notbegin:"開頭不是",endin:"結尾是",notendin:"結尾不是",include:"包含",exclude:"不包含",between:"介於",top10:"前10项",aboveAverage:"高于平均值",belowAverage:"低于平均值",custom:"自定義篩選",insensitive:"不區分大小寫",isSensitive:"區分大小寫"},combination:{menus:{sort:"排序",clearSort:"清除排序",sortAsc:"升序",sortDesc:"降序",fixedColumn:"凍結列",fixedGroup:"凍結分組",cancelFixed:"取消凍結",fixedLeft:"凍結到左側",fixedRight:"凍結到右側",clearFilter:"清除篩選",textOption:"文本篩選",numberOption:"數值篩選",dateOption:"日期筛选"},popup:{title:"自定義篩選的方式",currColumnTitle:"显示行:",and:"與",or:"或",describeHtml:"可用 ? 代表單個字符<br/>用 * 代表任意多個字符"},empty:"(空白)",notData:"無匹配項"}}}}});
|
|
1
|
+
((e,t)=>{"function"==typeof define&&define.amd?define("vxe-language.zh-CHT",["exports"],t):"undefined"!=typeof exports?t(exports):(t(t={}),e.VxeLanguageZhCht=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:"請輸入",pleaseSelect:"請選擇",comma:",",fullStop:"。"},loading:{text:"載入中..."},error:{downErr:"下載失敗",errLargeData:"當綁定的數據量過大時,應該請使用 {0},否則可能會出現卡頓",groupFixed:"如果使用分組表頭,凍結列必須按組設置",groupMouseRange:'分組表頭與 "{0}" 不能同時使用,這可能會出現錯誤',groupTag:'分組列頭應該使用 "{0}" 而不是 "{1}",這可能會出現錯誤',scrollErrProp:'啟用虛擬滾動後不支持該參數 "{0}"',errConflicts:'參數 "{0}" 與 "{1}" 有衝突',modelConflicts:'綁定的字段值 "{0}" 與 "{1}" 存在衝突,將會出現錯誤',notSupportProp:'當啟用參數 "{0}" 時不支持 "{1}",應該為 "{2}",否則將會出現錯誤',reqSupportProp:'当使用 "{0}" 时,应该设置 "{1}",否则可能会出现错误',notConflictProp:'當使用 "{0}" 時,應該設置 "{1}",否則可能會存在功能衝突',unableInsert:"無法插入到指定位置,請檢查參數是否正確",useErr:'安裝 "{0}" 模塊時發生錯誤,可能順序不正確,依賴的模塊需要在 Table 之前安裝',barUnableLink:"工具欄無法關聯表格",expandContent:'展開行的插槽應該是 "content",請檢查是否正確',reqComp:'缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useUI/useGlobal',reqModule:'缺少 "{0}" 模塊',reqProp:'缺少必要的 "{0}" 參數,這可能會導致出現錯誤',emptyProp:'參數 "{0}" 不允許為空',errProp:'不支持的參數 "{0}",可能為 "{1}"',colRepet:'column.{0}="{1}" 重複了,這可能會導致某些功能無法使用',notFunc:'方法 "{0}" 不存在',errFunc:'參數 "{0}" 不是一個方法',notValidators:'全局校驗 "{0}" 不存在',notFormats:'全局格式化 "{0}" 不存在',notCommands:'全局指令 "{0}" 不存在',notSlot:'插槽 "{0}" 不存在',noTree:'樹結構不支持 "{0}"',noGroup:'數據分組後不支持 "{0}"',notProp:'不支持的參數 "{0}"',returnErr:'参数 "{0}" 的返回值期望是 "{1}" 实际是 "{2}"',notSupportReturn:'当返回值为 "{0}" 时的参数应该使用用 "{1}" 而不是 "{2}"',checkProp:'當數據量過大時可能會導致複選框卡頓,建議設置參數 "{0}" 提升渲染速度',coverProp:'"{0}" 的參數 "{1}" 重複定義,這可能會出現錯誤',uniField:'字段名 "{0}" 重複定義,這可能會出現錯誤',repeatKey:'主鍵重複 {0}="{1}",這可能會出現錯誤',repeatProp:'参数重复 {0}="{1}",这可能会出现错误',delFunc:'方法 "{0}" 已廢棄,請使用 "{1}"',delProp:'參數 "{0}" 已廢棄,請使用 "{1}"',delEvent:'事件 "{0}" 已廢棄,請使用 "{1}"',removeProp:'參數 "{0}" 已廢棄,不建議使用,這可能會導致出現錯誤',errFormat:'全局的格式化內容應該使用 "VXETable.formats" 定義,掛載 "formatter={0}" 的方式已不建議使用',notType:'不支持的文件類型 "{0}"',notExp:"該瀏覽器不支持導入/導出功能",impFields:"導入失敗,請檢查字段名和數據格式是否正確",treeNotImp:"樹表格不支持導入",treeCrossDrag:"只能拖拽第一層級",treeDragChild:"父級不能拖拽到自己的子級中",reqPlugin:'扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',errMaxRow:"超過支持的最大數據量 {0} 行,這可能會導致出現錯誤",useNew:"不建議使用 {0},請使用 {1}",errorVersion:"版本不匹配,当前版本 {0},最低支持版本为 {1}"},table:{emptyText:"暫無數據",allTitle:"全選/取消",seqTitle:"序號",actionTitle:"操作",confirmFilter:"篩選",resetFilter:"重置",allFilter:"全部",sortAsc:"升序:最低到最高",sortDesc:"降序:最高到最低",filter:"對所選的列啟用篩選",impSuccess:"成功導入 {0} 條記錄",expLoading:"正在導出中",expSuccess:"導出成功",expError:"導出失敗",expFilename:"導出_{0}",expOriginFilename:"導出_源_{0}",customTitle:"列設置",customAll:"全部",customConfirm:"確認",customClose:"關閉",customCancel:"取消",customRestore:"恢復默認",maxFixedCol:"最大凍結列的數量不能超過 {0} 個",maxGroupCol:"最大分組字段的數量不能超過 {0} 個",dragTip:"移動:{0}",resizeColTip:"寬:{0} 像素",resizeRowTip:"高:{0} 像素",rowGroupContentTotal:"{0}({1})",menuLoading:"加载中..."},grid:{selectOneRecord:"請至少選擇一條記錄!",deleteSelectRecord:"您確定要刪除所選記錄嗎?",removeSelectRecord:"您確定要移除所選記錄嗎?",dataUnchanged:"數據未改動!",delSuccess:"成功刪除所選記錄!",saveSuccess:"保存成功!",operError:"發生錯誤,操作失敗!"},select:{clear:"清除",allChecked:"全選",total:"已选 {0} 项",close:"关闭",search:"搜尋",loadingText:"載入中",emptyText:"暫無數據",maxSize:"最大可選擇的數量不能超過 {0} 個",overSizeErr:"已超出最大可選數量 {0} 個,超出部分將被忽略!",searchEmpty:"未匹配到數據!"},list:{allChecked:"全选",dragTip:"移动:{0}"},tree:{searchEmpty:"未匹配到數據!",dragTip:"移動:{0}"},treeSelect:{clearChecked:"清除",allChecked:"全選",allExpand:"全部展開",clearExpand:"全部收起",total:"已选 {0} 项",close:"关闭",search:"搜尋",emptyText:"暫無數據"},pager:{goto:"前往",gotoTitle:"頁數",pagesize:"{0}條/頁",total:"共 {0} 條記錄",pageClassifier:"頁",homePage:"首頁",homePageTitle:"首頁",prevPage:"上一頁",prevPageTitle:"上一頁",nextPage:"下一頁",nextPageTitle:"下一頁",prevJump:"向上跳頁",prevJumpTitle:"向上跳頁",nextJump:"向下跳頁",nextJumpTitle:"向下跳頁",endPage:"末頁",endPageTitle:"末頁"},alert:{title:"系統提示"},button:{confirm:"確認",cancel:"取消",clear:"清除"},filter:{search:"搜尋"},custom:{cstmTitle:"列設置",cstmRestore:"恢復默認",cstmCancel:"取消",cstmConfirm:"確定",cstmConfirmRestore:"請確認是否恢復成默認列配置?",cstmDragTarget:"移動:{0}",setting:{colSort:"排序",sortHelpTip:"点击图标开始拖动",colTitle:"列標題",colResizable:"列寬(像素)",colVisible:"是否顯示",colFixed:"凍結列",colFixedMax:"凍結列({0})",colAlign:"对齐方式",colHeadAlign:"表头对齐方式",colFootAlign:"表尾对齐方式",fixedLeft:"左",fixedUnset:"无",fixedRight:"右",alignLeft:"左",alignCenter:"中",alignRight:"右",moveUp:"上移",moveDn:"下移",putTop:"置顶",putBottom:"置尾",moveUpTitle:"点击向上移动",moveDnTitle:"点击向下移动",putTopTitle:"点击置顶",putBottomTitle:"点击置尾",anLeftTitle:"左对齐",anCenterTitle:"居中",anRightTitle:"右对齐"}},import:{modes:{covering:"覆蓋方式(直接覆蓋表格數據)",insert:"底部追加(在表格的底部追加新數據)",insertTop:"頂部追加(在表格的頂部追加新數據)",insertBottom:"底部追加(在表格的底部追加新數據)"},impTitle:"導入數據",impFile:"文件名",impSelect:"選擇文件",impType:"文件類型",impOpts:"參數設置",impMode:"導入模式",impConfirm:"導入",impCancel:"取消"},export:{types:{csv:"CSV (逗號分隔)(*.csv)",html:"網頁(*.html)",xml:"XML 數據(*.xml)",txt:"文本文件(製表符分隔)(*.txt)",xls:"Excel 97-2003 工作簿(*.xls)",xlsx:"Excel 工作簿(*.xlsx)",pdf:"PDF (*.pdf)"},modes:{empty:"空數據",current:"當前數據(當前頁的數據)",selected:"選中數據(當前頁選中的數據)",all:"全量數據(包括所有分頁的數據)"},printTitle:"打印數據",expTitle:"導出數據",expName:"文件名",expNamePlaceholder:"請輸入文件名",expSheetName:"標題",expSheetNamePlaceholder:"請輸入標題",expType:"保存類型",expMode:"選擇數據",expCurrentColumn:"全部字段",expColumn:"選擇字段",widthMode:"列宽设置",wModeTitle:"设置打印时列宽的渲染方式",wdModes:{default:"默认",auto:"自适应(根据内容自适应列宽)",scale:"等比例(根据页面比例渲染列宽)"},expOpts:"參數設置",expOptHeader:"表頭",expHeaderTitle:"是否需要表頭",expOptFooter:"表尾",expFooterTitle:"是否需要表尾",expOptColgroup:"分組表頭",expOptTitle:"列標題",expTitleTitle:"是否為列標題,否則顯示為列的字段名",expColgroupTitle:"如果存在,則支持帶有分組結構的表頭",expOptMerge:"合併",expMergeTitle:"如果存在,則支持帶有合併結構的單元格",expOptAllExpand:"展開樹",expAllExpandTitle:"如果存在,則支持將帶有層級結構的數據全部展開",expOptTreeAllExpand:"展开树",expTreeAllExpandTitle:"如果存在,则自动展开所有树层级",expOptRowGroupAllExpand:"展开分组",expRowGroupAllExpandTitle:"如果存在,则自动展开所有分组层级",expOptUseStyle:"樣式",expUseStyleTitle:"如果存在,則支持帶樣式的單元格",expOptOriginal:"源數據",expOriginalTitle:"如果為源數據,則支持導入到表格中",expPrint:"列印",expConfirm:"導出",expCancel:"取消"},modal:{errTitle:"錯誤提示",zoomMin:"最小化",zoomIn:"最大化",zoomOut:"還原",close:"關閉",miniMaxSize:"最小化窗口的數量不能超過 {0} 個",footPropErr:"show-footer 僅用於啟用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用"},drawer:{close:"關閉"},form:{folding:"收起",unfolding:"展開"},toolbar:{import:"導入",export:"導出",print:"列印",refresh:"重新整理",zoomIn:"全螢幕",zoomOut:"還原",custom:"列設置",customAll:"全部",customConfirm:"確認",customRestore:"重置",fixedLeft:"凍結在左側",fixedRight:"凍結在右側",cancelFixed:"取消凍結列"},iconPicker:{search:"搜索",emptyText:"暂无数据"},datePicker:{yearTitle:"{0} 年"},dateRangePicker:{pleaseRange:"請選擇開始日期與結束日期"},input:{date:{m1:"01 月",m2:"02 月",m3:"03 月",m4:"04 月",m5:"05 月",m6:"06 月",m7:"07 月",m8:"08 月",m9:"09 月",m10:"10 月",m11:"11 月",m12:"12 月",quarterLabel:"{0} 年",monthLabel:"{0} 年",dayLabel:"{0} 年 {1}",labelFormat:{date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss",week:"yyyy 年第 WW 週",month:"yyyy-MM",quarter:"yyyy 年第 q 季度",year:"yyyy"},weeks:{w:"",w0:"週日",w1:"週一",w2:"週二",w3:"週三",w4:"週四",w5:"週五",w6:"週六"},months:{m0:"一月",m1:"二月",m2:"三月",m3:"四月",m4:"五月",m5:"六月",m6:"七月",m7:"八月",m8:"九月",m9:"十月",m10:"十一月",m11:"十二月"},quarters:{q1:"第一季度",q2:"第二季度",q3:"第三季度",q4:"第四季度"}}},calendar:{yearLabel:"{0} 年",monthLabel:"{0} 月"},cascader:{clearChecked:"清除",allChecked:"全选",total:"已选 {0} 项",close:"关闭",search:"搜索"},numberInput:{currencySymbol:"¥"},imagePreview:{popupTitle:"預覽",operBtn:{zoomOut:"縮小",zoomIn:"放大",pctFull:"等比例縮放",pct11:"顯示原始尺寸",rotateLeft:"向左旋轉",rotateRight:"向右旋轉",print:"點擊打印圖片",download:"點擊下載圖片"}},upload:{fileBtnText:"點擊或拖拽上傳",imgBtnText:"點擊或拖拽上傳",dragPlaceholder:"請把文件拖放到這個區域即可上傳",imgSizeHint:"單張{0}",imgCountHint:"最多{0}張",fileTypeHint:"支持 {0} 文件類型",fileSizeHint:"單個文件大小不超過{0}",fileCountHint:"最多可上傳{0}個文件",uploadTypeErr:"文件類型不匹配!",overCountErr:"最多只能選擇{0}個文件!",overCountExtraErr:"已超出最大數量{0}個,超出的{1}個文件將被忽略!",overSizeErr:"文件大小最大不能超過{0}!",manualUpload:"點擊上傳",reUpload:"重新上傳",uploadProgress:"上傳中 {0}%",uploadErr:"上傳失敗",uploadSuccess:"上傳成功",moreBtnText:"更多({0})",moreImgBtnText:"图片({0})",moreFileBtnText:"文件({0})",viewItemTitle:"點擊查看",morePopup:{readTitle:"查看列表",imageTitle:"上傳圖片",fileTitle:"上傳文件"}},empty:{defText:"暫無數據"},colorPicker:{clear:"清除",confirm:"確認",copySuccess:"已復製到剪貼板:{0}",hex:"十六進位"},formDesign:{formName:"表單名稱",defFormTitle:"未命名的表單",widgetPropTab:"控件屬性",widgetFormTab:"表單屬性",error:{wdFormUni:"該類型的控件在表單中只允許添加一個",wdSubUni:"該類型的控件在子表中只允許添加一個"},styleSetting:{btn:"樣式設置",title:"表單的樣式設置",layoutTitle:"控件佈局",verticalLayout:"上下佈局",horizontalLayout:"橫向佈局",styleTitle:"標題樣式",boldTitle:"標題加粗",fontBold:"加粗",fontNormal:"常規",colonTitle:"顯示冒號",colonVisible:"顯示",colonHidden:"隱藏",alignTitle:"對齊方式",widthTitle:"標題寬度",alignLeft:"居左",alignRight:"居右",unitPx:"像素",unitPct:"百分比"},widget:{group:{base:"基礎控件",layout:"佈局控件",system:"系統控件",module:"模塊控件",chart:"圖表控件",advanced:"高級控件"},copyTitle:"副本_{0}",component:{input:"輸入框",textarea:"文本域",select:"下拉選擇",row:"一行多列",title:"標題",text:"文字",subtable:"子表",VxeSwitch:"是/否",VxeInput:"輸入框",VxeNumberInput:"數字",VxeDatePicker:"日期",VxeTextarea:"文本域",VxeSelect:"下拉選擇",VxeTreeSelect:"樹形選擇",VxeRadioGroup:"單選框",VxeCheckboxGroup:"複選框",VxeUploadFile:"文件",VxeUploadImage:"圖片",VxeRate:"評分",VxeSlider:"滑桿"}},widgetProp:{name:"控件名稱",placeholder:"提示語",required:"必填校驗",multiple:"允許多選",displaySetting:{name:"顯示設置",pc:"電腦端",mobile:"手機端",visible:"顯示",hidden:"隱藏"},dataSource:{name:"數據源",defValue:"選項{0}",addOption:"添加選項",batchEditOption:"批量編輯",batchEditTip:"每行對應一個選項,支持從表格、Excel、WPS 中直接複製粘貼。",batchEditSubTip:"每行對應一個選項,如果是分組,子項可以是空格或製表鍵開頭,支持從表格、Excel、WPS 中直接複製粘貼。",buildOption:"生成選項"},rowProp:{colSize:"列數",col2:"兩列",col3:"三列",col4:"四列",col6:"六列",layout:"佈局"},textProp:{name:"內容",alignTitle:"對齊方式",alignLeft:"居左",alignCenter:"居中",alignRight:"居右",colorTitle:"字體顏色",sizeTitle:"字體大小",boldTitle:"字體加粗",fontNormal:"常規",fontBold:"加粗"},subtableProp:{seqTitle:"序號",showSeq:"顯示序號",showCheckbox:"允許多選",errSubDrag:"子表不支持該控件,請使用其他控件",colPlace:"將控件拖拽進來"},uploadProp:{limitFileCount:"文件數量限制",limitFileSize:"文件大小限制",multiFile:"允許上傳多個文件",limitImgCount:"圖片數量限制",limitImgSize:"圖片大小限制",multiImg:"允許上傳多張圖片"}}},listDesign:{fieldSettingTab:"字段設置",listSettingTab:"參數設置",searchTitle:"查詢條件",listTitle:"列表字段",searchField:"查詢字段",listField:"列表字段",activeBtn:{ActionButtonUpdate:"編輯",ActionButtonDelete:"刪除"},search:{addBtn:"編輯",emptyText:"未配置查詢條件",editPopupTitle:"編輯查詢字段"},searchPopup:{colTitle:"標題",saveBtn:"保存"}},text:{copySuccess:"已復製到剪貼板",copyError:"當前環境不支持該操作"},countdown:{formats:{yyyy:"年",MM:"月",dd:"天",HH:"時",mm:"分",ss:"秒"}},contextMenu:{loadingText:"加载中..."},switch:{onText:"打开",offText:"关闭"},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:"日",w1:"一",w2:"二",w3:"三",w4:"四",w5:"五",w6:"六"},days:{w0:"日",w1:"一",w2:"二",w3:"三",w4:"四",w5:"五",w6:"六"}},plugins:{extendCellArea:{area:{mergeErr:"無法對合併單元格進行該操作",multiErr:"無法對多重選擇區域進行該操作",selectErr:"無法操作指定區域的單元格",extendErr:"若要执行此操作,所有合併的單元格需大小相同",pasteMultiErr:"無法粘貼,需要相同大小的複制的區域和粘貼的區域才能執行此操作",cpInvalidErr:"該操作無法進行,您選擇的區域中存在被禁止的列({0})"},fnr:{title:"查找和替換",titleFd:"查找",titleRe:"替换",findLabel:"查找",replaceLabel:"替換",findTitle:"查找內容:",replaceTitle:"替換為:",tabs:{find:"查找",replace:"替換"},filter:{re:"正則表達式",whole:"全詞匹配",sensitive:"區分大小寫"},btns:{findNext:"查找下一個",findAll:"查找全部",replace:"替換",replaceAll:"替換全部",cancel:"取消"},header:{seq:"#",cell:"單元格",value:"值"},body:{row:"行:{0}",col:"列:{0}"},empty:"(空值)",reError:"無效的正則表達式",recordCount:"已找到 {0} 個單元格",notCell:"找不到匹配的單元格",replaceSuccess:"成功替換 {0} 個單元格"}},extendPivotTable:{aggregation:{grouping:"分組",values:"值",groupPlaceholder:"拖至此處進行分組",valuesPlaceholder:"拖至此處進行聚合",dragExistCol:"該列已存在",sortHelpTip:"点击图标开始拖动"},aggFuncs:{sum:"求和",count:"計數",avg:"平均值",min:"最小值",max:"最大值",first:"首個值",last:"末尾值"}},filterComplexInput:{menus:{fixedColumn:"凍結列",fixedGroup:"凍結分組",cancelFixed:"取消凍結",fixedLeft:"凍結左側",fixedRight:"凍結右側"},cases:{equal:"等於",gt:"大於",lt:"小於",begin:"開頭是",endin:"結尾是",include:"包含",isSensitive:"區分大小寫"}},filterCombination:{menus:{sort:"排序",clearSort:"清除排序",sortAsc:"升序",sortDesc:"降序",fixedColumn:"凍結列",fixedGroup:"凍結分組",cancelFixed:"取消凍結",fixedLeft:"凍結左側",fixedRight:"凍結右側",clearFilter:"清除篩選",textOption:"文本篩選",numberOption:"數值篩選",dateOption:"日期筛选"},popup:{title:"自定義篩選的方式",currColumnTitle:"显示行:",and:"與",or:"或",describeHtml:"可用 ? 代表單個字符<br/>用 * 代表任意多個字符"},cases:{equal:"等於",unequal:"不等於",gt:"大於",ge:"大於或等於",lt:"小於",le:"小於或等於",begin:"開頭是",notbegin:"開頭不是",endin:"結尾是",notendin:"結尾不是",include:"包含",exclude:"不包含",between:"介於",isAfter:"在以下日期之后",eqAfter:"在以下日期之后或与之相同",isBefore:"在以下日期之前",eqBefore:"在以下日期之前或与之相同",top10:"前10项",aboveAverage:"高于平均值",belowAverage:"低于平均值",before:"之前",after:"之后",tomorrow:"明天",today:"今天",yesterday:"昨天",nextWeek:"下周",thisWeek:"本周",lastWeek:"上周",nextMonth:"下月",thisMonth:"本月",lastMonth:"上月",nextYear:"明年",thisYear:"今年",lastYear:"去年",yearToDate:"本年度截止到现在",custom:"自定義篩選",insensitive:"不區分大小寫",isSensitive:"區分大小寫"},empty:"(空白)",notData:"無匹配項"}},pro:{area:{mergeErr:"無法對合併單元格進行該操作",multiErr:"無法對多重選擇區域進行該操作",extendErr:"若要执行此操作,所有合併的單元格需大小相同",pasteMultiErr:"無法粘貼,需要相同大小的複制的區域和粘貼的區域才能執行此操作"},fnr:{title:"查找和替換",titleFd:"查找",titleRe:"替换",findLabel:"查找",replaceLabel:"替換",findTitle:"查找內容:",replaceTitle:"替換為:",tabs:{find:"查找",replace:"替換"},filter:{re:"正則表達式",whole:"全詞匹配",sensitive:"區分大小寫"},btns:{findNext:"查找下一個",findAll:"查找全部",replace:"替換",replaceAll:"替換全部",cancel:"取消"},header:{seq:"#",cell:"單元格",value:"值"},empty:"(空值)",reError:"無效的正則表達式",recordCount:"已找到 {0} 個單元格",notCell:"找不到匹配的單元格",replaceSuccess:"成功替換 {0} 個單元格"}},renderer:{search:"搜尋",cases:{equal:"等於",unequal:"不等於",gt:"大於",ge:"大於或等於",lt:"小於",le:"小於或等於",begin:"開頭是",notbegin:"開頭不是",endin:"結尾是",notendin:"結尾不是",include:"包含",exclude:"不包含",between:"介於",top10:"前10项",aboveAverage:"高于平均值",belowAverage:"低于平均值",custom:"自定義篩選",insensitive:"不區分大小寫",isSensitive:"區分大小寫"},combination:{menus:{sort:"排序",clearSort:"清除排序",sortAsc:"升序",sortDesc:"降序",fixedColumn:"凍結列",fixedGroup:"凍結分組",cancelFixed:"取消凍結",fixedLeft:"凍結到左側",fixedRight:"凍結到右側",clearFilter:"清除篩選",textOption:"文本篩選",numberOption:"數值篩選",dateOption:"日期筛选"},popup:{title:"自定義篩選的方式",currColumnTitle:"显示行:",and:"與",or:"或",describeHtml:"可用 ? 代表單個字符<br/>用 * 代表任意多個字符"},empty:"(空白)",notData:"無匹配項"}}}}});
|