@salesforce/templates 65.4.4 → 65.5.1
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/lib/generators/digitalExperienceSiteGenerator.d.ts +25 -0
- package/lib/generators/digitalExperienceSiteGenerator.js +207 -0
- package/lib/generators/digitalExperienceSiteGenerator.js.map +1 -0
- package/lib/generators/flexipageGenerator.d.ts +15 -0
- package/lib/generators/flexipageGenerator.js +120 -0
- package/lib/generators/flexipageGenerator.js.map +1 -0
- package/lib/generators/webApplicationGenerator.d.ts +1 -0
- package/lib/generators/webApplicationGenerator.js +41 -17
- package/lib/generators/webApplicationGenerator.js.map +1 -1
- package/lib/i18n/i18n.d.ts +7 -0
- package/lib/i18n/i18n.js +7 -0
- package/lib/i18n/i18n.js.map +1 -1
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/_customSite.xml +28 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/_digitalExperience.xml +15 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/_digitalExperienceConfig.xml +8 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/_network.xml +59 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__appPage/mainAppPage/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__appPage/mainAppPage/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__brandingSet/Build_Your_Own_LWR/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__brandingSet/Build_Your_Own_LWR/content.json +280 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__languageSettings/languages/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__languageSettings/languages/content.json +16 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__mobilePublisherConfig/mobilePublisherConfig/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__mobilePublisherConfig/mobilePublisherConfig/content.json +49 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Check_Password/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Check_Password/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Error/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Error/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Forgot_Password/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Forgot_Password/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Home/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Home/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Login/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Login/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/News_Detail__c/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/News_Detail__c/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Register/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Register/content.json +12 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Service_Not_Available/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Service_Not_Available/content.json +14 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Too_Many_Requests/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__route/Too_Many_Requests/content.json +15 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__site/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__site/content.json +10 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__theme/Build_Your_Own_LWR/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__theme/Build_Your_Own_LWR/content.json +19 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__themeLayout/scopedHeaderAndFooter/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__themeLayout/scopedHeaderAndFooter/content.json +87 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__themeLayout/snaThemeLayout/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__themeLayout/snaThemeLayout/content.json +27 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/checkPasswordResetEmail/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/checkPasswordResetEmail/content.json +93 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/error/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/error/content.json +81 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/forgotPassword/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/forgotPassword/content.json +96 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/home/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/home/content.json +81 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/login/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/login/content.json +111 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/newsDetail/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/newsDetail/content.json +61 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/register/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/register/content.json +99 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/serviceNotAvailable/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/serviceNotAvailable/content.json +54 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/tooManyRequests/_meta.json +5 -0
- package/lib/templates/digitalexperiencesite/BuildYourOwnLWR/sfdc_cms__view/tooManyRequests/content.json +68 -0
- package/lib/templates/flexipage/AppPage/_flexipage.flexipage-meta.xml +118 -0
- package/lib/templates/flexipage/HomePage/_flexipage.flexipage-meta.xml +127 -0
- package/lib/templates/flexipage/RecordPage/_flexipage.flexipage-meta.xml +337 -0
- package/lib/templates/webapplication/reactbasic/.prettierignore +9 -0
- package/lib/templates/webapplication/reactbasic/.prettierrc +11 -0
- package/lib/templates/webapplication/reactbasic/README.md +73 -0
- package/lib/templates/webapplication/reactbasic/eslint.config.js +113 -0
- package/lib/templates/webapplication/reactbasic/index.html +2 -1
- package/lib/templates/webapplication/reactbasic/package-lock.json +5248 -0
- package/lib/templates/webapplication/reactbasic/package.json +29 -19
- package/lib/templates/webapplication/reactbasic/src/app.tsx +13 -0
- package/lib/templates/webapplication/reactbasic/src/appLayout.tsx +9 -0
- package/lib/templates/webapplication/reactbasic/src/assets/icons/book.svg +3 -0
- package/lib/templates/webapplication/reactbasic/src/assets/icons/copy.svg +4 -0
- package/lib/templates/webapplication/reactbasic/src/assets/icons/rocket.svg +3 -0
- package/lib/templates/webapplication/reactbasic/src/assets/icons/star.svg +3 -0
- package/lib/templates/webapplication/reactbasic/src/assets/images/codey-1.png +0 -0
- package/lib/templates/webapplication/reactbasic/src/assets/images/codey-2.png +0 -0
- package/lib/templates/webapplication/reactbasic/src/assets/images/codey-3.png +0 -0
- package/lib/templates/webapplication/reactbasic/src/assets/images/vibe-codey.svg +194 -0
- package/lib/templates/webapplication/reactbasic/src/pages/About.tsx +9 -10
- package/lib/templates/webapplication/reactbasic/src/pages/Home.tsx +12 -15
- package/lib/templates/webapplication/reactbasic/src/pages/NotFound.tsx +3 -6
- package/lib/templates/webapplication/reactbasic/src/routes.tsx +23 -0
- package/lib/templates/webapplication/reactbasic/src/styles/global.css +6 -5
- package/lib/templates/webapplication/reactbasic/tsconfig.json +14 -5
- package/lib/templates/webapplication/reactbasic/tsconfig.node.json +0 -1
- package/lib/templates/webapplication/reactbasic/{src/vite-env.d.ts → vite-env.d.ts} +0 -1
- package/lib/templates/webapplication/reactbasic/vite.config.ts +62 -16
- package/lib/templates/webapplication/reactbasic/vitest-env.d.ts +2 -0
- package/lib/templates/webapplication/reactbasic/vitest.config.ts +11 -0
- package/lib/templates/webapplication/reactbasic/vitest.setup.ts +1 -0
- package/lib/templates/webapplication/reactbasic/webapp.json +7 -12
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/types.d.ts +34 -11
- package/lib/utils/types.js +16 -10
- package/lib/utils/types.js.map +1 -1
- package/package.json +6 -3
- package/lib/templates/webapplication/reactbasic/postcss.config.js +0 -7
- package/lib/templates/webapplication/reactbasic/src/App.tsx +0 -25
- package/lib/templates/webapplication/reactbasic/src/components/Navigation.tsx +0 -70
- package/lib/templates/webapplication/reactbasic/src/main.tsx +0 -14
- package/lib/templates/webapplication/reactbasic/src/routes.ts +0 -20
- package/lib/templates/webapplication/reactbasic/src/test-setup/setup.ts +0 -10
- package/lib/templates/webapplication/reactbasic/tailwind.config.js +0 -9
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__theme",
|
|
3
|
+
"title": "Build Your Own (LWR)",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"activeBrandingSetId": "Build_Your_Own_LWR",
|
|
6
|
+
"definitionName": "byo",
|
|
7
|
+
"layouts": [
|
|
8
|
+
{
|
|
9
|
+
"layoutId": "snaThemeLayout",
|
|
10
|
+
"layoutType": "ServiceNotAvailable"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"layoutId": "scopedHeaderAndFooter",
|
|
14
|
+
"layoutType": "Inner"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"urlName": "build-your-own-lwr"
|
|
19
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__themeLayout",
|
|
3
|
+
"title": "Scoped Header and Footer",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"attributes": {
|
|
7
|
+
"hideThemeFooter": false,
|
|
8
|
+
"showThemeFooterAtBottom": true,
|
|
9
|
+
"stickyThemeHeader": false
|
|
10
|
+
},
|
|
11
|
+
"children": [
|
|
12
|
+
{
|
|
13
|
+
"children": [
|
|
14
|
+
{
|
|
15
|
+
"attributes": {
|
|
16
|
+
"backgroundImageConfig": "",
|
|
17
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
18
|
+
"componentSpacerSize": "",
|
|
19
|
+
"layoutDirectionDesktop": "row",
|
|
20
|
+
"layoutDirectionMobile": "column",
|
|
21
|
+
"layoutDirectionTablet": "column",
|
|
22
|
+
"maxContentWidth": "",
|
|
23
|
+
"sectionColumnGutterWidth": "",
|
|
24
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('headerSection') %>\",\"columns\":[{\"UUID\":\"<%= uuid('headerCol1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"headerSection\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
25
|
+
"sectionMinHeight": "",
|
|
26
|
+
"sectionVerticalAlign": "flex-start"
|
|
27
|
+
},
|
|
28
|
+
"children": [
|
|
29
|
+
{
|
|
30
|
+
"id": "<%= uuid('headerCol1') %>",
|
|
31
|
+
"name": "headerSection",
|
|
32
|
+
"title": "Theme Header",
|
|
33
|
+
"type": "region"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"definition": "community_layout:section",
|
|
37
|
+
"id": "<%= uuid('headerSection') %>",
|
|
38
|
+
"type": "component"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"id": "<%= uuid() %>",
|
|
42
|
+
"name": "header",
|
|
43
|
+
"title": "Theme Header",
|
|
44
|
+
"type": "region"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"children": [
|
|
48
|
+
{
|
|
49
|
+
"attributes": {
|
|
50
|
+
"backgroundImageConfig": "",
|
|
51
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
52
|
+
"componentSpacerSize": "",
|
|
53
|
+
"layoutDirectionDesktop": "row",
|
|
54
|
+
"layoutDirectionMobile": "column",
|
|
55
|
+
"layoutDirectionTablet": "column",
|
|
56
|
+
"maxContentWidth": "",
|
|
57
|
+
"sectionColumnGutterWidth": "",
|
|
58
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('footerSection') %>\",\"columns\":[{\"UUID\":\"<%= uuid('footerCol1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"footerSection\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
59
|
+
"sectionMinHeight": "",
|
|
60
|
+
"sectionVerticalAlign": "flex-start"
|
|
61
|
+
},
|
|
62
|
+
"children": [
|
|
63
|
+
{
|
|
64
|
+
"id": "<%= uuid('footerCol1') %>",
|
|
65
|
+
"name": "footerSection",
|
|
66
|
+
"title": "Theme Footer",
|
|
67
|
+
"type": "region"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"definition": "community_layout:section",
|
|
71
|
+
"id": "<%= uuid('footerSection') %>",
|
|
72
|
+
"type": "component"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"id": "<%= uuid() %>",
|
|
76
|
+
"name": "footer",
|
|
77
|
+
"title": "Theme Footer",
|
|
78
|
+
"type": "region"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"definition": "community_byo:scopedHeaderAndFooter",
|
|
82
|
+
"id": "<%= uuid() %>",
|
|
83
|
+
"type": "component"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"urlName": "scoped-header-and-footer"
|
|
87
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__themeLayout",
|
|
3
|
+
"title": "Service Not Available Theme Layout",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"attributes": {},
|
|
7
|
+
"children": [
|
|
8
|
+
{
|
|
9
|
+
"id": "<%= uuid() %>",
|
|
10
|
+
"name": "header",
|
|
11
|
+
"title": "Theme Header",
|
|
12
|
+
"type": "region"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "<%= uuid() %>",
|
|
16
|
+
"name": "footer",
|
|
17
|
+
"title": "Theme Footer",
|
|
18
|
+
"type": "region"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"definition": "community_layout:simpleThemeLayout",
|
|
22
|
+
"id": "<%= uuid() %>",
|
|
23
|
+
"type": "component"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"urlName": "service-not-available-theme-layout"
|
|
27
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Check Password",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"children": [
|
|
9
|
+
{
|
|
10
|
+
"attributes": {
|
|
11
|
+
"backgroundImageConfig": "",
|
|
12
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
13
|
+
"componentSpacerSize": "",
|
|
14
|
+
"layoutDirectionDesktop": "row",
|
|
15
|
+
"layoutDirectionMobile": "column",
|
|
16
|
+
"layoutDirectionTablet": "column",
|
|
17
|
+
"maxContentWidth": "",
|
|
18
|
+
"sectionColumnGutterWidth": "",
|
|
19
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
20
|
+
"sectionMinHeight": "",
|
|
21
|
+
"sectionVerticalAlign": "flex-start"
|
|
22
|
+
},
|
|
23
|
+
"children": [
|
|
24
|
+
{
|
|
25
|
+
"children": [
|
|
26
|
+
{
|
|
27
|
+
"attributes": {
|
|
28
|
+
"alignment": "left",
|
|
29
|
+
"imageInfo": "",
|
|
30
|
+
"imageInfoMobile": "",
|
|
31
|
+
"logoWidth": 250
|
|
32
|
+
},
|
|
33
|
+
"definition": "dxp_content_layout:siteLogo",
|
|
34
|
+
"id": "<%= uuid() %>",
|
|
35
|
+
"type": "component"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"attributes": {
|
|
39
|
+
"checkEmailMessage": "Check the email account associated with your username for the link to reset your password. If you didn't get an email, check your Spam folder. Or contact your administrator.",
|
|
40
|
+
"returnButtonLabel": "Back to login",
|
|
41
|
+
"titleLabel": "Now check your email"
|
|
42
|
+
},
|
|
43
|
+
"definition": "community_login:checkEmail",
|
|
44
|
+
"id": "<%= uuid() %>",
|
|
45
|
+
"type": "component"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"id": "<%= uuid('col1') %>",
|
|
49
|
+
"name": "col1",
|
|
50
|
+
"title": "Column 1",
|
|
51
|
+
"type": "region"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"definition": "community_layout:section",
|
|
55
|
+
"id": "<%= uuid('section') %>",
|
|
56
|
+
"type": "component"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"id": "<%= uuid() %>",
|
|
60
|
+
"name": "content",
|
|
61
|
+
"title": "Content",
|
|
62
|
+
"type": "region"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"children": [
|
|
66
|
+
{
|
|
67
|
+
"attributes": {
|
|
68
|
+
"customHeadTags": "",
|
|
69
|
+
"description": "",
|
|
70
|
+
"pageTitle": "Check Password",
|
|
71
|
+
"recordId": "{!recordId}"
|
|
72
|
+
},
|
|
73
|
+
"definition": "community_builder:seoAssistant",
|
|
74
|
+
"id": "<%= uuid() %>",
|
|
75
|
+
"type": "component"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"id": "<%= uuid() %>",
|
|
79
|
+
"name": "sfdcHiddenRegion",
|
|
80
|
+
"title": "sfdcHiddenRegion",
|
|
81
|
+
"type": "region"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
85
|
+
"id": "<%= uuid() %>",
|
|
86
|
+
"type": "component"
|
|
87
|
+
},
|
|
88
|
+
"dataProviders": [],
|
|
89
|
+
"themeLayoutType": "Inner",
|
|
90
|
+
"viewType": "check-password"
|
|
91
|
+
},
|
|
92
|
+
"urlName": "check-password"
|
|
93
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Error",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"children": [
|
|
9
|
+
{
|
|
10
|
+
"attributes": {
|
|
11
|
+
"backgroundImageConfig": "",
|
|
12
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
13
|
+
"componentSpacerSize": "",
|
|
14
|
+
"layoutDirectionDesktop": "row",
|
|
15
|
+
"layoutDirectionMobile": "column",
|
|
16
|
+
"layoutDirectionTablet": "column",
|
|
17
|
+
"maxContentWidth": "",
|
|
18
|
+
"sectionColumnGutterWidth": "",
|
|
19
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
20
|
+
"sectionMinHeight": "",
|
|
21
|
+
"sectionVerticalAlign": "flex-start"
|
|
22
|
+
},
|
|
23
|
+
"children": [
|
|
24
|
+
{
|
|
25
|
+
"children": [
|
|
26
|
+
{
|
|
27
|
+
"attributes": {
|
|
28
|
+
"imageInfos": "",
|
|
29
|
+
"richTextValue": "<h1 style=\"text-align: center;\">Invalid Page</h1>"
|
|
30
|
+
},
|
|
31
|
+
"definition": "community_builder:richTextEditor",
|
|
32
|
+
"id": "<%= uuid() %>",
|
|
33
|
+
"type": "component"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"id": "<%= uuid('col1') %>",
|
|
37
|
+
"name": "col1",
|
|
38
|
+
"title": "Column 1",
|
|
39
|
+
"type": "region"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"definition": "community_layout:section",
|
|
43
|
+
"id": "<%= uuid('section') %>",
|
|
44
|
+
"type": "component"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"id": "<%= uuid() %>",
|
|
48
|
+
"name": "content",
|
|
49
|
+
"title": "Content",
|
|
50
|
+
"type": "region"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"children": [
|
|
54
|
+
{
|
|
55
|
+
"attributes": {
|
|
56
|
+
"customHeadTags": "",
|
|
57
|
+
"description": "",
|
|
58
|
+
"pageTitle": "Error",
|
|
59
|
+
"recordId": "{!recordId}"
|
|
60
|
+
},
|
|
61
|
+
"definition": "community_builder:seoAssistant",
|
|
62
|
+
"id": "<%= uuid() %>",
|
|
63
|
+
"type": "component"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"id": "<%= uuid() %>",
|
|
67
|
+
"name": "sfdcHiddenRegion",
|
|
68
|
+
"title": "sfdcHiddenRegion",
|
|
69
|
+
"type": "region"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
73
|
+
"id": "<%= uuid() %>",
|
|
74
|
+
"type": "component"
|
|
75
|
+
},
|
|
76
|
+
"dataProviders": [],
|
|
77
|
+
"themeLayoutType": "Inner",
|
|
78
|
+
"viewType": "error"
|
|
79
|
+
},
|
|
80
|
+
"urlName": "error"
|
|
81
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Forgot Password",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"children": [
|
|
9
|
+
{
|
|
10
|
+
"attributes": {
|
|
11
|
+
"backgroundImageConfig": "",
|
|
12
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
13
|
+
"componentSpacerSize": "",
|
|
14
|
+
"layoutDirectionDesktop": "row",
|
|
15
|
+
"layoutDirectionMobile": "column",
|
|
16
|
+
"layoutDirectionTablet": "column",
|
|
17
|
+
"maxContentWidth": "",
|
|
18
|
+
"sectionColumnGutterWidth": "",
|
|
19
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
20
|
+
"sectionMinHeight": "",
|
|
21
|
+
"sectionVerticalAlign": "flex-start"
|
|
22
|
+
},
|
|
23
|
+
"children": [
|
|
24
|
+
{
|
|
25
|
+
"children": [
|
|
26
|
+
{
|
|
27
|
+
"attributes": {
|
|
28
|
+
"alignment": "left",
|
|
29
|
+
"imageInfo": "",
|
|
30
|
+
"imageInfoMobile": "",
|
|
31
|
+
"logoWidth": 250
|
|
32
|
+
},
|
|
33
|
+
"definition": "dxp_content_layout:siteLogo",
|
|
34
|
+
"id": "<%= uuid() %>",
|
|
35
|
+
"type": "component"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"attributes": {
|
|
39
|
+
"cancelButtonLabel": "Cancel",
|
|
40
|
+
"checkEmailUrl": "./CheckPasswordResetEmail",
|
|
41
|
+
"instructionsLabel": "To reset your password, enter your username. We'll send a reset-password link to the email address associated with your account.",
|
|
42
|
+
"submitButtonLabel": "Reset",
|
|
43
|
+
"titleLabel": "Forgot your password?",
|
|
44
|
+
"usernameLabel": "Username"
|
|
45
|
+
},
|
|
46
|
+
"definition": "community_login:forgotPassword",
|
|
47
|
+
"id": "<%= uuid() %>",
|
|
48
|
+
"type": "component"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"id": "<%= uuid('col1') %>",
|
|
52
|
+
"name": "col1",
|
|
53
|
+
"title": "Column 1",
|
|
54
|
+
"type": "region"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"definition": "community_layout:section",
|
|
58
|
+
"id": "<%= uuid('section') %>",
|
|
59
|
+
"type": "component"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"id": "<%= uuid() %>",
|
|
63
|
+
"name": "content",
|
|
64
|
+
"title": "Content",
|
|
65
|
+
"type": "region"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"children": [
|
|
69
|
+
{
|
|
70
|
+
"attributes": {
|
|
71
|
+
"customHeadTags": "",
|
|
72
|
+
"description": "",
|
|
73
|
+
"pageTitle": "Forgot Password",
|
|
74
|
+
"recordId": "{!recordId}"
|
|
75
|
+
},
|
|
76
|
+
"definition": "community_builder:seoAssistant",
|
|
77
|
+
"id": "<%= uuid() %>",
|
|
78
|
+
"type": "component"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"id": "<%= uuid() %>",
|
|
82
|
+
"name": "sfdcHiddenRegion",
|
|
83
|
+
"title": "sfdcHiddenRegion",
|
|
84
|
+
"type": "region"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
88
|
+
"id": "<%= uuid() %>",
|
|
89
|
+
"type": "component"
|
|
90
|
+
},
|
|
91
|
+
"dataProviders": [],
|
|
92
|
+
"themeLayoutType": "Inner",
|
|
93
|
+
"viewType": "forgot-password"
|
|
94
|
+
},
|
|
95
|
+
"urlName": "forgot-password"
|
|
96
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Home",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"children": [
|
|
9
|
+
{
|
|
10
|
+
"attributes": {
|
|
11
|
+
"backgroundImageConfig": "",
|
|
12
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
13
|
+
"componentSpacerSize": "",
|
|
14
|
+
"layoutDirectionDesktop": "row",
|
|
15
|
+
"layoutDirectionMobile": "column",
|
|
16
|
+
"layoutDirectionTablet": "column",
|
|
17
|
+
"maxContentWidth": "",
|
|
18
|
+
"sectionColumnGutterWidth": "",
|
|
19
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
20
|
+
"sectionMinHeight": "",
|
|
21
|
+
"sectionVerticalAlign": "flex-start"
|
|
22
|
+
},
|
|
23
|
+
"children": [
|
|
24
|
+
{
|
|
25
|
+
"children": [
|
|
26
|
+
{
|
|
27
|
+
"attributes": {
|
|
28
|
+
"imageInfos": "",
|
|
29
|
+
"richTextValue": "<div style=\"display: flex; justify-content: center; align-items: center; margin: 50px 0; flex-direction: column; text-align: center;\"><div style=\"background-image: url(assets/img/desert.svg) !important; background-size: cover; background-position: center; height: 300px; width: 100%; max-width: 600px; min-width: 300px;\"></div><h1 class=\"slds-text-heading_medium slds-p-bottom_x-small\">Start Building Your Page</h1> <div>Drag and drop a component into the content slots.</div></div>"
|
|
30
|
+
},
|
|
31
|
+
"definition": "community_builder:htmlEditor",
|
|
32
|
+
"id": "<%= uuid() %>",
|
|
33
|
+
"type": "component"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"id": "<%= uuid('col1') %>",
|
|
37
|
+
"name": "col1",
|
|
38
|
+
"title": "Column 1",
|
|
39
|
+
"type": "region"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"definition": "community_layout:section",
|
|
43
|
+
"id": "<%= uuid('section') %>",
|
|
44
|
+
"type": "component"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"id": "<%= uuid() %>",
|
|
48
|
+
"name": "content",
|
|
49
|
+
"title": "Content",
|
|
50
|
+
"type": "region"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"children": [
|
|
54
|
+
{
|
|
55
|
+
"attributes": {
|
|
56
|
+
"customHeadTags": "",
|
|
57
|
+
"description": "",
|
|
58
|
+
"pageTitle": "Home",
|
|
59
|
+
"recordId": "{!recordId}"
|
|
60
|
+
},
|
|
61
|
+
"definition": "community_builder:seoAssistant",
|
|
62
|
+
"id": "<%= uuid() %>",
|
|
63
|
+
"type": "component"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"id": "<%= uuid() %>",
|
|
67
|
+
"name": "sfdcHiddenRegion",
|
|
68
|
+
"title": "sfdcHiddenRegion",
|
|
69
|
+
"type": "region"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
73
|
+
"id": "<%= uuid() %>",
|
|
74
|
+
"type": "component"
|
|
75
|
+
},
|
|
76
|
+
"dataProviders": [],
|
|
77
|
+
"themeLayoutType": "Inner",
|
|
78
|
+
"viewType": "home"
|
|
79
|
+
},
|
|
80
|
+
"urlName": "home"
|
|
81
|
+
}
|