: 添加 withInstall 函数

This commit is contained in:
sight 2022-04-29 22:21:20 +08:00
parent 53697131b6
commit 813c56f86a
78 changed files with 235 additions and 391 deletions

View File

@ -1,8 +1,5 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export const component = withInstall(Component);
export default component;

View File

@ -1,8 +1,5 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export const component = withInstall(Component);
export default component;

View File

@ -1,8 +1,5 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export const component = withInstall(Component);
export default component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,5 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component("LayColorPicker", Component);
};
export default Component;
export const component = withInstall(Component);
export default component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { LayIcon as Component } from "@layui/icons-vue";
import { withInstall } from "../../utils"
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export const component = withInstall(Component);
export default component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,6 @@
import type { App } from "vue";
import { withInstall } from "../../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export const component = withInstall(Component);
export default component;
export default Component;

View File

@ -1,8 +1,5 @@
import type { App } from "vue";
import { withInstall } from "../utils"
import Component from "./index.vue";
Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export const component = withInstall(Component);
export default component;

View File

@ -0,0 +1,3 @@
export * from "./domUtil"
export * from "./guidUtil"
export * from "./install"