@steedos/service-pages 2.4.0-beta.36 → 2.4.0-beta.38
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.
|
@@ -257,27 +257,6 @@
|
|
|
257
257
|
|
|
258
258
|
schema = lodash.defaultsDeep(defData , schema);
|
|
259
259
|
|
|
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
260
|
const findComponent = (obj, componentName)=>{
|
|
282
261
|
return lodash.find(obj, {name : componentName})
|
|
283
262
|
}
|
|
@@ -381,6 +360,7 @@
|
|
|
381
360
|
if (!modalRoot) {
|
|
382
361
|
modalRoot = document.createElement('div');
|
|
383
362
|
modalRoot.setAttribute('id', rootId);
|
|
363
|
+
modalRoot.setAttribute('class', 'h-full')
|
|
384
364
|
$(".page-record-view-root")[0].appendChild(modalRoot);
|
|
385
365
|
}
|
|
386
366
|
|
|
@@ -669,7 +649,7 @@
|
|
|
669
649
|
}
|
|
670
650
|
}
|
|
671
651
|
Steedos.Page.Header.getPage = function(appId, tabId){
|
|
672
|
-
const logoSrc = getSpaceLogo
|
|
652
|
+
const logoSrc = Tracker.nonreactive(getSpaceLogo);
|
|
673
653
|
return {
|
|
674
654
|
render_engine: 'amis',
|
|
675
655
|
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.38",
|
|
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": "5f12dbff1ba92abe7fa9e4b050412cd8fa461b0b",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ejs": "^3.1.8"
|
|
14
14
|
}
|