@salesforcedevs/docs-components 0.3.12 → 0.3.14-banner-alpha1

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.
Files changed (107) hide show
  1. package/lwc.config.json +12 -3
  2. package/package.json +17 -7
  3. package/src/modules/README.md +41 -0
  4. package/src/modules/doc/amfReference/amfReference.css +5 -0
  5. package/src/modules/doc/amfReference/amfReference.html +47 -0
  6. package/src/modules/doc/amfReference/amfReference.ts +1361 -0
  7. package/src/modules/doc/amfReference/constants.ts +76 -0
  8. package/src/modules/doc/amfReference/types.ts +133 -0
  9. package/src/modules/doc/amfReference/utils.ts +669 -0
  10. package/src/modules/doc/amfTopic/amfTopic.css +1 -0
  11. package/src/modules/doc/amfTopic/amfTopic.html +3 -0
  12. package/src/modules/doc/amfTopic/amfTopic.ts +94 -0
  13. package/src/modules/doc/amfTopic/types.ts +54 -0
  14. package/src/modules/doc/amfTopic/utils.ts +130 -0
  15. package/src/modules/doc/breadcrumbItem/breadcrumbItem.css +51 -0
  16. package/src/modules/doc/breadcrumbItem/breadcrumbItem.html +5 -0
  17. package/src/modules/doc/breadcrumbItem/breadcrumbItem.ts +64 -0
  18. package/src/modules/doc/breadcrumbs/breadcrumbs.css +27 -0
  19. package/src/modules/doc/breadcrumbs/breadcrumbs.html +60 -0
  20. package/src/modules/doc/breadcrumbs/breadcrumbs.ts +187 -0
  21. package/src/modules/doc/content/content.css +58 -103
  22. package/src/modules/doc/content/content.ts +261 -174
  23. package/src/modules/doc/contentCallout/contentCallout.css +7 -24
  24. package/src/modules/doc/contentCallout/contentCallout.html +4 -2
  25. package/src/modules/doc/contentCallout/contentCallout.ts +8 -2
  26. package/src/modules/doc/contentLayout/contentLayout.css +98 -0
  27. package/src/modules/doc/contentLayout/contentLayout.html +51 -0
  28. package/src/modules/doc/contentLayout/contentLayout.ts +322 -0
  29. package/src/modules/doc/header/header.css +103 -0
  30. package/src/modules/doc/header/header.html +160 -0
  31. package/src/modules/doc/header/header.ts +146 -0
  32. package/src/modules/doc/heading/heading.css +54 -0
  33. package/src/modules/doc/heading/heading.html +14 -0
  34. package/src/modules/doc/heading/heading.ts +65 -0
  35. package/src/modules/doc/headingAnchor/headingAnchor.css +33 -0
  36. package/src/modules/doc/headingAnchor/headingAnchor.html +19 -0
  37. package/src/modules/doc/headingAnchor/headingAnchor.ts +43 -0
  38. package/src/modules/doc/headingContent/headingContent.css +53 -0
  39. package/src/modules/doc/headingContent/headingContent.html +13 -0
  40. package/src/modules/doc/headingContent/headingContent.ts +30 -0
  41. package/src/modules/doc/phase/phase.css +55 -0
  42. package/src/modules/doc/phase/phase.html +28 -0
  43. package/src/modules/doc/phase/phase.ts +57 -0
  44. package/src/modules/doc/sprigSurvey/sprigSurvey.html +20 -0
  45. package/src/modules/doc/sprigSurvey/sprigSurvey.scoped.css +12 -0
  46. package/src/modules/doc/sprigSurvey/sprigSurvey.ts +16 -0
  47. package/src/modules/doc/toc/toc.html +3 -1
  48. package/src/modules/doc/toolbar/toolbar.ts +6 -6
  49. package/src/modules/doc/xmlContent/types.ts +114 -0
  50. package/src/modules/doc/xmlContent/utils.ts +161 -0
  51. package/src/modules/doc/xmlContent/xmlContent.css +32 -0
  52. package/src/modules/doc/xmlContent/xmlContent.html +40 -0
  53. package/src/modules/doc/xmlContent/xmlContent.ts +677 -0
  54. package/src/modules/docBaseElements/lightningElementWithState/lightningElementWithState.ts +93 -0
  55. package/src/modules/docHelpers/amfStyle/amfStyle.css +355 -0
  56. package/src/modules/docHelpers/phaseContentLayout/phaseContentLayout.css +39 -0
  57. package/src/modules/docHelpers/status/status.css +22 -0
  58. package/src/modules/docUtils/SearchSyncer/SearchSyncer.ts +85 -0
  59. package/LICENSE +0 -12
  60. package/src/modules/doc/container/__benchmarks__/container.benchmark.js +0 -43
  61. package/src/modules/doc/container/__mocks__/mockAvailableLanguages.js +0 -8
  62. package/src/modules/doc/container/__mocks__/mockAvailableVersions.js +0 -122
  63. package/src/modules/doc/container/__mocks__/mockContentFetchResponse.json +0 -5
  64. package/src/modules/doc/container/__mocks__/mockDocContent.js +0 -29
  65. package/src/modules/doc/container/__mocks__/mockNavigationFetchResponse.json +0 -4061
  66. package/src/modules/doc/container/__mocks__/mockPageReference.js +0 -8
  67. package/src/modules/doc/container/__mocks__/mockPdfUrl.js +0 -1
  68. package/src/modules/doc/container/__mocks__/mockSelectedLanguage.js +0 -8
  69. package/src/modules/doc/container/__mocks__/mockSelectedVersion.js +0 -8
  70. package/src/modules/doc/container/__mocks__/mockToc.js +0 -146
  71. package/src/modules/doc/container/__tests__/container.test.ts +0 -117
  72. package/src/modules/doc/container/container.css +0 -37
  73. package/src/modules/doc/container/container.html +0 -28
  74. package/src/modules/doc/container/container.stories.ts +0 -44
  75. package/src/modules/doc/container/container.ts +0 -367
  76. package/src/modules/doc/content/__tests__/content.test.ts +0 -99
  77. package/src/modules/doc/content/__tests__/mockDocContent.ts +0 -258
  78. package/src/modules/doc/content/__tests__/mockPageReference.ts +0 -8
  79. package/src/modules/doc/content/content.stories.ts +0 -82
  80. package/src/modules/doc/contentCallout/__tests__/contentCallout.test.ts +0 -80
  81. package/src/modules/doc/contentCallout/__tests__/mockProps.ts +0 -14
  82. package/src/modules/doc/contentCallout/contentCallout.stories.ts +0 -29
  83. package/src/modules/doc/contentMedia/__tests__/contentMedia.test.ts +0 -97
  84. package/src/modules/doc/contentMedia/contentMedia.stories.ts +0 -113
  85. package/src/modules/doc/landing/__tests__/landing.test.ts +0 -60
  86. package/src/modules/doc/landing/__tests__/mockFetch.json +0 -370
  87. package/src/modules/doc/landing/landing.css +0 -63
  88. package/src/modules/doc/landing/landing.html +0 -122
  89. package/src/modules/doc/landing/landing.stories.ts +0 -21
  90. package/src/modules/doc/landing/landing.ts +0 -222
  91. package/src/modules/doc/nav/__tests__/mockAvailableLanguages.ts +0 -8
  92. package/src/modules/doc/nav/__tests__/mockAvailableVersions.ts +0 -122
  93. package/src/modules/doc/nav/__tests__/mockPageReference.ts +0 -8
  94. package/src/modules/doc/nav/__tests__/mockPdfUrl.ts +0 -1
  95. package/src/modules/doc/nav/__tests__/mockSelectedLanguage.ts +0 -8
  96. package/src/modules/doc/nav/__tests__/mockSelectedVersion.ts +0 -8
  97. package/src/modules/doc/nav/__tests__/mockToc.ts +0 -146
  98. package/src/modules/doc/nav/__tests__/nav.test.ts +0 -58
  99. package/src/modules/doc/toc/__tests__/mockPageReference.ts +0 -8
  100. package/src/modules/doc/toc/__tests__/mockToc.ts +0 -146
  101. package/src/modules/doc/toc/__tests__/toc.test.ts +0 -29
  102. package/src/modules/doc/toolbar/__tests__/mockAvailableLanguages.ts +0 -8
  103. package/src/modules/doc/toolbar/__tests__/mockAvailableVersions.ts +0 -122
  104. package/src/modules/doc/toolbar/__tests__/mockPdfUrl.ts +0 -1
  105. package/src/modules/doc/toolbar/__tests__/mockSelectedLanguage.ts +0 -8
  106. package/src/modules/doc/toolbar/__tests__/mockSelectedVersion.ts +0 -8
  107. package/src/modules/doc/toolbar/__tests__/toolbar.test.ts +0 -44
@@ -1,122 +0,0 @@
1
- <template>
2
- <div class="docs-results-container">
3
- <div class="docs-filter-column">
4
- <div class="docs-search-row">
5
- <template if:true={availableLanguages}>
6
- <dx-dropdown
7
- onchange={handleFilterChange}
8
- data-type="language"
9
- offset="medium"
10
- options={availableLanguages}
11
- >
12
- <dx-button
13
- variant="secondary"
14
- icon-symbol="chevrondown"
15
- >
16
- {selectedLanguageLabel}
17
- </dx-button>
18
- </dx-dropdown>
19
- </template>
20
- </div>
21
- <div class="docs-search-row">
22
- <template if:true={availableVersions}>
23
- <dx-dropdown
24
- onchange={handleFilterChange}
25
- data-type="version"
26
- options={availableVersions}
27
- >
28
- <dx-button
29
- variant="secondary"
30
- icon-symbol="chevrondown"
31
- >
32
- {selectedVersionLabel}
33
- </dx-button>
34
- </dx-dropdown>
35
- </template>
36
- </div>
37
- <div class="docs-search-row">
38
- <template if:true={availableServices}>
39
- <dx-dropdown
40
- onchange={handleFilterChange}
41
- data-type="service"
42
- options={availableServices}
43
- >
44
- <dx-button
45
- variant="secondary"
46
- icon-symbol="chevrondown"
47
- >
48
- {selectedService}
49
- </dx-button>
50
- </dx-dropdown>
51
- </template>
52
- </div>
53
- <div class="docs-search-row">
54
- <template if:true={availableTopics}>
55
- <dx-dropdown
56
- onchange={handleFilterChange}
57
- data-type="topic"
58
- options={availableTopics}
59
- >
60
- <dx-button
61
- variant="secondary"
62
- icon-symbol="chevrondown"
63
- >
64
- {selectedTopic}
65
- </dx-button>
66
- </dx-dropdown>
67
- </template>
68
- </div>
69
- </div>
70
- <div class="docs-results-column">
71
- <div class="docs-search-row">
72
- <dx-input
73
- class="docs-search-input"
74
- icon-symbol="search"
75
- onchange={handleSearchChange}
76
- placeholder="Search..."
77
- size="large"
78
- submit-label="Submit"
79
- ></dx-input>
80
- </div>
81
- <div class="docs-search-row">
82
- <template if:true={content}>
83
- <template
84
- for:each={contentResults}
85
- for:item="item"
86
- for:index="i"
87
- >
88
- <a
89
- class="card-doc dx-card-base"
90
- href={item.href}
91
- target="_self"
92
- key={item.i}
93
- >
94
- <div class="dx-card-base_section-vertical">
95
- <h4 class="dx-text-heading-4 title">
96
- {item.value.title}
97
- </h4>
98
- <span
99
- class="card-doc_detail-section dx-text-body-3"
100
- >
101
- {item.value.shortdesc}
102
- </span>
103
- <span
104
- class="dx-text-body-3 card-doc_detail-metadata-row"
105
- >
106
- API Version {item.value.version.api_version}
107
- | {item.value.locale} |
108
- <dx-formatted-date-time
109
- year="numeric"
110
- day="numeric"
111
- month="numeric"
112
- value={item.value.updated}
113
- ></dx-formatted-date-time>
114
- </span>
115
- </div>
116
- </a>
117
- </template>
118
- </template>
119
- </div>
120
- </div>
121
- </div>
122
- </template>
@@ -1,21 +0,0 @@
1
- export default {
2
- title: "docs/doc-landing",
3
- component: "doc-landing"
4
- };
5
-
6
- export const Base = () => {
7
- return `
8
- <doc-landing></doc-landing>
9
- `;
10
- };
11
-
12
- export const DefaultUrl = (args: any) => {
13
- return `
14
- <doc-landing default-url='${args.defaultUrl}'></doc-landing>
15
- `;
16
- };
17
-
18
- DefaultUrl.args = {
19
- defaultUrl:
20
- "https://staging.developer.salesforce.com/docs/get_index/en-us/000.0/false/All%20Services/all"
21
- };
@@ -1,222 +0,0 @@
1
- import { LightningElement, track, api } from "lwc";
2
- import {
3
- AvailableLanguages,
4
- AvailableVersions,
5
- Option,
6
- SelectedVersion
7
- } from "typings/custom";
8
-
9
- export default class Landing extends LightningElement {
10
- @api defaultUrl: string =
11
- "https://developer.salesforce.com/docs/get_index/en-us/000.0/false/All%20Services/all";
12
- @track content: any;
13
- @track filteredContent: any;
14
- selectedService: String = "All Services";
15
- selectedTopic: String = "All Topics";
16
- selectedLocale: String = "";
17
- selectedVersion = {
18
- doc_version: String,
19
- release_name: String,
20
- api_version: String
21
- };
22
- searchTerm: String = "";
23
- availableServices: Option[];
24
- availableTopics: Option[];
25
- selectedLanguage: String;
26
- availableLanguages: Option[];
27
- availableVersions: Option[];
28
-
29
- connectedCallback() {
30
- this.fetchDocData("initial");
31
- }
32
-
33
- handleFilterChange(event: Event) {
34
- const value = event.detail;
35
- const type = event.currentTarget.dataset.type;
36
- console.log(value, type);
37
- switch (type) {
38
- case "language":
39
- this.selectedLanguage = event.detail;
40
- break;
41
- case "version":
42
- this.selectedVersion.doc_version = value;
43
- break;
44
- case "topic":
45
- this.selectedTopic = value;
46
- break;
47
- case "service":
48
- this.selectedService = value;
49
- break;
50
- default:
51
- break;
52
- }
53
- this.fetchDocData("");
54
- }
55
-
56
- handleSearchChange(event: Event) {
57
- const value = event.detail;
58
- console.log(value);
59
- this.searchTerm = value.toLowerCase();
60
- this.filteredContent = this.content.filter(
61
- (contentItem) =>
62
- contentItem.value.shortdesc
63
- .toLowerCase()
64
- .includes(this.searchTerm) ||
65
- contentItem.value.title.toLowerCase().includes(this.searchTerm)
66
- );
67
- }
68
-
69
- fetchDocData(searchType: string) {
70
- const docRestUrl = this.generateCalloutURL(searchType);
71
- fetch(docRestUrl)
72
- .then((results) => {
73
- return results.json();
74
- })
75
- .then((json) => {
76
- const searchResults = json;
77
- this.content = this.normalizeContent(searchResults.content);
78
- console.log(JSON.stringify(this.content));
79
- this.selectedLanguage = searchResults.locale;
80
- this.selectedVersion = searchResults.version;
81
- this.availableLanguages = this.normalizeLanguageOptions(
82
- searchResults.available_languages,
83
- this.selectedLanguage
84
- );
85
- this.availableVersions = this.normalizeVersionOptions(
86
- searchResults.available_versions,
87
- this.selectedVersion
88
- );
89
- this.availableServices = this.normalizeAvailableServices(
90
- searchResults.available_services,
91
- this.selectedService
92
- );
93
- this.availableTopics = this.normalizeAvailableTopics(
94
- searchResults.available_topics,
95
- this.selectedTopic
96
- );
97
- })
98
- .catch((error) => console.log(error));
99
- }
100
-
101
- normalizeContent(content: String) {
102
- for (const key in content) {
103
- if (content[key]) {
104
- const contentItem = content[key];
105
- const origin = window.location.origin;
106
- content[
107
- key
108
- ].href = `${origin}/docs/${contentItem.value._id}/${contentItem.value.default_topic}`;
109
- }
110
- }
111
- return content;
112
- }
113
-
114
- normalizeLanguageOptions(
115
- languages: AvailableLanguages,
116
- selectedLanguage: String
117
- ) {
118
- const availableLanguages = [];
119
- for (const key in languages) {
120
- if (languages[key]) {
121
- const language = languages[key];
122
- availableLanguages.push(
123
- this.normalizeOption(
124
- language.locale,
125
- language.label,
126
- selectedLanguage
127
- )
128
- );
129
- }
130
- }
131
- console.log(JSON.stringify(availableLanguages));
132
- return availableLanguages;
133
- }
134
-
135
- normalizeVersionOptions(
136
- versions: AvailableVersions,
137
- selectedVersion: SelectedVersion
138
- ) {
139
- const availableVersions = [];
140
- for (const key in versions) {
141
- if (versions[key]) {
142
- const version = versions[key];
143
- availableVersions.push(
144
- this.normalizeOption(
145
- version.doc_version,
146
- version.version_text,
147
- selectedVersion.doc_version
148
- )
149
- );
150
- }
151
- }
152
- return availableVersions;
153
- }
154
-
155
- normalizeAvailableServices(services: any, selectedService: String) {
156
- const availableServices = [];
157
- for (const key in services) {
158
- if (services[key]) {
159
- const name = services[key].name;
160
- availableServices.push(
161
- this.normalizeOption(name, name, selectedService)
162
- );
163
- }
164
- }
165
- return availableServices;
166
- }
167
-
168
- normalizeAvailableTopics(topics: any, selectedTopic: String) {
169
- const availableTopics = [];
170
- for (const key in topics) {
171
- if (topics[key]) {
172
- const name = topics[key];
173
- availableTopics.push(
174
- this.normalizeOption(name, name, selectedTopic)
175
- );
176
- }
177
- }
178
- return availableTopics;
179
- }
180
-
181
- normalizeOption(id: String, label: String, activeOption: String) {
182
- const option: Option = {};
183
- option.id = id;
184
- option.label = label;
185
- option.isActive = id === activeOption;
186
- return option;
187
- }
188
-
189
- generateCalloutURL(searchType: String) {
190
- if (searchType === "initial") {
191
- return this.defaultUrl;
192
- }
193
- const selected =
194
- this.selectedTopic === "All Topics" ? "all" : this.selectedTopic;
195
- return encodeURI(
196
- `https://developer.salesforce.com/docs/get_index/${this.selectedLanguage}/${this.selectedVersion.doc_version}/false/${this.selectedService}/${selected}`
197
- );
198
- }
199
-
200
- get selectedLanguageLabel() {
201
- const selectedLanguage = this.availableLanguages.filter(
202
- (language) => language.id === this.selectedLanguage
203
- )[0];
204
- return selectedLanguage.label;
205
- }
206
-
207
- get selectedVersionLabel() {
208
- const selectedVersion = this.availableVersions.filter(
209
- (version) => version.id === this.selectedVersion.doc_version
210
- )[0];
211
- return selectedVersion.label;
212
- }
213
-
214
- get contentResults() {
215
- console.log(this.searchTerm.length);
216
- if (this.searchTerm.length >= 1) {
217
- console.log(this.filteredContent);
218
- return this.filteredContent;
219
- }
220
- return this.content;
221
- }
222
- }
@@ -1,8 +0,0 @@
1
- export default [
2
- {
3
- label: "ENGLISH",
4
- code: "EN",
5
- locale: "en-us",
6
- url: "atlas.en-us.228.0.apexcode.meta"
7
- }
8
- ];
@@ -1,122 +0,0 @@
1
- export default [
2
- {
3
- version_text: "Winter '21 (API version 50.0)",
4
- release_version: "50.0",
5
- doc_version: "228.0",
6
- version_url: "atlas.en-us.apexcode.meta"
7
- },
8
- {
9
- version_text: "Summer '20 (API version 49.0)",
10
- release_version: "49.0",
11
- doc_version: "226.0",
12
- version_url: "atlas.en-us.226.0.apexcode.meta"
13
- },
14
- {
15
- version_text: "Spring '20 (API version 48.0)",
16
- release_version: "48.0",
17
- doc_version: "224.0",
18
- version_url: "atlas.en-us.224.0.apexcode.meta"
19
- },
20
- {
21
- version_text: "Winter '20 (API version 47.0)",
22
- release_version: "47.0",
23
- doc_version: "222.0",
24
- version_url: "atlas.en-us.222.0.apexcode.meta"
25
- },
26
- {
27
- version_text: "Summer '19 (API version 46.0)",
28
- release_version: "46.0",
29
- doc_version: "220.0",
30
- version_url: "atlas.en-us.220.0.apexcode.meta"
31
- },
32
- {
33
- version_text: "Spring '19 (API version 45.0)",
34
- release_version: "45.0",
35
- doc_version: "218.0",
36
- version_url: "atlas.en-us.218.0.apexcode.meta"
37
- },
38
- {
39
- version_text: "Winter '19 (API version 44.0)",
40
- release_version: "44.0",
41
- doc_version: "216.0",
42
- version_url: "atlas.en-us.216.0.apexcode.meta"
43
- },
44
- {
45
- version_text: "Summer '18 (API version 43.0)",
46
- release_version: "43.0",
47
- doc_version: "214.0",
48
- version_url: "atlas.en-us.214.0.apexcode.meta"
49
- },
50
- {
51
- version_text: "Spring '18 (API version 42.0)",
52
- release_version: "42.0",
53
- doc_version: "212.0",
54
- version_url: "atlas.en-us.212.0.apexcode.meta"
55
- },
56
- {
57
- version_text: "Winter '18 (API version 41.0)",
58
- release_version: "41.0",
59
- doc_version: "210.0",
60
- version_url: "atlas.en-us.210.0.apexcode.meta"
61
- },
62
- {
63
- version_text: "Summer '17 (API version 40.0)",
64
- release_version: "40.0",
65
- doc_version: "208.0",
66
- version_url: "atlas.en-us.208.0.apexcode.meta"
67
- },
68
- {
69
- version_text: "Spring '17 (API version 39.0)",
70
- release_version: "39.0",
71
- doc_version: "206.0",
72
- version_url: "atlas.en-us.206.0.apexcode.meta"
73
- },
74
- {
75
- version_text: "Winter '17 (API version 38.0)",
76
- release_version: "38.0",
77
- doc_version: "204.0",
78
- version_url: "atlas.en-us.204.0.apexcode.meta"
79
- },
80
- {
81
- version_text: "Summer '16 (API version 37.0)",
82
- release_version: "37.0",
83
- doc_version: "202.0",
84
- version_url: "atlas.en-us.202.0.apexcode.meta"
85
- },
86
- {
87
- version_text: "Spring '16 (API version 36.0)",
88
- release_version: "36.0",
89
- doc_version: "200.0",
90
- version_url: "atlas.en-us.200.0.apexcode.meta"
91
- },
92
- {
93
- version_text: "Winter '16 (API version 35.0)",
94
- release_version: "35.0",
95
- doc_version: "198.0",
96
- version_url: "atlas.en-us.198.0.apexcode.meta"
97
- },
98
- {
99
- version_text: "Summer '15 (API version 34.0)",
100
- release_version: "34.0",
101
- doc_version: "196.0",
102
- version_url: "atlas.en-us.196.0.apexcode.meta"
103
- },
104
- {
105
- version_text: "Spring '15 (API version 33.0)",
106
- release_version: "33.0",
107
- doc_version: "194.0",
108
- version_url: "atlas.en-us.194.0.apexcode.meta"
109
- },
110
- {
111
- version_text: "Winter '15 (API version 32.0)",
112
- release_version: "32.0",
113
- doc_version: "192.0",
114
- version_url: "atlas.en-us.192.0.apexcode.meta"
115
- },
116
- {
117
- version_text: "Spring '14 (API version 30.0)",
118
- release_version: "30.0",
119
- doc_version: "188.0",
120
- version_url: "atlas.en-us.188.0.apexcode.meta"
121
- }
122
- ];
@@ -1,8 +0,0 @@
1
- export default {
2
- domain: "http://localhost:3000",
3
- page: "docs",
4
- docId: "atlas.en-us.apexcode.meta",
5
- deliverable: "apexcode",
6
- contentDocumentId: "apex_dev_guide.htm",
7
- hash: ""
8
- };
@@ -1 +0,0 @@
1
- export default "https://resources.docs.salesforce.com/228/latest/en-us/sfdc/pdf/salesforce_apex_language_reference.pdf";
@@ -1,8 +0,0 @@
1
- export default [
2
- {
3
- label: "ENGLISH",
4
- code: "EN",
5
- locale: "en-us",
6
- url: "atlas.en-us.228.0.apexcode.meta"
7
- }
8
- ];
@@ -1,8 +0,0 @@
1
- export default [
2
- {
3
- version_text: "Winter '21 (API version 50.0)",
4
- release_version: "50.0",
5
- doc_version: "228.0",
6
- version_url: "atlas.en-us.apexcode.meta"
7
- }
8
- ];
@@ -1,146 +0,0 @@
1
- export default [
2
- {
3
- children: [
4
- {
5
- text: "Overview",
6
- a_attr: {
7
- href: "actions_intro_overview.htm"
8
- },
9
- id: "actions_intro_overview"
10
- },
11
- {
12
- text: "Invoking Actions",
13
- a_attr: {
14
- href: "actions_intro_invoking.htm"
15
- },
16
- id: "actions_intro_invoking"
17
- },
18
- {
19
- text: "Available Actions",
20
- a_attr: {
21
- href: "actions_intro_list.htm"
22
- },
23
- id: "actions_intro_list"
24
- }
25
- ],
26
- text: "Introducing Actions",
27
- a_attr: {
28
- href: "actions_intro.htm"
29
- },
30
- id: "actions_intro"
31
- },
32
- {
33
- children: [
34
- {
35
- text: "Apex Actions",
36
- a_attr: {
37
- href: "actions_obj_apex.htm"
38
- },
39
- id: "actions_obj_apex"
40
- },
41
- {
42
- text: "Create Service Report Actions",
43
- a_attr: {
44
- href: "actions_obj_create_service_report.htm"
45
- },
46
- id: "actions_obj_create_service_report"
47
- },
48
- {
49
- text: "Custom Notification Actions",
50
- a_attr: {
51
- href: "actions_obj_custom_notification.htm"
52
- },
53
- id: "actions_obj_custom_notification"
54
- },
55
- {
56
- text: "Email Alert Actions",
57
- a_attr: {
58
- href: "actions_obj_email_alert.htm"
59
- },
60
- id: "actions_obj_email_alert"
61
- },
62
- {
63
- text: "Flow Actions",
64
- a_attr: {
65
- href: "actions_obj_flow.htm"
66
- },
67
- id: "actions_obj_flow"
68
- },
69
- {
70
- text: "Generate Work Orders Actions",
71
- a_attr: {
72
- href: "actions_obj_generate_work_orders.htm"
73
- },
74
- id: "actions_obj_generate_work_orders"
75
- },
76
- {
77
- text: "Knowledge Actions",
78
- a_attr: {
79
- href: "actions_obj_knowledge.htm"
80
- },
81
- id: "actions_obj_knowledge"
82
- },
83
- {
84
- text: "Omni-Channel Action",
85
- a_attr: {
86
- href: "actions_obj_omni_channel.htm"
87
- },
88
- id: "actions_obj_omni_channel"
89
- },
90
- {
91
- text: "PlatformAction",
92
- a_attr: {
93
- href: "sforce_api_objects_platformaction.htm"
94
- },
95
- id: "sforce_api_objects_platformaction"
96
- },
97
- {
98
- text: "Post to Chatter Actions",
99
- a_attr: {
100
- href: "actions_obj_post_to_chatter.htm"
101
- },
102
- id: "actions_obj_post_to_chatter"
103
- },
104
- {
105
- text: "Quick Actions",
106
- a_attr: {
107
- href: "actions_obj_quick_action.htm"
108
- },
109
- id: "actions_obj_quick_action"
110
- },
111
- {
112
- text: "Refresh Metric Actions",
113
- a_attr: {
114
- href: "actions_obj_refresh_metric.htm"
115
- },
116
- id: "actions_obj_refresh_metric"
117
- },
118
- {
119
- text: "Salesforce Order Management Actions",
120
- a_attr: {
121
- href: "actions_obj_order_management.htm"
122
- },
123
- id: "actions_obj_order_management"
124
- },
125
- {
126
- text: "Simple Email Actions",
127
- a_attr: {
128
- href: "actions_obj_email_simple.htm"
129
- },
130
- id: "actions_obj_email_simple"
131
- },
132
- {
133
- text: "Submit for Approval Actions",
134
- a_attr: {
135
- href: "actions_obj_submit_for_approval.htm"
136
- },
137
- id: "actions_obj_submit_for_approval"
138
- }
139
- ],
140
- text: "Action Objects",
141
- a_attr: {
142
- href: "actions_obj.htm"
143
- },
144
- id: "actions_obj"
145
- }
146
- ];