@digipair/skill-web-chatbot 0.108.2 → 0.109.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.cjs2.js +7 -6
- package/index.esm2.js +2 -1
- 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 i = i1,
|
|
37755
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
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 i = i1,
|
|
37762
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
37763
37763
|
}
|
|
37764
37764
|
tokens1 = _to_consumable_array$f(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 i = i1,
|
|
37781
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "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 i = i1,
|
|
37800
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
37801
37801
|
}
|
|
37802
|
-
return i = i1,
|
|
37802
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
37803
37803
|
v: nextMatch1
|
|
37804
37804
|
};
|
|
37805
37805
|
};
|
|
@@ -77949,7 +77949,8 @@ class ChatbotElement extends r$3 {
|
|
|
77949
77949
|
<img
|
|
77950
77950
|
@click=${()=>this.resultState !== 'closed' ? this.closeResult() : this.openResult()}
|
|
77951
77951
|
class="logo ${this.loading ? 'loading' : ''}"
|
|
77952
|
-
src
|
|
77952
|
+
src="${this.apiUrl}/${this.code}/avatar.png"
|
|
77953
|
+
alt="Agent Avatar"
|
|
77953
77954
|
/>
|
|
77954
77955
|
</section>
|
|
77955
77956
|
`;
|
package/index.esm2.js
CHANGED
|
@@ -77929,7 +77929,8 @@ class ChatbotElement extends r$3 {
|
|
|
77929
77929
|
<img
|
|
77930
77930
|
@click=${()=>this.resultState !== 'closed' ? this.closeResult() : this.openResult()}
|
|
77931
77931
|
class="logo ${this.loading ? 'loading' : ''}"
|
|
77932
|
-
src
|
|
77932
|
+
src="${this.apiUrl}/${this.code}/avatar.png"
|
|
77933
|
+
alt="Agent Avatar"
|
|
77933
77934
|
/>
|
|
77934
77935
|
</section>
|
|
77935
77936
|
`;
|