@digipair/engine 0.8.7 → 0.8.9
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 +1 -5
- package/index.esm.js +7 -10
- package/libs/engine/src/lib/engine.d.ts +0 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -27350,10 +27350,7 @@ const _config = globalInstance.__DIGIPAIR_CONFIG__ = (_globalInstance___DIGIPAIR
|
|
27350
27350
|
};
|
27351
27351
|
const config = {
|
27352
27352
|
set: (key, value)=>{
|
27353
|
-
_config[key] = key === 'LIBRARIES' && _config[key] ? [
|
27354
|
-
..._config[key],
|
27355
|
-
...value
|
27356
|
-
] : value;
|
27353
|
+
_config[key] = key === 'LIBRARIES' && _config[key] ? _extends({}, _config[key], value) : value;
|
27357
27354
|
}
|
27358
27355
|
};
|
27359
27356
|
const applyTemplate = (value, context)=>{
|
@@ -27530,7 +27527,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
27530
27527
|
|
27531
27528
|
exports.applyTemplate = applyTemplate;
|
27532
27529
|
exports.config = config;
|
27533
|
-
exports.executePins = executePins;
|
27534
27530
|
exports.executePinsList = executePinsList;
|
27535
27531
|
exports.generateElementFromPins = generateElementFromPins;
|
27536
27532
|
exports.preparePinsSettings = preparePinsSettings;
|
package/index.esm.js
CHANGED
@@ -23488,14 +23488,14 @@ function indent(str, spaces) {
|
|
23488
23488
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23489
23489
|
// match is required
|
23490
23490
|
if (!match) {
|
23491
|
-
return
|
23491
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
23492
23492
|
v: nextMatch1
|
23493
23493
|
};
|
23494
23494
|
}
|
23495
23495
|
var token = match.token, offset = match.offset;
|
23496
23496
|
i1 += offset;
|
23497
23497
|
if (token === " ") {
|
23498
|
-
return
|
23498
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23499
23499
|
}
|
23500
23500
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23501
23501
|
token
|
@@ -23514,7 +23514,7 @@ function indent(str, spaces) {
|
|
23514
23514
|
if (contextKeys.some(function(el) {
|
23515
23515
|
return el.startsWith(name);
|
23516
23516
|
})) {
|
23517
|
-
return
|
23517
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23518
23518
|
}
|
23519
23519
|
if (dateTimeIdentifiers.some(function(el) {
|
23520
23520
|
return el === name;
|
@@ -23533,9 +23533,9 @@ function indent(str, spaces) {
|
|
23533
23533
|
if (dateTimeIdentifiers.some(function(el) {
|
23534
23534
|
return el.startsWith(name);
|
23535
23535
|
})) {
|
23536
|
-
return
|
23536
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23537
23537
|
}
|
23538
|
-
return
|
23538
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
23539
23539
|
v: nextMatch1
|
23540
23540
|
};
|
23541
23541
|
};
|
@@ -27328,10 +27328,7 @@ const _config = globalInstance.__DIGIPAIR_CONFIG__ = (_globalInstance___DIGIPAIR
|
|
27328
27328
|
};
|
27329
27329
|
const config = {
|
27330
27330
|
set: (key, value)=>{
|
27331
|
-
_config[key] = key === 'LIBRARIES' && _config[key] ? [
|
27332
|
-
..._config[key],
|
27333
|
-
...value
|
27334
|
-
] : value;
|
27331
|
+
_config[key] = key === 'LIBRARIES' && _config[key] ? _extends({}, _config[key], value) : value;
|
27335
27332
|
}
|
27336
27333
|
};
|
27337
27334
|
const applyTemplate = (value, context)=>{
|
@@ -27506,4 +27503,4 @@ const preparePinsSettings = async (settings, context)=>{
|
|
27506
27503
|
});
|
27507
27504
|
};
|
27508
27505
|
|
27509
|
-
export { applyTemplate, config,
|
27506
|
+
export { applyTemplate, config, executePinsList, generateElementFromPins, preparePinsSettings };
|
@@ -4,11 +4,6 @@ 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 executePins: (settingsOrigin: PinsSettings, context?: any, options?: {
|
8
|
-
libraries: {
|
9
|
-
[key: string]: string;
|
10
|
-
};
|
11
|
-
}) => Promise<any>;
|
12
7
|
export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any, options?: {
|
13
8
|
libraries: {
|
14
9
|
[key: string]: string;
|