@epie/bi-crud 2.0.33 → 2.0.34
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/bi-crud.esm.js +3848 -6275
- package/lib/bi-crud.umd.js +3848 -6275
- package/lib/components/add-btn.d.ts +1 -1
- package/lib/components/adv-btn.d.ts +1 -1
- package/lib/components/adv-search.d.ts +1 -1
- package/lib/components/context-menu/index.d.ts +2 -2
- package/lib/components/crud/index.d.ts +1 -1
- package/lib/components/descriptions/descriptions.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/duration/duration.d.ts +2 -2
- package/lib/components/duration/index.d.ts +1 -1
- package/lib/components/error-message.d.ts +1 -1
- package/lib/components/export-btn.d.ts +2 -2
- package/lib/components/filter-group.d.ts +1 -1
- package/lib/components/filter.d.ts +1 -1
- package/lib/components/flex1.d.ts +1 -1
- package/lib/components/form/index.d.ts +1 -1
- package/lib/components/form-tabs.d.ts +2 -2
- package/lib/components/inline-search/inlinesearch.d.ts +3 -3
- package/lib/components/multi-delete-btn.d.ts +1 -1
- package/lib/components/pagination.d.ts +1 -1
- package/lib/components/query.d.ts +1 -1
- package/lib/components/refresh-btn.d.ts +1 -1
- package/lib/components/search-key.d.ts +2 -2
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/upsert/index.d.ts +1 -1
- package/lib/hooks/core.d.ts +1 -1
- package/lib/types/base/base.d.ts +2 -2
- package/lib/types/base/index.d.ts +1 -1
- package/lib/types/base/table.d.ts +2 -2
- package/lib/utils/form.d.ts +1 -1
- package/package.json +29 -29
|
@@ -1,2 +1,2 @@
|
|
|
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<{}>>, {}>;
|
|
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
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
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<{}>>, {}>;
|
|
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
2
|
export default _default;
|
|
@@ -10,7 +10,7 @@ declare const EpieContextMenu: import("vue").DefineComponent<{
|
|
|
10
10
|
default: () => {};
|
|
11
11
|
};
|
|
12
12
|
}, {
|
|
13
|
-
refs: any
|
|
13
|
+
refs: import("vue").Ref<any>;
|
|
14
14
|
visible: import("vue").Ref<boolean>;
|
|
15
15
|
ids: import("vue").Ref<string>;
|
|
16
16
|
style: any;
|
|
@@ -47,7 +47,7 @@ declare const EpieContextMenu: import("vue").DefineComponent<{
|
|
|
47
47
|
show: boolean;
|
|
48
48
|
options: Record<string, any>;
|
|
49
49
|
event: Record<string, any>;
|
|
50
|
-
}>;
|
|
50
|
+
}, {}>;
|
|
51
51
|
export declare const ContextMenu: {
|
|
52
52
|
open(event: any, options: NSEpieContextMenu.Options): void;
|
|
53
53
|
};
|
|
@@ -29,7 +29,7 @@ export declare const epieDescriptionsProps: () => {
|
|
|
29
29
|
default: never[];
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
export
|
|
32
|
+
export type EpieDescriptionsProps = Partial<ExtractPropTypes<ReturnType<typeof epieDescriptionsProps>>>;
|
|
33
33
|
declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
border: {
|
|
35
35
|
type: BooleanConstructor;
|
|
@@ -96,5 +96,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
direction: "horizontal" | "vertical";
|
|
97
97
|
extra: string;
|
|
98
98
|
columns: EpieColumn[];
|
|
99
|
-
}>;
|
|
99
|
+
}, {}>;
|
|
100
100
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EpieSchema } from "../../types/base/base";
|
|
2
|
-
export
|
|
2
|
+
export type EpieDescriptionsItemProps = EpieSchema<"descriptions"> & {};
|
|
3
3
|
export * from "./descriptions";
|
|
4
4
|
import EpieDescriptions from "./descriptions";
|
|
5
5
|
export { EpieDescriptions };
|
|
@@ -17,7 +17,7 @@ export declare const epieDurationProps: () => {
|
|
|
17
17
|
default: number;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type EpieDurationProps = Partial<ExtractPropTypes<ReturnType<typeof epieDurationProps>>>;
|
|
21
21
|
declare enum Unit {
|
|
22
22
|
Second = 1,
|
|
23
23
|
Minute = 2,
|
|
@@ -69,5 +69,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
unit: "day" | "hour" | "minute" | "second";
|
|
70
70
|
max: number;
|
|
71
71
|
min: number;
|
|
72
|
-
}>;
|
|
72
|
+
}, {}>;
|
|
73
73
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EpieSchema } from "../../types/base/base";
|
|
2
|
-
export
|
|
2
|
+
export type EpieDescriptionsItemProps = EpieSchema<"descriptions"> & {};
|
|
3
3
|
export * from "./duration";
|
|
4
4
|
import EpieDuration from "./duration";
|
|
5
5
|
export { EpieDuration };
|
|
@@ -2,5 +2,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
title: StringConstructor;
|
|
3
3
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
4
|
title: StringConstructor;
|
|
5
|
-
}>>, {}>;
|
|
5
|
+
}>>, {}, {}>;
|
|
6
6
|
export default _default;
|
|
@@ -7,9 +7,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
onExport: () => Promise<unknown>;
|
|
8
8
|
label: string;
|
|
9
9
|
slots: Readonly<{
|
|
10
|
-
[name: string]: import("vue").Slot | undefined;
|
|
10
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
onExport: FunctionConstructor;
|
|
14
|
-
}>>, {}>;
|
|
14
|
+
}>>, {}, {}>;
|
|
15
15
|
export default _default;
|
|
@@ -2,5 +2,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
label: StringConstructor;
|
|
3
3
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
4
|
label: StringConstructor;
|
|
5
|
-
}>>, {}>;
|
|
5
|
+
}>>, {}, {}>;
|
|
6
6
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
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<{}>>, {}>;
|
|
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
2
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
}, {
|
|
16
|
-
active: any
|
|
16
|
+
active: import("vue").Ref<any>;
|
|
17
17
|
list: import("vue").Ref<any[]>;
|
|
18
18
|
line: any;
|
|
19
19
|
refs: any;
|
|
@@ -40,5 +40,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
labels: unknown[];
|
|
41
41
|
justify: string;
|
|
42
42
|
color: string;
|
|
43
|
-
}>;
|
|
43
|
+
}, {}>;
|
|
44
44
|
export default _default;
|
|
@@ -18,8 +18,8 @@ export declare const epieInlineSearchProps: () => {
|
|
|
18
18
|
};
|
|
19
19
|
onSearch: FunctionConstructor;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
22
|
-
export
|
|
21
|
+
export type EpieInlineSearchProps = Partial<ExtractPropTypes<ReturnType<typeof epieInlineSearchProps>>>;
|
|
22
|
+
export type EpieRenderCtx = EpieInlineSearchProps & {
|
|
23
23
|
form: any;
|
|
24
24
|
reset: any;
|
|
25
25
|
loading: any;
|
|
@@ -62,5 +62,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
data: Record<string, any>;
|
|
63
63
|
items: EpieInlineSearchItem[];
|
|
64
64
|
op: string[];
|
|
65
|
-
}>;
|
|
65
|
+
}, {}>;
|
|
66
66
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
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<{}>>, {}>;
|
|
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
2
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
onCurrentChange: (index: number) => void;
|
|
6
6
|
onSizeChange: (size: number) => void;
|
|
7
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<{}>>, {}>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
9
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
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<{}>>, {}>;
|
|
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
2
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
onSearch: FunctionConstructor;
|
|
12
12
|
placeholder: StringConstructor;
|
|
13
13
|
}, {
|
|
14
|
-
value: any
|
|
14
|
+
value: import("vue").Ref<any>;
|
|
15
15
|
placeholder2: import("vue").ComputedRef<string>;
|
|
16
16
|
selectField: import("vue").Ref<string>;
|
|
17
17
|
search: () => void;
|
|
@@ -37,5 +37,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
}, {
|
|
38
38
|
field: string;
|
|
39
39
|
fieldList: unknown[];
|
|
40
|
-
}>;
|
|
40
|
+
}, {}>;
|
|
41
41
|
export default _default;
|
package/lib/hooks/core.d.ts
CHANGED
package/lib/types/base/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Render } from ".";
|
|
2
2
|
/** 支持的变形,还未完全支持完毕 */
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type EpieSchemaComponentTypes = 'descriptions' | 'table' | undefined;
|
|
4
|
+
export type EpieSchema<ComponentsType = EpieSchemaComponentTypes> = {
|
|
5
5
|
hide?: boolean;
|
|
6
6
|
prop?: string;
|
|
7
7
|
component?: Render.Options;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from "vue";
|
|
2
2
|
import { fun, NSEpieContextMenu, Render } from ".";
|
|
3
3
|
import { EpieSchema } from "./base";
|
|
4
|
-
export
|
|
4
|
+
export type EpieDict = {
|
|
5
5
|
label: string | JSX.Element;
|
|
6
6
|
value?: any;
|
|
7
7
|
type?: "success" | "warning" | "info" | "danger";
|
|
@@ -9,7 +9,7 @@ export declare type EpieDict = {
|
|
|
9
9
|
effect?: "dark" | "light" | "plain";
|
|
10
10
|
color?: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type EpieColumn = EpieSchema<"table"> & {
|
|
13
13
|
type?: "index" | "selection" | "expand" | "op";
|
|
14
14
|
dict?: Array<EpieDict> | Ref<Array<EpieDict>>;
|
|
15
15
|
buttons?: Array<"edit" | "delete" | Render.OpButton>;
|
package/lib/utils/form.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epie/bi-crud",
|
|
3
3
|
"simpleName": "bi-crud",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.34",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "lib/bi-crud.umd.js",
|
|
7
7
|
"module": "lib/bi-crud.esm.js",
|
|
@@ -22,50 +22,50 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@element-plus/icons-vue": "^2.
|
|
26
|
-
"@epie/bi-crud": "^2.0.
|
|
27
|
-
"array.prototype.flat": "^1.2
|
|
25
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
26
|
+
"@epie/bi-crud": "^2.0.33",
|
|
27
|
+
"array.prototype.flat": "^1.3.2",
|
|
28
28
|
"clone-deep": "^4.0.1",
|
|
29
|
-
"core-js": "^3.
|
|
30
|
-
"element-plus": "^2.
|
|
29
|
+
"core-js": "^3.34.0",
|
|
30
|
+
"element-plus": "^2.4.4",
|
|
31
31
|
"lodash-unified": "^1.0.3",
|
|
32
32
|
"merge": "^2.1.1",
|
|
33
|
-
"mitt": "^3.0.
|
|
34
|
-
"rollup": "^2.
|
|
35
|
-
"vue": "^3.
|
|
33
|
+
"mitt": "^3.0.1",
|
|
34
|
+
"rollup": "^2.79.1",
|
|
35
|
+
"vue": "^3.3.13"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/preset-typescript": "^7.
|
|
38
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
39
39
|
"@rollup/plugin-alias": "^3.1.9",
|
|
40
40
|
"@rollup/plugin-babel": "^5.3.1",
|
|
41
|
-
"@rollup/plugin-commonjs": "^22.0.
|
|
41
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
42
42
|
"@rollup/plugin-image": "^2.1.1",
|
|
43
43
|
"@rollup/plugin-json": "^4.1.0",
|
|
44
44
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
45
|
-
"@types/array.prototype.flat": "^1.2.
|
|
46
|
-
"@types/clone-deep": "^4.0.
|
|
47
|
-
"@types/html-minifier": "^4.0.
|
|
48
|
-
"@vue/babel-plugin-jsx": "^1.1.
|
|
49
|
-
"@vue/cli-plugin-babel": "^5.0.
|
|
50
|
-
"@vue/cli-plugin-typescript": "^5.0.
|
|
51
|
-
"@vue/cli-service": "^5.0.
|
|
52
|
-
"@vue/compiler-sfc": "^3.
|
|
53
|
-
"esbuild": "^0.14.
|
|
45
|
+
"@types/array.prototype.flat": "^1.2.5",
|
|
46
|
+
"@types/clone-deep": "^4.0.4",
|
|
47
|
+
"@types/html-minifier": "^4.0.5",
|
|
48
|
+
"@vue/babel-plugin-jsx": "^1.1.5",
|
|
49
|
+
"@vue/cli-plugin-babel": "^5.0.8",
|
|
50
|
+
"@vue/cli-plugin-typescript": "^5.0.8",
|
|
51
|
+
"@vue/cli-service": "^5.0.8",
|
|
52
|
+
"@vue/compiler-sfc": "^3.3.13",
|
|
53
|
+
"esbuild": "^0.14.54",
|
|
54
54
|
"lint": "^0.7.0",
|
|
55
|
-
"node-sass": "^7.0.
|
|
56
|
-
"nodemon": "^2.0.
|
|
57
|
-
"postcss": "^8.4.
|
|
55
|
+
"node-sass": "^7.0.3",
|
|
56
|
+
"nodemon": "^2.0.22",
|
|
57
|
+
"postcss": "^8.4.32",
|
|
58
58
|
"postcss-import": "^14.1.0",
|
|
59
59
|
"postcss-minify": "^1.1.0",
|
|
60
|
-
"postcss-preset-env": "^7.
|
|
61
|
-
"prettier": "^2.
|
|
60
|
+
"postcss-preset-env": "^7.8.3",
|
|
61
|
+
"prettier": "^2.8.8",
|
|
62
62
|
"rimraf": "^3.0.2",
|
|
63
63
|
"rollup-plugin-browsersync": "^1.3.3",
|
|
64
|
-
"rollup-plugin-copy": "^3.
|
|
65
|
-
"rollup-plugin-esbuild": "^4.
|
|
64
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
65
|
+
"rollup-plugin-esbuild": "^4.10.3",
|
|
66
66
|
"rollup-plugin-filesize": "^9.1.2",
|
|
67
67
|
"rollup-plugin-html2": "^3.1.0",
|
|
68
|
-
"rollup-plugin-polyfill-node": "^0.10.
|
|
68
|
+
"rollup-plugin-polyfill-node": "^0.10.2",
|
|
69
69
|
"rollup-plugin-postcss": "^4.0.2",
|
|
70
70
|
"rollup-plugin-progress": "^1.1.2",
|
|
71
71
|
"rollup-plugin-replace": "^2.2.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"rollup-plugin-vue": "^6.0.0",
|
|
75
75
|
"rollup-plugin-vue-jsx-compat": "^0.0.6",
|
|
76
76
|
"sass-loader": "^12.6.0",
|
|
77
|
-
"typescript": "^4.
|
|
77
|
+
"typescript": "^4.9.5"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"serve": "vue-cli-service serve",
|