@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.
Files changed (61) hide show
  1. package/es/index.mjs +16 -14
  2. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +27 -0
  3. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +97 -0
  4. package/es/src/ap-descriptions/ap-descriptions.vue2.mjs +5 -0
  5. package/es/src/ap-descriptions/formatter/index.d.ts +78 -0
  6. package/es/src/ap-descriptions/formatter/index.mjs +127 -0
  7. package/es/src/ap-descriptions/formatter/utils.d.ts +7 -0
  8. package/es/src/ap-descriptions/formatter/utils.mjs +6 -0
  9. package/es/src/ap-descriptions/help-message/index.vue.d.ts +23 -0
  10. package/es/src/ap-descriptions/help-message/index.vue.mjs +4 -0
  11. package/es/src/ap-descriptions/help-message/index.vue2.mjs +27 -0
  12. package/es/src/ap-descriptions/helper.d.ts +10 -0
  13. package/es/src/ap-descriptions/helper.mjs +24 -0
  14. package/es/src/ap-descriptions/index.d.ts +4 -0
  15. package/es/src/ap-descriptions/index.mjs +2 -0
  16. package/es/src/ap-descriptions/interface.d.ts +50 -0
  17. package/es/src/ap-descriptions/interface.mjs +1 -0
  18. package/es/src/ap-descriptions/style/ap-descriptions.css +57 -0
  19. package/es/src/ap-download/ap-download.vue.mjs +27 -21
  20. package/es/src/ap-field/interface.d.ts +3 -3
  21. package/es/src/config-provider/config-provider-props.d.ts +5 -1
  22. package/es/src/config-provider/config-provider-props.mjs +6 -2
  23. package/es/src/config-provider/config-provider.d.ts +14 -1
  24. package/es/src/config-provider/config-provider.mjs +17 -16
  25. package/es/src/config-provider/constants.d.ts +3 -0
  26. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
  27. package/es/src/config-provider/index.d.ts +20 -1
  28. package/es/src/index.d.ts +1 -0
  29. package/es/src/index.mjs +241 -238
  30. package/es/src/theme/ap-descriptions/ap-descriptions.css +57 -0
  31. package/lib/index.js +1 -1
  32. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +27 -0
  33. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -0
  34. package/lib/src/ap-descriptions/ap-descriptions.vue2.js +1 -0
  35. package/lib/src/ap-descriptions/formatter/index.d.ts +78 -0
  36. package/lib/src/ap-descriptions/formatter/index.js +1 -0
  37. package/lib/src/ap-descriptions/formatter/utils.d.ts +7 -0
  38. package/lib/src/ap-descriptions/formatter/utils.js +1 -0
  39. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +23 -0
  40. package/lib/src/ap-descriptions/help-message/index.vue.js +1 -0
  41. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -0
  42. package/lib/src/ap-descriptions/helper.d.ts +10 -0
  43. package/lib/src/ap-descriptions/helper.js +1 -0
  44. package/lib/src/ap-descriptions/index.d.ts +4 -0
  45. package/lib/src/ap-descriptions/index.js +1 -0
  46. package/lib/src/ap-descriptions/interface.d.ts +50 -0
  47. package/lib/src/ap-descriptions/interface.js +1 -0
  48. package/lib/src/ap-descriptions/style/ap-descriptions.css +57 -0
  49. package/lib/src/ap-download/ap-download.vue.js +1 -1
  50. package/lib/src/ap-field/interface.d.ts +3 -3
  51. package/lib/src/config-provider/config-provider-props.d.ts +5 -1
  52. package/lib/src/config-provider/config-provider-props.js +1 -1
  53. package/lib/src/config-provider/config-provider.d.ts +14 -1
  54. package/lib/src/config-provider/config-provider.js +1 -1
  55. package/lib/src/config-provider/constants.d.ts +3 -0
  56. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
  57. package/lib/src/config-provider/index.d.ts +20 -1
  58. package/lib/src/index.d.ts +1 -0
  59. package/lib/src/index.js +1 -1
  60. package/lib/src/theme/ap-descriptions/ap-descriptions.css +57 -0
  61. 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 _, computed as n, onMounted as y, openBlock as z, createElementBlock as I, normalizeStyle as O, normalizeClass as i, createElementVNode as a, renderSlot as v, toDisplayString as B } from "vue";
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 M, useOss as N } from "./hooks/index.mjs";
3
+ import { useOssInit as N, useOss as k } from "./hooks/index.mjs";
4
4
  import "./style/ap-download.css";
5
- import { useGlobalConfig as k } from "../config-provider/hooks/use-global-config.mjs";
6
- import { useNamespace as A } from "../config-provider/hooks/use-namespace.mjs";
7
- const F = { class: "icon" }, W = { class: "text" }, q = /* @__PURE__ */ _({
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 = k("uiMode"), { b: o, bm: s } = A("download");
20
- function c(e, r) {
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), $ = parseInt(e.slice(5, 7), 16), b = Math.round(r * 255).toString(16).padStart(2, "0");
23
- return `#${w.toString(16).padStart(2, "0")}${S.toString(16).padStart(2, "0")}${$.toString(16).padStart(2, "0")}${b}`;
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 = n(() => ({
25
+ const d = a(() => ({
26
26
  "--download-main-color": t.color,
27
27
  "--download-main-color-opacity": c(t.color, 0.6)
28
- })), u = n(() => [o("wrapper"), s("wrapper", t.size)].filter(Boolean)), m = n(() => {
29
- const e = [o("inner-wrapper"), s("inner-wrapper", t.size)];
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
- y(() => {
33
- t.disabled || M(t.getOssAccess);
34
- });
35
- const { client: f } = N(), g = () => {
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, r) => (z(), I("span", {
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
- a("span", {
49
+ n("span", {
44
50
  class: i(m.value)
45
51
  }, [
46
- a("span", F, [
52
+ n("span", M, [
47
53
  v(e.$slots, "icon")
48
54
  ]),
49
- a("span", W, B(e.text), 1)
55
+ n("span", W, B(e.text), 1)
50
56
  ], 2)
51
57
  ], 6));
52
58
  }
53
59
  });
54
60
  export {
55
- q as default
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 ApFieldSelectSlots = {
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 ApFieldSliderSlots = {
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 ApFieldRateSlots = {
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 a = () => ({
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
- a as configProviderProps
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 l, ref as n, defineComponent as f, computed as c, watch as d, createVNode as m, renderSlot as u } from "vue";
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 b } from "./config-provider-props.mjs";
5
- import { tableDefaultConfig as v } from "./constants.mjs";
6
- import { mergeAntdProvideConfig as C } from "../utils/config-provider-preset.mjs";
7
- function s(e) {
8
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !l(e);
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 = n({}), L = /* @__PURE__ */ f({
10
+ const r = l({}), A = /* @__PURE__ */ c({
11
11
  name: "AplusConfigProvider",
12
- props: b(),
12
+ props: s(),
13
13
  setup(e, {
14
- slots: a
14
+ slots: i
15
15
  }) {
16
- const i = c(() => ({
16
+ const a = f(() => ({
17
17
  namespace: e.namespace,
18
18
  aplusLocale: e.aplusLocale,
19
19
  api: e.api,
20
20
  table: {
21
- ...v,
21
+ ...b,
22
22
  ...e.table || {}
23
23
  },
24
24
  scrollbar: e.scrollbar,
25
25
  uiMode: e.uiMode,
26
- apUpload: e.apUpload
27
- })), t = g(i);
26
+ apUpload: e.apUpload,
27
+ apDescriptions: e.apDescriptions
28
+ })), t = g(a);
28
29
  return d(() => e, (o) => {
29
- r.value = C(o);
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, s(o = u(a, "default", {
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
- L as ConfigProvider,
45
+ A as ConfigProvider,
45
46
  r as globalConfigCached
46
47
  };
@@ -39,4 +39,7 @@ export type ApUploadConfig = {
39
39
  };
40
40
  accept?: string;
41
41
  };
42
+ export type ApDescriptionsConfig = {
43
+ downloadFile?: (url: string, name: string) => void;
44
+ };
42
45
  export {};
@@ -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
@@ -32,3 +32,4 @@ export * from './ap-list';
32
32
  export * from './business';
33
33
  export * from './ap-table';
34
34
  export * from './editable-table';
35
+ export * from './ap-descriptions';