wlwy-package 3.2.2 → 4.0.0-beta.1

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 (55) hide show
  1. package/dist/editor/index.es.js +1 -1
  2. package/dist/{editor-core-D9MSA0yc.js → editor-core-BuQ0a_wZ.js} +2 -2
  3. package/dist/{index-DbAXWdHe.js → index-CcW4jJHZ.js} +1 -1
  4. package/dist/{index-D4mQXwMj.js → index-DHKUfRSS.js} +189 -17
  5. package/dist/style.css +1 -1
  6. package/dist/types/packages/components/antd/src/datePicker.vue.d.ts +1 -1
  7. package/dist/types/packages/components/common/index.d.ts +0 -3
  8. package/dist/types/packages/components/common/src/page.vue.d.ts +1 -1
  9. package/dist/types/packages/components/common/src/rangePicker.vue.d.ts +1 -1
  10. package/dist/types/packages/components/common/type.d.ts +1 -37
  11. package/dist/types/packages/components/form/default/index.d.ts +1 -7
  12. package/dist/types/packages/components/form/default/src/checkbox.vue.d.ts +1 -0
  13. package/dist/types/packages/components/form/default/src/dateRange.vue.d.ts +1 -0
  14. package/dist/types/packages/components/form/default/src/form.vue.d.ts +1 -0
  15. package/dist/types/packages/components/form/default/src/numberRange.vue.d.ts +1 -0
  16. package/dist/types/packages/components/form/default/src/radio.vue.d.ts +1 -0
  17. package/dist/types/packages/components/form/default/src/select.vue.d.ts +1 -0
  18. package/dist/types/packages/components/form/default/src/selectInput.vue.d.ts +1 -0
  19. package/dist/types/packages/components/form/default/type.d.ts +100 -249
  20. package/dist/types/packages/components/index.d.ts +0 -1
  21. package/dist/types/packages/components/table/constants.d.ts +3 -5
  22. package/dist/types/packages/components/table/index.d.ts +1 -1
  23. package/dist/types/packages/components/table/resolveToolbarButtons.d.ts +16 -0
  24. package/dist/types/packages/components/table/src/search.vue.d.ts +9 -3
  25. package/dist/types/packages/components/table/src/table.vue.d.ts +8 -20
  26. package/dist/types/packages/components/{common/src/editTitle.vue.d.ts → table/src/toolbarButtons.vue.d.ts} +7 -7
  27. package/dist/types/packages/components/table/type.d.ts +101 -15
  28. package/dist/types/packages/components/table/useWTableConfig.d.ts +0 -1
  29. package/dist/types/packages/components/table/warnDeprecated.d.ts +3 -5
  30. package/dist/types/packages/hooks/private/src/useRenderCell.d.ts +6 -4
  31. package/dist/types/packages/hooks/web/index.d.ts +1 -4
  32. package/dist/types/packages/hooks/web/src/useDate.d.ts +65 -0
  33. package/dist/types/packages/keys/index.d.ts +3 -0
  34. package/dist/types/packages/utils/formatCellValue.d.ts +5 -1
  35. package/dist/types/packages/utils/index.d.ts +2 -1
  36. package/dist/types/packages/utils/resolveDefaultValue.d.ts +7 -0
  37. package/dist/types/packages/utils/type.d.ts +7 -0
  38. package/dist/wlwy-package.es.js +2599 -4162
  39. package/package.json +1 -1
  40. package/dist/types/packages/components/common/src/pageHead.vue.d.ts +0 -29
  41. package/dist/types/packages/components/form/default/src/modal.vue.d.ts +0 -46
  42. package/dist/types/packages/components/form/default/src/page.vue.d.ts +0 -48
  43. package/dist/types/packages/components/form/default/src/wrap.vue.d.ts +0 -56
  44. package/dist/types/packages/components/list/index.d.ts +0 -7
  45. package/dist/types/packages/components/list/input.d.ts +0 -432
  46. package/dist/types/packages/components/list/src/header.vue.d.ts +0 -44
  47. package/dist/types/packages/components/list/src/index.vue.d.ts +0 -68
  48. package/dist/types/packages/components/list/src/pager.vue.d.ts +0 -10
  49. package/dist/types/packages/components/list/src/table.vue.d.ts +0 -774
  50. package/dist/types/packages/components/list/type.d.ts +0 -346
  51. package/dist/types/packages/components/table/resolveInjectColumns.d.ts +0 -17
  52. package/dist/types/packages/hooks/web/src/useListConfig.d.ts +0 -16
  53. package/dist/types/packages/hooks/web/src/usePageForm.d.ts +0 -9
  54. package/dist/types/packages/hooks/web/src/usePrefixTitle.d.ts +0 -7
  55. package/dist/types/packages/hooks/web/src/useUpload.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wlwy-package",
3
- "version": "3.2.2",
3
+ "version": "4.0.0-beta.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/wlwy-package.es.js",
@@ -1,29 +0,0 @@
1
- import { WPageHeadProps } from '../type';
2
- declare var __VLS_1: {}, __VLS_15: {};
3
- type __VLS_Slots = {} & {
4
- title?: (props: typeof __VLS_1) => any;
5
- } & {
6
- button?: (props: typeof __VLS_15) => any;
7
- };
8
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<WPageHeadProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- cancel: (event: Event) => any;
10
- ok: (event: Event) => any;
11
- refresh: (event: Event) => any;
12
- }, string, import("vue").PublicProps, Readonly<WPageHeadProps> & Readonly<{
13
- onCancel?: ((event: Event) => any) | undefined;
14
- onOk?: ((event: Event) => any) | undefined;
15
- onRefresh?: ((event: Event) => any) | undefined;
16
- }>, {
17
- loading: boolean;
18
- title: string;
19
- okText: string;
20
- cancelText: string;
21
- questionIcon: string;
22
- refreshText: string;
23
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
24
- export default _default;
25
- type __VLS_WithSlots<T, S> = T & {
26
- new (): {
27
- $slots: S;
28
- };
29
- };
@@ -1,46 +0,0 @@
1
- import type { FormInitializedCallback, WFormModalOkHandleType, WFormModalProps } from '../type';
2
- import type { FooterButtonType } from '../../../common/type';
3
- type __VLS_Props = WFormModalProps;
4
- type __VLS_PublicProps = __VLS_Props & {
5
- 'open'?: boolean;
6
- 'form'?: any;
7
- };
8
- declare var __VLS_11: {}, __VLS_23: {
9
- form: any;
10
- };
11
- type __VLS_Slots = {} & {
12
- title?: (props: typeof __VLS_11) => any;
13
- } & {
14
- default?: (props: typeof __VLS_23) => any;
15
- };
16
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {
17
- getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
18
- onFormInitialized: (cb: FormInitializedCallback, one?: boolean | undefined) => void;
19
- setForm: (value: any, merge?: boolean) => void;
20
- getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
21
- getFormValue: () => Record<string, any>;
22
- watchForm: (...args: [cb: import("vue").WatchCallback] | [cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>] | [field: string, cb: import("vue").WatchCallback] | [field: string, cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>]) => import("vue").WatchStopHandle;
23
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- cancel: (event: MouseEvent) => any;
25
- ok: (event: MouseEvent, handler: WFormModalOkHandleType) => any;
26
- "update:open": (value: boolean) => any;
27
- openAtfer: (form: any) => any;
28
- "update:form": (value: any) => any;
29
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
- onCancel?: ((event: MouseEvent) => any) | undefined;
31
- onOk?: ((event: MouseEvent, handler: WFormModalOkHandleType) => any) | undefined;
32
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
33
- onOpenAtfer?: ((form: any) => any) | undefined;
34
- "onUpdate:form"?: ((value: any) => any) | undefined;
35
- }>, {
36
- loading: boolean;
37
- title: string;
38
- hideFooter: boolean | FooterButtonType[];
39
- detailsApiMethod: "GET" | "POST";
40
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
41
- export default _default;
42
- type __VLS_WithSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,48 +0,0 @@
1
- import type { WFormPageOkHandleType, WFormPageProps } from '../type';
2
- import type { FooterButtonType } from '../../../common/type';
3
- type __VLS_Props = WFormPageProps;
4
- type __VLS_PublicProps = __VLS_Props & {
5
- 'form'?: any;
6
- };
7
- declare var __VLS_1: {}, __VLS_15: {}, __VLS_63: {
8
- form: any;
9
- };
10
- type __VLS_Slots = {} & {
11
- title?: (props: typeof __VLS_1) => any;
12
- } & {
13
- button?: (props: typeof __VLS_15) => any;
14
- } & {
15
- default?: (props: typeof __VLS_63) => any;
16
- };
17
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {
18
- getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
19
- setForm: (value: any, merge?: boolean) => void;
20
- getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
21
- getFormValue: () => Record<string, any>;
22
- watchForm: (...args: [cb: import("vue").WatchCallback] | [cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>] | [field: string, cb: import("vue").WatchCallback] | [field: string, cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>]) => import("vue").WatchStopHandle;
23
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- cancel: (event: Event) => any;
25
- ok: (event: Event, handle: WFormPageOkHandleType) => any;
26
- refresh: (event: Event) => any;
27
- "update:form": (value: any) => any;
28
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
- onCancel?: ((event: Event) => any) | undefined;
30
- onOk?: ((event: Event, handle: WFormPageOkHandleType) => any) | undefined;
31
- onRefresh?: ((event: Event) => any) | undefined;
32
- "onUpdate:form"?: ((value: any) => any) | undefined;
33
- }>, {
34
- loading: boolean;
35
- title: string;
36
- okText: string;
37
- cancelText: string;
38
- hideFooter: boolean | FooterButtonType[];
39
- detailsApiMethod: "GET" | "POST";
40
- questionIcon: string;
41
- refreshText: string;
42
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
43
- export default _default;
44
- type __VLS_WithSlots<T, S> = T & {
45
- new (): {
46
- $slots: S;
47
- };
48
- };
@@ -1,56 +0,0 @@
1
- import type { WFormWrapOkHandleType, WFormWrapProps } from '../type';
2
- import type { FooterButtonType } from '../../../common/type';
3
- type __VLS_Props = WFormWrapProps;
4
- type __VLS_PublicProps = __VLS_Props & {
5
- 'form'?: any;
6
- };
7
- declare var __VLS_1: {}, __VLS_15: {}, __VLS_53: {
8
- form: any;
9
- }, __VLS_65: {
10
- form: any;
11
- };
12
- type __VLS_Slots = {} & {
13
- title?: (props: typeof __VLS_1) => any;
14
- } & {
15
- button?: (props: typeof __VLS_15) => any;
16
- } & {
17
- default?: (props: typeof __VLS_53) => any;
18
- } & {
19
- default?: (props: typeof __VLS_65) => any;
20
- };
21
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {
22
- getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
23
- setForm: (value: any, merge?: boolean) => void;
24
- getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
25
- getFormValue: () => Record<string, any>;
26
- watchForm: (...args: [cb: import("vue").WatchCallback] | [cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>] | [field: string, cb: import("vue").WatchCallback] | [field: string, cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>]) => import("vue").WatchStopHandle;
27
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- cancel: (event: Event) => any;
29
- ok: (event: Event, handle: WFormWrapOkHandleType) => any;
30
- refresh: (event: Event) => any;
31
- "update:form": (value: any) => any;
32
- initDone: () => any;
33
- afterDetails: (form: any) => any;
34
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
35
- onCancel?: ((event: Event) => any) | undefined;
36
- onOk?: ((event: Event, handle: WFormWrapOkHandleType) => any) | undefined;
37
- onRefresh?: ((event: Event) => any) | undefined;
38
- "onUpdate:form"?: ((value: any) => any) | undefined;
39
- onInitDone?: (() => any) | undefined;
40
- onAfterDetails?: ((form: any) => any) | undefined;
41
- }>, {
42
- loading: boolean;
43
- title: string;
44
- okText: string;
45
- cancelText: string;
46
- hideFooter: boolean | FooterButtonType[];
47
- detailsApiMethod: "GET" | "POST";
48
- questionIcon: string;
49
- refreshText: string;
50
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
51
- export default _default;
52
- type __VLS_WithSlots<T, S> = T & {
53
- new (): {
54
- $slots: S;
55
- };
56
- };
@@ -1,7 +0,0 @@
1
- export type { WListProps, WListInstance } from './type';
2
- export { default as WList } from './src/index.vue';
3
- export type { WListHeaderProps, HeaderPropsType, WListHeaderInstance } from './type';
4
- export { default as WListHeader } from './src/header.vue';
5
- export type { WListTableProps, ToolbarButtonType, TablePropsType, WListTableInstance } from './type';
6
- export { default as WListTable } from './src/table.vue';
7
- export { default as WListPager } from './src/pager.vue';
@@ -1,432 +0,0 @@
1
- import * as Components from '../form';
2
- import * as Types from '../form/type';
3
- export declare const Inputs: {
4
- input: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormInputProps & {
6
- value?: string | undefined;
7
- }> & Readonly<{
8
- onChange?: ((value: string) => any) | undefined;
9
- "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- change: (value: string) => any;
12
- "update:value": (value: string | undefined) => any;
13
- }, import("vue").PublicProps, {
14
- allowClear: boolean;
15
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
16
- P: {};
17
- B: {};
18
- D: {};
19
- C: {};
20
- M: {};
21
- Defaults: {};
22
- }, Readonly<Components.WFormInputProps & {
23
- value?: string | undefined;
24
- }> & Readonly<{
25
- onChange?: ((value: string) => any) | undefined;
26
- "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
27
- }>, {}, {}, {}, {}, {
28
- allowClear: boolean;
29
- }>;
30
- __isFragment?: undefined;
31
- __isTeleport?: undefined;
32
- __isSuspense?: undefined;
33
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormInputProps & {
34
- value?: string | undefined;
35
- }> & Readonly<{
36
- onChange?: ((value: string) => any) | undefined;
37
- "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
38
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
- change: (value: string) => any;
40
- "update:value": (value: string | undefined) => any;
41
- }, string, {
42
- allowClear: boolean;
43
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {
45
- [x: number]: ((props: any) => any) | undefined;
46
- } & {
47
- label?: ((props: any) => any) | undefined;
48
- extra?: ((props: any) => any) | undefined;
49
- help?: ((props: any) => any) | undefined;
50
- };
51
- });
52
- inputPassword: {
53
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
54
- allowClear: boolean;
55
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
56
- P: {};
57
- B: {};
58
- D: {};
59
- C: {};
60
- M: {};
61
- Defaults: {};
62
- }, Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, {
63
- allowClear: boolean;
64
- }>;
65
- __isFragment?: undefined;
66
- __isTeleport?: undefined;
67
- __isSuspense?: undefined;
68
- } & import("vue").ComponentOptionsBase<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
69
- allowClear: boolean;
70
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
71
- $slots: {
72
- [x: number]: ((props: any) => any) | undefined;
73
- } & {
74
- label?: ((props: any) => any) | undefined;
75
- extra?: ((props: any) => any) | undefined;
76
- help?: ((props: any) => any) | undefined;
77
- };
78
- });
79
- inputNumber: {
80
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormNumberProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
81
- allowClear: boolean;
82
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
83
- P: {};
84
- B: {};
85
- D: {};
86
- C: {};
87
- M: {};
88
- Defaults: {};
89
- }, Readonly<Components.WFormNumberProps> & Readonly<{}>, {}, {}, {}, {}, {
90
- allowClear: boolean;
91
- }>;
92
- __isFragment?: undefined;
93
- __isTeleport?: undefined;
94
- __isSuspense?: undefined;
95
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormNumberProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
96
- allowClear: boolean;
97
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
98
- $slots: {
99
- [x: number]: ((props: any) => any) | undefined;
100
- } & {
101
- label?: ((props: any) => any) | undefined;
102
- extra?: ((props: any) => any) | undefined;
103
- help?: ((props: any) => any) | undefined;
104
- };
105
- });
106
- inputTags: {
107
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormTagsProps> & Readonly<{
108
- onChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
109
- onSearch?: ((value: string) => any) | undefined;
110
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
111
- change: (value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any;
112
- search: (value: string) => any;
113
- }, import("vue").PublicProps, {
114
- allowClear: boolean;
115
- tokenSeparators: string[];
116
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
117
- P: {};
118
- B: {};
119
- D: {};
120
- C: {};
121
- M: {};
122
- Defaults: {};
123
- }, Readonly<Components.WFormTagsProps> & Readonly<{
124
- onChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
125
- onSearch?: ((value: string) => any) | undefined;
126
- }>, {}, {}, {}, {}, {
127
- allowClear: boolean;
128
- tokenSeparators: string[];
129
- }>;
130
- __isFragment?: undefined;
131
- __isTeleport?: undefined;
132
- __isSuspense?: undefined;
133
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormTagsProps> & Readonly<{
134
- onChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
135
- onSearch?: ((value: string) => any) | undefined;
136
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
137
- change: (value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any;
138
- search: (value: string) => any;
139
- }, string, {
140
- allowClear: boolean;
141
- tokenSeparators: string[];
142
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
143
- $slots: {
144
- label?: ((props: any) => any) | undefined;
145
- extra?: ((props: any) => any) | undefined;
146
- help?: ((props: any) => any) | undefined;
147
- };
148
- });
149
- radio: {
150
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormRadioProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
151
- params: any;
152
- method: string;
153
- option: import("../..").OptionType[];
154
- allowClear: boolean;
155
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
156
- P: {};
157
- B: {};
158
- D: {};
159
- C: {};
160
- M: {};
161
- Defaults: {};
162
- }, Readonly<Components.WFormRadioProps> & Readonly<{}>, {}, {}, {}, {}, {
163
- params: any;
164
- method: string;
165
- option: import("../..").OptionType[];
166
- allowClear: boolean;
167
- }>;
168
- __isFragment?: undefined;
169
- __isTeleport?: undefined;
170
- __isSuspense?: undefined;
171
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormRadioProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
172
- params: any;
173
- method: string;
174
- option: import("../..").OptionType[];
175
- allowClear: boolean;
176
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
177
- $slots: {
178
- label?: ((props: any) => any) | undefined;
179
- extra?: ((props: any) => any) | undefined;
180
- help?: ((props: any) => any) | undefined;
181
- };
182
- });
183
- checkbox: {
184
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
185
- params: any;
186
- method: string;
187
- option: import("../..").OptionType[];
188
- allowClear: boolean;
189
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
190
- P: {};
191
- B: {};
192
- D: {};
193
- C: {};
194
- M: {};
195
- Defaults: {};
196
- }, Readonly<Components.WFormCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, {
197
- params: any;
198
- method: string;
199
- option: import("../..").OptionType[];
200
- allowClear: boolean;
201
- }>;
202
- __isFragment?: undefined;
203
- __isTeleport?: undefined;
204
- __isSuspense?: undefined;
205
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
206
- params: any;
207
- method: string;
208
- option: import("../..").OptionType[];
209
- allowClear: boolean;
210
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
211
- $slots: {
212
- label?: ((props: any) => any) | undefined;
213
- extra?: ((props: any) => any) | undefined;
214
- help?: ((props: any) => any) | undefined;
215
- };
216
- });
217
- select: {
218
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormSelectProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
219
- params: any;
220
- method: string;
221
- option: import("../..").OptionType[];
222
- allowClear: boolean;
223
- autoClearSearchValue: boolean;
224
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
225
- P: {};
226
- B: {};
227
- D: {};
228
- C: {};
229
- M: {};
230
- Defaults: {};
231
- }, Readonly<Components.WFormSelectProps> & Readonly<{}>, {}, {}, {}, {}, {
232
- params: any;
233
- method: string;
234
- option: import("../..").OptionType[];
235
- allowClear: boolean;
236
- autoClearSearchValue: boolean;
237
- }>;
238
- __isFragment?: undefined;
239
- __isTeleport?: undefined;
240
- __isSuspense?: undefined;
241
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormSelectProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
242
- params: any;
243
- method: string;
244
- option: import("../..").OptionType[];
245
- allowClear: boolean;
246
- autoClearSearchValue: boolean;
247
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
248
- $slots: {
249
- [x: number]: ((props: any) => any) | undefined;
250
- } & {
251
- label?: ((props: any) => any) | undefined;
252
- extra?: ((props: any) => any) | undefined;
253
- help?: ((props: any) => any) | undefined;
254
- };
255
- });
256
- selectInput: import("vue").DefineComponent<Components.WFormSelectInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
257
- selectChange: (value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any;
258
- }, string, import("vue").PublicProps, Readonly<Components.WFormSelectInputProps> & Readonly<{
259
- onSelectChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
260
- }>, {
261
- option: import("..").WDropdownListItem[];
262
- allowClear: boolean;
263
- tokenSeparators: string[];
264
- isNumber: boolean;
265
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
266
- dateRange: import("vue").DefineComponent<Components.WFormDateRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormDateRangeProps> & Readonly<{}>, {
267
- option: import("..").WDropdownListItem[];
268
- format: FormatType;
269
- allowClear: boolean;
270
- futureTimeAllowed: boolean;
271
- offsetDays: number;
272
- limit: number;
273
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
274
- numberRange: import("vue").DefineComponent<Components.WFormNumberRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormNumberRangeProps> & Readonly<{}>, {
275
- min: number;
276
- max: number;
277
- option: import("..").WDropdownListItem[];
278
- allowClear: boolean;
279
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
280
- custom: {
281
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormCustomProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
282
- P: {};
283
- B: {};
284
- D: {};
285
- C: {};
286
- M: {};
287
- Defaults: {};
288
- }, Readonly<Components.WFormCustomProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
289
- __isFragment?: undefined;
290
- __isTeleport?: undefined;
291
- __isSuspense?: undefined;
292
- } & import("vue").ComponentOptionsBase<Readonly<Components.WFormCustomProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
293
- $slots: {
294
- [x: string]: ((props: any) => any) | undefined;
295
- } & {
296
- [x: string]: ((props: any) => any) | undefined;
297
- };
298
- });
299
- inputMatch: import("vue").DefineComponent<Types.WInputMatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
300
- change: (value: any) => any;
301
- }, string, import("vue").PublicProps, Readonly<Types.WInputMatchProps> & Readonly<{
302
- onChange?: ((value: any) => any) | undefined;
303
- }>, {
304
- allowClear: boolean;
305
- model: string;
306
- tokenSeparators: string[];
307
- labelModel: string;
308
- afterModel: string;
309
- labelOption: import("..").WDropdownListItem[];
310
- afterOption: import("../..").OptionType[];
311
- numberfs: string[];
312
- inputfs: string[];
313
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
314
- inputI18n: {
315
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
316
- allowClear: boolean;
317
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
318
- P: {};
319
- B: {};
320
- D: {};
321
- C: {};
322
- M: {};
323
- Defaults: {};
324
- }, Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, {
325
- allowClear: boolean;
326
- }>;
327
- __isFragment?: undefined;
328
- __isTeleport?: undefined;
329
- __isSuspense?: undefined;
330
- } & import("vue").ComponentOptionsBase<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
331
- allowClear: boolean;
332
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
333
- $slots: {
334
- label?: ((props: any) => any) | undefined;
335
- extra?: ((props: any) => any) | undefined;
336
- help?: ((props: any) => any) | undefined;
337
- };
338
- });
339
- channel: import("vue").DefineComponent<Components.WFormChannelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormChannelProps> & Readonly<{}>, {
340
- keyword: string;
341
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
342
- customer: import("vue").DefineComponent<Components.WFormCustomerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormCustomerProps> & Readonly<{}>, {
343
- keyword: string;
344
- urlType: Types.CustomeUrlType;
345
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
346
- country: import("vue").DefineComponent<Components.WFormCountryProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormCountryProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
347
- sku: import("vue").DefineComponent<Components.WFormSkuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormSkuProps> & Readonly<{}>, {
348
- keyword: string;
349
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
350
- };
351
- export type InputsKeyType = keyof typeof Inputs;
352
- export type InputsType = ({
353
- /**
354
- * 输入框
355
- */
356
- type: 'input';
357
- } & Partial<Types.WFormInputProps>) | ({
358
- /**
359
- * 数字输入框
360
- */
361
- type: 'inputNumber';
362
- } & Partial<Types.WFormNumberProps>) | ({
363
- /**
364
- * 数字输入框
365
- */
366
- type: 'inputI18n';
367
- } & Partial<Types.WFormI18nProps>) | ({
368
- /**
369
- * Tags输入框
370
- */
371
- type: 'inputTags';
372
- } & Partial<Types.WFormTagsProps>) | ({
373
- /**
374
- * 单选框
375
- */
376
- type: 'radio';
377
- } & Partial<Types.WFormRadioProps>) | ({
378
- /**
379
- * 复选框
380
- */
381
- type: 'checkbox';
382
- } & Partial<Types.WFormCheckboxProps>) | ({
383
- /**
384
- * 下拉选择框
385
- */
386
- type: 'select';
387
- } & Partial<Types.WFormSelectProps>) | ({
388
- /**
389
- * 下拉选择框输入框
390
- */
391
- type: 'selectInput';
392
- } & Partial<Types.WFormSelectInputProps>) | ({
393
- /**
394
- * 时间范围选择框
395
- */
396
- type: 'dateRange';
397
- } & Partial<Types.WFormDateRangeProps>) | ({
398
- /**
399
- * 数字范围输入框
400
- */
401
- type: 'numberRange';
402
- } & Partial<Types.WFormNumberRangeProps>) | ({
403
- /**
404
- * 自定义组件
405
- */
406
- type: 'custom';
407
- } & Partial<Types.WFormCustomProps>) | ({
408
- /**
409
- * 可匹配输入框
410
- */
411
- type: 'inputMatch';
412
- } & Partial<Types.WInputMatchProps>) | ({
413
- /**
414
- * 客户下拉框
415
- */
416
- type: 'channel';
417
- } & Partial<Types.WFormChannelProps>) | ({
418
- /**
419
- * 客户下拉框
420
- */
421
- type: 'customer';
422
- } & Partial<Types.WFormCustomerProps>) | ({
423
- /**
424
- * 国家下拉框
425
- */
426
- type: 'country';
427
- } & Partial<Types.WFormCountryProps>) | ({
428
- /**
429
- * sku下拉框
430
- */
431
- type: 'sku';
432
- } & Partial<Types.WFormSkuProps>);