@digipair/skill-web-chatbot 0.33.9 → 0.33.10
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 +12 -8
- package/index.esm2.js +12 -8
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -36822,14 +36822,14 @@ function indent(str, spaces) {
|
|
|
36822
36822
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
36823
36823
|
// match is required
|
|
36824
36824
|
if (!match) {
|
|
36825
|
-
return
|
|
36825
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
36826
36826
|
v: nextMatch1
|
|
36827
36827
|
};
|
|
36828
36828
|
}
|
|
36829
36829
|
var token = match.token, offset = match.offset;
|
|
36830
36830
|
i1 += offset;
|
|
36831
36831
|
if (token === " ") {
|
|
36832
|
-
return
|
|
36832
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
36833
36833
|
}
|
|
36834
36834
|
tokens1 = _to_consumable_array$c(tokens1).concat([
|
|
36835
36835
|
token
|
|
@@ -36848,7 +36848,7 @@ function indent(str, spaces) {
|
|
|
36848
36848
|
if (contextKeys.some(function(el) {
|
|
36849
36849
|
return el.startsWith(name);
|
|
36850
36850
|
})) {
|
|
36851
|
-
return
|
|
36851
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
36852
36852
|
}
|
|
36853
36853
|
if (dateTimeIdentifiers.some(function(el) {
|
|
36854
36854
|
return el === name;
|
|
@@ -36867,9 +36867,9 @@ function indent(str, spaces) {
|
|
|
36867
36867
|
if (dateTimeIdentifiers.some(function(el) {
|
|
36868
36868
|
return el.startsWith(name);
|
|
36869
36869
|
})) {
|
|
36870
|
-
return
|
|
36870
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
36871
36871
|
}
|
|
36872
|
-
return
|
|
36872
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
36873
36873
|
v: nextMatch1
|
|
36874
36874
|
};
|
|
36875
36875
|
};
|
|
@@ -56857,7 +56857,7 @@ class ChatElement extends s$3 {
|
|
|
56857
56857
|
${!this.loading ? T : x`<section class="loading"><img src=${WRITTING_IMAGE} /></section>`}
|
|
56858
56858
|
</section>
|
|
56859
56859
|
|
|
56860
|
-
<section class="input-container">
|
|
56860
|
+
<section class="input-container ${this.currentBoost ? 'with-boost' : ''}">
|
|
56861
56861
|
<section class="input">
|
|
56862
56862
|
${((_this_currentBoost2 = this.currentBoost) == null ? void 0 : _this_currentBoost2.parent_history) ? x`
|
|
56863
56863
|
<section class="assistant">
|
|
@@ -57040,7 +57040,7 @@ ChatElement.styles = [
|
|
|
57040
57040
|
|
|
57041
57041
|
#messageInput {
|
|
57042
57042
|
width: 100%;
|
|
57043
|
-
height:
|
|
57043
|
+
height: 45px;
|
|
57044
57044
|
border: none;
|
|
57045
57045
|
outline: none;
|
|
57046
57046
|
resize: none;
|
|
@@ -57078,7 +57078,11 @@ ChatElement.styles = [
|
|
|
57078
57078
|
}
|
|
57079
57079
|
|
|
57080
57080
|
.container.with-boost {
|
|
57081
|
-
|
|
57081
|
+
bottom: 105px;
|
|
57082
|
+
}
|
|
57083
|
+
|
|
57084
|
+
.input-container.with-boost {
|
|
57085
|
+
height: 85px;
|
|
57082
57086
|
}
|
|
57083
57087
|
|
|
57084
57088
|
.input .assistant {
|
package/index.esm2.js
CHANGED
|
@@ -36802,14 +36802,14 @@ function indent(str, spaces) {
|
|
|
36802
36802
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
36803
36803
|
// match is required
|
|
36804
36804
|
if (!match) {
|
|
36805
|
-
return
|
|
36805
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
36806
36806
|
v: nextMatch1
|
|
36807
36807
|
};
|
|
36808
36808
|
}
|
|
36809
36809
|
var token = match.token, offset = match.offset;
|
|
36810
36810
|
i1 += offset;
|
|
36811
36811
|
if (token === " ") {
|
|
36812
|
-
return
|
|
36812
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
36813
36813
|
}
|
|
36814
36814
|
tokens1 = _to_consumable_array$c(tokens1).concat([
|
|
36815
36815
|
token
|
|
@@ -36828,7 +36828,7 @@ function indent(str, spaces) {
|
|
|
36828
36828
|
if (contextKeys.some(function(el) {
|
|
36829
36829
|
return el.startsWith(name);
|
|
36830
36830
|
})) {
|
|
36831
|
-
return
|
|
36831
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
36832
36832
|
}
|
|
36833
36833
|
if (dateTimeIdentifiers.some(function(el) {
|
|
36834
36834
|
return el === name;
|
|
@@ -36847,9 +36847,9 @@ function indent(str, spaces) {
|
|
|
36847
36847
|
if (dateTimeIdentifiers.some(function(el) {
|
|
36848
36848
|
return el.startsWith(name);
|
|
36849
36849
|
})) {
|
|
36850
|
-
return
|
|
36850
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
36851
36851
|
}
|
|
36852
|
-
return
|
|
36852
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
36853
36853
|
v: nextMatch1
|
|
36854
36854
|
};
|
|
36855
36855
|
};
|
|
@@ -56837,7 +56837,7 @@ class ChatElement extends s$3 {
|
|
|
56837
56837
|
${!this.loading ? T : x`<section class="loading"><img src=${WRITTING_IMAGE} /></section>`}
|
|
56838
56838
|
</section>
|
|
56839
56839
|
|
|
56840
|
-
<section class="input-container">
|
|
56840
|
+
<section class="input-container ${this.currentBoost ? 'with-boost' : ''}">
|
|
56841
56841
|
<section class="input">
|
|
56842
56842
|
${((_this_currentBoost2 = this.currentBoost) == null ? void 0 : _this_currentBoost2.parent_history) ? x`
|
|
56843
56843
|
<section class="assistant">
|
|
@@ -57020,7 +57020,7 @@ ChatElement.styles = [
|
|
|
57020
57020
|
|
|
57021
57021
|
#messageInput {
|
|
57022
57022
|
width: 100%;
|
|
57023
|
-
height:
|
|
57023
|
+
height: 45px;
|
|
57024
57024
|
border: none;
|
|
57025
57025
|
outline: none;
|
|
57026
57026
|
resize: none;
|
|
@@ -57058,7 +57058,11 @@ ChatElement.styles = [
|
|
|
57058
57058
|
}
|
|
57059
57059
|
|
|
57060
57060
|
.container.with-boost {
|
|
57061
|
-
|
|
57061
|
+
bottom: 105px;
|
|
57062
|
+
}
|
|
57063
|
+
|
|
57064
|
+
.input-container.with-boost {
|
|
57065
|
+
height: 85px;
|
|
57062
57066
|
}
|
|
57063
57067
|
|
|
57064
57068
|
.input .assistant {
|