@digipair/skill-web-chatbot 0.38.4 → 0.38.6

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 CHANGED
@@ -37342,14 +37342,14 @@ function indent(str, spaces) {
37342
37342
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
37343
37343
  // match is required
37344
37344
  if (!match) {
37345
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
37345
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
37346
37346
  v: nextMatch1
37347
37347
  };
37348
37348
  }
37349
37349
  var token = match.token, offset = match.offset;
37350
37350
  i1 += offset;
37351
37351
  if (token === " ") {
37352
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
37352
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
37353
37353
  }
37354
37354
  tokens1 = _to_consumable_array$c(tokens1).concat([
37355
37355
  token
@@ -37368,7 +37368,7 @@ function indent(str, spaces) {
37368
37368
  if (contextKeys.some(function(el) {
37369
37369
  return el.startsWith(name);
37370
37370
  })) {
37371
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
37371
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
37372
37372
  }
37373
37373
  if (dateTimeIdentifiers.some(function(el) {
37374
37374
  return el === name;
@@ -37387,9 +37387,9 @@ function indent(str, spaces) {
37387
37387
  if (dateTimeIdentifiers.some(function(el) {
37388
37388
  return el.startsWith(name);
37389
37389
  })) {
37390
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
37390
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
37391
37391
  }
37392
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
37392
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
37393
37393
  v: nextMatch1
37394
37394
  };
37395
37395
  };
@@ -57391,7 +57391,7 @@ class ChatElement extends s$3 {
57391
57391
  ></digipair-chatbot-inputs>
57392
57392
 
57393
57393
  ${!this.loading ? T : x`<section class="loading">
57394
- <span class="step">${this.loadingStep}</span><img src=${WRITTING_IMAGE} />
57394
+ <img src=${WRITTING_IMAGE} /><span class="step">${this.loadingStep}</span>
57395
57395
  </section>`}
57396
57396
  </section>
57397
57397
 
@@ -57641,7 +57641,7 @@ ChatElement.styles = [
57641
57641
  }
57642
57642
 
57643
57643
  .loading {
57644
- overflow: visible;
57644
+ overflow: visible !important;
57645
57645
  }
57646
57646
 
57647
57647
  .loading .step {
@@ -59419,7 +59419,7 @@ class ChatbotElement extends s$3 {
59419
59419
  config: this.metadata.config,
59420
59420
  variables: this.metadata.variables
59421
59421
  }}
59422
- currentStep=${this.loadingStep}
59422
+ loadingStep=${this.loadingStep}
59423
59423
  @prompt=${(event)=>this.execute(this.currentBoost, event.detail.prompt)}
59424
59424
  @boost=${(event)=>this.setBoost(event.detail)}
59425
59425
  ></digipair-chatbot-chat>
@@ -59623,50 +59623,7 @@ const styles = i$5`
59623
59623
  border: 1px solid rgb(134, 255, 0);
59624
59624
  color: rgb(60, 60, 60);
59625
59625
  }
59626
- `; /*
59627
- .result {
59628
- position: absolute;
59629
- left: 0;
59630
- right: 0;
59631
- top: 0;
59632
- bottom: 0;
59633
- }
59634
-
59635
- .input-container {
59636
- position: absolute;
59637
- bottom: 0px;
59638
- right: 0;
59639
- left: 0;
59640
- height: 50px;
59641
- }
59642
-
59643
- .input {
59644
- position: absolute;
59645
- top: 0;
59646
- bottom: 5px;
59647
- left: 8px;
59648
- right: 40px;
59649
- margin-top: 5px;
59650
- }
59651
-
59652
- #messageInput {
59653
- width: 100%;
59654
- height: 100%;
59655
- }
59656
-
59657
- [name="microphone"] {
59658
- position: absolute;
59659
- right: 10px;
59660
- top: 12px;
59661
- }
59662
-
59663
- [name="begin"] {
59664
- position: absolute;
59665
- right: 10px;
59666
- top: 40px;
59667
- }
59668
-
59669
- */
59626
+ `;
59670
59627
 
59671
59628
  class DigipairFullElement extends s$3 {
59672
59629
  CHAT_COMMAND(digipair, reasoning) {
@@ -59885,7 +59842,7 @@ class DigipairFullElement extends s$3 {
59885
59842
  config: this.metadata.config,
59886
59843
  variables: this.metadata.variables
59887
59844
  }}
59888
- currentStep=${this.loadingStep}
59845
+ loadingStep=${this.loadingStep}
59889
59846
  @prompt=${(event)=>this.execute(this.currentBoost, event.detail.prompt)}
59890
59847
  @boost=${(event)=>this.setBoost(event.detail)}
59891
59848
  ></digipair-chatbot-chat>
package/index.esm2.js CHANGED
@@ -57371,7 +57371,7 @@ class ChatElement extends s$3 {
57371
57371
  ></digipair-chatbot-inputs>
57372
57372
 
57373
57373
  ${!this.loading ? T : x`<section class="loading">
57374
- <span class="step">${this.loadingStep}</span><img src=${WRITTING_IMAGE} />
57374
+ <img src=${WRITTING_IMAGE} /><span class="step">${this.loadingStep}</span>
57375
57375
  </section>`}
57376
57376
  </section>
57377
57377
 
@@ -57621,7 +57621,7 @@ ChatElement.styles = [
57621
57621
  }
57622
57622
 
57623
57623
  .loading {
57624
- overflow: visible;
57624
+ overflow: visible !important;
57625
57625
  }
57626
57626
 
57627
57627
  .loading .step {
@@ -59399,7 +59399,7 @@ class ChatbotElement extends s$3 {
59399
59399
  config: this.metadata.config,
59400
59400
  variables: this.metadata.variables
59401
59401
  }}
59402
- currentStep=${this.loadingStep}
59402
+ loadingStep=${this.loadingStep}
59403
59403
  @prompt=${(event)=>this.execute(this.currentBoost, event.detail.prompt)}
59404
59404
  @boost=${(event)=>this.setBoost(event.detail)}
59405
59405
  ></digipair-chatbot-chat>
@@ -59603,50 +59603,7 @@ const styles = i$5`
59603
59603
  border: 1px solid rgb(134, 255, 0);
59604
59604
  color: rgb(60, 60, 60);
59605
59605
  }
59606
- `; /*
59607
- .result {
59608
- position: absolute;
59609
- left: 0;
59610
- right: 0;
59611
- top: 0;
59612
- bottom: 0;
59613
- }
59614
-
59615
- .input-container {
59616
- position: absolute;
59617
- bottom: 0px;
59618
- right: 0;
59619
- left: 0;
59620
- height: 50px;
59621
- }
59622
-
59623
- .input {
59624
- position: absolute;
59625
- top: 0;
59626
- bottom: 5px;
59627
- left: 8px;
59628
- right: 40px;
59629
- margin-top: 5px;
59630
- }
59631
-
59632
- #messageInput {
59633
- width: 100%;
59634
- height: 100%;
59635
- }
59636
-
59637
- [name="microphone"] {
59638
- position: absolute;
59639
- right: 10px;
59640
- top: 12px;
59641
- }
59642
-
59643
- [name="begin"] {
59644
- position: absolute;
59645
- right: 10px;
59646
- top: 40px;
59647
- }
59648
-
59649
- */
59606
+ `;
59650
59607
 
59651
59608
  class DigipairFullElement extends s$3 {
59652
59609
  CHAT_COMMAND(digipair, reasoning) {
@@ -59865,7 +59822,7 @@ class DigipairFullElement extends s$3 {
59865
59822
  config: this.metadata.config,
59866
59823
  variables: this.metadata.variables
59867
59824
  }}
59868
- currentStep=${this.loadingStep}
59825
+ loadingStep=${this.loadingStep}
59869
59826
  @prompt=${(event)=>this.execute(this.currentBoost, event.detail.prompt)}
59870
59827
  @boost=${(event)=>this.setBoost(event.detail)}
59871
59828
  ></digipair-chatbot-chat>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.38.4",
3
+ "version": "0.38.6",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",