@aplus-frontend/ui 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +41 -40
- package/es/src/ap-table/utils.mjs +11 -11
- package/es/src/business/ap-button-group/ApButtonGroup.vue.d.ts +21 -0
- package/es/src/business/ap-button-group/ApButtonGroup.vue.mjs +4 -0
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +71 -0
- package/es/src/business/ap-button-group/interface.d.ts +29 -0
- package/es/src/business/ap-button-group/interface.mjs +1 -0
- package/es/src/business/ap-select-layout/interface.d.ts +1 -0
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +66 -62
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +23 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -24
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +24 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +12 -11
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +24 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +11 -10
- package/es/src/business/ap-table-modal/index.d.ts +21 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +21 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +31 -30
- package/es/src/business/index.d.ts +608 -4
- package/es/src/business/index.mjs +27 -23
- package/es/src/editable-table/utils.mjs +12 -12
- package/es/src/index.mjs +216 -215
- package/lib/index.js +1 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ap-button-group/ApButtonGroup.vue.d.ts +21 -0
- package/lib/src/business/ap-button-group/ApButtonGroup.vue.js +1 -0
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -0
- package/lib/src/business/ap-button-group/interface.d.ts +29 -0
- package/lib/src/business/ap-button-group/interface.js +1 -0
- package/lib/src/business/ap-select-layout/interface.d.ts +1 -0
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +23 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +24 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +24 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +21 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +21 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/index.d.ts +608 -4
- package/lib/src/business/index.js +1 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/index.js +1 -1
- package/package.json +3 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ApTransformDataHelper } from '../utils/ap-trans-data';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, DefineComponent } from 'vue';
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, DefineComponent, VNodeChild } from 'vue';
|
|
3
3
|
import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
|
|
4
|
-
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
4
|
+
import { VueTypeValidableDef, VueTypeDef } from '../../node_modules/vue-types';
|
|
5
5
|
import { LiteralUnion, Key } from 'ant-design-vue/es/_util/type';
|
|
6
|
-
import { ApStatusProps, ApStatusGroupItemProps, ApSelectItem, ApLabelGroupItemProps, ApBatchActionGroupMenuProps, ApLadderLabelValue } from '.';
|
|
6
|
+
import { ApStatusProps, ApStatusGroupItemProps, ApSelectItem, ApLabelGroupItemProps, ApBatchActionGroupMenuProps, ApLadderLabelValue, ApBatchActionGroupProps, ApExportGroupProps } from '.';
|
|
7
7
|
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
8
8
|
import { ApInputRadioOptions } from './ap-input-radio';
|
|
9
9
|
import { KeyboardEventHandler, MouseEventHandler, FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
10
10
|
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
11
11
|
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
12
12
|
import { DropdownArrowOptions, Trigger, Align } from 'ant-design-vue/es/dropdown/props';
|
|
13
|
-
import { ItemType, MenuTheme, MenuMode } from 'ant-design-vue';
|
|
13
|
+
import { ItemType, MenuTheme, MenuMode, ButtonProps } from 'ant-design-vue';
|
|
14
14
|
import { CSSMotionProps } from 'ant-design-vue/es/_util/transition';
|
|
15
15
|
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from 'ant-design-vue/es/menu/src/interface';
|
|
16
16
|
import { accessCreate } from '@aplus-frontend/oss';
|
|
@@ -20,6 +20,7 @@ import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/inter
|
|
|
20
20
|
import { ApLadderSlots } from './ap-ladder/interface';
|
|
21
21
|
import { AttachmentItemProps, ApAttachmentProps } from './ap-attachment';
|
|
22
22
|
import { ApCardTitleProps } from './ap-card/interface';
|
|
23
|
+
import { SpaceSize } from 'ant-design-vue/es/space';
|
|
23
24
|
export * from './hooks/index';
|
|
24
25
|
export type { ApTitleProps } from './ap-title/interface';
|
|
25
26
|
export type { ApExpandAlertProps } from './ap-expand-alert/interface';
|
|
@@ -32,6 +33,7 @@ export type { ApLadderProps, ApLadderLabelValue, CurrencyCode, TooltipNeedProps
|
|
|
32
33
|
export * from './ap-batch-action-group/interface';
|
|
33
34
|
export type { AttachmentItemProps, ApAttachmentProps } from './ap-attachment';
|
|
34
35
|
export * from './ap-export-group/handleExportDownload';
|
|
36
|
+
export * from './ap-button-group/interface';
|
|
35
37
|
export declare const ApTitle: {
|
|
36
38
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
37
39
|
title: {
|
|
@@ -795,6 +797,7 @@ export declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonN
|
|
|
795
797
|
onOnSelect?: ((value: T) => any) | undefined;
|
|
796
798
|
title: string;
|
|
797
799
|
request: () => Promise<T[]>;
|
|
800
|
+
onSearch?: ((item: T, val: string) => boolean) | undefined;
|
|
798
801
|
defaultFold?: boolean | undefined;
|
|
799
802
|
} & PublicProps;
|
|
800
803
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
@@ -2715,5 +2718,606 @@ export declare const ApCard: {
|
|
|
2715
2718
|
onClick?: () => void;
|
|
2716
2719
|
};
|
|
2717
2720
|
}));
|
|
2721
|
+
export declare const ApButtonGroup: {
|
|
2722
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
2723
|
+
selectedRowKeys: {
|
|
2724
|
+
type: PropType<any[]>;
|
|
2725
|
+
};
|
|
2726
|
+
selectedRows: {
|
|
2727
|
+
type: PropType<any[]>;
|
|
2728
|
+
};
|
|
2729
|
+
spaceProps: {
|
|
2730
|
+
type: PropType<Partial<Partial< ExtractPropTypes<{
|
|
2731
|
+
prefixCls: StringConstructor;
|
|
2732
|
+
size: {
|
|
2733
|
+
type: PropType< SpaceSize | [ SpaceSize, SpaceSize]>;
|
|
2734
|
+
};
|
|
2735
|
+
direction: VueTypeDef<string> & {
|
|
2736
|
+
default: string;
|
|
2737
|
+
};
|
|
2738
|
+
align: VueTypeDef<string>;
|
|
2739
|
+
wrap: {
|
|
2740
|
+
type: BooleanConstructor;
|
|
2741
|
+
default: boolean;
|
|
2742
|
+
};
|
|
2743
|
+
}>>>>;
|
|
2744
|
+
};
|
|
2745
|
+
groupList: {
|
|
2746
|
+
type: PropType<(({
|
|
2747
|
+
valueType: "button";
|
|
2748
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
2749
|
+
prefixCls: StringConstructor;
|
|
2750
|
+
type: PropType<ButtonType>;
|
|
2751
|
+
htmlType: {
|
|
2752
|
+
type: PropType<ButtonHTMLType>;
|
|
2753
|
+
default: string;
|
|
2754
|
+
};
|
|
2755
|
+
shape: {
|
|
2756
|
+
type: PropType<ButtonShape>;
|
|
2757
|
+
};
|
|
2758
|
+
size: {
|
|
2759
|
+
type: PropType<ButtonSize>;
|
|
2760
|
+
};
|
|
2761
|
+
loading: {
|
|
2762
|
+
type: PropType<boolean | {
|
|
2763
|
+
delay?: number;
|
|
2764
|
+
}>;
|
|
2765
|
+
default: () => boolean | {
|
|
2766
|
+
delay?: number;
|
|
2767
|
+
};
|
|
2768
|
+
};
|
|
2769
|
+
disabled: {
|
|
2770
|
+
type: BooleanConstructor;
|
|
2771
|
+
default: any;
|
|
2772
|
+
};
|
|
2773
|
+
ghost: {
|
|
2774
|
+
type: BooleanConstructor;
|
|
2775
|
+
default: any;
|
|
2776
|
+
};
|
|
2777
|
+
block: {
|
|
2778
|
+
type: BooleanConstructor;
|
|
2779
|
+
default: any;
|
|
2780
|
+
};
|
|
2781
|
+
danger: {
|
|
2782
|
+
type: BooleanConstructor;
|
|
2783
|
+
default: any;
|
|
2784
|
+
};
|
|
2785
|
+
icon: VueTypeValidableDef<any>;
|
|
2786
|
+
href: StringConstructor;
|
|
2787
|
+
target: StringConstructor;
|
|
2788
|
+
title: StringConstructor;
|
|
2789
|
+
onClick: {
|
|
2790
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2791
|
+
};
|
|
2792
|
+
onMousedown: {
|
|
2793
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2794
|
+
};
|
|
2795
|
+
}>>, "type" | "onClick"> & {
|
|
2796
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
2797
|
+
borderLinkColor?: string;
|
|
2798
|
+
minWidth?: boolean | number | string;
|
|
2799
|
+
onClick?: () => any | Promise<any>;
|
|
2800
|
+
} & {
|
|
2801
|
+
content?: VNodeChild;
|
|
2802
|
+
ifShow?: () => boolean;
|
|
2803
|
+
auth?: string;
|
|
2804
|
+
}) | ({
|
|
2805
|
+
valueType: "actionButton";
|
|
2806
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
2807
|
+
prefixCls: StringConstructor;
|
|
2808
|
+
type: PropType<ButtonType>;
|
|
2809
|
+
htmlType: {
|
|
2810
|
+
type: PropType<ButtonHTMLType>;
|
|
2811
|
+
default: string;
|
|
2812
|
+
};
|
|
2813
|
+
shape: {
|
|
2814
|
+
type: PropType<ButtonShape>;
|
|
2815
|
+
};
|
|
2816
|
+
size: {
|
|
2817
|
+
type: PropType<ButtonSize>;
|
|
2818
|
+
};
|
|
2819
|
+
loading: {
|
|
2820
|
+
type: PropType<boolean | {
|
|
2821
|
+
delay?: number;
|
|
2822
|
+
}>;
|
|
2823
|
+
default: () => boolean | {
|
|
2824
|
+
delay?: number;
|
|
2825
|
+
};
|
|
2826
|
+
};
|
|
2827
|
+
disabled: {
|
|
2828
|
+
type: BooleanConstructor;
|
|
2829
|
+
default: any;
|
|
2830
|
+
};
|
|
2831
|
+
ghost: {
|
|
2832
|
+
type: BooleanConstructor;
|
|
2833
|
+
default: any;
|
|
2834
|
+
};
|
|
2835
|
+
block: {
|
|
2836
|
+
type: BooleanConstructor;
|
|
2837
|
+
default: any;
|
|
2838
|
+
};
|
|
2839
|
+
danger: {
|
|
2840
|
+
type: BooleanConstructor;
|
|
2841
|
+
default: any;
|
|
2842
|
+
};
|
|
2843
|
+
icon: VueTypeValidableDef<any>;
|
|
2844
|
+
href: StringConstructor;
|
|
2845
|
+
target: StringConstructor;
|
|
2846
|
+
title: StringConstructor;
|
|
2847
|
+
onClick: {
|
|
2848
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2849
|
+
};
|
|
2850
|
+
onMousedown: {
|
|
2851
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2852
|
+
};
|
|
2853
|
+
}>>, "type" | "onClick"> & {
|
|
2854
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
2855
|
+
borderLinkColor?: string;
|
|
2856
|
+
minWidth?: boolean | number | string;
|
|
2857
|
+
onClick?: () => any | Promise<any>;
|
|
2858
|
+
} & {
|
|
2859
|
+
content?: VNodeChild;
|
|
2860
|
+
ifShow?: () => boolean;
|
|
2861
|
+
auth?: string;
|
|
2862
|
+
}) | ({
|
|
2863
|
+
valueType: "batchActionGroup";
|
|
2864
|
+
} & Omit< ApBatchActionGroupProps, "selectedRows">) | ({
|
|
2865
|
+
valueType: "exportGroup";
|
|
2866
|
+
} & Omit< ApExportGroupProps, "selectedRowKeys">))[]>;
|
|
2867
|
+
};
|
|
2868
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2869
|
+
selectedRowKeys: {
|
|
2870
|
+
type: PropType<any[]>;
|
|
2871
|
+
};
|
|
2872
|
+
selectedRows: {
|
|
2873
|
+
type: PropType<any[]>;
|
|
2874
|
+
};
|
|
2875
|
+
spaceProps: {
|
|
2876
|
+
type: PropType<Partial<Partial< ExtractPropTypes<{
|
|
2877
|
+
prefixCls: StringConstructor;
|
|
2878
|
+
size: {
|
|
2879
|
+
type: PropType< SpaceSize | [ SpaceSize, SpaceSize]>;
|
|
2880
|
+
};
|
|
2881
|
+
direction: VueTypeDef<string> & {
|
|
2882
|
+
default: string;
|
|
2883
|
+
};
|
|
2884
|
+
align: VueTypeDef<string>;
|
|
2885
|
+
wrap: {
|
|
2886
|
+
type: BooleanConstructor;
|
|
2887
|
+
default: boolean;
|
|
2888
|
+
};
|
|
2889
|
+
}>>>>;
|
|
2890
|
+
};
|
|
2891
|
+
groupList: {
|
|
2892
|
+
type: PropType<(({
|
|
2893
|
+
valueType: "button";
|
|
2894
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
2895
|
+
prefixCls: StringConstructor;
|
|
2896
|
+
type: PropType<ButtonType>;
|
|
2897
|
+
htmlType: {
|
|
2898
|
+
type: PropType<ButtonHTMLType>;
|
|
2899
|
+
default: string;
|
|
2900
|
+
};
|
|
2901
|
+
shape: {
|
|
2902
|
+
type: PropType<ButtonShape>;
|
|
2903
|
+
};
|
|
2904
|
+
size: {
|
|
2905
|
+
type: PropType<ButtonSize>;
|
|
2906
|
+
};
|
|
2907
|
+
loading: {
|
|
2908
|
+
type: PropType<boolean | {
|
|
2909
|
+
delay?: number;
|
|
2910
|
+
}>;
|
|
2911
|
+
default: () => boolean | {
|
|
2912
|
+
delay?: number;
|
|
2913
|
+
};
|
|
2914
|
+
};
|
|
2915
|
+
disabled: {
|
|
2916
|
+
type: BooleanConstructor;
|
|
2917
|
+
default: any;
|
|
2918
|
+
};
|
|
2919
|
+
ghost: {
|
|
2920
|
+
type: BooleanConstructor;
|
|
2921
|
+
default: any;
|
|
2922
|
+
};
|
|
2923
|
+
block: {
|
|
2924
|
+
type: BooleanConstructor;
|
|
2925
|
+
default: any;
|
|
2926
|
+
};
|
|
2927
|
+
danger: {
|
|
2928
|
+
type: BooleanConstructor;
|
|
2929
|
+
default: any;
|
|
2930
|
+
};
|
|
2931
|
+
icon: VueTypeValidableDef<any>;
|
|
2932
|
+
href: StringConstructor;
|
|
2933
|
+
target: StringConstructor;
|
|
2934
|
+
title: StringConstructor;
|
|
2935
|
+
onClick: {
|
|
2936
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2937
|
+
};
|
|
2938
|
+
onMousedown: {
|
|
2939
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2940
|
+
};
|
|
2941
|
+
}>>, "type" | "onClick"> & {
|
|
2942
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
2943
|
+
borderLinkColor?: string;
|
|
2944
|
+
minWidth?: boolean | number | string;
|
|
2945
|
+
onClick?: () => any | Promise<any>;
|
|
2946
|
+
} & {
|
|
2947
|
+
content?: VNodeChild;
|
|
2948
|
+
ifShow?: () => boolean;
|
|
2949
|
+
auth?: string;
|
|
2950
|
+
}) | ({
|
|
2951
|
+
valueType: "actionButton";
|
|
2952
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
2953
|
+
prefixCls: StringConstructor;
|
|
2954
|
+
type: PropType<ButtonType>;
|
|
2955
|
+
htmlType: {
|
|
2956
|
+
type: PropType<ButtonHTMLType>;
|
|
2957
|
+
default: string;
|
|
2958
|
+
};
|
|
2959
|
+
shape: {
|
|
2960
|
+
type: PropType<ButtonShape>;
|
|
2961
|
+
};
|
|
2962
|
+
size: {
|
|
2963
|
+
type: PropType<ButtonSize>;
|
|
2964
|
+
};
|
|
2965
|
+
loading: {
|
|
2966
|
+
type: PropType<boolean | {
|
|
2967
|
+
delay?: number;
|
|
2968
|
+
}>;
|
|
2969
|
+
default: () => boolean | {
|
|
2970
|
+
delay?: number;
|
|
2971
|
+
};
|
|
2972
|
+
};
|
|
2973
|
+
disabled: {
|
|
2974
|
+
type: BooleanConstructor;
|
|
2975
|
+
default: any;
|
|
2976
|
+
};
|
|
2977
|
+
ghost: {
|
|
2978
|
+
type: BooleanConstructor;
|
|
2979
|
+
default: any;
|
|
2980
|
+
};
|
|
2981
|
+
block: {
|
|
2982
|
+
type: BooleanConstructor;
|
|
2983
|
+
default: any;
|
|
2984
|
+
};
|
|
2985
|
+
danger: {
|
|
2986
|
+
type: BooleanConstructor;
|
|
2987
|
+
default: any;
|
|
2988
|
+
};
|
|
2989
|
+
icon: VueTypeValidableDef<any>;
|
|
2990
|
+
href: StringConstructor;
|
|
2991
|
+
target: StringConstructor;
|
|
2992
|
+
title: StringConstructor;
|
|
2993
|
+
onClick: {
|
|
2994
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2995
|
+
};
|
|
2996
|
+
onMousedown: {
|
|
2997
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
2998
|
+
};
|
|
2999
|
+
}>>, "type" | "onClick"> & {
|
|
3000
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
3001
|
+
borderLinkColor?: string;
|
|
3002
|
+
minWidth?: boolean | number | string;
|
|
3003
|
+
onClick?: () => any | Promise<any>;
|
|
3004
|
+
} & {
|
|
3005
|
+
content?: VNodeChild;
|
|
3006
|
+
ifShow?: () => boolean;
|
|
3007
|
+
auth?: string;
|
|
3008
|
+
}) | ({
|
|
3009
|
+
valueType: "batchActionGroup";
|
|
3010
|
+
} & Omit< ApBatchActionGroupProps, "selectedRows">) | ({
|
|
3011
|
+
valueType: "exportGroup";
|
|
3012
|
+
} & Omit< ApExportGroupProps, "selectedRowKeys">))[]>;
|
|
3013
|
+
};
|
|
3014
|
+
}>>, {}, true, {}, {}, {
|
|
3015
|
+
P: {};
|
|
3016
|
+
B: {};
|
|
3017
|
+
D: {};
|
|
3018
|
+
C: {};
|
|
3019
|
+
M: {};
|
|
3020
|
+
Defaults: {};
|
|
3021
|
+
}, Readonly< ExtractPropTypes<{
|
|
3022
|
+
selectedRowKeys: {
|
|
3023
|
+
type: PropType<any[]>;
|
|
3024
|
+
};
|
|
3025
|
+
selectedRows: {
|
|
3026
|
+
type: PropType<any[]>;
|
|
3027
|
+
};
|
|
3028
|
+
spaceProps: {
|
|
3029
|
+
type: PropType<Partial<Partial< ExtractPropTypes<{
|
|
3030
|
+
prefixCls: StringConstructor;
|
|
3031
|
+
size: {
|
|
3032
|
+
type: PropType< SpaceSize | [ SpaceSize, SpaceSize]>;
|
|
3033
|
+
};
|
|
3034
|
+
direction: VueTypeDef<string> & {
|
|
3035
|
+
default: string;
|
|
3036
|
+
};
|
|
3037
|
+
align: VueTypeDef<string>;
|
|
3038
|
+
wrap: {
|
|
3039
|
+
type: BooleanConstructor;
|
|
3040
|
+
default: boolean;
|
|
3041
|
+
};
|
|
3042
|
+
}>>>>;
|
|
3043
|
+
};
|
|
3044
|
+
groupList: {
|
|
3045
|
+
type: PropType<(({
|
|
3046
|
+
valueType: "button";
|
|
3047
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
3048
|
+
prefixCls: StringConstructor;
|
|
3049
|
+
type: PropType<ButtonType>;
|
|
3050
|
+
htmlType: {
|
|
3051
|
+
type: PropType<ButtonHTMLType>;
|
|
3052
|
+
default: string;
|
|
3053
|
+
};
|
|
3054
|
+
shape: {
|
|
3055
|
+
type: PropType<ButtonShape>;
|
|
3056
|
+
};
|
|
3057
|
+
size: {
|
|
3058
|
+
type: PropType<ButtonSize>;
|
|
3059
|
+
};
|
|
3060
|
+
loading: {
|
|
3061
|
+
type: PropType<boolean | {
|
|
3062
|
+
delay?: number;
|
|
3063
|
+
}>;
|
|
3064
|
+
default: () => boolean | {
|
|
3065
|
+
delay?: number;
|
|
3066
|
+
};
|
|
3067
|
+
};
|
|
3068
|
+
disabled: {
|
|
3069
|
+
type: BooleanConstructor;
|
|
3070
|
+
default: any;
|
|
3071
|
+
};
|
|
3072
|
+
ghost: {
|
|
3073
|
+
type: BooleanConstructor;
|
|
3074
|
+
default: any;
|
|
3075
|
+
};
|
|
3076
|
+
block: {
|
|
3077
|
+
type: BooleanConstructor;
|
|
3078
|
+
default: any;
|
|
3079
|
+
};
|
|
3080
|
+
danger: {
|
|
3081
|
+
type: BooleanConstructor;
|
|
3082
|
+
default: any;
|
|
3083
|
+
};
|
|
3084
|
+
icon: VueTypeValidableDef<any>;
|
|
3085
|
+
href: StringConstructor;
|
|
3086
|
+
target: StringConstructor;
|
|
3087
|
+
title: StringConstructor;
|
|
3088
|
+
onClick: {
|
|
3089
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3090
|
+
};
|
|
3091
|
+
onMousedown: {
|
|
3092
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3093
|
+
};
|
|
3094
|
+
}>>, "type" | "onClick"> & {
|
|
3095
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
3096
|
+
borderLinkColor?: string;
|
|
3097
|
+
minWidth?: boolean | number | string;
|
|
3098
|
+
onClick?: () => any | Promise<any>;
|
|
3099
|
+
} & {
|
|
3100
|
+
content?: VNodeChild;
|
|
3101
|
+
ifShow?: () => boolean;
|
|
3102
|
+
auth?: string;
|
|
3103
|
+
}) | ({
|
|
3104
|
+
valueType: "actionButton";
|
|
3105
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
3106
|
+
prefixCls: StringConstructor;
|
|
3107
|
+
type: PropType<ButtonType>;
|
|
3108
|
+
htmlType: {
|
|
3109
|
+
type: PropType<ButtonHTMLType>;
|
|
3110
|
+
default: string;
|
|
3111
|
+
};
|
|
3112
|
+
shape: {
|
|
3113
|
+
type: PropType<ButtonShape>;
|
|
3114
|
+
};
|
|
3115
|
+
size: {
|
|
3116
|
+
type: PropType<ButtonSize>;
|
|
3117
|
+
};
|
|
3118
|
+
loading: {
|
|
3119
|
+
type: PropType<boolean | {
|
|
3120
|
+
delay?: number;
|
|
3121
|
+
}>;
|
|
3122
|
+
default: () => boolean | {
|
|
3123
|
+
delay?: number;
|
|
3124
|
+
};
|
|
3125
|
+
};
|
|
3126
|
+
disabled: {
|
|
3127
|
+
type: BooleanConstructor;
|
|
3128
|
+
default: any;
|
|
3129
|
+
};
|
|
3130
|
+
ghost: {
|
|
3131
|
+
type: BooleanConstructor;
|
|
3132
|
+
default: any;
|
|
3133
|
+
};
|
|
3134
|
+
block: {
|
|
3135
|
+
type: BooleanConstructor;
|
|
3136
|
+
default: any;
|
|
3137
|
+
};
|
|
3138
|
+
danger: {
|
|
3139
|
+
type: BooleanConstructor;
|
|
3140
|
+
default: any;
|
|
3141
|
+
};
|
|
3142
|
+
icon: VueTypeValidableDef<any>;
|
|
3143
|
+
href: StringConstructor;
|
|
3144
|
+
target: StringConstructor;
|
|
3145
|
+
title: StringConstructor;
|
|
3146
|
+
onClick: {
|
|
3147
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3148
|
+
};
|
|
3149
|
+
onMousedown: {
|
|
3150
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3151
|
+
};
|
|
3152
|
+
}>>, "type" | "onClick"> & {
|
|
3153
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
3154
|
+
borderLinkColor?: string;
|
|
3155
|
+
minWidth?: boolean | number | string;
|
|
3156
|
+
onClick?: () => any | Promise<any>;
|
|
3157
|
+
} & {
|
|
3158
|
+
content?: VNodeChild;
|
|
3159
|
+
ifShow?: () => boolean;
|
|
3160
|
+
auth?: string;
|
|
3161
|
+
}) | ({
|
|
3162
|
+
valueType: "batchActionGroup";
|
|
3163
|
+
} & Omit< ApBatchActionGroupProps, "selectedRows">) | ({
|
|
3164
|
+
valueType: "exportGroup";
|
|
3165
|
+
} & Omit< ApExportGroupProps, "selectedRowKeys">))[]>;
|
|
3166
|
+
};
|
|
3167
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
3168
|
+
__isFragment?: never;
|
|
3169
|
+
__isTeleport?: never;
|
|
3170
|
+
__isSuspense?: never;
|
|
3171
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3172
|
+
selectedRowKeys: {
|
|
3173
|
+
type: PropType<any[]>;
|
|
3174
|
+
};
|
|
3175
|
+
selectedRows: {
|
|
3176
|
+
type: PropType<any[]>;
|
|
3177
|
+
};
|
|
3178
|
+
spaceProps: {
|
|
3179
|
+
type: PropType<Partial<Partial< ExtractPropTypes<{
|
|
3180
|
+
prefixCls: StringConstructor;
|
|
3181
|
+
size: {
|
|
3182
|
+
type: PropType< SpaceSize | [ SpaceSize, SpaceSize]>;
|
|
3183
|
+
};
|
|
3184
|
+
direction: VueTypeDef<string> & {
|
|
3185
|
+
default: string;
|
|
3186
|
+
};
|
|
3187
|
+
align: VueTypeDef<string>;
|
|
3188
|
+
wrap: {
|
|
3189
|
+
type: BooleanConstructor;
|
|
3190
|
+
default: boolean;
|
|
3191
|
+
};
|
|
3192
|
+
}>>>>;
|
|
3193
|
+
};
|
|
3194
|
+
groupList: {
|
|
3195
|
+
type: PropType<(({
|
|
3196
|
+
valueType: "button";
|
|
3197
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
3198
|
+
prefixCls: StringConstructor;
|
|
3199
|
+
type: PropType<ButtonType>;
|
|
3200
|
+
htmlType: {
|
|
3201
|
+
type: PropType<ButtonHTMLType>;
|
|
3202
|
+
default: string;
|
|
3203
|
+
};
|
|
3204
|
+
shape: {
|
|
3205
|
+
type: PropType<ButtonShape>;
|
|
3206
|
+
};
|
|
3207
|
+
size: {
|
|
3208
|
+
type: PropType<ButtonSize>;
|
|
3209
|
+
};
|
|
3210
|
+
loading: {
|
|
3211
|
+
type: PropType<boolean | {
|
|
3212
|
+
delay?: number;
|
|
3213
|
+
}>;
|
|
3214
|
+
default: () => boolean | {
|
|
3215
|
+
delay?: number;
|
|
3216
|
+
};
|
|
3217
|
+
};
|
|
3218
|
+
disabled: {
|
|
3219
|
+
type: BooleanConstructor;
|
|
3220
|
+
default: any;
|
|
3221
|
+
};
|
|
3222
|
+
ghost: {
|
|
3223
|
+
type: BooleanConstructor;
|
|
3224
|
+
default: any;
|
|
3225
|
+
};
|
|
3226
|
+
block: {
|
|
3227
|
+
type: BooleanConstructor;
|
|
3228
|
+
default: any;
|
|
3229
|
+
};
|
|
3230
|
+
danger: {
|
|
3231
|
+
type: BooleanConstructor;
|
|
3232
|
+
default: any;
|
|
3233
|
+
};
|
|
3234
|
+
icon: VueTypeValidableDef<any>;
|
|
3235
|
+
href: StringConstructor;
|
|
3236
|
+
target: StringConstructor;
|
|
3237
|
+
title: StringConstructor;
|
|
3238
|
+
onClick: {
|
|
3239
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3240
|
+
};
|
|
3241
|
+
onMousedown: {
|
|
3242
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3243
|
+
};
|
|
3244
|
+
}>>, "type" | "onClick"> & {
|
|
3245
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
3246
|
+
borderLinkColor?: string;
|
|
3247
|
+
minWidth?: boolean | number | string;
|
|
3248
|
+
onClick?: () => any | Promise<any>;
|
|
3249
|
+
} & {
|
|
3250
|
+
content?: VNodeChild;
|
|
3251
|
+
ifShow?: () => boolean;
|
|
3252
|
+
auth?: string;
|
|
3253
|
+
}) | ({
|
|
3254
|
+
valueType: "actionButton";
|
|
3255
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
3256
|
+
prefixCls: StringConstructor;
|
|
3257
|
+
type: PropType<ButtonType>;
|
|
3258
|
+
htmlType: {
|
|
3259
|
+
type: PropType<ButtonHTMLType>;
|
|
3260
|
+
default: string;
|
|
3261
|
+
};
|
|
3262
|
+
shape: {
|
|
3263
|
+
type: PropType<ButtonShape>;
|
|
3264
|
+
};
|
|
3265
|
+
size: {
|
|
3266
|
+
type: PropType<ButtonSize>;
|
|
3267
|
+
};
|
|
3268
|
+
loading: {
|
|
3269
|
+
type: PropType<boolean | {
|
|
3270
|
+
delay?: number;
|
|
3271
|
+
}>;
|
|
3272
|
+
default: () => boolean | {
|
|
3273
|
+
delay?: number;
|
|
3274
|
+
};
|
|
3275
|
+
};
|
|
3276
|
+
disabled: {
|
|
3277
|
+
type: BooleanConstructor;
|
|
3278
|
+
default: any;
|
|
3279
|
+
};
|
|
3280
|
+
ghost: {
|
|
3281
|
+
type: BooleanConstructor;
|
|
3282
|
+
default: any;
|
|
3283
|
+
};
|
|
3284
|
+
block: {
|
|
3285
|
+
type: BooleanConstructor;
|
|
3286
|
+
default: any;
|
|
3287
|
+
};
|
|
3288
|
+
danger: {
|
|
3289
|
+
type: BooleanConstructor;
|
|
3290
|
+
default: any;
|
|
3291
|
+
};
|
|
3292
|
+
icon: VueTypeValidableDef<any>;
|
|
3293
|
+
href: StringConstructor;
|
|
3294
|
+
target: StringConstructor;
|
|
3295
|
+
title: StringConstructor;
|
|
3296
|
+
onClick: {
|
|
3297
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3298
|
+
};
|
|
3299
|
+
onMousedown: {
|
|
3300
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
3301
|
+
};
|
|
3302
|
+
}>>, "type" | "onClick"> & {
|
|
3303
|
+
type?: ButtonProps["type"] | "borderLink";
|
|
3304
|
+
borderLinkColor?: string;
|
|
3305
|
+
minWidth?: boolean | number | string;
|
|
3306
|
+
onClick?: () => any | Promise<any>;
|
|
3307
|
+
} & {
|
|
3308
|
+
content?: VNodeChild;
|
|
3309
|
+
ifShow?: () => boolean;
|
|
3310
|
+
auth?: string;
|
|
3311
|
+
}) | ({
|
|
3312
|
+
valueType: "batchActionGroup";
|
|
3313
|
+
} & Omit< ApBatchActionGroupProps, "selectedRows">) | ({
|
|
3314
|
+
valueType: "exportGroup";
|
|
3315
|
+
} & Omit< ApExportGroupProps, "selectedRowKeys">))[]>;
|
|
3316
|
+
};
|
|
3317
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
3318
|
+
$props: {
|
|
3319
|
+
onClick?: () => void;
|
|
3320
|
+
};
|
|
3321
|
+
}));
|
|
2718
3322
|
export { ApTransformDataHelper };
|
|
2719
3323
|
export * from './ap-table-modal';
|