ai-front-base 0.1.12 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AiAside/index.mjs +4 -0
- package/dist/components/AiAside/index.vue.mjs +20 -0
- package/dist/components/AiAside/types.ts +6 -0
- package/dist/components/AiBadge/index.mjs +4 -0
- package/dist/components/AiBadge/index.vue.mjs +20 -0
- package/dist/components/AiBadge/types.ts +10 -0
- package/dist/components/AiBreadcrumb/index.mjs +4 -0
- package/dist/components/AiBreadcrumb/index.vue.mjs +20 -0
- package/dist/components/AiBreadcrumb/types.ts +7 -0
- package/dist/components/AiCheckbox/index.mjs +4 -0
- package/dist/components/AiCheckbox/index.vue.mjs +20 -0
- package/dist/components/AiCheckbox/types.ts +14 -0
- package/dist/components/AiContainer/index.mjs +4 -0
- package/dist/components/AiContainer/index.vue.mjs +20 -0
- package/dist/components/AiContainer/types.ts +6 -0
- package/dist/components/AiDatePicker/index.mjs +4 -0
- package/dist/components/AiDatePicker/index.vue.mjs +15 -0
- package/dist/components/AiDatePicker/types.ts +17 -0
- package/dist/components/AiDialog/index.mjs +4 -0
- package/dist/components/AiDialog/index.vue.mjs +20 -0
- package/dist/components/AiDialog/types.ts +11 -0
- package/dist/components/AiFooter/index.mjs +4 -0
- package/dist/components/AiFooter/index.vue.mjs +20 -0
- package/dist/components/AiFooter/types.ts +6 -0
- package/dist/components/AiHeader/index.mjs +4 -0
- package/dist/components/AiHeader/index.vue.mjs +20 -0
- package/dist/components/AiHeader/types.ts +6 -0
- package/dist/components/AiLoading/index.mjs +5 -0
- package/dist/components/AiLoading/types.ts +7 -0
- package/dist/components/AiMain/index.mjs +4 -0
- package/dist/components/AiMain/index.vue.mjs +20 -0
- package/dist/components/AiMain/types.ts +4 -0
- package/dist/components/AiMenu/index.mjs +4 -0
- package/dist/components/AiMenu/index.vue.mjs +20 -0
- package/dist/components/AiMenu/types.ts +9 -0
- package/dist/components/AiMessage/index.mjs +5 -0
- package/dist/components/AiMessage/types.ts +9 -0
- package/dist/components/AiNotification/index.mjs +5 -0
- package/dist/components/AiNotification/types.ts +10 -0
- package/dist/components/AiPagination/index.mjs +4 -0
- package/dist/components/AiPagination/index.vue.mjs +15 -0
- package/dist/components/AiPagination/types.ts +9 -0
- package/dist/components/AiProgress/index.mjs +4 -0
- package/dist/components/AiProgress/index.vue.mjs +15 -0
- package/dist/components/AiProgress/types.ts +10 -0
- package/dist/components/AiRadio/index.mjs +4 -0
- package/dist/components/AiRadio/index.vue.mjs +20 -0
- package/dist/components/AiRadio/types.ts +8 -0
- package/dist/components/AiSwitch/index.mjs +4 -0
- package/dist/components/AiSwitch/index.vue.mjs +15 -0
- package/dist/components/AiSwitch/types.ts +9 -0
- package/dist/components/AiTabs/index.mjs +4 -0
- package/dist/components/AiTabs/index.vue.mjs +20 -0
- package/dist/components/AiTabs/types.ts +9 -0
- package/dist/components/AiTag/index.mjs +4 -0
- package/dist/components/AiTag/index.vue.mjs +20 -0
- package/dist/components/AiTag/types.ts +9 -0
- package/dist/components/AiTimePicker/index.mjs +4 -0
- package/dist/components/AiTimePicker/index.vue.mjs +15 -0
- package/dist/components/AiTimePicker/types.ts +16 -0
- package/dist/components/AiUpload/index.mjs +4 -0
- package/dist/components/AiUpload/index.vue.mjs +20 -0
- package/dist/components/AiUpload/types.ts +11 -0
- package/dist/components/README.md +36 -5
- package/dist/index.mjs +52 -8
- package/dist/layouts/government.md +203 -58
- package/dist/layouts/union.md +208 -57
- package/dist/standards/README.md +45 -0
- package/dist/styles/README.md +155 -17
- package/dist/styles/blue.scss +68 -4
- package/dist/styles/dark.scss +69 -5
- package/dist/styles/element-plus-theme.css +52 -0
- package/dist/styles/index.css +70 -0
- package/dist/styles/light-blue.scss +68 -4
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as r, openBlock as n, createBlock as s, normalizeProps as a, guardReactiveProps as i, withCtx as l, renderSlot as p } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ o({
|
|
3
|
+
name: "AiAside",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(d) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const t = r("el-aside");
|
|
9
|
+
return n(), s(t, a(i(e.$attrs)), {
|
|
10
|
+
default: l(() => [
|
|
11
|
+
p(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as r, openBlock as n, createBlock as a, normalizeProps as s, guardReactiveProps as l, withCtx as p, renderSlot as d } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ o({
|
|
3
|
+
name: "AiBadge",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(i) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const t = r("el-badge");
|
|
9
|
+
return n(), a(t, s(l(e.$attrs)), {
|
|
10
|
+
default: p(() => [
|
|
11
|
+
d(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as t, resolveComponent as o, openBlock as n, createBlock as a, normalizeProps as s, guardReactiveProps as c, withCtx as m, renderSlot as l } from "vue";
|
|
2
|
+
const i = /* @__PURE__ */ t({
|
|
3
|
+
name: "AiBreadcrumb",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(p) {
|
|
7
|
+
return (e, u) => {
|
|
8
|
+
const r = o("el-breadcrumb");
|
|
9
|
+
return n(), a(r, s(c(e.$attrs)), {
|
|
10
|
+
default: m(() => [
|
|
11
|
+
l(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
i as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as c, normalizeProps as a, guardReactiveProps as s, withCtx as l, renderSlot as p } from "vue";
|
|
2
|
+
const u = /* @__PURE__ */ t({
|
|
3
|
+
name: "AiCheckbox",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(i) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const o = r("el-checkbox");
|
|
9
|
+
return n(), c(o, a(s(e.$attrs)), {
|
|
10
|
+
default: l(() => [
|
|
11
|
+
p(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
u as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AiCheckbox - 复选框
|
|
3
|
+
* 基于 Element Plus Checkbox 封装
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* <AiCheckbox v-model="checked">选项</AiCheckbox>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface AiCheckboxProps {
|
|
10
|
+
modelValue?: boolean | string | number
|
|
11
|
+
label?: string | number | boolean
|
|
12
|
+
disabled?: boolean
|
|
13
|
+
indeterminate?: boolean
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as o, openBlock as r, createBlock as a, normalizeProps as i, guardReactiveProps as s, withCtx as c, renderSlot as l } from "vue";
|
|
2
|
+
const u = /* @__PURE__ */ n({
|
|
3
|
+
name: "AiContainer",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(p) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const t = o("el-container");
|
|
9
|
+
return r(), a(t, i(s(e.$attrs)), {
|
|
10
|
+
default: c(() => [
|
|
11
|
+
l(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
u as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as n, openBlock as o, createBlock as a, normalizeProps as c, guardReactiveProps as p } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ r({
|
|
3
|
+
name: "AiDatePicker",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(i) {
|
|
7
|
+
return (e, s) => {
|
|
8
|
+
const t = n("el-date-picker");
|
|
9
|
+
return o(), a(t, c(p(e.$attrs)), null, 16);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
l as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AiDatePicker - 日期选择器
|
|
3
|
+
* 基于 Element Plus DatePicker 封装
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* <AiDatePicker v-model="date" type="date" placeholder="选择日期" />
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface AiDatePickerProps {
|
|
10
|
+
modelValue?: Date | string | number
|
|
11
|
+
type?: 'year' | 'month' | 'date' | 'dates' | 'datetime' | 'week' | 'datetimerange' | 'daterange' | 'monthrange'
|
|
12
|
+
placeholder?: string
|
|
13
|
+
disabled?: boolean
|
|
14
|
+
clearable?: boolean
|
|
15
|
+
format?: string
|
|
16
|
+
valueFormat?: string
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as a, normalizeProps as l, guardReactiveProps as i, withCtx as s, renderSlot as p } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ t({
|
|
3
|
+
name: "AiDialog",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(_) {
|
|
7
|
+
return (e, c) => {
|
|
8
|
+
const o = r("el-dialog");
|
|
9
|
+
return n(), a(o, l(i(e.$attrs)), {
|
|
10
|
+
default: s(() => [
|
|
11
|
+
p(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as a, normalizeProps as s, guardReactiveProps as l, withCtx as p, renderSlot as i } from "vue";
|
|
2
|
+
const f = /* @__PURE__ */ t({
|
|
3
|
+
name: "AiFooter",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(_) {
|
|
7
|
+
return (e, c) => {
|
|
8
|
+
const o = r("el-footer");
|
|
9
|
+
return n(), a(o, s(l(e.$attrs)), {
|
|
10
|
+
default: p(() => [
|
|
11
|
+
i(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as o, openBlock as n, createBlock as a, normalizeProps as s, guardReactiveProps as l, withCtx as p, renderSlot as d } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ r({
|
|
3
|
+
name: "AiHeader",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(i) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const t = o("el-header");
|
|
9
|
+
return n(), a(t, s(l(e.$attrs)), {
|
|
10
|
+
default: p(() => [
|
|
11
|
+
d(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as o, openBlock as r, createBlock as a, normalizeProps as i, guardReactiveProps as s, withCtx as l, renderSlot as m } from "vue";
|
|
2
|
+
const u = /* @__PURE__ */ n({
|
|
3
|
+
name: "AiMain",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(p) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const t = o("el-main");
|
|
9
|
+
return r(), a(t, i(s(e.$attrs)), {
|
|
10
|
+
default: l(() => [
|
|
11
|
+
m(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
u as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as o, openBlock as r, createBlock as a, normalizeProps as s, guardReactiveProps as l, withCtx as m, renderSlot as p } from "vue";
|
|
2
|
+
const c = /* @__PURE__ */ n({
|
|
3
|
+
name: "AiMenu",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(u) {
|
|
7
|
+
return (e, i) => {
|
|
8
|
+
const t = o("el-menu");
|
|
9
|
+
return r(), a(t, s(l(e.$attrs)), {
|
|
10
|
+
default: m(() => [
|
|
11
|
+
p(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
c as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as t, openBlock as r, createBlock as a, normalizeProps as i, guardReactiveProps as p } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ o({
|
|
3
|
+
name: "AiPagination",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(s) {
|
|
7
|
+
return (e, c) => {
|
|
8
|
+
const n = t("el-pagination");
|
|
9
|
+
return r(), a(n, i(p(e.$attrs)), null, 16);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
l as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as n, openBlock as t, createBlock as s, normalizeProps as p, guardReactiveProps as a } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ o({
|
|
3
|
+
name: "AiProgress",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(c) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const r = n("el-progress");
|
|
9
|
+
return t(), s(r, p(a(e.$attrs)), null, 16);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
l as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as a, normalizeProps as i, guardReactiveProps as s, withCtx as l, renderSlot as p } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ t({
|
|
3
|
+
name: "AiRadio",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(d) {
|
|
7
|
+
return (e, _) => {
|
|
8
|
+
const o = r("el-radio");
|
|
9
|
+
return n(), a(o, i(s(e.$attrs)), {
|
|
10
|
+
default: l(() => [
|
|
11
|
+
p(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as o, openBlock as r, createBlock as c, normalizeProps as s, guardReactiveProps as i } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ n({
|
|
3
|
+
name: "AiSwitch",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(a) {
|
|
7
|
+
return (e, p) => {
|
|
8
|
+
const t = o("el-switch");
|
|
9
|
+
return r(), c(t, s(i(e.$attrs)), null, 16);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
l as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as o, resolveComponent as r, openBlock as n, createBlock as a, normalizeProps as s, guardReactiveProps as l, withCtx as p, renderSlot as i } from "vue";
|
|
2
|
+
const u = /* @__PURE__ */ o({
|
|
3
|
+
name: "AiTabs",
|
|
4
|
+
inheritAttrs: !0,
|
|
5
|
+
__name: "index",
|
|
6
|
+
setup(_) {
|
|
7
|
+
return (e, c) => {
|
|
8
|
+
const t = r("el-tabs");
|
|
9
|
+
return n(), a(t, s(l(e.$attrs)), {
|
|
10
|
+
default: p(() => [
|
|
11
|
+
i(e.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 16);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
u as default
|
|
20
|
+
};
|