@digipair/skill-vespa 0.10.5 → 0.10.8
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 +10 -14
- package/index.esm.js +10 -14
- package/libs/engine/src/lib/engine.d.ts +2 -10
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -68122,14 +68122,14 @@ function indent(str, spaces) {
|
|
68122
68122
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
68123
68123
|
// match is required
|
68124
68124
|
if (!match) {
|
68125
|
-
return
|
68125
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
68126
68126
|
v: nextMatch1
|
68127
68127
|
};
|
68128
68128
|
}
|
68129
68129
|
var token = match.token, offset = match.offset;
|
68130
68130
|
i1 += offset;
|
68131
68131
|
if (token === " ") {
|
68132
|
-
return
|
68132
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
68133
68133
|
}
|
68134
68134
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
68135
68135
|
token
|
@@ -68148,7 +68148,7 @@ function indent(str, spaces) {
|
|
68148
68148
|
if (contextKeys.some(function(el) {
|
68149
68149
|
return el.startsWith(name);
|
68150
68150
|
})) {
|
68151
|
-
return
|
68151
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
68152
68152
|
}
|
68153
68153
|
if (dateTimeIdentifiers.some(function(el) {
|
68154
68154
|
return el === name;
|
@@ -68167,9 +68167,9 @@ function indent(str, spaces) {
|
|
68167
68167
|
if (dateTimeIdentifiers.some(function(el) {
|
68168
68168
|
return el.startsWith(name);
|
68169
68169
|
})) {
|
68170
|
-
return
|
68170
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
68171
68171
|
}
|
68172
|
-
return
|
68172
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
68173
68173
|
v: nextMatch1
|
68174
68174
|
};
|
68175
68175
|
};
|
@@ -71981,9 +71981,7 @@ const applyTemplate = (value, context)=>{
|
|
71981
71981
|
}
|
71982
71982
|
return result;
|
71983
71983
|
};
|
71984
|
-
const executePins = async (settingsOrigin, context = {}
|
71985
|
-
libraries: {}
|
71986
|
-
})=>{
|
71984
|
+
const executePins = async (settingsOrigin, context = {})=>{
|
71987
71985
|
var _settings_conditions;
|
71988
71986
|
const settings = await preparePinsSettings(settingsOrigin, context);
|
71989
71987
|
if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
|
@@ -72009,12 +72007,12 @@ const executePins = async (settingsOrigin, context = {}, options = {
|
|
72009
72007
|
if (typeof ((_itemSettings_conditions = itemSettings.conditions) == null ? void 0 : _itemSettings_conditions.if) !== 'undefined' && !itemSettings.conditions.if) {
|
72010
72008
|
continue;
|
72011
72009
|
}
|
72012
|
-
const itemResult = await executePins(itemSettingsOrigin, itemContext
|
72010
|
+
const itemResult = await executePins(itemSettingsOrigin, itemContext);
|
72013
72011
|
results.push(itemResult);
|
72014
72012
|
}
|
72015
72013
|
return results;
|
72016
72014
|
}
|
72017
|
-
const version =
|
72015
|
+
const version = context.config.VERSIONS[settings.library] || 'latest';
|
72018
72016
|
const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(`${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
|
72019
72017
|
const pins = library == null ? void 0 : library[settings.element];
|
72020
72018
|
if (!pins) {
|
@@ -72022,9 +72020,7 @@ const executePins = async (settingsOrigin, context = {}, options = {
|
|
72022
72020
|
}
|
72023
72021
|
return await pins(settings.properties, settings.pins, context);
|
72024
72022
|
};
|
72025
|
-
const executePinsList = async (pinsSettingsList, context
|
72026
|
-
libraries: {}
|
72027
|
-
})=>{
|
72023
|
+
const executePinsList = async (pinsSettingsList, context)=>{
|
72028
72024
|
let previous = {};
|
72029
72025
|
const steps = [];
|
72030
72026
|
// parcourir tous les pins
|
@@ -72045,7 +72041,7 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
72045
72041
|
steps: context.steps,
|
72046
72042
|
parent: context.parent
|
72047
72043
|
}
|
72048
|
-
})
|
72044
|
+
}));
|
72049
72045
|
steps[i] = {
|
72050
72046
|
name: settings.name,
|
72051
72047
|
result: previous
|
package/index.esm.js
CHANGED
@@ -68100,14 +68100,14 @@ function indent(str, spaces) {
|
|
68100
68100
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
68101
68101
|
// match is required
|
68102
68102
|
if (!match) {
|
68103
|
-
return
|
68103
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
68104
68104
|
v: nextMatch1
|
68105
68105
|
};
|
68106
68106
|
}
|
68107
68107
|
var token = match.token, offset = match.offset;
|
68108
68108
|
i1 += offset;
|
68109
68109
|
if (token === " ") {
|
68110
|
-
return
|
68110
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
68111
68111
|
}
|
68112
68112
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
68113
68113
|
token
|
@@ -68126,7 +68126,7 @@ function indent(str, spaces) {
|
|
68126
68126
|
if (contextKeys.some(function(el) {
|
68127
68127
|
return el.startsWith(name);
|
68128
68128
|
})) {
|
68129
|
-
return
|
68129
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
68130
68130
|
}
|
68131
68131
|
if (dateTimeIdentifiers.some(function(el) {
|
68132
68132
|
return el === name;
|
@@ -68145,9 +68145,9 @@ function indent(str, spaces) {
|
|
68145
68145
|
if (dateTimeIdentifiers.some(function(el) {
|
68146
68146
|
return el.startsWith(name);
|
68147
68147
|
})) {
|
68148
|
-
return
|
68148
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
68149
68149
|
}
|
68150
|
-
return
|
68150
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
68151
68151
|
v: nextMatch1
|
68152
68152
|
};
|
68153
68153
|
};
|
@@ -71959,9 +71959,7 @@ const applyTemplate = (value, context)=>{
|
|
71959
71959
|
}
|
71960
71960
|
return result;
|
71961
71961
|
};
|
71962
|
-
const executePins = async (settingsOrigin, context = {}
|
71963
|
-
libraries: {}
|
71964
|
-
})=>{
|
71962
|
+
const executePins = async (settingsOrigin, context = {})=>{
|
71965
71963
|
var _settings_conditions;
|
71966
71964
|
const settings = await preparePinsSettings(settingsOrigin, context);
|
71967
71965
|
if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
|
@@ -71987,12 +71985,12 @@ const executePins = async (settingsOrigin, context = {}, options = {
|
|
71987
71985
|
if (typeof ((_itemSettings_conditions = itemSettings.conditions) == null ? void 0 : _itemSettings_conditions.if) !== 'undefined' && !itemSettings.conditions.if) {
|
71988
71986
|
continue;
|
71989
71987
|
}
|
71990
|
-
const itemResult = await executePins(itemSettingsOrigin, itemContext
|
71988
|
+
const itemResult = await executePins(itemSettingsOrigin, itemContext);
|
71991
71989
|
results.push(itemResult);
|
71992
71990
|
}
|
71993
71991
|
return results;
|
71994
71992
|
}
|
71995
|
-
const version =
|
71993
|
+
const version = context.config.VERSIONS[settings.library] || 'latest';
|
71996
71994
|
const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await import(`${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
|
71997
71995
|
const pins = library == null ? void 0 : library[settings.element];
|
71998
71996
|
if (!pins) {
|
@@ -72000,9 +71998,7 @@ const executePins = async (settingsOrigin, context = {}, options = {
|
|
72000
71998
|
}
|
72001
71999
|
return await pins(settings.properties, settings.pins, context);
|
72002
72000
|
};
|
72003
|
-
const executePinsList = async (pinsSettingsList, context
|
72004
|
-
libraries: {}
|
72005
|
-
})=>{
|
72001
|
+
const executePinsList = async (pinsSettingsList, context)=>{
|
72006
72002
|
let previous = {};
|
72007
72003
|
const steps = [];
|
72008
72004
|
// parcourir tous les pins
|
@@ -72023,7 +72019,7 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
72023
72019
|
steps: context.steps,
|
72024
72020
|
parent: context.parent
|
72025
72021
|
}
|
72026
|
-
})
|
72022
|
+
}));
|
72027
72023
|
steps[i] = {
|
72028
72024
|
name: settings.name,
|
72029
72025
|
result: previous
|
@@ -4,15 +4,7 @@ export declare const config: {
|
|
4
4
|
set: (key: CONFIG_KEY, value: any) => void;
|
5
5
|
};
|
6
6
|
export declare const applyTemplate: (value: any, context: any) => any;
|
7
|
-
export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any
|
8
|
-
|
9
|
-
[key: string]: string;
|
10
|
-
};
|
11
|
-
}) => Promise<any>;
|
12
|
-
export declare const generateElementFromPins: (pinsSettings: PinsSettings, parent: Element, context: any, options?: {
|
13
|
-
libraries: {
|
14
|
-
[key: string]: string;
|
15
|
-
};
|
16
|
-
}) => Promise<Element | void>;
|
7
|
+
export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
8
|
+
export declare const generateElementFromPins: (pinsSettings: PinsSettings, parent: Element, context: any) => Promise<Element | void>;
|
17
9
|
export declare const preparePinsSettings: (settings: PinsSettings, context: any) => Promise<PinsSettings>;
|
18
10
|
export {};
|