@skyfox2000/webui 1.3.19 → 1.3.21
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/lib/AceEditor.d.ts +1 -0
- package/lib/BasicLayout.d.ts +1 -0
- package/lib/Error403.d.ts +1 -0
- package/lib/Error404.d.ts +1 -0
- package/lib/ExcelForm.d.ts +1 -0
- package/lib/MenuLayout.d.ts +1 -0
- package/lib/UploadForm.d.ts +1 -0
- package/lib/assets/modules/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/lib/assets/modules/baseLayout-Bz3oRE5o.js +79 -0
- package/lib/assets/modules/file-upload-CmnCEJze.js +204 -0
- package/lib/assets/modules/index-CAqiqqdd.js +380 -0
- package/lib/assets/modules/index-CvQ24Mzh.js +112 -0
- package/lib/assets/modules/index-D0njzOzQ.js +109 -0
- package/lib/assets/modules/menuTabs-NVgroqVO.js +671 -0
- package/lib/assets/modules/toolIcon-BuqRfX4F.js +50 -0
- package/lib/assets/modules/uploadList-B6MIYOtN.js +2411 -0
- package/lib/assets/modules/uploadList-KG6kpOaY.js +382 -0
- package/lib/components/common/alert/index.vue.d.ts +13 -0
- package/lib/components/common/button/index.vue.d.ts +41 -0
- package/lib/components/common/icon/appicon.vue.d.ts +11 -0
- package/lib/components/common/icon/fullscreen.vue.d.ts +3 -0
- package/lib/components/common/icon/helper.vue.d.ts +23 -0
- package/lib/components/common/icon/index.vue.d.ts +243 -0
- package/lib/components/common/icon/layoutIcon.vue.d.ts +43 -0
- package/lib/components/common/icon/projectIcon.vue.d.ts +59 -0
- package/lib/components/common/icon/toolIcon.vue.d.ts +43 -0
- package/lib/components/common/index.d.ts +22 -0
- package/lib/components/common/loading/index.vue.d.ts +3 -0
- package/lib/components/common/tooltip/index.vue.d.ts +21 -0
- package/lib/components/content/dialog/index.vue.d.ts +35 -0
- package/lib/components/content/drawer/index.vue.d.ts +28 -0
- package/lib/components/content/form/formItem.vue.d.ts +28 -0
- package/lib/components/content/form/index.vue.d.ts +25 -0
- package/lib/components/content/index.d.ts +22 -0
- package/lib/components/content/search/index.vue.d.ts +32 -0
- package/lib/components/content/search/searchItem.vue.d.ts +23 -0
- package/lib/components/content/table/index.vue.d.ts +127 -0
- package/lib/components/content/table/tableOperate.vue.d.ts +18 -0
- package/lib/components/content/toolbar/icontool.vue.d.ts +7 -0
- package/lib/components/content/toolbar/index.vue.d.ts +18 -0
- package/lib/components/content/tree/index.vue.d.ts +46 -0
- package/lib/components/form/aceEditor/aceConfig.d.ts +8 -0
- package/lib/components/form/autoComplete/index.vue.d.ts +101 -0
- package/lib/components/form/cascader/index.vue.d.ts +80 -0
- package/lib/components/form/checkbox/index.vue.d.ts +100 -0
- package/lib/components/form/datePicker/index.vue.d.ts +6 -0
- package/lib/components/form/index.d.ts +41 -0
- package/lib/components/form/input/index.vue.d.ts +29 -0
- package/lib/components/form/input/inputIcon.vue.d.ts +10 -0
- package/lib/components/form/input/inputNumber.vue.d.ts +3 -0
- package/lib/components/form/input/inputPassword.vue.d.ts +3 -0
- package/lib/components/form/propEditor/index.vue.d.ts +15 -0
- package/lib/components/form/radio/index.vue.d.ts +105 -0
- package/lib/components/form/radio/radioStatus.vue.d.ts +31 -0
- package/lib/components/form/rangePicker/index.vue.d.ts +16 -0
- package/lib/components/form/select/index.vue.d.ts +119 -0
- package/lib/components/form/switch/index.vue.d.ts +76 -0
- package/lib/components/form/textarea/index.vue.d.ts +3 -0
- package/lib/components/form/timePicker/index.vue.d.ts +6 -0
- package/lib/components/form/transfer/index.vue.d.ts +38 -0
- package/lib/components/form/transfer/transferTable.vue.d.ts +38 -0
- package/lib/components/form/treeSelect/index.vue.d.ts +47 -0
- package/lib/components/form/upload/uploadList.vue.d.ts +488 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/layout/breadcrumb/index.vue.d.ts +3 -0
- package/lib/components/layout/content/index.vue.d.ts +22 -0
- package/lib/components/layout/datetime/index.vue.d.ts +3 -0
- package/lib/components/layout/header/headerExits.vue.d.ts +3 -0
- package/lib/components/layout/header/index.vue.d.ts +3 -0
- package/lib/components/layout/header/user.vue.d.ts +3 -0
- package/lib/components/layout/index.d.ts +14 -0
- package/lib/components/layout/menu/index.vue.d.ts +6 -0
- package/lib/components/layout/menu/menuTabs.vue.d.ts +3 -0
- package/lib/const/options.d.ts +32 -0
- package/lib/directives/enter-submit.d.ts +4 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/permission.d.ts +5 -0
- package/lib/es/AceEditor/index.js +167 -0
- package/lib/es/BasicLayout/index.js +54 -0
- package/lib/es/Error403/index.js +39 -0
- package/lib/es/Error404/index.js +39 -0
- package/lib/es/ExcelForm/index.js +491 -0
- package/lib/es/MenuLayout/index.js +54 -0
- package/lib/es/UploadForm/index.js +110 -0
- package/lib/index.d.ts +46 -0
- package/lib/router/index.d.ts +15 -0
- package/lib/stores/appInfo.d.ts +31 -0
- package/lib/stores/hostInfo.d.ts +11 -0
- package/lib/stores/pageInfo.d.ts +18 -0
- package/lib/stores/pinia.d.ts +3 -0
- package/lib/stores/settingInfo.d.ts +8 -0
- package/lib/stores/userInfo.d.ts +25 -0
- package/lib/typings/data.d.ts +80 -0
- package/lib/typings/form.d.ts +206 -0
- package/lib/typings/menu.d.ts +7 -0
- package/lib/typings/option.d.ts +209 -0
- package/lib/typings/page.d.ts +70 -0
- package/lib/typings/table.d.ts +181 -0
- package/lib/typings/tools.d.ts +130 -0
- package/lib/typings/tree.d.ts +76 -0
- package/lib/typings/upload.d.ts +161 -0
- package/lib/typings/urls.d.ts +69 -0
- package/lib/utils/cache.d.ts +23 -0
- package/lib/utils/data.d.ts +6 -0
- package/lib/utils/download.d.ts +6 -0
- package/lib/utils/eventbus.d.ts +16 -0
- package/lib/utils/excel-preview.d.ts +24 -0
- package/lib/utils/excel-view.d.ts +25 -0
- package/lib/utils/export-table.d.ts +12 -0
- package/lib/utils/file-upload.d.ts +17 -0
- package/lib/utils/form-csv.d.ts +18 -0
- package/lib/utils/form-excel.d.ts +36 -0
- package/lib/utils/form-validate.d.ts +29 -0
- package/lib/utils/form.d.ts +9 -0
- package/lib/utils/icon-loader.d.ts +125 -0
- package/lib/utils/isEmpty.d.ts +1 -0
- package/lib/utils/main-openapis.d.ts +8 -0
- package/lib/utils/menu.d.ts +6 -0
- package/lib/utils/options.d.ts +7 -0
- package/lib/utils/page.d.ts +30 -0
- package/lib/utils/table.d.ts +21 -0
- package/lib/utils/tools.d.ts +18 -0
- package/lib/utils/tree.d.ts +3 -0
- package/lib/vite-env.d.ts +8 -0
- package/lib/webui.css +1 -0
- package/lib/webui.es.js +2345 -0
- package/package.json +1 -1
- package/src/components/content/dialog/excelForm.vue +1 -1
- package/src/components/content/form/formItem.vue +5 -0
- package/src/typings/form.d.ts +1 -1
- package/src/typings/tree.d.ts +4 -0
- package/src/utils/form.ts +7 -1
- package/src/utils/table.ts +7 -2
- package/src/utils/tree.ts +4 -2
- package/.cursorignore +0 -8
- package/scripts/userInput.py +0 -2
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { PaginationProps, TableProps, TableColumnType } from 'ant-design-vue';
|
|
2
|
+
import { GridControl } from '../../../index';
|
|
3
|
+
import { AnyData } from '../../../../../502417_fapi';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
gridCtrl: GridControl<AnyData>;
|
|
7
|
+
primaryKey?: string;
|
|
8
|
+
tableData?: Record<string, AnyData>[];
|
|
9
|
+
rowSelection?: TableProps['rowSelection'];
|
|
10
|
+
pagination?: false | PaginationProps;
|
|
11
|
+
scroll?: TableProps['scroll'];
|
|
12
|
+
statusDisabled?: Function;
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
bodyCell?(_: {
|
|
18
|
+
column: TableColumnType<any>;
|
|
19
|
+
record: Record<string, any>;
|
|
20
|
+
}): any;
|
|
21
|
+
operate?(_: {
|
|
22
|
+
record: Record<string, any>;
|
|
23
|
+
}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: any;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
30
|
+
pagination: false | Partial< ExtractPropTypes<{
|
|
31
|
+
total: NumberConstructor;
|
|
32
|
+
defaultCurrent: NumberConstructor;
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
current: NumberConstructor;
|
|
38
|
+
defaultPageSize: NumberConstructor;
|
|
39
|
+
pageSize: NumberConstructor;
|
|
40
|
+
hideOnSinglePage: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
showSizeChanger: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
pageSizeOptions: {
|
|
49
|
+
type: PropType<(string | number)[]>;
|
|
50
|
+
default: (string | number)[];
|
|
51
|
+
};
|
|
52
|
+
buildOptionText: {
|
|
53
|
+
type: PropType<(opt: {
|
|
54
|
+
value: any;
|
|
55
|
+
}) => any>;
|
|
56
|
+
default: (opt: {
|
|
57
|
+
value: any;
|
|
58
|
+
}) => any;
|
|
59
|
+
};
|
|
60
|
+
showQuickJumper: {
|
|
61
|
+
type: PropType<boolean | {
|
|
62
|
+
goButton?: any;
|
|
63
|
+
}>;
|
|
64
|
+
default: boolean | {
|
|
65
|
+
goButton?: any;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
showTotal: {
|
|
69
|
+
type: PropType<(total: number, range: [number, number]) => any>;
|
|
70
|
+
default: (total: number, range: [number, number]) => any;
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
type: PropType<"default" | "small">;
|
|
74
|
+
default: "default" | "small";
|
|
75
|
+
};
|
|
76
|
+
simple: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
locale: ObjectConstructor;
|
|
81
|
+
prefixCls: StringConstructor;
|
|
82
|
+
selectPrefixCls: StringConstructor;
|
|
83
|
+
totalBoundaryShowSizeChanger: NumberConstructor;
|
|
84
|
+
selectComponentClass: StringConstructor;
|
|
85
|
+
itemRender: {
|
|
86
|
+
type: PropType<(opt: {
|
|
87
|
+
page: number;
|
|
88
|
+
type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
|
|
89
|
+
originalElement: any;
|
|
90
|
+
}) => any>;
|
|
91
|
+
default: (opt: {
|
|
92
|
+
page: number;
|
|
93
|
+
type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
|
|
94
|
+
originalElement: any;
|
|
95
|
+
}) => any;
|
|
96
|
+
};
|
|
97
|
+
role: StringConstructor;
|
|
98
|
+
responsive: BooleanConstructor;
|
|
99
|
+
showLessItems: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
onChange: {
|
|
104
|
+
type: PropType<(page: number, pageSize: number) => void>;
|
|
105
|
+
default: (page: number, pageSize: number) => void;
|
|
106
|
+
};
|
|
107
|
+
onShowSizeChange: {
|
|
108
|
+
type: PropType<(current: number, size: number) => void>;
|
|
109
|
+
default: (current: number, size: number) => void;
|
|
110
|
+
};
|
|
111
|
+
'onUpdate:current': {
|
|
112
|
+
type: PropType<(current: number) => void>;
|
|
113
|
+
default: (current: number) => void;
|
|
114
|
+
};
|
|
115
|
+
'onUpdate:pageSize': {
|
|
116
|
+
type: PropType<(size: number) => void>;
|
|
117
|
+
default: (size: number) => void;
|
|
118
|
+
};
|
|
119
|
+
}>>;
|
|
120
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
121
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
122
|
+
export default _default;
|
|
123
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
124
|
+
new (): {
|
|
125
|
+
$slots: S;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GridControl } from '../../../index';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
declare const _default: <T>(__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
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
|
|
5
|
+
record: Record<string, any>;
|
|
6
|
+
gridCtrl: GridControl<T>;
|
|
7
|
+
} & Partial<{}>> & PublicProps;
|
|
8
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_PrettifyLocal<T> = {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GridControl } from '../../../index';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
gridCtrl: GridControl<any>;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EditorControl, GridControl } from '../../../index';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
declare const _default: <T>(__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
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
|
|
5
|
+
gridCtrl: GridControl<T>;
|
|
6
|
+
editorCtrl: EditorControl<T>;
|
|
7
|
+
} & Partial<{}>> & PublicProps;
|
|
8
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_PrettifyLocal<T> = {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} & {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TreeControl } from '../../../index';
|
|
2
|
+
import { TreeDataNode } from 'ant-design-vue/es/vc-tree-select/interface';
|
|
3
|
+
import { EventDataNode } from 'ant-design-vue/es/vc-tree/interface';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
treeCtrl: TreeControl;
|
|
7
|
+
selectedKeys?: (string | number)[];
|
|
8
|
+
expandedKeys?: (string | number)[];
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
title?(_: {
|
|
14
|
+
label: any;
|
|
15
|
+
key: any;
|
|
16
|
+
icon: any;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
24
|
+
select: (selectedKeys: (string | number)[], info?: {
|
|
25
|
+
event: "select";
|
|
26
|
+
node: EventDataNode;
|
|
27
|
+
selected: boolean;
|
|
28
|
+
selectedNodes: TreeDataNode[];
|
|
29
|
+
} | undefined) => any;
|
|
30
|
+
"update:selectedKeys": (value: (string | number)[]) => any;
|
|
31
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onSelect?: ((selectedKeys: (string | number)[], info?: {
|
|
33
|
+
event: "select";
|
|
34
|
+
node: EventDataNode;
|
|
35
|
+
selected: boolean;
|
|
36
|
+
selectedNodes: TreeDataNode[];
|
|
37
|
+
} | undefined) => any) | undefined;
|
|
38
|
+
"onUpdate:selectedKeys"?: ((value: (string | number)[]) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
ace: any;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export declare const ensureAceLoaded: (baseUrl: string) => Promise<any>;
|
|
7
|
+
export declare const loadWorker: (baseUrl: string, lang: string) => Promise<void>;
|
|
8
|
+
export declare const loadTheme: (baseUrl: string, theme: string) => Promise<void>;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { OptionItemProps } from '../../../index';
|
|
3
|
+
import { IUrlInfo } from '../../../../../502417_fapi';
|
|
4
|
+
import { OptionControl } from '../../../typings/option';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
value: {
|
|
7
|
+
type: PropType<string | number | string[] | null>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
autoClean: {
|
|
11
|
+
type: PropType<boolean>;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
url: {
|
|
15
|
+
type: PropType< IUrlInfo>;
|
|
16
|
+
required: boolean;
|
|
17
|
+
};
|
|
18
|
+
data: {
|
|
19
|
+
type: PropType<OptionItemProps[]>;
|
|
20
|
+
required: boolean;
|
|
21
|
+
};
|
|
22
|
+
labels: {
|
|
23
|
+
type: PropType<string | number | (string | number)[]>;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
formData: {
|
|
27
|
+
type: PropType<Record<string, any>>;
|
|
28
|
+
required: boolean;
|
|
29
|
+
};
|
|
30
|
+
outFields: {
|
|
31
|
+
type: PropType<Record<string, string>>;
|
|
32
|
+
required: boolean;
|
|
33
|
+
};
|
|
34
|
+
reloadEvent: {
|
|
35
|
+
type: PropType<string>;
|
|
36
|
+
required: boolean;
|
|
37
|
+
};
|
|
38
|
+
changeEvent: {
|
|
39
|
+
type: PropType<[string | string[], string]>;
|
|
40
|
+
required: boolean;
|
|
41
|
+
};
|
|
42
|
+
optionCtrl: {
|
|
43
|
+
type: PropType< OptionControl>;
|
|
44
|
+
required: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
47
|
+
change: (...args: any[]) => void;
|
|
48
|
+
select: (...args: any[]) => void;
|
|
49
|
+
"update:value": (...args: any[]) => void;
|
|
50
|
+
"update:labels": (...args: any[]) => void;
|
|
51
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
52
|
+
value: {
|
|
53
|
+
type: PropType<string | number | string[] | null>;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
autoClean: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
url: {
|
|
61
|
+
type: PropType< IUrlInfo>;
|
|
62
|
+
required: boolean;
|
|
63
|
+
};
|
|
64
|
+
data: {
|
|
65
|
+
type: PropType<OptionItemProps[]>;
|
|
66
|
+
required: boolean;
|
|
67
|
+
};
|
|
68
|
+
labels: {
|
|
69
|
+
type: PropType<string | number | (string | number)[]>;
|
|
70
|
+
required: boolean;
|
|
71
|
+
};
|
|
72
|
+
formData: {
|
|
73
|
+
type: PropType<Record<string, any>>;
|
|
74
|
+
required: boolean;
|
|
75
|
+
};
|
|
76
|
+
outFields: {
|
|
77
|
+
type: PropType<Record<string, string>>;
|
|
78
|
+
required: boolean;
|
|
79
|
+
};
|
|
80
|
+
reloadEvent: {
|
|
81
|
+
type: PropType<string>;
|
|
82
|
+
required: boolean;
|
|
83
|
+
};
|
|
84
|
+
changeEvent: {
|
|
85
|
+
type: PropType<[string | string[], string]>;
|
|
86
|
+
required: boolean;
|
|
87
|
+
};
|
|
88
|
+
optionCtrl: {
|
|
89
|
+
type: PropType< OptionControl>;
|
|
90
|
+
required: boolean;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{
|
|
93
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
value: string | number | string[] | null;
|
|
99
|
+
autoClean: boolean;
|
|
100
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { OptionItemProps } from '../../../index';
|
|
2
|
+
import { IUrlInfo } from '../../../../../502417_fapi';
|
|
3
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { OptionControl } from '../../../typings/option';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
url: {
|
|
7
|
+
type: PropType<IUrlInfo>;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
data: {
|
|
11
|
+
type: PropType<OptionItemProps[]>;
|
|
12
|
+
required: boolean;
|
|
13
|
+
};
|
|
14
|
+
labels: {
|
|
15
|
+
type: PropType<string | number | (string | number)[]>;
|
|
16
|
+
required: boolean;
|
|
17
|
+
};
|
|
18
|
+
formData: {
|
|
19
|
+
type: PropType<Record<string, any>>;
|
|
20
|
+
required: boolean;
|
|
21
|
+
};
|
|
22
|
+
outFields: {
|
|
23
|
+
type: PropType<Record<string, string>>;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
reloadEvent: {
|
|
27
|
+
type: PropType<string>;
|
|
28
|
+
required: boolean;
|
|
29
|
+
};
|
|
30
|
+
changeEvent: {
|
|
31
|
+
type: PropType<[string | string[], string]>;
|
|
32
|
+
required: boolean;
|
|
33
|
+
};
|
|
34
|
+
optionCtrl: {
|
|
35
|
+
type: PropType<OptionControl>;
|
|
36
|
+
required: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
39
|
+
change: (...args: any[]) => void;
|
|
40
|
+
"update:value": (...args: any[]) => void;
|
|
41
|
+
"update:labels": (...args: any[]) => void;
|
|
42
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
43
|
+
url: {
|
|
44
|
+
type: PropType<IUrlInfo>;
|
|
45
|
+
required: boolean;
|
|
46
|
+
};
|
|
47
|
+
data: {
|
|
48
|
+
type: PropType<OptionItemProps[]>;
|
|
49
|
+
required: boolean;
|
|
50
|
+
};
|
|
51
|
+
labels: {
|
|
52
|
+
type: PropType<string | number | (string | number)[]>;
|
|
53
|
+
required: boolean;
|
|
54
|
+
};
|
|
55
|
+
formData: {
|
|
56
|
+
type: PropType<Record<string, any>>;
|
|
57
|
+
required: boolean;
|
|
58
|
+
};
|
|
59
|
+
outFields: {
|
|
60
|
+
type: PropType<Record<string, string>>;
|
|
61
|
+
required: boolean;
|
|
62
|
+
};
|
|
63
|
+
reloadEvent: {
|
|
64
|
+
type: PropType<string>;
|
|
65
|
+
required: boolean;
|
|
66
|
+
};
|
|
67
|
+
changeEvent: {
|
|
68
|
+
type: PropType<[string | string[], string]>;
|
|
69
|
+
required: boolean;
|
|
70
|
+
};
|
|
71
|
+
optionCtrl: {
|
|
72
|
+
type: PropType<OptionControl>;
|
|
73
|
+
required: boolean;
|
|
74
|
+
};
|
|
75
|
+
}>> & Readonly<{
|
|
76
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { OptionItemProps } from '../../../index';
|
|
2
|
+
import { IUrlInfo } from '../../../../../502417_fapi';
|
|
3
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { OptionControl } from '../../../typings/option';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
nodata: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
wrap: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
};
|
|
13
|
+
disabledItems: {
|
|
14
|
+
type: () => string[];
|
|
15
|
+
};
|
|
16
|
+
url: {
|
|
17
|
+
type: PropType<IUrlInfo>;
|
|
18
|
+
required: boolean;
|
|
19
|
+
};
|
|
20
|
+
data: {
|
|
21
|
+
type: PropType<OptionItemProps[]>;
|
|
22
|
+
required: boolean;
|
|
23
|
+
};
|
|
24
|
+
labels: {
|
|
25
|
+
type: PropType<string | number | (string | number)[]>;
|
|
26
|
+
required: boolean;
|
|
27
|
+
};
|
|
28
|
+
formData: {
|
|
29
|
+
type: PropType<Record<string, any>>;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
outFields: {
|
|
33
|
+
type: PropType<Record<string, string>>;
|
|
34
|
+
required: boolean;
|
|
35
|
+
};
|
|
36
|
+
reloadEvent: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
required: boolean;
|
|
39
|
+
};
|
|
40
|
+
changeEvent: {
|
|
41
|
+
type: PropType<[string | string[], string]>;
|
|
42
|
+
required: boolean;
|
|
43
|
+
};
|
|
44
|
+
optionCtrl: {
|
|
45
|
+
type: PropType<OptionControl>;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
49
|
+
change: (...args: any[]) => void;
|
|
50
|
+
"update:labels": (...args: any[]) => void;
|
|
51
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
52
|
+
nodata: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
wrap: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
};
|
|
59
|
+
disabledItems: {
|
|
60
|
+
type: () => string[];
|
|
61
|
+
};
|
|
62
|
+
url: {
|
|
63
|
+
type: PropType<IUrlInfo>;
|
|
64
|
+
required: boolean;
|
|
65
|
+
};
|
|
66
|
+
data: {
|
|
67
|
+
type: PropType<OptionItemProps[]>;
|
|
68
|
+
required: boolean;
|
|
69
|
+
};
|
|
70
|
+
labels: {
|
|
71
|
+
type: PropType<string | number | (string | number)[]>;
|
|
72
|
+
required: boolean;
|
|
73
|
+
};
|
|
74
|
+
formData: {
|
|
75
|
+
type: PropType<Record<string, any>>;
|
|
76
|
+
required: boolean;
|
|
77
|
+
};
|
|
78
|
+
outFields: {
|
|
79
|
+
type: PropType<Record<string, string>>;
|
|
80
|
+
required: boolean;
|
|
81
|
+
};
|
|
82
|
+
reloadEvent: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
required: boolean;
|
|
85
|
+
};
|
|
86
|
+
changeEvent: {
|
|
87
|
+
type: PropType<[string | string[], string]>;
|
|
88
|
+
required: boolean;
|
|
89
|
+
};
|
|
90
|
+
optionCtrl: {
|
|
91
|
+
type: PropType<OptionControl>;
|
|
92
|
+
required: boolean;
|
|
93
|
+
};
|
|
94
|
+
}>> & Readonly<{
|
|
95
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
nodata: string;
|
|
99
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
100
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
valueFormat?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { default as AutoComplete } from './autoComplete/index.vue';
|
|
2
|
+
import { default as Cascader } from './cascader/index.vue';
|
|
3
|
+
import { default as Checkbox } from './checkbox/index.vue';
|
|
4
|
+
import { default as DatePicker } from './datePicker/index.vue';
|
|
5
|
+
import { default as Input } from './input/index.vue';
|
|
6
|
+
import { default as InputIcon } from './input/inputIcon.vue';
|
|
7
|
+
import { default as InputPassword } from './input/inputPassword.vue';
|
|
8
|
+
import { default as InputNumber } from './input/inputNumber.vue';
|
|
9
|
+
import { default as PropEditor } from './propEditor/index.vue';
|
|
10
|
+
import { default as Radio } from './radio/index.vue';
|
|
11
|
+
import { default as RadioStatus } from './radio/radioStatus.vue';
|
|
12
|
+
import { default as RangePicker } from './rangePicker/index.vue';
|
|
13
|
+
import { default as Select } from './select/index.vue';
|
|
14
|
+
import { default as Switch } from './switch/index.vue';
|
|
15
|
+
import { default as Textarea } from './textarea/index.vue';
|
|
16
|
+
import { default as TimePicker } from './timePicker/index.vue';
|
|
17
|
+
import { default as Transfer } from './transfer/index.vue';
|
|
18
|
+
import { default as TransferTable } from './transfer/transferTable.vue';
|
|
19
|
+
import { default as TreeSelect } from './treeSelect/index.vue';
|
|
20
|
+
import { default as UploadList } from './upload/uploadList.vue';
|
|
21
|
+
export { AutoComplete };
|
|
22
|
+
export { Cascader };
|
|
23
|
+
export { Checkbox };
|
|
24
|
+
export { DatePicker };
|
|
25
|
+
export { Input };
|
|
26
|
+
export { InputIcon };
|
|
27
|
+
export { InputPassword };
|
|
28
|
+
export { InputNumber };
|
|
29
|
+
export { PropEditor };
|
|
30
|
+
export type { PropConfigItem } from '../../typings/form.d';
|
|
31
|
+
export { Radio };
|
|
32
|
+
export { RadioStatus };
|
|
33
|
+
export { RangePicker };
|
|
34
|
+
export { Select };
|
|
35
|
+
export { Switch };
|
|
36
|
+
export { Textarea };
|
|
37
|
+
export { TimePicker };
|
|
38
|
+
export { Transfer };
|
|
39
|
+
export { TransferTable };
|
|
40
|
+
export { TreeSelect };
|
|
41
|
+
export { UploadList };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: any;
|
|
4
|
+
undefValue?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
addonBefore?(_: {}): any;
|
|
10
|
+
addonAfter?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
+
"update:value": (...args: any[]) => void;
|
|
18
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
undefValue: boolean;
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value?: string | null;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
"update:value": (...args: any[]) => void;
|
|
7
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropConfigItem } from '../../../typings/form.d';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
value: Record<string, string>;
|
|
5
|
+
selectList?: PropConfigItem[];
|
|
6
|
+
fieldWidth?: number;
|
|
7
|
+
labelHolder?: string;
|
|
8
|
+
valueHolder?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
"update:value": (...args: any[]) => void;
|
|
12
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|