@sparkvault/sdk-js 18.0.2 → 18.0.3
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/dist/index.mjs
CHANGED
|
@@ -25791,7 +25791,6 @@ class SupportView {
|
|
|
25791
25791
|
this.issueError = element('p', 'svhs-error');
|
|
25792
25792
|
this.query = element('p', 'svhs-query-text');
|
|
25793
25793
|
this.resultList = element('ul', 'svhs-results');
|
|
25794
|
-
this.resultCopy = element('p', 'svhs-copy');
|
|
25795
25794
|
this.resultStatus = element('div', 'svhs-empty');
|
|
25796
25795
|
this.resultError = element('p', 'svhs-error');
|
|
25797
25796
|
this.contactNote = element('p', 'svhs-contact-note');
|
|
@@ -25917,7 +25916,7 @@ class SupportView {
|
|
|
25917
25916
|
editQuestion.setAttribute('aria-label', 'Edit your question');
|
|
25918
25917
|
queryLine.append(question, editQuestion);
|
|
25919
25918
|
results.prepend(queryLine);
|
|
25920
|
-
results.append(this.
|
|
25919
|
+
results.append(this.resultList, this.resultStatus, this.resultError);
|
|
25921
25920
|
this.resultError.setAttribute('role', 'alert');
|
|
25922
25921
|
this.contactResults = button('svhs-secondary svhs-full', 'Still need help? Open a ticket', () => {
|
|
25923
25922
|
if (this.state?.busy)
|
|
@@ -26296,9 +26295,7 @@ class SupportView {
|
|
|
26296
26295
|
this.resultList.append(item);
|
|
26297
26296
|
}
|
|
26298
26297
|
}
|
|
26299
|
-
this.resultCopy.textContent = 'Choose an article to read the full answer.';
|
|
26300
26298
|
this.resultList.hidden = Boolean(state.busy) || state.kbState === 'locked' || state.kbState === 'unavailable';
|
|
26301
|
-
this.resultCopy.hidden = this.resultList.hidden || results.length === 0;
|
|
26302
26299
|
this.resultError.textContent = state.stage === 'results' ? state.error || '' : '';
|
|
26303
26300
|
this.resultError.hidden = !this.resultError.textContent;
|
|
26304
26301
|
this.renderResultStatus(state, results);
|
|
@@ -32444,7 +32441,7 @@ class SparkVault {
|
|
|
32444
32441
|
}
|
|
32445
32442
|
/** Get the SDK version */
|
|
32446
32443
|
static get version() {
|
|
32447
|
-
return '18.0.
|
|
32444
|
+
return '18.0.3';
|
|
32448
32445
|
}
|
|
32449
32446
|
}
|
|
32450
32447
|
if (typeof window !== 'undefined') {
|