@digipair/skill-web-chatbot 0.70.0 → 0.70.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 +9 -9
- package/index.esm2.js +9 -9
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -37752,14 +37752,14 @@ function indent(str, spaces) {
|
|
|
37752
37752
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
37753
37753
|
// match is required
|
|
37754
37754
|
if (!match) {
|
|
37755
|
-
return
|
|
37755
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
37756
37756
|
v: nextMatch1
|
|
37757
37757
|
};
|
|
37758
37758
|
}
|
|
37759
37759
|
var token = match.token, offset = match.offset;
|
|
37760
37760
|
i1 += offset;
|
|
37761
37761
|
if (token === " ") {
|
|
37762
|
-
return
|
|
37762
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
37763
37763
|
}
|
|
37764
37764
|
tokens1 = _to_consumable_array$c(tokens1).concat([
|
|
37765
37765
|
token
|
|
@@ -37778,7 +37778,7 @@ function indent(str, spaces) {
|
|
|
37778
37778
|
if (contextKeys.some(function(el) {
|
|
37779
37779
|
return el.startsWith(name);
|
|
37780
37780
|
})) {
|
|
37781
|
-
return
|
|
37781
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
37782
37782
|
}
|
|
37783
37783
|
if (dateTimeIdentifiers.some(function(el) {
|
|
37784
37784
|
return el === name;
|
|
@@ -37797,9 +37797,9 @@ function indent(str, spaces) {
|
|
|
37797
37797
|
if (dateTimeIdentifiers.some(function(el) {
|
|
37798
37798
|
return el.startsWith(name);
|
|
37799
37799
|
})) {
|
|
37800
|
-
return
|
|
37800
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
37801
37801
|
}
|
|
37802
|
-
return
|
|
37802
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
37803
37803
|
v: nextMatch1
|
|
37804
37804
|
};
|
|
37805
37805
|
};
|
|
@@ -57950,14 +57950,14 @@ class ChatElement extends r$3 {
|
|
|
57950
57950
|
|
|
57951
57951
|
<section class="sources">
|
|
57952
57952
|
${(_message_sources = message.sources) == null ? void 0 : _message_sources.map((source)=>{
|
|
57953
|
-
var
|
|
57953
|
+
var _source_document_url;
|
|
57954
57954
|
return x`
|
|
57955
57955
|
<a
|
|
57956
|
-
class="source ${source.
|
|
57957
|
-
href=${(
|
|
57956
|
+
class="source ${source.document_url ? 'has-link' : ''}"
|
|
57957
|
+
href=${(_source_document_url = source.document_url) != null ? _source_document_url : 'javascript:'}
|
|
57958
57958
|
target="_blank"
|
|
57959
57959
|
>
|
|
57960
|
-
${source.
|
|
57960
|
+
${source.document_name}
|
|
57961
57961
|
<div class="trust-bar">
|
|
57962
57962
|
<div
|
|
57963
57963
|
class="trust-bar-fill"
|
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 i = i1,
|
|
37735
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
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 i = i1,
|
|
37742
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "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 i = i1,
|
|
37761
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "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 i = i1,
|
|
37780
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
37781
37781
|
}
|
|
37782
|
-
return i = i1,
|
|
37782
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
37783
37783
|
v: nextMatch1
|
|
37784
37784
|
};
|
|
37785
37785
|
};
|
|
@@ -57930,14 +57930,14 @@ class ChatElement extends r$3 {
|
|
|
57930
57930
|
|
|
57931
57931
|
<section class="sources">
|
|
57932
57932
|
${(_message_sources = message.sources) == null ? void 0 : _message_sources.map((source)=>{
|
|
57933
|
-
var
|
|
57933
|
+
var _source_document_url;
|
|
57934
57934
|
return x`
|
|
57935
57935
|
<a
|
|
57936
|
-
class="source ${source.
|
|
57937
|
-
href=${(
|
|
57936
|
+
class="source ${source.document_url ? 'has-link' : ''}"
|
|
57937
|
+
href=${(_source_document_url = source.document_url) != null ? _source_document_url : 'javascript:'}
|
|
57938
57938
|
target="_blank"
|
|
57939
57939
|
>
|
|
57940
|
-
${source.
|
|
57940
|
+
${source.document_name}
|
|
57941
57941
|
<div class="trust-bar">
|
|
57942
57942
|
<div
|
|
57943
57943
|
class="trust-bar-fill"
|