@salesforcedevs/dw-components 1.3.76 → 1.3.81
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 +2 -2
- package/src/modules/dw/codeSamplesGrid/codeSamplesGrid.ts +6 -3
- package/src/modules/dw/contentArchive/contentArchive.ts +2 -3
- package/src/modules/dw/deSignupForm/submitForm.ts +2 -4
- package/src/modules/dw/docsGrid/docsGrid.ts +4 -3
- package/src/modules/dw/podcastSubscription/podcastSubscription.ts +6 -12
- package/src/modules/dw/rcgTable/altData.ts +6 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dw-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.81",
|
|
4
4
|
"description": "Lightning web components for https://developer.salesforce.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@types/setimmediate": "^1.0.2",
|
|
25
25
|
"setimmediate": "^1.0.5"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "92a788995a419856ee81fe2ea13f877865506a9b"
|
|
28
28
|
}
|
|
@@ -76,9 +76,12 @@ export default class CodeSamplesGrid extends LightningElement {
|
|
|
76
76
|
evaluateQueryParams(resetFilters: boolean): void {
|
|
77
77
|
let page = "1";
|
|
78
78
|
if (resetFilters) {
|
|
79
|
-
this.selectedSourceFilter =
|
|
80
|
-
|
|
81
|
-
this.
|
|
79
|
+
this.selectedSourceFilter =
|
|
80
|
+
this.filtersDefaultValue.selectedSourceFilter;
|
|
81
|
+
this.selectedTypeFilter =
|
|
82
|
+
this.filtersDefaultValue.selectedTypeFilter;
|
|
83
|
+
this.selectedProductFilter =
|
|
84
|
+
this.filtersDefaultValue.selectedProductFilter;
|
|
82
85
|
}
|
|
83
86
|
const urlParams = new URLSearchParams(window.location.search);
|
|
84
87
|
if (urlParams.toString()) {
|
|
@@ -258,9 +258,8 @@ export default class ContentArchive extends LightningElement {
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
private async updateCheckedStatus() {
|
|
261
|
-
const filterMenuElements =
|
|
262
|
-
"dx-filter-menu"
|
|
263
|
-
);
|
|
261
|
+
const filterMenuElements =
|
|
262
|
+
this.template.querySelectorAll("dx-filter-menu");
|
|
264
263
|
|
|
265
264
|
filterMenuElements.forEach((filterMenuElement: any) =>
|
|
266
265
|
filterMenuElement.updateCheckedStatus(this.selectedFilterMenuData)
|
|
@@ -43,10 +43,8 @@ const fetchOrgStatus = async (id: string): Promise<OrgStatus> => {
|
|
|
43
43
|
throw new Error("Something went wrong");
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
const {
|
|
47
|
-
|
|
48
|
-
ErrorCode: errorCode
|
|
49
|
-
}: OrgStatusResponse = await response.json();
|
|
46
|
+
const { Status: status, ErrorCode: errorCode }: OrgStatusResponse =
|
|
47
|
+
await response.json();
|
|
50
48
|
|
|
51
49
|
if (status === "Error") {
|
|
52
50
|
throw new Error(
|
|
@@ -297,9 +297,10 @@ export default abstract class DocsGrid extends LightningElement {
|
|
|
297
297
|
this.productFiltersList = json.available_services;
|
|
298
298
|
|
|
299
299
|
if (!this.selectedProductFilters.length) {
|
|
300
|
-
this.selectedProductFilters =
|
|
301
|
-
(
|
|
302
|
-
|
|
300
|
+
this.selectedProductFilters =
|
|
301
|
+
this.productFiltersList.map(
|
|
302
|
+
(filter) => filter.value
|
|
303
|
+
);
|
|
303
304
|
}
|
|
304
305
|
}
|
|
305
306
|
|
|
@@ -3,14 +3,12 @@ import { LightningElement } from "lwc";
|
|
|
3
3
|
export default class PodcastSubscription extends LightningElement {
|
|
4
4
|
badgeLinks = [
|
|
5
5
|
{
|
|
6
|
-
href:
|
|
7
|
-
"https://podcasts.apple.com/us/podcast/salesforce-developer-podcast/id1482325260",
|
|
6
|
+
href: "https://podcasts.apple.com/us/podcast/salesforce-developer-podcast/id1482325260",
|
|
8
7
|
imgAlt: "Listen on Apple Podcasts",
|
|
9
8
|
imgSrc: "/assets/svg/podcasts-subscription-apple.svg"
|
|
10
9
|
},
|
|
11
10
|
{
|
|
12
|
-
href:
|
|
13
|
-
"https://www.google.com/podcasts?feed=aHR0cHM6Ly9zYWxlc2ZvcmNlZGV2cG9kY2FzdC5saWJzeW4uY29tL3Jzcw%3D%3D",
|
|
11
|
+
href: "https://www.google.com/podcasts?feed=aHR0cHM6Ly9zYWxlc2ZvcmNlZGV2cG9kY2FzdC5saWJzeW4uY29tL3Jzcw%3D%3D",
|
|
14
12
|
imgAlt: "Listen on Google Podcasts",
|
|
15
13
|
imgSrc: "/assets/svg/podcasts-subscription-google.svg"
|
|
16
14
|
},
|
|
@@ -27,23 +25,19 @@ export default class PodcastSubscription extends LightningElement {
|
|
|
27
25
|
text: "Stitcher"
|
|
28
26
|
},
|
|
29
27
|
{
|
|
30
|
-
href:
|
|
31
|
-
"https://www.amazon.com/Emerald-City-Productions-Salesforce-Developer/dp/B082PPXMLN/",
|
|
28
|
+
href: "https://www.amazon.com/Emerald-City-Productions-Salesforce-Developer/dp/B082PPXMLN/",
|
|
32
29
|
text: "Alexa"
|
|
33
30
|
},
|
|
34
31
|
{
|
|
35
|
-
href:
|
|
36
|
-
"https://www.pandora.com/podcast/salesforce-developer-podcast/PC:34746",
|
|
32
|
+
href: "https://www.pandora.com/podcast/salesforce-developer-podcast/PC:34746",
|
|
37
33
|
text: "Pandora"
|
|
38
34
|
},
|
|
39
35
|
{
|
|
40
|
-
href:
|
|
41
|
-
"https://www.iheart.com/podcast/263-salesforce-developer-podca-56252827",
|
|
36
|
+
href: "https://www.iheart.com/podcast/263-salesforce-developer-podca-56252827",
|
|
42
37
|
text: "iHeartRadio"
|
|
43
38
|
},
|
|
44
39
|
{
|
|
45
|
-
href:
|
|
46
|
-
"https://tunein.com/podcasts/Technology-Podcasts/Salesforce-Developer-Podcast-p1255006/",
|
|
40
|
+
href: "https://tunein.com/podcasts/Technology-Podcasts/Salesforce-Developer-Podcast-p1255006/",
|
|
47
41
|
text: "Tune-in"
|
|
48
42
|
},
|
|
49
43
|
{
|
|
@@ -58,16 +58,14 @@ export default {
|
|
|
58
58
|
type: "Modeler Installer",
|
|
59
59
|
version: "238.00003.0.0",
|
|
60
60
|
description: "RCG Mobility Modeler Installer v238 release",
|
|
61
|
-
link:
|
|
62
|
-
"/Modeler/238/modeler-build-000003-2022-05-12T07-10/CGCloudModelerSetup.v238.3.0.zip"
|
|
61
|
+
link: "/Modeler/238/modeler-build-000003-2022-05-12T07-10/CGCloudModelerSetup.v238.3.0.zip"
|
|
63
62
|
},
|
|
64
63
|
{
|
|
65
64
|
id: "3",
|
|
66
65
|
type: "Modeler Update Package",
|
|
67
66
|
version: "238.00003.0.0",
|
|
68
67
|
description: "RCG Mobility Modeler MUP v238 release",
|
|
69
|
-
link:
|
|
70
|
-
"/Modeler/238/modeler-build-000003-2022-05-12T07-10/MUP.v238.3.0.zip"
|
|
68
|
+
link: "/Modeler/238/modeler-build-000003-2022-05-12T07-10/MUP.v238.3.0.zip"
|
|
71
69
|
},
|
|
72
70
|
{
|
|
73
71
|
id: "4",
|
|
@@ -88,16 +86,14 @@ export default {
|
|
|
88
86
|
type: "Modeler Installer",
|
|
89
87
|
version: "236.00019.0.0",
|
|
90
88
|
description: "RCG Mobility Modeler Installer v236 release",
|
|
91
|
-
link:
|
|
92
|
-
"/Modeler/236/modeler-build-000019-2022-06-01T10-47/CGCloudModelerSetup.v236.19.0.zip"
|
|
89
|
+
link: "/Modeler/236/modeler-build-000019-2022-06-01T10-47/CGCloudModelerSetup.v236.19.0.zip"
|
|
93
90
|
},
|
|
94
91
|
{
|
|
95
92
|
id: "7",
|
|
96
93
|
type: "Modeler Update Package",
|
|
97
94
|
version: "236.00019.0.0",
|
|
98
95
|
description: "RCG Mobility Modeler MUP v236 release",
|
|
99
|
-
link:
|
|
100
|
-
"/Modeler/236/modeler-build-000019-2022-06-01T10-47/MUP.v236.19.0.zip"
|
|
96
|
+
link: "/Modeler/236/modeler-build-000019-2022-06-01T10-47/MUP.v236.19.0.zip"
|
|
101
97
|
},
|
|
102
98
|
{
|
|
103
99
|
id: "8",
|
|
@@ -119,16 +115,14 @@ export default {
|
|
|
119
115
|
type: "Modeler Installer",
|
|
120
116
|
version: "234.00013.0.0",
|
|
121
117
|
description: "Initial RCG Mobility Modeler Installer v234 release",
|
|
122
|
-
link:
|
|
123
|
-
"/Modeler/modeler-build-000013-2021-10-27T06-20/CGCloudModelerSetup.v234.13.0.zip"
|
|
118
|
+
link: "/Modeler/modeler-build-000013-2021-10-27T06-20/CGCloudModelerSetup.v234.13.0.zip"
|
|
124
119
|
},
|
|
125
120
|
{
|
|
126
121
|
id: "11",
|
|
127
122
|
type: "Modeler Update Package",
|
|
128
123
|
version: "234.00013.0.0",
|
|
129
124
|
description: "Initial RCG Mobility Modeler MUP v234 release",
|
|
130
|
-
link:
|
|
131
|
-
"/Modeler/modeler-build-000013-2021-10-27T06-20/MUP.v234.13.0.zip"
|
|
125
|
+
link: "/Modeler/modeler-build-000013-2021-10-27T06-20/MUP.v234.13.0.zip"
|
|
132
126
|
},
|
|
133
127
|
{
|
|
134
128
|
id: "12",
|