@salesforce/templates 65.4.4 → 65.5.0
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/dxpSiteGenerator.d.ts +25 -0
- package/lib/generators/dxpSiteGenerator.js +207 -0
- package/lib/generators/dxpSiteGenerator.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/dxpsite/build_your_own_lwr/_customSite.xml +28 -0
- package/lib/templates/dxpsite/build_your_own_lwr/_digitalExperience.xml +15 -0
- package/lib/templates/dxpsite/build_your_own_lwr/_digitalExperienceConfig.xml +8 -0
- package/lib/templates/dxpsite/build_your_own_lwr/_network.xml +59 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__appPage/mainAppPage/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__appPage/mainAppPage/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__brandingSet/Build_Your_Own_LWR/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__brandingSet/Build_Your_Own_LWR/content.json +280 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__languageSettings/languages/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__languageSettings/languages/content.json +16 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__mobilePublisherConfig/mobilePublisherConfig/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__mobilePublisherConfig/mobilePublisherConfig/content.json +49 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Check_Password/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Check_Password/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Error/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Error/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Forgot_Password/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Forgot_Password/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Home/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Home/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Login/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Login/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/News_Detail__c/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/News_Detail__c/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Register/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Register/content.json +12 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Service_Not_Available/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Service_Not_Available/content.json +14 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Too_Many_Requests/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__route/Too_Many_Requests/content.json +15 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__site/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__site/content.json +10 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__theme/Build_Your_Own_LWR/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__theme/Build_Your_Own_LWR/content.json +19 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__themeLayout/scopedHeaderAndFooter/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__themeLayout/scopedHeaderAndFooter/content.json +87 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__themeLayout/snaThemeLayout/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__themeLayout/snaThemeLayout/content.json +27 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/checkPasswordResetEmail/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/checkPasswordResetEmail/content.json +93 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/error/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/error/content.json +81 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/forgotPassword/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/forgotPassword/content.json +96 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/home/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/home/content.json +81 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/login/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/login/content.json +111 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/newsDetail/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/newsDetail/content.json +61 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/register/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/register/content.json +99 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/serviceNotAvailable/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/serviceNotAvailable/content.json +54 -0
- package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/tooManyRequests/_meta.json +5 -0
- package/lib/templates/dxpsite/build_your_own_lwr/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,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Login",
|
|
4
|
+
"contentBody": {
|
|
5
|
+
"component": {
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"children": [
|
|
9
|
+
{
|
|
10
|
+
"attributes": {
|
|
11
|
+
"backgroundImageConfig": "",
|
|
12
|
+
"backgroundImageOverlay": "rgba(0,0,0,0)",
|
|
13
|
+
"componentSpacerSize": "",
|
|
14
|
+
"dxpStyle": {},
|
|
15
|
+
"layoutDirectionDesktop": "row",
|
|
16
|
+
"layoutDirectionMobile": "column",
|
|
17
|
+
"layoutDirectionTablet": "column",
|
|
18
|
+
"maxContentWidth": "",
|
|
19
|
+
"sectionColumnGutterWidth": "",
|
|
20
|
+
"sectionConfig": "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
21
|
+
"sectionMinHeight": "",
|
|
22
|
+
"sectionVerticalAlign": "flex-start"
|
|
23
|
+
},
|
|
24
|
+
"children": [
|
|
25
|
+
{
|
|
26
|
+
"children": [
|
|
27
|
+
{
|
|
28
|
+
"attributes": {
|
|
29
|
+
"alignment": "left",
|
|
30
|
+
"dxpStyle": {},
|
|
31
|
+
"imageInfo": "",
|
|
32
|
+
"imageInfoMobile": "",
|
|
33
|
+
"logoWidth": 250
|
|
34
|
+
},
|
|
35
|
+
"definition": "dxp_content_layout:siteLogo",
|
|
36
|
+
"id": "<%= uuid() %>",
|
|
37
|
+
"type": "component"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"attributes": {
|
|
41
|
+
"dxpStyle": {},
|
|
42
|
+
"forgotPasswordLabel": "Forgot your password?",
|
|
43
|
+
"forgotPasswordUrl": "/ForgotPassword",
|
|
44
|
+
"loginButtonLabel": "Log In",
|
|
45
|
+
"passwordLabel": "Password",
|
|
46
|
+
"selfRegisterLabel": "Not a member?",
|
|
47
|
+
"selfRegisterUrl": "/SelfRegister",
|
|
48
|
+
"startUrl": "",
|
|
49
|
+
"usernameLabel": "Username"
|
|
50
|
+
},
|
|
51
|
+
"definition": "community_login:loginForm",
|
|
52
|
+
"id": "<%= uuid() %>",
|
|
53
|
+
"type": "component"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"attributes": {
|
|
57
|
+
"dxpStyle": {},
|
|
58
|
+
"employeeLoginLinkLabel": "Are you an employee? Log in"
|
|
59
|
+
},
|
|
60
|
+
"definition": "community_login:employeeLoginLink",
|
|
61
|
+
"id": "<%= uuid() %>",
|
|
62
|
+
"type": "component"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"id": "<%= uuid('col1') %>",
|
|
66
|
+
"name": "col1",
|
|
67
|
+
"title": "Column 1",
|
|
68
|
+
"type": "region"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"definition": "community_layout:section",
|
|
72
|
+
"id": "<%= uuid('section') %>",
|
|
73
|
+
"type": "component"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"id": "<%= uuid() %>",
|
|
77
|
+
"name": "content",
|
|
78
|
+
"title": "Content",
|
|
79
|
+
"type": "region"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"children": [
|
|
83
|
+
{
|
|
84
|
+
"attributes": {
|
|
85
|
+
"customHeadTags": "",
|
|
86
|
+
"description": "",
|
|
87
|
+
"dxpStyle": {},
|
|
88
|
+
"pageTitle": "Login",
|
|
89
|
+
"recordId": "{!recordId}"
|
|
90
|
+
},
|
|
91
|
+
"definition": "community_builder:seoAssistant",
|
|
92
|
+
"id": "<%= uuid() %>",
|
|
93
|
+
"type": "component"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"id": "<%= uuid() %>",
|
|
97
|
+
"name": "sfdcHiddenRegion",
|
|
98
|
+
"title": "sfdcHiddenRegion",
|
|
99
|
+
"type": "region"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
103
|
+
"id": "<%= uuid() %>",
|
|
104
|
+
"type": "component"
|
|
105
|
+
},
|
|
106
|
+
"dataProviders": [],
|
|
107
|
+
"themeLayoutType": "Inner",
|
|
108
|
+
"viewType": "login-main"
|
|
109
|
+
},
|
|
110
|
+
"urlName": "login"
|
|
111
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type" : "sfdc_cms__view",
|
|
3
|
+
"title" : "News Detail",
|
|
4
|
+
"contentBody" : {
|
|
5
|
+
"component" : {
|
|
6
|
+
"children" : [ {
|
|
7
|
+
"children" : [ {
|
|
8
|
+
"attributes" : {
|
|
9
|
+
"backgroundImageConfig" : "",
|
|
10
|
+
"backgroundImageOverlay" : "rgba(0,0,0,0)",
|
|
11
|
+
"componentSpacerSize" : "",
|
|
12
|
+
"layoutDirectionDesktop" : "row",
|
|
13
|
+
"layoutDirectionMobile" : "column",
|
|
14
|
+
"layoutDirectionTablet" : "column",
|
|
15
|
+
"maxContentWidth" : "",
|
|
16
|
+
"sectionColumnGutterWidth" : "",
|
|
17
|
+
"sectionConfig" : "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":[]}]}",
|
|
18
|
+
"sectionMinHeight" : "",
|
|
19
|
+
"sectionVerticalAlign" : "flex-start"
|
|
20
|
+
},
|
|
21
|
+
"children" : [ {
|
|
22
|
+
"id" : "<%= uuid('col1') %>",
|
|
23
|
+
"name" : "col1",
|
|
24
|
+
"title" : "Column 1",
|
|
25
|
+
"type" : "region"
|
|
26
|
+
} ],
|
|
27
|
+
"definition" : "community_layout:section",
|
|
28
|
+
"id" : "<%= uuid('section') %>",
|
|
29
|
+
"type" : "component"
|
|
30
|
+
} ],
|
|
31
|
+
"id" : "<%= uuid() %>",
|
|
32
|
+
"name" : "content",
|
|
33
|
+
"title" : "Content",
|
|
34
|
+
"type" : "region"
|
|
35
|
+
}, {
|
|
36
|
+
"children" : [ {
|
|
37
|
+
"attributes" : {
|
|
38
|
+
"customHeadTags" : "",
|
|
39
|
+
"description" : "",
|
|
40
|
+
"pageTitle" : "{!Content.contentTypeLabel}.{!Content.title}",
|
|
41
|
+
"recordId" : "{!recordId}"
|
|
42
|
+
},
|
|
43
|
+
"definition" : "community_builder:seoAssistant",
|
|
44
|
+
"id" : "<%= uuid() %>",
|
|
45
|
+
"type" : "component"
|
|
46
|
+
} ],
|
|
47
|
+
"id" : "<%= uuid() %>",
|
|
48
|
+
"name" : "sfdcHiddenRegion",
|
|
49
|
+
"title" : "sfdcHiddenRegion",
|
|
50
|
+
"type" : "region"
|
|
51
|
+
} ],
|
|
52
|
+
"definition" : "community_layout:sldsFlexibleLayout",
|
|
53
|
+
"id" : "<%= uuid() %>",
|
|
54
|
+
"type" : "component"
|
|
55
|
+
},
|
|
56
|
+
"dataProviders" : [ ],
|
|
57
|
+
"themeLayoutType" : "Inner",
|
|
58
|
+
"viewType" : "managed-content-sfdc_cms__news"
|
|
59
|
+
},
|
|
60
|
+
"urlName" : "news-detail"
|
|
61
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Register",
|
|
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
|
+
"cancelLinkLabel": "Already have an account?",
|
|
40
|
+
"confirmPasswordLabel": "Confirm Password",
|
|
41
|
+
"emailLabel": "Email",
|
|
42
|
+
"firstnameLabel": "First Name",
|
|
43
|
+
"includePasswordField": true,
|
|
44
|
+
"lastnameLabel": "Last Name",
|
|
45
|
+
"passwordLabel": "Create Password",
|
|
46
|
+
"regConfirmUrl": "./CheckPasswordResetEmail",
|
|
47
|
+
"submitButtonLabel": "Sign Up"
|
|
48
|
+
},
|
|
49
|
+
"definition": "community_login:selfRegister",
|
|
50
|
+
"id": "<%= uuid() %>",
|
|
51
|
+
"type": "component"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"id": "<%= uuid('col1') %>",
|
|
55
|
+
"name": "col1",
|
|
56
|
+
"title": "Column 1",
|
|
57
|
+
"type": "region"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"definition": "community_layout:section",
|
|
61
|
+
"id": "<%= uuid('section') %>",
|
|
62
|
+
"type": "component"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"id": "<%= uuid() %>",
|
|
66
|
+
"name": "content",
|
|
67
|
+
"title": "Content",
|
|
68
|
+
"type": "region"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"children": [
|
|
72
|
+
{
|
|
73
|
+
"attributes": {
|
|
74
|
+
"customHeadTags": "",
|
|
75
|
+
"description": "",
|
|
76
|
+
"pageTitle": "Register",
|
|
77
|
+
"recordId": "{!recordId}"
|
|
78
|
+
},
|
|
79
|
+
"definition": "community_builder:seoAssistant",
|
|
80
|
+
"id": "<%= uuid() %>",
|
|
81
|
+
"type": "component"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"id": "<%= uuid() %>",
|
|
85
|
+
"name": "sfdcHiddenRegion",
|
|
86
|
+
"title": "sfdcHiddenRegion",
|
|
87
|
+
"type": "region"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
91
|
+
"id": "<%= uuid() %>",
|
|
92
|
+
"type": "component"
|
|
93
|
+
},
|
|
94
|
+
"dataProviders": [],
|
|
95
|
+
"themeLayoutType": "Inner",
|
|
96
|
+
"viewType": "self-register"
|
|
97
|
+
},
|
|
98
|
+
"urlName": "register"
|
|
99
|
+
}
|
package/lib/templates/dxpsite/build_your_own_lwr/sfdc_cms__view/serviceNotAvailable/content.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type" : "sfdc_cms__view",
|
|
3
|
+
"title" : "Service Not Available",
|
|
4
|
+
"contentBody" : {
|
|
5
|
+
"component" : {
|
|
6
|
+
"children" : [ {
|
|
7
|
+
"children" : [ {
|
|
8
|
+
"attributes" : {
|
|
9
|
+
"backgroundImageConfig" : "",
|
|
10
|
+
"backgroundImageOverlay" : "rgba(0,0,0,0)",
|
|
11
|
+
"componentSpacerSize" : "",
|
|
12
|
+
"layoutDirectionDesktop" : "row",
|
|
13
|
+
"layoutDirectionMobile" : "column",
|
|
14
|
+
"layoutDirectionTablet" : "column",
|
|
15
|
+
"maxContentWidth" : "",
|
|
16
|
+
"sectionColumnGutterWidth" : "",
|
|
17
|
+
"sectionConfig" : "{\"UUID\":\"<%= uuid('section') %>\",\"columns\":[{\"UUID\":\"<%= uuid('col1') %>\",\"columnName\":\"Column 1\",\"columnKey\":\"col1\",\"columnWidth\":\"12\",\"seedComponents\":null}]}",
|
|
18
|
+
"sectionMinHeight" : "",
|
|
19
|
+
"sectionVerticalAlign" : "flex-start"
|
|
20
|
+
},
|
|
21
|
+
"children" : [ {
|
|
22
|
+
"children" : [ {
|
|
23
|
+
"attributes" : {
|
|
24
|
+
"imageInfos" : "",
|
|
25
|
+
"richTextValue" : "<div style=\"display: flex; align-items: center; flex-direction: column; margin: 60px 25px 40px 25px;\">\n\t<div style=\"background: url(assets/img/serviceNotAvailable.svg) center no-repeat !important; background-size: contain; height: 331px; width: 100%; max-width: 538px;\"></div>\n</div>\n<div style=\"margin: 0 25px; text-align: center;\">\n\t<h1><b style=\"font-size: 2em\">Looks like the site is temporarily unavailable</b></h1>\n\t<br/>\n\t<p><span style=\"font-size: 1.5em;\">Please try again in a bit.</span></p>\n</div>"
|
|
26
|
+
},
|
|
27
|
+
"definition" : "community_builder:htmlEditor",
|
|
28
|
+
"id" : "<%= uuid() %>",
|
|
29
|
+
"type" : "component"
|
|
30
|
+
} ],
|
|
31
|
+
"id" : "<%= uuid('col1') %>",
|
|
32
|
+
"name" : "col1",
|
|
33
|
+
"title" : "Column 1",
|
|
34
|
+
"type" : "region"
|
|
35
|
+
} ],
|
|
36
|
+
"definition" : "community_layout:section",
|
|
37
|
+
"id" : "<%= uuid('section') %>",
|
|
38
|
+
"type" : "component"
|
|
39
|
+
} ],
|
|
40
|
+
"id" : "<%= uuid() %>",
|
|
41
|
+
"name" : "content",
|
|
42
|
+
"title" : "Content",
|
|
43
|
+
"type" : "region"
|
|
44
|
+
} ],
|
|
45
|
+
"definition" : "community_layout:sldsFlexibleLayout",
|
|
46
|
+
"id" : "<%= uuid() %>",
|
|
47
|
+
"type" : "component"
|
|
48
|
+
},
|
|
49
|
+
"dataProviders" : [ ],
|
|
50
|
+
"themeLayoutType" : "ServiceNotAvailable",
|
|
51
|
+
"viewType" : "service-not-available"
|
|
52
|
+
},
|
|
53
|
+
"urlName" : "service-not-available"
|
|
54
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "sfdc_cms__view",
|
|
3
|
+
"title": "Too Many Requests",
|
|
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; align-items: center; flex-direction: column; margin: 60px 25px 30px 25px;\">\n\t<div style=\"background-image: url(assets/img/tooManyRequests.svg) !important; background-size: contain; height: 350px; width: 100%; background-repeat: no-repeat; background-position: center;\"></div>\n</div>\n<div style=\"margin: 0 25px; text-align: center;\">\n\t<h1 class=\"slds-text-heading_large\">Looks like the site is experiencing higher than usual demand…</h1>\n\t<p class=\"slds-text-heading_small\">Don't go anywhere. We'll redirect you in a moment.</p>\n</div>"
|
|
30
|
+
},
|
|
31
|
+
"definition": "community_builder:htmlEditor",
|
|
32
|
+
"id": "<%= uuid() %>",
|
|
33
|
+
"type": "component"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"attributes": {},
|
|
37
|
+
"definition": "experience_availability:autoRefresh",
|
|
38
|
+
"id": "<%= uuid() %>",
|
|
39
|
+
"type": "component"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"id": "<%= uuid('col1') %>",
|
|
43
|
+
"name": "col1",
|
|
44
|
+
"title": "Column 1",
|
|
45
|
+
"type": "region"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"definition": "community_layout:section",
|
|
49
|
+
"id": "<%= uuid('section') %>",
|
|
50
|
+
"type": "component"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"id": "<%= uuid() %>",
|
|
54
|
+
"name": "content",
|
|
55
|
+
"title": "Content",
|
|
56
|
+
"type": "region"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"definition": "community_layout:sldsFlexibleLayout",
|
|
60
|
+
"id": "<%= uuid() %>",
|
|
61
|
+
"type": "component"
|
|
62
|
+
},
|
|
63
|
+
"dataProviders": [],
|
|
64
|
+
"themeLayoutType": "ServiceNotAvailable",
|
|
65
|
+
"viewType": "too-many-requests"
|
|
66
|
+
},
|
|
67
|
+
"urlName": "too-many-requests"
|
|
68
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
AppPage FlexiPage Template
|
|
4
|
+
|
|
5
|
+
This is a placeholder template for an App Page.
|
|
6
|
+
Replace this content with your actual FlexiPage XML.
|
|
7
|
+
|
|
8
|
+
Template Variables Available:
|
|
9
|
+
- flexipagename: The name of the FlexiPage
|
|
10
|
+
- masterlabel: The display label
|
|
11
|
+
- description: The page description
|
|
12
|
+
- apiVersion: The Salesforce API version
|
|
13
|
+
-->
|
|
14
|
+
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
15
|
+
<flexiPageRegions>
|
|
16
|
+
<itemInstances>
|
|
17
|
+
<componentInstance>
|
|
18
|
+
<componentInstanceProperties>
|
|
19
|
+
<name>dashboardName</name>
|
|
20
|
+
<value>Program_Dashboard_sfdcSESv60</value>
|
|
21
|
+
</componentInstanceProperties>
|
|
22
|
+
<componentInstanceProperties>
|
|
23
|
+
<name>hideOnError</name>
|
|
24
|
+
<value>true</value>
|
|
25
|
+
</componentInstanceProperties>
|
|
26
|
+
<componentName>desktopDashboards:embeddedDashboard</componentName>
|
|
27
|
+
<identifier>desktopDashboards_embeddedDashboard</identifier>
|
|
28
|
+
</componentInstance>
|
|
29
|
+
</itemInstances>
|
|
30
|
+
<name>region1</name>
|
|
31
|
+
<type>Region</type>
|
|
32
|
+
</flexiPageRegions>
|
|
33
|
+
<flexiPageRegions>
|
|
34
|
+
<itemInstances>
|
|
35
|
+
<componentInstance>
|
|
36
|
+
<componentInstanceProperties>
|
|
37
|
+
<name>entityNames</name>
|
|
38
|
+
<valueList>
|
|
39
|
+
<valueListItems>
|
|
40
|
+
<value>Account</value>
|
|
41
|
+
</valueListItems>
|
|
42
|
+
<valueListItems>
|
|
43
|
+
<value>Asset</value>
|
|
44
|
+
</valueListItems>
|
|
45
|
+
<valueListItems>
|
|
46
|
+
<value>Case</value>
|
|
47
|
+
</valueListItems>
|
|
48
|
+
<valueListItems>
|
|
49
|
+
<value>Contact</value>
|
|
50
|
+
</valueListItems>
|
|
51
|
+
</valueList>
|
|
52
|
+
</componentInstanceProperties>
|
|
53
|
+
<componentInstanceProperties>
|
|
54
|
+
<name>label</name>
|
|
55
|
+
<value>Standard.RecentItems.RecentActivity</value>
|
|
56
|
+
</componentInstanceProperties>
|
|
57
|
+
<componentInstanceProperties>
|
|
58
|
+
<name>maxRecords</name>
|
|
59
|
+
<value>3</value>
|
|
60
|
+
</componentInstanceProperties>
|
|
61
|
+
<componentName>flexipage:recentItems</componentName>
|
|
62
|
+
<identifier>flexipage_recentItems</identifier>
|
|
63
|
+
</componentInstance>
|
|
64
|
+
</itemInstances>
|
|
65
|
+
<itemInstances>
|
|
66
|
+
<componentInstance>
|
|
67
|
+
<componentInstanceProperties>
|
|
68
|
+
<name>enableInlineEdit</name>
|
|
69
|
+
<value>true</value>
|
|
70
|
+
</componentInstanceProperties>
|
|
71
|
+
<componentInstanceProperties>
|
|
72
|
+
<name>entityName</name>
|
|
73
|
+
<value>Opportunity</value>
|
|
74
|
+
</componentInstanceProperties>
|
|
75
|
+
<componentInstanceProperties>
|
|
76
|
+
<name>filterName</name>
|
|
77
|
+
<value>AllOpportunities</value>
|
|
78
|
+
</componentInstanceProperties>
|
|
79
|
+
<componentInstanceProperties>
|
|
80
|
+
<name>hideActionBar</name>
|
|
81
|
+
<value>false</value>
|
|
82
|
+
</componentInstanceProperties>
|
|
83
|
+
<componentInstanceProperties>
|
|
84
|
+
<name>hideSearchBar</name>
|
|
85
|
+
<value>false</value>
|
|
86
|
+
</componentInstanceProperties>
|
|
87
|
+
<componentInstanceProperties>
|
|
88
|
+
<name>pageSize</name>
|
|
89
|
+
<value>3</value>
|
|
90
|
+
</componentInstanceProperties>
|
|
91
|
+
<componentName>flexipage:filterListCard</componentName>
|
|
92
|
+
<identifier>flexipage_filterListCard</identifier>
|
|
93
|
+
</componentInstance>
|
|
94
|
+
</itemInstances>
|
|
95
|
+
<name>region2</name>
|
|
96
|
+
<type>Region</type>
|
|
97
|
+
</flexiPageRegions>
|
|
98
|
+
<flexiPageRegions>
|
|
99
|
+
<itemInstances>
|
|
100
|
+
<componentInstance>
|
|
101
|
+
<componentInstanceProperties>
|
|
102
|
+
<name>context</name>
|
|
103
|
+
<value>BOOKMARKS</value>
|
|
104
|
+
</componentInstanceProperties>
|
|
105
|
+
<componentName>forceChatter:exposedFeed</componentName>
|
|
106
|
+
<identifier>forceChatter_exposedFeed</identifier>
|
|
107
|
+
</componentInstance>
|
|
108
|
+
</itemInstances>
|
|
109
|
+
<name>region3</name>
|
|
110
|
+
<type>Region</type>
|
|
111
|
+
</flexiPageRegions>
|
|
112
|
+
<description><%= description %></description>
|
|
113
|
+
<masterLabel><%= masterlabel %></masterLabel>
|
|
114
|
+
<template>
|
|
115
|
+
<name>flexipage:appHomeTemplateHeaderTwoColumnsLeftSidebar</name>
|
|
116
|
+
</template>
|
|
117
|
+
<type>AppPage</type>
|
|
118
|
+
</FlexiPage>
|