@digipair/skill-web 0.7.0 → 0.7.1

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
@@ -23510,14 +23510,14 @@ function indent(str, spaces) {
23510
23510
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23511
23511
  // match is required
23512
23512
  if (!match) {
23513
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23513
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23514
23514
  v: nextMatch1
23515
23515
  };
23516
23516
  }
23517
23517
  var token = match.token, offset = match.offset;
23518
23518
  i1 += offset;
23519
23519
  if (token === " ") {
23520
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23520
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23521
23521
  }
23522
23522
  tokens1 = _to_consumable_array$1(tokens1).concat([
23523
23523
  token
@@ -23536,7 +23536,7 @@ function indent(str, spaces) {
23536
23536
  if (contextKeys.some(function(el) {
23537
23537
  return el.startsWith(name);
23538
23538
  })) {
23539
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23539
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23540
23540
  }
23541
23541
  if (dateTimeIdentifiers.some(function(el) {
23542
23542
  return el === name;
@@ -23555,9 +23555,9 @@ function indent(str, spaces) {
23555
23555
  if (dateTimeIdentifiers.some(function(el) {
23556
23556
  return el.startsWith(name);
23557
23557
  })) {
23558
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23558
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23559
23559
  }
23560
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23560
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23561
23561
  v: nextMatch1
23562
23562
  };
23563
23563
  };
@@ -27528,17 +27528,6 @@ let WebService = class WebService {
27528
27528
 
27529
27529
  return await result.json();
27530
27530
  },
27531
- requestUpdate: async (params, pinsSettingsList, context) => {
27532
- const { selector } = params;
27533
-
27534
- const elements = document.querySelectorAll(selector);
27535
- for (let i = 0; i < elements.length; i++) {
27536
- const element = elements[i];
27537
- element.requestUpdate();
27538
- }
27539
-
27540
- return null;
27541
- },
27542
27531
  };
27543
27532
 
27544
27533
  config.set('LIBRARIES', { '@digipair/skill-web': skillWeb, ...${JSON.stringify(libraries)} });
package/index.esm.js CHANGED
@@ -27506,17 +27506,6 @@ let WebService = class WebService {
27506
27506
 
27507
27507
  return await result.json();
27508
27508
  },
27509
- requestUpdate: async (params, pinsSettingsList, context) => {
27510
- const { selector } = params;
27511
-
27512
- const elements = document.querySelectorAll(selector);
27513
- for (let i = 0; i < elements.length; i++) {
27514
- const element = elements[i];
27515
- element.requestUpdate();
27516
- }
27517
-
27518
- return null;
27519
- },
27520
27509
  };
27521
27510
 
27522
27511
  config.set('LIBRARIES', { '@digipair/skill-web': skillWeb, ...${JSON.stringify(libraries)} });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.json CHANGED
@@ -29,49 +29,10 @@
29
29
  }
30
30
  ]
31
31
  }
32
- },
33
- "/requestUpdate": {
34
- "post": {
35
- "summary": "Mettre à jour les composants web",
36
- "description": "Mettre à jour un composant web",
37
- "tags": ["web"],
38
- "metadata": [],
39
- "parameters": [
40
- {
41
- "name": "selector",
42
- "summary": "Sélecteur CSS",
43
- "required": true,
44
- "description": "Sélecteur CSS permettant de sélectionner les composants à mettre à jour",
45
- "schema": {
46
- "type": "string"
47
- }
48
- }
49
- ]
50
- }
51
32
  }
52
33
  },
53
34
  "components": {
54
- "schemas": {
55
- "dataAttribute": {
56
- "tags": ["service"],
57
- "summary": "Paramètre",
58
- "type": "object",
59
- "properties": {
60
- "name": {
61
- "type": "string",
62
- "summary": "Nom"
63
- },
64
- "value": {
65
- "summary": "Valeur",
66
- "type": "array",
67
- "items": {
68
- "$ref": "https://www.pinser.world/schemas/pinsSettings"
69
- }
70
- }
71
- },
72
- "required": ["name", "value"]
73
- }
74
- }
35
+ "schemas": {}
75
36
  },
76
37
  "x-scene-blocks": {
77
38
  "/page": {