@sendelius/vue 0.2.1 → 0.2.3
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/LICENSE +18 -18
- package/README.md +2 -7
- package/dist/config/config.d.ts +12 -16
- package/dist/config/index.d.ts +1 -1
- package/dist/core/api.d.ts +2 -2
- package/dist/core/auth.d.ts +15 -15
- package/dist/core/captcha.d.ts +1 -1
- package/dist/core/errors.d.ts +6 -6
- package/dist/core/index.d.ts +5 -5
- package/dist/core/requests.d.ts +6 -6
- package/dist/helpers/declension.d.ts +1 -1
- package/dist/helpers/index.d.ts +3 -3
- package/dist/helpers/objects.d.ts +1 -1
- package/dist/helpers/title.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/sendelius-vue.css +1 -1
- package/dist/sendelius-vue.js +14662 -14811
- package/dist/ui/btn/Btn.vue.d.ts +88 -95
- package/dist/ui/cookie/Cookie.vue.d.ts +5 -10
- package/dist/ui/form/Autocomplete.vue.d.ts +89 -96
- package/dist/ui/form/Checkbox.vue.d.ts +68 -75
- package/dist/ui/form/Input.vue.d.ts +84 -90
- package/dist/ui/form/InputCity.vue.d.ts +70 -70
- package/dist/ui/form/InputDate.vue.d.ts +83 -89
- package/dist/ui/form/InputPassword.vue.d.ts +67 -73
- package/dist/ui/form/InputPhone.vue.d.ts +73 -73
- package/dist/ui/form/Select.vue.d.ts +71 -78
- package/dist/ui/index.d.ts +17 -17
- package/dist/ui/notice/Error.vue.d.ts +63 -70
- package/dist/ui/notice/Success.vue.d.ts +53 -59
- package/dist/ui/notice/Warning.vue.d.ts +53 -59
- package/dist/ui/popup/Confirm.vue.d.ts +52 -52
- package/dist/ui/popup/Popup.vue.d.ts +3 -3
- package/dist/ui/popup/usePopup.d.ts +17 -17
- package/dist/ui/progress/Progress.vue.d.ts +24 -24
- package/dist/ui/table/Table.vue.d.ts +121 -131
- package/dist/ui/table/TableFilters.vue.d.ts +3 -3
- package/dist/ui/table/TableFooter.vue.d.ts +101 -108
- package/dist/ui/table/TableHeader.vue.d.ts +84 -90
- package/dist/ui/table/TableItems.vue.d.ts +62 -66
- package/dist/ui/table/TablePagination.vue.d.ts +27 -33
- package/package.json +46 -42
- package/dist/encryption/base64.d.ts +0 -4
- package/dist/encryption/encryption.d.ts +0 -17
- package/dist/encryption/index.d.ts +0 -1
- package/dist/encryption/keys.d.ts +0 -12
- package/dist/encryption/store.d.ts +0 -39
- package/dist/encryption/vault.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,42 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@sendelius/vue",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@sendelius/vue",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"module": "./dist/sendelius-vue.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "vite build && node fix-dts.mjs"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/sendelius-vue.js"
|
|
16
|
+
},
|
|
17
|
+
"./style.css": "./dist/sendelius-vue.css"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/sendelius/vue.git"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@vuepic/vue-datepicker": "^14.0.0",
|
|
25
|
+
"axios": "^1.18.1",
|
|
26
|
+
"pinia": "^4.0.2",
|
|
27
|
+
"maska": "^3.2.0",
|
|
28
|
+
"vue": "^3.5.40",
|
|
29
|
+
"date-fns": "^4.4.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
33
|
+
"sass": "^1.104.0",
|
|
34
|
+
"typescript": "5.9",
|
|
35
|
+
"vite": "^8.1.5",
|
|
36
|
+
"vite-plugin-dts": "^5.1.0",
|
|
37
|
+
"vue": "^3.5.40",
|
|
38
|
+
"vue-component-type-helpers": "^3.3.11",
|
|
39
|
+
"vue-tsc": "^3.3.11"
|
|
40
|
+
},
|
|
41
|
+
"allowScripts": {
|
|
42
|
+
"@parcel/watcher@2.6.0": true,
|
|
43
|
+
"vue-demi@0.14.10": true
|
|
44
|
+
},
|
|
45
|
+
"version": "0.2.3"
|
|
46
|
+
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function generateDataKey(): Promise<CryptoKey>;
|
|
2
|
-
export function encryptData(data: any, key: any): Promise<{
|
|
3
|
-
iv: string;
|
|
4
|
-
data: string;
|
|
5
|
-
}>;
|
|
6
|
-
export function decryptData(data: any, key: any): Promise<string>;
|
|
7
|
-
export function encryptDataKey(dataKey: any, publicKey: any): Promise<string>;
|
|
8
|
-
export function decryptDataKey(encryptedKey: any, privateKey: any): Promise<CryptoKey>;
|
|
9
|
-
export function encryptPrivateKey(privateKey: any, publicKey: any, recoveryPublicKey: any): Promise<{
|
|
10
|
-
v: number;
|
|
11
|
-
alg: string;
|
|
12
|
-
public_key: any;
|
|
13
|
-
iv: string;
|
|
14
|
-
data: string;
|
|
15
|
-
key: string;
|
|
16
|
-
}>;
|
|
17
|
-
export function decryptPrivateKey(backup: any, recoveryPrivateKey: any): Promise<string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useEncryption } from './store.js';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export function generateKeyPair(): Promise<CryptoKeyPair>;
|
|
2
|
-
export function exportPrivateKey(key: any, recovery?: boolean): Promise<string>;
|
|
3
|
-
export function importPrivateKey(pem: any, recovery?: boolean): Promise<CryptoKey>;
|
|
4
|
-
export function exportPublicKey(key: any): Promise<JsonWebKey>;
|
|
5
|
-
export function importPublicKey(jwk: any): Promise<CryptoKey>;
|
|
6
|
-
export function getPublicKeyFromPrivateKey(privateKey: any): Promise<{
|
|
7
|
-
kty: string;
|
|
8
|
-
n: string;
|
|
9
|
-
e: string;
|
|
10
|
-
alg: string;
|
|
11
|
-
ext: boolean;
|
|
12
|
-
}>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export function useEncryption(): import('pinia').Store<"encryption", {
|
|
2
|
-
privateKey: any;
|
|
3
|
-
unlocked: boolean;
|
|
4
|
-
userId: any;
|
|
5
|
-
userPublicKey: any;
|
|
6
|
-
recoveryPublicKey: any;
|
|
7
|
-
}, {}, {
|
|
8
|
-
init(userId?: any, userPublicKey?: any, recoveryPublicKey?: any): Promise<void>;
|
|
9
|
-
recover(backup: any, file: any): Promise<boolean>;
|
|
10
|
-
unlock(file: any): Promise<void>;
|
|
11
|
-
lock(): Promise<void>;
|
|
12
|
-
createUserKeys(): Promise<{
|
|
13
|
-
privateKey: string;
|
|
14
|
-
publicKey: JsonWebKey;
|
|
15
|
-
recoveryPrivateKey: string;
|
|
16
|
-
recoveryPublicKey: JsonWebKey;
|
|
17
|
-
recoveryBackupKey: {
|
|
18
|
-
v: number;
|
|
19
|
-
alg: string;
|
|
20
|
-
public_key: any;
|
|
21
|
-
iv: string;
|
|
22
|
-
data: string;
|
|
23
|
-
key: string;
|
|
24
|
-
};
|
|
25
|
-
}>;
|
|
26
|
-
confirmKeys(key: any): Promise<void>;
|
|
27
|
-
encrypt(value: any, recipients?: any[]): Promise<{
|
|
28
|
-
v: number;
|
|
29
|
-
alg: string;
|
|
30
|
-
iv: string;
|
|
31
|
-
data: string;
|
|
32
|
-
keys: {
|
|
33
|
-
id: any;
|
|
34
|
-
key: string;
|
|
35
|
-
}[];
|
|
36
|
-
}>;
|
|
37
|
-
decrypt(value: any): Promise<any>;
|
|
38
|
-
downloadKeyFile(filename: any, content: any): void;
|
|
39
|
-
}>;
|