yc-vep-ui 0.3.7 → 0.3.8
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/Icons/index.d.ts +4 -0
- package/dist/components/Icons/svg/Bell.vue.d.ts +2 -0
- package/dist/components/Icons/svg/Clock.vue.d.ts +2 -0
- package/dist/components/Icons/svg/Info.vue.d.ts +2 -0
- package/dist/components/Icons/svg/Share.vue.d.ts +2 -0
- package/dist/components/Upload/index.vue.d.ts +5 -3
- package/dist/components/YcApproval/History.vue.d.ts +8 -0
- package/dist/components/YcApproval/ReadScope.vue.d.ts +10 -0
- package/dist/components/YcApproval/Remind.vue.d.ts +44 -0
- package/dist/components/YcApproval/api.d.ts +1 -0
- package/dist/components/YcApproval/useBtnActive.d.ts +6 -0
- package/dist/components/YcApproval/useDetail.d.ts +103 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/entry-D3QkTN2N.js +4791 -0
- package/dist/entry.d.ts +14 -17
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useDictionary.d.ts +25 -0
- package/dist/hooks/useRoute.d.ts +20 -0
- package/dist/hooks/useUser.d.ts +4 -0
- package/dist/index.css +16 -7
- package/dist/utils/rsaCrypto.d.ts +10 -0
- package/dist/vep-ui.js +2 -2
- package/package.json +3 -2
- package/dist/entry-C2idE4D3.js +0 -2275
package/dist/entry.d.ts
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type * from './components/type'
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export type { ITreeProps } from './components/Tree/type'
|
|
8
|
-
export type { IInfiniteScrollProps } from './components/InfiniteScroll/type'
|
|
9
|
-
export type { IEditorProps } from './components/Editor/type'
|
|
10
|
-
export type { ICardProps } from './components/Card/type'
|
|
11
|
-
export * from './components'
|
|
12
|
-
export declare function setHostVue(vue: any): void
|
|
13
|
-
export declare function getHostVue(): any
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export type * from './components/type';
|
|
3
|
+
export * from './components';
|
|
4
|
+
export * as hooks from './hooks';
|
|
5
|
+
export declare function setHostVue(vue: any): void;
|
|
6
|
+
export declare function getHostVue(): any;
|
|
14
7
|
export interface YcVepUiOptions {
|
|
15
|
-
|
|
8
|
+
elementPlus?: {
|
|
9
|
+
install: (app: App, ...args: any[]) => void;
|
|
10
|
+
};
|
|
16
11
|
}
|
|
17
|
-
declare const ycPlugin: {
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
declare const ycPlugin: {
|
|
13
|
+
install(app: App, options?: YcVepUiOptions): void;
|
|
14
|
+
};
|
|
15
|
+
export default ycPlugin;
|
|
16
|
+
export { ycPlugin };
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { t as useFetch, e as useTable };
|
|
1
|
+
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-D3QkTN2N.js";
|
|
2
|
+
export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r as useUser };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface ITableData {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
interface IOptions {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
interface IProps {
|
|
12
|
+
code: string;
|
|
13
|
+
page?: number;
|
|
14
|
+
pageSize?: number;
|
|
15
|
+
ready?: any;
|
|
16
|
+
}
|
|
17
|
+
type MergeDictionaryValueRequest = any;
|
|
18
|
+
export declare function useDictionary(props: IProps): {
|
|
19
|
+
loading: boolean;
|
|
20
|
+
data: ITableData[];
|
|
21
|
+
options: IOptions[];
|
|
22
|
+
update: (params: MergeDictionaryValueRequest) => Promise<any>;
|
|
23
|
+
execute: () => Promise<any>;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare function useRoute(): {
|
|
2
|
+
readonly path: string;
|
|
3
|
+
readonly query: {
|
|
4
|
+
readonly [x: string]: string;
|
|
5
|
+
};
|
|
6
|
+
readonly hash: string;
|
|
7
|
+
readonly fullPath: string;
|
|
8
|
+
readonly params: {
|
|
9
|
+
readonly [x: string]: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* 简单的 useRouter 实现
|
|
14
|
+
* 提供路由操作方法
|
|
15
|
+
*/
|
|
16
|
+
export declare function useRouter(): {
|
|
17
|
+
push: (url: string) => void;
|
|
18
|
+
replace: (url: string) => void;
|
|
19
|
+
back: () => void;
|
|
20
|
+
};
|
package/dist/index.css
CHANGED
|
@@ -42,24 +42,24 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.ui-form-buttons[data-v-
|
|
45
|
+
.ui-form-buttons[data-v-539b7aeb] {
|
|
46
46
|
display: flex;
|
|
47
47
|
justify-content: flex-start;
|
|
48
48
|
align-items: center;
|
|
49
49
|
}
|
|
50
50
|
.ui-form {
|
|
51
|
-
&[data-v-
|
|
51
|
+
&[data-v-539b7aeb] {
|
|
52
52
|
display: grid;
|
|
53
|
-
grid-template-columns: repeat(var(--
|
|
53
|
+
grid-template-columns: repeat(var(--v57cec5bb), minmax(0, 1fr));
|
|
54
54
|
gap: 0px 40px;
|
|
55
55
|
}
|
|
56
|
-
&[data-v-
|
|
56
|
+
&[data-v-539b7aeb] .el-form-item__label {
|
|
57
57
|
margin-bottom: 0;
|
|
58
58
|
font-weight: bold;
|
|
59
59
|
font-size: 0.8em;
|
|
60
60
|
color: #6b7280;
|
|
61
61
|
}
|
|
62
|
-
&[data-v-
|
|
62
|
+
&[data-v-539b7aeb] .el-form-item__content {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-wrap: inherit;
|
|
65
65
|
width: 100%;
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
|
|
78
78
|
/* 下划线样式 */
|
|
79
79
|
.underline {
|
|
80
|
-
&[data-v-
|
|
81
|
-
&[data-v-
|
|
80
|
+
&[data-v-539b7aeb] .el-input__wrapper,
|
|
81
|
+
&[data-v-539b7aeb] .el-textarea__inner {
|
|
82
82
|
box-shadow: 0px 1px 0px var(--el-input-border-color, var(--el-border-color));
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -181,4 +181,13 @@
|
|
|
181
181
|
.hide-upload-list[data-v-43d34dc4] .el-upload-list {
|
|
182
182
|
display: none;
|
|
183
183
|
}
|
|
184
|
+
|
|
185
|
+
.fixed-buttons[data-v-c1d084f4] {
|
|
186
|
+
padding: 10px 0px;
|
|
187
|
+
background-color: #fff;
|
|
188
|
+
width: 100%;
|
|
189
|
+
display: flex;
|
|
190
|
+
justify-content: space-between;
|
|
191
|
+
align-items: center;
|
|
192
|
+
}
|
|
184
193
|
/*$vite$:1*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare class RSAEncryptor {
|
|
2
|
+
private static instance;
|
|
3
|
+
private encryptor;
|
|
4
|
+
private constructor();
|
|
5
|
+
static getInstance(): RSAEncryptor;
|
|
6
|
+
encrypt(data: string): string;
|
|
7
|
+
}
|
|
8
|
+
export declare const rsaEncryptor: RSAEncryptor;
|
|
9
|
+
export declare function parseJwt(token: string | null): any | null;
|
|
10
|
+
export {};
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { e as UiCard,
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, f as i, g as a, h as o, i as s, m as c, n as l, p as u, r as d, t as f, v as p, x as m, y as h } from "./entry-D3QkTN2N.js";
|
|
2
|
+
export { e as UiCard, o as UiDescriptions, c as UiDialog, p as UiEditor, r as UiFilter, h as UiForm, a as UiInfiniteScroll, u as UiStaffSelect, m as UiTable, t as UiTree, i as UiUpload, s as YcApproval, d as default, d as ycPlugin, f as getHostVue, n as hooks, l as setHostVue };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yc-vep-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"preview": "vite preview"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"aieditor": "^1.4.0"
|
|
44
|
+
"aieditor": "^1.4.0",
|
|
45
|
+
"jsencrypt": "^3.5.4"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@types/node": "^24.12.3",
|