@digipair/skill-web-chatbot 0.59.2 → 0.60.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.cjs2.js +5 -1
- package/index.esm2.js +10 -6
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -41857,7 +41857,11 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
|
|
|
41857
41857
|
const item = pinsList[i];
|
|
41858
41858
|
await generateElementFromPins(item, element, context, document, options);
|
|
41859
41859
|
}
|
|
41860
|
-
parent == null ? void 0 : parent.
|
|
41860
|
+
if ((parent == null ? void 0 : parent.nodeName) === 'TEMPLATE') {
|
|
41861
|
+
parent.content.appendChild(element);
|
|
41862
|
+
} else {
|
|
41863
|
+
parent == null ? void 0 : parent.appendChild(element);
|
|
41864
|
+
}
|
|
41861
41865
|
return element;
|
|
41862
41866
|
};
|
|
41863
41867
|
const preparePinsSettings = async (settings, context)=>{
|
package/index.esm2.js
CHANGED
|
@@ -37732,14 +37732,14 @@ function indent(str, spaces) {
|
|
|
37732
37732
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
37733
37733
|
// match is required
|
|
37734
37734
|
if (!match) {
|
|
37735
|
-
return
|
|
37735
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
37736
37736
|
v: nextMatch1
|
|
37737
37737
|
};
|
|
37738
37738
|
}
|
|
37739
37739
|
var token = match.token, offset = match.offset;
|
|
37740
37740
|
i1 += offset;
|
|
37741
37741
|
if (token === " ") {
|
|
37742
|
-
return
|
|
37742
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
37743
37743
|
}
|
|
37744
37744
|
tokens1 = _to_consumable_array$c(tokens1).concat([
|
|
37745
37745
|
token
|
|
@@ -37758,7 +37758,7 @@ function indent(str, spaces) {
|
|
|
37758
37758
|
if (contextKeys.some(function(el) {
|
|
37759
37759
|
return el.startsWith(name);
|
|
37760
37760
|
})) {
|
|
37761
|
-
return
|
|
37761
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
37762
37762
|
}
|
|
37763
37763
|
if (dateTimeIdentifiers.some(function(el) {
|
|
37764
37764
|
return el === name;
|
|
@@ -37777,9 +37777,9 @@ function indent(str, spaces) {
|
|
|
37777
37777
|
if (dateTimeIdentifiers.some(function(el) {
|
|
37778
37778
|
return el.startsWith(name);
|
|
37779
37779
|
})) {
|
|
37780
|
-
return
|
|
37780
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
37781
37781
|
}
|
|
37782
|
-
return
|
|
37782
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
37783
37783
|
v: nextMatch1
|
|
37784
37784
|
};
|
|
37785
37785
|
};
|
|
@@ -41837,7 +41837,11 @@ const generateElementFromPins = async (pinsSettings, parent, context, document =
|
|
|
41837
41837
|
const item = pinsList[i];
|
|
41838
41838
|
await generateElementFromPins(item, element, context, document, options);
|
|
41839
41839
|
}
|
|
41840
|
-
parent == null ? void 0 : parent.
|
|
41840
|
+
if ((parent == null ? void 0 : parent.nodeName) === 'TEMPLATE') {
|
|
41841
|
+
parent.content.appendChild(element);
|
|
41842
|
+
} else {
|
|
41843
|
+
parent == null ? void 0 : parent.appendChild(element);
|
|
41844
|
+
}
|
|
41841
41845
|
return element;
|
|
41842
41846
|
};
|
|
41843
41847
|
const preparePinsSettings = async (settings, context)=>{
|