@things-factory/operato-board 6.1.1 → 6.1.4
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/config.development.js +4 -0
- package/config.production.js +4 -0
- package/package.json +29 -29
- package/schema.gql +40 -0
|
@@ -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() {
|
package/config.development.js
CHANGED
|
@@ -2,6 +2,10 @@ var licenseKey = require('./config/license').Key
|
|
|
2
2
|
module.exports = {
|
|
3
3
|
accessTokenCookieKey: 'access_token.board',
|
|
4
4
|
licenseKey: licenseKey,
|
|
5
|
+
openai: {
|
|
6
|
+
organization: 'org-WL2H4Xpiumk2fcpwuNklefnh',
|
|
7
|
+
apiKey: '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'
|
|
8
|
+
},
|
|
5
9
|
scheduler: {
|
|
6
10
|
/* Name to be used for setting client's "application" properties when registering a schedule */
|
|
7
11
|
application: 'operato-board',
|
package/config.production.js
CHANGED
|
@@ -4,6 +4,10 @@ module.exports = {
|
|
|
4
4
|
licenseKey: licenseKey,
|
|
5
5
|
protocol: 'https',
|
|
6
6
|
accessTokenCookieKey: 'access_token.board',
|
|
7
|
+
openai: {
|
|
8
|
+
organization: 'org-WL2H4Xpiumk2fcpwuNklefnh',
|
|
9
|
+
apiKey: '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'
|
|
10
|
+
},
|
|
7
11
|
email: {
|
|
8
12
|
host: 'smtp.office365.com', // your sender-email smtp host
|
|
9
13
|
port: 587, // smtp server port
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-board",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -80,41 +80,41 @@
|
|
|
80
80
|
"@operato/shell": "^1.0.1",
|
|
81
81
|
"@operato/styles": "^1.0.0",
|
|
82
82
|
"@operato/utils": "^1.0.1",
|
|
83
|
-
"@things-factory/apptool-ui": "^6.1.
|
|
84
|
-
"@things-factory/auth-ui": "^6.1.
|
|
85
|
-
"@things-factory/board-service": "^6.1.
|
|
86
|
-
"@things-factory/board-ui": "^6.1.
|
|
87
|
-
"@things-factory/context-ui": "^6.1.
|
|
88
|
-
"@things-factory/export-ui": "^6.1.
|
|
89
|
-
"@things-factory/fav-base": "^6.1.
|
|
90
|
-
"@things-factory/font-base": "^6.1.
|
|
83
|
+
"@things-factory/apptool-ui": "^6.1.2",
|
|
84
|
+
"@things-factory/auth-ui": "^6.1.2",
|
|
85
|
+
"@things-factory/board-service": "^6.1.2",
|
|
86
|
+
"@things-factory/board-ui": "^6.1.2",
|
|
87
|
+
"@things-factory/context-ui": "^6.1.2",
|
|
88
|
+
"@things-factory/export-ui": "^6.1.2",
|
|
89
|
+
"@things-factory/fav-base": "^6.1.2",
|
|
90
|
+
"@things-factory/font-base": "^6.1.2",
|
|
91
91
|
"@things-factory/form-ui": "^6.1.0",
|
|
92
|
-
"@things-factory/help": "^6.1.
|
|
93
|
-
"@things-factory/i18n-base": "^6.1.
|
|
94
|
-
"@things-factory/import-ui": "^6.1.
|
|
95
|
-
"@things-factory/integration-base": "^6.1.
|
|
96
|
-
"@things-factory/integration-msgraph": "^6.1.
|
|
97
|
-
"@things-factory/integration-notification": "^6.1.
|
|
98
|
-
"@things-factory/integration-openai": "^6.1.
|
|
99
|
-
"@things-factory/integration-ui": "^6.1.
|
|
92
|
+
"@things-factory/help": "^6.1.2",
|
|
93
|
+
"@things-factory/i18n-base": "^6.1.2",
|
|
94
|
+
"@things-factory/import-ui": "^6.1.2",
|
|
95
|
+
"@things-factory/integration-base": "^6.1.2",
|
|
96
|
+
"@things-factory/integration-msgraph": "^6.1.2",
|
|
97
|
+
"@things-factory/integration-notification": "^6.1.4",
|
|
98
|
+
"@things-factory/integration-openai": "^6.1.4",
|
|
99
|
+
"@things-factory/integration-ui": "^6.1.2",
|
|
100
100
|
"@things-factory/layout-ui": "^6.1.0",
|
|
101
|
-
"@things-factory/more-ui": "^6.1.
|
|
102
|
-
"@things-factory/notification": "^6.1.
|
|
103
|
-
"@things-factory/oauth2-client": "^6.1.
|
|
104
|
-
"@things-factory/offline-ui": "^6.1.
|
|
101
|
+
"@things-factory/more-ui": "^6.1.2",
|
|
102
|
+
"@things-factory/notification": "^6.1.4",
|
|
103
|
+
"@things-factory/oauth2-client": "^6.1.2",
|
|
104
|
+
"@things-factory/offline-ui": "^6.1.2",
|
|
105
105
|
"@things-factory/operato-license-checker": "^3.1.0",
|
|
106
106
|
"@things-factory/pdf": "^6.1.0",
|
|
107
|
-
"@things-factory/print-service": "^6.1.
|
|
108
|
-
"@things-factory/print-ui": "^6.1.
|
|
109
|
-
"@things-factory/resource-ui": "^6.1.
|
|
107
|
+
"@things-factory/print-service": "^6.1.2",
|
|
108
|
+
"@things-factory/print-ui": "^6.1.2",
|
|
109
|
+
"@things-factory/resource-ui": "^6.1.2",
|
|
110
110
|
"@things-factory/scene-google-map": "^6.1.0",
|
|
111
|
-
"@things-factory/setting-ui": "^6.1.
|
|
112
|
-
"@things-factory/shell": "^6.1.
|
|
113
|
-
"@things-factory/system-ui": "^6.1.
|
|
111
|
+
"@things-factory/setting-ui": "^6.1.2",
|
|
112
|
+
"@things-factory/shell": "^6.1.2",
|
|
113
|
+
"@things-factory/system-ui": "^6.1.2"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@things-factory/board-test": "^6.1.
|
|
116
|
+
"@things-factory/board-test": "^6.1.2",
|
|
117
117
|
"@things-factory/builder": "^6.1.0"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "071a2a3e4418a386d070fc1a38f415003a646537"
|
|
120
120
|
}
|
package/schema.gql
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!
|
|
4
4
|
# -----------------------------------------------
|
|
5
5
|
|
|
6
|
+
input APIDocCompletionInput {
|
|
7
|
+
code: String!
|
|
8
|
+
language: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type APIDocCompletionOutput {
|
|
12
|
+
message: String
|
|
13
|
+
}
|
|
14
|
+
|
|
6
15
|
type AccessToken {
|
|
7
16
|
accesToken: String!
|
|
8
17
|
refreshToken: String!
|
|
@@ -257,6 +266,24 @@ input BoardPatch {
|
|
|
257
266
|
thumbnail: String
|
|
258
267
|
}
|
|
259
268
|
|
|
269
|
+
input ChatCompletionInput {
|
|
270
|
+
content: String!
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
type ChatCompletionOutput {
|
|
274
|
+
message: String
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
input CodeDecipherInput {
|
|
278
|
+
code: String!
|
|
279
|
+
language: String
|
|
280
|
+
system: String
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
type CodeDecipherOutput {
|
|
284
|
+
message: String
|
|
285
|
+
}
|
|
286
|
+
|
|
260
287
|
"""Entity for CommonCode"""
|
|
261
288
|
type CommonCode {
|
|
262
289
|
createdAt: Timestamp
|
|
@@ -2184,6 +2211,7 @@ type PropertySpec {
|
|
|
2184
2211
|
}
|
|
2185
2212
|
|
|
2186
2213
|
type Query {
|
|
2214
|
+
APIDocCompletion(input: APIDocCompletionInput!): APIDocCompletionOutput!
|
|
2187
2215
|
appBinding(id: String!): AppBinding!
|
|
2188
2216
|
appBindings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): AppBindingList!
|
|
2189
2217
|
|
|
@@ -2224,6 +2252,7 @@ type Query {
|
|
|
2224
2252
|
|
|
2225
2253
|
"""To fetch Boards created by me"""
|
|
2226
2254
|
boardsCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
|
|
2255
|
+
chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
|
|
2227
2256
|
|
|
2228
2257
|
"""To check if system would provide default password to create new user"""
|
|
2229
2258
|
checkDefaultPassword: Boolean!
|
|
@@ -2264,6 +2293,8 @@ type Query {
|
|
|
2264
2293
|
"""To fetch multiple connector"""
|
|
2265
2294
|
connectors: ConnectorList!
|
|
2266
2295
|
customers: [Domain!]!
|
|
2296
|
+
decipherCode(input: CodeDecipherInput!): CodeDecipherOutput!
|
|
2297
|
+
decipherErrorCode(input: CodeDecipherInput!): CodeDecipherOutput!
|
|
2267
2298
|
|
|
2268
2299
|
"""To fetch domain"""
|
|
2269
2300
|
domain(id: String!): Domain!
|
|
@@ -2314,6 +2345,7 @@ type Query {
|
|
|
2314
2345
|
|
|
2315
2346
|
"""To query whether I have the given permission"""
|
|
2316
2347
|
hasPrivilege(category: String!, name: String!): Boolean!
|
|
2348
|
+
i18nCompletion(input: i18nCompletionInput!): i18nCompletionOutput!
|
|
2317
2349
|
invitation(email: String!, reference: String!, type: String!): Invitation!
|
|
2318
2350
|
invitations(reference: String!, type: String!): InvitationList!
|
|
2319
2351
|
|
|
@@ -2770,4 +2802,12 @@ type UserRole {
|
|
|
2770
2802
|
description: String
|
|
2771
2803
|
id: String
|
|
2772
2804
|
name: String
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
input i18nCompletionInput {
|
|
2808
|
+
json: String!
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
type i18nCompletionOutput {
|
|
2812
|
+
message: String
|
|
2773
2813
|
}
|