ide-assi 0.586.0 → 0.588.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.
@@ -202714,7 +202714,6 @@ class IdeAssi extends HTMLElement
202714
202714
  const tipPopup = this.shadowRoot.querySelector("ide-tip-popup");
202715
202715
  tipPopup.popup();
202716
202716
 
202717
- /**
202718
202717
  try {
202719
202718
  const changedSource = await this.#ai.generateSourceClient(userPrompt, apply);
202720
202719
  tipPopup.close();
@@ -202726,7 +202725,7 @@ class IdeAssi extends HTMLElement
202726
202725
  tipPopup.close();
202727
202726
  console.error(error);
202728
202727
  elAiChat.add("ai", String(error).replace("Error:", ""));
202729
- } */
202728
+ }
202730
202729
 
202731
202730
  this.#ing = false;
202732
202731
  }
@@ -202950,8 +202949,8 @@ class IdeLoadingTips extends HTMLElement {
202950
202949
  }
202951
202950
  </style>
202952
202951
  <div class="chat-message loading-tips-message">
202953
- <div class="loading-animation-wrapper">
202954
- <div class="loading-animation"></div>
202952
+ <div class="loading-bar-wrapper">
202953
+ <div class="loading-bar"></div>
202955
202954
  </div>
202956
202955
  <div class="tip-content">
202957
202956
  <div class="tip-image-container">
@@ -202964,6 +202963,12 @@ class IdeLoadingTips extends HTMLElement {
202964
202963
  </div>
202965
202964
  `;
202966
202965
 
202966
+ /**
202967
+ * <div class="loading-animation-wrapper">
202968
+ * <div class="loading-animation"></div>
202969
+ * </div>
202970
+ * @type {Element}
202971
+ */
202967
202972
  // Cache DOM element references
202968
202973
  this.tipElement = this.shadowRoot.querySelector('.current-tip');
202969
202974
  this.loadingAnimation = this.shadowRoot.querySelector('.loading-animation');
@@ -203015,7 +203020,7 @@ class IdeLoadingTips extends HTMLElement {
203015
203020
  }, this.#tipDisplayDuration);
203016
203021
 
203017
203022
  //this.loadingAnimation.style.display = 'block'; // Show the loading spinner
203018
- this.loadingAnimationWrapper.style.display = 'flex';
203023
+ //this.loadingAnimationWrapper.style.display = 'flex';
203019
203024
  } catch (error) {
203020
203025
  console.error("Error loading tips:", error);
203021
203026
  this.stopTips(); // Stop intervals and hide animations on error
@@ -203037,7 +203042,7 @@ class IdeLoadingTips extends HTMLElement {
203037
203042
  clearInterval(this.#imageIntervalId);
203038
203043
  this.#imageIntervalId = null;
203039
203044
  }
203040
- this.loadingAnimationWrapper.style.display = 'none';
203045
+ //this.loadingAnimationWrapper.style.display = 'none';
203041
203046
  this.tipImageElement.style.display = 'none'; // Hide image
203042
203047
  this.tipImageElement.src = ''; // Clear image source
203043
203048
  this.tipImageContainer.style.display = 'none'; // Hide image container
@@ -202710,7 +202710,6 @@ class IdeAssi extends HTMLElement
202710
202710
  const tipPopup = this.shadowRoot.querySelector("ide-tip-popup");
202711
202711
  tipPopup.popup();
202712
202712
 
202713
- /**
202714
202713
  try {
202715
202714
  const changedSource = await this.#ai.generateSourceClient(userPrompt, apply);
202716
202715
  tipPopup.close();
@@ -202722,7 +202721,7 @@ class IdeAssi extends HTMLElement
202722
202721
  tipPopup.close();
202723
202722
  console.error(error);
202724
202723
  elAiChat.add("ai", String(error).replace("Error:", ""));
202725
- } */
202724
+ }
202726
202725
 
202727
202726
  this.#ing = false;
202728
202727
  }
@@ -202946,8 +202945,8 @@ class IdeLoadingTips extends HTMLElement {
202946
202945
  }
202947
202946
  </style>
202948
202947
  <div class="chat-message loading-tips-message">
202949
- <div class="loading-animation-wrapper">
202950
- <div class="loading-animation"></div>
202948
+ <div class="loading-bar-wrapper">
202949
+ <div class="loading-bar"></div>
202951
202950
  </div>
202952
202951
  <div class="tip-content">
202953
202952
  <div class="tip-image-container">
@@ -202960,6 +202959,12 @@ class IdeLoadingTips extends HTMLElement {
202960
202959
  </div>
202961
202960
  `;
202962
202961
 
202962
+ /**
202963
+ * <div class="loading-animation-wrapper">
202964
+ * <div class="loading-animation"></div>
202965
+ * </div>
202966
+ * @type {Element}
202967
+ */
202963
202968
  // Cache DOM element references
202964
202969
  this.tipElement = this.shadowRoot.querySelector('.current-tip');
202965
202970
  this.loadingAnimation = this.shadowRoot.querySelector('.loading-animation');
@@ -203011,7 +203016,7 @@ class IdeLoadingTips extends HTMLElement {
203011
203016
  }, this.#tipDisplayDuration);
203012
203017
 
203013
203018
  //this.loadingAnimation.style.display = 'block'; // Show the loading spinner
203014
- this.loadingAnimationWrapper.style.display = 'flex';
203019
+ //this.loadingAnimationWrapper.style.display = 'flex';
203015
203020
  } catch (error) {
203016
203021
  console.error("Error loading tips:", error);
203017
203022
  this.stopTips(); // Stop intervals and hide animations on error
@@ -203033,7 +203038,7 @@ class IdeLoadingTips extends HTMLElement {
203033
203038
  clearInterval(this.#imageIntervalId);
203034
203039
  this.#imageIntervalId = null;
203035
203040
  }
203036
- this.loadingAnimationWrapper.style.display = 'none';
203041
+ //this.loadingAnimationWrapper.style.display = 'none';
203037
203042
  this.tipImageElement.style.display = 'none'; // Hide image
203038
203043
  this.tipImageElement.src = ''; // Clear image source
203039
203044
  this.tipImageContainer.style.display = 'none'; // Hide image container
@@ -172,7 +172,6 @@ export class IdeAssi extends HTMLElement
172
172
  const tipPopup = this.shadowRoot.querySelector("ide-tip-popup");
173
173
  tipPopup.popup();
174
174
 
175
- /**
176
175
  try {
177
176
  const changedSource = await this.#ai.generateSourceClient(userPrompt, apply);
178
177
  tipPopup.close();
@@ -184,7 +183,7 @@ export class IdeAssi extends HTMLElement
184
183
  tipPopup.close();
185
184
  console.error(error);
186
185
  elAiChat.add("ai", String(error).replace("Error:", ""));
187
- } */
186
+ }
188
187
 
189
188
  this.#ing = false;
190
189
  }
@@ -43,8 +43,8 @@ class IdeLoadingTips extends HTMLElement {
43
43
  }
44
44
  </style>
45
45
  <div class="chat-message loading-tips-message">
46
- <div class="loading-animation-wrapper">
47
- <div class="loading-animation"></div>
46
+ <div class="loading-bar-wrapper">
47
+ <div class="loading-bar"></div>
48
48
  </div>
49
49
  <div class="tip-content">
50
50
  <div class="tip-image-container">
@@ -57,6 +57,12 @@ class IdeLoadingTips extends HTMLElement {
57
57
  </div>
58
58
  `;
59
59
 
60
+ /**
61
+ * <div class="loading-animation-wrapper">
62
+ * <div class="loading-animation"></div>
63
+ * </div>
64
+ * @type {Element}
65
+ */
60
66
  // Cache DOM element references
61
67
  this.tipElement = this.shadowRoot.querySelector('.current-tip');
62
68
  this.loadingAnimation = this.shadowRoot.querySelector('.loading-animation');
@@ -108,7 +114,7 @@ class IdeLoadingTips extends HTMLElement {
108
114
  }, this.#tipDisplayDuration);
109
115
 
110
116
  //this.loadingAnimation.style.display = 'block'; // Show the loading spinner
111
- this.loadingAnimationWrapper.style.display = 'flex';
117
+ //this.loadingAnimationWrapper.style.display = 'flex';
112
118
  } catch (error) {
113
119
  console.error("Error loading tips:", error);
114
120
  this.stopTips(); // Stop intervals and hide animations on error
@@ -130,7 +136,7 @@ class IdeLoadingTips extends HTMLElement {
130
136
  clearInterval(this.#imageIntervalId);
131
137
  this.#imageIntervalId = null;
132
138
  }
133
- this.loadingAnimationWrapper.style.display = 'none';
139
+ //this.loadingAnimationWrapper.style.display = 'none';
134
140
  this.tipImageElement.style.display = 'none'; // Hide image
135
141
  this.tipImageElement.src = ''; // Clear image source
136
142
  this.tipImageContainer.style.display = 'none'; // Hide image container
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.586.0",
4
+ "version": "0.588.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -172,7 +172,6 @@ export class IdeAssi extends HTMLElement
172
172
  const tipPopup = this.shadowRoot.querySelector("ide-tip-popup");
173
173
  tipPopup.popup();
174
174
 
175
- /**
176
175
  try {
177
176
  const changedSource = await this.#ai.generateSourceClient(userPrompt, apply);
178
177
  tipPopup.close();
@@ -184,7 +183,7 @@ export class IdeAssi extends HTMLElement
184
183
  tipPopup.close();
185
184
  console.error(error);
186
185
  elAiChat.add("ai", String(error).replace("Error:", ""));
187
- } */
186
+ }
188
187
 
189
188
  this.#ing = false;
190
189
  }
@@ -43,8 +43,8 @@ class IdeLoadingTips extends HTMLElement {
43
43
  }
44
44
  </style>
45
45
  <div class="chat-message loading-tips-message">
46
- <div class="loading-animation-wrapper">
47
- <div class="loading-animation"></div>
46
+ <div class="loading-bar-wrapper">
47
+ <div class="loading-bar"></div>
48
48
  </div>
49
49
  <div class="tip-content">
50
50
  <div class="tip-image-container">
@@ -57,6 +57,12 @@ class IdeLoadingTips extends HTMLElement {
57
57
  </div>
58
58
  `;
59
59
 
60
+ /**
61
+ * <div class="loading-animation-wrapper">
62
+ * <div class="loading-animation"></div>
63
+ * </div>
64
+ * @type {Element}
65
+ */
60
66
  // Cache DOM element references
61
67
  this.tipElement = this.shadowRoot.querySelector('.current-tip');
62
68
  this.loadingAnimation = this.shadowRoot.querySelector('.loading-animation');
@@ -108,7 +114,7 @@ class IdeLoadingTips extends HTMLElement {
108
114
  }, this.#tipDisplayDuration);
109
115
 
110
116
  //this.loadingAnimation.style.display = 'block'; // Show the loading spinner
111
- this.loadingAnimationWrapper.style.display = 'flex';
117
+ //this.loadingAnimationWrapper.style.display = 'flex';
112
118
  } catch (error) {
113
119
  console.error("Error loading tips:", error);
114
120
  this.stopTips(); // Stop intervals and hide animations on error
@@ -130,7 +136,7 @@ class IdeLoadingTips extends HTMLElement {
130
136
  clearInterval(this.#imageIntervalId);
131
137
  this.#imageIntervalId = null;
132
138
  }
133
- this.loadingAnimationWrapper.style.display = 'none';
139
+ //this.loadingAnimationWrapper.style.display = 'none';
134
140
  this.tipImageElement.style.display = 'none'; // Hide image
135
141
  this.tipImageElement.src = ''; // Clear image source
136
142
  this.tipImageContainer.style.display = 'none'; // Hide image container