@abyss-project/commons-front-core 1.0.19 → 1.0.21
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/Modals/QRCodeModal/QRCodeModal.component.d.ts +2 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +25 -0
- package/dist/index-BMUZ1--r.js +25080 -0
- package/dist/index.js +78 -24986
- package/dist/translations/en.d.ts +23 -0
- package/dist/translations/fr.d.ts +2 -0
- package/dist/web-CD9piBaG.js +18 -0
- package/package.json +3 -2
|
@@ -12,6 +12,8 @@ declare const _default: {
|
|
|
12
12
|
'rows-per-page': string;
|
|
13
13
|
'rows-selected': string;
|
|
14
14
|
'filter-title': string;
|
|
15
|
+
share: string;
|
|
16
|
+
'copy-share-link': string;
|
|
15
17
|
};
|
|
16
18
|
'file-importation': {
|
|
17
19
|
'cloud-usage-metrics': {
|
|
@@ -126,5 +128,26 @@ declare const _default: {
|
|
|
126
128
|
'see-all-button': string;
|
|
127
129
|
};
|
|
128
130
|
'no-subscription': string;
|
|
131
|
+
'user-settings': {
|
|
132
|
+
profile: {
|
|
133
|
+
title: string;
|
|
134
|
+
fields: {
|
|
135
|
+
alias: string;
|
|
136
|
+
name: string;
|
|
137
|
+
familyName: string;
|
|
138
|
+
'api-key': string;
|
|
139
|
+
};
|
|
140
|
+
helper: string;
|
|
141
|
+
'open-on-abyss': string;
|
|
142
|
+
'copy-api-key': string;
|
|
143
|
+
'reset-api-key': string;
|
|
144
|
+
'confirm-reset-api-key': string;
|
|
145
|
+
'helper-confirm-reset-api-key': string;
|
|
146
|
+
subscription: string;
|
|
147
|
+
'no-subscription': string;
|
|
148
|
+
'see-subscription-button': string;
|
|
149
|
+
'delete-account-button': string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
129
152
|
};
|
|
130
153
|
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { W as a } from "./index-BMUZ1--r.js";
|
|
2
|
+
class n extends a {
|
|
3
|
+
async canShare() {
|
|
4
|
+
return typeof navigator > "u" || !navigator.share ? { value: !1 } : { value: !0 };
|
|
5
|
+
}
|
|
6
|
+
async share(e) {
|
|
7
|
+
if (typeof navigator > "u" || !navigator.share)
|
|
8
|
+
throw this.unavailable("Share API not available in this browser");
|
|
9
|
+
return await navigator.share({
|
|
10
|
+
title: e.title,
|
|
11
|
+
text: e.text,
|
|
12
|
+
url: e.url
|
|
13
|
+
}), {};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
n as ShareWeb
|
|
18
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/commons-front-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "Front Core package of AbyssProject",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"@abyss-project/storage": "^1.0.0",
|
|
50
50
|
"@capacitor/clipboard": "^7.0.1",
|
|
51
51
|
"@capacitor/core": "^7.4.0",
|
|
52
|
+
"@capacitor/share": "^7.0.1",
|
|
52
53
|
"axios": "^1.2.2",
|
|
53
54
|
"axios-retry": "^3.5.0",
|
|
54
55
|
"byte-size": "^8.1.0",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"use-debounce": "^10.0.5",
|
|
64
65
|
"uuid": "^9.0.0",
|
|
65
66
|
"yup": "^0.32.11",
|
|
66
|
-
"@abyss-project/main": "1.0.
|
|
67
|
+
"@abyss-project/main": "1.0.31"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@types/byte-size": "^8.1.0",
|