@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.cjs
CHANGED
|
@@ -25795,7 +25795,6 @@ class SupportView {
|
|
|
25795
25795
|
this.issueError = element('p', 'svhs-error');
|
|
25796
25796
|
this.query = element('p', 'svhs-query-text');
|
|
25797
25797
|
this.resultList = element('ul', 'svhs-results');
|
|
25798
|
-
this.resultCopy = element('p', 'svhs-copy');
|
|
25799
25798
|
this.resultStatus = element('div', 'svhs-empty');
|
|
25800
25799
|
this.resultError = element('p', 'svhs-error');
|
|
25801
25800
|
this.contactNote = element('p', 'svhs-contact-note');
|
|
@@ -25921,7 +25920,7 @@ class SupportView {
|
|
|
25921
25920
|
editQuestion.setAttribute('aria-label', 'Edit your question');
|
|
25922
25921
|
queryLine.append(question, editQuestion);
|
|
25923
25922
|
results.prepend(queryLine);
|
|
25924
|
-
results.append(this.
|
|
25923
|
+
results.append(this.resultList, this.resultStatus, this.resultError);
|
|
25925
25924
|
this.resultError.setAttribute('role', 'alert');
|
|
25926
25925
|
this.contactResults = button('svhs-secondary svhs-full', 'Still need help? Open a ticket', () => {
|
|
25927
25926
|
if (this.state?.busy)
|
|
@@ -26300,9 +26299,7 @@ class SupportView {
|
|
|
26300
26299
|
this.resultList.append(item);
|
|
26301
26300
|
}
|
|
26302
26301
|
}
|
|
26303
|
-
this.resultCopy.textContent = 'Choose an article to read the full answer.';
|
|
26304
26302
|
this.resultList.hidden = Boolean(state.busy) || state.kbState === 'locked' || state.kbState === 'unavailable';
|
|
26305
|
-
this.resultCopy.hidden = this.resultList.hidden || results.length === 0;
|
|
26306
26303
|
this.resultError.textContent = state.stage === 'results' ? state.error || '' : '';
|
|
26307
26304
|
this.resultError.hidden = !this.resultError.textContent;
|
|
26308
26305
|
this.renderResultStatus(state, results);
|
|
@@ -32448,7 +32445,7 @@ class SparkVault {
|
|
|
32448
32445
|
}
|
|
32449
32446
|
/** Get the SDK version */
|
|
32450
32447
|
static get version() {
|
|
32451
|
-
return '18.0.
|
|
32448
|
+
return '18.0.3';
|
|
32452
32449
|
}
|
|
32453
32450
|
}
|
|
32454
32451
|
if (typeof window !== 'undefined') {
|