@keyblade/pro-components 1.13.8-alpha.43 → 1.13.8-alpha.44
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/es/global-props.d.ts +6 -1
- package/es/global-props.js +6 -2
- package/es/index.js +33 -31
- package/package.json +1 -1
package/es/global-props.d.ts
CHANGED
|
@@ -20,4 +20,9 @@ export interface GlobalProps {
|
|
|
20
20
|
/** 页头 */
|
|
21
21
|
pageHeader?: PageHeaderProps;
|
|
22
22
|
}
|
|
23
|
-
export declare
|
|
23
|
+
export declare const globalProps: GlobalProps;
|
|
24
|
+
/**
|
|
25
|
+
* 设置全局属性
|
|
26
|
+
* @param _globalProps
|
|
27
|
+
*/
|
|
28
|
+
export declare function setGlobalProps(_globalProps: GlobalProps): void;
|
package/es/global-props.js
CHANGED
package/es/index.js
CHANGED
|
@@ -1,54 +1,56 @@
|
|
|
1
1
|
import { ProLogin as e } from "./pro-login/index.js";
|
|
2
2
|
import { ProFindPassword as m } from "./pro-find-password/index.js";
|
|
3
3
|
import { ProPageHeader as t } from "./pro-page-header/index.js";
|
|
4
|
-
import { ProKeepAliveRouterView as
|
|
5
|
-
import { ProLayout as
|
|
4
|
+
import { ProKeepAliveRouterView as s } from "./pro-keep-alive-router-view/index.js";
|
|
5
|
+
import { ProLayout as i } from "./pro-layout/index.js";
|
|
6
6
|
import { ProMenu as f } from "./pro-menu/index.js";
|
|
7
7
|
import { ProPageContainer as P } from "./pro-page-container/index.js";
|
|
8
8
|
import { ProReuseTabs as u } from "./pro-reuse-tabs/index.js";
|
|
9
|
-
import { ProImageUpload as
|
|
10
|
-
import { ProDatesPicker as
|
|
11
|
-
import { ProDateRangePicker as
|
|
12
|
-
import { ProTable as
|
|
9
|
+
import { ProImageUpload as a } from "./pro-image-upload/index.js";
|
|
10
|
+
import { ProDatesPicker as n } from "./pro-dates-picker/index.js";
|
|
11
|
+
import { ProDateRangePicker as l } from "./pro-date-range-picker/index.js";
|
|
12
|
+
import { ProTable as d } from "./pro-table/index.js";
|
|
13
13
|
import { ProTextarea as g } from "./pro-textarea/index.js";
|
|
14
14
|
import { ProFooterBar as x } from "./pro-footer-bar/index.js";
|
|
15
|
-
import { ProFormGroup as
|
|
16
|
-
import { ProCalendar as
|
|
17
|
-
import { ProLoader as
|
|
15
|
+
import { ProFormGroup as p } from "./pro-form-group/index.js";
|
|
16
|
+
import { ProCalendar as b } from "./pro-calendar/index.js";
|
|
17
|
+
import { ProLoader as c } from "./pro-loader/index.js";
|
|
18
18
|
import { globalProps as F } from "./global-props.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
|
|
19
|
+
import { setGlobalProps as M } from "./global-props.js";
|
|
20
|
+
import { splitStringWithCommaAndSpace as W } from "./utils.js";
|
|
21
|
+
import { EImageUploadInnerBeforeUploadStep as z } from "./pro-image-upload/types.js";
|
|
22
|
+
import { defaultImageUploadOptions as N } from "./pro-image-upload/constant.js";
|
|
23
|
+
import { EProLoginType as X } from "./pro-login/enum.js";
|
|
24
|
+
import { EFindPasswordSteps as Z } from "./pro-find-password/enum.js";
|
|
25
|
+
const v = {
|
|
25
26
|
install(o, r) {
|
|
26
|
-
Object.assign(F, r || {}), o.use(e), o.use(m), o.use(t), o.use(
|
|
27
|
+
Object.assign(F, r || {}), o.use(e), o.use(m), o.use(t), o.use(s), o.use(i), o.use(x), o.use(f), o.use(P), o.use(u), o.use(a), o.use(n), o.use(l), o.use(g), o.use(d), o.use(p), o.use(b), o.use(c);
|
|
27
28
|
}
|
|
28
29
|
};
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
Z as EFindPasswordSteps,
|
|
32
|
+
z as EImageUploadInnerBeforeUploadStep,
|
|
33
|
+
X as EProLoginType,
|
|
34
|
+
b as ProCalendar,
|
|
35
|
+
l as ProDateRangePicker,
|
|
36
|
+
n as ProDatesPicker,
|
|
36
37
|
m as ProFindPassword,
|
|
37
38
|
x as ProFooterBar,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
p as ProFormGroup,
|
|
40
|
+
a as ProImageUpload,
|
|
41
|
+
s as ProKeepAliveRouterView,
|
|
42
|
+
i as ProLayout,
|
|
43
|
+
c as ProLoader,
|
|
43
44
|
e as ProLogin,
|
|
44
45
|
f as ProMenu,
|
|
45
46
|
P as ProPageContainer,
|
|
46
47
|
t as ProPageHeader,
|
|
47
48
|
u as ProReuseTabs,
|
|
48
|
-
|
|
49
|
+
d as ProTable,
|
|
49
50
|
g as ProTextarea,
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
v as default,
|
|
52
|
+
N as defaultImageUploadOptions,
|
|
52
53
|
F as globalProps,
|
|
53
|
-
M as
|
|
54
|
+
M as setGlobalProps,
|
|
55
|
+
W as splitStringWithCommaAndSpace
|
|
54
56
|
};
|
package/package.json
CHANGED