@aplus-frontend/ui 7.3.0 → 7.3.2

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 (93) hide show
  1. package/es/src/ag-grid/editable/form-item.vue.d.ts +4 -2
  2. package/es/src/ag-grid/editable/index.vue.d.ts +4 -2
  3. package/es/src/ag-grid/index.vue.d.ts +4 -2
  4. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  5. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  6. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  7. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  8. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  9. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  10. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  11. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  12. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  13. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  14. package/es/src/ap-grid/index.vue.d.ts +4 -2
  15. package/es/src/ap-list/index.vue.d.ts +4 -2
  16. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  17. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  18. package/es/src/ap-table/constants.d.ts +5 -5
  19. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  20. package/es/src/ap-table/hooks/use-table-column-state.mjs +18 -18
  21. package/es/src/ap-table/style/index.mjs +1 -1
  22. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  23. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  24. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  25. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  26. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  27. package/es/src/business/ap-label/group/ApLabelGroup.mjs +8 -9
  28. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  29. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  30. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  31. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  32. package/es/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
  33. package/es/src/business/ap-upload/style/multiple-file.mjs +3 -3
  34. package/es/src/business/ap-upload/style/picture.mjs +12 -12
  35. package/es/src/business/ap-upload/style/single-file.mjs +8 -8
  36. package/es/src/business/ap-value-select-card/index.vue.d.ts +4 -2
  37. package/es/src/business/ap-value-select-card/style/index.mjs +4 -4
  38. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  39. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  40. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  41. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  42. package/es/src/editable-table/index.vue.d.ts +4 -2
  43. package/es/src/scroll-view/index.vue.d.ts +5 -5
  44. package/es/src/tests/wrapper.d.ts +4 -4
  45. package/es/src/version.d.ts +1 -1
  46. package/es/src/version.mjs +1 -1
  47. package/lib/src/ag-grid/editable/form-item.vue.d.ts +4 -2
  48. package/lib/src/ag-grid/editable/index.vue.d.ts +4 -2
  49. package/lib/src/ag-grid/index.vue.d.ts +4 -2
  50. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  51. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  52. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  53. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  54. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  55. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  56. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  57. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  58. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  59. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  60. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  61. package/lib/src/ap-list/index.vue.d.ts +4 -2
  62. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  63. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  64. package/lib/src/ap-table/constants.d.ts +5 -5
  65. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  66. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  67. package/lib/src/ap-table/style/index.js +1 -1
  68. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  69. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  70. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  71. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  72. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  73. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  74. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  75. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  76. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  77. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  78. package/lib/src/business/ap-upload/components/Picture.vue.d.ts +7 -2
  79. package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
  80. package/lib/src/business/ap-upload/style/picture.js +1 -1
  81. package/lib/src/business/ap-upload/style/single-file.js +1 -1
  82. package/lib/src/business/ap-value-select-card/index.vue.d.ts +4 -2
  83. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  84. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  85. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  86. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  87. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  88. package/lib/src/editable-table/index.vue.d.ts +4 -2
  89. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  90. package/lib/src/tests/wrapper.d.ts +4 -4
  91. package/lib/src/version.d.ts +1 -1
  92. package/lib/src/version.js +1 -1
  93. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
1
+ import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
2
2
  export * from './interface';
3
3
  declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
4
4
  attrs: any;
@@ -21,7 +21,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
21
21
  readonly onClose?: ((args_0: MouseEvent) => any) | undefined;
22
22
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
23
23
  readonly onChoose?: ((args_0: T) => any) | undefined;
24
- type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
24
+ type?: "warning" | "error" | "success" | "info" | "card" | undefined;
25
25
  data?: string | T[] | undefined;
26
26
  prefix?: string | undefined;
27
27
  tipTitle?: string | undefined;
@@ -30,7 +30,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
30
30
  separatorStyle?: CSSProperties | undefined;
31
31
  contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
32
32
  prefixStyle?: CSSProperties | undefined;
33
- rows?: string | number | undefined;
33
+ rows?: (string | number) | undefined;
34
34
  defaultExpand?: boolean | undefined;
35
35
  closable?: boolean | undefined;
36
36
  afterClose?: (() => void) | undefined;
@@ -54,7 +54,9 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
54
54
  }): any;
55
55
  };
56
56
  emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
57
- }>) => VNode & {
57
+ }>) => VNode<RendererNode, RendererElement, {
58
+ [key: string]: any;
59
+ }> & {
58
60
  __ctx?: Awaited<typeof __VLS_setup>;
59
61
  }) & ( Plugin & (new (...args: any[]) => {
60
62
  $props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, createVNode as u, mergeProps as o, createTextVNode as m } from "vue";
1
+ import { defineComponent as l, createVNode as o, mergeProps as t, createTextVNode as m } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import s from "../ApLabel.mjs";
4
4
  import { omit as n } from "lodash-unified";
@@ -12,19 +12,18 @@ const {
12
12
  name: "ApLabelGroup",
13
13
  props: i(),
14
14
  setup(r) {
15
- const a = (e) => (r.tagValue || r.tagValue === 0) && e.tagConfig && e.tagConfig.length > 0 ? () => e.tagConfig.filter((t) => r.tagValue === t.value).map((t) => u(c, o(n(t, ["type", "size"]), {
15
+ const a = (e) => (r.tagValue || r.tagValue === 0) && e.tagConfig && e.tagConfig.length > 0 ? () => e.tagConfig.filter((u) => r.tagValue === u.value).map((u) => o(c, t(n(u, ["type", "size"]), {
16
16
  size: "small",
17
- type: "border",
18
- text: ""
19
- }), null)) : e.customRender ? () => u("div", null, [e.customRender(r.record)]) : null;
20
- return () => u("div", {
17
+ type: "border"
18
+ }), null)) : e.customRender ? () => o("div", null, [e.customRender(r.record)]) : null;
19
+ return () => o("div", {
21
20
  class: f()
22
- }, [r.columns ? r.columns.map((e, t) => u(s, o({
23
- key: t,
21
+ }, [r.columns ? r.columns.map((e, u) => o(s, t({
22
+ key: u,
24
23
  show: r.value === e.value
25
24
  }, n(e, ["value", "tagConfig", "customRender"])), {
26
25
  custom: a(e)
27
- })) : u("div", null, [m("columns数组不能为空")])]);
26
+ })) : o("div", null, [m("columns数组不能为空")])]);
28
27
  }
29
28
  });
30
29
  export {
@@ -1,5 +1,5 @@
1
1
  import { ApSelectItem } from './interface';
2
- import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
2
+ import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
3
3
  export * from './interface';
4
4
  declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
5
5
  attrs: any;
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
38
38
  (event: "afterEnter", el: Element): void;
39
39
  (event: "afterLeave", el: Element): void;
40
40
  };
41
- }>) => VNode & {
41
+ }>) => VNode<RendererNode, RendererElement, {
42
+ [key: string]: any;
43
+ }> & {
42
44
  __ctx?: Awaited<typeof __VLS_setup>;
43
45
  }) & ( Plugin & (new (...args: any[]) => {
44
46
  $props: {
@@ -1,5 +1,5 @@
1
1
  import { ApSelectItem, ApSelectLayoutProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onOnSelect?: ((value: T) => any) | undefined;
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
19
19
  (event: "afterEnter", el: Element): void;
20
20
  (event: "afterLeave", el: Element): void;
21
21
  };
22
- }>) => VNode & {
22
+ }>) => VNode<RendererNode, RendererElement, {
23
+ [key: string]: any;
24
+ }> & {
23
25
  __ctx?: Awaited<typeof __VLS_setup>;
24
26
  };
25
27
  export default _default;
@@ -4,8 +4,8 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
4
4
  import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
5
5
  import { Recordable } from '../../type';
6
6
  import { TableColumnsType } from '@aplus-frontend/antdv';
7
- import { ApFormSearchFormPopoverSorterItem } from '../..';
8
7
  import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
8
+ import { ApFormSearchFormPopoverSorterItem } from '../..';
9
9
  /**
10
10
  *
11
11
  */
@@ -43,14 +43,8 @@ declare const ApTableModal: {
43
43
  };
44
44
  y: undefined;
45
45
  };
46
- getPaging: () => Partial<{
47
- current: number;
48
- pageSize: number;
49
- }>;
50
- setPaging: (nextPaging: Partial<{
51
- current: number;
52
- pageSize: number;
53
- }>, refreshImmediately?: boolean) => void;
46
+ getPaging: () => InternalPagingType;
47
+ setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
54
48
  getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
55
49
  setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
56
50
  resetSearchFormSorterItems: () => void;
@@ -155,14 +149,8 @@ declare const ApTableModal: {
155
149
  };
156
150
  y: undefined;
157
151
  };
158
- getPaging: () => Partial<{
159
- current: number;
160
- pageSize: number;
161
- }>;
162
- setPaging: (nextPaging: Partial<{
163
- current: number;
164
- pageSize: number;
165
- }>, refreshImmediately?: boolean) => void;
152
+ getPaging: () => InternalPagingType;
153
+ setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
166
154
  getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
167
155
  setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
168
156
  resetSearchFormSorterItems: () => void;
@@ -1,6 +1,6 @@
1
1
  import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
3
+ import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadChangeParam, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
4
4
  import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
5
5
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
6
6
  declare function setValue(val: (string | Record<string, any>)[]): void;
@@ -1,5 +1,4 @@
1
1
  import { Oss } from '../hooks/useOss';
2
- import { actionResponse } from '@aplus-frontend/oss';
3
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  declare function setValue(val?: (string | Record<string, any>)[]): void;
5
4
  interface UploadFile extends File {
@@ -18,7 +17,13 @@ declare function __VLS_template(): {
18
17
  pictureContext?(_: {
19
18
  fileList: {
20
19
  oss: {
21
- pauseUpload: (() => Promise< actionResponse>) | undefined;
20
+ pauseUpload: (() => Promise<{
21
+ status: number;
22
+ previewUrl?: string;
23
+ saveUrl?: string;
24
+ originalFileName?: string;
25
+ message: string;
26
+ }>) | undefined;
22
27
  };
23
28
  }[];
24
29
  remove: typeof handleRemove;
@@ -43,13 +43,13 @@ const a = (l) => {
43
43
  },
44
44
  ".ant-upload-wrapper .ant-upload-list .ant-upload-list-item-error": {
45
45
  ".ant-upload-list-item-name": {
46
- color: "#ff4d4f"
46
+ color: l.colorError
47
47
  },
48
48
  ".ant-upload-icon .anticon": {
49
- color: "#ff4d4f"
49
+ color: l.colorError
50
50
  },
51
51
  ".ant-upload-text-icon": {
52
- color: "#ff4d4f"
52
+ color: l.colorError
53
53
  }
54
54
  },
55
55
  ".ant-upload-list-item-done": {
@@ -1,7 +1,7 @@
1
- const r = (t) => {
2
- const { componentCls: e } = t;
1
+ const r = (o) => {
2
+ const { componentCls: t } = o;
3
3
  return {
4
- [`${e}-picture`]: {
4
+ [`${t}-picture`]: {
5
5
  ".picture-context": {
6
6
  display: "grid",
7
7
  gap: "16px",
@@ -15,23 +15,23 @@ const r = (t) => {
15
15
  width: "100px",
16
16
  overflow: "hidden",
17
17
  transition: "all 0.2s",
18
- border: `1px dashed ${t.borderColorBase}`,
18
+ border: `1px dashed ${o.borderColorBase}`,
19
19
  borderRadius: "4px",
20
- background: t.colorBgLayout,
21
- color: t.textColor4,
20
+ background: o.colorBgLayout,
21
+ color: o.textColor4,
22
22
  fontSize: "16px",
23
23
  cursor: "pointer",
24
24
  aspectRatio: "1 / 1",
25
- "& > * + *": { marginTop: "4px", fontSize: t.fontSize },
25
+ "& > * + *": { marginTop: "4px", fontSize: o.fontSize },
26
26
  "&:hover": {
27
- border: `1px dashed ${t.colorPrimary}`
27
+ border: `1px dashed ${o.colorPrimary}`
28
28
  }
29
29
  },
30
30
  ".picture-item": {
31
31
  width: "100px",
32
32
  padding: "8px",
33
33
  overflow: "hidden",
34
- border: `1px solid ${t.borderColorBase}`,
34
+ border: `1px solid ${o.borderColorBase}`,
35
35
  borderRadius: "4px",
36
36
  background: "#fff",
37
37
  aspectRatio: "1 / 1",
@@ -58,7 +58,7 @@ const r = (t) => {
58
58
  borderRadius: "2px",
59
59
  background: "rgb(0 0 0 / 50%)",
60
60
  color: "#fff",
61
- fontSize: t.fontSize,
61
+ fontSize: o.fontSize,
62
62
  ".picture-item-close": {
63
63
  display: "flex",
64
64
  position: "absolute",
@@ -71,7 +71,7 @@ const r = (t) => {
71
71
  transform: "translate(30%, -30%)",
72
72
  border: "1px solid #fff",
73
73
  borderRadius: "50%",
74
- background: "#ff4d4f",
74
+ background: o.colorError,
75
75
  color: "#fff",
76
76
  fontSize: "10px",
77
77
  cursor: "pointer",
@@ -91,7 +91,7 @@ const r = (t) => {
91
91
  },
92
92
  ".picture-title": {
93
93
  marginTop: "8px",
94
- color: t.textColor3,
94
+ color: o.textColor3,
95
95
  fontSize: "12px"
96
96
  }
97
97
  }
@@ -1,7 +1,7 @@
1
- const r = (e) => {
2
- const { componentCls: i } = e, t = `${i}-single-file`;
1
+ const t = (e) => {
2
+ const { componentCls: i } = e, r = `${i}-single-file`;
3
3
  return {
4
- [t]: {
4
+ [r]: {
5
5
  display: "flex",
6
6
  alignItems: "center",
7
7
  justifyContent: "center",
@@ -77,21 +77,21 @@ const r = (e) => {
77
77
  ".right": {
78
78
  flexShrink: 0,
79
79
  marginLeft: "24px",
80
- color: "#ff4d4f",
80
+ color: e.colorError,
81
81
  fontSize: "20px",
82
82
  cursor: "pointer !important"
83
83
  }
84
84
  }
85
85
  },
86
- [`${t}-un`]: {
86
+ [`${r}-un`]: {
87
87
  cursor: "pointer",
88
88
  "&:hover": {
89
- border: "1px dashed #0070ff",
90
- background: "rgb(0 112 255 / 10%)"
89
+ border: `1px dashed ${e.colorPrimary}`,
90
+ background: `color-mix(in srgb, ${e.colorPrimary} 10%, transparent)`
91
91
  }
92
92
  }
93
93
  };
94
94
  };
95
95
  export {
96
- r as singleFileStyle
96
+ t as singleFileStyle
97
97
  };
@@ -1,5 +1,5 @@
1
1
  import { ApValueSelectCardProps, ApValueSelectCardOption } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, ComputedRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends Record<string, any> = Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onChange?: ((keys: (string | number)[]) => any) | undefined;
@@ -45,7 +45,9 @@ declare const _default: <T extends Record<string, any> = Record<string, any>>(__
45
45
  (e: "remove", key: string | number): void;
46
46
  (e: "highlight", keys: (string | number)[]): void;
47
47
  };
48
- }>) => VNode & {
48
+ }>) => VNode<RendererNode, RendererElement, {
49
+ [key: string]: any;
50
+ }> & {
49
51
  __ctx?: Awaited<typeof __VLS_setup>;
50
52
  };
51
53
  export default _default;
@@ -60,7 +60,7 @@ const l = (o) => {
60
60
  "&.all": {
61
61
  color: o.textColor2,
62
62
  background: "#fff",
63
- border: `1px solid ${o.colorBg1}`,
63
+ border: `1px solid ${o.borderColorBase}`,
64
64
  boxShadow: "none",
65
65
  "&:hover:not(.disabled)": {
66
66
  borderColor: o.colorPrimary
@@ -72,7 +72,7 @@ const l = (o) => {
72
72
  border: `1px solid ${o.colorBg1}`
73
73
  },
74
74
  "&.select": {
75
- background: o.colorBgControl,
75
+ backgroundColor: o.colorBgControl,
76
76
  borderColor: o.colorPrimary,
77
77
  cursor: "pointer"
78
78
  }
@@ -107,9 +107,9 @@ const l = (o) => {
107
107
  }
108
108
  }
109
109
  };
110
- }, a = e("ApValueSelectCard", (o) => [
110
+ }, i = e("ApValueSelectCard", (o) => [
111
111
  l(o)
112
112
  ]);
113
113
  export {
114
- a as default
114
+ i as default
115
115
  };
@@ -1,12 +1,13 @@
1
1
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
4
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { OnCleanup } from '@vue/reactivity';
@@ -109,7 +110,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
109
110
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
110
111
  readonly initialValues?: Recordable | undefined;
111
112
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
112
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
113
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
113
114
  readonly syncToUrlPriority?: boolean | undefined;
114
115
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
115
116
  $attrs: {
@@ -1,12 +1,13 @@
1
1
  import { ViewListModel } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
4
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
@@ -110,7 +111,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
110
111
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
111
112
  readonly initialValues?: Recordable | undefined;
112
113
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
113
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
114
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
114
115
  readonly syncToUrlPriority?: boolean | undefined;
115
116
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
116
117
  $attrs: {
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (
6
- /**
7
- * 块 一般是指组件名
8
- */
9
- block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
10
6
  namespace: ComputedRef<string>;
11
7
  b: (blockSuffix?: string) => string;
12
8
  e: (element?: string) => string;
@@ -1,5 +1,5 @@
1
1
  import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
5
5
  expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
@@ -36,7 +36,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
36
36
  }) => void;
37
37
  };
38
38
  emit: {};
39
- }>) => VNode & {
39
+ }>) => VNode<RendererNode, RendererElement, {
40
+ [key: string]: any;
41
+ }> & {
40
42
  __ctx?: Awaited<typeof __VLS_setup>;
41
43
  };
42
44
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -39,7 +39,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
39
39
  }) => void;
40
40
  };
41
41
  emit: (event: "update:value", ...args: any[]) => void;
42
- }>) => VNode & {
42
+ }>) => VNode<RendererNode, RendererElement, {
43
+ [key: string]: any;
44
+ }> & {
43
45
  __ctx?: Awaited<typeof __VLS_setup>;
44
46
  };
45
47
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { ScrollOptions, ScrollViewProps } from './interface';
2
- import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
2
+ import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
3
3
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
4
  declare function scroll(x?: number, y?: number): void;
5
5
  declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
106
  onScroll?: ((percent: number) => void) | undefined;
107
107
  disabled?: boolean | undefined;
108
108
  trackSpeed?: number | undefined;
109
- barColor?: import("csstype").Property.BackgroundColor | undefined;
110
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
109
+ barColor?: ColorType;
110
+ trackColor?: ColorType;
111
111
  trackWidth?: number | undefined;
112
112
  showTrack?: boolean | undefined;
113
113
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
118
  onScroll?: ((percent: number) => void) | undefined;
119
119
  disabled?: boolean | undefined;
120
120
  trackSpeed?: number | undefined;
121
- barColor?: import("csstype").Property.BackgroundColor | undefined;
122
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
121
+ barColor?: ColorType;
122
+ trackColor?: ColorType;
123
123
  trackWidth?: number | undefined;
124
124
  showTrack?: boolean | undefined;
125
125
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: "admin" | "aplus" | undefined;
4
- lang?: "en" | "zh-cn" | undefined;
3
+ uiMode?: ("admin" | "aplus") | undefined;
4
+ lang?: ("en" | "zh-cn") | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: "admin" | "aplus" | undefined;
7
- lang?: "en" | "zh-cn" | undefined;
6
+ uiMode?: ("admin" | "aplus") | undefined;
7
+ lang?: ("en" | "zh-cn") | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
- declare const _default: "7.3.0";
1
+ declare const _default: "7.3.2";
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = "7.3.0";
1
+ const e = "7.3.2";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,13 +1,15 @@
1
1
  import { EditableAgGridFormItemExpose, EditableAgGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableAgGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableAgGridFormItemExpose<RecordType>>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableAgGridExpose, EditableAgGridProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode & {
12
+ }>) => VNode<RendererNode, RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
13
15
  __ctx?: Awaited<typeof __VLS_setup>;
14
16
  };
15
17
  export default _default;
@@ -1,13 +1,15 @@
1
1
  import { AgGridExpose, AgGridProps, AgGridSlots } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & AgGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<AgGridExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<AgGridSlots<RecordType>> & AgGridSlots<RecordType>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
6
6
  options: Ref<{
7
7
  [x: string]: any;
8
8
  label?: any;
9
- value?: string | number | null | undefined;
9
+ value?: (string | number | null) | undefined;
10
10
  children?: Omit<DefaultOptionType, "children">[] | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  }[], DefaultOptionType[] | {
13
13
  [x: string]: any;
14
14
  label?: any;
15
- value?: string | number | null | undefined;
15
+ value?: (string | number | null) | undefined;
16
16
  children?: Omit<DefaultOptionType, "children">[] | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  }[]>;
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
8
8
  disabled?: boolean | undefined;
9
9
  checkable?: boolean | undefined;
10
10
  disableCheckbox?: boolean | undefined;
11
- children?: /*elided*/ any[] | undefined;
11
+ children?: any[] | undefined;
12
12
  } | {
13
13
  [x: string]: any;
14
14
  value?: RawValueType | undefined;
15
15
  title?: any;
16
16
  label?: any;
17
17
  key?: Key | undefined;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  checkable?: boolean | undefined;
21
21
  disableCheckbox?: boolean | undefined;
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
24
24
  disabled?: boolean | undefined;
25
25
  checkable?: boolean | undefined;
26
26
  disableCheckbox?: boolean | undefined;
27
- children?: /*elided*/ any[] | undefined;
27
+ children?: any[] | undefined;
28
28
  } | {
29
29
  [x: string]: any;
30
30
  value?: RawValueType | undefined;
31
31
  title?: any;
32
32
  label?: any;
33
33
  key?: Key | undefined;
34
- children?: /*elided*/ any[] | undefined;
34
+ children?: any[] | undefined;
35
35
  disabled?: boolean | undefined;
36
36
  checkable?: boolean | undefined;
37
37
  disableCheckbox?: boolean | undefined;