cc-core-cli 1.0.47 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/core/package.json +1 -106
- package/template/core/src/core/setting/_settings/global_login.json +217 -0
- package/template/core/src/core/setting/_settings/header_footer.json +83 -0
- package/template/core/src/core/setting/_settings/list_detail.json +588 -0
- package/template/core/src/core/setting/_settings/toast.json +344 -0
- package/template/core/src/core/setting/_settings/theme_layout.layout.json +0 -1227
package/package.json
CHANGED
|
@@ -21,112 +21,7 @@
|
|
|
21
21
|
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@aws-sdk/credential-providers": "^3.293.0",
|
|
26
|
-
"@azure/identity": "^3.2.3",
|
|
27
|
-
"@azure/storage-file-datalake": "^12.13.0",
|
|
28
|
-
"@fastify/cors": "^8.2.0",
|
|
29
|
-
"@fastify/static": "^6.5.1",
|
|
30
|
-
"@golevelup/nestjs-discovery": "^3.0.0",
|
|
31
|
-
"@nestjs/bull": "^0.6.3",
|
|
32
|
-
"@nestjs/common": "^9.3.9",
|
|
33
|
-
"@nestjs/core": "^9.3.9",
|
|
34
|
-
"@nestjs/jwt": "^10.0.2",
|
|
35
|
-
"@nestjs/mongoose": "^9.2.1",
|
|
36
|
-
"@nestjs/passport": "^9.0.3",
|
|
37
|
-
"@nestjs/platform-express": "^9.3.9",
|
|
38
|
-
"@nestjs/platform-fastify": "^9.3.9",
|
|
39
|
-
"@nestjs/schedule": "^2.2.0",
|
|
40
|
-
"@nestjs/swagger": "^6.2.1",
|
|
41
|
-
"@shopstack/cc-core-lib": "^2.5.26",
|
|
42
|
-
"@types/chroma-js": "^2.4.0",
|
|
43
|
-
"@types/numeral": "^2.0.2",
|
|
44
|
-
"amazon-cognito-identity-js": "^4.5.0",
|
|
45
|
-
"amqplib": "^0.8.0",
|
|
46
|
-
"async-redis": "^2.0.0",
|
|
47
|
-
"axios": "^0.21.1",
|
|
48
|
-
"base32-codecs": "^1.0.4",
|
|
49
|
-
"bs58": "^5.0.0",
|
|
50
|
-
"bson": "^4.2.3",
|
|
51
|
-
"bull": "^3.18.0",
|
|
52
|
-
"bwip-js": "^2.0.11",
|
|
53
|
-
"cartesian": "^1.0.1",
|
|
54
|
-
"chroma-js": "^2.4.2",
|
|
55
|
-
"cls-rtracer": "^2.6.2",
|
|
56
|
-
"cron-converter": "^1.0.0",
|
|
57
|
-
"crypto-js": "^4.0.0",
|
|
58
|
-
"csvtojson": "^2.0.10",
|
|
59
|
-
"currency-formatter": "^1.5.9",
|
|
60
|
-
"dayjs": "^1.11.5",
|
|
61
|
-
"dotenv": "^16.0.3",
|
|
62
|
-
"elasticsearch": "^16.7.2",
|
|
63
|
-
"events": "^3.3.0",
|
|
64
|
-
"exceljs": "^4.2.1",
|
|
65
|
-
"fastify": "^4.10.2",
|
|
66
|
-
"fastify-helmet": "^5.0.3",
|
|
67
|
-
"fastify-rate-limit": "^4.0.3",
|
|
68
|
-
"fastify-xml-body-parser": "^2.2.0",
|
|
69
|
-
"file-type": "^16.5.0",
|
|
70
|
-
"flat": "^5.0.2",
|
|
71
|
-
"form-data": "^3.0.0",
|
|
72
|
-
"fs-extra": "^9.0.1",
|
|
73
|
-
"googleapis": "^59.0.0",
|
|
74
|
-
"hot-formula-parser": "^4.0.0",
|
|
75
|
-
"image-to-base64": "^2.1.1",
|
|
76
|
-
"ioredis": "^5.2.4",
|
|
77
|
-
"json-rules-engine": "^6.1.2",
|
|
78
|
-
"json2csv": "^5.0.3",
|
|
79
|
-
"jsonwebtoken": "^9.0.0",
|
|
80
|
-
"jwk-to-pem": "^2.0.3",
|
|
81
|
-
"kafkajs": "^1.16.0",
|
|
82
|
-
"knex": "^2.4.2",
|
|
83
|
-
"ldapauth-fork": "^5.0.5",
|
|
84
|
-
"lodash": "^4.17.20",
|
|
85
|
-
"lzutf8": "^0.6.0",
|
|
86
|
-
"moment": "^2.29.1",
|
|
87
|
-
"moment-timezone": "^0.5.40",
|
|
88
|
-
"mongoose": "^6.7.2",
|
|
89
|
-
"mongoose-dynamic-schemas": "^1.2.6",
|
|
90
|
-
"ms": "^2.1.2",
|
|
91
|
-
"mysql": "^2.18.1",
|
|
92
|
-
"mysql2": "^2.3.3",
|
|
93
|
-
"nanoid": "^3.1.20",
|
|
94
|
-
"nest-emitter": "^1.1.0",
|
|
95
|
-
"nestjs-cls": "^3.3.1",
|
|
96
|
-
"newrelic": "^9.10.1",
|
|
97
|
-
"node-fetch": "^2.6.1",
|
|
98
|
-
"nodemailer": "^6.4.14",
|
|
99
|
-
"numeral": "^2.0.6",
|
|
100
|
-
"object-path": "^0.11.8",
|
|
101
|
-
"oracledb": "^5.2.0",
|
|
102
|
-
"otplib": "^12.0.1",
|
|
103
|
-
"passport": "^0.6.0",
|
|
104
|
-
"passport-jwt": "^4.0.0",
|
|
105
|
-
"passport-local": "^1.0.0",
|
|
106
|
-
"pdf-img-convert": "^1.2.1",
|
|
107
|
-
"pdf-merger-js": "^3.2.1",
|
|
108
|
-
"performance-now": "^2.1.0",
|
|
109
|
-
"pg": "^8.7.1",
|
|
110
|
-
"puppeteer": "^5.3.1",
|
|
111
|
-
"qs": "^6.9.4",
|
|
112
|
-
"randomstring": "^1.1.5",
|
|
113
|
-
"reflect-metadata": "^0.1.13",
|
|
114
|
-
"request-image-size": "^2.2.0",
|
|
115
|
-
"rimraf": "^3.0.2",
|
|
116
|
-
"rxjs": "^7.5.4",
|
|
117
|
-
"sharp": "^0.31.2",
|
|
118
|
-
"sqlite3": "^5.0.2",
|
|
119
|
-
"ssh2-sftp-client": "^9.0.0",
|
|
120
|
-
"string-replace-async": "^2.0.0",
|
|
121
|
-
"stringify-object": "^3.3.0",
|
|
122
|
-
"swagger-ui-express": "^4.1.4",
|
|
123
|
-
"tedious": "^15.1.3",
|
|
124
|
-
"tesseract.js": "^4.0.3",
|
|
125
|
-
"thai-baht-text": "^1.0.8",
|
|
126
|
-
"to-words": "^2.3.0",
|
|
127
|
-
"uuid": "^8.3.1",
|
|
128
|
-
"web-push": "^3.6.1",
|
|
129
|
-
"xlsx": "^0.18.5"
|
|
24
|
+
"@shopstack/cc-core-lib": "^2.5.33"
|
|
130
25
|
},
|
|
131
26
|
"devDependencies": {
|
|
132
27
|
"@types/bull": "^3.14.4",
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
{
|
|
2
|
+
"detail": {
|
|
3
|
+
"title": {},
|
|
4
|
+
"blocks": [
|
|
5
|
+
{
|
|
6
|
+
"key": "c80f903d6fdaafbd0f65",
|
|
7
|
+
"type": "column",
|
|
8
|
+
"layout": {
|
|
9
|
+
"num_of_col": 2,
|
|
10
|
+
"fields": [
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"field": "file",
|
|
14
|
+
"type": "standard_component",
|
|
15
|
+
"unique_key": "standard_component_file_8c0994a927cb0a026b92",
|
|
16
|
+
"key": "global.default_profile",
|
|
17
|
+
"label": "Default Profile",
|
|
18
|
+
"link_type": "key",
|
|
19
|
+
"trigger": [],
|
|
20
|
+
"allow_extensions": [
|
|
21
|
+
"png",
|
|
22
|
+
"jpeg",
|
|
23
|
+
"jpg",
|
|
24
|
+
"svg"
|
|
25
|
+
],
|
|
26
|
+
"path_file": "system/global_setting/profile",
|
|
27
|
+
"is_public": true
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
{
|
|
32
|
+
"field": "entity_layout",
|
|
33
|
+
"type": "standard_component",
|
|
34
|
+
"unique_key": "standard_component_entity_layout_697ce53c3836353d0582",
|
|
35
|
+
"key": "global.my_profile_form",
|
|
36
|
+
"label": "My Profile Form",
|
|
37
|
+
"required": true,
|
|
38
|
+
"link_type": "key",
|
|
39
|
+
"entity": "other_entity",
|
|
40
|
+
"relate_ref": "user",
|
|
41
|
+
"trigger": []
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"field": "input",
|
|
45
|
+
"type": "standard_component",
|
|
46
|
+
"unique_key": "standard_component_input_bc64401b16c5e6846dd4",
|
|
47
|
+
"key": "global.my_profile_format",
|
|
48
|
+
"label": "My Profile Format",
|
|
49
|
+
"link_type": "key",
|
|
50
|
+
"entity": "other_entity",
|
|
51
|
+
"input_type": "single_line",
|
|
52
|
+
"relate_ref": "user",
|
|
53
|
+
"trigger": []
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"key": "6d7ed53df747852a5189",
|
|
61
|
+
"type": "column",
|
|
62
|
+
"layout": {
|
|
63
|
+
"num_of_col": 3,
|
|
64
|
+
"fields": [
|
|
65
|
+
[
|
|
66
|
+
{
|
|
67
|
+
"field": "radio",
|
|
68
|
+
"type": "standard_component",
|
|
69
|
+
"unique_key": "standard_component_radio_242dbf739e9d854b3744",
|
|
70
|
+
"key": "login.layout",
|
|
71
|
+
"label": "Layout",
|
|
72
|
+
"required": true,
|
|
73
|
+
"link_type": "key",
|
|
74
|
+
"options": [
|
|
75
|
+
{
|
|
76
|
+
"label": "setting.theme_layout.login_layout_v1",
|
|
77
|
+
"value": "v1"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"label": "setting.theme_layout.login_layout_v2",
|
|
81
|
+
"value": "v2"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "setting.theme_layout.login_layout_v3",
|
|
85
|
+
"value": "v3"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"option_type": "button",
|
|
89
|
+
"trigger": []
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
{
|
|
94
|
+
"field": "color_picker",
|
|
95
|
+
"type": "standard_component",
|
|
96
|
+
"unique_key": "standard_component_color_picker_e111455f23c61c6cdfbf",
|
|
97
|
+
"key": "login.logo_background_color",
|
|
98
|
+
"label": "Logo Background Color",
|
|
99
|
+
"required": false,
|
|
100
|
+
"link_type": "key",
|
|
101
|
+
"trigger": [],
|
|
102
|
+
"allow_alpha": true
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
[
|
|
106
|
+
{
|
|
107
|
+
"field": "color_picker",
|
|
108
|
+
"type": "standard_component",
|
|
109
|
+
"unique_key": "standard_component_color_picker_e5c3b59576e0d6debd6f",
|
|
110
|
+
"key": "login.background_color",
|
|
111
|
+
"label": "Background Color",
|
|
112
|
+
"required": false,
|
|
113
|
+
"link_type": "key",
|
|
114
|
+
"trigger": [],
|
|
115
|
+
"allow_alpha": true
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"key": "fec71ee1a473be569596",
|
|
123
|
+
"type": "column",
|
|
124
|
+
"layout": {
|
|
125
|
+
"num_of_col": 2,
|
|
126
|
+
"fields": [
|
|
127
|
+
[
|
|
128
|
+
{
|
|
129
|
+
"field": "file",
|
|
130
|
+
"type": "standard_component",
|
|
131
|
+
"unique_key": "standard_component_file_0496df53fa2ca5154fe0",
|
|
132
|
+
"key": "login.logo",
|
|
133
|
+
"label": "Logo",
|
|
134
|
+
"required": false,
|
|
135
|
+
"link_type": "key",
|
|
136
|
+
"trigger": [],
|
|
137
|
+
"allow_extensions": [
|
|
138
|
+
"png",
|
|
139
|
+
"jpg",
|
|
140
|
+
"jpeg",
|
|
141
|
+
"svg"
|
|
142
|
+
],
|
|
143
|
+
"path_file": "system/general_setting/logo",
|
|
144
|
+
"max_file_size": 10,
|
|
145
|
+
"is_public": true
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
[
|
|
149
|
+
{
|
|
150
|
+
"field": "file",
|
|
151
|
+
"type": "standard_component",
|
|
152
|
+
"unique_key": "standard_component_file_d1d601aa5d22b3ca3d02",
|
|
153
|
+
"key": "login.background_image",
|
|
154
|
+
"label": "Background Image",
|
|
155
|
+
"required": false,
|
|
156
|
+
"link_type": "key",
|
|
157
|
+
"trigger": [],
|
|
158
|
+
"allow_extensions": [
|
|
159
|
+
"png",
|
|
160
|
+
"jpg",
|
|
161
|
+
"jpeg",
|
|
162
|
+
"svg"
|
|
163
|
+
],
|
|
164
|
+
"path_file": "system/general_setting/bg",
|
|
165
|
+
"max_file_size": 10,
|
|
166
|
+
"is_public": true
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"key": "6f86da399efa24442ec0",
|
|
174
|
+
"type": "column",
|
|
175
|
+
"layout": {
|
|
176
|
+
"num_of_col": 1,
|
|
177
|
+
"fields": [
|
|
178
|
+
[
|
|
179
|
+
{
|
|
180
|
+
"field": "input",
|
|
181
|
+
"type": "standard_component",
|
|
182
|
+
"unique_key": "standard_component_input_8affb780c4cbfe1ddb79",
|
|
183
|
+
"key": "login.background_content",
|
|
184
|
+
"label": "Background Content",
|
|
185
|
+
"link_type": "key",
|
|
186
|
+
"input_type": "wysiwyg",
|
|
187
|
+
"trigger": []
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"redirect_mode": "refresh"
|
|
195
|
+
},
|
|
196
|
+
"name": "Global & Login",
|
|
197
|
+
"code": "global_login",
|
|
198
|
+
"type": [
|
|
199
|
+
"form"
|
|
200
|
+
],
|
|
201
|
+
"allow_actions": [
|
|
202
|
+
{
|
|
203
|
+
"action": "create",
|
|
204
|
+
"role_restrictions": []
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"action": "update",
|
|
208
|
+
"role_restrictions": []
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"deploy_package_settings": [
|
|
212
|
+
"general"
|
|
213
|
+
],
|
|
214
|
+
"restriction": [],
|
|
215
|
+
"hide_activity_log": true,
|
|
216
|
+
"hide_refresh": true
|
|
217
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"detail": {
|
|
3
|
+
"title": {},
|
|
4
|
+
"blocks": [
|
|
5
|
+
{
|
|
6
|
+
"key": "574a3e3eabd1e444bb98",
|
|
7
|
+
"type": "column",
|
|
8
|
+
"layout": {
|
|
9
|
+
"num_of_col": 6,
|
|
10
|
+
"fields": [
|
|
11
|
+
[
|
|
12
|
+
{
|
|
13
|
+
"field": "color_picker",
|
|
14
|
+
"type": "standard_component",
|
|
15
|
+
"unique_key": "standard_component_color_picker_fd86fc7f603a1e44959f",
|
|
16
|
+
"key": "header.breadcrumb_hover_color",
|
|
17
|
+
"label": "Breadcrumb Hover Color",
|
|
18
|
+
"link_type": "key",
|
|
19
|
+
"trigger": [],
|
|
20
|
+
"allow_alpha": false
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
{
|
|
25
|
+
"field": "color_picker",
|
|
26
|
+
"type": "standard_component",
|
|
27
|
+
"unique_key": "standard_component_color_picker_63cd4264860092f38299",
|
|
28
|
+
"key": "header.background_color",
|
|
29
|
+
"label": "Background Color",
|
|
30
|
+
"link_type": "key",
|
|
31
|
+
"trigger": [],
|
|
32
|
+
"allow_alpha": true
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"key": "54166ce7b2cff59b2692",
|
|
40
|
+
"type": "column",
|
|
41
|
+
"layout": {
|
|
42
|
+
"num_of_col": 1,
|
|
43
|
+
"fields": [
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
|
+
"field": "input",
|
|
47
|
+
"type": "standard_component",
|
|
48
|
+
"unique_key": "standard_component_input_c77b2a7686179d6bf1eb",
|
|
49
|
+
"key": "footer.content",
|
|
50
|
+
"label": "Content",
|
|
51
|
+
"link_type": "key",
|
|
52
|
+
"input_type": "wysiwyg",
|
|
53
|
+
"trigger": []
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"redirect_mode": "refresh"
|
|
61
|
+
},
|
|
62
|
+
"name": "Header & Footer",
|
|
63
|
+
"code": "header_footer",
|
|
64
|
+
"type": [
|
|
65
|
+
"form"
|
|
66
|
+
],
|
|
67
|
+
"allow_actions": [
|
|
68
|
+
{
|
|
69
|
+
"action": "create",
|
|
70
|
+
"role_restrictions": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"action": "update",
|
|
74
|
+
"role_restrictions": []
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"deploy_package_settings": [
|
|
78
|
+
"general"
|
|
79
|
+
],
|
|
80
|
+
"restriction": [],
|
|
81
|
+
"hide_activity_log": true,
|
|
82
|
+
"hide_refresh": true
|
|
83
|
+
}
|