@aplus-frontend/ui 0.4.24 → 0.4.26

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 (72) hide show
  1. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  2. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  3. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  4. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  5. package/es/src/ap-list/index.vue.d.ts +2 -4
  6. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  7. package/es/src/ap-table/ap-table.vue2.mjs +157 -154
  8. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  9. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  10. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  11. package/es/src/business/ap-attachment/ApAttachment.mjs +31 -31
  12. package/es/src/business/ap-attachment/interface.d.ts +2 -2
  13. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +6 -2
  14. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +36 -32
  15. package/es/src/business/ap-batch-action-group/index.d.ts +16 -7
  16. package/es/src/business/ap-batch-action-group/interface.d.ts +5 -0
  17. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  18. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  19. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  20. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  21. package/es/src/config-provider/config-provider.d.ts +0 -3
  22. package/es/src/config-provider/css-var.d.ts +0 -4
  23. package/es/src/config-provider/css-var.mjs +14 -22
  24. package/es/src/config-provider/index.d.ts +0 -15
  25. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  26. package/es/src/editable-table/index.vue.d.ts +2 -4
  27. package/es/src/locale/lang/en.mjs +4 -2
  28. package/es/src/locale/lang/zh-cn.mjs +3 -2
  29. package/es/src/scroll-view/index.vue.d.ts +5 -5
  30. package/es/src/tests/wrapper.d.ts +4 -4
  31. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  32. package/es/src/work-order-modal/work-order-modal.vue.mjs +24 -21
  33. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  34. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  35. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  36. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  37. package/lib/src/ap-list/index.vue.d.ts +2 -4
  38. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  39. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  40. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  41. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  42. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  43. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  44. package/lib/src/business/ap-attachment/interface.d.ts +2 -2
  45. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +6 -2
  46. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  47. package/lib/src/business/ap-batch-action-group/index.d.ts +16 -7
  48. package/lib/src/business/ap-batch-action-group/interface.d.ts +5 -0
  49. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  50. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  51. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  52. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  53. package/lib/src/config-provider/config-provider.d.ts +0 -3
  54. package/lib/src/config-provider/css-var.d.ts +0 -4
  55. package/lib/src/config-provider/css-var.js +1 -1
  56. package/lib/src/config-provider/index.d.ts +0 -15
  57. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  58. package/lib/src/editable-table/index.vue.d.ts +2 -4
  59. package/lib/src/locale/lang/en.js +1 -1
  60. package/lib/src/locale/lang/zh-cn.js +1 -1
  61. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  62. package/lib/src/tests/wrapper.d.ts +4 -4
  63. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  64. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  65. package/package.json +3 -3
  66. package/theme/ap-scroll-bar/index.css +31 -0
  67. package/theme/ap-scroll-bar/index.less +39 -0
  68. package/theme/ap-table/ap-table.css +2 -2
  69. package/theme/ap-table/ap-table.less +5 -2
  70. package/theme/ap-table-modal/index.css +2 -2
  71. package/theme/index.css +2 -2
  72. package/index.ts +0 -19
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, 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,7 +7,6 @@ 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';
11
10
  import { SizeType } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  declare function __VLS_template(): {
@@ -1,6 +1,6 @@
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, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
@@ -8,7 +8,6 @@ import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -118,7 +117,7 @@ declare function __VLS_template(): {
118
117
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
119
118
  readonly initialValues?: Recordable | undefined;
120
119
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
120
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
121
  readonly syncToUrlPriority?: boolean | undefined;
123
122
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
123
  $attrs: {
@@ -1060,7 +1059,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1060
1059
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1061
1060
  readonly initialValues?: Recordable | undefined;
1062
1061
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1063
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1062
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1064
1063
  readonly syncToUrlPriority?: boolean | undefined;
1065
1064
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1066
1065
  $attrs: {
@@ -1,6 +1,6 @@
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, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
5
  import { ButtonSize, SizeType, ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
6
6
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
@@ -8,7 +8,6 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -118,7 +117,7 @@ declare function __VLS_template(): {
118
117
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
119
118
  readonly initialValues?: Recordable | undefined;
120
119
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
120
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
121
  readonly syncToUrlPriority?: boolean | undefined;
123
122
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
123
  $attrs: {
@@ -1248,7 +1247,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1248
1247
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1249
1248
  readonly initialValues?: Recordable | undefined;
1250
1249
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1251
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1250
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1252
1251
  readonly syncToUrlPriority?: boolean | undefined;
1253
1252
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1254
1253
  $attrs: {
@@ -1,14 +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, ComputedRef } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
- import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
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 { Recordable } from '../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, ApFormInternalInstance, WatchFunc } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -116,7 +115,7 @@ declare function __VLS_template(): {
116
115
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
117
116
  readonly initialValues?: Recordable | undefined;
118
117
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
119
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
118
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
120
119
  readonly syncToUrlPriority?: boolean | undefined;
121
120
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
122
121
  $attrs: {
@@ -953,7 +952,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
953
952
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
954
953
  readonly initialValues?: Recordable | undefined;
955
954
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
956
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
955
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
957
956
  readonly syncToUrlPriority?: boolean | undefined;
958
957
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
959
958
  $attrs: {
@@ -1,6 +1,6 @@
1
1
  import { ApListProps } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } 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;
@@ -41,9 +41,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
41
41
  }): any;
42
42
  };
43
43
  emit: {};
44
- }>) => VNode<RendererNode, RendererElement, {
45
- [key: string]: any;
46
- }> & {
44
+ }>) => VNode & {
47
45
  __ctx?: Awaited<typeof __VLS_setup>;
48
46
  };
49
47
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { ApColumnType, ApTableProps } from './interface';
2
2
  import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
3
3
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
4
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
4
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode } from 'vue';
5
5
  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<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
@@ -83,9 +83,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
83
83
  }) => void;
84
84
  };
85
85
  emit: {};
86
- }>) => VNode<RendererNode, RendererElement, {
87
- [key: string]: any;
88
- }> & {
86
+ }>) => VNode & {
89
87
  __ctx?: Awaited<typeof __VLS_setup>;
90
88
  };
91
89
  export default _default;