@things-factory/operato-board 4.0.2 → 4.0.6

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.
@@ -1,3 +1,5 @@
1
+ import '@operato/board' // ox-board-viewer
2
+
1
3
  function setHighlightStyle(dropArea) {
2
4
  var style = document.createElement('style')
3
5
 
@@ -31,7 +33,7 @@ export default class BoardImporter {
31
33
  try {
32
34
  let previewModel = JSON.parse(reader.result)
33
35
 
34
- var preview = document.createElement('board-viewer')
36
+ var preview = document.createElement('ox-board-viewer')
35
37
 
36
38
  preview.style.width = '100%'
37
39
  preview.style.height = '80%'
@@ -4,16 +4,7 @@ import '../board-list/group-bar'
4
4
  import '../viewparts/board-info'
5
5
  import '../viewparts/group-info'
6
6
 
7
- import gql from 'graphql-tag'
8
- import { css, html } from 'lit-element'
9
- import { connect } from 'pwa-helpers/connect-mixin.js'
10
-
11
- import { UPDATE_FAVORITES } from '@things-factory/fav-base'
12
- import { openOverlay } from '@things-factory/layout-base'
13
- import { client, InfiniteScrollable, navigate, PageView, store } from '@things-factory/shell'
14
- import { ScrollbarStyles } from '@things-factory/styles'
15
- import { pulltorefresh, swipe } from '@things-factory/utils'
16
-
7
+ import { InfiniteScrollable, PageView, client, navigate, store } from '@things-factory/shell'
17
8
  import {
18
9
  createBoard,
19
10
  createGroup,
@@ -25,6 +16,14 @@ import {
25
16
  updateBoard,
26
17
  updateGroup
27
18
  } from '../graphql'
19
+ import { css, html } from 'lit-element'
20
+ import { pulltorefresh, swipe } from '@things-factory/utils'
21
+
22
+ import { ScrollbarStyles } from '@things-factory/styles'
23
+ import { UPDATE_FAVORITES } from '@things-factory/fav-base'
24
+ import { connect } from 'pwa-helpers/connect-mixin.js'
25
+ import gql from 'graphql-tag'
26
+ import { openOverlay } from '@things-factory/layout-base'
28
27
 
29
28
  class BoardListPage extends connect(store)(InfiniteScrollable(PageView)) {
30
29
  static get styles() {
@@ -158,7 +157,7 @@ class BoardListPage extends connect(store)(InfiniteScrollable(PageView)) {
158
157
  sortings: [
159
158
  {
160
159
  name: 'name',
161
- desc: true
160
+ desc: false
162
161
  }
163
162
  ],
164
163
  pagination: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "4.0.2",
3
+ "version": "4.0.6",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -42,72 +42,72 @@
42
42
  "docker:push:cn": "docker image push hatiolab/operato-board:latest-cn && docker image push hatiolab/operato-board:$npm_package_version-cn"
43
43
  },
44
44
  "dependencies": {
45
- "@things-factory/apptool-ui": "^4.0.1",
46
- "@things-factory/attachment-ui": "^4.0.1",
47
- "@things-factory/auth-ui": "^4.0.2",
48
- "@things-factory/board-service": "^4.0.1",
49
- "@things-factory/board-ui": "^4.0.1",
50
- "@things-factory/context-ui": "^4.0.1",
51
- "@things-factory/export-ui": "^4.0.1",
52
- "@things-factory/fav-base": "^4.0.1",
53
- "@things-factory/font-base": "^4.0.1",
54
- "@things-factory/form-ui": "^4.0.1",
55
- "@things-factory/help": "^4.0.1",
56
- "@things-factory/i18n-ui": "^4.0.1",
57
- "@things-factory/import-ui": "^4.0.1",
58
- "@things-factory/integration-notification": "^4.0.1",
59
- "@things-factory/integration-ui": "^4.0.1",
60
- "@things-factory/layout-ui": "^4.0.1",
61
- "@things-factory/more-ui": "^4.0.1",
62
- "@things-factory/notification": "^4.0.1",
63
- "@things-factory/oauth2-client": "^4.0.1",
64
- "@things-factory/offline-ui": "^4.0.1",
45
+ "@operato/scene-switch": "^0.0.3",
46
+ "@things-factory/apptool-ui": "^4.0.6",
47
+ "@things-factory/attachment-ui": "^4.0.6",
48
+ "@things-factory/auth-ui": "^4.0.6",
49
+ "@things-factory/board-service": "^4.0.6",
50
+ "@things-factory/board-ui": "^4.0.6",
51
+ "@things-factory/context-ui": "^4.0.6",
52
+ "@things-factory/export-ui": "^4.0.6",
53
+ "@things-factory/fav-base": "^4.0.6",
54
+ "@things-factory/font-base": "^4.0.6",
55
+ "@things-factory/form-ui": "^4.0.6",
56
+ "@things-factory/help": "^4.0.6",
57
+ "@things-factory/i18n-ui": "^4.0.6",
58
+ "@things-factory/import-ui": "^4.0.6",
59
+ "@things-factory/integration-notification": "^4.0.6",
60
+ "@things-factory/integration-ui": "^4.0.6",
61
+ "@things-factory/layout-ui": "^4.0.6",
62
+ "@things-factory/more-ui": "^4.0.6",
63
+ "@things-factory/notification": "^4.0.6",
64
+ "@things-factory/oauth2-client": "^4.0.6",
65
+ "@things-factory/offline-ui": "^4.0.6",
65
66
  "@things-factory/operato-license-checker": "^3.0.4",
66
- "@things-factory/pdf": "^4.0.1",
67
- "@things-factory/print-service": "^4.0.1",
68
- "@things-factory/print-ui": "^4.0.1",
69
- "@things-factory/resource-ui": "^4.0.2",
70
- "@things-factory/scene-ar": "^4.0.1",
71
- "@things-factory/scene-baidu-map": "^4.0.1",
72
- "@things-factory/scene-chartjs": "^4.0.1",
73
- "@things-factory/scene-clock": "^4.0.1",
74
- "@things-factory/scene-clone": "^4.0.1",
75
- "@things-factory/scene-compass": "^4.0.1",
76
- "@things-factory/scene-data-transform": "^4.0.1",
77
- "@things-factory/scene-excel": "^4.0.1",
78
- "@things-factory/scene-firebase": "^4.0.1",
79
- "@things-factory/scene-form": "^4.0.1",
80
- "@things-factory/scene-gauge": "^4.0.1",
81
- "@things-factory/scene-google-map": "^4.0.1",
82
- "@things-factory/scene-graphql": "^4.0.1",
83
- "@things-factory/scene-grist": "^4.0.1",
84
- "@things-factory/scene-half-roundrect": "^4.0.1",
85
- "@things-factory/scene-i18n": "^4.0.1",
86
- "@things-factory/scene-indoor-map": "^4.0.1",
87
- "@things-factory/scene-integration": "^4.0.1",
88
- "@things-factory/scene-label": "^4.0.1",
89
- "@things-factory/scene-legend": "^4.0.1",
90
- "@things-factory/scene-marker": "^4.0.1",
91
- "@things-factory/scene-mqtt": "^4.0.1",
92
- "@things-factory/scene-news-ticker": "^4.0.1",
93
- "@things-factory/scene-progressbar": "^4.0.1",
94
- "@things-factory/scene-random": "^4.0.1",
95
- "@things-factory/scene-restful": "^4.0.1",
96
- "@things-factory/scene-switch": "^4.0.1",
97
- "@things-factory/scene-tab": "^4.0.1",
98
- "@things-factory/scene-table": "^4.0.1",
99
- "@things-factory/scene-timer": "^4.0.1",
100
- "@things-factory/scene-urdf": "^4.0.1",
101
- "@things-factory/scene-visualizer": "^4.0.1",
102
- "@things-factory/scene-wheel-sorter": "^4.0.1",
103
- "@things-factory/screencast-ui": "^4.0.1",
104
- "@things-factory/setting-ui": "^4.0.1",
105
- "@things-factory/system-ui": "^4.0.1"
67
+ "@things-factory/pdf": "^4.0.6",
68
+ "@things-factory/print-service": "^4.0.6",
69
+ "@things-factory/print-ui": "^4.0.6",
70
+ "@things-factory/resource-ui": "^4.0.6",
71
+ "@things-factory/scene-ar": "^4.0.6",
72
+ "@things-factory/scene-baidu-map": "^4.0.6",
73
+ "@things-factory/scene-chartjs": "^4.0.6",
74
+ "@things-factory/scene-clock": "^4.0.6",
75
+ "@things-factory/scene-clone": "^4.0.6",
76
+ "@things-factory/scene-compass": "^4.0.6",
77
+ "@things-factory/scene-data-transform": "^4.0.6",
78
+ "@things-factory/scene-excel": "^4.0.6",
79
+ "@things-factory/scene-firebase": "^4.0.6",
80
+ "@things-factory/scene-form": "^4.0.6",
81
+ "@things-factory/scene-gauge": "^4.0.6",
82
+ "@things-factory/scene-google-map": "^4.0.6",
83
+ "@things-factory/scene-graphql": "^4.0.6",
84
+ "@things-factory/scene-grist": "^4.0.6",
85
+ "@things-factory/scene-half-roundrect": "^4.0.6",
86
+ "@things-factory/scene-i18n": "^4.0.6",
87
+ "@things-factory/scene-indoor-map": "^4.0.6",
88
+ "@things-factory/scene-integration": "^4.0.6",
89
+ "@things-factory/scene-label": "^4.0.6",
90
+ "@things-factory/scene-legend": "^4.0.6",
91
+ "@things-factory/scene-marker": "^4.0.6",
92
+ "@things-factory/scene-mqtt": "^4.0.6",
93
+ "@things-factory/scene-news-ticker": "^4.0.6",
94
+ "@things-factory/scene-progressbar": "^4.0.6",
95
+ "@things-factory/scene-random": "^4.0.6",
96
+ "@things-factory/scene-restful": "^4.0.6",
97
+ "@things-factory/scene-tab": "^4.0.6",
98
+ "@things-factory/scene-table": "^4.0.6",
99
+ "@things-factory/scene-timer": "^4.0.6",
100
+ "@things-factory/scene-urdf": "^4.0.6",
101
+ "@things-factory/scene-visualizer": "^4.0.6",
102
+ "@things-factory/scene-wheel-sorter": "^4.0.6",
103
+ "@things-factory/screencast-ui": "^4.0.6",
104
+ "@things-factory/setting-ui": "^4.0.6",
105
+ "@things-factory/system-ui": "^4.0.6"
106
106
  },
107
107
  "devDependencies": {
108
- "@things-factory/board-test": "^4.0.1",
109
- "@things-factory/builder": "^4.0.1"
108
+ "@things-factory/board-test": "^4.0.6",
109
+ "@things-factory/builder": "^4.0.6"
110
110
  },
111
111
  "resolutions": {},
112
- "gitHead": "db0fba9891f6706d3e07a2b2deab1e81eb064135"
112
+ "gitHead": "471247c3499ba439b074c7654ae8d8e9fc3972f0"
113
113
  }
@@ -80,7 +80,6 @@
80
80
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
81
81
  <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
82
82
  <script src="node_modules/web-animations-js/web-animations-next.min.js"></script>
83
- <script src="node_modules/@lottiefiles/lottie-player/dist/lottie-player.js"></script>
84
83
  <!-- Built with love using PWA Starter Kit -->
85
84
 
86
85
  <script src="<%- elementScript %>"></script>