@steedos/service-pages 2.4.0-beta.37 → 2.4.0-beta.39
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.
|
@@ -91,19 +91,7 @@
|
|
|
91
91
|
"objectApiName": "${objectName}",
|
|
92
92
|
"recordId": "${recordId}",
|
|
93
93
|
appId: appId,
|
|
94
|
-
"id": "u:48d2c28eb755"
|
|
95
|
-
onEvent: {
|
|
96
|
-
"recordLoaded": {
|
|
97
|
-
"actions": [
|
|
98
|
-
{
|
|
99
|
-
"actionType": "reload",
|
|
100
|
-
"data": {
|
|
101
|
-
"name": `\${record.${objectInfo?.NAME_FIELD_KEY || 'name'}}`
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
},
|
|
94
|
+
"id": "u:48d2c28eb755"
|
|
107
95
|
}
|
|
108
96
|
],
|
|
109
97
|
"regions": [
|
|
@@ -257,27 +245,6 @@
|
|
|
257
245
|
|
|
258
246
|
schema = lodash.defaultsDeep(defData , schema);
|
|
259
247
|
|
|
260
|
-
const pageContentData = {
|
|
261
|
-
"blocks": [
|
|
262
|
-
{
|
|
263
|
-
"@type": "@builder.io/sdk:Element",
|
|
264
|
-
"@version": 2,
|
|
265
|
-
"id": `builder-${page._id}`,
|
|
266
|
-
"component": {
|
|
267
|
-
"name": upperFirst(page.render_engine),
|
|
268
|
-
"options": {
|
|
269
|
-
"schema": schema,
|
|
270
|
-
"data": data,
|
|
271
|
-
"name": page.name,
|
|
272
|
-
"pageType": page.type
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
}
|
|
276
|
-
],
|
|
277
|
-
"inputs": [
|
|
278
|
-
]
|
|
279
|
-
}
|
|
280
|
-
|
|
281
248
|
const findComponent = (obj, componentName)=>{
|
|
282
249
|
return lodash.find(obj, {name : componentName})
|
|
283
250
|
}
|
|
@@ -670,7 +637,7 @@
|
|
|
670
637
|
}
|
|
671
638
|
}
|
|
672
639
|
Steedos.Page.Header.getPage = function(appId, tabId){
|
|
673
|
-
const logoSrc = getSpaceLogo
|
|
640
|
+
const logoSrc = Tracker.nonreactive(getSpaceLogo);
|
|
674
641
|
return {
|
|
675
642
|
render_engine: 'amis',
|
|
676
643
|
name: 'steedosGlobalHeaderPage',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-pages",
|
|
3
|
-
"version": "2.4.0-beta.
|
|
3
|
+
"version": "2.4.0-beta.39",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "0925adf0cf3215fd5d068f50517be378a758c148",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ejs": "^3.1.8"
|
|
14
14
|
}
|