@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,5 +1,5 @@
1
1
  import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
5
5
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
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
  declare function __VLS_template(): {
@@ -1,12 +1,13 @@
1
1
  import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
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, ApFormSubmitterConfig } from '..';
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
118
119
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
119
120
  readonly initialValues?: Recordable | undefined;
120
121
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
122
123
  readonly syncToUrlPriority?: boolean | undefined;
123
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
125
  $attrs: {
@@ -1081,7 +1082,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1081
1082
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1082
1083
  readonly initialValues?: Recordable | undefined;
1083
1084
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1084
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1085
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1085
1086
  readonly syncToUrlPriority?: boolean | undefined;
1086
1087
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1087
1088
  $attrs: {
@@ -127,12 +127,12 @@ declare function __VLS_template(): {
127
127
  readonly emptyText?: string | undefined;
128
128
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
129
129
  readonly multiple?: boolean | undefined;
130
- readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
130
+ readonly value?: SelectProps["value"];
131
131
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
132
- readonly searchMode?: "filter" | "request" | undefined;
132
+ readonly searchMode?: ("filter" | "request") | undefined;
133
133
  readonly refetchOnFocus?: boolean | undefined;
134
134
  readonly lazy?: boolean | undefined;
135
- readonly addAll?: boolean | number | undefined;
135
+ readonly addAll?: (boolean | number) | undefined;
136
136
  readonly params?: Recordable | undefined;
137
137
  readonly searchDelay?: number | undefined;
138
138
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -776,12 +776,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
776
776
  readonly emptyText?: string | undefined;
777
777
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
778
778
  readonly multiple?: boolean | undefined;
779
- readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
779
+ readonly value?: SelectProps["value"];
780
780
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
781
- readonly searchMode?: "filter" | "request" | undefined;
781
+ readonly searchMode?: ("filter" | "request") | undefined;
782
782
  readonly refetchOnFocus?: boolean | undefined;
783
783
  readonly lazy?: boolean | undefined;
784
- readonly addAll?: boolean | number | undefined;
784
+ readonly addAll?: (boolean | number) | undefined;
785
785
  readonly params?: Recordable | undefined;
786
786
  readonly searchDelay?: number | undefined;
787
787
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,12 +1,13 @@
1
1
  import { ApFormModalFormProps } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
5
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
6
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
7
7
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
@@ -119,7 +120,7 @@ declare function __VLS_template(): {
119
120
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
120
121
  readonly initialValues?: Recordable | undefined;
121
122
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
122
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
123
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
123
124
  readonly syncToUrlPriority?: boolean | undefined;
124
125
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
125
126
  $attrs: {
@@ -1298,7 +1299,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1298
1299
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1299
1300
  readonly initialValues?: Recordable | undefined;
1300
1301
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1301
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1302
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1302
1303
  readonly syncToUrlPriority?: boolean | undefined;
1303
1304
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1304
1305
  $attrs: {
@@ -143,7 +143,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
143
143
  delay?: number;
144
144
  };
145
145
  danger: boolean;
146
- htmlType: ** @type { [typeof __VLS_components.Tooltip, typeof __VLS_components.Tooltip, ] } */).ButtonHTMLType;
146
+ htmlType: ButtonHTMLType;
147
147
  ghost: boolean;
148
148
  iconPosition: ButtonIconPosition;
149
149
  }> | null;
@@ -1,12 +1,13 @@
1
1
  import { ApFormExpose, ApFormSearchFormProps } from '../interface';
2
2
  import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } 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, ApFormSearchFormPopoverSorterItem } from '..';
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
118
119
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
119
120
  readonly initialValues?: Recordable | undefined;
120
121
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
122
123
  readonly syncToUrlPriority?: boolean | undefined;
123
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
125
  $attrs: {
@@ -1106,7 +1107,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
1106
1107
  readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
1107
1108
  readonly initialValues?: Recordable | undefined;
1108
1109
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1109
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1110
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1110
1111
  readonly syncToUrlPriority?: boolean | undefined;
1111
1112
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1112
1113
  $attrs: {
@@ -1,13 +1,15 @@
1
1
  import { EditableGridFormItemExpose, EditableGridFormItemProps } 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> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): 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 { EditableGridExpose, EditableGridProps } 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,6 +1,6 @@
1
1
  import { VxeTableSlots } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
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>(__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> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
@@ -35,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode & {
38
+ }>) => VNode<RendererNode, RendererElement, {
39
+ [key: string]: any;
40
+ }> & {
39
41
  __ctx?: Awaited<typeof __VLS_setup>;
40
42
  };
41
43
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { ApListExpose, ApListProps } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { ApFormSearchFormExpose } from '..';
5
5
  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<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
@@ -34,7 +34,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
34
34
  }): any;
35
35
  };
36
36
  emit: {};
37
- }>) => VNode & {
37
+ }>) => VNode<RendererNode, RendererElement, {
38
+ [key: string]: any;
39
+ }> & {
38
40
  __ctx?: Awaited<typeof __VLS_setup>;
39
41
  };
40
42
  export default _default;
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
6
6
  update: (configUpdate: ConfigUpdate) => void;
7
7
  };
8
8
  declare const confirm: (config: ModalFuncProps) => {
9
- destroy: (this: /*elided*/ any, ...args: any[]) => void;
9
+ destroy: (this: any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;
@@ -2,7 +2,7 @@ import { ApColumnType, ApTableProps } from './interface';
2
2
  import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
3
3
  import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
4
4
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
6
6
  declare const _default: <RecordType>(__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<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
8
8
  expose(exposed: ShallowUnwrapRef<{
@@ -98,7 +98,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
98
98
  }) => void;
99
99
  };
100
100
  emit: {};
101
- }>) => VNode & {
101
+ }>) => VNode<RendererNode, RendererElement, {
102
+ [key: string]: any;
103
+ }> & {
102
104
  __ctx?: Awaited<typeof __VLS_setup>;
103
105
  };
104
106
  export default _default;
@@ -11,7 +11,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
11
11
  import { OnCleanup } from '@vue/reactivity';
12
12
  import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
13
13
  import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
14
- import { RadioChangeEvent, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
14
+ import { RadioChangeEvent, SelectProps, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
15
15
  import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
16
16
  import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
17
17
  import { RenderDOMFunc, CustomTagProps, DropdownRender, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
@@ -977,14 +977,14 @@ export declare const apTableFormItemMap: {
977
977
  readonly onPopupScroll?: ((e: UIEvent) => void) | undefined;
978
978
  readonly onInputKeyDown?: ((e: KeyboardEvent) => void) | undefined;
979
979
  readonly emptyText?: string | undefined;
980
- readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
980
+ readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
981
981
  readonly multiple?: boolean | undefined;
982
- readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
982
+ readonly value?: SelectProps["value"];
983
983
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
984
- readonly searchMode?: "filter" | "request" | undefined;
984
+ readonly searchMode?: ("filter" | "request") | undefined;
985
985
  readonly refetchOnFocus?: boolean | undefined;
986
986
  readonly lazy?: boolean | undefined;
987
- readonly addAll?: boolean | number | undefined;
987
+ readonly addAll?: (boolean | number) | undefined;
988
988
  readonly params?: Recordable | undefined;
989
989
  readonly searchDelay?: number | undefined;
990
990
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -4,18 +4,18 @@ export declare const useTableColumnState: (columnSetting: ApTableSettingType, pe
4
4
  columnState: Ref<{
5
5
  key: string | number;
6
6
  show?: boolean | undefined;
7
- fixed?: "left" | "right" | undefined;
7
+ fixed?: ("left" | "right") | undefined;
8
8
  disabled?: boolean | undefined;
9
9
  label?: any;
10
- children?: /*elided*/ any[] | undefined;
10
+ children?: any[] | undefined;
11
11
  order?: number | undefined;
12
12
  }[], ApColumnState[] | {
13
13
  key: string | number;
14
14
  show?: boolean | undefined;
15
- fixed?: "left" | "right" | undefined;
15
+ fixed?: ("left" | "right") | undefined;
16
16
  disabled?: boolean | undefined;
17
17
  label?: any;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  order?: number | undefined;
20
20
  }[]>;
21
21
  selectAll: () => void;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),J=require("../../utils/index.js"),d=require("../components/setting/utils.js"),P=require("../context.js"),f=require("lodash-unified");require("../../config-provider/index.js");const R=require("@aplus-frontend/antdv/es/theme/internal"),W=require("../utils.js"),z=require("../../config-provider/hooks/use-namespace.js");function g(r,n){r.forEach(i=>{n(i),i.children?.length&&g(i.children,n)})}function D(r,n){if(!n)return{};const i=r.getItem(n);return i?JSON.parse(i):{}}function T(r,n){if(f.isObject(r)&&f.isObject(n))return f.mergeWith({},r,n,T)}const y=Number.MAX_SAFE_INTEGER;function G(r,n,i,a){return a?a.fixed:n?n.fixed:i&&"fixed"in i?i.fixed:f.isBoolean(r.fixed)?r.fixed?"left":void 0:r.fixed}const U=(r,n,i)=>{const{be:a}=z.useNamespace("ap-table"),[X,q]=R.useToken(),c=o.ref(i),h=o.shallowRef(d.customCloneColumnStates(i)),{columnsBackup:x,updateColumns:N}=P.useInjectApTable(),A=r.persistenceType||"localStorage",C=window[A];function O(){const e=D(C,o.unref(n)),t=f.mergeWith({},r.defaultValue||{},e,T),s=o.unref(x);function l(j,M,_){return j.map(u=>{const k=M?.[u.key]||{},S={key:u.key,label:f.isString(u.title)?W.getTableTitle(u,a("table-header","title"),void 0,q.value.colorPrimary):u.title,show:!0,fixed:G(u,e[u.key],r.defaultValue?.[u.key],_),disabled:!1,...f.omit(k,["children","fixed"])};return S.children=u.children?.length?l(u.children,k.children,S):void 0,S}).sort(B)}return l(s||[],t)}function B(e,t){const s=f.isNumber(e.order)?e.order:y;let l=f.isNumber(t.order)?t.order:y;return e.fixed==="right"&&t.fixed!=="right"&&(l=s-1),t.fixed==="left"&&e.fixed!=="left"&&(l=s-1),s-l}const m=o.computed(()=>o.unref(c).every(e=>e.show));function b(){const e=o.unref(c);g(e,t=>{!t.disabled&&(t.show=!0)})}function p(){const e=o.unref(c);g(e,t=>{!t.disabled&&(t.show=!1)})}function E(){o.unref(m)?p():b()}function F(e,t){g(o.unref(c),s=>{s.key===e&&(s.show=J.isDef(t)?t:!s.show)})}function v(e){c.value=e}function I(e){h.value=e}function w(e){if(o.unref(n)){const t=d.getColumnStateString(e);C.setItem(o.unref(n),JSON.stringify(t))}}return o.watchEffect(()=>{const e=O();v(e),r.onChange?.(e),N?.(d.default(o.unref(x),o.unref(e))),h.value=d.customCloneColumnStates(e),w(e)}),{columnState:c,selectAll:b,unSelectAll:p,toggleSelect:F,setColumnState:v,isAllSelected:m,toggleSelectAll:E,columnStateBackup:h,setColumnStateBackup:I,cacheColumnStateIfNeeded:w}};exports.useTableColumnState=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),J=require("../../utils/index.js"),d=require("../components/setting/utils.js"),R=require("../context.js"),f=require("lodash-unified");require("../../config-provider/index.js");const W=require("@aplus-frontend/antdv/es/theme/internal"),z=require("../utils.js"),D=require("../../config-provider/hooks/use-namespace.js");function g(r,n){r.forEach(i=>{n(i),i.children?.length&&g(i.children,n)})}function G(r,n){if(!n)return{};const i=r.getItem(n);return i?JSON.parse(i):{}}function y(r,n){if(f.isObject(r)&&f.isObject(n))return f.mergeWith({},r,n,y)}const k=Number.MAX_SAFE_INTEGER;function P(r,n,i,a){return a?a.fixed:n?n.fixed:i&&"fixed"in i?i.fixed:f.isBoolean(r.fixed)?r.fixed?"left":void 0:r.fixed}const U=(r,n,i)=>{const{be:a}=D.useNamespace("ap-table"),[X,q]=W.useToken(),c=o.ref(i),h=o.shallowRef(d.customCloneColumnStates(i)),{columnsBackup:x,updateColumns:N}=R.useInjectApTable(),A=r.persistenceType||"localStorage",C=window[A];function O(){const e=G(C,o.unref(n)),t=f.mergeWith({},r.defaultValue||{},e,y),s=o.unref(x);function l(j,M,_){return j.map(u=>{const T=M?.[u.key]||{},S={key:u.key,label:f.isString(u.title)?z.getTableTitle(u,a("table-header","title"),void 0,q.value.colorTextTertiary):u.title,show:!0,fixed:P(u,e[u.key],r.defaultValue?.[u.key],_),disabled:!1,...f.omit(T,["children","fixed"])};return S.children=u.children?.length?l(u.children,T.children,S):void 0,S}).sort(B)}return l(s||[],t)}function B(e,t){const s=f.isNumber(e.order)?e.order:k;let l=f.isNumber(t.order)?t.order:k;return e.fixed==="right"&&t.fixed!=="right"&&(l=s-1),t.fixed==="left"&&e.fixed!=="left"&&(l=s-1),s-l}const m=o.computed(()=>o.unref(c).every(e=>e.show));function b(){const e=o.unref(c);g(e,t=>{!t.disabled&&(t.show=!0)})}function p(){const e=o.unref(c);g(e,t=>{!t.disabled&&(t.show=!1)})}function E(){o.unref(m)?p():b()}function F(e,t){g(o.unref(c),s=>{s.key===e&&(s.show=J.isDef(t)?t:!s.show)})}function v(e){c.value=e}function I(e){h.value=e}function w(e){if(o.unref(n)){const t=d.getColumnStateString(e);C.setItem(o.unref(n),JSON.stringify(t))}}return o.watchEffect(()=>{const e=O();v(e),r.onChange?.(e),N?.(d.default(o.unref(x),o.unref(e))),h.value=d.customCloneColumnStates(e),w(e)}),{columnState:c,selectAll:b,unSelectAll:p,toggleSelect:F,setColumnState:v,isAllSelected:m,toggleSelectAll:E,columnStateBackup:h,setColumnStateBackup:I,cacheColumnStateIfNeeded:w}};exports.useTableColumnState=U;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../style/index.js"),o=require("../../utils/cssinjs/index.js"),l=t=>({[`.${t.namespace}-ap-table-setting-trigger-button`]:{color:t.textColor3,"&:hover":{color:"unset"}}}),i=t=>{const{componentCls:e,namespace:r}=t,a=`--${r}-ap-table-scroll-bar-width`;return{[e]:{...n.resetScrollbar(t),"&-wrapper":{padding:t.space,backgroundColor:"#fff","&:has(.ant-pagination)":{paddingBlockEnd:0}},"&-adaptive":{height:"100%",display:"flex",flexDirection:"column",".ant-table-wrapper":{flex:1},".ant-spin-nested-loading,.ant-spin-container":{height:"100%"},".ant-spin-container":{display:"flex",flexDirection:"column"},".ant-table":{flex:1},".ant-table-container,.ant-table-content":{height:"100%"},".ant-table-content > table":{height:"100%"}},[`${e}__search-wrapper`]:{padding:t.space,paddingBlockEnd:0,backgroundColor:"#fff",marginBlockEnd:"10px",borderRadius:t.borderRadius},[`${e}__table-wrapper`]:{flex:1,maxHeight:"100%",display:"flex",flexDirection:"column"},[`${e}__table-wrapper-card`]:{padding:t.space,borderRadius:t.borderRadius,backgroundColor:"#fff",overflow:"hidden","&:has(.ant-pagination)":{paddingBlockEnd:0}},[`${e}-table`]:{"ul.ant-table-pagination.ant-pagination":{marginBlock:t.space,alignItems:"center",".ant-pagination-total-text":{flex:1,height:"unset",lineHeight:t.lineHeight,display:"flex",alignItems:"center"}},"tr > th.ant-table-cell":{"&::before":{backgroundColor:"#D8DDE5 !important"},backgroundColor:t.apTableHeaderBg}},".ant-table.ant-table-middle .ant-table-row .ant-table-cell:not(.ant-table-selection-column)":{padding:"9px 12px"},".ant-table.ant-table-middle .ant-table-thead .ant-table-cell:not(.ant-table-selection-column)":{padding:"9px 12px"},".ant-table.ant-table-small .ant-table-row .ant-table-cell:not(.ant-table-selection-column)":{padding:"6px 9px"},".ant-table.ant-table-small .ant-table-thead .ant-table-cell:not(.ant-table-selection-column)":{padding:"6px 9px"},".ant-table-placeholder .ant-table-expanded-row-fixed":{"&::after":{borderInlineEndWidth:"0px !important"}},".ant-table-column-sorters":{justifyContent:"unset",display:"inline-flex",".ant-table-column-title":{flex:"unset"}},".ant-table-filter-column":{justifyContent:"unset",display:"inline-flex",".ant-table-column-title":{flex:"unset"},".ant-table-filter-trigger":{marginInlineStart:"2px",paddingInlineStart:"2px"}},".ant-table-cell .ant-typography":{marginBlockEnd:0},"&-pagination-count-text":{color:t.textColor1},"&-pagination--total-right":{paddingLeft:"12px"},"&-pagination-total-wrapper":{color:t.textColor2},[`${e}-header`]:{paddingBlockEnd:t.space,display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"nowrap","&__title":{flex:1,flexShrink:1,minWidth:0}},[`${e}-table-header__title`]:{...n.multiRows(t),textAlign:"right"},...l(t),"&--sticky-relative":{".ant-table-container":{"& > div:last-child":{marginBottom:`calc(var(${a}) * -1)`,clipPath:`inset(0 0 var(${a}) 0)`}}},"&--sticky-absolute":{".ant-table-container":{"& > div:last-child":{paddingBottom:"15px",marginBottom:"-15px",clipPath:"inset(0 0 15px 0)"}}}}}},d=o.genComponentStyleHook("ApTable",t=>[i(t)],{apTableHeaderBg:"#F2F6F9"});exports.default=d;exports.genApTableStyle=i;exports.genSettingTriggerBtnStyle=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../style/index.js"),o=require("../../utils/cssinjs/index.js"),l=t=>({[`.${t.namespace}-ap-table-setting-trigger-button`]:{color:t.textColor2,"&:hover":{color:"unset"}}}),i=t=>{const{componentCls:e,namespace:r}=t,a=`--${r}-ap-table-scroll-bar-width`;return{[e]:{...n.resetScrollbar(t),"&-wrapper":{padding:t.space,backgroundColor:"#fff","&:has(.ant-pagination)":{paddingBlockEnd:0}},"&-adaptive":{height:"100%",display:"flex",flexDirection:"column",".ant-table-wrapper":{flex:1},".ant-spin-nested-loading,.ant-spin-container":{height:"100%"},".ant-spin-container":{display:"flex",flexDirection:"column"},".ant-table":{flex:1},".ant-table-container,.ant-table-content":{height:"100%"},".ant-table-content > table":{height:"100%"}},[`${e}__search-wrapper`]:{padding:t.space,paddingBlockEnd:0,backgroundColor:"#fff",marginBlockEnd:"10px",borderRadius:t.borderRadius},[`${e}__table-wrapper`]:{flex:1,maxHeight:"100%",display:"flex",flexDirection:"column"},[`${e}__table-wrapper-card`]:{padding:t.space,borderRadius:t.borderRadius,backgroundColor:"#fff",overflow:"hidden","&:has(.ant-pagination)":{paddingBlockEnd:0}},[`${e}-table`]:{"ul.ant-table-pagination.ant-pagination":{marginBlock:t.space,alignItems:"center",".ant-pagination-total-text":{flex:1,height:"unset",lineHeight:t.lineHeight,display:"flex",alignItems:"center"}},"tr > th.ant-table-cell":{"&::before":{backgroundColor:"#D8DDE5 !important"},backgroundColor:t.apTableHeaderBg}},".ant-table.ant-table-middle .ant-table-row .ant-table-cell:not(.ant-table-selection-column)":{padding:"9px 12px"},".ant-table.ant-table-middle .ant-table-thead .ant-table-cell:not(.ant-table-selection-column)":{padding:"9px 12px"},".ant-table.ant-table-small .ant-table-row .ant-table-cell:not(.ant-table-selection-column)":{padding:"6px 9px"},".ant-table.ant-table-small .ant-table-thead .ant-table-cell:not(.ant-table-selection-column)":{padding:"6px 9px"},".ant-table-placeholder .ant-table-expanded-row-fixed":{"&::after":{borderInlineEndWidth:"0px !important"}},".ant-table-column-sorters":{justifyContent:"unset",display:"inline-flex",".ant-table-column-title":{flex:"unset"}},".ant-table-filter-column":{justifyContent:"unset",display:"inline-flex",".ant-table-column-title":{flex:"unset"},".ant-table-filter-trigger":{marginInlineStart:"2px",paddingInlineStart:"2px"}},".ant-table-cell .ant-typography":{marginBlockEnd:0},"&-pagination-count-text":{color:t.textColor1},"&-pagination--total-right":{paddingLeft:"12px"},"&-pagination-total-wrapper":{color:t.textColor2},[`${e}-header`]:{paddingBlockEnd:t.space,display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"nowrap","&__title":{flex:1,flexShrink:1,minWidth:0}},[`${e}-table-header__title`]:{...n.multiRows(t),textAlign:"right"},...l(t),"&--sticky-relative":{".ant-table-container":{"& > div:last-child":{marginBottom:`calc(var(${a}) * -1)`,clipPath:`inset(0 0 var(${a}) 0)`}}},"&--sticky-absolute":{".ant-table-container":{"& > div:last-child":{paddingBottom:"15px",marginBottom:"-15px",clipPath:"inset(0 0 15px 0)"}}}}}},d=o.genComponentStyleHook("ApTable",t=>[i(t)],{apTableHeaderBg:"#F2F6F9"});exports.default=d;exports.genApTableStyle=i;exports.genSettingTriggerBtnStyle=l;
@@ -3,8 +3,8 @@ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/bu
3
3
  import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
4
4
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
5
5
  import { MouseEventHandler, FocusEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
6
+ import { ButtonProps, ItemType, MenuTheme, MenuMode, TableColumnsType } from '@aplus-frontend/antdv';
6
7
  import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/dropdown/props';
7
- import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
8
8
  import { Key } from '@aplus-frontend/antdv/es/_util/type';
9
9
  import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
10
10
  import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
@@ -70,7 +70,7 @@ declare const ApBatchActionGroup: {
70
70
  color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "danger" | "primary">;
71
71
  variant: PropType<ButtonVariantType>;
72
72
  }>>, "type" | "onClick"> & {
73
- type?: ( ButtonType | undefined) | "borderLink";
73
+ type?: ButtonProps["type"] | "borderLink";
74
74
  borderLinkColor?: string;
75
75
  minWidth?: boolean | number | string;
76
76
  lazy?: boolean | number;
@@ -380,7 +380,7 @@ declare const ApBatchActionGroup: {
380
380
  color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "danger" | "primary">;
381
381
  variant: PropType<ButtonVariantType>;
382
382
  }>>, "type" | "onClick"> & {
383
- type?: ( ButtonType | undefined) | "borderLink";
383
+ type?: ButtonProps["type"] | "borderLink";
384
384
  borderLinkColor?: string;
385
385
  minWidth?: boolean | number | string;
386
386
  lazy?: boolean | number;
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
10
10
  span: number;
11
11
  row: number;
12
12
  col: number;
13
- showHeight?: number | string | undefined;
13
+ showHeight?: (number | string) | undefined;
14
14
  height: number | string;
15
15
  module: string;
16
16
  };
@@ -172,7 +172,7 @@ declare const ApDraggableGrid: {
172
172
  span: number;
173
173
  row: number;
174
174
  col: number;
175
- showHeight?: number | string | undefined;
175
+ showHeight?: (number | string) | undefined;
176
176
  height: number | string;
177
177
  module: string;
178
178
  };
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } 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 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 onClose?: ((args_0: MouseEvent) => any) | undefined;
@@ -24,7 +24,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
24
24
  }): any;
25
25
  };
26
26
  emit: ((evt: "close", args_0: MouseEvent) => void) & ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
27
- }>) => VNode & {
27
+ }>) => VNode<RendererNode, RendererElement, {
28
+ [key: string]: any;
29
+ }> & {
28
30
  __ctx?: Awaited<typeof __VLS_setup>;
29
31
  };
30
32
  export default _default;
@@ -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 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("vue");require("../../../config-provider/index.js");const o=require("../ApLabel.js"),a=require("lodash-unified"),l=require("../constans.js");require("../../ap-tag/index.js");const s=require("../../../config-provider/hooks/use-namespace.js"),c=require("../../ap-tag/ap-tag.vue.js"),{b:d}=s.useNamespace("ap-label-group"),i=u.defineComponent({name:"ApLabelGroup",props:l.ApLabelGroupProps(),setup(r){const n=e=>(r.tagValue||r.tagValue===0)&&e.tagConfig&&e.tagConfig.length>0?()=>e.tagConfig.filter(t=>r.tagValue===t.value).map(t=>u.createVNode(c.default,u.mergeProps(a.omit(t,["type","size"]),{size:"small",type:"border",text:""}),null)):e.customRender?()=>u.createVNode("div",null,[e.customRender(r.record)]):null;return()=>u.createVNode("div",{class:d()},[r.columns?r.columns.map((e,t)=>u.createVNode(o.default,u.mergeProps({key:t,show:r.value===e.value},a.omit(e,["value","tagConfig","customRender"])),{custom:n(e)})):u.createVNode("div",null,[u.createTextVNode("columns数组不能为空")])])}});exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("vue");require("../../../config-provider/index.js");const o=require("../ApLabel.js"),a=require("lodash-unified"),l=require("../constans.js");require("../../ap-tag/index.js");const s=require("../../../config-provider/hooks/use-namespace.js"),c=require("../../ap-tag/ap-tag.vue.js"),{b:d}=s.useNamespace("ap-label-group"),i=u.defineComponent({name:"ApLabelGroup",props:l.ApLabelGroupProps(),setup(r){const n=e=>(r.tagValue||r.tagValue===0)&&e.tagConfig&&e.tagConfig.length>0?()=>e.tagConfig.filter(t=>r.tagValue===t.value).map(t=>u.createVNode(c.default,u.mergeProps(a.omit(t,["type","size"]),{size:"small",type:"border"}),null)):e.customRender?()=>u.createVNode("div",null,[e.customRender(r.record)]):null;return()=>u.createVNode("div",{class:d()},[r.columns?r.columns.map((e,t)=>u.createVNode(o.default,u.mergeProps({key:t,show:r.value===e.value},a.omit(e,["value","tagConfig","customRender"])),{custom:n(e)})):u.createVNode("div",null,[u.createTextVNode("columns数组不能为空")])])}});exports.default=i;
@@ -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;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=l=>{const{componentCls:t}=l;return{[`${t}-multiple-file`]:{".multiple-file-context":{display:"flex",alignItems:"center",".file-btn":{display:"flex",alignItems:"center",padding:"7px 12px",transition:"all 0.3s",border:`1px solid ${l.borderColorBase}`,borderRadius:"4px",color:l.textColor1,"&:hover":{borderColor:l.colorPrimary,color:l.colorPrimary}},".sub-title":{paddingLeft:"16px",color:l.textColor3,fontSize:l.fontSize}},".ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover":{backgroundColor:l.colorBgLayout,".ant-upload-list-item-actions .ant-upload-list-item-action:focus":{opacity:1}},".ant-upload-list-item-actions":{display:"flex",alignItems:"center",flexShrink:0},".ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus":{opacity:0},".ant-upload-text-icon":{color:l.textColor4},".ant-upload-wrapper .ant-upload-list .ant-upload-list-item-error":{".ant-upload-list-item-name":{color:"#ff4d4f"},".ant-upload-icon .anticon":{color:"#ff4d4f"},".ant-upload-text-icon":{color:"#ff4d4f"}},".ant-upload-list-item-done":{color:l.colorLink},".ant-upload-list-item-undefined":{color:l.colorLink}}}};exports.multipleFileStyle=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=l=>{const{componentCls:o}=l;return{[`${o}-multiple-file`]:{".multiple-file-context":{display:"flex",alignItems:"center",".file-btn":{display:"flex",alignItems:"center",padding:"7px 12px",transition:"all 0.3s",border:`1px solid ${l.borderColorBase}`,borderRadius:"4px",color:l.textColor1,"&:hover":{borderColor:l.colorPrimary,color:l.colorPrimary}},".sub-title":{paddingLeft:"16px",color:l.textColor3,fontSize:l.fontSize}},".ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover":{backgroundColor:l.colorBgLayout,".ant-upload-list-item-actions .ant-upload-list-item-action:focus":{opacity:1}},".ant-upload-list-item-actions":{display:"flex",alignItems:"center",flexShrink:0},".ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus":{opacity:0},".ant-upload-text-icon":{color:l.textColor4},".ant-upload-wrapper .ant-upload-list .ant-upload-list-item-error":{".ant-upload-list-item-name":{color:l.colorError},".ant-upload-icon .anticon":{color:l.colorError},".ant-upload-text-icon":{color:l.colorError}},".ant-upload-list-item-done":{color:l.colorLink},".ant-upload-list-item-undefined":{color:l.colorLink}}}};exports.multipleFileStyle=t;