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.
- package/dist/editor/index.es.js +1 -1
- package/dist/{editor-core-D9MSA0yc.js → editor-core-BuQ0a_wZ.js} +2 -2
- package/dist/{index-DbAXWdHe.js → index-CcW4jJHZ.js} +1 -1
- package/dist/{index-D4mQXwMj.js → index-DHKUfRSS.js} +189 -17
- package/dist/style.css +1 -1
- package/dist/types/packages/components/antd/src/datePicker.vue.d.ts +1 -1
- package/dist/types/packages/components/common/index.d.ts +0 -3
- package/dist/types/packages/components/common/src/page.vue.d.ts +1 -1
- package/dist/types/packages/components/common/src/rangePicker.vue.d.ts +1 -1
- package/dist/types/packages/components/common/type.d.ts +1 -37
- package/dist/types/packages/components/form/default/index.d.ts +1 -7
- package/dist/types/packages/components/form/default/src/checkbox.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/src/dateRange.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/src/form.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/src/numberRange.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/src/radio.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/src/select.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/src/selectInput.vue.d.ts +1 -0
- package/dist/types/packages/components/form/default/type.d.ts +100 -249
- package/dist/types/packages/components/index.d.ts +0 -1
- package/dist/types/packages/components/table/constants.d.ts +3 -5
- package/dist/types/packages/components/table/index.d.ts +1 -1
- package/dist/types/packages/components/table/resolveToolbarButtons.d.ts +16 -0
- package/dist/types/packages/components/table/src/search.vue.d.ts +9 -3
- package/dist/types/packages/components/table/src/table.vue.d.ts +8 -20
- package/dist/types/packages/components/{common/src/editTitle.vue.d.ts → table/src/toolbarButtons.vue.d.ts} +7 -7
- package/dist/types/packages/components/table/type.d.ts +101 -15
- package/dist/types/packages/components/table/useWTableConfig.d.ts +0 -1
- package/dist/types/packages/components/table/warnDeprecated.d.ts +3 -5
- package/dist/types/packages/hooks/private/src/useRenderCell.d.ts +6 -4
- package/dist/types/packages/hooks/web/index.d.ts +1 -4
- package/dist/types/packages/hooks/web/src/useDate.d.ts +65 -0
- package/dist/types/packages/keys/index.d.ts +3 -0
- package/dist/types/packages/utils/formatCellValue.d.ts +5 -1
- package/dist/types/packages/utils/index.d.ts +2 -1
- package/dist/types/packages/utils/resolveDefaultValue.d.ts +7 -0
- package/dist/types/packages/utils/type.d.ts +7 -0
- package/dist/wlwy-package.es.js +2599 -4162
- package/package.json +1 -1
- package/dist/types/packages/components/common/src/pageHead.vue.d.ts +0 -29
- package/dist/types/packages/components/form/default/src/modal.vue.d.ts +0 -46
- package/dist/types/packages/components/form/default/src/page.vue.d.ts +0 -48
- package/dist/types/packages/components/form/default/src/wrap.vue.d.ts +0 -56
- package/dist/types/packages/components/list/index.d.ts +0 -7
- package/dist/types/packages/components/list/input.d.ts +0 -432
- package/dist/types/packages/components/list/src/header.vue.d.ts +0 -44
- package/dist/types/packages/components/list/src/index.vue.d.ts +0 -68
- package/dist/types/packages/components/list/src/pager.vue.d.ts +0 -10
- package/dist/types/packages/components/list/src/table.vue.d.ts +0 -774
- package/dist/types/packages/components/list/type.d.ts +0 -346
- package/dist/types/packages/components/table/resolveInjectColumns.d.ts +0 -17
- package/dist/types/packages/hooks/web/src/useListConfig.d.ts +0 -16
- package/dist/types/packages/hooks/web/src/usePageForm.d.ts +0 -9
- package/dist/types/packages/hooks/web/src/usePrefixTitle.d.ts +0 -7
- package/dist/types/packages/hooks/web/src/useUpload.d.ts +0 -1
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { WListHeaderProps } from '../type';
|
|
2
|
-
type __VLS_Props = WListHeaderProps;
|
|
3
|
-
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
-
'form'?: any;
|
|
5
|
-
};
|
|
6
|
-
declare var __VLS_12: {
|
|
7
|
-
form: any;
|
|
8
|
-
}, __VLS_30: {
|
|
9
|
-
loading: boolean;
|
|
10
|
-
}, __VLS_56: {};
|
|
11
|
-
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof __VLS_12) => any;
|
|
13
|
-
} & {
|
|
14
|
-
buttons?: (props: typeof __VLS_30) => any;
|
|
15
|
-
} & {
|
|
16
|
-
buttonAfter?: (props: typeof __VLS_56) => any;
|
|
17
|
-
};
|
|
18
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
19
|
-
getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
|
|
20
|
-
setForm: (value: any, merge?: boolean) => void;
|
|
21
|
-
getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
22
|
-
getFormValue: () => Record<string, any>;
|
|
23
|
-
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;
|
|
24
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
reset: (initForm: any) => any;
|
|
26
|
-
search: (data: any) => any;
|
|
27
|
-
"update:form": (value: any) => any;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
-
onReset?: ((initForm: any) => any) | undefined;
|
|
30
|
-
onSearch?: ((data: any) => any) | undefined;
|
|
31
|
-
"onUpdate:form"?: ((value: any) => any) | undefined;
|
|
32
|
-
}>, {
|
|
33
|
-
loading: boolean;
|
|
34
|
-
column: number;
|
|
35
|
-
gutter: number;
|
|
36
|
-
expand: boolean;
|
|
37
|
-
minRows: number;
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
39
|
-
export default _default;
|
|
40
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
-
new (): {
|
|
42
|
-
$slots: S;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { WListProps, WListHeaderInstance, WListTableInstance, ListResPonseType } from '../type';
|
|
2
|
-
import { ApiResponse } from '../../../axios/types';
|
|
3
|
-
type __VLS_Props = WListProps;
|
|
4
|
-
declare function handleChangeTab(key: string | number): Promise<void>;
|
|
5
|
-
type __VLS_PublicProps = __VLS_Props & {
|
|
6
|
-
'activeTabKey'?: string | number | undefined;
|
|
7
|
-
};
|
|
8
|
-
declare var __VLS_19: {}, __VLS_21: {}, __VLS_23: {
|
|
9
|
-
key: string;
|
|
10
|
-
tab: any;
|
|
11
|
-
slots?: {
|
|
12
|
-
tab: string;
|
|
13
|
-
} | undefined;
|
|
14
|
-
disabled?: boolean | undefined;
|
|
15
|
-
}, __VLS_29: {
|
|
16
|
-
form: any;
|
|
17
|
-
handleChange: typeof handleChangeTab;
|
|
18
|
-
}, __VLS_31: {
|
|
19
|
-
form: any;
|
|
20
|
-
tableData: any;
|
|
21
|
-
}, __VLS_43: string | number, __VLS_44: any, __VLS_46: any;
|
|
22
|
-
type __VLS_Slots = {} & {
|
|
23
|
-
[K in NonNullable<typeof __VLS_43>]?: (props: typeof __VLS_44) => any;
|
|
24
|
-
} & {
|
|
25
|
-
tableTitle?: (props: typeof __VLS_19) => any;
|
|
26
|
-
} & {
|
|
27
|
-
tableExtra?: (props: typeof __VLS_21) => any;
|
|
28
|
-
} & {
|
|
29
|
-
customTab?: (props: typeof __VLS_23) => any;
|
|
30
|
-
} & {
|
|
31
|
-
tabs?: (props: typeof __VLS_29) => any;
|
|
32
|
-
} & {
|
|
33
|
-
table?: (props: typeof __VLS_31) => any;
|
|
34
|
-
} & {
|
|
35
|
-
default?: (props: typeof __VLS_46) => any;
|
|
36
|
-
};
|
|
37
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
38
|
-
getList: (params?: any) => Promise<ApiResponse<ListResPonseType<any>> | undefined>;
|
|
39
|
-
getCheckboxRecords: () => any[];
|
|
40
|
-
getHeaderInstance: () => WListHeaderInstance | undefined;
|
|
41
|
-
getTableInstance: () => WListTableInstance<any> | undefined;
|
|
42
|
-
clearTableData: () => void;
|
|
43
|
-
setForm: (value: any, merge?: boolean) => void;
|
|
44
|
-
getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
45
|
-
getFormValue: () => Record<string, any>;
|
|
46
|
-
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;
|
|
47
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
-
reset: () => any;
|
|
49
|
-
"update:activeTabKey": (value: string | number | undefined) => any;
|
|
50
|
-
selectAction: (checkedData: any[]) => any;
|
|
51
|
-
changeTab: (key: string | number) => any;
|
|
52
|
-
listLoaded: (list: any[]) => any;
|
|
53
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
54
|
-
onReset?: (() => any) | undefined;
|
|
55
|
-
"onUpdate:activeTabKey"?: ((value: string | number | undefined) => any) | undefined;
|
|
56
|
-
onSelectAction?: ((checkedData: any[]) => any) | undefined;
|
|
57
|
-
onChangeTab?: ((key: string | number) => any) | undefined;
|
|
58
|
-
onListLoaded?: ((list: any[]) => any) | undefined;
|
|
59
|
-
}>, {
|
|
60
|
-
method: "GET" | "POST";
|
|
61
|
-
shadow: boolean;
|
|
62
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
63
|
-
export default _default;
|
|
64
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
65
|
-
new (): {
|
|
66
|
-
$slots: S;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TableDataType } from '../type';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
tableData: TableDataType;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
pageChange: (params: any) => any;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
-
onPageChange?: ((params: any) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
export default _default;
|