@aplus-frontend/ui 0.0.25 → 0.0.27
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/es/index.mjs +16 -14
- package/es/src/ap-table/style/ap-table.css +11 -8
- package/es/src/business/ap-status/ApStatus.vue.d.ts +34 -0
- package/es/src/business/ap-status/ApStatus.vue.mjs +4 -0
- package/es/src/business/ap-status/ApStatus.vue2.mjs +39 -0
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +34 -0
- package/es/src/business/ap-status/ApStatusGroup.vue.mjs +4 -0
- package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +38 -0
- package/es/src/business/ap-status/index.d.ts +5 -0
- package/es/src/business/ap-status/interface.d.ts +16 -0
- package/es/src/business/ap-status/style.css +26 -0
- package/es/src/business/index.d.ts +239 -0
- package/es/src/business/index.mjs +12 -6
- package/es/src/business/not-found/interface.d.ts +24 -0
- package/es/src/business/not-found/style.css +9 -0
- package/es/src/business/title/ApTitle.vue.d.ts +3 -0
- package/es/src/business/title/ApTitle.vue2.mjs +27 -22
- package/es/src/business/title/interface.d.ts +4 -0
- package/es/src/business/title/style.css +2 -2
- package/es/src/editable-table/style/index.css +13 -4
- package/es/src/index.mjs +182 -180
- package/es/src/theme/ap-not-found/ap-not-found.css +9 -0
- package/es/src/theme/ap-status/ap-status.css +26 -0
- package/es/src/theme/ap-table/ap-table.css +11 -8
- package/es/src/theme/ap-title/ap-title.css +2 -2
- package/es/src/theme/editable-table/index.css +13 -4
- package/lib/index.js +1 -1
- package/lib/src/ap-table/style/ap-table.css +11 -8
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +34 -0
- package/lib/src/business/ap-status/ApStatus.vue.js +1 -0
- package/lib/src/business/ap-status/ApStatus.vue2.js +1 -0
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +34 -0
- package/lib/src/business/ap-status/ApStatusGroup.vue.js +1 -0
- package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -0
- package/lib/src/business/ap-status/index.d.ts +5 -0
- package/lib/src/business/ap-status/interface.d.ts +16 -0
- package/lib/src/business/ap-status/style.css +26 -0
- package/lib/src/business/index.d.ts +239 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/not-found/interface.d.ts +24 -0
- package/lib/src/business/not-found/style.css +9 -0
- package/lib/src/business/title/ApTitle.vue.d.ts +3 -0
- package/lib/src/business/title/ApTitle.vue2.js +1 -1
- package/lib/src/business/title/interface.d.ts +4 -0
- package/lib/src/business/title/style.css +2 -2
- package/lib/src/editable-table/style/index.css +13 -4
- package/lib/src/index.js +1 -1
- package/lib/src/theme/ap-not-found/ap-not-found.css +9 -0
- package/lib/src/theme/ap-status/ap-status.css +26 -0
- package/lib/src/theme/ap-table/ap-table.css +11 -8
- package/lib/src/theme/ap-title/ap-title.css +2 -2
- package/lib/src/theme/editable-table/index.css +13 -4
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -101,13 +101,13 @@ import { CheckCard as Tt } from "./src/check-card/index.mjs";
|
|
|
101
101
|
import { default as St } from "./src/check-card/group.vue.mjs";
|
|
102
102
|
import { ApModal as bt } from "./src/ap-modal/index.mjs";
|
|
103
103
|
import { default as Pt } from "./src/ap-list/index.vue.mjs";
|
|
104
|
-
import { ApExpandAlert as Rt, ApLabel as ht,
|
|
105
|
-
import { useTablePaging as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { useMessage as
|
|
110
|
-
import { useControllableValue as
|
|
104
|
+
import { ApExpandAlert as Rt, ApLabel as ht, ApStatus as vt, ApStatusGroup as Mt, ApTitle as kt } from "./src/business/index.mjs";
|
|
105
|
+
import { useTablePaging as Bt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
106
|
+
import { default as Lt } from "./src/ap-table/ap-table.vue.mjs";
|
|
107
|
+
import { default as yt } from "./src/editable-table/index.vue.mjs";
|
|
108
|
+
import { default as Xt } from "./src/editable-table/form-item.vue.mjs";
|
|
109
|
+
import { useMessage as Yt } from "./src/hooks/useMessage.mjs";
|
|
110
|
+
import { useControllableValue as Ht } from "./src/hooks/useControllableValue.mjs";
|
|
111
111
|
const p = {
|
|
112
112
|
install: (r) => {
|
|
113
113
|
for (const t in o) {
|
|
@@ -161,10 +161,12 @@ export {
|
|
|
161
161
|
ht as ApLabel,
|
|
162
162
|
Pt as ApList,
|
|
163
163
|
bt as ApModal,
|
|
164
|
-
|
|
164
|
+
vt as ApStatus,
|
|
165
|
+
Mt as ApStatusGroup,
|
|
166
|
+
Lt as ApTable,
|
|
165
167
|
ft as ApTag,
|
|
166
168
|
lt as ApTagGroup,
|
|
167
|
-
|
|
169
|
+
kt as ApTitle,
|
|
168
170
|
ut as ApUpload,
|
|
169
171
|
De as ApiCascader,
|
|
170
172
|
he as ApiRadioGroup,
|
|
@@ -190,8 +192,8 @@ export {
|
|
|
190
192
|
et as DictCode,
|
|
191
193
|
Ao as Dropdown,
|
|
192
194
|
Io as EditTableHeaderIcon,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
+
yt as EditableTable,
|
|
196
|
+
Xt as EditableTableFormItem,
|
|
195
197
|
Z as ExpandTransition,
|
|
196
198
|
_ as ExpandXTransition,
|
|
197
199
|
ee as FadeTransition,
|
|
@@ -245,18 +247,18 @@ export {
|
|
|
245
247
|
g as translate,
|
|
246
248
|
jr as useCacheColumnSetting,
|
|
247
249
|
ce as useComponentRegister,
|
|
248
|
-
|
|
250
|
+
Ht as useControllableValue,
|
|
249
251
|
ie as useDescription,
|
|
250
252
|
Te as useForm,
|
|
251
253
|
v as useGetDerivedNamespace,
|
|
252
254
|
T as useGlobalConfig,
|
|
253
255
|
P as useLocale,
|
|
254
|
-
|
|
256
|
+
Yt as useMessage,
|
|
255
257
|
oo as useModal,
|
|
256
258
|
_e as useModalContext,
|
|
257
259
|
ro as useModalInner,
|
|
258
260
|
M as useNamespace,
|
|
259
261
|
Do as useTable,
|
|
260
|
-
|
|
262
|
+
Bt as useTablePaging,
|
|
261
263
|
H as zhCn
|
|
262
264
|
};
|
|
@@ -73,17 +73,20 @@
|
|
|
73
73
|
.aplus-ap-table-table-admin tr > td.ant-table-cell {
|
|
74
74
|
border-top-color: #E9E9E9;
|
|
75
75
|
}
|
|
76
|
-
.aplus-ap-table .ant-table-middle .ant-table-cell {
|
|
77
|
-
padding: 12px 16px
|
|
76
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
77
|
+
padding: 12px 16px;
|
|
78
78
|
}
|
|
79
|
-
.aplus-ap-table .ant-table-
|
|
80
|
-
padding:
|
|
79
|
+
.aplus-ap-table .ant-table.ant-table-middle .ant-table-thead .ant-table-cell {
|
|
80
|
+
padding: 12px 16px;
|
|
81
81
|
}
|
|
82
|
-
.aplus-ap-table .ant-table-
|
|
83
|
-
padding:
|
|
82
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-row .ant-table-cell {
|
|
83
|
+
padding: 9px 16px;
|
|
84
84
|
}
|
|
85
|
-
.aplus-ap-table .ant-table-small .ant-table-
|
|
86
|
-
padding:
|
|
85
|
+
.aplus-ap-table .ant-table.ant-table-small .ant-table-thead .ant-table-cell {
|
|
86
|
+
padding: 9px 16px;
|
|
87
|
+
}
|
|
88
|
+
.aplus-ap-table .ant-table-placeholder .ant-table-expanded-row-fixed::after {
|
|
89
|
+
border-inline-end-width: 0px !important;
|
|
87
90
|
}
|
|
88
91
|
.aplus-ap-table .ant-table-column-sorters {
|
|
89
92
|
justify-content: unset;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ApStatusProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApStatusProps>, {
|
|
5
|
+
color: string;
|
|
6
|
+
padding: number;
|
|
7
|
+
show: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApStatusProps>, {
|
|
9
|
+
color: string;
|
|
10
|
+
padding: number;
|
|
11
|
+
show: boolean;
|
|
12
|
+
}>>>, {
|
|
13
|
+
color: string;
|
|
14
|
+
padding: number;
|
|
15
|
+
show: boolean;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as u, computed as a, openBlock as d, createElementBlock as i, normalizeClass as r, unref as t, normalizeStyle as s, createTextVNode as m, toDisplayString as f, createElementVNode as y, createCommentVNode as g } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import "./style.css";
|
|
4
|
+
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
const N = /* @__PURE__ */ u({
|
|
6
|
+
name: "ApStatus",
|
|
7
|
+
__name: "ApStatus",
|
|
8
|
+
props: {
|
|
9
|
+
text: {},
|
|
10
|
+
padding: { default: 8 },
|
|
11
|
+
color: { default: "#0070FF" },
|
|
12
|
+
show: { type: Boolean, default: !0 },
|
|
13
|
+
style: {}
|
|
14
|
+
},
|
|
15
|
+
setup(l) {
|
|
16
|
+
const e = l, n = a(() => ({
|
|
17
|
+
"padding-left": e.padding + "px",
|
|
18
|
+
"padding-right": e.padding + "px",
|
|
19
|
+
color: e.color,
|
|
20
|
+
...e.style
|
|
21
|
+
})), p = a(() => ({
|
|
22
|
+
"background-color": e.color
|
|
23
|
+
})), { b: c, e: o } = x("ap-status");
|
|
24
|
+
return (S, _) => e.show ? (d(), i("div", {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: r([t(c)()]),
|
|
27
|
+
style: s(n.value)
|
|
28
|
+
}, [
|
|
29
|
+
m(f(e.text) + " ", 1),
|
|
30
|
+
y("div", {
|
|
31
|
+
class: r([t(o)("bg"), t(o)("primary")]),
|
|
32
|
+
style: s(p.value)
|
|
33
|
+
}, null, 6)
|
|
34
|
+
], 6)) : g("", !0);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
N as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ApStatusGroupProps, ApStatusGroupItemProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApStatusGroupProps>, {
|
|
5
|
+
currentValue: number;
|
|
6
|
+
padding: number;
|
|
7
|
+
statusList: null;
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApStatusGroupProps>, {
|
|
9
|
+
currentValue: number;
|
|
10
|
+
padding: number;
|
|
11
|
+
statusList: null;
|
|
12
|
+
}>>>, {
|
|
13
|
+
padding: number;
|
|
14
|
+
currentValue: string | number;
|
|
15
|
+
statusList: ApStatusGroupItemProps[] | null;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as p, computed as l, openBlock as a, createElementBlock as r, normalizeClass as d, unref as c, normalizeStyle as i, Fragment as m, renderList as f, createBlock as g, createCommentVNode as y } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import "./ApStatus.vue.mjs";
|
|
4
|
+
import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
import x from "./ApStatus.vue2.mjs";
|
|
6
|
+
const C = /* @__PURE__ */ p({
|
|
7
|
+
name: "ApStatusGroup",
|
|
8
|
+
__name: "ApStatusGroup",
|
|
9
|
+
props: {
|
|
10
|
+
padding: { default: 8 },
|
|
11
|
+
currentValue: { default: 0 },
|
|
12
|
+
statusList: { default: null },
|
|
13
|
+
style: {}
|
|
14
|
+
},
|
|
15
|
+
setup(o) {
|
|
16
|
+
const t = o, n = l(() => ({
|
|
17
|
+
"padding-left": t.padding + "px",
|
|
18
|
+
"padding-right": t.padding + "px",
|
|
19
|
+
...t.style
|
|
20
|
+
})), { b: s } = _("ap-status-group");
|
|
21
|
+
return (u, k) => t.statusList ? (a(), r("div", {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: d([c(s)()]),
|
|
24
|
+
style: i(n.value)
|
|
25
|
+
}, [
|
|
26
|
+
(a(!0), r(m, null, f(t.statusList, (e) => (a(), g(x, {
|
|
27
|
+
key: e.value,
|
|
28
|
+
show: e.value === u.currentValue,
|
|
29
|
+
color: e.color,
|
|
30
|
+
text: e.text,
|
|
31
|
+
padding: t.padding
|
|
32
|
+
}, null, 8, ["show", "color", "text", "padding"]))), 128))
|
|
33
|
+
], 6)) : y("", !0);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
C as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type ApStatusProps = {
|
|
2
|
+
text: string;
|
|
3
|
+
padding?: number;
|
|
4
|
+
color?: string;
|
|
5
|
+
show?: boolean;
|
|
6
|
+
style?: object;
|
|
7
|
+
};
|
|
8
|
+
export type ApStatusGroupItemProps = ApStatusProps & {
|
|
9
|
+
value: number | string;
|
|
10
|
+
};
|
|
11
|
+
export type ApStatusGroupProps = {
|
|
12
|
+
padding: number;
|
|
13
|
+
currentValue: number | string;
|
|
14
|
+
statusList: ApStatusGroupItemProps[] | null;
|
|
15
|
+
style?: object;
|
|
16
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: customFont;
|
|
3
|
+
src: url('https://front-ljh.oss-cn-hangzhou.aliyuncs.com/fonts/PlayfairDisplay-SemiBold.ttf');
|
|
4
|
+
src: url('https://front-ljh.oss-cn-hangzhou.aliyuncs.com/fonts/SourceHanSerifCN-Heavy.woff2');
|
|
5
|
+
}
|
|
6
|
+
.aplus-ap-status {
|
|
7
|
+
font-size: 20px;
|
|
8
|
+
height: 36px;
|
|
9
|
+
line-height: 36px;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
position: relative;
|
|
12
|
+
font-family: 'customFont';
|
|
13
|
+
}
|
|
14
|
+
.aplus-ap-status__bg {
|
|
15
|
+
-webkit-mask-image: url('https://front-ljh.oss-cn-hangzhou.aliyuncs.com/aplus-ui/svg/ap-status-bg.svg');
|
|
16
|
+
mask-image: url('https://front-ljh.oss-cn-hangzhou.aliyuncs.com/aplus-ui/svg/ap-status-bg.svg');
|
|
17
|
+
-webkit-mask-repeat: no-repeat;
|
|
18
|
+
mask-repeat: no-repeat;
|
|
19
|
+
-webkit-mask-size: 100% 100%;
|
|
20
|
+
mask-size: 100% 100%;
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 0;
|
|
23
|
+
top: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, CSSProperties } from 'vue';
|
|
2
2
|
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
3
3
|
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
4
|
+
import { ApStatusGroupItemProps } from './ap-status/interface';
|
|
4
5
|
export type { ApTitleProps } from './title/interface';
|
|
5
6
|
export type { ApExpandAlertProps } from './expandAlert/interface';
|
|
6
7
|
export type { ApLabelProps } from './ap-label/interface';
|
|
8
|
+
export type { ApStatusProps, ApStatusGroupProps, ApStatusGroupItemProps } from './ap-status/interface';
|
|
7
9
|
export declare const ApTitle: {
|
|
8
10
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
11
|
trigger: {
|
|
@@ -26,6 +28,11 @@ export declare const ApTitle: {
|
|
|
26
28
|
required: true;
|
|
27
29
|
default: string;
|
|
28
30
|
};
|
|
31
|
+
helpIconColor: {
|
|
32
|
+
type: PropType<string>;
|
|
33
|
+
required: true;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
29
36
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
30
37
|
trigger: {
|
|
31
38
|
type: PropType<"click" | "hover" | "contextmenu" | "focus">;
|
|
@@ -47,11 +54,17 @@ export declare const ApTitle: {
|
|
|
47
54
|
required: true;
|
|
48
55
|
default: string;
|
|
49
56
|
};
|
|
57
|
+
helpIconColor: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
required: true;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
50
62
|
}>>, {
|
|
51
63
|
trigger: "click" | "hover" | "contextmenu" | "focus";
|
|
52
64
|
placement: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "left" | "right" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
53
65
|
title: string;
|
|
54
66
|
helpMessage: string;
|
|
67
|
+
helpIconColor: string;
|
|
55
68
|
}, true, {}, {}, {
|
|
56
69
|
P: {};
|
|
57
70
|
B: {};
|
|
@@ -80,11 +93,17 @@ export declare const ApTitle: {
|
|
|
80
93
|
required: true;
|
|
81
94
|
default: string;
|
|
82
95
|
};
|
|
96
|
+
helpIconColor: {
|
|
97
|
+
type: PropType<string>;
|
|
98
|
+
required: true;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
83
101
|
}>>, {}, {}, {}, {}, {
|
|
84
102
|
trigger: "click" | "hover" | "contextmenu" | "focus";
|
|
85
103
|
placement: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "left" | "right" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
86
104
|
title: string;
|
|
87
105
|
helpMessage: string;
|
|
106
|
+
helpIconColor: string;
|
|
88
107
|
}>;
|
|
89
108
|
__isFragment?: undefined;
|
|
90
109
|
__isTeleport?: undefined;
|
|
@@ -110,11 +129,17 @@ export declare const ApTitle: {
|
|
|
110
129
|
required: true;
|
|
111
130
|
default: string;
|
|
112
131
|
};
|
|
132
|
+
helpIconColor: {
|
|
133
|
+
type: PropType<string>;
|
|
134
|
+
required: true;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
113
137
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
114
138
|
trigger: "click" | "hover" | "contextmenu" | "focus";
|
|
115
139
|
placement: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "left" | "right" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
116
140
|
title: string;
|
|
117
141
|
helpMessage: string;
|
|
142
|
+
helpIconColor: string;
|
|
118
143
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
119
144
|
$slots: {
|
|
120
145
|
prefix?(_: {}): any;
|
|
@@ -536,3 +561,217 @@ export declare const ApLabel: {
|
|
|
536
561
|
onClick?: (() => void) | undefined;
|
|
537
562
|
};
|
|
538
563
|
});
|
|
564
|
+
export declare const ApStatus: {
|
|
565
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
566
|
+
text: {
|
|
567
|
+
type: PropType<string>;
|
|
568
|
+
required: true;
|
|
569
|
+
};
|
|
570
|
+
color: {
|
|
571
|
+
type: PropType<string>;
|
|
572
|
+
default: string;
|
|
573
|
+
};
|
|
574
|
+
style: {
|
|
575
|
+
type: PropType<object>;
|
|
576
|
+
};
|
|
577
|
+
padding: {
|
|
578
|
+
type: PropType<number>;
|
|
579
|
+
default: number;
|
|
580
|
+
};
|
|
581
|
+
show: {
|
|
582
|
+
type: PropType<boolean>;
|
|
583
|
+
default: boolean;
|
|
584
|
+
};
|
|
585
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
586
|
+
text: {
|
|
587
|
+
type: PropType<string>;
|
|
588
|
+
required: true;
|
|
589
|
+
};
|
|
590
|
+
color: {
|
|
591
|
+
type: PropType<string>;
|
|
592
|
+
default: string;
|
|
593
|
+
};
|
|
594
|
+
style: {
|
|
595
|
+
type: PropType<object>;
|
|
596
|
+
};
|
|
597
|
+
padding: {
|
|
598
|
+
type: PropType<number>;
|
|
599
|
+
default: number;
|
|
600
|
+
};
|
|
601
|
+
show: {
|
|
602
|
+
type: PropType<boolean>;
|
|
603
|
+
default: boolean;
|
|
604
|
+
};
|
|
605
|
+
}>>, {
|
|
606
|
+
color: string;
|
|
607
|
+
padding: number;
|
|
608
|
+
show: boolean;
|
|
609
|
+
}, true, {}, {}, {
|
|
610
|
+
P: {};
|
|
611
|
+
B: {};
|
|
612
|
+
D: {};
|
|
613
|
+
C: {};
|
|
614
|
+
M: {};
|
|
615
|
+
Defaults: {};
|
|
616
|
+
}, Readonly< ExtractPropTypes<{
|
|
617
|
+
text: {
|
|
618
|
+
type: PropType<string>;
|
|
619
|
+
required: true;
|
|
620
|
+
};
|
|
621
|
+
color: {
|
|
622
|
+
type: PropType<string>;
|
|
623
|
+
default: string;
|
|
624
|
+
};
|
|
625
|
+
style: {
|
|
626
|
+
type: PropType<object>;
|
|
627
|
+
};
|
|
628
|
+
padding: {
|
|
629
|
+
type: PropType<number>;
|
|
630
|
+
default: number;
|
|
631
|
+
};
|
|
632
|
+
show: {
|
|
633
|
+
type: PropType<boolean>;
|
|
634
|
+
default: boolean;
|
|
635
|
+
};
|
|
636
|
+
}>>, {}, {}, {}, {}, {
|
|
637
|
+
color: string;
|
|
638
|
+
padding: number;
|
|
639
|
+
show: boolean;
|
|
640
|
+
}>;
|
|
641
|
+
__isFragment?: undefined;
|
|
642
|
+
__isTeleport?: undefined;
|
|
643
|
+
__isSuspense?: undefined;
|
|
644
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
645
|
+
text: {
|
|
646
|
+
type: PropType<string>;
|
|
647
|
+
required: true;
|
|
648
|
+
};
|
|
649
|
+
color: {
|
|
650
|
+
type: PropType<string>;
|
|
651
|
+
default: string;
|
|
652
|
+
};
|
|
653
|
+
style: {
|
|
654
|
+
type: PropType<object>;
|
|
655
|
+
};
|
|
656
|
+
padding: {
|
|
657
|
+
type: PropType<number>;
|
|
658
|
+
default: number;
|
|
659
|
+
};
|
|
660
|
+
show: {
|
|
661
|
+
type: PropType<boolean>;
|
|
662
|
+
default: boolean;
|
|
663
|
+
};
|
|
664
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
665
|
+
color: string;
|
|
666
|
+
padding: number;
|
|
667
|
+
show: boolean;
|
|
668
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
669
|
+
$props: {
|
|
670
|
+
onClick?: (() => void) | undefined;
|
|
671
|
+
};
|
|
672
|
+
});
|
|
673
|
+
export declare const ApStatusGroup: {
|
|
674
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
675
|
+
style: {
|
|
676
|
+
type: PropType<object>;
|
|
677
|
+
};
|
|
678
|
+
padding: {
|
|
679
|
+
type: PropType<number>;
|
|
680
|
+
required: true;
|
|
681
|
+
default: number;
|
|
682
|
+
};
|
|
683
|
+
currentValue: {
|
|
684
|
+
type: PropType<string | number>;
|
|
685
|
+
required: true;
|
|
686
|
+
default: number;
|
|
687
|
+
};
|
|
688
|
+
statusList: {
|
|
689
|
+
type: PropType< ApStatusGroupItemProps[] | null>;
|
|
690
|
+
required: true;
|
|
691
|
+
default: null;
|
|
692
|
+
};
|
|
693
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
694
|
+
style: {
|
|
695
|
+
type: PropType<object>;
|
|
696
|
+
};
|
|
697
|
+
padding: {
|
|
698
|
+
type: PropType<number>;
|
|
699
|
+
required: true;
|
|
700
|
+
default: number;
|
|
701
|
+
};
|
|
702
|
+
currentValue: {
|
|
703
|
+
type: PropType<string | number>;
|
|
704
|
+
required: true;
|
|
705
|
+
default: number;
|
|
706
|
+
};
|
|
707
|
+
statusList: {
|
|
708
|
+
type: PropType< ApStatusGroupItemProps[] | null>;
|
|
709
|
+
required: true;
|
|
710
|
+
default: null;
|
|
711
|
+
};
|
|
712
|
+
}>>, {
|
|
713
|
+
padding: number;
|
|
714
|
+
currentValue: string | number;
|
|
715
|
+
statusList: ApStatusGroupItemProps[] | null;
|
|
716
|
+
}, true, {}, {}, {
|
|
717
|
+
P: {};
|
|
718
|
+
B: {};
|
|
719
|
+
D: {};
|
|
720
|
+
C: {};
|
|
721
|
+
M: {};
|
|
722
|
+
Defaults: {};
|
|
723
|
+
}, Readonly< ExtractPropTypes<{
|
|
724
|
+
style: {
|
|
725
|
+
type: PropType<object>;
|
|
726
|
+
};
|
|
727
|
+
padding: {
|
|
728
|
+
type: PropType<number>;
|
|
729
|
+
required: true;
|
|
730
|
+
default: number;
|
|
731
|
+
};
|
|
732
|
+
currentValue: {
|
|
733
|
+
type: PropType<string | number>;
|
|
734
|
+
required: true;
|
|
735
|
+
default: number;
|
|
736
|
+
};
|
|
737
|
+
statusList: {
|
|
738
|
+
type: PropType< ApStatusGroupItemProps[] | null>;
|
|
739
|
+
required: true;
|
|
740
|
+
default: null;
|
|
741
|
+
};
|
|
742
|
+
}>>, {}, {}, {}, {}, {
|
|
743
|
+
padding: number;
|
|
744
|
+
currentValue: string | number;
|
|
745
|
+
statusList: ApStatusGroupItemProps[] | null;
|
|
746
|
+
}>;
|
|
747
|
+
__isFragment?: undefined;
|
|
748
|
+
__isTeleport?: undefined;
|
|
749
|
+
__isSuspense?: undefined;
|
|
750
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
751
|
+
style: {
|
|
752
|
+
type: PropType<object>;
|
|
753
|
+
};
|
|
754
|
+
padding: {
|
|
755
|
+
type: PropType<number>;
|
|
756
|
+
required: true;
|
|
757
|
+
default: number;
|
|
758
|
+
};
|
|
759
|
+
currentValue: {
|
|
760
|
+
type: PropType<string | number>;
|
|
761
|
+
required: true;
|
|
762
|
+
default: number;
|
|
763
|
+
};
|
|
764
|
+
statusList: {
|
|
765
|
+
type: PropType< ApStatusGroupItemProps[] | null>;
|
|
766
|
+
required: true;
|
|
767
|
+
default: null;
|
|
768
|
+
};
|
|
769
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
770
|
+
padding: number;
|
|
771
|
+
currentValue: string | number;
|
|
772
|
+
statusList: ApStatusGroupItemProps[] | null;
|
|
773
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
774
|
+
$props: {
|
|
775
|
+
onClick?: (() => void) | undefined;
|
|
776
|
+
};
|
|
777
|
+
});
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import { withInstall as
|
|
1
|
+
import { withInstall as t } from "@aplus-frontend/utils";
|
|
2
2
|
import "./title/ApTitle.vue.mjs";
|
|
3
3
|
import "./expandAlert/ApExpandAlert.vue.mjs";
|
|
4
4
|
import "./ap-label/ApLabel.vue.mjs";
|
|
5
|
-
import
|
|
5
|
+
import "./ap-status/ApStatus.vue.mjs";
|
|
6
|
+
import "./ap-status/ApStatusGroup.vue.mjs";
|
|
7
|
+
import o from "./title/ApTitle.vue2.mjs";
|
|
6
8
|
import m from "./expandAlert/ApExpandAlert.vue2.mjs";
|
|
7
9
|
import r from "./ap-label/ApLabel.vue2.mjs";
|
|
8
|
-
|
|
10
|
+
import p from "./ap-status/ApStatus.vue2.mjs";
|
|
11
|
+
import i from "./ap-status/ApStatusGroup.vue2.mjs";
|
|
12
|
+
const x = t(o), S = t(m), b = t(r), d = t(p), h = t(i);
|
|
9
13
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
S as ApExpandAlert,
|
|
15
|
+
b as ApLabel,
|
|
16
|
+
d as ApStatus,
|
|
17
|
+
h as ApStatusGroup,
|
|
18
|
+
x as ApTitle
|
|
13
19
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Not Found Props
|
|
3
|
+
*/
|
|
4
|
+
export interface ApNotFoundProps {
|
|
5
|
+
/**
|
|
6
|
+
* 底部描述
|
|
7
|
+
* @default '暂无数据'
|
|
8
|
+
*/
|
|
9
|
+
description: string;
|
|
10
|
+
/**
|
|
11
|
+
* 图片与底部描述间距
|
|
12
|
+
* @default 20
|
|
13
|
+
*/
|
|
14
|
+
gap: number;
|
|
15
|
+
/**
|
|
16
|
+
* 自定义图片
|
|
17
|
+
*/
|
|
18
|
+
image: string;
|
|
19
|
+
/**
|
|
20
|
+
* 图片宽度
|
|
21
|
+
* @default 180
|
|
22
|
+
*/
|
|
23
|
+
imageWidth: number | string;
|
|
24
|
+
}
|