@steedos/service-pages 2.5.12 → 2.5.13-beta.10

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.
@@ -55,7 +55,7 @@
55
55
  locale: Creator.USER_CONTEXT.user.locale
56
56
  })
57
57
 
58
- window.postMessage({ type: "Builder.loaded" })
58
+ window.postMessage({ type: "Builder.loaded" }, "*")
59
59
  })
60
60
  })();
61
61
 
@@ -331,6 +331,10 @@
331
331
 
332
332
  const page = Steedos.Page.getPage('app', app_id, null, null, pageName);
333
333
  if (page) {
334
+ Steedos.setDocumentTitle({
335
+ pageName: page.label,
336
+ tabName: null
337
+ })
334
338
  if (page.render_engine && page.render_engine != 'redash') {
335
339
  return Steedos.Page.render(container, page, Object.assign({}, options, {
336
340
  appId: app_id
@@ -14,7 +14,7 @@ enable_search: false
14
14
  enable_share: false
15
15
  enable_tasks: false
16
16
  enable_workflow: false
17
- hidden: false
17
+ hidden: true
18
18
  icon: contract
19
19
  is_enable: true
20
20
  version: 2
@@ -2,9 +2,10 @@
2
2
  * @Author: baozhoutao@steedos.com
3
3
  * @Date: 2023-08-01 17:47:18
4
4
  * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2023-08-02 16:54:35
5
+ * @LastEditTime: 2023-09-07 16:22:47
6
6
  * @Description:
7
7
  -->
8
+ <!DOCTYPE html>
8
9
  <html>
9
10
  <head>
10
11
  <style>
@@ -211,7 +211,7 @@ module.exports = {
211
211
  addAssetUrl: {
212
212
  handler: async function (ctx) {
213
213
  const { name, url } = ctx.params;
214
- console.log(`addAssetUrl`, name, url)
214
+ // console.log(`addAssetUrl`, name, url)
215
215
  return broker.broadcast("page.addAssetUrl", {
216
216
  name, url
217
217
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-pages",
3
- "version": "2.5.12",
3
+ "version": "2.5.13-beta.10",
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": "cdf06aa70a7b55d8dae3fdd62bb24d8fe004b5c9",
11
+ "gitHead": "f76edf1cd8bc1d159437aee9b83ca981f67dd2a1",
12
12
  "dependencies": {
13
13
  "ejs": "^3.1.8"
14
14
  }