@things-factory/reference-app 7.0.47 → 7.0.48

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/_index.html CHANGED
@@ -75,13 +75,7 @@
75
75
  }
76
76
  </style>
77
77
 
78
- <script>
79
- if ('serviceWorker' in navigator) {
80
- navigator.serviceWorker.register('/service-worker.js', {
81
- scope: '/'
82
- })
83
- }
84
- </script>
78
+ <script src="/index.js" defer></script>
85
79
  </head>
86
80
 
87
81
  <body class="light">
package/_index.js ADDED
@@ -0,0 +1,5 @@
1
+ if ('serviceWorker' in navigator) {
2
+ navigator.serviceWorker.register('/service-worker.js', {
3
+ scope: '/'
4
+ })
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "7.0.47",
3
+ "version": "7.0.48",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -69,43 +69,43 @@
69
69
  "@operato/scene-tab": "^7.0.0",
70
70
  "@operato/shell": "^7.0.0",
71
71
  "@operato/utils": "^7.0.0",
72
- "@things-factory/api": "^7.0.44",
73
- "@things-factory/apptool-ui": "^7.0.44",
74
- "@things-factory/attachment-base": "^7.0.44",
75
- "@things-factory/auth-ui": "^7.0.44",
76
- "@things-factory/board-service": "^7.0.44",
77
- "@things-factory/board-ui": "^7.0.47",
78
- "@things-factory/ccp": "^7.0.47",
79
- "@things-factory/code-ui": "^7.0.44",
80
- "@things-factory/contact": "^7.0.44",
81
- "@things-factory/context-ui": "^7.0.44",
82
- "@things-factory/dashboard": "^7.0.47",
83
- "@things-factory/dataset": "^7.0.47",
84
- "@things-factory/export-ui": "^7.0.44",
85
- "@things-factory/export-ui-excel": "^7.0.44",
86
- "@things-factory/help": "^7.0.44",
87
- "@things-factory/integration-ui": "^7.0.44",
88
- "@things-factory/lite-menu": "^7.0.47",
89
- "@things-factory/more-ui": "^7.0.44",
90
- "@things-factory/notification": "^7.0.44",
91
- "@things-factory/oauth2-client": "^7.0.44",
92
- "@things-factory/organization": "^7.0.44",
93
- "@things-factory/print-ui": "^7.0.44",
94
- "@things-factory/product-base": "^7.0.44",
95
- "@things-factory/qc": "^7.0.47",
96
- "@things-factory/resource-ui": "^7.0.44",
97
- "@things-factory/routing-base": "^7.0.44",
98
- "@things-factory/setting-base": "^7.0.44",
99
- "@things-factory/setting-ui": "^7.0.44",
100
- "@things-factory/shell": "^7.0.44",
101
- "@things-factory/system": "^7.0.44",
102
- "@things-factory/web-editor": "^7.0.44",
103
- "@things-factory/work-shift": "^7.0.44",
72
+ "@things-factory/api": "^7.0.48",
73
+ "@things-factory/apptool-ui": "^7.0.48",
74
+ "@things-factory/attachment-base": "^7.0.48",
75
+ "@things-factory/auth-ui": "^7.0.48",
76
+ "@things-factory/board-service": "^7.0.48",
77
+ "@things-factory/board-ui": "^7.0.48",
78
+ "@things-factory/ccp": "^7.0.48",
79
+ "@things-factory/code-ui": "^7.0.48",
80
+ "@things-factory/contact": "^7.0.48",
81
+ "@things-factory/context-ui": "^7.0.48",
82
+ "@things-factory/dashboard": "^7.0.48",
83
+ "@things-factory/dataset": "^7.0.48",
84
+ "@things-factory/export-ui": "^7.0.48",
85
+ "@things-factory/export-ui-excel": "^7.0.48",
86
+ "@things-factory/help": "^7.0.48",
87
+ "@things-factory/integration-ui": "^7.0.48",
88
+ "@things-factory/lite-menu": "^7.0.48",
89
+ "@things-factory/more-ui": "^7.0.48",
90
+ "@things-factory/notification": "^7.0.48",
91
+ "@things-factory/oauth2-client": "^7.0.48",
92
+ "@things-factory/organization": "^7.0.48",
93
+ "@things-factory/print-ui": "^7.0.48",
94
+ "@things-factory/product-base": "^7.0.48",
95
+ "@things-factory/qc": "^7.0.48",
96
+ "@things-factory/resource-ui": "^7.0.48",
97
+ "@things-factory/routing-base": "^7.0.48",
98
+ "@things-factory/setting-base": "^7.0.48",
99
+ "@things-factory/setting-ui": "^7.0.48",
100
+ "@things-factory/shell": "^7.0.48",
101
+ "@things-factory/system": "^7.0.48",
102
+ "@things-factory/web-editor": "^7.0.48",
103
+ "@things-factory/work-shift": "^7.0.48",
104
104
  "@tinymce/tinymce-webcomponent": "^2.0.1",
105
105
  "random-words": "^1.2.0"
106
106
  },
107
107
  "devDependencies": {
108
- "@things-factory/builder": "^7.0.33"
108
+ "@things-factory/builder": "^7.0.48"
109
109
  },
110
- "gitHead": "785ae44608f27d3c4c16b48cd8be5e6fce14ea6c"
110
+ "gitHead": "516772ebee08900790bcc43477419d60adcb4dcd"
111
111
  }
@@ -93,7 +93,7 @@
93
93
 
94
94
  <script src="<%- elementScript %>"></script>
95
95
  <script src="/theme.js"></script>
96
- <script>
96
+ <script nonce="<%= nonce %>">
97
97
  var pageEl = document.querySelector('#page')
98
98
  page.data = <%- JSON.stringify(data) %>
99
99
  </script>