@salesforcedevs/dw-components 0.54.7-alpha → 0.54.7-dw-locales2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dw-components",
3
- "version": "0.54.7-alpha",
3
+ "version": "0.54.7-dw-locales2",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -5,6 +5,7 @@ import qs from "query-string";
5
5
  import uniqBy from "lodash.uniqby";
6
6
  import orderBy from "lodash.orderby";
7
7
  import { isGivenLanguageSupported } from "dxUtils/language";
8
+ import { DEFAULT_LANGUAGES } from "dxUtils/constants";
8
9
 
9
10
  const DSC_API_URL = {
10
11
  "en-us": "/docs/get_index/en-us/000.0/false/All%20Services/all",
@@ -40,7 +41,7 @@ export default abstract class DocsGrid extends LightningElement {
40
41
  private deviceType: "desktop" | "mobile" | "mobile-small" = "desktop";
41
42
  private _searchTimeout?: number;
42
43
  private _couchDbDocTileExclusions?: Set<any>;
43
- private _allLanguages: Array<Language> = [];
44
+ private _allLanguages: Array<Language> = DEFAULT_LANGUAGES;
44
45
 
45
46
  connectedCallback(): void {
46
47
  this.retrieveDscApis(true);