@partex/one-core 1.0.0
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/README.md +591 -0
- package/lib/components/auth/index.d.ts +1 -0
- package/lib/components/auth/index.vue.d.ts +3 -0
- package/lib/components/back/index.d.ts +1 -0
- package/lib/components/back/index.vue.d.ts +17 -0
- package/lib/components/common.d.ts +100 -0
- package/lib/components/components.d.ts +17 -0
- package/lib/components/create.d.ts +16 -0
- package/lib/components/dashboard/index.d.ts +1 -0
- package/lib/components/dashboard/store.d.ts +6 -0
- package/lib/components/error404/index.d.ts +1 -0
- package/lib/components/error404/index.vue.d.ts +5 -0
- package/lib/components/error500/index.d.ts +1 -0
- package/lib/components/error500/index.vue.d.ts +5 -0
- package/lib/components/footer/index.d.ts +1 -0
- package/lib/components/footer/index.vue.d.ts +15 -0
- package/lib/components/header/api.d.ts +44 -0
- package/lib/components/header/index.d.ts +4 -0
- package/lib/components/header/index.vue.d.ts +114 -0
- package/lib/components/header/interface.d.ts +14 -0
- package/lib/components/header/message.vue.d.ts +51 -0
- package/lib/components/header/pop.vue.d.ts +53 -0
- package/lib/components/header/store.d.ts +20 -0
- package/lib/components/icon.d.ts +17 -0
- package/lib/components/importer/api.d.ts +21 -0
- package/lib/components/importer/index.d.ts +1 -0
- package/lib/components/importer/index.vue.d.ts +115 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/local/en-US.d.ts +89 -0
- package/lib/components/local/index.d.ts +175 -0
- package/lib/components/local/zh-CN.d.ts +88 -0
- package/lib/components/login/api.d.ts +7 -0
- package/lib/components/login/index.d.ts +3 -0
- package/lib/components/login/index.vue.d.ts +76 -0
- package/lib/components/login/interface.d.ts +49 -0
- package/lib/components/login/store.d.ts +47 -0
- package/lib/components/logo/index.d.ts +1 -0
- package/lib/components/logo/index.vue.d.ts +18 -0
- package/lib/components/my/api.d.ts +3 -0
- package/lib/components/my/index.d.ts +1 -0
- package/lib/components/my/index.vue.d.ts +30 -0
- package/lib/components/my/interface.d.ts +14 -0
- package/lib/components/numberRoll/index.d.ts +1 -0
- package/lib/components/numberRoll/index.vue.d.ts +47 -0
- package/lib/components/preset.d.ts +5 -0
- package/lib/components/report/api.d.ts +1 -0
- package/lib/components/report/index.d.ts +1 -0
- package/lib/components/report/index.vue.d.ts +9 -0
- package/lib/components/searchBar/index.d.ts +2 -0
- package/lib/components/searchBar/index.vue.d.ts +74 -0
- package/lib/components/searchBar/interface.d.ts +76 -0
- package/lib/components/searchBar/item.vue.d.ts +63 -0
- package/lib/components/skeleton/index.d.ts +1 -0
- package/lib/components/skeleton/index.vue.d.ts +24 -0
- package/lib/components/table/index.d.ts +1 -0
- package/lib/components/table/index.vue.d.ts +158 -0
- package/lib/index.d.ts +1 -0
- package/lib/one-core.cjs +1 -0
- package/lib/one-core.js +4982 -0
- package/lib/one-core.umd.cjs +1 -0
- package/lib/style.css +1 -0
- package/package.json +77 -0
- package/volar.d.ts +19 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
export declare const langCN: {
|
|
2
|
+
Platform: {
|
|
3
|
+
iot: string;
|
|
4
|
+
tdm: string;
|
|
5
|
+
qms: string;
|
|
6
|
+
twin: string;
|
|
7
|
+
maintain: string;
|
|
8
|
+
};
|
|
9
|
+
Notice: {
|
|
10
|
+
success: string;
|
|
11
|
+
error: string;
|
|
12
|
+
};
|
|
13
|
+
Common: {
|
|
14
|
+
validDays: string;
|
|
15
|
+
search: string;
|
|
16
|
+
refresh: string;
|
|
17
|
+
filter: string;
|
|
18
|
+
reset: string;
|
|
19
|
+
success: string;
|
|
20
|
+
failed: string;
|
|
21
|
+
processing: string;
|
|
22
|
+
action: string;
|
|
23
|
+
back: string;
|
|
24
|
+
title: string;
|
|
25
|
+
message: {
|
|
26
|
+
title: string;
|
|
27
|
+
title2: string;
|
|
28
|
+
unRead: string;
|
|
29
|
+
all: string;
|
|
30
|
+
read: string;
|
|
31
|
+
readAll: string;
|
|
32
|
+
};
|
|
33
|
+
login: {
|
|
34
|
+
mobile: string;
|
|
35
|
+
mobilePlaceholder: string;
|
|
36
|
+
mobileMessage: string;
|
|
37
|
+
password: string;
|
|
38
|
+
passwordPlaceholder: string;
|
|
39
|
+
passwordMessage: string;
|
|
40
|
+
userName: string;
|
|
41
|
+
userNamePlaceholder: string;
|
|
42
|
+
userNameMessage: string;
|
|
43
|
+
in: string;
|
|
44
|
+
};
|
|
45
|
+
my: {
|
|
46
|
+
title: string;
|
|
47
|
+
tenantCode: string;
|
|
48
|
+
tenantName: string;
|
|
49
|
+
name: string;
|
|
50
|
+
email: string;
|
|
51
|
+
emailMessage: string;
|
|
52
|
+
realName: string;
|
|
53
|
+
phone: string;
|
|
54
|
+
phoneMessage: string;
|
|
55
|
+
submit: string;
|
|
56
|
+
password: string;
|
|
57
|
+
oldPassword: string;
|
|
58
|
+
newPassword: string;
|
|
59
|
+
checkPassword: string;
|
|
60
|
+
oldPasswordMessage: string;
|
|
61
|
+
newPasswordMessage: string;
|
|
62
|
+
checkPasswordMessage: string;
|
|
63
|
+
};
|
|
64
|
+
dropdownMenu: {
|
|
65
|
+
software: string;
|
|
66
|
+
android: string;
|
|
67
|
+
ios: string;
|
|
68
|
+
chrome: string;
|
|
69
|
+
edge: string;
|
|
70
|
+
dashboard_IoT: string;
|
|
71
|
+
dashboard_Prt: string;
|
|
72
|
+
report: string;
|
|
73
|
+
info: string;
|
|
74
|
+
logout: string;
|
|
75
|
+
};
|
|
76
|
+
importer: {
|
|
77
|
+
title: string;
|
|
78
|
+
file: string;
|
|
79
|
+
download: string;
|
|
80
|
+
btnDownload: string;
|
|
81
|
+
fileName: string;
|
|
82
|
+
status: string;
|
|
83
|
+
createTime: string;
|
|
84
|
+
retry: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare const langUS: {
|
|
89
|
+
Platform: {
|
|
90
|
+
iot: string;
|
|
91
|
+
tdm: string;
|
|
92
|
+
qms: string;
|
|
93
|
+
twin: string;
|
|
94
|
+
maintain: string;
|
|
95
|
+
};
|
|
96
|
+
Notice: {
|
|
97
|
+
success: string;
|
|
98
|
+
error: string;
|
|
99
|
+
};
|
|
100
|
+
Common: {
|
|
101
|
+
validDays: string;
|
|
102
|
+
search: string;
|
|
103
|
+
refresh: string;
|
|
104
|
+
filter: string;
|
|
105
|
+
reset: string;
|
|
106
|
+
success: string;
|
|
107
|
+
failed: string;
|
|
108
|
+
processing: string;
|
|
109
|
+
action: string;
|
|
110
|
+
back: string;
|
|
111
|
+
title: string;
|
|
112
|
+
message: {
|
|
113
|
+
title: string;
|
|
114
|
+
title2: string;
|
|
115
|
+
unRead: string;
|
|
116
|
+
all: string;
|
|
117
|
+
read: string;
|
|
118
|
+
readAll: string;
|
|
119
|
+
};
|
|
120
|
+
login: {
|
|
121
|
+
mobile: string;
|
|
122
|
+
mobilePlaceholder: string;
|
|
123
|
+
mobileMessage: string;
|
|
124
|
+
password: string;
|
|
125
|
+
passwordPlaceholder: string;
|
|
126
|
+
passwordMessage: string;
|
|
127
|
+
userName: string;
|
|
128
|
+
userNamePlaceholder: string;
|
|
129
|
+
userNameMessage: string;
|
|
130
|
+
in: string;
|
|
131
|
+
};
|
|
132
|
+
my: {
|
|
133
|
+
title: string;
|
|
134
|
+
tenantCode: string;
|
|
135
|
+
tenantName: string;
|
|
136
|
+
name: string;
|
|
137
|
+
email: string;
|
|
138
|
+
emailMessage: string;
|
|
139
|
+
realName: string;
|
|
140
|
+
phone: string;
|
|
141
|
+
phoneMessage: string;
|
|
142
|
+
submit: string;
|
|
143
|
+
password: string;
|
|
144
|
+
oldPassword: string;
|
|
145
|
+
newPassword: string;
|
|
146
|
+
checkPassword: string;
|
|
147
|
+
oldPasswordMessage: string;
|
|
148
|
+
newPasswordMessage: string;
|
|
149
|
+
checkPasswordMessage: string;
|
|
150
|
+
};
|
|
151
|
+
dropdownMenu: {
|
|
152
|
+
software: string;
|
|
153
|
+
android: string;
|
|
154
|
+
ios: string;
|
|
155
|
+
chrome: string;
|
|
156
|
+
edge: string;
|
|
157
|
+
dashboard: string;
|
|
158
|
+
dashboard_IoT: string;
|
|
159
|
+
dashboard_Prt: string;
|
|
160
|
+
report: string;
|
|
161
|
+
info: string;
|
|
162
|
+
logout: string;
|
|
163
|
+
};
|
|
164
|
+
importer: {
|
|
165
|
+
title: string;
|
|
166
|
+
file: string;
|
|
167
|
+
download: string;
|
|
168
|
+
btnDownload: string;
|
|
169
|
+
fileName: string;
|
|
170
|
+
status: string;
|
|
171
|
+
createTime: string;
|
|
172
|
+
retry: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
Platform: {
|
|
3
|
+
iot: string;
|
|
4
|
+
tdm: string;
|
|
5
|
+
qms: string;
|
|
6
|
+
twin: string;
|
|
7
|
+
maintain: string;
|
|
8
|
+
};
|
|
9
|
+
Notice: {
|
|
10
|
+
success: string;
|
|
11
|
+
error: string;
|
|
12
|
+
};
|
|
13
|
+
Common: {
|
|
14
|
+
validDays: string;
|
|
15
|
+
search: string;
|
|
16
|
+
refresh: string;
|
|
17
|
+
filter: string;
|
|
18
|
+
reset: string;
|
|
19
|
+
success: string;
|
|
20
|
+
failed: string;
|
|
21
|
+
processing: string;
|
|
22
|
+
action: string;
|
|
23
|
+
back: string;
|
|
24
|
+
title: string;
|
|
25
|
+
message: {
|
|
26
|
+
title: string;
|
|
27
|
+
title2: string;
|
|
28
|
+
unRead: string;
|
|
29
|
+
all: string;
|
|
30
|
+
read: string;
|
|
31
|
+
readAll: string;
|
|
32
|
+
};
|
|
33
|
+
login: {
|
|
34
|
+
mobile: string;
|
|
35
|
+
mobilePlaceholder: string;
|
|
36
|
+
mobileMessage: string;
|
|
37
|
+
password: string;
|
|
38
|
+
passwordPlaceholder: string;
|
|
39
|
+
passwordMessage: string;
|
|
40
|
+
userName: string;
|
|
41
|
+
userNamePlaceholder: string;
|
|
42
|
+
userNameMessage: string;
|
|
43
|
+
in: string;
|
|
44
|
+
};
|
|
45
|
+
my: {
|
|
46
|
+
title: string;
|
|
47
|
+
tenantCode: string;
|
|
48
|
+
tenantName: string;
|
|
49
|
+
name: string;
|
|
50
|
+
email: string;
|
|
51
|
+
emailMessage: string;
|
|
52
|
+
realName: string;
|
|
53
|
+
phone: string;
|
|
54
|
+
phoneMessage: string;
|
|
55
|
+
submit: string;
|
|
56
|
+
password: string;
|
|
57
|
+
oldPassword: string;
|
|
58
|
+
newPassword: string;
|
|
59
|
+
checkPassword: string;
|
|
60
|
+
oldPasswordMessage: string;
|
|
61
|
+
newPasswordMessage: string;
|
|
62
|
+
checkPasswordMessage: string;
|
|
63
|
+
};
|
|
64
|
+
dropdownMenu: {
|
|
65
|
+
software: string;
|
|
66
|
+
android: string;
|
|
67
|
+
ios: string;
|
|
68
|
+
chrome: string;
|
|
69
|
+
edge: string;
|
|
70
|
+
dashboard_IoT: string;
|
|
71
|
+
dashboard_Prt: string;
|
|
72
|
+
report: string;
|
|
73
|
+
info: string;
|
|
74
|
+
logout: string;
|
|
75
|
+
};
|
|
76
|
+
importer: {
|
|
77
|
+
title: string;
|
|
78
|
+
file: string;
|
|
79
|
+
download: string;
|
|
80
|
+
btnDownload: string;
|
|
81
|
+
fileName: string;
|
|
82
|
+
status: string;
|
|
83
|
+
createTime: string;
|
|
84
|
+
retry: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNodeChild, PropType } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
|
+
version: {
|
|
4
|
+
required: false;
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
info: {
|
|
9
|
+
required: false;
|
|
10
|
+
type: PropType<{
|
|
11
|
+
href: string;
|
|
12
|
+
text: string;
|
|
13
|
+
}>;
|
|
14
|
+
default: () => {
|
|
15
|
+
href: string;
|
|
16
|
+
text: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
tabs: Ref<string>;
|
|
21
|
+
pwdRef: Ref<any>;
|
|
22
|
+
pwdPhoneRef: Ref<any>;
|
|
23
|
+
formRef: Ref<any>;
|
|
24
|
+
formPhoneRef: Ref<any>;
|
|
25
|
+
formValue: Ref<{
|
|
26
|
+
phone: string;
|
|
27
|
+
name: string;
|
|
28
|
+
password: string;
|
|
29
|
+
}>;
|
|
30
|
+
formRules: Ref<any>;
|
|
31
|
+
showPhoneDropdown: Ref<boolean>;
|
|
32
|
+
showNameDropdown: Ref<boolean>;
|
|
33
|
+
optionsName: Ref<{
|
|
34
|
+
label: string;
|
|
35
|
+
key: string;
|
|
36
|
+
}[]>;
|
|
37
|
+
optionsPhone: Ref<{
|
|
38
|
+
label: string;
|
|
39
|
+
key: string;
|
|
40
|
+
}[]>;
|
|
41
|
+
loading: Ref<boolean>;
|
|
42
|
+
submit: () => void;
|
|
43
|
+
tabChange: (value: string) => void;
|
|
44
|
+
nameChange: (value: string) => void;
|
|
45
|
+
phoneChange: (value: string) => void;
|
|
46
|
+
dropNameSelect: (key: string) => void;
|
|
47
|
+
dropPhoneSelect: (key: string) => void;
|
|
48
|
+
showDropdownNameChange: (v: boolean) => void;
|
|
49
|
+
showDropdownPhoneChange: (v: boolean) => void;
|
|
50
|
+
renderDropdownNameLabel: (option: any) => VNodeChild;
|
|
51
|
+
renderDropdownPhoneLabel: (option: any) => VNodeChild;
|
|
52
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
53
|
+
version: {
|
|
54
|
+
required: false;
|
|
55
|
+
type: PropType<string>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
info: {
|
|
59
|
+
required: false;
|
|
60
|
+
type: PropType<{
|
|
61
|
+
href: string;
|
|
62
|
+
text: string;
|
|
63
|
+
}>;
|
|
64
|
+
default: () => {
|
|
65
|
+
href: string;
|
|
66
|
+
text: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
70
|
+
info: {
|
|
71
|
+
href: string;
|
|
72
|
+
text: string;
|
|
73
|
+
};
|
|
74
|
+
version: string;
|
|
75
|
+
}, {}>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface IUserInfo {
|
|
2
|
+
type: 0 | 1 | 2 | 3 | 4;
|
|
3
|
+
id: string | string[];
|
|
4
|
+
interval: number;
|
|
5
|
+
viewType: 1 | 2;
|
|
6
|
+
theme: 'light' | 'dark';
|
|
7
|
+
}
|
|
8
|
+
export interface IUserModel {
|
|
9
|
+
factoryId?: string;
|
|
10
|
+
tenantLoginCode?: string;
|
|
11
|
+
userId?: string;
|
|
12
|
+
thirdUserId?: string;
|
|
13
|
+
email: string;
|
|
14
|
+
password: string;
|
|
15
|
+
name: string;
|
|
16
|
+
realName: string;
|
|
17
|
+
phone: string;
|
|
18
|
+
description: string;
|
|
19
|
+
enable: boolean;
|
|
20
|
+
oeeStatus: 0 | 1;
|
|
21
|
+
tenantName: string;
|
|
22
|
+
kind: number;
|
|
23
|
+
roleId: 1 | 2;
|
|
24
|
+
authorizationGroupArray: string[];
|
|
25
|
+
authorizationMachineArray: string[];
|
|
26
|
+
iot_menu_authorization: string[];
|
|
27
|
+
tdm_menu_authorization: string[];
|
|
28
|
+
qms_menu_authorization: string[];
|
|
29
|
+
info: IUserInfo;
|
|
30
|
+
endTime: number;
|
|
31
|
+
tenantStatus: 0 | 1 | 2;
|
|
32
|
+
renewalStatus: 0 | 1;
|
|
33
|
+
industryCategory: '0' | '1';
|
|
34
|
+
}
|
|
35
|
+
export interface IUserTenant extends IUserModel {
|
|
36
|
+
ncFlg: 0 | 1;
|
|
37
|
+
systemType: 0 | 1 | 2;
|
|
38
|
+
platform_tdm: boolean;
|
|
39
|
+
platform_qms: boolean;
|
|
40
|
+
platform_twin: boolean;
|
|
41
|
+
platform_maintain: boolean;
|
|
42
|
+
platform_simple_tdm: boolean;
|
|
43
|
+
commissioner: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface IUserLoginParams {
|
|
46
|
+
phone: string;
|
|
47
|
+
name: string;
|
|
48
|
+
password: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { IUserTenant } from './interface';
|
|
2
|
+
export declare const userStore: {
|
|
3
|
+
ncFlg: 0 | 1;
|
|
4
|
+
systemType: 0 | 1 | 2;
|
|
5
|
+
platform_tdm: boolean;
|
|
6
|
+
platform_qms: boolean;
|
|
7
|
+
platform_twin: boolean;
|
|
8
|
+
platform_maintain: boolean;
|
|
9
|
+
platform_simple_tdm: boolean;
|
|
10
|
+
commissioner: boolean;
|
|
11
|
+
factoryId: string;
|
|
12
|
+
tenantLoginCode: string;
|
|
13
|
+
userId: string;
|
|
14
|
+
thirdUserId: string;
|
|
15
|
+
email: string;
|
|
16
|
+
password: string;
|
|
17
|
+
name: string;
|
|
18
|
+
realName: string;
|
|
19
|
+
phone: string;
|
|
20
|
+
description: string;
|
|
21
|
+
enable: boolean;
|
|
22
|
+
oeeStatus: 0 | 1;
|
|
23
|
+
tenantName: string;
|
|
24
|
+
kind: number;
|
|
25
|
+
roleId: 1 | 2;
|
|
26
|
+
authorizationGroupArray: string[];
|
|
27
|
+
authorizationMachineArray: string[];
|
|
28
|
+
iot_menu_authorization: string[];
|
|
29
|
+
tdm_menu_authorization: string[];
|
|
30
|
+
qms_menu_authorization: string[];
|
|
31
|
+
info: {
|
|
32
|
+
type: 0 | 1 | 2 | 3 | 4;
|
|
33
|
+
id: string | string[];
|
|
34
|
+
interval: number;
|
|
35
|
+
viewType: 1 | 2;
|
|
36
|
+
theme: "light" | "dark";
|
|
37
|
+
};
|
|
38
|
+
endTime: number;
|
|
39
|
+
tenantStatus: 0 | 1 | 2;
|
|
40
|
+
renewalStatus: 0 | 1;
|
|
41
|
+
industryCategory: "0" | "1";
|
|
42
|
+
};
|
|
43
|
+
export declare function setEnableRedirect(val: boolean): void;
|
|
44
|
+
export declare function fnSetUser(val: Required<IUserTenant>): void;
|
|
45
|
+
export declare function fnGetUser(): Promise<Required<IUserTenant>>;
|
|
46
|
+
export declare function fnClearUser(): void;
|
|
47
|
+
export declare function fnUserLogout(): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OcLogo } from './index.vue';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
|
+
text: {
|
|
4
|
+
type: PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
time: Ref<number>;
|
|
9
|
+
numFormat: (value: number) => string;
|
|
10
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
11
|
+
text: {
|
|
12
|
+
type: PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>>, {
|
|
16
|
+
text: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OcMy } from './index.vue';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { FormRules, FormValidationError } from 'naive-ui';
|
|
3
|
+
type Form = {
|
|
4
|
+
validate: (validateCallback?: (errors?: Array<FormValidationError>) => void, shouldRuleBeApplied?: (rule?: FormRules) => boolean) => Promise<void>;
|
|
5
|
+
restoreValidation: () => void;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: DefineComponent<{}, {
|
|
8
|
+
formRef: Ref<Form | undefined>;
|
|
9
|
+
pwdRef: Ref<Form | undefined>;
|
|
10
|
+
pwdValue: Ref<{
|
|
11
|
+
oldPassword: string;
|
|
12
|
+
newPassword: string;
|
|
13
|
+
comfirmPassword: string;
|
|
14
|
+
}>;
|
|
15
|
+
formValue: Ref<{
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
userId: string;
|
|
18
|
+
email: string;
|
|
19
|
+
realName: string;
|
|
20
|
+
phone: string;
|
|
21
|
+
tenantName: string;
|
|
22
|
+
tenantLoginCode: string;
|
|
23
|
+
}>;
|
|
24
|
+
pwdRules: Ref<FormRules>;
|
|
25
|
+
formRules: Ref<FormRules>;
|
|
26
|
+
loading: Ref<boolean>;
|
|
27
|
+
pwdSubmit: () => void;
|
|
28
|
+
formSubmit: () => void;
|
|
29
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IoTModifyPassword {
|
|
2
|
+
oldPassword: string;
|
|
3
|
+
newPassword: string;
|
|
4
|
+
comfirmPassword: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IoTModifyUser {
|
|
7
|
+
name?: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
email: string;
|
|
10
|
+
realName: string;
|
|
11
|
+
phone: string;
|
|
12
|
+
tenantName: string;
|
|
13
|
+
tenantLoginCode: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OcNumberRoll } from './index.vue';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { Fn } from '../common';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: PropType<string | number>;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
duration: {
|
|
10
|
+
type: PropType<number>;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
precision: {
|
|
14
|
+
type: PropType<number>;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
format: {
|
|
18
|
+
type: PropType<Fn<number, string>>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
displayedValueRef: Ref<string | number>;
|
|
23
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
24
|
+
value: {
|
|
25
|
+
required: true;
|
|
26
|
+
type: PropType<string | number>;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
duration: {
|
|
30
|
+
type: PropType<number>;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
precision: {
|
|
34
|
+
type: PropType<number>;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
format: {
|
|
38
|
+
type: PropType<Fn<number, string>>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
42
|
+
duration: number;
|
|
43
|
+
value: string | number;
|
|
44
|
+
precision: number;
|
|
45
|
+
format: Fn<number, string>;
|
|
46
|
+
}, {}>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFactoryDetail(keyName: string): Promise<any[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OcReport } from './index.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {
|
|
3
|
+
columns: Ref<any>;
|
|
4
|
+
columnData: Ref<any>;
|
|
5
|
+
loading: Ref<boolean>;
|
|
6
|
+
range: Ref<[number, number]>;
|
|
7
|
+
isRangeDateDisabled: (ts: number) => boolean;
|
|
8
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { ISearchBarType } from './interface';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: () => {};
|
|
8
|
+
};
|
|
9
|
+
data: {
|
|
10
|
+
required: true;
|
|
11
|
+
type: PropType<ISearchBarType>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
loading: {
|
|
15
|
+
type: PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
cols: {
|
|
19
|
+
type: PropType<number>;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
small: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
resetButton: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
itemRef: Ref<any>;
|
|
32
|
+
isSlotHeader: Ref<boolean>;
|
|
33
|
+
availWidth: Ref<boolean>;
|
|
34
|
+
doSearch: () => void;
|
|
35
|
+
clearAll: () => void;
|
|
36
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:loading" | "on-update:value")[], "update:loading" | "on-update:value", PublicProps, Readonly<ExtractPropTypes<{
|
|
37
|
+
value: {
|
|
38
|
+
required: true;
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
default: () => {};
|
|
41
|
+
};
|
|
42
|
+
data: {
|
|
43
|
+
required: true;
|
|
44
|
+
type: PropType<ISearchBarType>;
|
|
45
|
+
default: () => {};
|
|
46
|
+
};
|
|
47
|
+
loading: {
|
|
48
|
+
type: PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
cols: {
|
|
52
|
+
type: PropType<number>;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
small: {
|
|
56
|
+
type: PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
resetButton: {
|
|
60
|
+
type: PropType<boolean>;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
"onUpdate:loading"?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
"onOn-update:value"?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
data: ISearchBarType;
|
|
68
|
+
small: boolean;
|
|
69
|
+
loading: boolean;
|
|
70
|
+
value: Record<string, any>;
|
|
71
|
+
cols: number;
|
|
72
|
+
resetButton: boolean;
|
|
73
|
+
}, {}>;
|
|
74
|
+
export default _default;
|