diff --git a/package/component/src/component/avatar/index.ts b/package/component/src/component/avatar/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/avatar/index.ts +++ b/package/component/src/component/avatar/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/avatarList/index.ts b/package/component/src/component/avatarList/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/avatarList/index.ts +++ b/package/component/src/component/avatarList/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/backTop/index.ts b/package/component/src/component/backTop/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/backTop/index.ts +++ b/package/component/src/component/backTop/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/badge/index.ts b/package/component/src/component/badge/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/badge/index.ts +++ b/package/component/src/component/badge/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/body/index.ts b/package/component/src/component/body/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/body/index.ts +++ b/package/component/src/component/body/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/breadcrumb/index.ts b/package/component/src/component/breadcrumb/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/breadcrumb/index.ts +++ b/package/component/src/component/breadcrumb/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/breadcrumbItem/index.ts b/package/component/src/component/breadcrumbItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/breadcrumbItem/index.ts +++ b/package/component/src/component/breadcrumbItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/button/index.ts b/package/component/src/component/button/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/button/index.ts +++ b/package/component/src/component/button/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/buttonContainer/index.ts b/package/component/src/component/buttonContainer/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/buttonContainer/index.ts +++ b/package/component/src/component/buttonContainer/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/buttonGroup/index.ts b/package/component/src/component/buttonGroup/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/buttonGroup/index.ts +++ b/package/component/src/component/buttonGroup/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/card/index.ts b/package/component/src/component/card/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/card/index.ts +++ b/package/component/src/component/card/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/carousel/index.ts b/package/component/src/component/carousel/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/carousel/index.ts +++ b/package/component/src/component/carousel/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/carouselItem/index.ts b/package/component/src/component/carouselItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/carouselItem/index.ts +++ b/package/component/src/component/carouselItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/checkbox/index.ts b/package/component/src/component/checkbox/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/checkbox/index.ts +++ b/package/component/src/component/checkbox/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/checkboxGroup/index.ts b/package/component/src/component/checkboxGroup/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/checkboxGroup/index.ts +++ b/package/component/src/component/checkboxGroup/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/col/index.ts b/package/component/src/component/col/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/col/index.ts +++ b/package/component/src/component/col/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/collapse/index.ts b/package/component/src/component/collapse/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/collapse/index.ts +++ b/package/component/src/component/collapse/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/collapseItem/index.ts b/package/component/src/component/collapseItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/collapseItem/index.ts +++ b/package/component/src/component/collapseItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/colorPicker/index.ts b/package/component/src/component/colorPicker/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/colorPicker/index.ts +++ b/package/component/src/component/colorPicker/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/container/index.ts b/package/component/src/component/container/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/container/index.ts +++ b/package/component/src/component/container/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/countUp/index.ts b/package/component/src/component/countUp/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/countUp/index.ts +++ b/package/component/src/component/countUp/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/datePicker/index.ts b/package/component/src/component/datePicker/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/datePicker/index.ts +++ b/package/component/src/component/datePicker/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/dropdown/index.ts b/package/component/src/component/dropdown/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/dropdown/index.ts +++ b/package/component/src/component/dropdown/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/dropdownMenu/index.ts b/package/component/src/component/dropdownMenu/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/dropdownMenu/index.ts +++ b/package/component/src/component/dropdownMenu/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/dropdownMenuItem/index.ts b/package/component/src/component/dropdownMenuItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/dropdownMenuItem/index.ts +++ b/package/component/src/component/dropdownMenuItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/empty/index.ts b/package/component/src/component/empty/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/empty/index.ts +++ b/package/component/src/component/empty/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/exception/index.ts b/package/component/src/component/exception/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/exception/index.ts +++ b/package/component/src/component/exception/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/field/index.ts b/package/component/src/component/field/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/field/index.ts +++ b/package/component/src/component/field/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/footer/index.ts b/package/component/src/component/footer/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/footer/index.ts +++ b/package/component/src/component/footer/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/form/index.ts b/package/component/src/component/form/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/form/index.ts +++ b/package/component/src/component/form/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/formItem/index.ts b/package/component/src/component/formItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/formItem/index.ts +++ b/package/component/src/component/formItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/fullscreen/index.ts b/package/component/src/component/fullscreen/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/fullscreen/index.ts +++ b/package/component/src/component/fullscreen/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/header/index.ts b/package/component/src/component/header/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/header/index.ts +++ b/package/component/src/component/header/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/icon/index.ts b/package/component/src/component/icon/index.ts index 44ce9486..8950d776 100644 --- a/package/component/src/component/icon/index.ts +++ b/package/component/src/component/icon/index.ts @@ -1,5 +1,5 @@ import { LayIcon as Component } from "@layui/icons-vue"; -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/iconPicker/index.ts b/package/component/src/component/iconPicker/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/iconPicker/index.ts +++ b/package/component/src/component/iconPicker/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/input/index.ts b/package/component/src/component/input/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/input/index.ts +++ b/package/component/src/component/input/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/inputNumber/index.ts b/package/component/src/component/inputNumber/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/inputNumber/index.ts +++ b/package/component/src/component/inputNumber/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/layout/index.ts b/package/component/src/component/layout/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/layout/index.ts +++ b/package/component/src/component/layout/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/line/index.ts b/package/component/src/component/line/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/line/index.ts +++ b/package/component/src/component/line/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/logo/index.ts b/package/component/src/component/logo/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/logo/index.ts +++ b/package/component/src/component/logo/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/menu/index.ts b/package/component/src/component/menu/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/menu/index.ts +++ b/package/component/src/component/menu/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/menuItem/index.ts b/package/component/src/component/menuItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/menuItem/index.ts +++ b/package/component/src/component/menuItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/noticeBar/index.ts b/package/component/src/component/noticeBar/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/noticeBar/index.ts +++ b/package/component/src/component/noticeBar/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/page/index.ts b/package/component/src/component/page/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/page/index.ts +++ b/package/component/src/component/page/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/panel/index.ts b/package/component/src/component/panel/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/panel/index.ts +++ b/package/component/src/component/panel/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/progress/index.ts b/package/component/src/component/progress/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/progress/index.ts +++ b/package/component/src/component/progress/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/quote/index.ts b/package/component/src/component/quote/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/quote/index.ts +++ b/package/component/src/component/quote/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/radio/index.ts b/package/component/src/component/radio/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/radio/index.ts +++ b/package/component/src/component/radio/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/rate/index.ts b/package/component/src/component/rate/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/rate/index.ts +++ b/package/component/src/component/rate/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/result/index.ts b/package/component/src/component/result/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/result/index.ts +++ b/package/component/src/component/result/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/ripple/index.ts b/package/component/src/component/ripple/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/ripple/index.ts +++ b/package/component/src/component/ripple/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/row/index.ts b/package/component/src/component/row/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/row/index.ts +++ b/package/component/src/component/row/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/scroll/index.ts b/package/component/src/component/scroll/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/scroll/index.ts +++ b/package/component/src/component/scroll/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/select/index.ts b/package/component/src/component/select/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/select/index.ts +++ b/package/component/src/component/select/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/selectOption/index.ts b/package/component/src/component/selectOption/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/selectOption/index.ts +++ b/package/component/src/component/selectOption/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/side/index.ts b/package/component/src/component/side/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/side/index.ts +++ b/package/component/src/component/side/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/skeleton/index.ts b/package/component/src/component/skeleton/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/skeleton/index.ts +++ b/package/component/src/component/skeleton/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/skeletonItem/index.ts b/package/component/src/component/skeletonItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/skeletonItem/index.ts +++ b/package/component/src/component/skeletonItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/slider/index.ts b/package/component/src/component/slider/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/slider/index.ts +++ b/package/component/src/component/slider/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/splitPanel/index.ts b/package/component/src/component/splitPanel/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/splitPanel/index.ts +++ b/package/component/src/component/splitPanel/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/splitPanelItem/index.ts b/package/component/src/component/splitPanelItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/splitPanelItem/index.ts +++ b/package/component/src/component/splitPanelItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/step/index.ts b/package/component/src/component/step/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/step/index.ts +++ b/package/component/src/component/step/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/stepItem/index.ts b/package/component/src/component/stepItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/stepItem/index.ts +++ b/package/component/src/component/stepItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/subMenu/index.ts b/package/component/src/component/subMenu/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/subMenu/index.ts +++ b/package/component/src/component/subMenu/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/switch/index.ts b/package/component/src/component/switch/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/switch/index.ts +++ b/package/component/src/component/switch/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/tab/index.ts b/package/component/src/component/tab/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/tab/index.ts +++ b/package/component/src/component/tab/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/tabItem/index.ts b/package/component/src/component/tabItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/tabItem/index.ts +++ b/package/component/src/component/tabItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/table/index.ts b/package/component/src/component/table/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/table/index.ts +++ b/package/component/src/component/table/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/textarea/index.ts b/package/component/src/component/textarea/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/textarea/index.ts +++ b/package/component/src/component/textarea/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/timeline/index.ts b/package/component/src/component/timeline/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/timeline/index.ts +++ b/package/component/src/component/timeline/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/timelineItem/index.ts b/package/component/src/component/timelineItem/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/timelineItem/index.ts +++ b/package/component/src/component/timelineItem/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/tooltip/index.ts b/package/component/src/component/tooltip/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/tooltip/index.ts +++ b/package/component/src/component/tooltip/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/transfer/index.ts b/package/component/src/component/transfer/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/transfer/index.ts +++ b/package/component/src/component/transfer/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/transition/index.ts b/package/component/src/component/transition/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/transition/index.ts +++ b/package/component/src/component/transition/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/tree/index.ts b/package/component/src/component/tree/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/tree/index.ts +++ b/package/component/src/component/tree/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/component/upload/index.ts b/package/component/src/component/upload/index.ts index f747fde1..bc751ebc 100644 --- a/package/component/src/component/upload/index.ts +++ b/package/component/src/component/upload/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../../utils"; +import { withInstall, WithInstallType } from "../../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/index.ts b/package/component/src/index.ts index 88ae5012..0d53f808 100644 --- a/package/component/src/index.ts +++ b/package/component/src/index.ts @@ -1,11 +1,10 @@ -import type { App, Component } from "vue"; +import type { App, Plugin } from "vue"; import "./theme/index.less"; import "@layui/layer-vue/lib/index.css"; import "@layui/icons-vue/lib/index.css"; import { layer } from "@layui/layer-vue"; import layerInstall from "@layui/layer-vue"; -import i18n from "./language"; import LayBacktop from "./component/backTop/index"; import LayAvatar from "./component/avatar/index"; @@ -86,7 +85,7 @@ import LayNoticeBar from "./component/noticeBar/index"; import LayConfigProvider from "./provider"; import { InstallOptions } from "./types"; -const components: Record = { +const components: Record = { LaySplitPanel, LaySplitPanelItem, LayRadio, @@ -167,11 +166,9 @@ const components: Record = { }; const install = (app: App, options?: InstallOptions): void => { - for (const key in components) { - const item = components[key]; - app.component(item.name || key, item); + for (const key of Object.keys(components)) { + app.use(components[key], options); } - app.use(i18n); app.use(layerInstall); }; diff --git a/package/component/src/provider/index.ts b/package/component/src/provider/index.ts index 7769681d..59842a96 100644 --- a/package/component/src/provider/index.ts +++ b/package/component/src/provider/index.ts @@ -1,5 +1,5 @@ -import { withInstall } from "../utils"; +import { withInstall, WithInstallType } from "../utils"; import Component from "./index.vue"; -const component = withInstall(Component); +const component: WithInstallType = withInstall(Component); export default component; diff --git a/package/component/src/utils/index.ts b/package/component/src/utils/index.ts index 2b675816..2a9b0188 100644 --- a/package/component/src/utils/index.ts +++ b/package/component/src/utils/index.ts @@ -1,3 +1,3 @@ export * from "./domUtil"; export * from "./guidUtil"; -export * from "./install"; +export * from "./withInstall"; diff --git a/package/component/src/utils/install.ts b/package/component/src/utils/install.ts deleted file mode 100644 index 06688e1c..00000000 --- a/package/component/src/utils/install.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { App } from "vue"; -import i18n from "../language"; - -export const withInstall = (comp: any) => { - comp.install = (app: App | any) => { - if ( - !app._instance?.isCE && - !app._instance?.appContext?.app?.__VUE_I18N_SYMBOL__ - ) { - app.use(i18n); - } - - app.component(comp.name, comp); - }; - - return comp; -}; diff --git a/package/component/src/utils/withInstall.ts b/package/component/src/utils/withInstall.ts new file mode 100644 index 00000000..4885895b --- /dev/null +++ b/package/component/src/utils/withInstall.ts @@ -0,0 +1,17 @@ +import type { App, Plugin } from "vue"; +import i18n from "../language"; + +export type WithInstallType = T & Plugin; + +export const withInstall = (comp: T): T & Plugin => { + const component = comp as any; + + component.install = (app: App | any) => { + if (!app.__VUE_I18N_SYMBOL__) { + app.use(i18n); + } + app.component(component.name, comp); + }; + + return component as T & Plugin; +}; diff --git a/package/document/components.d.ts b/package/document/components.d.ts index 8b006cd5..45395ca3 100644 --- a/package/document/components.d.ts +++ b/package/document/components.d.ts @@ -33,85 +33,85 @@ declare module '@vue/runtime-core' { IconPicker: typeof import('./src/document/zh-CN/components/iconPicker.md')['default'] Input: typeof import('./src/document/zh-CN/components/input.md')['default'] InputNumber: typeof import('./src/document/zh-CN/components/inputNumber.md')['default'] - LayAvatar: typeof import('@layui/layui-vue')['LayAvatar'] - LayAvatarList: typeof import('@layui/layui-vue')['LayAvatarList'] - LayBacktop: typeof import('@layui/layui-vue')['LayBacktop'] + LayAvatar: typeof import("@layui/layui-vue")["LayAvatar"]; + LayAvatarList: typeof import("@layui/layui-vue")["LayAvatarList"]; + LayBacktop: typeof import("@layui/layui-vue")["LayBacktop"]; LayBadge: typeof import('@layui/layui-vue')['LayBadge'] LayBody: typeof import('@layui/layui-vue')['LayBody'] - LayBreadcrumb: typeof import('@layui/layui-vue')['LayBreadcrumb'] - LayBreadcrumbItem: typeof import('@layui/layui-vue')['LayBreadcrumbItem'] + LayBreadcrumb: typeof import("@layui/layui-vue")["LayBreadcrumb"]; + LayBreadcrumbItem: typeof import("@layui/layui-vue")["LayBreadcrumbItem"]; LayButton: typeof import('@layui/layui-vue')['LayButton'] - LayButtonContainer: typeof import('@layui/layui-vue')['LayButtonContainer'] - LayButtonGroup: typeof import('@layui/layui-vue')['LayButtonGroup'] - LayCard: typeof import('@layui/layui-vue')['LayCard'] - LayCarousel: typeof import('@layui/layui-vue')['LayCarousel'] - LayCarouselItem: typeof import('@layui/layui-vue')['LayCarouselItem'] - LayCheckbox: typeof import('@layui/layui-vue')['LayCheckbox'] - LayCheckboxGroup: typeof import('@layui/layui-vue')['LayCheckboxGroup'] - LayCol: typeof import('@layui/layui-vue')['LayCol'] - LayCollapse: typeof import('@layui/layui-vue')['LayCollapse'] - LayCollapseItem: typeof import('@layui/layui-vue')['LayCollapseItem'] + LayButtonContainer: typeof import("@layui/layui-vue")["LayButtonContainer"]; + LayButtonGroup: typeof import("@layui/layui-vue")["LayButtonGroup"]; + LayCard: typeof import("@layui/layui-vue")["LayCard"]; + LayCarousel: typeof import("@layui/layui-vue")["LayCarousel"]; + LayCarouselItem: typeof import("@layui/layui-vue")["LayCarouselItem"]; + LayCheckbox: typeof import("@layui/layui-vue")["LayCheckbox"]; + LayCheckboxGroup: typeof import("@layui/layui-vue")["LayCheckboxGroup"]; + LayCol: typeof import("@layui/layui-vue")["LayCol"]; + LayCollapse: typeof import("@layui/layui-vue")["LayCollapse"]; + LayCollapseItem: typeof import("@layui/layui-vue")["LayCollapseItem"]; LayColorPicker: typeof import('@layui/layui-vue')['LayColorPicker'] LayConfigProvider: typeof import('@layui/layui-vue')['LayConfigProvider'] - LayContainer: typeof import('@layui/layui-vue')['LayContainer'] - LayCountUp: typeof import('@layui/layui-vue')['LayCountUp'] + LayContainer: typeof import("@layui/layui-vue")["LayContainer"]; + LayCountUp: typeof import("@layui/layui-vue")["LayCountUp"]; LayDropdown: typeof import('@layui/layui-vue')['LayDropdown'] - LayDropdownMenu: typeof import('@layui/layui-vue')['LayDropdownMenu'] - LayDropdownMenuItem: typeof import('@layui/layui-vue')['LayDropdownMenuItem'] - LayEmpty: typeof import('@layui/layui-vue')['LayEmpty'] + LayDropdownMenu: typeof import("@layui/layui-vue")["LayDropdownMenu"]; + LayDropdownMenuItem: typeof import("@layui/layui-vue")["LayDropdownMenuItem"]; + LayEmpty: typeof import("@layui/layui-vue")["LayEmpty"]; Layer: typeof import('./src/document/zh-CN/components/layer.md')['default'] - LayException: typeof import('@layui/layui-vue')['LayException'] - LayField: typeof import('@layui/layui-vue')['LayField'] - LayFooter: typeof import('@layui/layui-vue')['LayFooter'] + LayException: typeof import("@layui/layui-vue")["LayException"]; + LayField: typeof import("@layui/layui-vue")["LayField"]; + LayFooter: typeof import("@layui/layui-vue")["LayFooter"]; LayForm: typeof import('@layui/layui-vue')['LayForm'] - LayFormItem: typeof import('@layui/layui-vue')['LayFormItem'] - LayFullscreen: typeof import('@layui/layui-vue')['LayFullscreen'] + LayFormItem: typeof import("@layui/layui-vue")["LayFormItem"]; + LayFullscreen: typeof import("@layui/layui-vue")["LayFullscreen"]; LayHeader: typeof import('@layui/layui-vue')['LayHeader'] LayIcon: typeof import('@layui/icons-vue')['LayIcon'] - LayIconPicker: typeof import('@layui/layui-vue')['LayIconPicker'] + LayIconPicker: typeof import("@layui/layui-vue")["LayIconPicker"]; LayInput: typeof import('@layui/layui-vue')['LayInput'] - LayInputNumber: typeof import('@layui/layui-vue')['LayInputNumber'] - LayLayer: typeof import('@layui/layer-vue')['LayLayer'] + LayInputNumber: typeof import("@layui/layui-vue")["LayInputNumber"]; + LayLayer: typeof import("@layui/layer-vue")["LayLayer"]; LayLayout: typeof import('@layui/layui-vue')['LayLayout'] - LayLine: typeof import('@layui/layui-vue')['LayLine'] + LayLine: typeof import("@layui/layui-vue")["LayLine"]; LayLogo: typeof import('@layui/layui-vue')['LayLogo'] - LayMenu: typeof import('@layui/layui-vue')['LayMenu'] - LayMenuItem: typeof import('@layui/layui-vue')['LayMenuItem'] - LayNoticeBar: typeof import('@layui/layui-vue')['LayNoticeBar'] + LayMenu: typeof import("@layui/layui-vue")["LayMenu"]; + LayMenuItem: typeof import("@layui/layui-vue")["LayMenuItem"]; + LayNoticeBar: typeof import("@layui/layui-vue")["LayNoticeBar"]; Layout: typeof import('./src/document/zh-CN/components/layout.md')['default'] - LayPage: typeof import('@layui/layui-vue')['LayPage'] - LayPanel: typeof import('@layui/layui-vue')['LayPanel'] - LayProgress: typeof import('@layui/layui-vue')['LayProgress'] - LayQuote: typeof import('@layui/layui-vue')['LayQuote'] - LayRadio: typeof import('@layui/layui-vue')['LayRadio'] - LayRate: typeof import('@layui/layui-vue')['LayRate'] - LayResult: typeof import('@layui/layui-vue')['LayResult'] - LayRipple: typeof import('@layui/layui-vue')['LayRipple'] - LayRow: typeof import('@layui/layui-vue')['LayRow'] + LayPage: typeof import("@layui/layui-vue")["LayPage"]; + LayPanel: typeof import("@layui/layui-vue")["LayPanel"]; + LayProgress: typeof import("@layui/layui-vue")["LayProgress"]; + LayQuote: typeof import("@layui/layui-vue")["LayQuote"]; + LayRadio: typeof import("@layui/layui-vue")["LayRadio"]; + LayRate: typeof import("@layui/layui-vue")["LayRate"]; + LayResult: typeof import("@layui/layui-vue")["LayResult"]; + LayRipple: typeof import("@layui/layui-vue")["LayRipple"]; + LayRow: typeof import("@layui/layui-vue")["LayRow"]; LayScroll: typeof import('@layui/layui-vue')['LayScroll'] - LaySelect: typeof import('@layui/layui-vue')['LaySelect'] - LaySelectOption: typeof import('@layui/layui-vue')['LaySelectOption'] + LaySelect: typeof import("@layui/layui-vue")["LaySelect"]; + LaySelectOption: typeof import("@layui/layui-vue")["LaySelectOption"]; LaySide: typeof import('@layui/layui-vue')['LaySide'] - LaySkeleton: typeof import('@layui/layui-vue')['LaySkeleton'] - LaySkeletonItem: typeof import('@layui/layui-vue')['LaySkeletonItem'] - LaySlider: typeof import('@layui/layui-vue')['LaySlider'] - LaySplitPanel: typeof import('@layui/layui-vue')['LaySplitPanel'] - LaySplitPanelItem: typeof import('@layui/layui-vue')['LaySplitPanelItem'] - LayStep: typeof import('@layui/layui-vue')['LayStep'] - LayStepItem: typeof import('@layui/layui-vue')['LayStepItem'] - LaySubMenu: typeof import('@layui/layui-vue')['LaySubMenu'] + LaySkeleton: typeof import("@layui/layui-vue")["LaySkeleton"]; + LaySkeletonItem: typeof import("@layui/layui-vue")["LaySkeletonItem"]; + LaySlider: typeof import("@layui/layui-vue")["LaySlider"]; + LaySplitPanel: typeof import("@layui/layui-vue")["LaySplitPanel"]; + LaySplitPanelItem: typeof import("@layui/layui-vue")["LaySplitPanelItem"]; + LayStep: typeof import("@layui/layui-vue")["LayStep"]; + LayStepItem: typeof import("@layui/layui-vue")["LayStepItem"]; + LaySubMenu: typeof import("@layui/layui-vue")["LaySubMenu"]; LaySwitch: typeof import('@layui/layui-vue')['LaySwitch'] - LayTab: typeof import('@layui/layui-vue')['LayTab'] - LayTabItem: typeof import('@layui/layui-vue')['LayTabItem'] - LayTable: typeof import('@layui/layui-vue')['LayTable'] - LayTextarea: typeof import('@layui/layui-vue')['LayTextarea'] - LayTimeline: typeof import('@layui/layui-vue')['LayTimeline'] - LayTimelineItem: typeof import('@layui/layui-vue')['LayTimelineItem'] - LayTooltip: typeof import('@layui/layui-vue')['LayTooltip'] - LayTransfer: typeof import('@layui/layui-vue')['LayTransfer'] - LayTransition: typeof import('@layui/layui-vue')['LayTransition'] - LayTree: typeof import('@layui/layui-vue')['LayTree'] - LayUpload: typeof import('@layui/layui-vue')['LayUpload'] + LayTab: typeof import("@layui/layui-vue")["LayTab"]; + LayTabItem: typeof import("@layui/layui-vue")["LayTabItem"]; + LayTable: typeof import("@layui/layui-vue")["LayTable"]; + LayTextarea: typeof import("@layui/layui-vue")["LayTextarea"]; + LayTimeline: typeof import("@layui/layui-vue")["LayTimeline"]; + LayTimelineItem: typeof import("@layui/layui-vue")["LayTimelineItem"]; + LayTooltip: typeof import("@layui/layui-vue")["LayTooltip"]; + LayTransfer: typeof import("@layui/layui-vue")["LayTransfer"]; + LayTransition: typeof import("@layui/layui-vue")["LayTransition"]; + LayTree: typeof import("@layui/layui-vue")["LayTree"]; + LayUpload: typeof import("@layui/layui-vue")["LayUpload"]; Line: typeof import('./src/document/zh-CN/components/line.md')['default'] Load: typeof import('./src/document/zh-CN/components/load.md')['default'] Menu: typeof import('./src/document/zh-CN/components/menu.md')['default']