@skyfox2000/webui 1.2.10 → 1.2.11
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/UploadForm.d.ts +1 -0
- package/lib/assets/modules/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/lib/assets/modules/file-upload-CGyzCx7I.js +204 -0
- package/lib/assets/modules/form-excel-DWirWVPA.js +235 -0
- package/lib/assets/modules/index-C1zkNPmi.js +109 -0
- package/lib/assets/modules/index-Czk7DDWM.js +112 -0
- package/lib/assets/modules/menuTabs-BOax-dro.js +671 -0
- package/lib/assets/modules/toolIcon-vJF7OgP6.js +50 -0
- package/lib/assets/modules/uploadList-BW23uSvi.js +369 -0
- package/lib/assets/modules/uploadList-DaUjVXLU.js +2267 -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 +22 -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 +20 -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 +27 -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 +30 -0
- package/lib/components/content/search/searchItem.vue.d.ts +23 -0
- package/lib/components/content/table/index.vue.d.ts +36 -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 +176 -0
- package/lib/components/form/cascader/index.vue.d.ts +120 -0
- package/lib/components/form/checkbox/index.vue.d.ts +139 -0
- package/lib/components/form/datePicker/index.vue.d.ts +6 -0
- package/lib/components/form/index.d.ts +39 -0
- package/lib/components/form/input/index.vue.d.ts +26 -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 +21 -0
- package/lib/components/form/radio/index.vue.d.ts +144 -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 +153 -0
- package/lib/components/form/switch/index.vue.d.ts +43 -0
- package/lib/components/form/textarea/index.vue.d.ts +3 -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 +38 -0
- package/lib/components/form/upload/uploadList.vue.d.ts +487 -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 +101 -0
- package/lib/es/Error403/index.js +39 -0
- package/lib/es/Error404/index.js +39 -0
- package/lib/es/ExcelForm/index.js +321 -0
- package/lib/es/UploadForm/index.js +110 -0
- package/lib/index.d.ts +45 -0
- package/lib/router/index.d.ts +15 -0
- package/lib/stores/appInfo.d.ts +31 -0
- package/lib/stores/hostInfo.d.ts +9 -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 +187 -0
- package/lib/typings/menu.d.ts +7 -0
- package/lib/typings/option.d.ts +189 -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 +72 -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 +4 -0
- package/lib/utils/eventbus.d.ts +16 -0
- package/lib/utils/export-table.d.ts +12 -0
- package/lib/utils/file-upload.d.ts +17 -0
- package/lib/utils/form-excel.d.ts +33 -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 +10 -0
- package/lib/utils/page.d.ts +25 -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 +2262 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GridControl } from '../../../index';
|
|
2
|
+
import { AnyData } from '../../../../../502417_fapi';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
search: Record<string, any>;
|
|
6
|
+
gridCtrl: GridControl<AnyData>;
|
|
7
|
+
likeFields?: string[];
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
control?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
20
|
+
"update:search": (val: Record<string, any>) => any;
|
|
21
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:search"?: ((val: Record<string, any>) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
rule?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): 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, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TableProps, TableColumnType } from 'ant-design-vue';
|
|
2
|
+
import { GridControl } from '../../../index';
|
|
3
|
+
import { AnyData } from '../../../../../502417_fapi';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, 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?: TableProps['pagination'];
|
|
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<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -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,176 @@
|
|
|
1
|
+
import { ReqParams, IUrlInfo } from '../../../../../502417_fapi';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
autoload: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor | null)[];
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
searchField: {
|
|
13
|
+
type: (StringConstructor | {
|
|
14
|
+
(arrayLength: number): string[];
|
|
15
|
+
(...items: string[]): string[];
|
|
16
|
+
new (arrayLength: number): string[];
|
|
17
|
+
new (...items: string[]): string[];
|
|
18
|
+
isArray(arg: any): arg is any[];
|
|
19
|
+
readonly prototype: any[];
|
|
20
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
21
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
22
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
23
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
24
|
+
of<T>(...items: T[]): T[];
|
|
25
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
26
|
+
})[];
|
|
27
|
+
};
|
|
28
|
+
onsearch: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
};
|
|
31
|
+
autoClean: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
all: {
|
|
36
|
+
type: PropType<boolean>;
|
|
37
|
+
required: boolean;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
data: {
|
|
41
|
+
type: PropType<Record<string, any>[]>;
|
|
42
|
+
required: boolean;
|
|
43
|
+
};
|
|
44
|
+
fieldMap: {
|
|
45
|
+
type: PropType<Record<string, string>>;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
url: {
|
|
49
|
+
type: PropType<IUrlInfo>;
|
|
50
|
+
required: boolean;
|
|
51
|
+
};
|
|
52
|
+
reload: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
required: boolean;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
params: {
|
|
58
|
+
type: PropType<ReqParams>;
|
|
59
|
+
required: boolean;
|
|
60
|
+
};
|
|
61
|
+
labels: {
|
|
62
|
+
type: PropType<string | number | (string | number)[]>;
|
|
63
|
+
required: boolean;
|
|
64
|
+
};
|
|
65
|
+
formData: {
|
|
66
|
+
type: PropType<Record<string, any>>;
|
|
67
|
+
required: boolean;
|
|
68
|
+
};
|
|
69
|
+
outFields: {
|
|
70
|
+
type: PropType<Record<string, string>>;
|
|
71
|
+
required: boolean;
|
|
72
|
+
};
|
|
73
|
+
reloadEvent: {
|
|
74
|
+
type: PropType<string>;
|
|
75
|
+
required: boolean;
|
|
76
|
+
};
|
|
77
|
+
changeEvent: {
|
|
78
|
+
type: PropType<[string | string[], string]>;
|
|
79
|
+
required: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
82
|
+
change: (...args: any[]) => void;
|
|
83
|
+
select: (...args: any[]) => void;
|
|
84
|
+
"update:value": (...args: any[]) => void;
|
|
85
|
+
"update:labels": (...args: any[]) => void;
|
|
86
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
87
|
+
autoload: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
value: {
|
|
92
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor | null)[];
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
searchField: {
|
|
96
|
+
type: (StringConstructor | {
|
|
97
|
+
(arrayLength: number): string[];
|
|
98
|
+
(...items: string[]): string[];
|
|
99
|
+
new (arrayLength: number): string[];
|
|
100
|
+
new (...items: string[]): string[];
|
|
101
|
+
isArray(arg: any): arg is any[];
|
|
102
|
+
readonly prototype: any[];
|
|
103
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
104
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
105
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
106
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
107
|
+
of<T>(...items: T[]): T[];
|
|
108
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
109
|
+
})[];
|
|
110
|
+
};
|
|
111
|
+
onsearch: {
|
|
112
|
+
type: FunctionConstructor;
|
|
113
|
+
};
|
|
114
|
+
autoClean: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
all: {
|
|
119
|
+
type: PropType<boolean>;
|
|
120
|
+
required: boolean;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
data: {
|
|
124
|
+
type: PropType<Record<string, any>[]>;
|
|
125
|
+
required: boolean;
|
|
126
|
+
};
|
|
127
|
+
fieldMap: {
|
|
128
|
+
type: PropType<Record<string, string>>;
|
|
129
|
+
required: boolean;
|
|
130
|
+
};
|
|
131
|
+
url: {
|
|
132
|
+
type: PropType<IUrlInfo>;
|
|
133
|
+
required: boolean;
|
|
134
|
+
};
|
|
135
|
+
reload: {
|
|
136
|
+
type: PropType<boolean>;
|
|
137
|
+
required: boolean;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
params: {
|
|
141
|
+
type: PropType<ReqParams>;
|
|
142
|
+
required: boolean;
|
|
143
|
+
};
|
|
144
|
+
labels: {
|
|
145
|
+
type: PropType<string | number | (string | number)[]>;
|
|
146
|
+
required: boolean;
|
|
147
|
+
};
|
|
148
|
+
formData: {
|
|
149
|
+
type: PropType<Record<string, any>>;
|
|
150
|
+
required: boolean;
|
|
151
|
+
};
|
|
152
|
+
outFields: {
|
|
153
|
+
type: PropType<Record<string, string>>;
|
|
154
|
+
required: boolean;
|
|
155
|
+
};
|
|
156
|
+
reloadEvent: {
|
|
157
|
+
type: PropType<string>;
|
|
158
|
+
required: boolean;
|
|
159
|
+
};
|
|
160
|
+
changeEvent: {
|
|
161
|
+
type: PropType<[string | string[], string]>;
|
|
162
|
+
required: boolean;
|
|
163
|
+
};
|
|
164
|
+
}>> & Readonly<{
|
|
165
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
166
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
167
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
168
|
+
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
169
|
+
}>, {
|
|
170
|
+
value: string | number | unknown[] | null;
|
|
171
|
+
reload: boolean;
|
|
172
|
+
all: boolean;
|
|
173
|
+
autoload: boolean;
|
|
174
|
+
autoClean: boolean;
|
|
175
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
176
|
+
export default _default;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { IUrlInfo, ReqParams } from '../../../../../502417_fapi';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
autoload: {
|
|
5
|
+
type: PropType<boolean>;
|
|
6
|
+
required: boolean;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
all: {
|
|
10
|
+
type: PropType<boolean>;
|
|
11
|
+
required: boolean;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
data: {
|
|
15
|
+
type: PropType<Record<string, any>[]>;
|
|
16
|
+
required: boolean;
|
|
17
|
+
};
|
|
18
|
+
fieldMap: {
|
|
19
|
+
type: PropType<Record<string, string>>;
|
|
20
|
+
required: boolean;
|
|
21
|
+
};
|
|
22
|
+
url: {
|
|
23
|
+
type: PropType<IUrlInfo>;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
reload: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
required: boolean;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
params: {
|
|
32
|
+
type: PropType<ReqParams>;
|
|
33
|
+
required: boolean;
|
|
34
|
+
};
|
|
35
|
+
labels: {
|
|
36
|
+
type: PropType<string | number | (string | number)[]>;
|
|
37
|
+
required: boolean;
|
|
38
|
+
};
|
|
39
|
+
formData: {
|
|
40
|
+
type: PropType<Record<string, any>>;
|
|
41
|
+
required: boolean;
|
|
42
|
+
};
|
|
43
|
+
outFields: {
|
|
44
|
+
type: PropType<Record<string, string>>;
|
|
45
|
+
required: boolean;
|
|
46
|
+
};
|
|
47
|
+
reloadEvent: {
|
|
48
|
+
type: PropType<string>;
|
|
49
|
+
required: boolean;
|
|
50
|
+
};
|
|
51
|
+
changeEvent: {
|
|
52
|
+
type: PropType<[string | string[], string]>;
|
|
53
|
+
required: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
56
|
+
change: (...args: any[]) => void;
|
|
57
|
+
"update:value": (...args: any[]) => void;
|
|
58
|
+
"update:labels": (...args: any[]) => void;
|
|
59
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
60
|
+
autoload: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
required: boolean;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
all: {
|
|
66
|
+
type: PropType<boolean>;
|
|
67
|
+
required: boolean;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
data: {
|
|
71
|
+
type: PropType<Record<string, any>[]>;
|
|
72
|
+
required: boolean;
|
|
73
|
+
};
|
|
74
|
+
fieldMap: {
|
|
75
|
+
type: PropType<Record<string, string>>;
|
|
76
|
+
required: boolean;
|
|
77
|
+
};
|
|
78
|
+
url: {
|
|
79
|
+
type: PropType<IUrlInfo>;
|
|
80
|
+
required: boolean;
|
|
81
|
+
};
|
|
82
|
+
reload: {
|
|
83
|
+
type: PropType<boolean>;
|
|
84
|
+
required: boolean;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
params: {
|
|
88
|
+
type: PropType<ReqParams>;
|
|
89
|
+
required: boolean;
|
|
90
|
+
};
|
|
91
|
+
labels: {
|
|
92
|
+
type: PropType<string | number | (string | number)[]>;
|
|
93
|
+
required: boolean;
|
|
94
|
+
};
|
|
95
|
+
formData: {
|
|
96
|
+
type: PropType<Record<string, any>>;
|
|
97
|
+
required: boolean;
|
|
98
|
+
};
|
|
99
|
+
outFields: {
|
|
100
|
+
type: PropType<Record<string, string>>;
|
|
101
|
+
required: boolean;
|
|
102
|
+
};
|
|
103
|
+
reloadEvent: {
|
|
104
|
+
type: PropType<string>;
|
|
105
|
+
required: boolean;
|
|
106
|
+
};
|
|
107
|
+
changeEvent: {
|
|
108
|
+
type: PropType<[string | string[], string]>;
|
|
109
|
+
required: boolean;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{
|
|
112
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
}>, {
|
|
116
|
+
reload: boolean;
|
|
117
|
+
all: boolean;
|
|
118
|
+
autoload: boolean;
|
|
119
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
export default _default;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { IUrlInfo, ReqParams } from '../../../../../502417_fapi';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
nodata: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
wrap: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
};
|
|
11
|
+
disabledItems: {
|
|
12
|
+
type: () => string[];
|
|
13
|
+
};
|
|
14
|
+
autoload: {
|
|
15
|
+
type: PropType<boolean>;
|
|
16
|
+
required: boolean;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
all: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
required: boolean;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
data: {
|
|
25
|
+
type: PropType<Record<string, any>[]>;
|
|
26
|
+
required: boolean;
|
|
27
|
+
};
|
|
28
|
+
fieldMap: {
|
|
29
|
+
type: PropType<Record<string, string>>;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
url: {
|
|
33
|
+
type: PropType<IUrlInfo>;
|
|
34
|
+
required: boolean;
|
|
35
|
+
};
|
|
36
|
+
reload: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
required: boolean;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
params: {
|
|
42
|
+
type: PropType<ReqParams>;
|
|
43
|
+
required: boolean;
|
|
44
|
+
};
|
|
45
|
+
labels: {
|
|
46
|
+
type: PropType<string | number | (string | number)[]>;
|
|
47
|
+
required: boolean;
|
|
48
|
+
};
|
|
49
|
+
formData: {
|
|
50
|
+
type: PropType<Record<string, any>>;
|
|
51
|
+
required: boolean;
|
|
52
|
+
};
|
|
53
|
+
outFields: {
|
|
54
|
+
type: PropType<Record<string, string>>;
|
|
55
|
+
required: boolean;
|
|
56
|
+
};
|
|
57
|
+
reloadEvent: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
required: boolean;
|
|
60
|
+
};
|
|
61
|
+
changeEvent: {
|
|
62
|
+
type: PropType<[string | string[], string]>;
|
|
63
|
+
required: boolean;
|
|
64
|
+
};
|
|
65
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
66
|
+
change: (...args: any[]) => void;
|
|
67
|
+
"update:labels": (...args: any[]) => void;
|
|
68
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
69
|
+
nodata: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
wrap: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
};
|
|
76
|
+
disabledItems: {
|
|
77
|
+
type: () => string[];
|
|
78
|
+
};
|
|
79
|
+
autoload: {
|
|
80
|
+
type: PropType<boolean>;
|
|
81
|
+
required: boolean;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
all: {
|
|
85
|
+
type: PropType<boolean>;
|
|
86
|
+
required: boolean;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
data: {
|
|
90
|
+
type: PropType<Record<string, any>[]>;
|
|
91
|
+
required: boolean;
|
|
92
|
+
};
|
|
93
|
+
fieldMap: {
|
|
94
|
+
type: PropType<Record<string, string>>;
|
|
95
|
+
required: boolean;
|
|
96
|
+
};
|
|
97
|
+
url: {
|
|
98
|
+
type: PropType<IUrlInfo>;
|
|
99
|
+
required: boolean;
|
|
100
|
+
};
|
|
101
|
+
reload: {
|
|
102
|
+
type: PropType<boolean>;
|
|
103
|
+
required: boolean;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
params: {
|
|
107
|
+
type: PropType<ReqParams>;
|
|
108
|
+
required: boolean;
|
|
109
|
+
};
|
|
110
|
+
labels: {
|
|
111
|
+
type: PropType<string | number | (string | number)[]>;
|
|
112
|
+
required: boolean;
|
|
113
|
+
};
|
|
114
|
+
formData: {
|
|
115
|
+
type: PropType<Record<string, any>>;
|
|
116
|
+
required: boolean;
|
|
117
|
+
};
|
|
118
|
+
outFields: {
|
|
119
|
+
type: PropType<Record<string, string>>;
|
|
120
|
+
required: boolean;
|
|
121
|
+
};
|
|
122
|
+
reloadEvent: {
|
|
123
|
+
type: PropType<string>;
|
|
124
|
+
required: boolean;
|
|
125
|
+
};
|
|
126
|
+
changeEvent: {
|
|
127
|
+
type: PropType<[string | string[], string]>;
|
|
128
|
+
required: boolean;
|
|
129
|
+
};
|
|
130
|
+
}>> & Readonly<{
|
|
131
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
}>, {
|
|
134
|
+
reload: boolean;
|
|
135
|
+
all: boolean;
|
|
136
|
+
autoload: boolean;
|
|
137
|
+
nodata: string;
|
|
138
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
139
|
+
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,39 @@
|
|
|
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 Transfer } from './transfer/index.vue';
|
|
17
|
+
import { default as TransferTable } from './transfer/transferTable.vue';
|
|
18
|
+
import { default as TreeSelect } from './treeSelect/index.vue';
|
|
19
|
+
import { default as UploadList } from './upload/uploadList.vue';
|
|
20
|
+
export { AutoComplete };
|
|
21
|
+
export { Cascader };
|
|
22
|
+
export { Checkbox };
|
|
23
|
+
export { DatePicker };
|
|
24
|
+
export { Input };
|
|
25
|
+
export { InputIcon };
|
|
26
|
+
export { InputPassword };
|
|
27
|
+
export { InputNumber };
|
|
28
|
+
export type { PropConfigItem } from './propEditor/index.vue';
|
|
29
|
+
export { PropEditor };
|
|
30
|
+
export { Radio };
|
|
31
|
+
export { RadioStatus };
|
|
32
|
+
export { RangePicker };
|
|
33
|
+
export { Select };
|
|
34
|
+
export { Switch };
|
|
35
|
+
export { Textarea };
|
|
36
|
+
export { Transfer };
|
|
37
|
+
export { TransferTable };
|
|
38
|
+
export { TreeSelect };
|
|
39
|
+
export { UploadList };
|