@basthon/gui-base 0.38.1 → 0.38.2
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/lib/main.js +2 -2
- package/package.json +5 -5
package/lib/main.js
CHANGED
|
@@ -177,7 +177,7 @@ export class GUIBase {
|
|
|
177
177
|
const promise = new PromiseDelegate();
|
|
178
178
|
this.confirm("Récupération", "Il semble que Basthon ait rencontré un problème à sa dernière utilisation. Que voulez-vous faire ?", "Choisir une sauvegarde", async () => {
|
|
179
179
|
promise.resolve(await this.selectCheckpoint());
|
|
180
|
-
}, "Laisser le
|
|
180
|
+
}, "Laisser le document vide", () => { promise.resolve(null); });
|
|
181
181
|
content = await promise.promise;
|
|
182
182
|
}
|
|
183
183
|
if (content != null)
|
|
@@ -385,7 +385,7 @@ export class GUIBase {
|
|
|
385
385
|
const message = `
|
|
386
386
|
Un lien permanant vers le contenu actuel a été créé.
|
|
387
387
|
<br>
|
|
388
|
-
<i class="fas fa-exclamation-circle"></i> Attention, partager un
|
|
388
|
+
<i class="fas fa-exclamation-circle"></i> Attention, partager un document trop long peut ne pas fonctionner avec certains navigateurs.`;
|
|
389
389
|
this.confirm("Partager ce document", message, "Copier dans le presse-papier", () => GUIBase.copyToClipboard(url), "Tester le lien", () => GUIBase.openURL(url));
|
|
390
390
|
}
|
|
391
391
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basthon/gui-base",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.2",
|
|
4
4
|
"description": "Basthon - Base GUI",
|
|
5
5
|
"homepage": "https://basthon.fr",
|
|
6
6
|
"bugs": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"clean": "rm -rf lib/"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@basthon/checkpoints": "^0.38.
|
|
29
|
-
"@basthon/kernel-base": "^0.38.
|
|
30
|
-
"@basthon/kernel-loader": "^0.38.
|
|
28
|
+
"@basthon/checkpoints": "^0.38.2",
|
|
29
|
+
"@basthon/kernel-base": "^0.38.2",
|
|
30
|
+
"@basthon/kernel-loader": "^0.38.2",
|
|
31
31
|
"js-base64": "^3.7.2",
|
|
32
32
|
"pako": "^2.0.4",
|
|
33
33
|
"promise-delegate": "^1.0.1"
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "df6a3eb261122c31b25c971e1d97e442054432cd"
|
|
45
45
|
}
|