@epie/bi-crud 2.0.25 → 2.0.26
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/package.json +1 -1
- package/lib/bi-crud.esm.js +0 -14473
- package/lib/bi-crud.umd.js +0 -14504
- package/lib/components/add-btn.d.ts +0 -2
- package/lib/components/adv-btn.d.ts +0 -2
- package/lib/components/adv-search.d.ts +0 -48
- package/lib/components/context-menu/index.d.ts +0 -54
- package/lib/components/crud/helper.d.ts +0 -16
- package/lib/components/crud/index.d.ts +0 -96
- package/lib/components/descriptions/descriptions.d.ts +0 -100
- package/lib/components/descriptions/helper.d.ts +0 -3
- package/lib/components/descriptions/index.d.ts +0 -5
- package/lib/components/dialog/index.d.ts +0 -79
- package/lib/components/duration/duration.d.ts +0 -73
- package/lib/components/duration/index.d.ts +0 -5
- package/lib/components/error-message.d.ts +0 -6
- package/lib/components/export-btn.d.ts +0 -15
- package/lib/components/filter-group.d.ts +0 -41
- package/lib/components/filter.d.ts +0 -6
- package/lib/components/flex1.d.ts +0 -2
- package/lib/components/form/form.d.ts +0 -102
- package/lib/components/form/helper.d.ts +0 -28
- package/lib/components/form/index.d.ts +0 -11
- package/lib/components/form-tabs.d.ts +0 -44
- package/lib/components/index.d.ts +0 -4
- package/lib/components/inline-search/helper.d.ts +0 -4
- package/lib/components/inline-search/index.d.ts +0 -3
- package/lib/components/inline-search/inlinesearch.d.ts +0 -66
- package/lib/components/multi-delete-btn.d.ts +0 -2
- package/lib/components/pagination.d.ts +0 -9
- package/lib/components/query.d.ts +0 -35
- package/lib/components/refresh-btn.d.ts +0 -2
- package/lib/components/search-key.d.ts +0 -41
- package/lib/components/table/helper.d.ts +0 -23
- package/lib/components/table/index.d.ts +0 -59
- package/lib/components/upsert/index.d.ts +0 -64
- package/lib/css/bi-crud.min.css +0 -1
- package/lib/emitter.d.ts +0 -3
- package/lib/hooks/browser.d.ts +0 -4
- package/lib/hooks/core.d.ts +0 -16
- package/lib/hooks/crud.d.ts +0 -15
- package/lib/hooks/form.d.ts +0 -6
- package/lib/hooks/i18n.d.ts +0 -1
- package/lib/hooks/index.d.ts +0 -4
- package/lib/hooks/proxy.d.ts +0 -1
- package/lib/index.d.ts +0 -12
- package/lib/locales/en-US.d.ts +0 -73
- package/lib/locales/index.d.ts +0 -2
- package/lib/locales/zh-CN.d.ts +0 -73
- package/lib/types/base/adv-search.d.ts +0 -15
- package/lib/types/base/base.d.ts +0 -14
- package/lib/types/base/browser.d.ts +0 -4
- package/lib/types/base/context-menu.d.ts +0 -31
- package/lib/types/base/crud.d.ts +0 -133
- package/lib/types/base/element-plus.d.ts +0 -15
- package/lib/types/base/emitter.d.ts +0 -14
- package/lib/types/base/hook.d.ts +0 -8
- package/lib/types/base/index.d.ts +0 -11
- package/lib/types/base/render.d.ts +0 -15
- package/lib/types/base/table.d.ts +0 -76
- package/lib/types/base/test.d.ts +0 -3
- package/lib/types/base/upsert.d.ts +0 -25
- package/lib/types/emitter.d.ts +0 -3
- package/lib/types/index.d.ts +0 -2
- package/lib/utils/form.d.ts +0 -7
- package/lib/utils/index.d.ts +0 -18
- package/lib/utils/mitt.d.ts +0 -9
- package/lib/utils/parse.d.ts +0 -8
- package/lib/utils/test.d.ts +0 -43
- package/lib/utils/vnode.d.ts +0 -16
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function useAction({ conf, form, Form }: any): {
|
|
2
|
-
getForm: (prop: string) => any;
|
|
3
|
-
setForm: (prop: string, value: any) => void;
|
|
4
|
-
setData: (prop: string, value: any) => void;
|
|
5
|
-
setConfig: (path: string, value: any) => void;
|
|
6
|
-
setOptions: (prop: string, value: any[]) => void;
|
|
7
|
-
setProps: (prop: string, value: any) => void;
|
|
8
|
-
toggleItem: (prop: string, value?: boolean) => void;
|
|
9
|
-
hideItem: (...props: string[]) => void;
|
|
10
|
-
showItem: (...props: string[]) => void;
|
|
11
|
-
setTitle: (value: string) => void;
|
|
12
|
-
collapseItem: (e: any) => void;
|
|
13
|
-
};
|
|
14
|
-
export declare function useElForm({ Form }: any): any;
|
|
15
|
-
export declare function useTabs({ conf, Form }: any): {
|
|
16
|
-
tabActive: import("vue").Ref<any>;
|
|
17
|
-
changeTab: (value: any, isValid?: boolean) => Promise<unknown>;
|
|
18
|
-
};
|
|
19
|
-
export declare function useApi({ Form }: any): any;
|
|
20
|
-
export declare function useRender(ctx: any): {
|
|
21
|
-
renderForm: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
}>;
|
|
24
|
-
renderFooter: () => any;
|
|
25
|
-
renderDialog: (Form: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
}>;
|
|
28
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
inner: BooleanConstructor;
|
|
3
|
-
inline: BooleanConstructor;
|
|
4
|
-
}, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
inner: BooleanConstructor;
|
|
6
|
-
inline: BooleanConstructor;
|
|
7
|
-
}>>, {
|
|
8
|
-
inner: boolean;
|
|
9
|
-
inline: boolean;
|
|
10
|
-
}>;
|
|
11
|
-
export default _default;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue: (StringConstructor | NumberConstructor)[];
|
|
3
|
-
labels: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
default: () => never[];
|
|
6
|
-
};
|
|
7
|
-
justify: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
color: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
active: any;
|
|
17
|
-
list: import("vue").Ref<any[]>;
|
|
18
|
-
line: any;
|
|
19
|
-
refs: any;
|
|
20
|
-
setRefs: any;
|
|
21
|
-
update: (val: string | number) => false | undefined;
|
|
22
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
modelValue: (StringConstructor | NumberConstructor)[];
|
|
24
|
-
labels: {
|
|
25
|
-
type: ArrayConstructor;
|
|
26
|
-
default: () => never[];
|
|
27
|
-
};
|
|
28
|
-
justify: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
color: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>> & {
|
|
37
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
labels: unknown[];
|
|
41
|
-
justify: string;
|
|
42
|
-
color: string;
|
|
43
|
-
}>;
|
|
44
|
-
export default _default;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { PropType, ExtractPropTypes } from "vue";
|
|
2
|
-
import { EpieForm } from "../form/form";
|
|
3
|
-
export interface EpieInlineSearchItem extends EpieForm.Item {
|
|
4
|
-
hide?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const epieInlineSearchProps: () => {
|
|
7
|
-
data: {
|
|
8
|
-
type: ObjectConstructor;
|
|
9
|
-
default: () => void;
|
|
10
|
-
};
|
|
11
|
-
items: {
|
|
12
|
-
type: PropType<EpieInlineSearchItem[]>;
|
|
13
|
-
default: () => never[];
|
|
14
|
-
};
|
|
15
|
-
op: {
|
|
16
|
-
type: PropType<string[]>;
|
|
17
|
-
default: () => string[];
|
|
18
|
-
};
|
|
19
|
-
onSearch: FunctionConstructor;
|
|
20
|
-
};
|
|
21
|
-
export declare type EpieInlineSearchProps = Partial<ExtractPropTypes<ReturnType<typeof epieInlineSearchProps>>>;
|
|
22
|
-
export declare type EpieRenderCtx = EpieInlineSearchProps & {
|
|
23
|
-
form: any;
|
|
24
|
-
reset: any;
|
|
25
|
-
loading: any;
|
|
26
|
-
search: any;
|
|
27
|
-
};
|
|
28
|
-
declare const _default: import("vue").DefineComponent<{
|
|
29
|
-
data: {
|
|
30
|
-
type: ObjectConstructor;
|
|
31
|
-
default: () => void;
|
|
32
|
-
};
|
|
33
|
-
items: {
|
|
34
|
-
type: PropType<EpieInlineSearchItem[]>;
|
|
35
|
-
default: () => never[];
|
|
36
|
-
};
|
|
37
|
-
op: {
|
|
38
|
-
type: PropType<string[]>;
|
|
39
|
-
default: () => string[];
|
|
40
|
-
};
|
|
41
|
-
onSearch: FunctionConstructor;
|
|
42
|
-
}, {
|
|
43
|
-
form: any;
|
|
44
|
-
reset: () => void;
|
|
45
|
-
loading: import("vue").Ref<boolean>;
|
|
46
|
-
search: () => void;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
48
|
-
data: {
|
|
49
|
-
type: ObjectConstructor;
|
|
50
|
-
default: () => void;
|
|
51
|
-
};
|
|
52
|
-
items: {
|
|
53
|
-
type: PropType<EpieInlineSearchItem[]>;
|
|
54
|
-
default: () => never[];
|
|
55
|
-
};
|
|
56
|
-
op: {
|
|
57
|
-
type: PropType<string[]>;
|
|
58
|
-
default: () => string[];
|
|
59
|
-
};
|
|
60
|
-
onSearch: FunctionConstructor;
|
|
61
|
-
}>>, {
|
|
62
|
-
data: Record<string, any>;
|
|
63
|
-
items: EpieInlineSearchItem[];
|
|
64
|
-
op: string[];
|
|
65
|
-
}>;
|
|
66
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => false | JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
total: import("vue").Ref<number>;
|
|
3
|
-
currentPage: import("vue").Ref<number>;
|
|
4
|
-
pageSize: import("vue").Ref<number>;
|
|
5
|
-
onCurrentChange: (index: number) => void;
|
|
6
|
-
onSizeChange: (size: number) => void;
|
|
7
|
-
setPagination: (res: any) => void;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
9
|
-
export default _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue: null;
|
|
3
|
-
list: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
field: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
multiple: BooleanConstructor;
|
|
12
|
-
callback: FunctionConstructor;
|
|
13
|
-
}, {
|
|
14
|
-
list2: import("vue").Ref<any[]>;
|
|
15
|
-
selectItem: (event: any, item: any) => void;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
modelValue: null;
|
|
18
|
-
list: {
|
|
19
|
-
type: ArrayConstructor;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
field: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
multiple: BooleanConstructor;
|
|
27
|
-
callback: FunctionConstructor;
|
|
28
|
-
}>> & {
|
|
29
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
field: string;
|
|
33
|
-
multiple: boolean;
|
|
34
|
-
}>;
|
|
35
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue: StringConstructor;
|
|
3
|
-
field: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
fieldList: {
|
|
8
|
-
type: ArrayConstructor;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
onSearch: FunctionConstructor;
|
|
12
|
-
placeholder: StringConstructor;
|
|
13
|
-
}, {
|
|
14
|
-
value: any;
|
|
15
|
-
placeholder2: import("vue").ComputedRef<string>;
|
|
16
|
-
selectField: import("vue").Ref<string>;
|
|
17
|
-
search: () => void;
|
|
18
|
-
onKeydown: ({ keyCode }: any) => void;
|
|
19
|
-
onInput: (val?: string) => void;
|
|
20
|
-
onFieldChange: () => void;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "field-change")[], "update:modelValue" | "change" | "field-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
modelValue: StringConstructor;
|
|
23
|
-
field: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
fieldList: {
|
|
28
|
-
type: ArrayConstructor;
|
|
29
|
-
default: () => never[];
|
|
30
|
-
};
|
|
31
|
-
onSearch: FunctionConstructor;
|
|
32
|
-
placeholder: StringConstructor;
|
|
33
|
-
}>> & {
|
|
34
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
field: string;
|
|
39
|
-
fieldList: unknown[];
|
|
40
|
-
}>;
|
|
41
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare function useElTable({ Table }: any): any;
|
|
2
|
-
export declare function useSort({ props, emit, Table }: any): {
|
|
3
|
-
defaultSort: {
|
|
4
|
-
prop: any;
|
|
5
|
-
order: any;
|
|
6
|
-
} | {
|
|
7
|
-
prop?: undefined;
|
|
8
|
-
order?: undefined;
|
|
9
|
-
};
|
|
10
|
-
onSortChange: ({ prop, order }: any) => void;
|
|
11
|
-
changeSort: (prop: string, order: string) => void;
|
|
12
|
-
};
|
|
13
|
-
export declare function useRow({ Table, props, changeSort }: any): {
|
|
14
|
-
onRowContextMenu: (row: any, column: any, event: any) => void;
|
|
15
|
-
};
|
|
16
|
-
export declare function useHeight({ props, Table }: any): {
|
|
17
|
-
maxHeight: import("vue").Ref<number>;
|
|
18
|
-
};
|
|
19
|
-
export declare function useRender({ columns, emptyText }: any): {
|
|
20
|
-
renderColumn: () => any;
|
|
21
|
-
renderEmpty: () => JSX.Element;
|
|
22
|
-
renderAppend: () => JSX.Element;
|
|
23
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { EpieColumn } from "../../types";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
columns: {
|
|
5
|
-
type: PropType<EpieColumn[]>;
|
|
6
|
-
default: never[];
|
|
7
|
-
};
|
|
8
|
-
height: NumberConstructor;
|
|
9
|
-
autoHeight: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
contextMenu: {
|
|
14
|
-
type: (ArrayConstructor | BooleanConstructor)[];
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
|
-
sortRefresh: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
defaultSort: ObjectConstructor;
|
|
22
|
-
emptyText: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
}, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selection-change" | "sort-change")[], "selection-change" | "sort-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
columns: {
|
|
28
|
-
type: PropType<EpieColumn[]>;
|
|
29
|
-
default: never[];
|
|
30
|
-
};
|
|
31
|
-
height: NumberConstructor;
|
|
32
|
-
autoHeight: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
contextMenu: {
|
|
37
|
-
type: (ArrayConstructor | BooleanConstructor)[];
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
sortRefresh: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
defaultSort: ObjectConstructor;
|
|
45
|
-
emptyText: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
}>> & {
|
|
50
|
-
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
columns: EpieColumn[];
|
|
54
|
-
autoHeight: boolean;
|
|
55
|
-
contextMenu: boolean | unknown[];
|
|
56
|
-
sortRefresh: boolean;
|
|
57
|
-
emptyText: string;
|
|
58
|
-
}>;
|
|
59
|
-
export default _default;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { PropType } from "vue";
|
|
2
|
-
import { EpieForm } from "../form/form";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
items: {
|
|
5
|
-
type: PropType<EpieForm.Item[]>;
|
|
6
|
-
default: () => never[];
|
|
7
|
-
};
|
|
8
|
-
baseSpan: {
|
|
9
|
-
type: NumberConstructor;
|
|
10
|
-
};
|
|
11
|
-
props: PropType<ElementPlus.FormProps | undefined>;
|
|
12
|
-
sync: BooleanConstructor;
|
|
13
|
-
op: PropType<{
|
|
14
|
-
hidden?: boolean | undefined;
|
|
15
|
-
saveButtonText?: string | undefined;
|
|
16
|
-
closeButtonText?: string | undefined;
|
|
17
|
-
buttons?: ("save" | "close" | import("src/types").Render.OpButton)[] | undefined;
|
|
18
|
-
} | undefined>;
|
|
19
|
-
dialog: PropType<{
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
title?: string | undefined;
|
|
22
|
-
width?: string | undefined;
|
|
23
|
-
hideHeader?: boolean | undefined;
|
|
24
|
-
controls?: ("close" | "fullscreen")[] | undefined;
|
|
25
|
-
} | undefined>;
|
|
26
|
-
onOpen: FunctionConstructor;
|
|
27
|
-
onClose: FunctionConstructor;
|
|
28
|
-
onInfo: FunctionConstructor;
|
|
29
|
-
onSubmit: FunctionConstructor;
|
|
30
|
-
}, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("opened" | "closed")[], "opened" | "closed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
items: {
|
|
32
|
-
type: PropType<EpieForm.Item[]>;
|
|
33
|
-
default: () => never[];
|
|
34
|
-
};
|
|
35
|
-
baseSpan: {
|
|
36
|
-
type: NumberConstructor;
|
|
37
|
-
};
|
|
38
|
-
props: PropType<ElementPlus.FormProps | undefined>;
|
|
39
|
-
sync: BooleanConstructor;
|
|
40
|
-
op: PropType<{
|
|
41
|
-
hidden?: boolean | undefined;
|
|
42
|
-
saveButtonText?: string | undefined;
|
|
43
|
-
closeButtonText?: string | undefined;
|
|
44
|
-
buttons?: ("save" | "close" | import("src/types").Render.OpButton)[] | undefined;
|
|
45
|
-
} | undefined>;
|
|
46
|
-
dialog: PropType<{
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
title?: string | undefined;
|
|
49
|
-
width?: string | undefined;
|
|
50
|
-
hideHeader?: boolean | undefined;
|
|
51
|
-
controls?: ("close" | "fullscreen")[] | undefined;
|
|
52
|
-
} | undefined>;
|
|
53
|
-
onOpen: FunctionConstructor;
|
|
54
|
-
onClose: FunctionConstructor;
|
|
55
|
-
onInfo: FunctionConstructor;
|
|
56
|
-
onSubmit: FunctionConstructor;
|
|
57
|
-
}>> & {
|
|
58
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
59
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
items: EpieForm.Item[];
|
|
62
|
-
sync: boolean;
|
|
63
|
-
}>;
|
|
64
|
-
export default _default;
|
package/lib/css/bi-crud.min.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.epie-crud{display:flex;flex-direction:column;height:100%;position:relative;box-sizing:border-box;background-color:#fff;overflow:hidden}.epie-crud.is-border{border:1px solid #eee}.epie-crud .el-input-number__decrease,.epie-crud .el-input-number__increase{border:0;background-color:transparent}.epie-crud>.el-row{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;padding-bottom:5px;margin-bottom:0}.epie-crud>.el-row.epie-no-scroll{overflow-x:hidden;overflow-y:hidden}.epie-crud>.el-row::-webkit-scrollbar{height:4px}.epie-crud>.el-row::-webkit-scrollbar-thumb{background-color:rgba(144,147,153,0.3);border-radius:5px}.epie-crud>.el-row::-webkit-scrollbar-track{background:transparent}.epie-crud>.el-row+.el-row{margin-top:5px}.epie-flex1{flex:1;font-size:12px}.epie-search-key{display:flex;margin-left:10px}.epie-search-key__select{margin-right:10px}.epie-search-key__select .el-input__inner{width:120px}.epie-search-key__input .el-input__inner{width:250px}.epie-search-key__button.el-button{margin-left:10px}.epie-table{width:100%}.epie-table .el-table.el-loading-parent--relative{box-sizing:border-box}.epie-table .el-table__header .el-table__cell{background-color:#ebeef5 !important}.epie-table .el-table__header .el-table__cell{color:#333}.epie-table .el-loading-mask .el-loading-spinner .el-icon-loading{font-size:25px;color:#000}.epie-table .el-loading-mask .el-loading-spinner .el-loading-text{color:#666;margin-top:5px}.epie-crud__op-dropdown-menu .el-dropdown-menu__item{height:30px;line-height:30px;padding:0}.epie-crud__op-dropdown-menu .el-button{height:30px;width:100%;padding:0 20px;text-align:left;box-sizing:border-box}.epie-query{display:inline-flex;margin:0 10px;border-radius:3px}.epie-query button{border:0;background-color:#fff;font-size:12px;outline:none;cursor:pointer;color:#666;white-space:nowrap}.epie-query button:hover{color:#6fa8ff}.epie-query button.is-active{color:#409eff}.epie-query button span{display:inline-block;padding:0 15px;border-right:1px solid #ddd}.epie-query button:last-child span{border:0}.epie-filter{display:flex;align-items:center;margin:0 10px}.epie-filter__label{font-size:12px;margin-right:10px;white-space:nowrap}.epie-filter .el-select{min-width:120px}.epie-filter-group{display:inline-flex;white-space:nowrap;margin:0 10px}.epie-filter-group__items{display:inline-flex}.epie-filter-group .el-form--inline .el-form-item{margin-right:10px;margin-bottom:0}.epie-filter-group .el-form--inline .el-form-item .el-date-editor{box-sizing:border-box}.epie-filter-group .el-form--inline .el-form-item .el-date-editor .el-range-input:nth-child(2){margin-left:5px}.epie-adv-search.el-drawer{background-color:#fff}.epie-adv-search .el-drawer__body{padding:0}.epie-adv-search__header{display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 15px 0 20px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.epie-adv-search__header .text{font-size:16px}.epie-adv-search__header .el-icon{cursor:pointer}.epie-adv-search__header .el-icon:hover{color:red}.epie-adv-search__container{height:calc(100% - 100px);overflow-y:auto;padding:10px 20px;box-sizing:border-box}.epie-adv-search__container::-webkit-scrollbar{width:6px}.epie-adv-search__container::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,147,153,0.3)}.epie-adv-search__container .el-form-item__content>div{width:100%}.epie-adv-search__footer{display:flex;align-items:center;justify-content:flex-end;height:50px;border-top:1px solid #ebeef5;padding:0 10px;box-sizing:border-box}.epie-inline-search .el-drawer__header{margin-bottom:20px}.epie-inline-search .el-drawer__body{height:calc(100% - 63px);padding:0 5px}.epie-inline-search__container{height:calc(100% - 55px);overflow-y:auto;padding:10px 20px;margin-bottom:5px;box-sizing:border-box}.epie-inline-search__container::-webkit-scrollbar{width:6px}.epie-inline-search__container::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,147,153,0.3)}.epie-inline-search__container .el-form-item__content>div{width:100%}.epie-inline-search__footer{display:flex;align-items:center;justify-content:flex-end;height:50px;border-top:1px solid #ebeef5}.epie-inline-search .el-drawer{outline:none}.epie-inline-search .el-drawer__header span{outline:none;font-size:15px}.epie-inline-search .el-drawer__close-btn{outline:none}.epie-form .el-form-item .el-input-number__decrease,.epie-form .el-form-item .el-input-number__increase{border:0;background-color:transparent}.epie-form .el-form-item__label .el-tooltip i{margin-left:5px}.epie-form .el-form-item__content{min-width:0px}.epie-form .el-form-item__content>div{width:100%}.epie-form-item{display:flex}.epie-form-item__prepend{margin-right:10px}.epie-form-item__component.is-flex{flex:1;width:100%}.epie-form-item__component.is-flex>div{width:100%}.epie-form-item__append{margin-left:10px}.epie-form-item__collapse{width:100%;font-size:12px;cursor:pointer}.epie-form-item__collapse .el-divider{margin:16px 0}.epie-form-item__collapse .el-divider__text{font-size:12px}.epie-form-item__collapse i{margin-left:6px}.epie-form-item .el-table__header tr{line-height:normal}.epie-form__footer{display:flex;justify-content:flex-end}.epie-form-tabs{border-bottom:1px solid #ccc;overflow:hidden;width:calc(100% - 10px);margin:0 5px 20px 5px}.epie-form-tabs ul{height:35px;width:100%;overflow-x:auto;white-space:nowrap;position:relative;scrollbar-width:none;-ms-overflow-style:none}.epie-form-tabs ul::-webkit-scrollbar{display:none}.epie-form-tabs ul li{display:inline-block;list-style:none;padding:0 20px;height:35px;line-height:35px;cursor:pointer}.epie-form-tabs__line{height:2px;width:100%;position:absolute;bottom:-1px;left:0;transition:transform 0.3s ease-in-out,width 0.2s 0.1s cubic-bezier(0.645,0.045,0.355,1)}.epie-dialog .el-dialog__header{padding:0;text-align:center;border-bottom:1px solid #f7f7f7;margin-right:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.epie-dialog .el-dialog__header-slot.is-drag{-moz-user-select:none;-webkit-user-select:none;user-select:none;cursor:move}.epie-dialog .el-dialog__body{padding:20px}.epie-dialog .el-dialog__footer{padding:0}.epie-dialog__header{position:relative;padding:10px}.epie-dialog__footer{padding:20px}.epie-dialog__title{display:block;font-size:15px;text-align:center;letter-spacing:0.5px}.epie-dialog__controls{display:flex;justify-content:flex-end;position:absolute;right:0;top:0;z-index:9;width:100%}.epie-dialog__controls-icon,.epie-dialog__controls .minimize,.epie-dialog__controls .maximize,.epie-dialog__controls .close{display:flex;align-items:center;justify-content:center;height:40px;width:40px;border:0;background-color:#fff;cursor:pointer;outline:none}.epie-dialog__controls-icon i,.epie-dialog__controls .minimize i,.epie-dialog__controls .maximize i,.epie-dialog__controls .close i{font-size:18px}.epie-dialog__controls-icon i:hover,.epie-dialog__controls .minimize i:hover,.epie-dialog__controls .maximize i:hover,.epie-dialog__controls .close i:hover{opacity:0.7}.epie-dialog.hidden-header .el-dialog__header{display:none}.epie-context-menu{position:absolute;z-index:9999}.epie-context-menu__box{box-shadow:0 2px 12px 0 rgba(0,0,0,0.1);width:160px;background-color:#fff;border-radius:3px;position:absolute;top:0}.epie-context-menu__box.is-append{right:calc(-100% - 5px);top:-5px}.epie-context-menu__box>div{display:flex;align-items:center;height:35px;font-size:13px;cursor:pointer;padding:0 15px;color:#666;position:relative}.epie-context-menu__box>div:first-child{margin-top:5px}.epie-context-menu__box>div:last-child{margin-bottom:5px}.epie-context-menu__box>div span{height:35px;line-height:35px;flex:1}.epie-context-menu__box>div:hover{background-color:#f7f7f7;color:#000}.epie-context-menu__box>div i:first-child{margin-right:5px}.epie-context-menu__box>div i:last-child{margin-left:5px}.epie-context-menu__box>div.is-active{background-color:#f7f7f7;color:#000}.epie-context-menu__box>div.is-ellipsis span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epie-context-menu__box>div.is-disabled span{color:#ccc}.epie-context-menu__box>div.is-disabled span:hover{color:#ccc}.epie-context-menu__target{position:relative}.epie-context-menu__target::after{content:"";display:block;position:absolute;left:0;top:0;height:100%;width:100%;background-color:rgba(0,0,0,0.05)}.el-message,.el-overlay.is-message-box{z-index:10000 !important}.el-message.el-message--success,.el-message.el-message--error,.el-message.el-message--info,.el-message.el-message--warning{min-width:auto;background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,0.15);border:0;padding:12px 20px 12px 15px}.el-message.el-message--success .el-message__content,.el-message.el-message--error .el-message__content,.el-message.el-message--info .el-message__content,.el-message.el-message--warning .el-message__content{color:#999}.epie-descriptions.el-drawer{background-color:#fff}.epie-descriptions .el-drawer__body{padding:0}.epie-descriptions__header{display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 15px 0 20px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.epie-descriptions__header .text{font-size:16px}.epie-descriptions__header .el-icon{cursor:pointer}.epie-descriptions__header .el-icon:hover{color:red}.epie-descriptions__container{height:calc(100% - 100px);overflow-y:auto;padding:10px 20px;box-sizing:border-box}.epie-descriptions__container::-webkit-scrollbar{width:6px}.epie-descriptions__container::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(144,147,153,0.3)}.epie-descriptions__container .el-form-item__content>div{width:100%}.epie-descriptions__footer{display:flex;align-items:center;justify-content:flex-end;height:50px;border-top:1px solid #ebeef5;padding:0 10px;box-sizing:border-box}@media only screen and (max-width:768px){.el-message-box{width:90% !important}.el-table__body-wrapper::-webkit-scrollbar{height:6px;width:6px}}
|
package/lib/emitter.d.ts
DELETED
package/lib/hooks/browser.d.ts
DELETED
package/lib/hooks/core.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EpieCrud, Emitter } from "../types";
|
|
2
|
-
import { App } from "vue";
|
|
3
|
-
export declare function useRefs(): {
|
|
4
|
-
refs: any;
|
|
5
|
-
setRefs: (index: number) => (el: HTMLElement) => void;
|
|
6
|
-
};
|
|
7
|
-
export declare function useTools(): {
|
|
8
|
-
browser: any;
|
|
9
|
-
style: any;
|
|
10
|
-
};
|
|
11
|
-
export declare function useCore(): {
|
|
12
|
-
crud: EpieCrud.Provide;
|
|
13
|
-
mitt: Emitter;
|
|
14
|
-
};
|
|
15
|
-
export declare function useSetPermission(app: App, permissions: string[]): void;
|
|
16
|
-
export declare function usePermission(): string[];
|
package/lib/hooks/crud.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EpieDescriptionsProps } from "../components/descriptions";
|
|
2
|
-
import { Ref } from "vue";
|
|
3
|
-
import { EpieAdvSearch, EpieCrud, EpieForm, EpieTable, EpieUpsert } from "../types";
|
|
4
|
-
export declare function useCrud(options?: EpieCrud.Props, cb?: (app: EpieCrud.Ref) => void): Ref<EpieCrud.Ref | undefined>;
|
|
5
|
-
export declare function useUpsert(options?: EpieUpsert.Props): Ref<EpieUpsert.Ref | undefined>;
|
|
6
|
-
export declare function useTable(options?: EpieTable.Props): Ref<EpieTable.Ref | undefined>;
|
|
7
|
-
export declare function useAdvSearch(options: EpieAdvSearch.Props): Ref<EpieAdvSearch.Ref | undefined>;
|
|
8
|
-
export declare function useForm(cb?: (app: EpieForm.Ref) => void): Ref<EpieForm.Ref | undefined>;
|
|
9
|
-
export declare function useDialog(options?: {
|
|
10
|
-
onFullscreen(visible: boolean): void;
|
|
11
|
-
}): {
|
|
12
|
-
fullscreen: Ref<boolean>;
|
|
13
|
-
visible: Ref<boolean>;
|
|
14
|
-
} | undefined;
|
|
15
|
-
export declare function useDescriptions(options?: EpieDescriptionsProps): Ref<any>;
|
package/lib/hooks/form.d.ts
DELETED
package/lib/hooks/i18n.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useLocale: () => import("element-plus").LocaleContext;
|
package/lib/hooks/index.d.ts
DELETED
package/lib/hooks/proxy.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useProxy(ret: any): void;
|
package/lib/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "./static/index.scss";
|
|
2
|
-
declare const Crud: {
|
|
3
|
-
install(app: any, options: any): {
|
|
4
|
-
name: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export default Crud;
|
|
8
|
-
export * from "./emitter";
|
|
9
|
-
export * from "./hooks";
|
|
10
|
-
export * from "./types";
|
|
11
|
-
export * from "./components";
|
|
12
|
-
export * from "./locales";
|
package/lib/locales/en-US.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
epie: {
|
|
3
|
-
crud: {
|
|
4
|
-
add: string;
|
|
5
|
-
refresh: string;
|
|
6
|
-
edit: string;
|
|
7
|
-
delete: string;
|
|
8
|
-
multidelete: string;
|
|
9
|
-
select: string;
|
|
10
|
-
unselect: string;
|
|
11
|
-
action: string;
|
|
12
|
-
nomethodinservice: string;
|
|
13
|
-
responseformaterror: string;
|
|
14
|
-
order: {
|
|
15
|
-
desc: string;
|
|
16
|
-
asc: string;
|
|
17
|
-
};
|
|
18
|
-
actiondel: {
|
|
19
|
-
tip: string;
|
|
20
|
-
prompt: string;
|
|
21
|
-
cancel: string;
|
|
22
|
-
ok: string;
|
|
23
|
-
success: string;
|
|
24
|
-
};
|
|
25
|
-
descriptions: {
|
|
26
|
-
title: string;
|
|
27
|
-
};
|
|
28
|
-
form: {
|
|
29
|
-
show: string;
|
|
30
|
-
hide: string;
|
|
31
|
-
title: string;
|
|
32
|
-
save: string;
|
|
33
|
-
cancel: string;
|
|
34
|
-
cannotbeempty: string;
|
|
35
|
-
};
|
|
36
|
-
inlinesearch: {
|
|
37
|
-
search: string;
|
|
38
|
-
reset: string;
|
|
39
|
-
};
|
|
40
|
-
upsert: {
|
|
41
|
-
success: string;
|
|
42
|
-
invalid: string;
|
|
43
|
-
edit: string;
|
|
44
|
-
add: string;
|
|
45
|
-
};
|
|
46
|
-
advsearch: {
|
|
47
|
-
title: string;
|
|
48
|
-
search: string;
|
|
49
|
-
reset: string;
|
|
50
|
-
clear: string;
|
|
51
|
-
close: string;
|
|
52
|
-
};
|
|
53
|
-
export: {
|
|
54
|
-
label: string;
|
|
55
|
-
success: string;
|
|
56
|
-
failed: string;
|
|
57
|
-
ok: string;
|
|
58
|
-
cancel: string;
|
|
59
|
-
prompt: string;
|
|
60
|
-
};
|
|
61
|
-
filtergroup: {
|
|
62
|
-
search: string;
|
|
63
|
-
reset: string;
|
|
64
|
-
};
|
|
65
|
-
searchkey: {
|
|
66
|
-
pleaseinput: string;
|
|
67
|
-
pleaseinputkey: string;
|
|
68
|
-
search: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export default _default;
|
package/lib/locales/index.d.ts
DELETED