@digipair/skill-web-chatbot 0.5.11 → 0.5.12
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 +15 -12
- package/index.esm2.js +15 -12
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -51882,14 +51882,14 @@ function indent(str, spaces) {
|
|
|
51882
51882
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
51883
51883
|
// match is required
|
|
51884
51884
|
if (!match) {
|
|
51885
|
-
return
|
|
51885
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
51886
51886
|
v: nextMatch1
|
|
51887
51887
|
};
|
|
51888
51888
|
}
|
|
51889
51889
|
var token = match.token, offset = match.offset;
|
|
51890
51890
|
i1 += offset;
|
|
51891
51891
|
if (token === " ") {
|
|
51892
|
-
return
|
|
51892
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
51893
51893
|
}
|
|
51894
51894
|
tokens1 = _to_consumable_array$9(tokens1).concat([
|
|
51895
51895
|
token
|
|
@@ -51908,7 +51908,7 @@ function indent(str, spaces) {
|
|
|
51908
51908
|
if (contextKeys.some(function(el) {
|
|
51909
51909
|
return el.startsWith(name);
|
|
51910
51910
|
})) {
|
|
51911
|
-
return
|
|
51911
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
51912
51912
|
}
|
|
51913
51913
|
if (dateTimeIdentifiers.some(function(el) {
|
|
51914
51914
|
return el === name;
|
|
@@ -51927,9 +51927,9 @@ function indent(str, spaces) {
|
|
|
51927
51927
|
if (dateTimeIdentifiers.some(function(el) {
|
|
51928
51928
|
return el.startsWith(name);
|
|
51929
51929
|
})) {
|
|
51930
|
-
return
|
|
51930
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
51931
51931
|
}
|
|
51932
|
-
return
|
|
51932
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
51933
51933
|
v: nextMatch1
|
|
51934
51934
|
};
|
|
51935
51935
|
};
|
|
@@ -56126,7 +56126,7 @@ ChatElement.styles = [
|
|
|
56126
56126
|
); /* Couleur de fond des messages de l'assistant */
|
|
56127
56127
|
color: var(
|
|
56128
56128
|
--digipair-color-text-primary,
|
|
56129
|
-
#
|
|
56129
|
+
#242e3b
|
|
56130
56130
|
); /* Couleur du texte des messages de l'assistant */
|
|
56131
56131
|
align-self: flex-start;
|
|
56132
56132
|
margin-right: auto;
|
|
@@ -56136,18 +56136,18 @@ ChatElement.styles = [
|
|
|
56136
56136
|
background-color: var(--digipair-color-secondary, #242e3b);
|
|
56137
56137
|
color: var(
|
|
56138
56138
|
--digipair-color-text-secondary,
|
|
56139
|
-
#
|
|
56139
|
+
#FFFFFF
|
|
56140
56140
|
); /* Couleur du texte des messages de l'utilisateur */
|
|
56141
56141
|
align-self: flex-end;
|
|
56142
56142
|
margin-left: auto;
|
|
56143
56143
|
}
|
|
56144
56144
|
|
|
56145
56145
|
.assistant a {
|
|
56146
|
-
color: var(--digipair-color-text-primary, #
|
|
56146
|
+
color: var(--digipair-color-text-primary, #242e3b);
|
|
56147
56147
|
}
|
|
56148
56148
|
|
|
56149
56149
|
.user a {
|
|
56150
|
-
color: var(--digipair-color-text-secondary, #
|
|
56150
|
+
color: var(--digipair-color-text-secondary, #FFFFFF);
|
|
56151
56151
|
}
|
|
56152
56152
|
|
|
56153
56153
|
.input-container {
|
|
@@ -57972,9 +57972,9 @@ class ChatbotElement extends s$3 {
|
|
|
57972
57972
|
return x`
|
|
57973
57973
|
<style>
|
|
57974
57974
|
--digipair-color-primary: ${this.metadata.primary};
|
|
57975
|
-
--digipair-color-primary: ${this.metadata.secondary};
|
|
57976
57975
|
--digipair-color-text-primary: ${this.metadata.textPrimary};
|
|
57977
|
-
--digipair-color-
|
|
57976
|
+
--digipair-color-secondary: ${this.metadata.secondary};
|
|
57977
|
+
--digipair-color-text-secondary: ${this.metadata.textSecondary};
|
|
57978
57978
|
</style>
|
|
57979
57979
|
|
|
57980
57980
|
<section class="container result-${this.resultState}">
|
|
@@ -58008,7 +58008,10 @@ class ChatbotElement extends s$3 {
|
|
|
58008
58008
|
`}
|
|
58009
58009
|
</section>
|
|
58010
58010
|
|
|
58011
|
-
<section
|
|
58011
|
+
<section
|
|
58012
|
+
class="panel"
|
|
58013
|
+
style="border: 1px solid var(--digipair-color-primary, #52DFDB)"
|
|
58014
|
+
></section>
|
|
58012
58015
|
<img
|
|
58013
58016
|
@click=${()=>this.resultState !== 'closed' ? this.closeResult() : this.openResult()}
|
|
58014
58017
|
class="logo ${this.loading ? 'loading' : ''}"
|
package/index.esm2.js
CHANGED
|
@@ -51862,14 +51862,14 @@ function indent(str, spaces) {
|
|
|
51862
51862
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
51863
51863
|
// match is required
|
|
51864
51864
|
if (!match) {
|
|
51865
|
-
return
|
|
51865
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
51866
51866
|
v: nextMatch1
|
|
51867
51867
|
};
|
|
51868
51868
|
}
|
|
51869
51869
|
var token = match.token, offset = match.offset;
|
|
51870
51870
|
i1 += offset;
|
|
51871
51871
|
if (token === " ") {
|
|
51872
|
-
return
|
|
51872
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
51873
51873
|
}
|
|
51874
51874
|
tokens1 = _to_consumable_array$9(tokens1).concat([
|
|
51875
51875
|
token
|
|
@@ -51888,7 +51888,7 @@ function indent(str, spaces) {
|
|
|
51888
51888
|
if (contextKeys.some(function(el) {
|
|
51889
51889
|
return el.startsWith(name);
|
|
51890
51890
|
})) {
|
|
51891
|
-
return
|
|
51891
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
51892
51892
|
}
|
|
51893
51893
|
if (dateTimeIdentifiers.some(function(el) {
|
|
51894
51894
|
return el === name;
|
|
@@ -51907,9 +51907,9 @@ function indent(str, spaces) {
|
|
|
51907
51907
|
if (dateTimeIdentifiers.some(function(el) {
|
|
51908
51908
|
return el.startsWith(name);
|
|
51909
51909
|
})) {
|
|
51910
|
-
return
|
|
51910
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
51911
51911
|
}
|
|
51912
|
-
return
|
|
51912
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
51913
51913
|
v: nextMatch1
|
|
51914
51914
|
};
|
|
51915
51915
|
};
|
|
@@ -56106,7 +56106,7 @@ ChatElement.styles = [
|
|
|
56106
56106
|
); /* Couleur de fond des messages de l'assistant */
|
|
56107
56107
|
color: var(
|
|
56108
56108
|
--digipair-color-text-primary,
|
|
56109
|
-
#
|
|
56109
|
+
#242e3b
|
|
56110
56110
|
); /* Couleur du texte des messages de l'assistant */
|
|
56111
56111
|
align-self: flex-start;
|
|
56112
56112
|
margin-right: auto;
|
|
@@ -56116,18 +56116,18 @@ ChatElement.styles = [
|
|
|
56116
56116
|
background-color: var(--digipair-color-secondary, #242e3b);
|
|
56117
56117
|
color: var(
|
|
56118
56118
|
--digipair-color-text-secondary,
|
|
56119
|
-
#
|
|
56119
|
+
#FFFFFF
|
|
56120
56120
|
); /* Couleur du texte des messages de l'utilisateur */
|
|
56121
56121
|
align-self: flex-end;
|
|
56122
56122
|
margin-left: auto;
|
|
56123
56123
|
}
|
|
56124
56124
|
|
|
56125
56125
|
.assistant a {
|
|
56126
|
-
color: var(--digipair-color-text-primary, #
|
|
56126
|
+
color: var(--digipair-color-text-primary, #242e3b);
|
|
56127
56127
|
}
|
|
56128
56128
|
|
|
56129
56129
|
.user a {
|
|
56130
|
-
color: var(--digipair-color-text-secondary, #
|
|
56130
|
+
color: var(--digipair-color-text-secondary, #FFFFFF);
|
|
56131
56131
|
}
|
|
56132
56132
|
|
|
56133
56133
|
.input-container {
|
|
@@ -57952,9 +57952,9 @@ class ChatbotElement extends s$3 {
|
|
|
57952
57952
|
return x`
|
|
57953
57953
|
<style>
|
|
57954
57954
|
--digipair-color-primary: ${this.metadata.primary};
|
|
57955
|
-
--digipair-color-primary: ${this.metadata.secondary};
|
|
57956
57955
|
--digipair-color-text-primary: ${this.metadata.textPrimary};
|
|
57957
|
-
--digipair-color-
|
|
57956
|
+
--digipair-color-secondary: ${this.metadata.secondary};
|
|
57957
|
+
--digipair-color-text-secondary: ${this.metadata.textSecondary};
|
|
57958
57958
|
</style>
|
|
57959
57959
|
|
|
57960
57960
|
<section class="container result-${this.resultState}">
|
|
@@ -57988,7 +57988,10 @@ class ChatbotElement extends s$3 {
|
|
|
57988
57988
|
`}
|
|
57989
57989
|
</section>
|
|
57990
57990
|
|
|
57991
|
-
<section
|
|
57991
|
+
<section
|
|
57992
|
+
class="panel"
|
|
57993
|
+
style="border: 1px solid var(--digipair-color-primary, #52DFDB)"
|
|
57994
|
+
></section>
|
|
57992
57995
|
<img
|
|
57993
57996
|
@click=${()=>this.resultState !== 'closed' ? this.closeResult() : this.openResult()}
|
|
57994
57997
|
class="logo ${this.loading ? 'loading' : ''}"
|