@things-factory/operato-board 6.1.0 → 6.1.2
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/client/pages/board-list-page.js +1 -20
- package/client/pages/play-list-page.js +1 -20
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -29
- package/schema.gql +40 -0
- package/config.development.js +0 -56
- package/config.production.js +0 -33
|
@@ -53,18 +53,6 @@ class BoardListPage extends localize(i18next)(connect(store)(InfiniteScrollable(
|
|
|
53
53
|
bottom: 15px;
|
|
54
54
|
right: 16px;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
oops-spinner {
|
|
58
|
-
display: none;
|
|
59
|
-
position: absolute;
|
|
60
|
-
left: 50%;
|
|
61
|
-
top: 50%;
|
|
62
|
-
transform: translate(-50%, -50%);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
oops-spinner[show] {
|
|
66
|
-
display: block;
|
|
67
|
-
}
|
|
68
56
|
`
|
|
69
57
|
]
|
|
70
58
|
}
|
|
@@ -77,8 +65,7 @@ class BoardListPage extends localize(i18next)(connect(store)(InfiniteScrollable(
|
|
|
77
65
|
favorites: Array,
|
|
78
66
|
boardPermissions: Array,
|
|
79
67
|
_page: Number,
|
|
80
|
-
_total: Number
|
|
81
|
-
_showSpinner: Boolean
|
|
68
|
+
_total: Number
|
|
82
69
|
}
|
|
83
70
|
}
|
|
84
71
|
|
|
@@ -126,8 +113,6 @@ class BoardListPage extends localize(i18next)(connect(store)(InfiniteScrollable(
|
|
|
126
113
|
@create-board=${e => this.onCreateBoard(e.detail)}
|
|
127
114
|
@refresh-favorites=${e => this.refreshFavorites()}
|
|
128
115
|
></board-tile-list>
|
|
129
|
-
|
|
130
|
-
<oops-spinner ?show=${this._showSpinner}></oops-spinner>
|
|
131
116
|
`
|
|
132
117
|
}
|
|
133
118
|
|
|
@@ -192,8 +177,6 @@ class BoardListPage extends localize(i18next)(connect(store)(InfiniteScrollable(
|
|
|
192
177
|
return
|
|
193
178
|
}
|
|
194
179
|
|
|
195
|
-
this._showSpinner = true
|
|
196
|
-
|
|
197
180
|
var { items: boards, total } = await this.getBoards()
|
|
198
181
|
this.boards = boards
|
|
199
182
|
this._page = 1
|
|
@@ -205,8 +188,6 @@ class BoardListPage extends localize(i18next)(connect(store)(InfiniteScrollable(
|
|
|
205
188
|
|
|
206
189
|
list.style.transition = ''
|
|
207
190
|
list.style.transform = `translate3d(0, 0, 0)`
|
|
208
|
-
|
|
209
|
-
this._showSpinner = false
|
|
210
191
|
}
|
|
211
192
|
|
|
212
193
|
async appendBoards() {
|
|
@@ -52,18 +52,6 @@ class PlayListPage extends localize(i18next)(connect(store)(PageView)) {
|
|
|
52
52
|
right: 16px;
|
|
53
53
|
text-decoration: auto;
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
oops-spinner {
|
|
57
|
-
display: none;
|
|
58
|
-
position: absolute;
|
|
59
|
-
left: 50%;
|
|
60
|
-
top: 50%;
|
|
61
|
-
transform: translate(-50%, -50%);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
oops-spinner[show] {
|
|
65
|
-
display: block;
|
|
66
|
-
}
|
|
67
55
|
`
|
|
68
56
|
]
|
|
69
57
|
}
|
|
@@ -73,8 +61,7 @@ class PlayListPage extends localize(i18next)(connect(store)(PageView)) {
|
|
|
73
61
|
groupId: String,
|
|
74
62
|
groups: Array,
|
|
75
63
|
boards: Array,
|
|
76
|
-
favorites: Array
|
|
77
|
-
_showSpinner: Boolean
|
|
64
|
+
favorites: Array
|
|
78
65
|
}
|
|
79
66
|
}
|
|
80
67
|
|
|
@@ -110,8 +97,6 @@ class PlayListPage extends localize(i18next)(connect(store)(PageView)) {
|
|
|
110
97
|
<a id="play" .href=${'board-player/' + this.groupId}>
|
|
111
98
|
<mwc-fab icon="play_arrow" title="play"> </mwc-fab>
|
|
112
99
|
</a>
|
|
113
|
-
|
|
114
|
-
<oops-spinner ?show=${this._showSpinner}></oops-spinner>
|
|
115
100
|
`
|
|
116
101
|
}
|
|
117
102
|
|
|
@@ -139,8 +124,6 @@ class PlayListPage extends localize(i18next)(connect(store)(PageView)) {
|
|
|
139
124
|
return
|
|
140
125
|
}
|
|
141
126
|
|
|
142
|
-
this._showSpinner = true
|
|
143
|
-
|
|
144
127
|
if (this.groupId) {
|
|
145
128
|
var playGroup = (await fetchPlayGroup(this.groupId)).playGroup
|
|
146
129
|
this.boards = playGroup ? playGroup.boards : []
|
|
@@ -154,8 +137,6 @@ class PlayListPage extends localize(i18next)(connect(store)(PageView)) {
|
|
|
154
137
|
|
|
155
138
|
list.style.transition = ''
|
|
156
139
|
list.style.transform = `translate3d(0, 0, 0)`
|
|
157
|
-
|
|
158
|
-
this._showSpinner = false
|
|
159
140
|
}
|
|
160
141
|
|
|
161
142
|
async pageInitialized() {
|