@aplus-frontend/ui 0.0.36 → 0.0.37
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-descriptions/ap-descriptions.vue.d.ts +27 -0
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +97 -0
- package/es/src/ap-descriptions/ap-descriptions.vue2.mjs +5 -0
- package/es/src/ap-descriptions/formatter/index.d.ts +78 -0
- package/es/src/ap-descriptions/formatter/index.mjs +127 -0
- package/es/src/ap-descriptions/formatter/utils.d.ts +7 -0
- package/es/src/ap-descriptions/formatter/utils.mjs +6 -0
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +23 -0
- package/es/src/ap-descriptions/help-message/index.vue.mjs +4 -0
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +27 -0
- package/es/src/ap-descriptions/helper.d.ts +10 -0
- package/es/src/ap-descriptions/helper.mjs +24 -0
- package/es/src/ap-descriptions/index.d.ts +4 -0
- package/es/src/ap-descriptions/index.mjs +2 -0
- package/es/src/ap-descriptions/interface.d.ts +50 -0
- package/es/src/ap-descriptions/interface.mjs +1 -0
- package/es/src/ap-descriptions/style/ap-descriptions.css +57 -0
- package/es/src/ap-download/ap-download.vue.mjs +27 -21
- package/es/src/ap-field/interface.d.ts +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +5 -1
- package/es/src/config-provider/config-provider-props.mjs +6 -2
- package/es/src/config-provider/config-provider.d.ts +14 -1
- package/es/src/config-provider/config-provider.mjs +17 -16
- package/es/src/config-provider/constants.d.ts +3 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +20 -1
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +241 -238
- package/es/src/theme/ap-descriptions/ap-descriptions.css +57 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +27 -0
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -0
- package/lib/src/ap-descriptions/ap-descriptions.vue2.js +1 -0
- package/lib/src/ap-descriptions/formatter/index.d.ts +78 -0
- package/lib/src/ap-descriptions/formatter/index.js +1 -0
- package/lib/src/ap-descriptions/formatter/utils.d.ts +7 -0
- package/lib/src/ap-descriptions/formatter/utils.js +1 -0
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +23 -0
- package/lib/src/ap-descriptions/help-message/index.vue.js +1 -0
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -0
- package/lib/src/ap-descriptions/helper.d.ts +10 -0
- package/lib/src/ap-descriptions/helper.js +1 -0
- package/lib/src/ap-descriptions/index.d.ts +4 -0
- package/lib/src/ap-descriptions/index.js +1 -0
- package/lib/src/ap-descriptions/interface.d.ts +50 -0
- package/lib/src/ap-descriptions/interface.js +1 -0
- package/lib/src/ap-descriptions/style/ap-descriptions.css +57 -0
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +3 -3
- package/lib/src/config-provider/config-provider-props.d.ts +5 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +14 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +20 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/theme/ap-descriptions/ap-descriptions.css +57 -0
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
TODO:
|
|
3
|
+
1.admin和aplus样式提成变量?
|
|
4
|
+
*/
|
|
5
|
+
.aplus-ap-descriptions {
|
|
6
|
+
--ap-descriptions-item-padding-bottom: 24px;
|
|
7
|
+
--ap-descriptions-item-label-width: auto;
|
|
8
|
+
}
|
|
9
|
+
.aplus-ap-descriptions .ant-descriptions .ant-descriptions-view table {
|
|
10
|
+
table-layout: fixed;
|
|
11
|
+
}
|
|
12
|
+
.aplus-ap-descriptions .ant-descriptions td.ant-descriptions-item {
|
|
13
|
+
padding-bottom: var(--ap-descriptions-item-padding-bottom);
|
|
14
|
+
}
|
|
15
|
+
.aplus-ap-descriptions .ant-descriptions th.ant-descriptions-item {
|
|
16
|
+
padding-bottom: 8px;
|
|
17
|
+
}
|
|
18
|
+
.aplus-ap-descriptions .ant-descriptions .ant-descriptions-row:last-child .ant-descriptions-item {
|
|
19
|
+
padding-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
.aplus-ap-descriptions .ant-descriptions .ant-descriptions-item-label::after {
|
|
22
|
+
margin-inline: 4px 20px;
|
|
23
|
+
}
|
|
24
|
+
.aplus-ap-descriptions--admin .ant-descriptions-row .ant-descriptions-item-label {
|
|
25
|
+
justify-content: flex-end;
|
|
26
|
+
width: var(--ap-descriptions-item-label-width);
|
|
27
|
+
color: #999999;
|
|
28
|
+
}
|
|
29
|
+
.aplus-ap-descriptions--admin .ant-descriptions-row .ant-descriptions-item-label .ap-descriptions-item-content__help {
|
|
30
|
+
margin-left: 4px;
|
|
31
|
+
color: #34b77c;
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
}
|
|
34
|
+
.aplus-ap-descriptions--admin .ant-descriptions-row .ant-descriptions-item-content {
|
|
35
|
+
color: #333333;
|
|
36
|
+
}
|
|
37
|
+
.aplus-ap-descriptions--admin .ant-descriptions-row .ant-descriptions-item-content .ap-descriptions-item-content__link {
|
|
38
|
+
color: #1890ff;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
.aplus-ap-descriptions--aplus .ant-descriptions-row .ant-descriptions-item-label {
|
|
42
|
+
justify-content: flex-end;
|
|
43
|
+
width: var(--ap-descriptions-item-label-width);
|
|
44
|
+
color: #8896B0;
|
|
45
|
+
}
|
|
46
|
+
.aplus-ap-descriptions--aplus .ant-descriptions-row .ant-descriptions-item-label .ap-descriptions-item-content__help {
|
|
47
|
+
margin-left: 4px;
|
|
48
|
+
color: #0070FF;
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
}
|
|
51
|
+
.aplus-ap-descriptions--aplus .ant-descriptions-row .ant-descriptions-item-content {
|
|
52
|
+
color: #182948;
|
|
53
|
+
}
|
|
54
|
+
.aplus-ap-descriptions--aplus .ant-descriptions-row .ant-descriptions-item-content .ap-descriptions-item-content__link {
|
|
55
|
+
color: #0070FF;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, computed as a, watch as _, openBlock as z, createElementBlock as I, normalizeStyle as O, normalizeClass as i, createElementVNode as n, renderSlot as v, toDisplayString as B } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
|
-
import { useOssInit as
|
|
3
|
+
import { useOssInit as N, useOss as k } from "./hooks/index.mjs";
|
|
4
4
|
import "./style/ap-download.css";
|
|
5
|
-
import { useGlobalConfig as
|
|
6
|
-
import { useNamespace as
|
|
7
|
-
const
|
|
5
|
+
import { useGlobalConfig as A } from "../config-provider/hooks/use-global-config.mjs";
|
|
6
|
+
import { useNamespace as F } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
const M = { class: "icon" }, W = { class: "text" }, j = /* @__PURE__ */ y({
|
|
8
8
|
name: "ApDownload",
|
|
9
9
|
__name: "ap-download",
|
|
10
10
|
props: {
|
|
@@ -16,41 +16,47 @@ const F = { class: "icon" }, W = { class: "text" }, q = /* @__PURE__ */ _({
|
|
|
16
16
|
getOssAccess: {}
|
|
17
17
|
},
|
|
18
18
|
setup(l) {
|
|
19
|
-
const t = l, p =
|
|
20
|
-
function c(e,
|
|
19
|
+
const t = l, p = A("uiMode"), { b: r, bm: s } = F("download");
|
|
20
|
+
function c(e, o) {
|
|
21
21
|
e.length === 4 && (e = `#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`);
|
|
22
|
-
const w = parseInt(e.slice(1, 3), 16), S = parseInt(e.slice(3, 5), 16),
|
|
23
|
-
return `#${w.toString(16).padStart(2, "0")}${S.toString(16).padStart(2, "0")}${
|
|
22
|
+
const w = parseInt(e.slice(1, 3), 16), S = parseInt(e.slice(3, 5), 16), b = parseInt(e.slice(5, 7), 16), $ = Math.round(o * 255).toString(16).padStart(2, "0");
|
|
23
|
+
return `#${w.toString(16).padStart(2, "0")}${S.toString(16).padStart(2, "0")}${b.toString(16).padStart(2, "0")}${$}`;
|
|
24
24
|
}
|
|
25
|
-
const d =
|
|
25
|
+
const d = a(() => ({
|
|
26
26
|
"--download-main-color": t.color,
|
|
27
27
|
"--download-main-color-opacity": c(t.color, 0.6)
|
|
28
|
-
})), u =
|
|
29
|
-
const e = [
|
|
28
|
+
})), u = a(() => [r("wrapper"), s("wrapper", t.size)].filter(Boolean)), m = a(() => {
|
|
29
|
+
const e = [r("inner-wrapper"), s("inner-wrapper", t.size)];
|
|
30
30
|
return t.disabled && (p.value === "aplus" ? e.push(s("inner-wrapper", "disabled")) : e.push(s("inner-wrapper", "disabled-admin"))), e;
|
|
31
31
|
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
_(
|
|
33
|
+
() => t.disabled,
|
|
34
|
+
() => {
|
|
35
|
+
t.disabled || N(t.getOssAccess);
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
flush: "sync"
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
const { client: f } = k(), g = () => {
|
|
36
42
|
t.disabled || f.downloadFile(t.fileName);
|
|
37
43
|
};
|
|
38
|
-
return (e,
|
|
44
|
+
return (e, o) => (z(), I("span", {
|
|
39
45
|
style: O(d.value),
|
|
40
46
|
class: i(u.value),
|
|
41
47
|
onClick: g
|
|
42
48
|
}, [
|
|
43
|
-
|
|
49
|
+
n("span", {
|
|
44
50
|
class: i(m.value)
|
|
45
51
|
}, [
|
|
46
|
-
|
|
52
|
+
n("span", M, [
|
|
47
53
|
v(e.$slots, "icon")
|
|
48
54
|
]),
|
|
49
|
-
|
|
55
|
+
n("span", W, B(e.text), 1)
|
|
50
56
|
], 2)
|
|
51
57
|
], 6));
|
|
52
58
|
}
|
|
53
59
|
});
|
|
54
60
|
export {
|
|
55
|
-
|
|
61
|
+
j as default
|
|
56
62
|
};
|
|
@@ -105,7 +105,7 @@ export type ApFieldSelectProps = BasicApFieldProps<Omit<SelectProps, 'mode' | 'v
|
|
|
105
105
|
*/
|
|
106
106
|
searchMode?: 'filter' | 'request';
|
|
107
107
|
};
|
|
108
|
-
export type
|
|
108
|
+
export type ApFieldSelectExpose = {
|
|
109
109
|
focus: () => void;
|
|
110
110
|
blur: () => void;
|
|
111
111
|
request: (clear?: boolean) => Promise<void>;
|
|
@@ -114,7 +114,7 @@ export type ApFieldSliderProps = BasicApFieldProps<SliderProps> & {
|
|
|
114
114
|
emptyText?: string;
|
|
115
115
|
defaultValue?: number | [number, number];
|
|
116
116
|
};
|
|
117
|
-
export type
|
|
117
|
+
export type ApFieldSliderExpose = {
|
|
118
118
|
focus: () => void;
|
|
119
119
|
blur: () => void;
|
|
120
120
|
};
|
|
@@ -126,7 +126,7 @@ export type ApFieldSegmentedProps = BasicApFieldProps<SegmentedProps> & {
|
|
|
126
126
|
export type ApFieldRateProps = BasicApFieldProps<RateProps> & {
|
|
127
127
|
defaultValue?: number;
|
|
128
128
|
};
|
|
129
|
-
export type
|
|
129
|
+
export type ApFieldRateExpose = {
|
|
130
130
|
focus: () => void;
|
|
131
131
|
blur: () => void;
|
|
132
132
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { LocaleType } from '../locale/interface';
|
|
3
|
-
import { ApiType, ScrollbarGlobalConfig, TableDefaultConfig, ApUploadConfig } from './constants';
|
|
3
|
+
import { ApiType, ScrollbarGlobalConfig, TableDefaultConfig, ApUploadConfig, ApDescriptionsConfig } from './constants';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
5
5
|
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
6
6
|
import { CSPConfig, SizeType, ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
@@ -152,5 +152,9 @@ export declare const configProviderProps: () => {
|
|
|
152
152
|
type: PropType<ApUploadConfig>;
|
|
153
153
|
default: () => {};
|
|
154
154
|
};
|
|
155
|
+
apDescriptions: {
|
|
156
|
+
type: PropType<ApDescriptionsConfig>;
|
|
157
|
+
default: () => {};
|
|
158
|
+
};
|
|
155
159
|
};
|
|
156
160
|
export type ConfigProviderProps = Partial<ExtractPropTypes<ReturnType<typeof configProviderProps>>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { configProviderProps as e } from "ant-design-vue/es/config-provider/context";
|
|
2
|
-
const
|
|
2
|
+
const p = () => ({
|
|
3
3
|
/**
|
|
4
4
|
* @description aplus-ui的locale
|
|
5
5
|
*/
|
|
@@ -29,8 +29,12 @@ const a = () => ({
|
|
|
29
29
|
type: Object,
|
|
30
30
|
default: () => ({})
|
|
31
31
|
},
|
|
32
|
+
apDescriptions: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: () => ({})
|
|
35
|
+
},
|
|
32
36
|
...e()
|
|
33
37
|
});
|
|
34
38
|
export {
|
|
35
|
-
|
|
39
|
+
p as configProviderProps
|
|
36
40
|
};
|
|
@@ -8,7 +8,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
|
8
8
|
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
9
9
|
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
10
10
|
import { LocaleType } from 'src';
|
|
11
|
-
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig } from './constants';
|
|
11
|
+
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig, ApDescriptionsConfig } from './constants';
|
|
12
12
|
|
|
13
13
|
export declare const globalConfigCached: Ref<Partial< ExtractPropTypes<{
|
|
14
14
|
iconPrefixCls: StringConstructor;
|
|
@@ -151,6 +151,10 @@ export declare const globalConfigCached: Ref<Partial< ExtractPropTypes<{
|
|
|
151
151
|
type: PropType<ApUploadConfig>;
|
|
152
152
|
default: () => {};
|
|
153
153
|
};
|
|
154
|
+
apDescriptions: {
|
|
155
|
+
type: PropType<ApDescriptionsConfig>;
|
|
156
|
+
default: () => {};
|
|
157
|
+
};
|
|
154
158
|
}>>>;
|
|
155
159
|
export declare const ConfigProvider: DefineComponent<{
|
|
156
160
|
iconPrefixCls: StringConstructor;
|
|
@@ -293,6 +297,10 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
293
297
|
type: PropType<ApUploadConfig>;
|
|
294
298
|
default: () => {};
|
|
295
299
|
};
|
|
300
|
+
apDescriptions: {
|
|
301
|
+
type: PropType<ApDescriptionsConfig>;
|
|
302
|
+
default: () => {};
|
|
303
|
+
};
|
|
296
304
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
297
305
|
iconPrefixCls: StringConstructor;
|
|
298
306
|
getTargetContainer: {
|
|
@@ -434,6 +442,10 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
434
442
|
type: PropType<ApUploadConfig>;
|
|
435
443
|
default: () => {};
|
|
436
444
|
};
|
|
445
|
+
apDescriptions: {
|
|
446
|
+
type: PropType<ApDescriptionsConfig>;
|
|
447
|
+
default: () => {};
|
|
448
|
+
};
|
|
437
449
|
}>>, {
|
|
438
450
|
theme: ThemeConfig;
|
|
439
451
|
direction: "ltr" | "rtl";
|
|
@@ -471,5 +483,6 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
471
483
|
scrollbar: ScrollbarGlobalConfig;
|
|
472
484
|
uiMode: "aplus" | "admin";
|
|
473
485
|
apUpload: ApUploadConfig;
|
|
486
|
+
apDescriptions: ApDescriptionsConfig;
|
|
474
487
|
}, {}>;
|
|
475
488
|
export type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { isVNode as
|
|
1
|
+
import { isVNode as n, ref as l, defineComponent as c, computed as f, watch as d, createVNode as m, renderSlot as u } from "vue";
|
|
2
2
|
import { ConfigProvider as p } from "ant-design-vue";
|
|
3
3
|
import { provideGlobalConfig as g } from "./hooks/use-global-config.mjs";
|
|
4
|
-
import { configProviderProps as
|
|
5
|
-
import { tableDefaultConfig as
|
|
6
|
-
import { mergeAntdProvideConfig as
|
|
7
|
-
function
|
|
8
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
4
|
+
import { configProviderProps as s } from "./config-provider-props.mjs";
|
|
5
|
+
import { tableDefaultConfig as b } from "./constants.mjs";
|
|
6
|
+
import { mergeAntdProvideConfig as v } from "../utils/config-provider-preset.mjs";
|
|
7
|
+
function C(e) {
|
|
8
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !n(e);
|
|
9
9
|
}
|
|
10
|
-
const r =
|
|
10
|
+
const r = l({}), A = /* @__PURE__ */ c({
|
|
11
11
|
name: "AplusConfigProvider",
|
|
12
|
-
props:
|
|
12
|
+
props: s(),
|
|
13
13
|
setup(e, {
|
|
14
|
-
slots:
|
|
14
|
+
slots: i
|
|
15
15
|
}) {
|
|
16
|
-
const
|
|
16
|
+
const a = f(() => ({
|
|
17
17
|
namespace: e.namespace,
|
|
18
18
|
aplusLocale: e.aplusLocale,
|
|
19
19
|
api: e.api,
|
|
20
20
|
table: {
|
|
21
|
-
...
|
|
21
|
+
...b,
|
|
22
22
|
...e.table || {}
|
|
23
23
|
},
|
|
24
24
|
scrollbar: e.scrollbar,
|
|
25
25
|
uiMode: e.uiMode,
|
|
26
|
-
apUpload: e.apUpload
|
|
27
|
-
|
|
26
|
+
apUpload: e.apUpload,
|
|
27
|
+
apDescriptions: e.apDescriptions
|
|
28
|
+
})), t = g(a);
|
|
28
29
|
return d(() => e, (o) => {
|
|
29
|
-
r.value =
|
|
30
|
+
r.value = v(o);
|
|
30
31
|
}, {
|
|
31
32
|
deep: !0,
|
|
32
33
|
immediate: !0
|
|
33
34
|
}), () => {
|
|
34
35
|
let o;
|
|
35
|
-
return m(p, r.value,
|
|
36
|
+
return m(p, r.value, C(o = u(i, "default", {
|
|
36
37
|
config: t == null ? void 0 : t.value
|
|
37
38
|
})) ? o : {
|
|
38
39
|
default: () => [o]
|
|
@@ -41,6 +42,6 @@ const r = n({}), L = /* @__PURE__ */ f({
|
|
|
41
42
|
}
|
|
42
43
|
});
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
A as ConfigProvider,
|
|
45
46
|
r as globalConfigCached
|
|
46
47
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MaybeRef } from '@aplus-frontend/utils';
|
|
2
2
|
import { App, Ref, ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { ConfigProviderContext, ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig } from '../constants';
|
|
3
|
+
import { ConfigProviderContext, ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig, ApDescriptionsConfig } from '../constants';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
5
5
|
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
6
6
|
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
@@ -155,4 +155,8 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
155
155
|
type: PropType<ApUploadConfig>;
|
|
156
156
|
default: () => {};
|
|
157
157
|
};
|
|
158
|
+
apDescriptions: {
|
|
159
|
+
type: PropType<ApDescriptionsConfig>;
|
|
160
|
+
default: () => {};
|
|
161
|
+
};
|
|
158
162
|
}>>>> | undefined;
|
|
@@ -9,7 +9,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
|
9
9
|
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
10
10
|
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
11
11
|
import { LocaleType } from 'src';
|
|
12
|
-
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig } from './constants';
|
|
12
|
+
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig, ApDescriptionsConfig } from './constants';
|
|
13
13
|
export * from './config-provider-props';
|
|
14
14
|
export * from './constants';
|
|
15
15
|
export * from './hooks/use-global-config';
|
|
@@ -158,6 +158,10 @@ export declare const APConfigProvider: {
|
|
|
158
158
|
type: PropType<ApUploadConfig>;
|
|
159
159
|
default: () => {};
|
|
160
160
|
};
|
|
161
|
+
apDescriptions: {
|
|
162
|
+
type: PropType<ApDescriptionsConfig>;
|
|
163
|
+
default: () => {};
|
|
164
|
+
};
|
|
161
165
|
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
162
166
|
iconPrefixCls: StringConstructor;
|
|
163
167
|
getTargetContainer: {
|
|
@@ -299,6 +303,10 @@ export declare const APConfigProvider: {
|
|
|
299
303
|
type: PropType<ApUploadConfig>;
|
|
300
304
|
default: () => {};
|
|
301
305
|
};
|
|
306
|
+
apDescriptions: {
|
|
307
|
+
type: PropType<ApDescriptionsConfig>;
|
|
308
|
+
default: () => {};
|
|
309
|
+
};
|
|
302
310
|
}>>, {
|
|
303
311
|
theme: ThemeConfig;
|
|
304
312
|
direction: "ltr" | "rtl";
|
|
@@ -336,6 +344,7 @@ export declare const APConfigProvider: {
|
|
|
336
344
|
scrollbar: ScrollbarGlobalConfig;
|
|
337
345
|
uiMode: "aplus" | "admin";
|
|
338
346
|
apUpload: ApUploadConfig;
|
|
347
|
+
apDescriptions: ApDescriptionsConfig;
|
|
339
348
|
}, true, {}, {}, {
|
|
340
349
|
P: {};
|
|
341
350
|
B: {};
|
|
@@ -484,6 +493,10 @@ export declare const APConfigProvider: {
|
|
|
484
493
|
type: PropType<ApUploadConfig>;
|
|
485
494
|
default: () => {};
|
|
486
495
|
};
|
|
496
|
+
apDescriptions: {
|
|
497
|
+
type: PropType<ApDescriptionsConfig>;
|
|
498
|
+
default: () => {};
|
|
499
|
+
};
|
|
487
500
|
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
488
501
|
theme: ThemeConfig;
|
|
489
502
|
direction: "ltr" | "rtl";
|
|
@@ -521,6 +534,7 @@ export declare const APConfigProvider: {
|
|
|
521
534
|
scrollbar: ScrollbarGlobalConfig;
|
|
522
535
|
uiMode: "aplus" | "admin";
|
|
523
536
|
apUpload: ApUploadConfig;
|
|
537
|
+
apDescriptions: ApDescriptionsConfig;
|
|
524
538
|
}>;
|
|
525
539
|
__isFragment?: undefined;
|
|
526
540
|
__isTeleport?: undefined;
|
|
@@ -666,6 +680,10 @@ export declare const APConfigProvider: {
|
|
|
666
680
|
type: PropType<ApUploadConfig>;
|
|
667
681
|
default: () => {};
|
|
668
682
|
};
|
|
683
|
+
apDescriptions: {
|
|
684
|
+
type: PropType<ApDescriptionsConfig>;
|
|
685
|
+
default: () => {};
|
|
686
|
+
};
|
|
669
687
|
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
670
688
|
theme: ThemeConfig;
|
|
671
689
|
direction: "ltr" | "rtl";
|
|
@@ -703,6 +721,7 @@ export declare const APConfigProvider: {
|
|
|
703
721
|
scrollbar: ScrollbarGlobalConfig;
|
|
704
722
|
uiMode: "aplus" | "admin";
|
|
705
723
|
apUpload: ApUploadConfig;
|
|
724
|
+
apDescriptions: ApDescriptionsConfig;
|
|
706
725
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
707
726
|
$props: {
|
|
708
727
|
onClick?: (() => void) | undefined;
|
package/es/src/index.d.ts
CHANGED