@basthon/gui-base 0.38.0 → 0.38.4

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.d.ts CHANGED
@@ -70,11 +70,11 @@ export declare class GUIBase {
70
70
  /**
71
71
  * Get the content (script or notebook content).
72
72
  */
73
- protected content(): string;
73
+ content(): string;
74
74
  /**
75
75
  * Set the content (script or notebook content).
76
76
  */
77
- protected setContent(content: string): void;
77
+ setContent(content: string): void;
78
78
  /**
79
79
  * Loading the content from query string (ipynb=/script= or from=).
80
80
  */
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 script vide", () => { promise.resolve(""); });
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 script trop long peut ne pas fonctionner avec certains navigateurs.`;
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.0",
3
+ "version": "0.38.4",
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.0",
29
- "@basthon/kernel-base": "^0.38.0",
30
- "@basthon/kernel-loader": "^0.38.0",
28
+ "@basthon/checkpoints": "^0.38.4",
29
+ "@basthon/kernel-base": "^0.38.4",
30
+ "@basthon/kernel-loader": "^0.38.4",
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": "c66532cfb78ee398bd303080bce81748b0ee8fa4"
44
+ "gitHead": "ca97f64c7d4bc74e6552960d48b101e9c16c515c"
45
45
  }