vxe-pc-ui 4.6.47 → 4.6.49
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/README.en.md +0 -6
- package/README.ja-JP.md +0 -6
- package/README.md +0 -6
- package/README.zh-TW.md +0 -6
- package/es/dynamics/index.js +4 -4
- package/es/form-design/widget-subtable/subtable-view.js +1 -1
- package/es/icon/style.css +1 -1
- package/es/index.esm.js +0 -6
- package/es/list-design/src/layout-preview.js +1 -1
- package/es/list-design/src/list-view.js +1 -1
- package/es/print/src/util.js +2 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/dynamics/index.js +4 -4
- package/lib/dynamics/index.min.js +1 -1
- package/lib/form-design/widget-subtable/subtable-view.js +1 -1
- package/lib/form-design/widget-subtable/subtable-view.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.common.js +0 -6
- package/lib/index.umd.js +60 -28
- package/lib/index.umd.min.js +1 -1
- package/lib/list-design/src/layout-preview.js +1 -1
- package/lib/list-design/src/layout-preview.min.js +1 -1
- package/lib/list-design/src/list-view.js +1 -1
- package/lib/list-design/src/list-view.min.js +1 -1
- package/lib/print/src/util.js +1 -1
- package/lib/print/src/util.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +1 -1
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/dynamics/index.ts +5 -5
- package/packages/form-design/widget-subtable/subtable-view.ts +2 -2
- package/packages/index.ts +0 -21
- package/packages/list-design/src/layout-preview.ts +2 -2
- package/packages/list-design/src/list-view.ts +2 -2
- package/packages/print/src/util.ts +2 -2
- package/packages/table-select/src/table-select.ts +2 -2
- package/types/components/anchor.d.ts +18 -3
- package/types/components/calendar.d.ts +3 -0
- package/types/components/carousel.d.ts +3 -0
- package/types/components/checkbox-button.d.ts +3 -0
- package/types/components/checkbox-group.d.ts +3 -0
- package/types/components/checkbox.d.ts +3 -0
- package/types/components/color-picker.d.ts +9 -3
- package/types/components/countdown.d.ts +9 -3
- package/types/components/date-panel.d.ts +3 -0
- package/types/components/date-picker.d.ts +3 -0
- package/types/components/date-range-picker.d.ts +9 -0
- package/types/components/drawer.d.ts +3 -0
- package/types/components/icon-picker.d.ts +9 -3
- package/types/components/input.d.ts +3 -0
- package/types/components/menu.d.ts +3 -0
- package/types/components/modal.d.ts +3 -0
- package/types/components/number-input.d.ts +3 -0
- package/types/components/pager.d.ts +6 -0
- package/types/components/password-input.d.ts +9 -3
- package/types/components/radio-button.d.ts +3 -0
- package/types/components/radio-group.d.ts +3 -0
- package/types/components/radio.d.ts +3 -0
- package/types/components/select.d.ts +3 -0
- package/types/components/switch.d.ts +3 -0
- package/types/components/table-plugins/extend-cell-area.d.ts +6 -3
- package/types/components/tabs.d.ts +3 -0
- package/types/components/textarea.d.ts +3 -0
- package/types/components/tooltip.d.ts +9 -3
- package/types/components/upload.d.ts +3 -0
- /package/es/icon/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
- /package/es/icon/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
- /package/es/icon/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
- /package/es/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
- /package/es/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
- /package/es/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
- /package/lib/icon/style/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
- /package/lib/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
- /package/lib/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
- /package/lib/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
|
@@ -60,7 +60,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
|
60
60
|
emit,
|
|
61
61
|
slots
|
|
62
62
|
} = context;
|
|
63
|
-
const VxeTableGridComponent = _ui.VxeUI.getComponent('
|
|
63
|
+
const VxeTableGridComponent = _ui.VxeUI.getComponent('vxe-grid');
|
|
64
64
|
const $xeModal = (0, _vue.inject)('$xeModal', null);
|
|
65
65
|
const $xeDrawer = (0, _vue.inject)('$xeDrawer', null);
|
|
66
66
|
const $xeTable = (0, _vue.inject)('$xeTable', null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.getRowUniqueId=getRowUniqueId;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_dom=require("../../ui/src/dom"),_vn=require("../../ui/src/vn"),_utils=require("../../ui/src/utils"),_log=require("../../ui/src/log"),_input=_interopRequireDefault(require("../../input/src/input"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getRowUniqueId(){return _xeUtils.default.uniqueId("row_")}var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTableSelect",props:{modelValue:[String,Number,Array],clearable:Boolean,placeholder:{type:String,default:()=>_xeUtils.default.eqNull((0,_ui.getConfig)().tableSelect.placeholder)?(0,_ui.getI18n)("vxe.base.pleaseSelect"):(0,_ui.getConfig)().tableSelect.placeholder},readonly:{type:Boolean,default:null},loading:Boolean,disabled:{type:Boolean,default:null},multiple:Boolean,className:[String,Function],prefixIcon:String,placement:String,columns:Array,options:Array,optionProps:Object,size:{type:String,default:()=>(0,_ui.getConfig)().select.size||(0,_ui.getConfig)().size},popupConfig:Object,gridConfig:Object,transfer:{type:Boolean,default:null}},emits:["update:modelValue","change","clear","blur","focus","click","form-submit","form-reset","form-collapse","page-change"],setup(h,e){const{emit:i,slots:C}=e,E=_ui.VxeUI.getComponent("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.getRowUniqueId=getRowUniqueId;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_xeUtils=_interopRequireDefault(require("xe-utils")),_ui=require("../../ui"),_dom=require("../../ui/src/dom"),_vn=require("../../ui/src/vn"),_utils=require("../../ui/src/utils"),_log=require("../../ui/src/log"),_input=_interopRequireDefault(require("../../input/src/input"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getRowUniqueId(){return _xeUtils.default.uniqueId("row_")}var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeTableSelect",props:{modelValue:[String,Number,Array],clearable:Boolean,placeholder:{type:String,default:()=>_xeUtils.default.eqNull((0,_ui.getConfig)().tableSelect.placeholder)?(0,_ui.getI18n)("vxe.base.pleaseSelect"):(0,_ui.getConfig)().tableSelect.placeholder},readonly:{type:Boolean,default:null},loading:Boolean,disabled:{type:Boolean,default:null},multiple:Boolean,className:[String,Function],prefixIcon:String,placement:String,columns:Array,options:Array,optionProps:Object,size:{type:String,default:()=>(0,_ui.getConfig)().select.size||(0,_ui.getConfig)().size},popupConfig:Object,gridConfig:Object,transfer:{type:Boolean,default:null}},emits:["update:modelValue","change","clear","blur","focus","click","form-submit","form-reset","form-collapse","page-change"],setup(h,e){const{emit:i,slots:C}=e,E=_ui.VxeUI.getComponent("vxe-grid"),t=(0,_vue.inject)("$xeModal",null),a=(0,_vue.inject)("$xeDrawer",null),u=(0,_vue.inject)("$xeTable",null),o=(0,_vue.inject)("$xeForm",null),n=(0,_vue.inject)("xeFormItemInfo",null);var l=_xeUtils.default.uniqueId();const z=(0,_ui.useSize)(h)["computeSize"],T=(0,_vue.ref)(),L=(0,_vue.ref)(),k=(0,_vue.ref)(),y=(0,_vue.ref)(),w=(0,_vue.ref)(),I=(0,_vue.reactive)({initialized:!1,tableColumns:[],fullOptionList:[],fullRowMaps:{},panelIndex:0,panelStyle:{},panelPlacement:null,triggerFocusPanel:!1,visiblePanel:!1,isAniVisible:!1,isActivated:!1}),r={},N={refElem:T},$=(0,_vue.computed)(()=>{var e=h["readonly"];return null===e?!!o&&o.props.readonly:e}),S=(0,_vue.computed)(()=>{var e=h["disabled"];return null===e?!!o&&o.props.disabled:e}),P=(0,_vue.computed)(()=>{var e=h["transfer"];if(null===e){var l=(0,_ui.getConfig)().select.transfer;if(_xeUtils.default.isBoolean(l))return l;if(u||t||a||o)return!0}return e}),s=(0,_vue.computed)(()=>h.optionProps||{}),q=(0,_vue.computed)(()=>{var e=U.value;return Object.assign({},e.rowConfig,{isCurrent:!0})}),v=(0,_vue.computed)(()=>{return q.value.keyField||"_X_ROW_KEY"}),F=(0,_vue.computed)(()=>{return s.value.label||"label"}),c=(0,_vue.computed)(()=>{return s.value.value||"value"}),R=(0,_vue.computed)(()=>Object.assign({},(0,_ui.getConfig)().tableSelect.popupConfig,h.popupConfig)),U=(0,_vue.computed)(()=>Object.assign({},(0,_ui.getConfig)().tableSelect.gridConfig,h.gridConfig,{data:void 0,columns:void 0})),B=(0,_vue.computed)(()=>{var e=h["modelValue"];const t=I["fullRowMaps"],a=F.value;return(_xeUtils.default.isArray(e)?e:[e]).map(e=>{var l=t[e];return l?l.item[a]:e}).join(", ")}),M=(0,_vue.computed)(()=>{var{height:e,width:l}=R.value,t={};return l&&(t.width=(0,_dom.toCssUnit)(l)),e&&(t.height=(0,_dom.toCssUnit)(e)),t}),D={},A={xID:l,props:h,context:e,reactData:I,getRefMaps:()=>N,getComputeMaps:()=>D};const O={},d=(["form-submit","form-reset","form-collapse","page-change"].forEach(l=>{O[(0,_vn.getOnName)(_xeUtils.default.camelCase(l))]=e=>{d(l,e,e.$event)}}),(e,l,t)=>{i(e,(0,_ui.createEvent)(t,{$tableSelect:A},l))});l={dispatchEvent:d};const K=e=>{const l=I["fullRowMaps"],t=[];return(_xeUtils.default.eqNull(e)?[]:_xeUtils.default.isArray(e)?e:[e]).forEach(e=>{e=l[e];e&&t.push(e.item)}),t},p=t=>{const a=h["multiple"];(0,_vue.nextTick)(()=>{var e,l=w.value;l&&(e=K(t)).length&&(a?l.setCheckboxRow(e,!0):l.setRadioRow(e[0]))})},_=e=>{var l=h["multiple"],t=[];t.push(l?{type:"checkbox",width:70}:{type:"radio",width:70}),I.tableColumns=t.concat(e||[])},m=()=>{var e=h["options"];const u=v.value,o=c.value;var l=U.value["treeConfig"];const n={},r={};l||_xeUtils.default.arrayEach(e||[],(e,l,t)=>{let a=(e=>{e=e[v.value];return e?encodeURIComponent(e):""})(e);a=a||getRowUniqueId(),r[a]&&(0,_log.errLog)("vxe.error.repeatKey",[u,a]),r[a]=!0;var i=e[o];n[i]&&(0,_log.errLog)("vxe.error.repeatKey",[o,i]),n[i]={item:e,index:l,items:t,parent:null,nodes:[]}}),I.fullOptionList=e||[],I.fullRowMaps=n,p(h.modelValue)},g=()=>{const t=h["placement"],a=I["panelIndex"],i=T.value,u=y.value,o=P.value;var e=()=>{var e=(0,_dom.updatePanelPlacement)(i,u,{placement:t,teleportTo:o}),l=Object.assign(e.style,{zIndex:a});I.panelStyle=l,I.panelPlacement=e.placement};return e(),(0,_vue.nextTick)().then(e)},f=()=>{var e=h["loading"],l=S.value;e||l||(r.vpTimeout&&clearTimeout(r.vpTimeout),r.hpTimeout&&clearTimeout(r.hpTimeout),I.initialized||(I.initialized=!0),I.isActivated=!0,I.isAniVisible=!0,r.vpTimeout=setTimeout(()=>{I.visiblePanel=!0,p(h.modelValue),r.vpTimeout=void 0},10),I.panelIndex<(0,_utils.getLastZIndex)()&&(I.panelIndex=(0,_utils.nextZIndex)()),g())},b=()=>{I.visiblePanel=!1,r.vpTimeout&&clearTimeout(r.vpTimeout),r.hpTimeout&&clearTimeout(r.hpTimeout),r.hpTimeout=setTimeout(()=>{I.isAniVisible=!1,r.hpTimeout=void 0},350)},x=(e,l)=>{var t,a=I["fullRowMaps"];t=l,i("update:modelValue",t),l!==h.modelValue&&(t=a[l],d("change",{value:l,row:t?t.item:null},e),o)&&n&&o.triggerItemEvent(e,n.itemConfig.field,l)},Z=(e,l)=>{x(e,l),d("clear",{value:l},e)},W=(e,l)=>{Z(l,null),b()},X=e=>{var l=I["visiblePanel"];S.value||l&&(l=y.value,((0,_dom.getEventTargetNode)(e,l).flag?g:b)())},Y=e=>{var l,t,a=I["visiblePanel"];S.value||(l=T.value,t=y.value,I.isActivated=(0,_dom.getEventTargetNode)(e,l).flag||(0,_dom.getEventTargetNode)(e,t).flag,a&&!I.isActivated&&b())},G=()=>{b()},H=()=>{var e=I["visiblePanel"];e&&g()},J=e=>{S.value||I.visiblePanel||(I.triggerFocusPanel=!0,f(),setTimeout(()=>{I.triggerFocusPanel=!1},150)),d("focus",{},e)},Q=e=>{j(e),d("click",{},e)},ee=e=>{I.isActivated=!1,d("blur",{},e)},j=e=>{e=e.$event;e.preventDefault(),I.triggerFocusPanel?I.triggerFocusPanel=!1:(I.visiblePanel?b:f)()},le=e=>{var{$event:e,row:l}=e,l=l[c.value];x(e,l),b()},V=e=>{var{$grid:e,$event:l}=e;const t=c.value;e&&(e=e.getCheckboxRecords().map(e=>e[t]),x(l,e))},te=e=>{V(e)};Object.assign(A,l,{});return(0,_vue.watch)(()=>h.options,()=>{m()}),(0,_vue.watch)(()=>h.columns,e=>{_(e||[])}),(0,_vue.watch)(()=>h.modelValue,e=>{p(e)}),_(h.columns||[]),m(),(0,_vue.onMounted)(()=>{_ui.globalEvents.on(A,"mousewheel",X),_ui.globalEvents.on(A,"mousedown",Y),_ui.globalEvents.on(A,"blur",G),_ui.globalEvents.on(A,"resize",H)}),(0,_vue.onUnmounted)(()=>{_ui.globalEvents.off(A,"mousewheel"),_ui.globalEvents.off(A,"mousedown"),_ui.globalEvents.off(A,"blur"),_ui.globalEvents.off(A,"resize")}),(0,_vue.nextTick)(()=>{E||(0,_log.errLog)("vxe.error.reqComp",["vxe-grid"])}),(0,_vue.provide)("$xeTableSelect",A),A.renderVN=()=>{var{className:e,options:l,loading:t}=h,{initialized:a,isActivated:i,isAniVisible:u,visiblePanel:o,tableColumns:n}=I,r=z.value,s=S.value,v=B.value,c=P.value,d=$.value,p=R.value["className"],_=U.value,m=q.value,g=M.value,f=C.header,b=C.footer;const x=C.prefix;return d?(0,_vue.h)("div",{ref:T,class:["vxe-table-select--readonly",e]},[(0,_vue.h)("span",{class:"vxe-table-select-label"},v)]):(0,_vue.h)("div",{ref:T,class:["vxe-table-select",e?_xeUtils.default.isFunction(e)?e({$tableSelect:A}):e:"",{["size--"+r]:r,"is--visible":o,"is--disabled":s,"is--loading":t,"is--active":i}]},[(0,_vue.h)(_input.default,{ref:L,clearable:h.clearable,placeholder:t?(0,_ui.getI18n)("vxe.select.loadingText"):h.placeholder,readonly:!0,disabled:s,type:"text",prefixIcon:h.prefixIcon,suffixIcon:t?(0,_ui.getIcon)().TABLE_SELECT_LOADED:o?(0,_ui.getIcon)().TABLE_SELECT_OPEN:(0,_ui.getIcon)().TABLE_SELECT_CLOSE,modelValue:t?"":v,onClear:W,onClick:Q,onFocus:J,onBlur:ee,onSuffixClick:j},x?{prefix:()=>x({})}:{}),(0,_vue.h)(_vue.Teleport,{to:"body",disabled:!c||!a},[(0,_vue.h)("div",{ref:y,class:["vxe-table--ignore-clear vxe-table-select--panel",p?_xeUtils.default.isFunction(p)?p({$tableSelect:A}):p:"",{["size--"+r]:r,"is--transfer":c,"ani--leave":!t&&u,"ani--enter":!t&&o}],placement:I.panelPlacement,style:I.panelStyle},a?[(0,_vue.h)("div",{class:"vxe-table-select--panel-wrapper"},[f?(0,_vue.h)("div",{class:"vxe-table-select--panel-header"},f({})):(0,_ui.renderEmptyElement)(A),(0,_vue.h)("div",{class:"vxe-table-select--panel-body"},[(0,_vue.h)("div",{ref:k,class:"vxe-table-select-grid--wrapper",style:g},[E?(0,_vue.h)(E,Object.assign(Object.assign(Object.assign({},_),O),{class:"vxe-table-select--grid",ref:w,rowConfig:m,data:l,columns:n,height:"100%",autoResize:!0,onRadioChange:le,onCheckboxChange:V,onCheckboxAll:te}),Object.assign({},C,{header:void 0,footer:void 0,prefixSlot:void 0})):(0,_ui.renderEmptyElement)(A)])]),b?(0,_vue.h)("div",{class:"vxe-table-select--panel-footer"},b({})):(0,_ui.renderEmptyElement)(A)])]:[])])])},A},render(){return this.renderVN()}});
|
package/lib/ui/index.js
CHANGED
|
@@ -26,7 +26,7 @@ Object.keys(_core).forEach(function (key) {
|
|
|
26
26
|
});
|
|
27
27
|
var _dynamics = require("../dynamics");
|
|
28
28
|
var _log = require("./src/log");
|
|
29
|
-
const version = exports.version = "4.6.
|
|
29
|
+
const version = exports.version = "4.6.49";
|
|
30
30
|
_core.VxeUI.uiVersion = version;
|
|
31
31
|
_core.VxeUI.dynamicApp = _dynamics.dynamicApp;
|
|
32
32
|
function config(options) {
|
package/lib/ui/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_log=require("./src/log");const version=exports.version="4.6.47";function config(e){return(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return(0,_log.warnLog)("vxe.error.delFunc",["setup","setConfig"]),(0,_core.setConfig)(e)}_core.VxeUI.uiVersion=version,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},avatar:{},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0}},buttonGroup:{},calendar:{minDate:new Date(1900,0,1),maxDate:new Date(2100,0,1),startDay:1,selectDay:1},card:{border:!0,padding:!0},carousel:{height:200,loop:!0,interval:5e3},carouselItem:{},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showMessage:!0,autoPos:!0,theme:"beautify"},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},formGroup:{},formItem:{},formView:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{destroyOnClose:!0},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:100,oSize:2}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40}},splitPane:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tabs:{},tag:{},textEllipsis:{underline:!0},text:{},textarea:{resize:"none"},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0}},treeSelect:{treeConfig:{radioConfig:{},checkboxConfig:{}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_DESIGN_STYLE_SETTING:iconPrefix+"layout",FORM_DESIGN_PROPS_PC:iconPrefix+"pc",FORM_DESIGN_PROPS_MOBILE:iconPrefix+"mobile",FORM_DESIGN_PROPS_ADD:iconPrefix+"add",FORM_DESIGN_PROPS_EDIT:iconPrefix+"edit",FORM_DESIGN_WIDGET_ADD:iconPrefix+"square-plus-fill",FORM_DESIGN_WIDGET_COPY:iconPrefix+"copy",FORM_DESIGN_WIDGET_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_SWAP_LR:iconPrefix+"swap",FORM_DESIGN_WIDGET_OPTION_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus",LIST_DESIGN_FIELD_SETTING:iconPrefix+"custom-column",LIST_DESIGN_LIST_SETTING:iconPrefix+"menu",LIST_DESIGN_LIST_SETTING_SEARCH_DELETE:iconPrefix+"delete",LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE:iconPrefix+"delete",UPLOAD_FILE_ERROR:iconPrefix+"warning-circle-fill",UPLOAD_FILE_ADD:iconPrefix+"upload",UPLOAD_FILE_REMOVE:iconPrefix+"delete",UPLOAD_FILE_DOWNLOAD:iconPrefix+"download",UPLOAD_IMAGE_UPLOAD:iconPrefix+"upload",UPLOAD_IMAGE_RE_UPLOAD:iconPrefix+"repeat",UPLOAD_IMAGE_ADD:iconPrefix+"add",UPLOAD_IMAGE_REMOVE:iconPrefix+"close",UPLOAD_LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",UPLOAD_FILE_TYPE_DEFAULT:iconPrefix+"file",UPLOAD_FILE_TYPE_XLSX:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_XLS:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_PDF:iconPrefix+"file-pdf",UPLOAD_FILE_TYPE_PNG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_GIF:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPEG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_MD:iconPrefix+"file-markdown",UPLOAD_FILE_TYPE_PPD:iconPrefix+"file-ppt",UPLOAD_FILE_TYPE_DOCX:iconPrefix+"file-word",UPLOAD_FILE_TYPE_DOC:iconPrefix+"file-word",UPLOAD_FILE_TYPE_ZIP:iconPrefix+"file-zip",UPLOAD_FILE_TYPE_TXT:iconPrefix+"file-txt",IMAGE_PREVIEW_CLOSE:iconPrefix+"close",IMAGE_PREVIEW_PREVIOUS:iconPrefix+"arrow-left",IMAGE_PREVIEW_NEXT:iconPrefix+"arrow-right",IMAGE_PREVIEW_PCT_FULL:iconPrefix+"pct-full",IMAGE_PREVIEW_PCT_1_1:iconPrefix+"pct-1-1",IMAGE_PREVIEW_ZOOM_OUT:iconPrefix+"search-zoom-out",IMAGE_PREVIEW_ZOOM_IN:iconPrefix+"search-zoom-in",IMAGE_PREVIEW_ROTATE_LEFT:iconPrefix+"rotate-left",IMAGE_PREVIEW_ROTATE_RIGHT:iconPrefix+"rotate-right",IMAGE_PREVIEW_PRINT:iconPrefix+"print",IMAGE_PREVIEW_DOWNLOAD:iconPrefix+"download",ALERT_CLOSE:iconPrefix+"close",ALERT_INFO:iconPrefix+"info-circle-fill",ALERT_SUCCESS:iconPrefix+"success-circle-fill",ALERT_WARNING:iconPrefix+"warning-circle-fill",ALERT_ERROR:iconPrefix+"error-circle-fill",TREE_NODE_OPEN:iconPrefix+"caret-right rotate90",TREE_NODE_CLOSE:iconPrefix+"caret-right",TREE_NODE_LOADED:iconPrefix+"spinner roll",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right"});var _default=exports.default=_core.VxeUI;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_log=require("./src/log");const version=exports.version="4.6.49";function config(e){return(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return(0,_log.warnLog)("vxe.error.delFunc",["setup","setConfig"]),(0,_core.setConfig)(e)}_core.VxeUI.uiVersion=version,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},avatar:{},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0}},buttonGroup:{},calendar:{minDate:new Date(1900,0,1),maxDate:new Date(2100,0,1),startDay:1,selectDay:1},card:{border:!0,padding:!0},carousel:{height:200,loop:!0,interval:5e3},carouselItem:{},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showMessage:!0,autoPos:!0,theme:"beautify"},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},formGroup:{},formItem:{},formView:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{destroyOnClose:!0},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:100,oSize:2}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40}},splitPane:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tabs:{},tag:{},textEllipsis:{underline:!0},text:{},textarea:{resize:"none"},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0}},treeSelect:{treeConfig:{radioConfig:{},checkboxConfig:{}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_DESIGN_STYLE_SETTING:iconPrefix+"layout",FORM_DESIGN_PROPS_PC:iconPrefix+"pc",FORM_DESIGN_PROPS_MOBILE:iconPrefix+"mobile",FORM_DESIGN_PROPS_ADD:iconPrefix+"add",FORM_DESIGN_PROPS_EDIT:iconPrefix+"edit",FORM_DESIGN_WIDGET_ADD:iconPrefix+"square-plus-fill",FORM_DESIGN_WIDGET_COPY:iconPrefix+"copy",FORM_DESIGN_WIDGET_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_SWAP_LR:iconPrefix+"swap",FORM_DESIGN_WIDGET_OPTION_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus",LIST_DESIGN_FIELD_SETTING:iconPrefix+"custom-column",LIST_DESIGN_LIST_SETTING:iconPrefix+"menu",LIST_DESIGN_LIST_SETTING_SEARCH_DELETE:iconPrefix+"delete",LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE:iconPrefix+"delete",UPLOAD_FILE_ERROR:iconPrefix+"warning-circle-fill",UPLOAD_FILE_ADD:iconPrefix+"upload",UPLOAD_FILE_REMOVE:iconPrefix+"delete",UPLOAD_FILE_DOWNLOAD:iconPrefix+"download",UPLOAD_IMAGE_UPLOAD:iconPrefix+"upload",UPLOAD_IMAGE_RE_UPLOAD:iconPrefix+"repeat",UPLOAD_IMAGE_ADD:iconPrefix+"add",UPLOAD_IMAGE_REMOVE:iconPrefix+"close",UPLOAD_LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",UPLOAD_FILE_TYPE_DEFAULT:iconPrefix+"file",UPLOAD_FILE_TYPE_XLSX:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_XLS:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_PDF:iconPrefix+"file-pdf",UPLOAD_FILE_TYPE_PNG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_GIF:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPEG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_MD:iconPrefix+"file-markdown",UPLOAD_FILE_TYPE_PPD:iconPrefix+"file-ppt",UPLOAD_FILE_TYPE_DOCX:iconPrefix+"file-word",UPLOAD_FILE_TYPE_DOC:iconPrefix+"file-word",UPLOAD_FILE_TYPE_ZIP:iconPrefix+"file-zip",UPLOAD_FILE_TYPE_TXT:iconPrefix+"file-txt",IMAGE_PREVIEW_CLOSE:iconPrefix+"close",IMAGE_PREVIEW_PREVIOUS:iconPrefix+"arrow-left",IMAGE_PREVIEW_NEXT:iconPrefix+"arrow-right",IMAGE_PREVIEW_PCT_FULL:iconPrefix+"pct-full",IMAGE_PREVIEW_PCT_1_1:iconPrefix+"pct-1-1",IMAGE_PREVIEW_ZOOM_OUT:iconPrefix+"search-zoom-out",IMAGE_PREVIEW_ZOOM_IN:iconPrefix+"search-zoom-in",IMAGE_PREVIEW_ROTATE_LEFT:iconPrefix+"rotate-left",IMAGE_PREVIEW_ROTATE_RIGHT:iconPrefix+"rotate-right",IMAGE_PREVIEW_PRINT:iconPrefix+"print",IMAGE_PREVIEW_DOWNLOAD:iconPrefix+"download",ALERT_CLOSE:iconPrefix+"close",ALERT_INFO:iconPrefix+"info-circle-fill",ALERT_SUCCESS:iconPrefix+"success-circle-fill",ALERT_WARNING:iconPrefix+"warning-circle-fill",ALERT_ERROR:iconPrefix+"error-circle-fill",TREE_NODE_OPEN:iconPrefix+"caret-right rotate90",TREE_NODE_CLOSE:iconPrefix+"caret-right",TREE_NODE_LOADED:iconPrefix+"spinner roll",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right"});var _default=exports.default=_core.VxeUI;
|
package/lib/ui/src/log.js
CHANGED
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.warnLog = exports.errLog = void 0;
|
|
7
7
|
var _core = require("@vxe-ui/core");
|
|
8
|
-
const version = `ui v${"4.6.
|
|
8
|
+
const version = `ui v${"4.6.49"}`;
|
|
9
9
|
const warnLog = exports.warnLog = _core.log.create('warn', version);
|
|
10
10
|
const errLog = exports.errLog = _core.log.create('error', version);
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const version="ui v4.6.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const version="ui v4.6.49",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-pc-ui",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.49",
|
|
4
4
|
"description": "A vue based PC component library",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"style": "lib/style.css",
|
|
26
26
|
"typings": "types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@vxe-ui/core": "^4.
|
|
28
|
+
"@vxe-ui/core": "^4.2.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
@@ -2,7 +2,7 @@ import { h, createApp, reactive, createCommentVNode } from 'vue'
|
|
|
2
2
|
import { defineVxeComponent } from '../ui/src/comp'
|
|
3
3
|
import { VxeUI } from '@vxe-ui/core'
|
|
4
4
|
|
|
5
|
-
import type { VxeModalDefines,
|
|
5
|
+
import type { VxeModalDefines, VxeDrawerDefines, VxeLoadingProps, VxeWatermarkProps } from '../../types'
|
|
6
6
|
|
|
7
7
|
let dynamicContainerElem: HTMLElement
|
|
8
8
|
|
|
@@ -23,10 +23,10 @@ export const dynamicStore = reactive<{
|
|
|
23
23
|
*/
|
|
24
24
|
const VxeDynamics = defineVxeComponent({
|
|
25
25
|
setup () {
|
|
26
|
-
const VxeUIModalComponent = VxeUI.getComponent
|
|
27
|
-
const VxeUIDrawerComponent = VxeUI.getComponent
|
|
28
|
-
const VxeUILoadingComponent = VxeUI.getComponent
|
|
29
|
-
const VxeUIWatermarkComponent = VxeUI.getComponent
|
|
26
|
+
const VxeUIModalComponent = VxeUI.getComponent('vxe-modal')
|
|
27
|
+
const VxeUIDrawerComponent = VxeUI.getComponent('vxe-drawer')
|
|
28
|
+
const VxeUILoadingComponent = VxeUI.getComponent('vxe-loading')
|
|
29
|
+
const VxeUIWatermarkComponent = VxeUI.getComponent('vxe-watermark')
|
|
30
30
|
|
|
31
31
|
return () => {
|
|
32
32
|
const { modals, drawers, globalWatermark, globalLoading } = dynamicStore
|
|
@@ -11,7 +11,7 @@ import VxeButtonComponent from '../../button/src/button'
|
|
|
11
11
|
import VxeCheckboxComponent from '../../checkbox/src/checkbox'
|
|
12
12
|
|
|
13
13
|
import type { VxeGlobalRendererHandles, VxeFormDesignConstructor, VxeFormDesignDefines, VxeFormDesignPrivateMethods, VxeFormViewConstructor, VxeFormViewPrivateMethods } from '../../../types'
|
|
14
|
-
import type {
|
|
14
|
+
import type { VxeGridPropTypes, VxeGridProps, VxeGridInstance } from '../../../types/components/grid'
|
|
15
15
|
import type { VxeTableDefines } from '../../../types/components/table'
|
|
16
16
|
import type { VxeColumnPropTypes } from '../../../types/components/column'
|
|
17
17
|
|
|
@@ -351,7 +351,7 @@ export const WidgetSubtableViewComponent = defineVxeComponent({
|
|
|
351
351
|
},
|
|
352
352
|
emits: [],
|
|
353
353
|
setup (props) {
|
|
354
|
-
const VxeTableGridComponent = VxeUI.getComponent
|
|
354
|
+
const VxeTableGridComponent = VxeUI.getComponent('vxe-grid')
|
|
355
355
|
|
|
356
356
|
const $xeFormView = inject<(VxeFormViewConstructor & VxeFormViewPrivateMethods) | null>('$xeFormView', null)
|
|
357
357
|
|
package/packages/index.ts
CHANGED
|
@@ -1,25 +1,4 @@
|
|
|
1
1
|
import * as VxeUIExport from './components'
|
|
2
2
|
|
|
3
|
-
interface AA {
|
|
4
|
-
bb: {
|
|
5
|
-
cc: 'hh'
|
|
6
|
-
av: string[]
|
|
7
|
-
} | {
|
|
8
|
-
cc: 'ff'
|
|
9
|
-
av: string[]
|
|
10
|
-
jj: string[]
|
|
11
|
-
} | {
|
|
12
|
-
cc: string
|
|
13
|
-
kk: string
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const v: AA = {
|
|
18
|
-
bb: {
|
|
19
|
-
cc: 'gg',
|
|
20
|
-
kk: ''
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
3
|
export * from './components'
|
|
25
4
|
export default VxeUIExport
|
|
@@ -6,7 +6,7 @@ import VxeFormComponent from '../../form/src/form'
|
|
|
6
6
|
import XEUtils from 'xe-utils'
|
|
7
7
|
|
|
8
8
|
import { VxeListDesignConstructor, VxeListDesignPrivateMethods } from '../../../types'
|
|
9
|
-
import type {
|
|
9
|
+
import type { VxeGridInstance, VxeGridPropTypes } from '../../../types/components/grid'
|
|
10
10
|
import type { VxeTableEvents, VxeTablePropTypes } from '../../../types/components/table'
|
|
11
11
|
|
|
12
12
|
export default defineVxeComponent({
|
|
@@ -14,7 +14,7 @@ export default defineVxeComponent({
|
|
|
14
14
|
props: {},
|
|
15
15
|
emits: [],
|
|
16
16
|
setup () {
|
|
17
|
-
const VxeTableGridComponent = VxeUI.getComponent
|
|
17
|
+
const VxeTableGridComponent = VxeUI.getComponent('vxe-grid')
|
|
18
18
|
|
|
19
19
|
const $xeListDesign = inject<(VxeListDesignConstructor & VxeListDesignPrivateMethods) | null>('$xeListDesign', null)
|
|
20
20
|
|
|
@@ -9,7 +9,7 @@ import VxeLoadingComponent from '../../loading/src/loading'
|
|
|
9
9
|
import XEUtils from 'xe-utils'
|
|
10
10
|
|
|
11
11
|
import type { ListViewReactData, ListViewPrivateRef, VxeListViewPropTypes, VxeListViewDefines, VxeListViewEmits, VxeListViewPrivateComputed, VxeListViewConstructor, VxeListDesignDefines, ListViewMethods, ListViewPrivateMethods, VxeGlobalRendererHandles, VxeListViewPrivateMethods, VxeButtonGroupDefines, VxeButtonGroupPropTypes, ValueOf } from '../../../types'
|
|
12
|
-
import type {
|
|
12
|
+
import type { VxeGridInstance, VxeGridPropTypes, VxeGridProps } from '../../../types/components/grid'
|
|
13
13
|
import type { VxeTableDefines } from '../../../types/components/table'
|
|
14
14
|
|
|
15
15
|
export default defineVxeComponent({
|
|
@@ -37,7 +37,7 @@ export default defineVxeComponent({
|
|
|
37
37
|
'update:actionButtons'
|
|
38
38
|
] as VxeListViewEmits,
|
|
39
39
|
setup (props, context) {
|
|
40
|
-
const VxeTableGridComponent = VxeUI.getComponent
|
|
40
|
+
const VxeTableGridComponent = VxeUI.getComponent('vxe-grid')
|
|
41
41
|
|
|
42
42
|
const { emit, slots } = context
|
|
43
43
|
|
|
@@ -110,7 +110,7 @@ function createHtmlPage (opts: VxePrintProps & { _pageBreaks: boolean }, printHt
|
|
|
110
110
|
'<head>',
|
|
111
111
|
'<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui">',
|
|
112
112
|
`<title>${opts.title || ''}</title>`,
|
|
113
|
-
|
|
113
|
+
`<style media="print">@page{size:auto;${isPbMode ? 'margin: 0mm;' : ''}}</style>`,
|
|
114
114
|
`<style>body{font-size:${pageStyObj.fontSize || '14px'};color:${pageStyObj.color || defaultFontColor};text-align:${pageStyObj.textAlign || 'left'};}</style>`,
|
|
115
115
|
'<style>',
|
|
116
116
|
'.vxe-print-slots{display:none;}',
|
|
@@ -131,7 +131,7 @@ function createHtmlPage (opts: VxePrintProps & { _pageBreaks: boolean }, printHt
|
|
|
131
131
|
'</style>',
|
|
132
132
|
'<style>.vxe-table{white-space:pre;}</style>',
|
|
133
133
|
`<style>${defaultHtmlStyle}</style>`,
|
|
134
|
-
isPbMode ? '<style>body{margin:0;}</style>' :
|
|
134
|
+
isPbMode ? '<style>body{margin:0;}</style>' : '',
|
|
135
135
|
customStyle ? `<style>${customStyle}</style>` : '',
|
|
136
136
|
'</head>',
|
|
137
137
|
'<body>',
|
|
@@ -10,7 +10,7 @@ import VxeInputComponent from '../../input/src/input'
|
|
|
10
10
|
|
|
11
11
|
import type { TableSelectReactData, VxeTableSelectEmits, VxeInputConstructor, TableSelectInternalData, VxeTableSelectPropTypes, VxeFormDefines, VxeModalConstructor, VxeModalMethods, VxeDrawerConstructor, VxeDrawerMethods, TableSelectMethods, TableSelectPrivateMethods, ValueOf, TableSelectPrivateRef, VxeTableSelectPrivateComputed, VxeTableSelectConstructor, VxeTableSelectPrivateMethods, VxeFormConstructor, VxeFormPrivateMethods, VxeComponentStyleType } from '../../../types'
|
|
12
12
|
import type { VxeTableConstructor, VxeTablePrivateMethods } from '../../../types/components/table'
|
|
13
|
-
import type { VxeGridInstance,
|
|
13
|
+
import type { VxeGridInstance, VxeGridEvents } from '../../../types/components/grid'
|
|
14
14
|
|
|
15
15
|
export function getRowUniqueId () {
|
|
16
16
|
return XEUtils.uniqueId('row_')
|
|
@@ -68,7 +68,7 @@ export default defineVxeComponent({
|
|
|
68
68
|
setup (props, context) {
|
|
69
69
|
const { emit, slots } = context
|
|
70
70
|
|
|
71
|
-
const VxeTableGridComponent = VxeUI.getComponent
|
|
71
|
+
const VxeTableGridComponent = VxeUI.getComponent('vxe-grid')
|
|
72
72
|
|
|
73
73
|
const $xeModal = inject<(VxeModalConstructor & VxeModalMethods)| null>('$xeModal', null)
|
|
74
74
|
const $xeDrawer = inject<(VxeDrawerConstructor & VxeDrawerMethods) | null>('$xeDrawer', null)
|
|
@@ -69,13 +69,28 @@ export namespace VxeAnchorDefines {
|
|
|
69
69
|
export interface AnchorEventParams extends VxeComponentEventParams {
|
|
70
70
|
$anchor: VxeAnchorConstructor
|
|
71
71
|
}
|
|
72
|
+
|
|
73
|
+
export interface ChangeEventParams extends AnchorEventParams {}
|
|
74
|
+
export interface ClickEventParams extends AnchorEventParams {}
|
|
72
75
|
}
|
|
73
76
|
|
|
74
|
-
export type VxeAnchorEventProps = {
|
|
77
|
+
export type VxeAnchorEventProps = {
|
|
78
|
+
'onUpdate:modelValue'?: VxeAnchorEvents.UpdateModelValue
|
|
79
|
+
onChange?: VxeAnchorEvents.Change
|
|
80
|
+
onClick?: VxeAnchorEvents.Click
|
|
81
|
+
}
|
|
75
82
|
|
|
76
|
-
export interface VxeAnchorListeners {
|
|
83
|
+
export interface VxeAnchorListeners {
|
|
84
|
+
'update:modelValue'?: VxeAnchorEvents.UpdateModelValue
|
|
85
|
+
change?: VxeAnchorEvents.Change
|
|
86
|
+
click?: VxeAnchorEvents.Click
|
|
87
|
+
}
|
|
77
88
|
|
|
78
|
-
export namespace VxeAnchorEvents {
|
|
89
|
+
export namespace VxeAnchorEvents {
|
|
90
|
+
export type UpdateModelValue = (modelValue: VxeAnchorPropTypes.ModelValue) => void
|
|
91
|
+
export type Change = (params: VxeAnchorDefines.ChangeEventParams) => void
|
|
92
|
+
export type Click = (params: VxeAnchorDefines.ClickEventParams) => void
|
|
93
|
+
}
|
|
79
94
|
|
|
80
95
|
export namespace VxeAnchorSlotTypes {
|
|
81
96
|
export interface DefaultSlotParams {}
|
|
@@ -167,6 +167,7 @@ export namespace VxeCalendarDefines {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
export type VxeCalendarEventProps = {
|
|
170
|
+
'onUpdate:modelValue'?: VxeCalendarEvents.UpdateModelValue
|
|
170
171
|
onInput?: VxeCalendarEvents.Input
|
|
171
172
|
onChange?: VxeCalendarEvents.Change
|
|
172
173
|
onClick?: VxeCalendarEvents.Click
|
|
@@ -177,6 +178,7 @@ export type VxeCalendarEventProps = {
|
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
export interface VxeCalendarListeners {
|
|
181
|
+
'update:modelValue'?: VxeCalendarEvents.UpdateModelValue
|
|
180
182
|
input?: VxeCalendarEvents.Input
|
|
181
183
|
change?: VxeCalendarEvents.Change
|
|
182
184
|
click?: VxeCalendarEvents.Click
|
|
@@ -187,6 +189,7 @@ export interface VxeCalendarListeners {
|
|
|
187
189
|
}
|
|
188
190
|
|
|
189
191
|
export namespace VxeCalendarEvents {
|
|
192
|
+
export type UpdateModelValue = (modelValue: VxeCalendarPropTypes.ModelValue) => void
|
|
190
193
|
export type Input = (params: VxeCalendarDefines.InputEventParams) => void
|
|
191
194
|
export type Change = (params: VxeCalendarDefines.ChangeEventParams) => void
|
|
192
195
|
export type Click = (params: VxeCalendarDefines.ClickEventParams) => void
|
|
@@ -108,14 +108,17 @@ export namespace VxeCarouselDefines {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export type VxeCarouselEventProps = {
|
|
111
|
+
'onUpdate:modelValue'?: VxeCarouselEvents.UpdateModelValue
|
|
111
112
|
onChange?: VxeCarouselEvents.Change
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
export interface VxeCarouselListeners {
|
|
116
|
+
'update:modelValue'?: VxeCarouselEvents.UpdateModelValue
|
|
115
117
|
change?: VxeCarouselEvents.Change
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
export namespace VxeCarouselEvents {
|
|
121
|
+
export type UpdateModelValue = (modelValue: VxeCarouselPropTypes.ModelValue) => void
|
|
119
122
|
export type Change = (params: VxeCarouselDefines.ChangeEventParams) => void
|
|
120
123
|
}
|
|
121
124
|
|
|
@@ -77,14 +77,17 @@ export namespace VxeCheckboxButtonDefines {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export type VxeCheckboxButtonEventProps = {
|
|
80
|
+
'onUpdate:modelValue'?: VxeCheckboxButtonEvents.UpdateModelValue
|
|
80
81
|
onChange?: VxeCheckboxButtonEvents.Change
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
export interface VxeCheckboxButtonListeners {
|
|
85
|
+
'update:modelValue'?: VxeCheckboxButtonEvents.UpdateModelValue
|
|
84
86
|
change?: VxeCheckboxButtonEvents.Change
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
export namespace VxeCheckboxButtonEvents {
|
|
90
|
+
export type UpdateModelValue = (modelValue: VxeCheckboxButtonPropTypes.ModelValue) => void
|
|
88
91
|
export type Change = (params: VxeCheckboxButtonDefines.ChangeEventParams) => void
|
|
89
92
|
}
|
|
90
93
|
|
|
@@ -96,14 +96,17 @@ export namespace VxeCheckboxGroupDefines {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export type VxeCheckboxGroupEventProps = {
|
|
99
|
+
'onUpdate:modelValue'?: VxeCheckboxGroupEvents.UpdateModelValue
|
|
99
100
|
onChange?: VxeCheckboxGroupEvents.Change
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
export interface VxeCheckboxGroupListeners {
|
|
104
|
+
'update:modelValue'?: VxeCheckboxGroupEvents.UpdateModelValue
|
|
103
105
|
change?: VxeCheckboxGroupEvents.Change
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
export namespace VxeCheckboxGroupEvents {
|
|
109
|
+
export type UpdateModelValue = (modelValue: VxeCheckboxGroupPropTypes.ModelValue) => void
|
|
107
110
|
export type Change = (params: VxeCheckboxGroupDefines.ChangeEventParams) => void
|
|
108
111
|
}
|
|
109
112
|
|
|
@@ -97,14 +97,17 @@ export namespace VxeCheckboxDefines {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export type VxeCheckboxEventProps = {
|
|
100
|
+
'onUpdate:modelValue'?: VxeCheckboxEvents.UpdateModelValue
|
|
100
101
|
onChange?: VxeCheckboxEvents.Change
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
export interface VxeCheckboxListeners {
|
|
105
|
+
'update:modelValue'?: VxeCheckboxEvents.UpdateModelValue
|
|
104
106
|
change?: VxeCheckboxEvents.Change
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
export namespace VxeCheckboxEvents {
|
|
110
|
+
export type UpdateModelValue = (modelValue: VxeCheckboxPropTypes.ModelValue) => void
|
|
108
111
|
export type Change = (params: VxeCheckboxDefines.ChangeEventParams) => void
|
|
109
112
|
}
|
|
110
113
|
|
|
@@ -115,11 +115,17 @@ export namespace VxeColorPickerDefines {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export type VxeColorPickerEventProps = {
|
|
118
|
+
export type VxeColorPickerEventProps = {
|
|
119
|
+
'onUpdate:modelValue'?: VxeColorPickerEvents.UpdateModelValue
|
|
120
|
+
}
|
|
119
121
|
|
|
120
|
-
export interface VxeColorPickerListeners {
|
|
122
|
+
export interface VxeColorPickerListeners {
|
|
123
|
+
'update:modelValue'?: VxeColorPickerEvents.UpdateModelValue
|
|
124
|
+
}
|
|
121
125
|
|
|
122
|
-
export namespace VxeColorPickerEvents {
|
|
126
|
+
export namespace VxeColorPickerEvents {
|
|
127
|
+
export type UpdateModelValue = (modelValue: VxeColorPickerPropTypes.ModelValue) => void
|
|
128
|
+
}
|
|
123
129
|
|
|
124
130
|
export namespace VxeColorPickerSlotTypes {
|
|
125
131
|
export interface DefaultSlotParams {}
|
|
@@ -77,11 +77,17 @@ export namespace VxeCountdownDefines {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export type VxeCountdownEventProps = {
|
|
80
|
+
export type VxeCountdownEventProps = {
|
|
81
|
+
'onUpdate:modelValue'?: VxeCountdownEvents.UpdateModelValue
|
|
82
|
+
}
|
|
81
83
|
|
|
82
|
-
export interface VxeCountdownListeners {
|
|
84
|
+
export interface VxeCountdownListeners {
|
|
85
|
+
'update:modelValue'?: VxeCountdownEvents.UpdateModelValue
|
|
86
|
+
}
|
|
83
87
|
|
|
84
|
-
export namespace VxeCountdownEvents {
|
|
88
|
+
export namespace VxeCountdownEvents {
|
|
89
|
+
export type UpdateModelValue = (modelValue: VxeCountdownPropTypes.ModelValue) => void
|
|
90
|
+
}
|
|
85
91
|
|
|
86
92
|
export namespace VxeCountdownSlotTypes {
|
|
87
93
|
export interface DefaultSlotParams {
|
|
@@ -221,14 +221,17 @@ export namespace VxeDatePanelDefines {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
export type VxeDatePanelEventProps = {
|
|
224
|
+
'onUpdate:modelValue'?: VxeDatePanelEvents.UpdateModelValue
|
|
224
225
|
onChange?: VxeDatePanelEvents.Change
|
|
225
226
|
}
|
|
226
227
|
|
|
227
228
|
export interface VxeDatePanelListeners {
|
|
229
|
+
'update:modelValue'?: VxeDatePanelEvents.UpdateModelValue
|
|
228
230
|
change?: VxeDatePanelEvents.Change
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
export namespace VxeDatePanelEvents {
|
|
234
|
+
export type UpdateModelValue = (modelValue: VxeDatePanelPropTypes.ModelValue) => void
|
|
232
235
|
export type Change = (params: VxeDatePanelDefines.ChangeEventParams) => void
|
|
233
236
|
}
|
|
234
237
|
|
|
@@ -234,18 +234,21 @@ export namespace VxeDatePickerDefines {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
export type VxeDatePickerEventProps = {
|
|
237
|
+
'onUpdate:modelValue'?: VxeDatePickerEvents.UpdateModelValue
|
|
237
238
|
onInput?: VxeDatePickerEvents.Input
|
|
238
239
|
onChange?: VxeDatePickerEvents.Change
|
|
239
240
|
onShortcutClick?: VxeDatePickerEvents.ShortcutClick
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
export interface VxeDatePickerListeners {
|
|
244
|
+
'update:modelValue'?: VxeDatePickerEvents.UpdateModelValue
|
|
243
245
|
input?: VxeDatePickerEvents.Input
|
|
244
246
|
change?: VxeDatePickerEvents.Change
|
|
245
247
|
shortcutClick?: VxeDatePickerEvents.ShortcutClick
|
|
246
248
|
}
|
|
247
249
|
|
|
248
250
|
export namespace VxeDatePickerEvents {
|
|
251
|
+
export type UpdateModelValue = (modelValue: VxeDatePickerPropTypes.ModelValue) => void
|
|
249
252
|
export type Input = (params: VxeDatePickerDefines.InputEventParams) => void
|
|
250
253
|
export type Change = (params: VxeDatePickerDefines.ChangeEventParams) => void
|
|
251
254
|
export type ShortcutClick = (params: VxeDatePickerDefines.ShortcutClickEventParams) => void
|
|
@@ -234,18 +234,27 @@ export namespace VxeDateRangePickerDefines {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
export type VxeDateRangePickerEventProps = {
|
|
237
|
+
'onUpdate:modelValue'?: VxeDateRangePickerEvents.UpdateModelValueValue
|
|
238
|
+
'onUpdate:startValue'?: VxeDateRangePickerEvents.UpdateStartValueValue
|
|
239
|
+
'onUpdate:endValue'?: VxeDateRangePickerEvents.UpdateEndValueValue
|
|
237
240
|
onInput?: VxeDateRangePickerEvents.Input
|
|
238
241
|
onChange?: VxeDateRangePickerEvents.Change
|
|
239
242
|
onShortcutClick?: VxeDateRangePickerEvents.ShortcutClick
|
|
240
243
|
}
|
|
241
244
|
|
|
242
245
|
export interface VxeDateRangePickerListeners {
|
|
246
|
+
'update:modelValue'?: VxeDateRangePickerEvents.UpdateModelValueValue
|
|
247
|
+
'update:startValue'?: VxeDateRangePickerEvents.UpdateStartValueValue
|
|
248
|
+
'update:endValue'?: VxeDateRangePickerEvents.UpdateEndValueValue
|
|
243
249
|
input?: VxeDateRangePickerEvents.Input
|
|
244
250
|
change?: VxeDateRangePickerEvents.Change
|
|
245
251
|
shortcutClick?: VxeDateRangePickerEvents.ShortcutClick
|
|
246
252
|
}
|
|
247
253
|
|
|
248
254
|
export namespace VxeDateRangePickerEvents {
|
|
255
|
+
export type UpdateModelValueValue = (modelValue: VxeDateRangePickerPropTypes.ModelValue) => void
|
|
256
|
+
export type UpdateStartValueValue = (modelValue: VxeDateRangePickerPropTypes.StartValue) => void
|
|
257
|
+
export type UpdateEndValueValue = (modelValue: VxeDateRangePickerPropTypes.EndValue) => void
|
|
249
258
|
export type Input = (params: VxeDateRangePickerDefines.InputEventParams) => void
|
|
250
259
|
export type Change = (params: VxeDateRangePickerDefines.ChangeEventParams) => void
|
|
251
260
|
export type ShortcutClick = (params: VxeDateRangePickerDefines.ShortcutClickEventParams) => void
|
|
@@ -204,6 +204,7 @@ export namespace VxeDrawerDefines {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
export type VxeDrawerEventProps = {
|
|
207
|
+
'onUpdate:modelValue'?: VxeDrawerEvents.UpdateModelValue
|
|
207
208
|
onShow?: VxeDrawerEvents.Show
|
|
208
209
|
onHide?: VxeDrawerEvents.Hide
|
|
209
210
|
onBeforeHide?: VxeDrawerEvents.BeforeHide
|
|
@@ -214,6 +215,7 @@ export type VxeDrawerEventProps = {
|
|
|
214
215
|
}
|
|
215
216
|
|
|
216
217
|
export interface VxeDrawerListeners {
|
|
218
|
+
'update:modelValue'?: VxeDrawerEvents.UpdateModelValue
|
|
217
219
|
show?: VxeDrawerEvents.Show
|
|
218
220
|
hide?: VxeDrawerEvents.Hide
|
|
219
221
|
beforeHide?: VxeDrawerEvents.BeforeHide
|
|
@@ -224,6 +226,7 @@ export interface VxeDrawerListeners {
|
|
|
224
226
|
}
|
|
225
227
|
|
|
226
228
|
export namespace VxeDrawerEvents {
|
|
229
|
+
export type UpdateModelValue = (modelValue: VxeDrawerPropTypes.ModelValue) => void
|
|
227
230
|
export type Show = (params: VxeDrawerDefines.ShowEventParams) => void
|
|
228
231
|
export type Hide = (params: VxeDrawerDefines.HideEventParams) => void
|
|
229
232
|
export type BeforeHide = (params: VxeDrawerDefines.BeforeHideEventParams) => void
|
|
@@ -127,11 +127,17 @@ export namespace VxeIconPickerDefines {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
export type VxeIconPickerEventProps = {
|
|
130
|
+
export type VxeIconPickerEventProps = {
|
|
131
|
+
'onUpdate:modelValue'?: VxeIconPickerEvents.UpdateModelValue
|
|
132
|
+
}
|
|
131
133
|
|
|
132
|
-
export interface VxeIconPickerListeners {
|
|
134
|
+
export interface VxeIconPickerListeners {
|
|
135
|
+
'update:modelValue'?: VxeIconPickerEvents.UpdateModelValue
|
|
136
|
+
}
|
|
133
137
|
|
|
134
|
-
export namespace VxeIconPickerEvents {
|
|
138
|
+
export namespace VxeIconPickerEvents {
|
|
139
|
+
export type UpdateModelValue = (modelValue: VxeIconPickerPropTypes.ModelValue) => void
|
|
140
|
+
}
|
|
135
141
|
|
|
136
142
|
export namespace VxeIconPickerSlotTypes {
|
|
137
143
|
export interface DefaultSlotParams {}
|
|
@@ -341,6 +341,7 @@ export namespace VxeInputDefines {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
export type VxeInputEventProps = {
|
|
344
|
+
'onUpdate:modelValue'?: VxeInputEvents.UpdateModelValue
|
|
344
345
|
onInput?: VxeInputEvents.Input
|
|
345
346
|
onChange?: VxeInputEvents.Change
|
|
346
347
|
onKeydown?: VxeInputEvents.Keydown
|
|
@@ -361,6 +362,7 @@ export type VxeInputEventProps = {
|
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
export interface VxeInputListeners {
|
|
365
|
+
'update:modelValue'?: VxeInputEvents.UpdateModelValue
|
|
364
366
|
input?: VxeInputEvents.Input
|
|
365
367
|
change?: VxeInputEvents.Change
|
|
366
368
|
keydown?: VxeInputEvents.Keydown
|
|
@@ -381,6 +383,7 @@ export interface VxeInputListeners {
|
|
|
381
383
|
}
|
|
382
384
|
|
|
383
385
|
export namespace VxeInputEvents {
|
|
386
|
+
export type UpdateModelValue = (modelValue: VxeInputPropTypes.ModelValue) => void
|
|
384
387
|
export type Input = (params: VxeInputDefines.InputEventParams) => void
|
|
385
388
|
export type Change = (params: VxeInputDefines.ChangeEventParams) => void
|
|
386
389
|
export type Keydown = (params: VxeInputDefines.KeydownEventParams) => void
|