fix 修改多个实例重复安装警告问题 #1654
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"vxe-table/resizable": {
|
"vxe-table/resizable": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "所有的列是否允许拖动列宽调整大小"
|
"description": "所有的列是否允许拖动列宽调整大小,被 column-config.resizable 替换"
|
||||||
},
|
},
|
||||||
"vxe-table/stripe": {
|
"vxe-table/stripe": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -65,19 +65,19 @@
|
|||||||
},
|
},
|
||||||
"vxe-table/highlight-current-row": {
|
"vxe-table/highlight-current-row": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否要高亮当前行"
|
"description": "是否要高亮当前行,被 row-config.isCurrent 替换"
|
||||||
},
|
},
|
||||||
"vxe-table/highlight-hover-row": {
|
"vxe-table/highlight-hover-row": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "鼠标移到行是否要高亮显示"
|
"description": "鼠标移到行是否要高亮显示,被 row-config.isHover 替换"
|
||||||
},
|
},
|
||||||
"vxe-table/highlight-current-column": {
|
"vxe-table/highlight-current-column": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否要高亮当前列"
|
"description": "是否要高亮当前列,被 column-config.isCurrent 替换"
|
||||||
},
|
},
|
||||||
"vxe-table/highlight-hover-column": {
|
"vxe-table/highlight-hover-column": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "鼠标移到列是否要高亮显示"
|
"description": "鼠标移到列是否要高亮显,被 column-config.isHover 替换示"
|
||||||
},
|
},
|
||||||
"vxe-table/row-class-name": {
|
"vxe-table/row-class-name": {
|
||||||
"type": "string | (({ row, rowindex, $rowindex }) => any)",
|
"type": "string | (({ row, rowindex, $rowindex }) => any)",
|
||||||
@@ -521,7 +521,7 @@
|
|||||||
},
|
},
|
||||||
"vxe-grid/resizable": {
|
"vxe-grid/resizable": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "所有的列是否允许拖动列宽调整大小"
|
"description": "所有的列是否允许拖动列宽调整大小,被 column-config.resizable 替换"
|
||||||
},
|
},
|
||||||
"vxe-grid/stripe": {
|
"vxe-grid/stripe": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -561,19 +561,19 @@
|
|||||||
},
|
},
|
||||||
"vxe-grid/highlight-current-row": {
|
"vxe-grid/highlight-current-row": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否要高亮当前行"
|
"description": "是否要高亮当前行,被 row-config.isCurrent 替换"
|
||||||
},
|
},
|
||||||
"vxe-grid/highlight-hover-row": {
|
"vxe-grid/highlight-hover-row": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "鼠标移到行是否要高亮显示"
|
"description": "鼠标移到行是否要高亮显示,被 row-config.isHover 替换"
|
||||||
},
|
},
|
||||||
"vxe-grid/highlight-current-column": {
|
"vxe-grid/highlight-current-column": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否要高亮当前列"
|
"description": "是否要高亮当前列,被 column-config.isCurrent 替换"
|
||||||
},
|
},
|
||||||
"vxe-grid/highlight-hover-column": {
|
"vxe-grid/highlight-hover-column": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "鼠标移到列是否要高亮显示"
|
"description": "鼠标移到列是否要高亮显,被 column-config.isHover 替换示"
|
||||||
},
|
},
|
||||||
"vxe-grid/row-class-name": {
|
"vxe-grid/row-class-name": {
|
||||||
"type": "string | (({ row, rowindex, $rowindex }) => any)",
|
"type": "string | (({ row, rowindex, $rowindex }) => any)",
|
||||||
@@ -951,6 +951,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否禁用"
|
"description": "是否禁用"
|
||||||
},
|
},
|
||||||
|
"vxe-radio/strict": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "严格模式,选中后不能取消"
|
||||||
|
},
|
||||||
"vxe-radio/name": {
|
"vxe-radio/name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "原生 name 属性"
|
"description": "原生 name 属性"
|
||||||
@@ -967,6 +971,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否禁用"
|
"description": "是否禁用"
|
||||||
},
|
},
|
||||||
|
"vxe-radio-group/strict": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "严格模式,选中后不能取消"
|
||||||
|
},
|
||||||
"vxe-radio-button/model-value": {
|
"vxe-radio-button/model-value": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "v-model 绑定值"
|
"description": "v-model 绑定值"
|
||||||
@@ -983,6 +991,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "是否禁用"
|
"description": "是否禁用"
|
||||||
},
|
},
|
||||||
|
"vxe-radio-button/strict": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "严格模式,选中后不能取消"
|
||||||
|
},
|
||||||
"vxe-checkbox/model-value": {
|
"vxe-checkbox/model-value": {
|
||||||
"type": "string | number | boolean",
|
"type": "string | number | boolean",
|
||||||
"description": "v-model 绑定值"
|
"description": "v-model 绑定值"
|
||||||
@@ -1387,7 +1399,11 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "鼠标是否可进入到 tooltip 中"
|
"description": "鼠标是否可进入到 tooltip 中"
|
||||||
},
|
},
|
||||||
"vxe-tooltip/leave-delay": {
|
"vxe-tooltip/enter-delay": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "鼠标移入后延时多少才显示 tooltip"
|
||||||
|
},
|
||||||
|
"vxe-tooltip/leavedelay": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "鼠标移出后延时多少才隐藏 tooltip"
|
"description": "鼠标移出后延时多少才隐藏 tooltip"
|
||||||
},
|
},
|
||||||
@@ -1727,6 +1743,10 @@
|
|||||||
"type": "any",
|
"type": "any",
|
||||||
"description": "纵向虚拟滚动配置"
|
"description": "纵向虚拟滚动配置"
|
||||||
},
|
},
|
||||||
|
"vxe-pulldown/model-value": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "v-model 绑定值"
|
||||||
|
},
|
||||||
"vxe-pulldown/size": {
|
"vxe-pulldown/size": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "尺寸"
|
"description": "尺寸"
|
||||||
|
|||||||
@@ -276,6 +276,7 @@
|
|||||||
"content",
|
"content",
|
||||||
"size",
|
"size",
|
||||||
"disabled",
|
"disabled",
|
||||||
|
"strict",
|
||||||
"name"
|
"name"
|
||||||
],
|
],
|
||||||
"description": "单选框"
|
"description": "单选框"
|
||||||
@@ -284,7 +285,8 @@
|
|||||||
"attributes": [
|
"attributes": [
|
||||||
"model-value",
|
"model-value",
|
||||||
"size",
|
"size",
|
||||||
"disabled"
|
"disabled",
|
||||||
|
"strict"
|
||||||
],
|
],
|
||||||
"subtags": [
|
"subtags": [
|
||||||
"vxe-radio",
|
"vxe-radio",
|
||||||
@@ -297,7 +299,8 @@
|
|||||||
"model-value",
|
"model-value",
|
||||||
"label",
|
"label",
|
||||||
"content",
|
"content",
|
||||||
"disabled"
|
"disabled",
|
||||||
|
"strict"
|
||||||
],
|
],
|
||||||
"description": "单选按钮"
|
"description": "单选按钮"
|
||||||
},
|
},
|
||||||
@@ -454,7 +457,8 @@
|
|||||||
"z-index",
|
"z-index",
|
||||||
"is-arrow",
|
"is-arrow",
|
||||||
"enterable",
|
"enterable",
|
||||||
"leave-delay"
|
"enter-delay",
|
||||||
|
"leavedelay"
|
||||||
],
|
],
|
||||||
"description": "工具提示"
|
"description": "工具提示"
|
||||||
},
|
},
|
||||||
@@ -572,6 +576,7 @@
|
|||||||
},
|
},
|
||||||
"vxe-pulldown": {
|
"vxe-pulldown": {
|
||||||
"attributes": [
|
"attributes": [
|
||||||
|
"model-value",
|
||||||
"size",
|
"size",
|
||||||
"disabled",
|
"disabled",
|
||||||
"placement",
|
"placement",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vxe-table",
|
"name": "vxe-table",
|
||||||
"version": "4.2.0-beta.0",
|
"version": "4.2.0-beta.1",
|
||||||
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...",
|
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
"@vue/cli-plugin-typescript": "~4.5.0",
|
"@vue/cli-plugin-typescript": "~4.5.0",
|
||||||
"@vue/cli-plugin-vuex": "~4.5.0",
|
"@vue/cli-plugin-vuex": "~4.5.0",
|
||||||
"@vue/cli-service": "~4.5.0",
|
"@vue/cli-service": "~4.5.0",
|
||||||
"@vue/compiler-sfc": "^3.2.28",
|
"@vue/compiler-sfc": "^3.2.31",
|
||||||
"@vue/eslint-config-standard": "^5.1.2",
|
"@vue/eslint-config-standard": "^5.1.2",
|
||||||
"@vue/eslint-config-typescript": "^7.0.0",
|
"@vue/eslint-config-typescript": "^7.0.0",
|
||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
"sass": "^1.45.1",
|
"sass": "^1.45.1",
|
||||||
"sass-loader": "^10.0.5",
|
"sass-loader": "^10.0.5",
|
||||||
"typescript": "~4.3.5",
|
"typescript": "~4.3.5",
|
||||||
"vue": "^3.2.30",
|
"vue": "^3.2.31",
|
||||||
"vue-i18n": "^9.1.7",
|
"vue-i18n": "^9.1.7",
|
||||||
"vue-router": "^4.0.11",
|
"vue-router": "^4.0.11",
|
||||||
"vuex": "^4.0.2",
|
"vuex": "^4.0.2",
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Button = Object.assign(VxeButtonComponent, {
|
export const Button = Object.assign(VxeButtonComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeButtonComponent.name, VxeButtonComponent)
|
|
||||||
app.component(VxeButtonComponent.name, VxeButtonComponent)
|
app.component(VxeButtonComponent.name, VxeButtonComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeButtonComponent.name, VxeButtonComponent)
|
||||||
|
|
||||||
export default Button
|
export default Button
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const CheckboxGroup = Object.assign(VxeCheckboxGroupComponent, {
|
export const CheckboxGroup = Object.assign(VxeCheckboxGroupComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeCheckboxGroupComponent.name, VxeCheckboxGroupComponent)
|
|
||||||
app.component(VxeCheckboxGroupComponent.name, VxeCheckboxGroupComponent)
|
app.component(VxeCheckboxGroupComponent.name, VxeCheckboxGroupComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeCheckboxGroupComponent.name, VxeCheckboxGroupComponent)
|
||||||
|
|
||||||
export default CheckboxGroup
|
export default CheckboxGroup
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Checkbox = Object.assign(VxeCheckboxComponent, {
|
export const Checkbox = Object.assign(VxeCheckboxComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeCheckboxComponent.name, VxeCheckboxComponent)
|
|
||||||
app.component(VxeCheckboxComponent.name, VxeCheckboxComponent)
|
app.component(VxeCheckboxComponent.name, VxeCheckboxComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeCheckboxComponent.name, VxeCheckboxComponent)
|
||||||
|
|
||||||
export default Checkbox
|
export default Checkbox
|
||||||
|
|||||||
@@ -4,12 +4,14 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Colgroup = Object.assign(VxeTableColgroupComponent, {
|
export const Colgroup = Object.assign(VxeTableColgroupComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeTableColgroupComponent.name, VxeTableColgroupComponent)
|
|
||||||
app.component(VxeTableColgroupComponent.name, VxeTableColgroupComponent)
|
app.component(VxeTableColgroupComponent.name, VxeTableColgroupComponent)
|
||||||
// 兼容旧用法
|
// 兼容旧用法
|
||||||
dynamicApp.component('VxeTableColgroup', VxeTableColgroupComponent)
|
|
||||||
app.component('VxeTableColgroup', VxeTableColgroupComponent)
|
app.component('VxeTableColgroup', VxeTableColgroupComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTableColgroupComponent.name, VxeTableColgroupComponent)
|
||||||
|
// 兼容旧用法
|
||||||
|
dynamicApp.component('VxeTableColgroup', VxeTableColgroupComponent)
|
||||||
|
|
||||||
export default Colgroup
|
export default Colgroup
|
||||||
|
|||||||
@@ -4,12 +4,14 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Column = Object.assign(VxeTableColumnComponent, {
|
export const Column = Object.assign(VxeTableColumnComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeTableColumnComponent.name, VxeTableColumnComponent)
|
|
||||||
app.component(VxeTableColumnComponent.name, VxeTableColumnComponent)
|
app.component(VxeTableColumnComponent.name, VxeTableColumnComponent)
|
||||||
// 兼容旧用法
|
// 兼容旧用法
|
||||||
dynamicApp.component('VxeTableColumn', VxeTableColumnComponent)
|
|
||||||
app.component('VxeTableColumn', VxeTableColumnComponent)
|
app.component('VxeTableColumn', VxeTableColumnComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTableColumnComponent.name, VxeTableColumnComponent)
|
||||||
|
// 兼容旧用法
|
||||||
|
dynamicApp.component('VxeTableColumn', VxeTableColumnComponent)
|
||||||
|
|
||||||
export default Column
|
export default Column
|
||||||
|
|||||||
@@ -35,11 +35,12 @@ export const Export = {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
VXETable.hooks.add('$tableExport', exportHook)
|
VXETable.hooks.add('$tableExport', exportHook)
|
||||||
dynamicApp.component(ExportPanelComponent.name, ExportPanelComponent)
|
|
||||||
dynamicApp.component(ImportPanelComponent.name, ImportPanelComponent)
|
|
||||||
app.component(ExportPanelComponent.name, ExportPanelComponent)
|
app.component(ExportPanelComponent.name, ExportPanelComponent)
|
||||||
app.component(ImportPanelComponent.name, ImportPanelComponent)
|
app.component(ImportPanelComponent.name, ImportPanelComponent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dynamicApp.component(ExportPanelComponent.name, ExportPanelComponent)
|
||||||
|
dynamicApp.component(ImportPanelComponent.name, ImportPanelComponent)
|
||||||
|
|
||||||
export default Export
|
export default Export
|
||||||
|
|||||||
@@ -8,9 +8,10 @@ export const Filter = {
|
|||||||
Panel: PanelComponent,
|
Panel: PanelComponent,
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
VXETable.hooks.add('$tableFilter', filterHook)
|
VXETable.hooks.add('$tableFilter', filterHook)
|
||||||
dynamicApp.component(PanelComponent.name, PanelComponent)
|
|
||||||
app.component(PanelComponent.name, PanelComponent)
|
app.component(PanelComponent.name, PanelComponent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dynamicApp.component(PanelComponent.name, PanelComponent)
|
||||||
|
|
||||||
export default Filter
|
export default Filter
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Footer = Object.assign(VxeTableFooterComponent, {
|
export const Footer = Object.assign(VxeTableFooterComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeTableFooterComponent.name, VxeTableFooterComponent)
|
|
||||||
app.component(VxeTableFooterComponent.name, VxeTableFooterComponent)
|
app.component(VxeTableFooterComponent.name, VxeTableFooterComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTableFooterComponent.name, VxeTableFooterComponent)
|
||||||
|
|
||||||
export default Footer
|
export default Footer
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const FormGather = Object.assign(VxeFormGatherComponent, {
|
export const FormGather = Object.assign(VxeFormGatherComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeFormGatherComponent.name, VxeFormGatherComponent)
|
|
||||||
app.component(VxeFormGatherComponent.name, VxeFormGatherComponent)
|
app.component(VxeFormGatherComponent.name, VxeFormGatherComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeFormGatherComponent.name, VxeFormGatherComponent)
|
||||||
|
|
||||||
export default FormGather
|
export default FormGather
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const FormItem = Object.assign(VxeFormItemComponent, {
|
export const FormItem = Object.assign(VxeFormItemComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeFormItemComponent.name, VxeFormItemComponent)
|
|
||||||
app.component(VxeFormItemComponent.name, VxeFormItemComponent)
|
app.component(VxeFormItemComponent.name, VxeFormItemComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeFormItemComponent.name, VxeFormItemComponent)
|
||||||
|
|
||||||
export default FormItem
|
export default FormItem
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Form = Object.assign(VxeFormComponent, {
|
export const Form = Object.assign(VxeFormComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeFormComponent.name, VxeFormComponent)
|
|
||||||
app.component(VxeFormComponent.name, VxeFormComponent)
|
app.component(VxeFormComponent.name, VxeFormComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeFormComponent.name, VxeFormComponent)
|
||||||
|
|
||||||
export default Form
|
export default Form
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Grid = Object.assign(VxeGridComponent, {
|
export const Grid = Object.assign(VxeGridComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeGridComponent.name, VxeGridComponent)
|
|
||||||
app.component(VxeGridComponent.name, VxeGridComponent)
|
app.component(VxeGridComponent.name, VxeGridComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeGridComponent.name, VxeGridComponent)
|
||||||
|
|
||||||
export default Grid
|
export default Grid
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Header = Object.assign(VxeTableHeader, {
|
export const Header = Object.assign(VxeTableHeader, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeTableHeader.name, VxeTableHeader)
|
|
||||||
app.component(VxeTableHeader.name, VxeTableHeader)
|
app.component(VxeTableHeader.name, VxeTableHeader)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTableHeader.name, VxeTableHeader)
|
||||||
|
|
||||||
export default Header
|
export default Header
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Input = Object.assign(VxeInputConstructor, {
|
export const Input = Object.assign(VxeInputConstructor, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeInputConstructor.name, VxeInputConstructor)
|
|
||||||
app.component(VxeInputConstructor.name, VxeInputConstructor)
|
app.component(VxeInputConstructor.name, VxeInputConstructor)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeInputConstructor.name, VxeInputConstructor)
|
||||||
|
|
||||||
export default Input
|
export default Input
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const List = Object.assign(VxeListComponent, {
|
export const List = Object.assign(VxeListComponent, {
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
dynamicApp.component(VxeListComponent.name, VxeListComponent)
|
|
||||||
app.component(VxeListComponent.name, VxeListComponent)
|
app.component(VxeListComponent.name, VxeListComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeListComponent.name, VxeListComponent)
|
||||||
|
|
||||||
export default List
|
export default List
|
||||||
|
|||||||
@@ -8,9 +8,10 @@ export const Menu = {
|
|||||||
Panel: PanelComponent,
|
Panel: PanelComponent,
|
||||||
install (app: App) {
|
install (app: App) {
|
||||||
VXETable.hooks.add('$tableMenu', menuHook)
|
VXETable.hooks.add('$tableMenu', menuHook)
|
||||||
dynamicApp.component(PanelComponent.name, PanelComponent)
|
|
||||||
app.component(PanelComponent.name, PanelComponent)
|
app.component(PanelComponent.name, PanelComponent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dynamicApp.component(PanelComponent.name, PanelComponent)
|
||||||
|
|
||||||
export default Menu
|
export default Menu
|
||||||
|
|||||||
@@ -98,10 +98,11 @@ export const modal = ModalController
|
|||||||
|
|
||||||
export const Modal = Object.assign(VxeModalComponent, {
|
export const Modal = Object.assign(VxeModalComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeModalComponent.name, VxeModalComponent)
|
|
||||||
app.component(VxeModalComponent.name, VxeModalComponent)
|
app.component(VxeModalComponent.name, VxeModalComponent)
|
||||||
VXETable.modal = ModalController
|
VXETable.modal = ModalController
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeModalComponent.name, VxeModalComponent)
|
||||||
|
|
||||||
export default Modal
|
export default Modal
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Optgroup = Object.assign(VxeOptgroupComponent, {
|
export const Optgroup = Object.assign(VxeOptgroupComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeOptgroupComponent.name, VxeOptgroupComponent)
|
|
||||||
app.component(VxeOptgroupComponent.name, VxeOptgroupComponent)
|
app.component(VxeOptgroupComponent.name, VxeOptgroupComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeOptgroupComponent.name, VxeOptgroupComponent)
|
||||||
|
|
||||||
export default Optgroup
|
export default Optgroup
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Option = Object.assign(VxeOptionComponent, {
|
export const Option = Object.assign(VxeOptionComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeOptionComponent.name, VxeOptionComponent)
|
|
||||||
app.component(VxeOptionComponent.name, VxeOptionComponent)
|
app.component(VxeOptionComponent.name, VxeOptionComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeOptionComponent.name, VxeOptionComponent)
|
||||||
|
|
||||||
export default Option
|
export default Option
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Pager = Object.assign(VxePagerComponent, {
|
export const Pager = Object.assign(VxePagerComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxePagerComponent.name, VxePagerComponent)
|
|
||||||
app.component(VxePagerComponent.name, VxePagerComponent)
|
app.component(VxePagerComponent.name, VxePagerComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxePagerComponent.name, VxePagerComponent)
|
||||||
|
|
||||||
export default Pager
|
export default Pager
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Pulldown = Object.assign(VxePulldownComponent, {
|
export const Pulldown = Object.assign(VxePulldownComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxePulldownComponent.name, VxePulldownComponent)
|
|
||||||
app.component(VxePulldownComponent.name, VxePulldownComponent)
|
app.component(VxePulldownComponent.name, VxePulldownComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxePulldownComponent.name, VxePulldownComponent)
|
||||||
|
|
||||||
export default Pulldown
|
export default Pulldown
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const RadioButton = Object.assign(VxeRadioButtonComponent, {
|
export const RadioButton = Object.assign(VxeRadioButtonComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeRadioButtonComponent.name, VxeRadioButtonComponent)
|
|
||||||
app.component(VxeRadioButtonComponent.name, VxeRadioButtonComponent)
|
app.component(VxeRadioButtonComponent.name, VxeRadioButtonComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeRadioButtonComponent.name, VxeRadioButtonComponent)
|
||||||
|
|
||||||
export default RadioButton
|
export default RadioButton
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const RadioGroup = Object.assign(VxeRadioGroupComponent, {
|
export const RadioGroup = Object.assign(VxeRadioGroupComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeRadioGroupComponent.name, VxeRadioGroupComponent)
|
|
||||||
app.component(VxeRadioGroupComponent.name, VxeRadioGroupComponent)
|
app.component(VxeRadioGroupComponent.name, VxeRadioGroupComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeRadioGroupComponent.name, VxeRadioGroupComponent)
|
||||||
|
|
||||||
export default RadioGroup
|
export default RadioGroup
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Radio = Object.assign(VxeRadioComponent, {
|
export const Radio = Object.assign(VxeRadioComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeRadioComponent.name, VxeRadioComponent)
|
|
||||||
app.component(VxeRadioComponent.name, VxeRadioComponent)
|
app.component(VxeRadioComponent.name, VxeRadioComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeRadioComponent.name, VxeRadioComponent)
|
||||||
|
|
||||||
export default Radio
|
export default Radio
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Select = Object.assign(VxeSelectComponent, {
|
export const Select = Object.assign(VxeSelectComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeSelectComponent.name, VxeSelectComponent)
|
|
||||||
app.component(VxeSelectComponent.name, VxeSelectComponent)
|
app.component(VxeSelectComponent.name, VxeSelectComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeSelectComponent.name, VxeSelectComponent)
|
||||||
|
|
||||||
export default Select
|
export default Select
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Switch = Object.assign(VxeSwitchComponent, {
|
export const Switch = Object.assign(VxeSwitchComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeSwitchComponent.name, VxeSwitchComponent)
|
|
||||||
app.component(VxeSwitchComponent.name, VxeSwitchComponent)
|
app.component(VxeSwitchComponent.name, VxeSwitchComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeSwitchComponent.name, VxeSwitchComponent)
|
||||||
|
|
||||||
export default Switch
|
export default Switch
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Table = Object.assign(VxeTableComponent, {
|
export const Table = Object.assign(VxeTableComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeTableComponent.name, VxeTableComponent)
|
|
||||||
app.component(VxeTableComponent.name, VxeTableComponent)
|
app.component(VxeTableComponent.name, VxeTableComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTableComponent.name, VxeTableComponent)
|
||||||
|
|
||||||
export default Table
|
export default Table
|
||||||
|
|||||||
@@ -5737,7 +5737,7 @@ export default defineComponent({
|
|||||||
if (props.editConfig && (editOpts.showStatus || editOpts.showUpdateStatus || editOpts.showInsertStatus) && !props.keepSource) {
|
if (props.editConfig && (editOpts.showStatus || editOpts.showUpdateStatus || editOpts.showInsertStatus) && !props.keepSource) {
|
||||||
warnLog('vxe.error.reqProp', ['keep-source'])
|
warnLog('vxe.error.reqProp', ['keep-source'])
|
||||||
}
|
}
|
||||||
if (treeConfig && treeOpts.line && (!props.rowKey || !rowOpts.useKey || !showOverflow)) {
|
if (treeConfig && treeOpts.line && (!(props.rowKey || rowOpts.useKey) || !showOverflow)) {
|
||||||
warnLog('vxe.error.reqProp', ['row-config.useKey | show-overflow'])
|
warnLog('vxe.error.reqProp', ['row-config.useKey | show-overflow'])
|
||||||
}
|
}
|
||||||
if (treeConfig && props.stripe) {
|
if (treeConfig && props.stripe) {
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Textarea = Object.assign(VxeTextareaComponent, {
|
export const Textarea = Object.assign(VxeTextareaComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeTextareaComponent.name, VxeTextareaComponent)
|
|
||||||
app.component(VxeTextareaComponent.name, VxeTextareaComponent)
|
app.component(VxeTextareaComponent.name, VxeTextareaComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTextareaComponent.name, VxeTextareaComponent)
|
||||||
|
|
||||||
export default Textarea
|
export default Textarea
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
|
|
||||||
export const Toolbar = Object.assign(VxeToolbarComponent, {
|
export const Toolbar = Object.assign(VxeToolbarComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
dynamicApp.component(VxeToolbarComponent.name, VxeToolbarComponent)
|
|
||||||
app.component(VxeToolbarComponent.name, VxeToolbarComponent)
|
app.component(VxeToolbarComponent.name, VxeToolbarComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeToolbarComponent.name, VxeToolbarComponent)
|
||||||
|
|
||||||
export default Toolbar
|
export default Toolbar
|
||||||
|
|||||||
@@ -6,9 +6,10 @@ import { dynamicApp } from '../dynamics'
|
|||||||
export const Tooltip = Object.assign(VxeTooltipComponent, {
|
export const Tooltip = Object.assign(VxeTooltipComponent, {
|
||||||
install: function (app: App) {
|
install: function (app: App) {
|
||||||
VXETable.tooltip = true
|
VXETable.tooltip = true
|
||||||
dynamicApp.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
|
||||||
app.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
app.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
dynamicApp.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
||||||
|
|
||||||
export default Tooltip
|
export default Tooltip
|
||||||
|
|||||||
Reference in New Issue
Block a user