@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.
Files changed (48) hide show
  1. package/LICENSE +18 -18
  2. package/README.md +2 -7
  3. package/dist/config/config.d.ts +12 -16
  4. package/dist/config/index.d.ts +1 -1
  5. package/dist/core/api.d.ts +2 -2
  6. package/dist/core/auth.d.ts +15 -15
  7. package/dist/core/captcha.d.ts +1 -1
  8. package/dist/core/errors.d.ts +6 -6
  9. package/dist/core/index.d.ts +5 -5
  10. package/dist/core/requests.d.ts +6 -6
  11. package/dist/helpers/declension.d.ts +1 -1
  12. package/dist/helpers/index.d.ts +3 -3
  13. package/dist/helpers/objects.d.ts +1 -1
  14. package/dist/helpers/title.d.ts +1 -1
  15. package/dist/index.d.ts +4 -4
  16. package/dist/sendelius-vue.css +1 -1
  17. package/dist/sendelius-vue.js +14662 -14811
  18. package/dist/ui/btn/Btn.vue.d.ts +88 -95
  19. package/dist/ui/cookie/Cookie.vue.d.ts +5 -10
  20. package/dist/ui/form/Autocomplete.vue.d.ts +89 -96
  21. package/dist/ui/form/Checkbox.vue.d.ts +68 -75
  22. package/dist/ui/form/Input.vue.d.ts +84 -90
  23. package/dist/ui/form/InputCity.vue.d.ts +70 -70
  24. package/dist/ui/form/InputDate.vue.d.ts +83 -89
  25. package/dist/ui/form/InputPassword.vue.d.ts +67 -73
  26. package/dist/ui/form/InputPhone.vue.d.ts +73 -73
  27. package/dist/ui/form/Select.vue.d.ts +71 -78
  28. package/dist/ui/index.d.ts +17 -17
  29. package/dist/ui/notice/Error.vue.d.ts +63 -70
  30. package/dist/ui/notice/Success.vue.d.ts +53 -59
  31. package/dist/ui/notice/Warning.vue.d.ts +53 -59
  32. package/dist/ui/popup/Confirm.vue.d.ts +52 -52
  33. package/dist/ui/popup/Popup.vue.d.ts +3 -3
  34. package/dist/ui/popup/usePopup.d.ts +17 -17
  35. package/dist/ui/progress/Progress.vue.d.ts +24 -24
  36. package/dist/ui/table/Table.vue.d.ts +121 -131
  37. package/dist/ui/table/TableFilters.vue.d.ts +3 -3
  38. package/dist/ui/table/TableFooter.vue.d.ts +101 -108
  39. package/dist/ui/table/TableHeader.vue.d.ts +84 -90
  40. package/dist/ui/table/TableItems.vue.d.ts +62 -66
  41. package/dist/ui/table/TablePagination.vue.d.ts +27 -33
  42. package/package.json +46 -42
  43. package/dist/encryption/base64.d.ts +0 -4
  44. package/dist/encryption/encryption.d.ts +0 -17
  45. package/dist/encryption/index.d.ts +0 -1
  46. package/dist/encryption/keys.d.ts +0 -12
  47. package/dist/encryption/store.d.ts +0 -39
  48. package/dist/encryption/vault.d.ts +0 -3
package/package.json CHANGED
@@ -1,42 +1,46 @@
1
- {
2
- "name": "@sendelius/vue",
3
- "version": "v0.2.1",
4
- "type": "module",
5
- "module": "./dist/sendelius-vue.js",
6
- "types": "./dist/index.d.ts",
7
- "files": [
8
- "dist"
9
- ],
10
- "scripts": {
11
- "build": "vite build && node fix-dts.mjs"
12
- },
13
- "exports": {
14
- ".": {
15
- "types": "./dist/index.d.ts",
16
- "import": "./dist/sendelius-vue.js"
17
- },
18
- "./style.css": "./dist/sendelius-vue.css"
19
- },
20
- "peerDependencies": {
21
- "@vuepic/vue-datepicker": "^14.0.0",
22
- "axios": "^1.18.1",
23
- "pinia": "^4.0.2",
24
- "maska": "^3.2.0",
25
- "vue": "^3.5.40",
26
- "date-fns": "^4.4.0"
27
- },
28
- "devDependencies": {
29
- "@vitejs/plugin-vue": "^6.0.8",
30
- "sass": "^1.104.0",
31
- "typescript": "5.9",
32
- "vite": "^8.1.5",
33
- "vite-plugin-dts": "^5.1.0",
34
- "vue": "^3.5.40",
35
- "vue-component-type-helpers": "^3.3.11",
36
- "vue-tsc": "^3.3.11"
37
- },
38
- "allowScripts": {
39
- "@parcel/watcher@2.6.0": true,
40
- "vue-demi@0.14.10": true
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,4 +0,0 @@
1
- export function bytesToBase64Url(bytes: any): string;
2
- export function base64UrlToBytes(value: any): Uint8Array<ArrayBuffer>;
3
- export function stringToBytes(value: any): Uint8Array<ArrayBuffer>;
4
- export function bytesToString(value: any): string;
@@ -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
- }>;
@@ -1,3 +0,0 @@
1
- export function savePrivateKey(userId: any, privateKey: any): Promise<any>;
2
- export function getPrivateKey(userId: any): Promise<any>;
3
- export function removePrivateKey(userId: any): Promise<any>;