@digipair/skill-web-jsoneditor 0.25.6 → 0.27.0

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/index.cjs.js CHANGED
@@ -41378,7 +41378,7 @@ function findNextOccurrence(state, query) {
41378
41378
  var _loop = function(cycled1, cursor1) {
41379
41379
  cursor1.next();
41380
41380
  if (cursor1.done) {
41381
- if (cycled1) return cycled = cycled1, cursor = cursor1, {
41381
+ if (cycled1) return cursor = cursor1, cycled = cycled1, {
41382
41382
  v: null
41383
41383
  };
41384
41384
  cursor1 = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
@@ -41386,16 +41386,16 @@ function findNextOccurrence(state, query) {
41386
41386
  } else {
41387
41387
  if (cycled1 && ranges.some(function(r) {
41388
41388
  return r.from == cursor1.value.from;
41389
- })) return cycled = cycled1, cursor = cursor1, "continue";
41389
+ })) return cursor = cursor1, cycled = cycled1, "continue";
41390
41390
  if (fullWord) {
41391
41391
  var word = state.wordAt(cursor1.value.from);
41392
- if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cycled = cycled1, cursor = cursor1, "continue";
41392
+ if (!word || word.from != cursor1.value.from || word.to != cursor1.value.to) return cursor = cursor1, cycled = cycled1, "continue";
41393
41393
  }
41394
- return cycled = cycled1, cursor = cursor1, {
41394
+ return cursor = cursor1, cycled = cycled1, {
41395
41395
  v: cursor1.value
41396
41396
  };
41397
41397
  }
41398
- cycled = cycled1, cursor = cursor1;
41398
+ cursor = cursor1, cycled = cycled1;
41399
41399
  };
41400
41400
  var _state_selection = state.selection, main = _state_selection.main, ranges = _state_selection.ranges;
41401
41401
  var word = state.wordAt(main.head), fullWord = word && word.from == main.from && word.to == main.to;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-jsoneditor",
3
- "version": "0.25.6",
3
+ "version": "0.27.0",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.fr.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "@digipair/skill-web-jsoneditor",
5
+ "summary": "Editeur JSON",
6
+ "description": "Cette compétence permet d'afficher un éditeur JSON dans une page web. L'utilisateur peut modifier le contenu JSON et récupérer le contenu modifié.",
7
+ "version": "0.1.0",
8
+ "x-icon": "📐"
9
+ },
10
+ "paths": {
11
+ "/digipair-jsoneditor": {
12
+ "post": {
13
+ "tags": ["web"],
14
+ "summary": "Editeur JSON",
15
+ "description": "Editeur JSON",
16
+ "parameters": [
17
+ {
18
+ "name": "json",
19
+ "summary": "Contenu JSON",
20
+ "required": false,
21
+ "description": "Contenu json à afficher dans l'éditeur",
22
+ "schema": {
23
+ "type": "object"
24
+ }
25
+ },
26
+ {
27
+ "name": "contentStyle",
28
+ "summary": "Style personnalisé du conteneur",
29
+ "required": false,
30
+ "description": "Style personnalisé du conteneur",
31
+ "schema": {
32
+ "type": "string"
33
+ }
34
+ }
35
+ ],
36
+ "x-events": [
37
+ {
38
+ "name": "change",
39
+ "summary": "Lors d'un changement",
40
+ "required": false,
41
+ "description": "Action déclenchée lors d'un changement dans l'éditeur",
42
+ "schema": {
43
+ "type": "array",
44
+ "items": {
45
+ "$ref": "https://schemas.digipair.ai/pinsSettings"
46
+ }
47
+ }
48
+ }
49
+ ]
50
+ }
51
+ }
52
+ },
53
+ "components": {
54
+ "schemas": {}
55
+ }
56
+ }
package/schema.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "openapi": "3.0.0",
3
3
  "info": {
4
4
  "title": "@digipair/skill-web-jsoneditor",
5
- "summary": "Editeur JSON",
6
- "description": "Cette compétence permet d'afficher un éditeur JSON dans une page web. L'utilisateur peut modifier le contenu JSON et récupérer le contenu modifié.",
5
+ "summary": "JSON Editor",
6
+ "description": "This skill allows displaying a JSON editor on a web page. The user can modify the JSON content and retrieve the modified content.",
7
7
  "version": "0.1.0",
8
8
  "x-icon": "📐"
9
9
  },
@@ -11,23 +11,23 @@
11
11
  "/digipair-jsoneditor": {
12
12
  "post": {
13
13
  "tags": ["web"],
14
- "summary": "Editeur JSON",
15
- "description": "Editeur JSON",
14
+ "summary": "JSON Editor",
15
+ "description": "JSON Editor",
16
16
  "parameters": [
17
17
  {
18
18
  "name": "json",
19
- "summary": "Contenu JSON",
19
+ "summary": "JSON Content",
20
20
  "required": false,
21
- "description": "Contenu json à afficher dans l'éditeur",
21
+ "description": "JSON content to display in the editor",
22
22
  "schema": {
23
23
  "type": "object"
24
24
  }
25
25
  },
26
26
  {
27
27
  "name": "contentStyle",
28
- "summary": "Style personnalisé du conteneur",
28
+ "summary": "Custom Container Style",
29
29
  "required": false,
30
- "description": "Style personnalisé du conteneur",
30
+ "description": "Custom style for the container",
31
31
  "schema": {
32
32
  "type": "string"
33
33
  }
@@ -36,9 +36,9 @@
36
36
  "x-events": [
37
37
  {
38
38
  "name": "change",
39
- "summary": "Lors d'un changement",
39
+ "summary": "On Change",
40
40
  "required": false,
41
- "description": "Action déclenchée lors d'un changement dans l'éditeur",
41
+ "description": "Action triggered when a change occurs in the editor",
42
42
  "schema": {
43
43
  "type": "array",
44
44
  "items": {