@salesforcedevs/docs-components 0.17.1 → 0.17.12-search-alpha

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 (117) hide show
  1. package/lwc.config.json +17 -3
  2. package/package.json +18 -7
  3. package/src/modules/README.md +41 -0
  4. package/src/modules/doc/amfModelParser/amfModelParser.ts +674 -0
  5. package/src/modules/doc/amfReference/amfReference.css +25 -0
  6. package/src/modules/doc/amfReference/amfReference.html +55 -0
  7. package/src/modules/doc/amfReference/amfReference.ts +1467 -0
  8. package/src/modules/doc/amfReference/constants.ts +76 -0
  9. package/src/modules/doc/amfReference/types.ts +125 -0
  10. package/src/modules/doc/amfTopic/amfTopic.css +21 -0
  11. package/src/modules/doc/amfTopic/amfTopic.html +3 -0
  12. package/src/modules/doc/amfTopic/amfTopic.ts +111 -0
  13. package/src/modules/doc/amfTopic/types.ts +56 -0
  14. package/src/modules/doc/amfTopic/utils.ts +136 -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 +71 -0
  18. package/src/modules/doc/breadcrumbs/breadcrumbs.css +27 -0
  19. package/src/modules/doc/breadcrumbs/breadcrumbs.html +58 -0
  20. package/src/modules/doc/breadcrumbs/breadcrumbs.ts +183 -0
  21. package/src/modules/doc/componentPlayground/componentPlayground.css +22 -0
  22. package/src/modules/doc/componentPlayground/componentPlayground.html +20 -0
  23. package/src/modules/doc/componentPlayground/componentPlayground.ts +42 -0
  24. package/src/modules/doc/content/content.css +89 -70
  25. package/src/modules/doc/content/content.html +1 -0
  26. package/src/modules/doc/content/content.ts +188 -195
  27. package/src/modules/doc/contentCallout/contentCallout.css +18 -10
  28. package/src/modules/doc/contentCallout/contentCallout.html +13 -4
  29. package/src/modules/doc/contentCallout/contentCallout.ts +14 -2
  30. package/src/modules/doc/contentLayout/contentLayout.css +1 -0
  31. package/src/modules/doc/contentLayout/contentLayout.html +46 -0
  32. package/src/modules/doc/contentLayout/contentLayout.ts +524 -0
  33. package/src/modules/doc/doDont/doDont.css +47 -0
  34. package/src/modules/doc/doDont/doDont.html +27 -0
  35. package/src/modules/doc/doDont/doDont.ts +17 -0
  36. package/src/modules/doc/header/header.css +70 -37
  37. package/src/modules/doc/header/header.html +41 -138
  38. package/src/modules/doc/header/header.ts +56 -78
  39. package/src/modules/doc/heading/heading.css +33 -0
  40. package/src/modules/doc/heading/heading.html +14 -0
  41. package/src/modules/doc/heading/heading.ts +67 -0
  42. package/src/modules/doc/headingAnchor/headingAnchor.css +3 -3
  43. package/src/modules/doc/headingAnchor/headingAnchor.ts +2 -2
  44. package/src/modules/doc/headingContent/headingContent.css +53 -0
  45. package/src/modules/doc/headingContent/headingContent.html +13 -0
  46. package/src/modules/doc/headingContent/headingContent.ts +30 -0
  47. package/src/modules/doc/lwcContentLayout/lwcContentLayout.css +1 -0
  48. package/src/modules/doc/lwcContentLayout/lwcContentLayout.html +45 -0
  49. package/src/modules/doc/lwcContentLayout/lwcContentLayout.ts +256 -0
  50. package/src/modules/doc/overview/overview.css +40 -0
  51. package/src/modules/doc/overview/overview.html +34 -0
  52. package/src/modules/doc/overview/overview.ts +12 -0
  53. package/src/modules/doc/phase/phase.css +21 -6
  54. package/src/modules/doc/phase/phase.html +15 -3
  55. package/src/modules/doc/phase/phase.ts +48 -12
  56. package/src/modules/doc/specificationContent/specificationContent.css +36 -0
  57. package/src/modules/doc/specificationContent/specificationContent.html +167 -0
  58. package/src/modules/doc/specificationContent/specificationContent.ts +127 -0
  59. package/src/modules/doc/sprigSurvey/sprigSurvey.html +20 -0
  60. package/src/modules/doc/sprigSurvey/sprigSurvey.scoped.css +16 -0
  61. package/src/modules/doc/sprigSurvey/sprigSurvey.ts +16 -0
  62. package/src/modules/doc/toc/toc.ts +1 -1
  63. package/src/modules/doc/versionPicker/versionPicker.css +64 -0
  64. package/src/modules/doc/versionPicker/versionPicker.html +38 -0
  65. package/src/modules/doc/versionPicker/versionPicker.ts +65 -0
  66. package/src/modules/doc/xmlContent/types.ts +120 -0
  67. package/src/modules/doc/xmlContent/utils.ts +163 -0
  68. package/src/modules/doc/xmlContent/xmlContent.css +54 -0
  69. package/src/modules/doc/xmlContent/xmlContent.html +54 -0
  70. package/src/modules/doc/xmlContent/xmlContent.ts +763 -0
  71. package/src/modules/docHelpers/amfStyle/amfStyle.css +355 -0
  72. package/src/modules/docHelpers/contentLayoutStyle/contentLayoutStyle.css +131 -0
  73. package/src/modules/docHelpers/imgStyle/imgStyle.css +59 -0
  74. package/src/modules/{helpers → docHelpers}/status/status.css +1 -1
  75. package/src/modules/docUtils/searchSyncer/searchSyncer.ts +86 -0
  76. package/src/modules/docUtils/utils/__mocks__/coveo.analytics.ts +16 -0
  77. package/src/modules/docUtils/utils/coveo.analytics.d.ts +10 -0
  78. package/src/modules/docUtils/utils/utils.ts +32 -0
  79. package/LICENSE +0 -12
  80. package/src/modules/doc/content/__tests__/content.test.ts +0 -312
  81. package/src/modules/doc/content/__tests__/mockDocContent.ts +0 -348
  82. package/src/modules/doc/content/__tests__/mockPageReference.ts +0 -8
  83. package/src/modules/doc/content/__tests__/mockSidebar.ts +0 -81
  84. package/src/modules/doc/content/content.stories.ts +0 -148
  85. package/src/modules/doc/contentCallout/__tests__/contentCallout.test.ts +0 -80
  86. package/src/modules/doc/contentCallout/__tests__/mockProps.ts +0 -14
  87. package/src/modules/doc/contentCallout/contentCallout.stories.ts +0 -29
  88. package/src/modules/doc/contentMedia/__tests__/contentMedia.test.ts +0 -97
  89. package/src/modules/doc/contentMedia/contentMedia.stories.ts +0 -113
  90. package/src/modules/doc/header/__tests__/coveoConfig.ts +0 -12
  91. package/src/modules/doc/header/__tests__/header.test.ts +0 -445
  92. package/src/modules/doc/header/__tests__/mockNavDevelopers.ts +0 -427
  93. package/src/modules/doc/header/__tests__/mockNavs.ts +0 -115
  94. package/src/modules/doc/header/__tests__/mockProps.ts +0 -152
  95. package/src/modules/doc/header/header.stories.ts +0 -190
  96. package/src/modules/doc/headingAnchor/__tests__/headingAnchor.test.ts +0 -111
  97. package/src/modules/doc/headingAnchor/headingAnchor.stories.ts +0 -33
  98. package/src/modules/doc/nav/__tests__/mockAvailableLanguages.ts +0 -8
  99. package/src/modules/doc/nav/__tests__/mockAvailableVersions.ts +0 -122
  100. package/src/modules/doc/nav/__tests__/mockPageReference.ts +0 -8
  101. package/src/modules/doc/nav/__tests__/mockPdfUrl.ts +0 -1
  102. package/src/modules/doc/nav/__tests__/mockSelectedLanguage.ts +0 -8
  103. package/src/modules/doc/nav/__tests__/mockSelectedVersion.ts +0 -8
  104. package/src/modules/doc/nav/__tests__/mockToc.ts +0 -146
  105. package/src/modules/doc/nav/__tests__/nav.test.ts +0 -58
  106. package/src/modules/doc/phase/__tests__/mockProps.ts +0 -13
  107. package/src/modules/doc/phase/__tests__/phase.test.ts +0 -60
  108. package/src/modules/doc/phase/phase.stories.ts +0 -12
  109. package/src/modules/doc/toc/__tests__/mockPageReference.ts +0 -8
  110. package/src/modules/doc/toc/__tests__/mockToc.ts +0 -146
  111. package/src/modules/doc/toc/__tests__/toc.test.ts +0 -29
  112. package/src/modules/doc/toolbar/__tests__/mockAvailableLanguages.ts +0 -8
  113. package/src/modules/doc/toolbar/__tests__/mockAvailableVersions.ts +0 -122
  114. package/src/modules/doc/toolbar/__tests__/mockPdfUrl.ts +0 -1
  115. package/src/modules/doc/toolbar/__tests__/mockSelectedLanguage.ts +0 -8
  116. package/src/modules/doc/toolbar/__tests__/mockSelectedVersion.ts +0 -8
  117. package/src/modules/doc/toolbar/__tests__/toolbar.test.ts +0 -44
@@ -1,190 +0,0 @@
1
- import { html } from "lit-html";
2
- import {
3
- mockPropsDevelopers,
4
- mockPropsEmployees,
5
- mockPropsMarketing,
6
- mockPropsPartners,
7
- mockPropsCommerce,
8
- mockPropsSales,
9
- mockPropsSuccess,
10
- mockPropsIntegration,
11
- mockPropsPlatform,
12
- mockPropsIndustries,
13
- mockPropsLearning,
14
- mockPropsService,
15
- mockPropsAnalytics
16
- } from "./__tests__/mockProps";
17
-
18
- const controlLang = mockPropsDevelopers.languages.map(({ id }) => id);
19
-
20
- export default {
21
- title: "docs/doc-header",
22
- component: "doc-header",
23
- argTypes: {
24
- bailHref: {
25
- defaultValue: "/quip-dev-center",
26
- control: {
27
- type: "text"
28
- }
29
- },
30
- bailLabel: {
31
- defaultValue: "PDF",
32
- control: {
33
- type: "text"
34
- }
35
- },
36
- language: {
37
- defaultValue: controlLang[0],
38
- control: {
39
- options: controlLang,
40
- type: "select"
41
- }
42
- }
43
- }
44
- };
45
-
46
- const styles = () => html` <style>
47
- body {
48
- padding: 0 !important;
49
- }
50
- .fake-url {
51
- padding: 8px;
52
- font-size: 12px;
53
- color: white;
54
- background: grey;
55
- word-break: break-word;
56
- }
57
- </style>`;
58
-
59
- const renderPreventNavScript = () => html` <script>
60
- function headerClick(e) {
61
- const link = e
62
- .composedPath()
63
- .find((el) =>
64
- el
65
- ? el.tagName === "A" && el.getAttribute("target") === null
66
- : false
67
- );
68
- if (link) {
69
- e.preventDefault();
70
- const href = link.getAttribute("href");
71
- const element = document.querySelector(".fake-url");
72
- if (element) {
73
- element.textContent = href;
74
- }
75
- if (href && !href.includes("http")) {
76
- e.target.href = "https://localhost:6006" + href;
77
- }
78
- }
79
- }
80
- </script>`;
81
-
82
- const headerStoryGenerator = (
83
- mockProps: any,
84
- brand: string,
85
- args: any
86
- ) => html` ${styles()} ${renderPreventNavScript()}
87
- <div class="fake-url">/</div>
88
- <doc-header
89
- coveo-organization-id="${mockProps.coveoOrganizationId}"
90
- coveo-public-access-token="${mockProps.coveoPublicAccessToken}"
91
- coveo-search-pipeline="${mockProps.coveoSearchPipeline}"
92
- coveo-search-hub="${mockProps.coveoSearchHub}"
93
- signup-link="https://www.google.com"
94
- title="${mockProps.title}"
95
- subtitle="${mockProps.subtitle}"
96
- nav-items="${JSON.stringify(mockProps.navItems)}"
97
- languages="${JSON.stringify(mockProps.languages)}"
98
- language="${args.language}"
99
- scoped-nav-items="${JSON.stringify(mockProps.scopedNavItems)}"
100
- bail-href="${args.bailHref}"
101
- bail-label="${args.bailLabel}"
102
- brand="${brand}"
103
- onclick="headerClick(event)"
104
- signup-link="${mockProps.signupLink}"
105
- banner-markup="${mockProps.bannerMarkup}"
106
- ></doc-header>`;
107
-
108
- export const Base = (args: any) => html`
109
- ${styles()} ${renderPreventNavScript()}
110
- <div class="fake-url">/</div>
111
- <doc-header
112
- title="${mockPropsDevelopers.title}"
113
- bail-href="${args.bailHref}"
114
- bail-label="${args.bailLabel}"
115
- subtitle="${mockPropsDevelopers.subtitle}"
116
- nav-items="${JSON.stringify(mockPropsDevelopers.navItems)}"
117
- languages="${JSON.stringify(mockPropsDevelopers.languages)}"
118
- language="${args.language}"
119
- coveo-organization-id="${mockPropsDevelopers.coveoOrganizationId}"
120
- coveo-public-access-token="${mockPropsDevelopers.coveoPublicAccessToken}"
121
- coveo-search-pipeline="${mockPropsDevelopers.coveoSearchPipeline}"
122
- coveo-search-hub="${mockPropsDevelopers.coveoSearchHub}"
123
- onclick="headerClick(event)"
124
- ></doc-header>
125
- `;
126
-
127
- // BRAND STORIES
128
- export const Employees = (args: any) =>
129
- headerStoryGenerator(mockPropsEmployees, "employees", args);
130
-
131
- export const Marketing = (args: any) =>
132
- headerStoryGenerator(mockPropsMarketing, "marketing", args);
133
-
134
- export const Partners = (args: any) =>
135
- headerStoryGenerator(mockPropsPartners, "partners", args);
136
-
137
- export const Commerce = (args: any) =>
138
- headerStoryGenerator(mockPropsCommerce, "commerce", args);
139
-
140
- export const Sales = (args: any) =>
141
- headerStoryGenerator(mockPropsSales, "sales", args);
142
-
143
- export const Success = (args: any) =>
144
- headerStoryGenerator(mockPropsSuccess, "success", args);
145
-
146
- export const Integration = (args: any) =>
147
- headerStoryGenerator(mockPropsIntegration, "integration", args);
148
-
149
- export const Platform = (args: any) =>
150
- headerStoryGenerator(mockPropsPlatform, "platform", args);
151
-
152
- export const Industries = (args: any) =>
153
- headerStoryGenerator(mockPropsIndustries, "industries", args);
154
-
155
- export const Learning = (args: any) =>
156
- headerStoryGenerator(mockPropsLearning, "learning", args);
157
-
158
- export const Service = (args: any) =>
159
- headerStoryGenerator(mockPropsService, "service", args);
160
-
161
- export const Analytics = (args: any) =>
162
- headerStoryGenerator(mockPropsAnalytics, "analytics", args);
163
-
164
- export const AnalyticsWithoutSignup = (args: any) =>
165
- headerStoryGenerator(
166
- { ...mockPropsAnalytics, signupLink:"" },
167
- "analytics",
168
- args
169
- );
170
-
171
- export const AnalyticsWithCustomBannerText = (args: any) =>
172
- headerStoryGenerator(
173
- {
174
- ...mockPropsMarketing,
175
- bannerMarkup:
176
- 'Salesforce Subscription Management API ("the API") is available as a developer preview. The API is not generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All components of the API including request names, parameters, objects, and fields are subject to change or deprecation at any time, with or without notice. Do not use the API with real data or in a production environment.'
177
- },
178
- "analytics",
179
- args
180
- );
181
-
182
- export const AnalyticsWithoutBanner = (args: any) =>
183
- headerStoryGenerator(
184
- {
185
- ...mockPropsMarketing,
186
- bannerMarkup: ""
187
- },
188
- "analytics",
189
- args
190
- );
@@ -1,111 +0,0 @@
1
- import HeadingAnchor from "doc/headingAnchor";
2
- import { createRenderComponent } from "utils/tests";
3
-
4
- const TAG = "doc-heading-anchor";
5
- const render = createRenderComponent(TAG, HeadingAnchor);
6
-
7
- describe(TAG, () => {
8
- const originalClipboard = { ...global.navigator.clipboard };
9
- beforeEach(() => {
10
- Object.defineProperty(global.navigator, "clipboard", {
11
- value: { writeText: jest.fn() },
12
- configurable: true
13
- });
14
- });
15
-
16
- afterEach(() => {
17
- jest.resetAllMocks();
18
- Object.defineProperty(global.navigator, "clipboard", {
19
- value: originalClipboard,
20
- configurable: true
21
- });
22
- });
23
- it("renders an Anchor element", () => {
24
- const element = render({
25
- ariaLabel: "Default",
26
- iconSize: "override",
27
- iconSymbol: "link",
28
- title: "Anchor Component",
29
- urlText: "anchor-component"
30
- });
31
- const iconEl = element.shadowRoot.querySelector("dx-icon");
32
-
33
- expect(element.getAttribute("class")).toBeDefined();
34
- expect(iconEl.classList).toContain("icon-container");
35
- return expect(element).toBeAccessible();
36
- });
37
-
38
- it("renders Anchor defaults if no overrides are specified", () => {
39
- const element = render({ ariaLabel: "Default" });
40
-
41
- const buttonEl = element.shadowRoot.querySelector("button");
42
- const buttonAriaLabel = buttonEl.getAttribute("aria-label");
43
-
44
- expect(buttonEl.getAttribute("class")).toBeFalsy();
45
- expect(buttonAriaLabel).toBe("Default");
46
- expect(buttonAriaLabel).not.toContain("copy");
47
- return expect(element).toBeAccessible();
48
- });
49
-
50
- it("can display an icon with the expected settings", () => {
51
- const iconSize = "large";
52
- const iconSymbol = "automate";
53
- const ariaLabel = "Automate";
54
- const element = render({
55
- ariaLabel,
56
- iconSize,
57
- iconSymbol,
58
- title: "Anchor Component",
59
- urlText: "anchor-component"
60
- });
61
- const iconEl = element.shadowRoot.querySelector("dx-icon");
62
-
63
- expect(iconEl).not.toBeNull();
64
- expect(iconEl.sprite).toBe("utility");
65
- expect(iconEl.size).toBe(iconSize);
66
- expect(iconEl.symbol).toBe(iconSymbol);
67
- return expect(element).toBeAccessible();
68
- });
69
-
70
- it("renders an tooltip label on keydown of enter", () => {
71
- const element = render({
72
- ariaLabel: "Default",
73
- iconSize: "override",
74
- iconSymbol: "link",
75
- title: "Anchor Component",
76
- urlText: "anchor-component"
77
- });
78
- const mockData = "http://localhost/#anchor-component";
79
-
80
- return Promise.resolve().then(() => {
81
- const buttonEl = element.shadowRoot.querySelector("button");
82
- const event = new KeyboardEvent("keydown", { key: "Enter" });
83
- buttonEl.dispatchEvent(event);
84
- const tooltipEl = element.shadowRoot.querySelector("dx-tooltip");
85
- expect(navigator.clipboard.writeText).toHaveBeenCalledWith(
86
- mockData
87
- );
88
- return expect(tooltipEl).toBeAccessible();
89
- });
90
- });
91
-
92
- it("renders an tooltip label on click of icon", async () => {
93
- const element = render({
94
- ariaLabel: "Default",
95
- iconSize: "override",
96
- iconSymbol: "link",
97
- title: "Anchor Component",
98
- urlText: "anchor-component"
99
- });
100
- const mockData = "http://localhost/#anchor-component";
101
-
102
- return Promise.resolve().then(() => {
103
- element.shadowRoot.querySelector("dx-icon").click();
104
- const tooltipEl = element.shadowRoot.querySelector("dx-tooltip");
105
- expect(navigator.clipboard.writeText).toHaveBeenCalledWith(
106
- mockData
107
- );
108
- return expect(tooltipEl).toBeAccessible();
109
- });
110
- });
111
- });
@@ -1,33 +0,0 @@
1
- import { html } from "lit-html";
2
-
3
- export default {
4
- title: "docs/doc-heading-anchor",
5
- component: "doc-heading-anchor"
6
- };
7
-
8
- // prettier-ignore
9
- const createStyles = () => html`
10
- <style>
11
- h2 {
12
- display: inline;
13
- color: rgb(11, 92, 171);
14
- font-weight: bold;
15
- }
16
- h2:hover + doc-heading-anchor::part(headingAnchorIcon) {
17
- opacity: 1;
18
- }
19
- </style>`;
20
-
21
- // prettier-ignore
22
- export const Inline = () => html` ${createStyles()}
23
- <h1>
24
- <strong>A button/icon is hidden by default which is placed beside the title. It is used to copy the naviagtion link generated for the corresponding H2 heading</strong>
25
- </h1>
26
- <h2>Anchor Component</h2>
27
- <doc-heading-anchor
28
- icon-size="override"
29
- icon-symbol="link"
30
- title="Anchor Component"
31
- url-text="anchor-component"
32
- ></doc-heading-anchor>
33
- `;
@@ -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
- ];