@airpower/web 0.2.19 → 0.2.20
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/components/button/Button.vue.d.ts +2 -2
- package/dist/components/dialog/Dialog.vue.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +0 -2
- package/dist/components/form/FormField.vue.d.ts +9 -9
- package/dist/components/frame/Frame.vue.d.ts +2 -2
- package/dist/components/image/Image.vue.d.ts +18 -18
- package/dist/components/input/Input.vue.d.ts +9 -9
- package/dist/components/menu/ChildMenu.vue.d.ts +1 -1
- package/dist/components/menu/index.d.ts +0 -1
- package/dist/components/money/Money.vue.d.ts +2 -2
- package/dist/components/page/Page.vue.d.ts +3 -2
- package/dist/components/panel/Panel.vue.d.ts +1 -1
- package/dist/components/payload/Payload.vue.d.ts +2 -2
- package/dist/components/payload/index.d.ts +1 -1
- package/dist/components/select/Select.vue.d.ts +3 -3
- package/dist/components/select/Selector.vue.d.ts +6 -2
- package/dist/components/table/Table.vue.d.ts +16 -10
- package/dist/components/table/component/ColumnSelector.vue.d.ts +2 -2
- package/dist/components/table/component/CopyColumn.vue.d.ts +2 -2
- package/dist/components/table/component/EnumColumn.vue.d.ts +3 -3
- package/dist/components/table/component/Export.vue.d.ts +6 -6
- package/dist/components/table/useTableButton.d.ts +1 -1
- package/dist/components/table/useTableColumn.d.ts +3 -2
- package/dist/components/table/useTableSelect.d.ts +1 -1
- package/dist/components/tree/TreeBox.vue.d.ts +5 -5
- package/dist/components/upload/IUploadProps.d.ts +2 -2
- package/dist/components/upload/Upload.vue.d.ts +8 -8
- package/dist/config/WebConfig.d.ts +4 -0
- package/dist/config/WebConstant.d.ts +15 -0
- package/dist/{curd/decorator → decorator}/@Field/Field.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Field/IFieldConfig.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Form/Form.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Form/IFormField.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Search/ISearchField.d.ts +1 -1
- package/dist/{curd/decorator → decorator}/@Search/Search.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Table/ITableColumn.d.ts +1 -1
- package/dist/{curd/decorator → decorator}/@Table/Table.d.ts +2 -2
- package/dist/{components/dialog → dialog}/DialogProps.d.ts +1 -1
- package/dist/{components/dialog → dialog}/DialogUtil.d.ts +4 -4
- package/dist/{curd/hooks → hooks}/detail/IDetailOption.d.ts +1 -1
- package/dist/{curd/hooks → hooks}/detail/IDetailResult.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/detail/useDetail.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/editor/IEditorOption.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/editor/IEditorResult.d.ts +4 -4
- package/dist/{curd/hooks → hooks}/editor/useEditor.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/base/IBaseTableOption.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/table/base/IBaseTableResult.d.ts +6 -3
- package/dist/{curd/hooks → hooks}/table/base/useBaseTable.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/list/ITableOption.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/table/list/ITableResult.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/list/useTable.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/selector/ISelectorOption.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/table/selector/ISelectorResult.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/selector/useSelector.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/tree/ITableTreeOption.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/tree/ITableTreeResult.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/tree/useTableTree.d.ts +4 -3
- package/dist/{util/http → http}/Http.d.ts +3 -9
- package/dist/{util/http → http}/type.d.ts +2 -1
- package/dist/index.d.ts +0 -6
- package/dist/{components/menu → interface}/IMenu.d.ts +1 -1
- package/dist/{curd/model/tree → interface}/ITree.d.ts +1 -1
- package/dist/main.js +0 -12069
- package/dist/{base → model}/RootEntity.d.ts +1 -1
- package/dist/{curd/model → model}/export/ExportModel.d.ts +1 -1
- package/dist/{curd/model → model}/query/QueryRequest.d.ts +1 -1
- package/dist/{curd/model → model}/query/QueryRequestPage.d.ts +1 -1
- package/dist/{curd/model → model}/query/QueryResponsePage.d.ts +1 -1
- package/dist/{util/permission → permission}/PermissionUtil.d.ts +1 -5
- package/dist/{util/router → router}/RouterUtil.d.ts +1 -1
- package/dist/{curd → service}/AbstractCurdService.d.ts +5 -3
- package/dist/{base → service}/AbstractService.d.ts +1 -1
- package/dist/{curd → service}/type.d.ts +1 -1
- package/dist/tests/App.vue.d.ts +2 -0
- package/dist/tests/main.d.ts +1 -0
- package/dist/{util/validator → validator}/WebValidator.d.ts +2 -2
- package/dist/{util/validator → validator}/type.d.ts +1 -1
- package/dist/web.css +1 -1091
- package/package.json +1 -1
- package/dist/base/index.d.ts +0 -4
- package/dist/config/index.d.ts +0 -1
- package/dist/curd/decorator/@Field/index.d.ts +0 -3
- package/dist/curd/decorator/@Form/index.d.ts +0 -3
- package/dist/curd/decorator/@Model/index.d.ts +0 -2
- package/dist/curd/decorator/@Search/index.d.ts +0 -2
- package/dist/curd/decorator/@Table/index.d.ts +0 -4
- package/dist/curd/decorator/common/index.d.ts +0 -1
- package/dist/curd/decorator/index.d.ts +0 -6
- package/dist/curd/hooks/detail/index.d.ts +0 -3
- package/dist/curd/hooks/editor/index.d.ts +0 -3
- package/dist/curd/hooks/index.d.ts +0 -3
- package/dist/curd/hooks/table/base/index.d.ts +0 -3
- package/dist/curd/hooks/table/index.d.ts +0 -4
- package/dist/curd/hooks/table/list/index.d.ts +0 -3
- package/dist/curd/hooks/table/selector/index.d.ts +0 -3
- package/dist/curd/hooks/table/tree/index.d.ts +0 -3
- package/dist/curd/index.d.ts +0 -5
- package/dist/curd/model/export/index.d.ts +0 -1
- package/dist/curd/model/index.d.ts +0 -3
- package/dist/curd/model/query/index.d.ts +0 -6
- package/dist/curd/model/tree/index.d.ts +0 -1
- package/dist/util/enum/index.d.ts +0 -5
- package/dist/util/feedback/index.d.ts +0 -2
- package/dist/util/file/index.d.ts +0 -2
- package/dist/util/http/enum/index.d.ts +0 -4
- package/dist/util/http/index.d.ts +0 -4
- package/dist/util/i18n/index.d.ts +0 -1
- package/dist/util/index.d.ts +0 -8
- package/dist/util/permission/index.d.ts +0 -2
- package/dist/util/router/index.d.ts +0 -1
- package/dist/util/validator/index.d.ts +0 -2
- /package/dist/{curd/decorator → decorator}/@Field/type.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Form/FormTrim.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Model/IModelConfig.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Model/Model.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Table/IElementTableColumn.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Table/TableType.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/common/IBaseField.d.ts +0 -0
- /package/dist/{util/enum → enum}/DisableEnum.d.ts +0 -0
- /package/dist/{util/enum → enum}/IWebEnum.d.ts +0 -0
- /package/dist/{util/enum → enum}/WebColor.d.ts +0 -0
- /package/dist/{util/enum → enum}/WebEnum.d.ts +0 -0
- /package/dist/{util/enum → enum}/type.d.ts +0 -0
- /package/dist/{util/feedback → feedback}/FeedbackUtil.d.ts +0 -0
- /package/dist/{util/feedback → feedback}/type.d.ts +0 -0
- /package/dist/{util/file → file}/WebFileUtil.d.ts +0 -0
- /package/dist/{util/http → http}/HttpResponse.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpContentType.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpHeader.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpMethod.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpStatus.d.ts +0 -0
- /package/dist/{util/i18n → i18n}/WebI18n.d.ts +0 -0
- /package/dist/{base → interface}/IEntity.d.ts +0 -0
- /package/dist/{util/file → interface}/IFile.d.ts +0 -0
- /package/dist/{components/payload → interface}/IPayload.d.ts +0 -0
- /package/dist/{base → model}/RootModel.d.ts +0 -0
- /package/dist/{curd/model → model}/query/QueryPage.d.ts +0 -0
- /package/dist/{curd/model → model}/query/QuerySort.d.ts +0 -0
- /package/dist/{curd/model → model}/query/type.d.ts +0 -0
- /package/dist/{util/permission → permission}/PermissionAction.d.ts +0 -0
|
@@ -98,12 +98,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
98
98
|
default: string;
|
|
99
99
|
};
|
|
100
100
|
}>> & Readonly<{}>, {
|
|
101
|
-
warning: boolean;
|
|
102
|
-
icon: ButtonIcon;
|
|
103
101
|
permission: string;
|
|
104
102
|
primary: boolean;
|
|
105
103
|
danger: boolean;
|
|
104
|
+
warning: boolean;
|
|
106
105
|
disabled: boolean;
|
|
106
|
+
icon: ButtonIcon;
|
|
107
107
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
108
108
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
109
109
|
export default _default;
|
|
@@ -313,12 +313,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
313
313
|
onCancel?: (() => any) | undefined;
|
|
314
314
|
onFullscreenChange?: ((isFullScreen: boolean) => any) | undefined;
|
|
315
315
|
}>, {
|
|
316
|
+
width: string;
|
|
317
|
+
minWidth: string;
|
|
316
318
|
loading: boolean;
|
|
317
319
|
confirmText: string;
|
|
318
320
|
cancelText: string;
|
|
319
|
-
width: string;
|
|
320
321
|
height: string;
|
|
321
|
-
minWidth: string;
|
|
322
322
|
minHeight: string;
|
|
323
323
|
hideButtons: boolean;
|
|
324
324
|
hideFooter: boolean;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { IEnum } from '@airpower/enum';
|
|
2
2
|
import { ITransformerConstructor } from '@airpower/transformer';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { ITree } from '../../interface/ITree';
|
|
5
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
6
6
|
declare const _default: <E extends RootEntity>(__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<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
8
8
|
disabled: boolean;
|
|
9
|
-
list: IEnum<number>[];
|
|
10
9
|
entity: ITransformerConstructor<E>;
|
|
11
|
-
tree: ITree[];
|
|
12
10
|
modelValue: [{
|
|
13
11
|
type: PropType<E>;
|
|
14
12
|
default: null;
|
|
@@ -18,10 +16,12 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
|
|
|
18
16
|
};
|
|
19
17
|
readonly: boolean;
|
|
20
18
|
disabledValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
19
|
+
list: IEnum<number>[];
|
|
20
|
+
tree: ITree[];
|
|
21
21
|
}> & Omit<{
|
|
22
22
|
readonly disabled: boolean;
|
|
23
|
-
readonly field: string;
|
|
24
23
|
readonly entity: ITransformerConstructor<E>;
|
|
24
|
+
readonly field: string;
|
|
25
25
|
readonly modelValue: [{
|
|
26
26
|
type: PropType<E>;
|
|
27
27
|
default: null;
|
|
@@ -30,21 +30,21 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
|
|
|
30
30
|
default: null;
|
|
31
31
|
};
|
|
32
32
|
readonly readonly: boolean;
|
|
33
|
+
readonly disabledValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
33
34
|
readonly list?: IEnum<number>[] | undefined;
|
|
34
35
|
readonly tree?: ITree[] | undefined;
|
|
35
|
-
readonly disabledValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
36
36
|
readonly onClear?: (() => any) | undefined;
|
|
37
|
+
readonly onBlur?: (() => any) | undefined;
|
|
37
38
|
readonly onChange?: ((value: E) => any) | undefined;
|
|
38
39
|
readonly "onUpdate:modelValue"?: ((value: E) => any) | undefined;
|
|
39
|
-
readonly onBlur?: (() => any) | undefined;
|
|
40
40
|
readonly onFocus?: (() => any) | undefined;
|
|
41
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "
|
|
41
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "entity" | "modelValue" | "readonly" | "disabledValue" | "list" | "tree">, "onFocus" | "onBlur" | "onChange" | "field" | "onClear" | "onUpdate:modelValue" | ("disabled" | "entity" | "modelValue" | "readonly" | "disabledValue" | "list" | "tree")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
42
42
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
43
43
|
attrs: any;
|
|
44
44
|
slots: {
|
|
45
45
|
default?(_: {}): any;
|
|
46
46
|
};
|
|
47
|
-
emit: ((evt: "clear") => void) & ((evt: "
|
|
47
|
+
emit: ((evt: "clear") => void) & ((evt: "blur") => void) & ((evt: "change", value: E) => void) & ((evt: "update:modelValue", value: E) => void) & ((evt: "focus") => void);
|
|
48
48
|
}>) => import('vue').VNode & {
|
|
49
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
50
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IMenu } from '../../interface/IMenu';
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
3
|
declare const _default: <T extends IMenu & RootEntity>(__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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
5
|
menuList: T[];
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { IJson, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { IFile } from '../../interface/IFile';
|
|
3
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
4
4
|
declare const _default: <F extends IFile & RootEntity>(__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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
6
|
-
data: IJson<any>;
|
|
7
6
|
width: number;
|
|
8
|
-
|
|
7
|
+
data: IJson<any>;
|
|
9
8
|
placeholder: string;
|
|
10
9
|
clearable: boolean;
|
|
11
|
-
|
|
12
|
-
extensions: unknown[];
|
|
10
|
+
height: number;
|
|
13
11
|
entity: ITransformerConstructor<F>;
|
|
14
|
-
headers: IJson<any>;
|
|
15
|
-
limit: number;
|
|
16
|
-
upload: boolean;
|
|
17
12
|
src: string;
|
|
13
|
+
upload: boolean;
|
|
14
|
+
headers: IJson<any>;
|
|
18
15
|
showTips: boolean;
|
|
16
|
+
limit: number;
|
|
17
|
+
extensions: unknown[];
|
|
18
|
+
uploadUrl: string;
|
|
19
19
|
uploadFileName: string;
|
|
20
20
|
}> & Omit<{
|
|
21
|
-
readonly data: IJson<any>;
|
|
22
21
|
readonly width: number;
|
|
23
|
-
readonly
|
|
22
|
+
readonly data: IJson<any>;
|
|
24
23
|
readonly clearable: boolean;
|
|
25
|
-
readonly
|
|
26
|
-
readonly extensions: unknown[];
|
|
27
|
-
readonly headers: IJson<any>;
|
|
28
|
-
readonly limit: number;
|
|
24
|
+
readonly height: number;
|
|
29
25
|
readonly upload: boolean;
|
|
26
|
+
readonly headers: IJson<any>;
|
|
30
27
|
readonly showTips: boolean;
|
|
28
|
+
readonly limit: number;
|
|
29
|
+
readonly extensions: unknown[];
|
|
30
|
+
readonly uploadUrl: string;
|
|
31
31
|
readonly uploadFileName: string;
|
|
32
32
|
readonly placeholder?: string | undefined;
|
|
33
33
|
readonly entity?: ITransformerConstructor<F> | undefined;
|
|
34
34
|
readonly src?: string | undefined;
|
|
35
|
-
readonly onOnRemove?: (() => any) | undefined;
|
|
36
35
|
readonly onOnUpload?: ((file: F) => any) | undefined;
|
|
37
|
-
|
|
36
|
+
readonly onOnRemove?: (() => any) | undefined;
|
|
37
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "data" | "placeholder" | "clearable" | "height" | "entity" | "src" | "upload" | "headers" | "showTips" | "limit" | "extensions" | "uploadUrl" | "uploadFileName">, "onOnUpload" | "onOnRemove" | ("width" | "data" | "placeholder" | "clearable" | "height" | "entity" | "src" | "upload" | "headers" | "showTips" | "limit" | "extensions" | "uploadUrl" | "uploadFileName")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
38
38
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
39
39
|
attrs: any;
|
|
40
40
|
slots: {};
|
|
41
|
-
emit: ((evt: "
|
|
41
|
+
emit: ((evt: "onUpload", file: F) => void) & ((evt: "onRemove") => void);
|
|
42
42
|
}>) => import('vue').VNode & {
|
|
43
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
44
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { IEnum } from '@airpower/enum';
|
|
2
2
|
import { ITransformerConstructor } from '@airpower/transformer';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ITree } from '../../interface/ITree';
|
|
4
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
5
5
|
declare const _default: <E extends RootEntity, T extends ITree, EM extends IEnum>(__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<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
placeholder: string;
|
|
9
9
|
dateShowFormatter: string;
|
|
10
|
-
list: EM[];
|
|
11
10
|
entity: ITransformerConstructor<E>;
|
|
12
|
-
tree: T[];
|
|
13
11
|
modelValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
14
12
|
readonly: boolean;
|
|
15
13
|
disabledValue: string | number | boolean | unknown[] | Record<string, any>;
|
|
14
|
+
list: EM[];
|
|
15
|
+
tree: T[];
|
|
16
16
|
modelModifiers: Record<string, any>;
|
|
17
17
|
modifier: string;
|
|
18
18
|
showClear: boolean;
|
|
@@ -25,22 +25,22 @@ declare const _default: <E extends RootEntity, T extends ITree, EM extends IEnum
|
|
|
25
25
|
readonly showClear: boolean;
|
|
26
26
|
readonly onSearch: Function;
|
|
27
27
|
readonly dateShowFormatter?: string | undefined;
|
|
28
|
-
readonly list?: EM[] | undefined;
|
|
29
28
|
readonly entity?: ITransformerConstructor<E> | undefined;
|
|
30
|
-
readonly tree?: T[] | undefined;
|
|
31
29
|
readonly modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
32
30
|
readonly disabledValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
|
|
31
|
+
readonly list?: EM[] | undefined;
|
|
32
|
+
readonly tree?: T[] | undefined;
|
|
33
33
|
readonly modifier?: string | undefined;
|
|
34
34
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
readonly onBlur?: ((...args: any[]) => any) | undefined;
|
|
35
36
|
readonly onChange?: ((...args: any[]) => any) | undefined;
|
|
36
37
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
readonly onBlur?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "placeholder" | "dateShowFormatter" | "
|
|
39
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "list" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch">, "onFocus" | "onBlur" | "onChange" | "onClear" | "onUpdate:modelValue" | ("disabled" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "list" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
40
40
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
41
41
|
attrs: any;
|
|
42
42
|
slots: Partial<Record<NonNullable<string | number | symbol>, (_: {}) => any>>;
|
|
43
|
-
emit: (event: "clear" | "
|
|
43
|
+
emit: (event: "clear" | "blur" | "change" | "update:modelValue" | "focus", ...args: any[]) => void;
|
|
44
44
|
}>) => import('vue').VNode & {
|
|
45
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
46
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RootEntity } from '../../base';
|
|
2
|
-
import { IMenu } from '
|
|
2
|
+
import { IMenu } from '../../interface/IMenu';
|
|
3
3
|
declare const _default: <T extends IMenu & RootEntity>(__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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly menuList: T[];
|
|
@@ -63,9 +63,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
63
|
default: MoneyDirection;
|
|
64
64
|
};
|
|
65
65
|
}>> & Readonly<{}>, {
|
|
66
|
-
precision: number;
|
|
67
66
|
money: number;
|
|
68
|
-
|
|
67
|
+
precision: number;
|
|
69
68
|
prefix: string;
|
|
69
|
+
direction: MoneyDirection;
|
|
70
70
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
71
71
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RootEntity } from '../../
|
|
2
|
-
import { QueryPage
|
|
1
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
2
|
+
import { QueryPage } from '../../model/query/QueryPage';
|
|
3
|
+
import { QueryResponsePage } from '../../model/query/QueryResponsePage';
|
|
3
4
|
declare const _default: <E extends RootEntity>(__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
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
6
|
readonly response: QueryResponsePage<E>;
|
|
@@ -102,9 +102,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
102
102
|
}>> & Readonly<{}>, {
|
|
103
103
|
hideIcon: boolean;
|
|
104
104
|
hideFooter: boolean;
|
|
105
|
-
allowFullscreen: boolean;
|
|
106
105
|
description: string;
|
|
107
106
|
showTitle: boolean;
|
|
107
|
+
allowFullscreen: boolean;
|
|
108
108
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
109
109
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
110
110
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { IPayload } from '../../interface/IPayload';
|
|
3
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
/**
|
|
6
6
|
* # 负载对象
|
|
@@ -2,8 +2,8 @@ import { Component, PropType } from 'vue';
|
|
|
2
2
|
import { IPayload } from '../payload';
|
|
3
3
|
declare const _default: <T extends IPayload>(__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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
|
-
default: string;
|
|
6
5
|
disabled: boolean;
|
|
6
|
+
default: string;
|
|
7
7
|
param: [{
|
|
8
8
|
type: PropType<T>;
|
|
9
9
|
default: () => null;
|
|
@@ -15,8 +15,8 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
|
|
|
15
15
|
selectLabel: string;
|
|
16
16
|
clearLabel: string;
|
|
17
17
|
}> & Omit<{
|
|
18
|
-
readonly default: string;
|
|
19
18
|
readonly disabled: boolean;
|
|
19
|
+
readonly default: string;
|
|
20
20
|
readonly param: [{
|
|
21
21
|
type: PropType<T>;
|
|
22
22
|
default: () => null;
|
|
@@ -31,7 +31,7 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
|
|
|
31
31
|
readonly onClear?: (() => any) | undefined;
|
|
32
32
|
readonly onChange?: ((data: T | undefined) => any) | undefined;
|
|
33
33
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
34
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
34
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel">, "onChange" | "onClear" | "onUpdate:modelValue" | "selector" | ("disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel")> & {
|
|
35
35
|
modelValue?: T;
|
|
36
36
|
} & Partial<{}>> & import('vue').PublicProps;
|
|
37
37
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ITransformerConstructor } from '@airpower/transformer';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ISearchField } from '../../decorator/@Search/ISearchField';
|
|
4
|
+
import { ITableColumn } from '../../decorator/@Table/ITableColumn';
|
|
5
|
+
import { QueryRequestPage } from '../../model/query/QueryRequestPage';
|
|
6
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
7
|
+
import { AbstractCurdService } from '../../service/AbstractCurdService';
|
|
8
|
+
import { CurdServiceConstructor } from '../../service/type';
|
|
5
9
|
declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>(__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<{
|
|
6
10
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
7
11
|
/**
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { ITransformerConstructor } from '@airpower/transformer';
|
|
2
2
|
import { PropType, Ref } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { IFile } from '../../
|
|
3
|
+
import { ISearchField } from '../../decorator/@Search/ISearchField';
|
|
4
|
+
import { ITableColumn } from '../../decorator/@Table/ITableColumn';
|
|
5
|
+
import { IFile } from '../../interface/IFile';
|
|
6
|
+
import { QueryRequest } from '../../model/query/QueryRequest';
|
|
7
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
8
|
+
import { AbstractCurdService } from '../../service/AbstractCurdService';
|
|
9
|
+
import { CurdServiceConstructor } from '../../service/type';
|
|
10
|
+
import { QueryRequestPage } from '../../model/query/QueryRequestPage';
|
|
11
|
+
import { QuerySort } from '../../model/query/QuerySort';
|
|
6
12
|
declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>(__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<{
|
|
7
13
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
14
|
+
autoHeight: boolean;
|
|
8
15
|
selectList: E[];
|
|
9
16
|
emptyText: string;
|
|
10
|
-
autoHeight: boolean;
|
|
11
17
|
addPermission: string;
|
|
12
18
|
searchParams: ISearchField[];
|
|
13
19
|
hideAdd: boolean;
|
|
@@ -56,9 +62,9 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
|
|
|
56
62
|
importTemplateUrl: string;
|
|
57
63
|
fileEntity: ITransformerConstructor<IFile & RootEntity>;
|
|
58
64
|
}> & Omit<{
|
|
59
|
-
readonly selectList: E[];
|
|
60
65
|
readonly entity: ITransformerConstructor<E>;
|
|
61
66
|
readonly autoHeight: boolean;
|
|
67
|
+
readonly selectList: E[];
|
|
62
68
|
readonly dataList: E[];
|
|
63
69
|
readonly columnList: ITableColumn[];
|
|
64
70
|
readonly hideEdit: boolean;
|
|
@@ -109,17 +115,17 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
|
|
|
109
115
|
readonly importUrl?: string | undefined;
|
|
110
116
|
readonly importTemplateUrl?: string | undefined;
|
|
111
117
|
readonly fileEntity?: ITransformerConstructor<IFile & RootEntity> | undefined;
|
|
112
|
-
readonly onDelete?: ((row: E) => any) | undefined;
|
|
113
118
|
readonly onAdd?: (() => any) | undefined;
|
|
114
|
-
readonly
|
|
115
|
-
readonly onEnable?: ((row: E) => any) | undefined;
|
|
119
|
+
readonly onDelete?: ((row: E) => any) | undefined;
|
|
116
120
|
readonly onDisable?: ((row: E) => any) | undefined;
|
|
121
|
+
readonly onEnable?: ((row: E) => any) | undefined;
|
|
122
|
+
readonly onSearch?: ((request: QueryRequestPage<E>) => any) | undefined;
|
|
117
123
|
readonly onDetail?: ((row: E) => any) | undefined;
|
|
118
124
|
readonly onEdit?: ((row: E) => any) | undefined;
|
|
119
125
|
readonly onSelectChanged?: ((list: E[]) => any) | undefined;
|
|
120
126
|
readonly onAddRow?: ((row: E) => any) | undefined;
|
|
121
127
|
readonly onSortChanged?: ((sort?: QuerySort | undefined) => any) | undefined;
|
|
122
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
128
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "autoHeight" | "selectList" | "emptyText" | "addPermission" | "searchParams" | "hideAdd" | "editPermission" | "disablePermission" | "enablePermission" | "detailPermission" | "deletePermission" | "addRowPermission" | "exportPermission" | "importPermission" | "columnList" | "hideEdit" | "disableEdit" | "disableAddRow" | "disableChangeStatus" | "disableDetail" | "disableDelete" | "disableRow" | "hideDelete" | "selectable" | "showSelect" | "showEnableAndDisable" | "hideIndex" | "fieldCacheKey" | "hideColumnSelector" | "ctrlWidth" | "hideCtrl" | "showDetail" | "showAddRow" | "customDelete" | "deleteTitle" | "deleteContent" | "showImport" | "importTitle" | "exportParam" | "showExport" | "defaultFilter" | "importUrl" | "importTemplateUrl" | "fileEntity">, "entity" | "onSearch" | "service" | "dataList" | "onAdd" | "onDelete" | "onDisable" | "onEnable" | "onDetail" | "onEdit" | "onSelectChanged" | "onAddRow" | "onSortChanged" | ("autoHeight" | "selectList" | "emptyText" | "addPermission" | "searchParams" | "hideAdd" | "editPermission" | "disablePermission" | "enablePermission" | "detailPermission" | "deletePermission" | "addRowPermission" | "exportPermission" | "importPermission" | "columnList" | "hideEdit" | "disableEdit" | "disableAddRow" | "disableChangeStatus" | "disableDetail" | "disableDelete" | "disableRow" | "hideDelete" | "selectable" | "showSelect" | "showEnableAndDisable" | "hideIndex" | "fieldCacheKey" | "hideColumnSelector" | "ctrlWidth" | "hideCtrl" | "showDetail" | "showAddRow" | "customDelete" | "deleteTitle" | "deleteContent" | "showImport" | "importTitle" | "exportParam" | "showExport" | "defaultFilter" | "importUrl" | "importTemplateUrl" | "fileEntity")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
123
129
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
124
130
|
resetSearch: () => void;
|
|
125
131
|
search: () => void;
|
|
@@ -145,7 +151,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
|
|
|
145
151
|
index: number;
|
|
146
152
|
}): any;
|
|
147
153
|
};
|
|
148
|
-
emit: ((evt: "
|
|
154
|
+
emit: ((evt: "add") => void) & ((evt: "delete", row: E) => void) & ((evt: "disable", row: E) => void) & ((evt: "enable", row: E) => void) & ((evt: "search", request: QueryRequestPage<E>) => void) & ((evt: "detail", row: E) => void) & ((evt: "edit", row: E) => void) & ((evt: "selectChanged", list: E[]) => void) & ((evt: "addRow", row: E) => void) & ((evt: "sortChanged", sort?: QuerySort | undefined) => void);
|
|
149
155
|
}>) => import('vue').VNode & {
|
|
150
156
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
151
157
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ITableColumn } from '../../../decorator/@Table/ITableColumn';
|
|
3
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
4
4
|
declare const _default: <E extends RootEntity>(__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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly onChanged?: ((args_0: string[]) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ITableColumn } from '../../../decorator/@Table/ITableColumn';
|
|
2
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
3
3
|
declare const _default: <E extends RootEntity>(__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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
5
5
|
column: ITableColumn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ITableColumn } from '../../../decorator/@Table/ITableColumn';
|
|
2
|
+
import { WebEnumConstructor } from '../../../enum/type';
|
|
3
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
4
4
|
declare const _default: <E extends RootEntity>(__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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
6
6
|
column: ITableColumn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExportModel } from '../../../
|
|
1
|
+
import { ExportModel } from '../../../model/export/ExportModel';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
onConfirm: {
|
|
4
4
|
type: import('vue').PropType<(data?: unknown) => void>;
|
|
@@ -14,8 +14,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
} & {
|
|
16
16
|
param: {
|
|
17
|
-
type: import('vue').PropType<ExportModel<import('
|
|
18
|
-
default: ExportModel<import('
|
|
17
|
+
type: import('vue').PropType<ExportModel<import('../../../model/query/QueryRequest').QueryRequest<import('../../../model/RootEntity').RootEntity>>>;
|
|
18
|
+
default: ExportModel<import('../../../model/query/QueryRequest').QueryRequest<import('../../../model/RootEntity').RootEntity>> | null;
|
|
19
19
|
};
|
|
20
20
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
onConfirm: {
|
|
@@ -32,11 +32,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
32
32
|
};
|
|
33
33
|
} & {
|
|
34
34
|
param: {
|
|
35
|
-
type: import('vue').PropType<ExportModel<import('
|
|
36
|
-
default: ExportModel<import('
|
|
35
|
+
type: import('vue').PropType<ExportModel<import('../../../model/query/QueryRequest').QueryRequest<import('../../../model/RootEntity').RootEntity>>>;
|
|
36
|
+
default: ExportModel<import('../../../model/query/QueryRequest').QueryRequest<import('../../../model/RootEntity').RootEntity>> | null;
|
|
37
37
|
};
|
|
38
38
|
}>> & Readonly<{}>, {
|
|
39
|
-
param: ExportModel<import('
|
|
39
|
+
param: ExportModel<import('../../../model/query/QueryRequest').QueryRequest<import('../../../model/RootEntity').RootEntity>>;
|
|
40
40
|
onConfirm: (data?: unknown) => void;
|
|
41
41
|
onCancel: () => void;
|
|
42
42
|
onCallback: () => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ITransformerConstructor } from '@airpower/transformer';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { IModelConfig } from '../../decorator/@Model/IModelConfig';
|
|
4
|
+
import { ITableColumn } from '../../decorator/@Table/ITableColumn';
|
|
5
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
5
6
|
/**
|
|
6
7
|
* # 表格字段
|
|
7
8
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ITree } from '../../interface/ITree';
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
3
|
declare const _default: <T extends ITree & RootEntity>(__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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
|
+
width: number;
|
|
5
6
|
title: string;
|
|
6
7
|
hideIcon: boolean;
|
|
7
|
-
width: number;
|
|
8
8
|
placeholder: string;
|
|
9
9
|
collapse: boolean;
|
|
10
10
|
defaultExpandAll: boolean;
|
|
@@ -13,9 +13,9 @@ declare const _default: <T extends ITree & RootEntity>(__VLS_props: NonNullable<
|
|
|
13
13
|
isTreeLoading: boolean;
|
|
14
14
|
defaultCollapse: boolean;
|
|
15
15
|
}> & Omit<{
|
|
16
|
+
readonly width: number;
|
|
16
17
|
readonly title: string;
|
|
17
18
|
readonly hideIcon: boolean;
|
|
18
|
-
readonly width: number;
|
|
19
19
|
readonly placeholder: string;
|
|
20
20
|
readonly collapse: boolean;
|
|
21
21
|
readonly defaultExpandAll: boolean;
|
|
@@ -26,7 +26,7 @@ declare const _default: <T extends ITree & RootEntity>(__VLS_props: NonNullable<
|
|
|
26
26
|
readonly defaultCollapse: boolean;
|
|
27
27
|
readonly onOnChange?: ((data: T | undefined) => any) | undefined;
|
|
28
28
|
readonly onChange?: ((data: T | undefined) => any) | undefined;
|
|
29
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
29
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "title" | "hideIcon" | "placeholder" | "collapse" | "defaultExpandAll" | "hideTree" | "searchable" | "isTreeLoading" | "defaultCollapse">, "onChange" | "treeData" | "onOnChange" | ("width" | "title" | "hideIcon" | "placeholder" | "collapse" | "defaultExpandAll" | "hideTree" | "searchable" | "isTreeLoading" | "defaultCollapse")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
30
30
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
31
31
|
attrs: any;
|
|
32
32
|
slots: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IJson, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { IFile } from '../../interface/IFile';
|
|
3
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
4
4
|
/**
|
|
5
5
|
* # 上传配置项
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IJson, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { IFile } from '../../interface/IFile';
|
|
3
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
4
4
|
declare const _default: <F extends IFile & RootEntity>(__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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
6
6
|
title: string;
|
|
@@ -9,13 +9,13 @@ declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<
|
|
|
9
9
|
confirmText: string;
|
|
10
10
|
onConfirm: (file: F | null) => void;
|
|
11
11
|
onCancel: Function;
|
|
12
|
+
extensions: string[];
|
|
13
|
+
uploadUrl: string;
|
|
12
14
|
onCustomConfirm: Function;
|
|
13
15
|
onCustomSuccess: Function;
|
|
14
16
|
maxSize: number;
|
|
15
17
|
uploadName: string;
|
|
16
18
|
uploadSuccess: string;
|
|
17
|
-
uploadUrl: string;
|
|
18
|
-
extensions: string[];
|
|
19
19
|
tips: string;
|
|
20
20
|
}> & Omit<{
|
|
21
21
|
readonly title: string;
|
|
@@ -23,17 +23,17 @@ declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<
|
|
|
23
23
|
readonly header: IJson<any>;
|
|
24
24
|
readonly onConfirm: (file: F | null) => void;
|
|
25
25
|
readonly onCancel: Function;
|
|
26
|
+
readonly entity: ITransformerConstructor<F>;
|
|
27
|
+
readonly extensions: string[];
|
|
28
|
+
readonly uploadUrl: string;
|
|
26
29
|
readonly onCustomConfirm: Function;
|
|
27
30
|
readonly onCustomSuccess: Function;
|
|
28
31
|
readonly maxSize: number;
|
|
29
32
|
readonly uploadName: string;
|
|
30
33
|
readonly uploadSuccess: string;
|
|
31
|
-
readonly uploadUrl: string;
|
|
32
|
-
readonly extensions: string[];
|
|
33
|
-
readonly entity: ITransformerConstructor<F>;
|
|
34
34
|
readonly tips: string;
|
|
35
35
|
readonly confirmText?: string | undefined;
|
|
36
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "data" | "header" | "confirmText" | "onConfirm" | "onCancel" | "
|
|
36
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "data" | "header" | "confirmText" | "onConfirm" | "onCancel" | "extensions" | "uploadUrl" | "onCustomConfirm" | "onCustomSuccess" | "maxSize" | "uploadName" | "uploadSuccess" | "tips">, "entity" | ("title" | "data" | "header" | "confirmText" | "onConfirm" | "onCancel" | "extensions" | "uploadUrl" | "onCustomConfirm" | "onCustomSuccess" | "maxSize" | "uploadName" | "uploadSuccess" | "tips")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
37
37
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
38
38
|
attrs: any;
|
|
39
39
|
slots: {};
|