@digipair/engine 0.59.2 → 0.60.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 +5 -1
- package/index.esm.js +10 -6
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -8346,7 +8346,11 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
|
|
8346
8346
|
const item = pinsList[i];
|
8347
8347
|
await generateElementFromPins(item, element, context, document, options);
|
8348
8348
|
}
|
8349
|
-
parent == null ? void 0 : parent.
|
8349
|
+
if ((parent == null ? void 0 : parent.nodeName) === 'TEMPLATE') {
|
8350
|
+
parent.content.appendChild(element);
|
8351
|
+
} else {
|
8352
|
+
parent == null ? void 0 : parent.appendChild(element);
|
8353
|
+
}
|
8350
8354
|
return element;
|
8351
8355
|
};
|
8352
8356
|
const preparePinsSettings = async (settings, context)=>{
|
package/index.esm.js
CHANGED
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
|
|
23899
23899
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23900
23900
|
// match is required
|
23901
23901
|
if (!match) {
|
23902
|
-
return
|
23902
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23903
23903
|
v: nextMatch1
|
23904
23904
|
};
|
23905
23905
|
}
|
23906
23906
|
var token = match.token, offset = match.offset;
|
23907
23907
|
i1 += offset;
|
23908
23908
|
if (token === " ") {
|
23909
|
-
return
|
23909
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23910
23910
|
}
|
23911
23911
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23912
23912
|
token
|
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
|
|
23925
23925
|
if (contextKeys.some(function(el) {
|
23926
23926
|
return el.startsWith(name);
|
23927
23927
|
})) {
|
23928
|
-
return
|
23928
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23929
23929
|
}
|
23930
23930
|
if (dateTimeIdentifiers.some(function(el) {
|
23931
23931
|
return el === name;
|
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
|
|
23944
23944
|
if (dateTimeIdentifiers.some(function(el) {
|
23945
23945
|
return el.startsWith(name);
|
23946
23946
|
})) {
|
23947
|
-
return
|
23947
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23948
23948
|
}
|
23949
|
-
return
|
23949
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23950
23950
|
v: nextMatch1
|
23951
23951
|
};
|
23952
23952
|
};
|
@@ -28004,7 +28004,11 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
|
|
28004
28004
|
const item = pinsList[i];
|
28005
28005
|
await generateElementFromPins(item, element, context, document, options);
|
28006
28006
|
}
|
28007
|
-
parent == null ? void 0 : parent.
|
28007
|
+
if ((parent == null ? void 0 : parent.nodeName) === 'TEMPLATE') {
|
28008
|
+
parent.content.appendChild(element);
|
28009
|
+
} else {
|
28010
|
+
parent == null ? void 0 : parent.appendChild(element);
|
28011
|
+
}
|
28008
28012
|
return element;
|
28009
28013
|
};
|
28010
28014
|
const preparePinsSettings = async (settings, context)=>{
|