@things-factory/operato-board 4.0.27 → 4.0.32

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.
@@ -4,7 +4,17 @@ import '../board-list/group-bar'
4
4
  import '../viewparts/board-info'
5
5
  import '../viewparts/group-info'
6
6
 
7
- import { InfiniteScrollable, PageView, client, navigate, store } from '@things-factory/shell'
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 InfiniteScrollable from '@operato/utils/mixins/infinite-scrollable.js'
12
+ import { UPDATE_FAVORITES } from '@things-factory/fav-base'
13
+ import { openOverlay } from '@things-factory/layout-base'
14
+ import { client, navigate, PageView, store } from '@things-factory/shell'
15
+ import { ScrollbarStyles } from '@things-factory/styles'
16
+ import { pulltorefresh, swipe } from '@things-factory/utils'
17
+
8
18
  import {
9
19
  createBoard,
10
20
  createGroup,
@@ -16,14 +26,6 @@ import {
16
26
  updateBoard,
17
27
  updateGroup
18
28
  } 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'
27
29
 
28
30
  class BoardListPage extends connect(store)(InfiniteScrollable(PageView)) {
29
31
  static get styles() {
@@ -417,7 +419,7 @@ class BoardListPage extends connect(store)(InfiniteScrollable(PageView)) {
417
419
  try {
418
420
  await client.mutate({
419
421
  mutation: gql`
420
- mutation($id: String!, $boardIds: [String!]!) {
422
+ mutation ($id: String!, $boardIds: [String!]!) {
421
423
  leavePlayGroup(id: $id, boardIds: $boardIds) {
422
424
  id
423
425
  }
@@ -0,0 +1,59 @@
1
+ module.exports = {
2
+ CHROMIUM_PATH: '/usr/local/bin/chromium',
3
+ accessTokenCookieKey: 'access_token.board',
4
+ ormconfig: {
5
+ name: 'default',
6
+ type: 'sqlite',
7
+ database: 'db.sqlite',
8
+ synchronize: false,
9
+ logging: true,
10
+ logger: 'debug'
11
+ },
12
+ // ormconfig: {
13
+ // name: 'default',
14
+ // type: 'postgres',
15
+ // database: 'board-app',
16
+ // username: 'postgres',
17
+ // password: 'hatioLAB1008',
18
+ // host: 'hatiolab-dev-database-1.cluster-cb0sbyfvrh6h.ap-northeast-2.rds.amazonaws.com',
19
+ // port: 5432,
20
+ // synchronize: true,
21
+ // logging: true
22
+ // },
23
+ email: {
24
+ host: 'smtp.office365.com',
25
+ port: 587,
26
+ secure: false, // true for 465, false for other ports
27
+ auth: {
28
+ user: 'no-reply@hatiolab.com', // generated ethereal user
29
+ pass: 'h@ti0LAB1008' // generated ethereal password
30
+ },
31
+ secureConnection: false,
32
+ tls: {
33
+ ciphers: 'SSLv3'
34
+ }
35
+ },
36
+ notification: {
37
+ fcm: {
38
+ serviceAccount: {
39
+ project_id: 'operato',
40
+ private_key:
41
+ '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/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LAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
42
+ client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
43
+ },
44
+ appConfig: {
45
+ apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
46
+ projectId: 'operato',
47
+ messagingSenderId: 79537064975,
48
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
49
+ },
50
+ serverKey:
51
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
52
+ },
53
+ vapidKey: {
54
+ subject: 'mailto:heartyoh@hatiolab.com',
55
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
56
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,59 @@
1
+ module.exports = {
2
+ CHROMIUM_PATH: '/usr/local/bin/chromium',
3
+ accessTokenCookieKey: 'access_token.board',
4
+ ormconfig: {
5
+ name: 'default',
6
+ type: 'sqlite',
7
+ database: 'db.sqlite',
8
+ synchronize: false,
9
+ logging: true,
10
+ logger: 'debug'
11
+ },
12
+ // ormconfig: {
13
+ // name: 'default',
14
+ // type: 'postgres',
15
+ // database: 'board-app',
16
+ // username: 'postgres',
17
+ // password: 'hatioLAB1008',
18
+ // host: 'hatiolab-dev-database-1.cluster-cb0sbyfvrh6h.ap-northeast-2.rds.amazonaws.com',
19
+ // port: 5432,
20
+ // synchronize: true,
21
+ // logging: true
22
+ // },
23
+ email: {
24
+ host: 'smtp.office365.com',
25
+ port: 587,
26
+ secure: false, // true for 465, false for other ports
27
+ auth: {
28
+ user: 'no-reply@hatiolab.com', // generated ethereal user
29
+ pass: 'h@ti0LAB1008' // generated ethereal password
30
+ },
31
+ secureConnection: false,
32
+ tls: {
33
+ ciphers: 'SSLv3'
34
+ }
35
+ },
36
+ notification: {
37
+ fcm: {
38
+ serviceAccount: {
39
+ project_id: 'operato',
40
+ private_key:
41
+ '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmnVAEv3zACi\nFH9+eFK3e+Q214XfgWz/v4p/FZdRLCYni5VBNHcwyWxLLS/V1ynzB3KM1sDiTRmI\npcT7+uTtwrKgJq64sXtFE2pYrFxDdCiyqzkhv/2ed4YIowAjpKBbbcCDKeVxVkoz\nC1P4PAzs9EeUuKSWYrWaUjN17lqtRlYeT1ylR1PIJuWqd4cKfgoEgz+lHwRPDCEX\nAYbk3nofiJIPBhSfCHrXS755wK48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ectId: 'operato',
47
+ messagingSenderId: 79537064975,
48
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
49
+ },
50
+ serverKey:
51
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
52
+ },
53
+ vapidKey: {
54
+ subject: 'mailto:heartyoh@hatiolab.com',
55
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
56
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
57
+ }
58
+ }
59
+ }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "4.0.27",
3
+ "version": "4.0.32",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -42,73 +42,73 @@
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
- "@operato/attachment": "^0.3.0",
46
- "@operato/scene-ar": "^0.1.0",
47
- "@operato/scene-chartjs": "^0.1.0",
48
- "@operato/scene-clock": "^0.1.0",
49
- "@operato/scene-clone": "^0.1.0",
50
- "@operato/scene-compass": "^0.1.0",
51
- "@operato/scene-gauge": "^0.1.0",
52
- "@operato/scene-grist": "^0.1.0",
53
- "@operato/scene-i18n": "^0.1.0",
54
- "@operato/scene-indoor-map": "^0.1.0",
55
- "@operato/scene-integration": "^0.1.0",
56
- "@operato/scene-legend": "^0.1.0",
57
- "@operato/scene-progressbar": "^0.1.0",
58
- "@operato/scene-random": "^0.1.0",
59
- "@operato/scene-switch": "^0.1.0",
60
- "@operato/scene-tab": "^0.1.0",
61
- "@operato/scene-table": "^0.1.0",
62
- "@operato/scene-timer": "^0.1.0",
63
- "@operato/scene-wheel-sorter": "^0.1.0",
64
- "@things-factory/apptool-ui": "^4.0.27",
65
- "@things-factory/attachment-ui": "^4.0.27",
66
- "@things-factory/auth-ui": "^4.0.27",
67
- "@things-factory/board-service": "^4.0.27",
68
- "@things-factory/board-ui": "^4.0.27",
69
- "@things-factory/context-ui": "^4.0.27",
70
- "@things-factory/export-ui": "^4.0.27",
71
- "@things-factory/fav-base": "^4.0.27",
72
- "@things-factory/font-base": "^4.0.27",
73
- "@things-factory/form-ui": "^4.0.27",
74
- "@things-factory/help": "^4.0.27",
75
- "@things-factory/i18n-ui": "^4.0.27",
76
- "@things-factory/import-ui": "^4.0.27",
77
- "@things-factory/integration-notification": "^4.0.27",
78
- "@things-factory/integration-ui": "^4.0.27",
79
- "@things-factory/layout-ui": "^4.0.27",
80
- "@things-factory/more-ui": "^4.0.27",
81
- "@things-factory/notification": "^4.0.27",
82
- "@things-factory/oauth2-client": "^4.0.27",
83
- "@things-factory/offline-ui": "^4.0.27",
45
+ "@operato/attachment": "^0.3.7",
46
+ "@operato/scene-ar": "^0.1.2",
47
+ "@operato/scene-chartjs": "^0.1.2",
48
+ "@operato/scene-clock": "^0.1.2",
49
+ "@operato/scene-clone": "^0.1.2",
50
+ "@operato/scene-compass": "^0.1.2",
51
+ "@operato/scene-gauge": "^0.1.2",
52
+ "@operato/scene-grist": "^0.1.2",
53
+ "@operato/scene-i18n": "^0.1.2",
54
+ "@operato/scene-indoor-map": "^0.1.2",
55
+ "@operato/scene-integration": "^0.1.2",
56
+ "@operato/scene-legend": "^0.1.2",
57
+ "@operato/scene-progressbar": "^0.1.2",
58
+ "@operato/scene-random": "^0.1.2",
59
+ "@operato/scene-switch": "^0.1.2",
60
+ "@operato/scene-tab": "^0.1.2",
61
+ "@operato/scene-table": "^0.1.2",
62
+ "@operato/scene-timer": "^0.1.2",
63
+ "@operato/scene-wheel-sorter": "^0.1.2",
64
+ "@things-factory/apptool-ui": "^4.0.32",
65
+ "@things-factory/attachment-ui": "^4.0.32",
66
+ "@things-factory/auth-ui": "^4.0.32",
67
+ "@things-factory/board-service": "^4.0.32",
68
+ "@things-factory/board-ui": "^4.0.32",
69
+ "@things-factory/context-ui": "^4.0.32",
70
+ "@things-factory/export-ui": "^4.0.32",
71
+ "@things-factory/fav-base": "^4.0.32",
72
+ "@things-factory/font-base": "^4.0.32",
73
+ "@things-factory/form-ui": "^4.0.32",
74
+ "@things-factory/help": "^4.0.32",
75
+ "@things-factory/i18n-ui": "^4.0.32",
76
+ "@things-factory/import-ui": "^4.0.32",
77
+ "@things-factory/integration-notification": "^4.0.32",
78
+ "@things-factory/integration-ui": "^4.0.32",
79
+ "@things-factory/layout-ui": "^4.0.32",
80
+ "@things-factory/more-ui": "^4.0.32",
81
+ "@things-factory/notification": "^4.0.32",
82
+ "@things-factory/oauth2-client": "^4.0.32",
83
+ "@things-factory/offline-ui": "^4.0.32",
84
84
  "@things-factory/operato-license-checker": "^3.0.4",
85
- "@things-factory/pdf": "^4.0.27",
86
- "@things-factory/print-service": "^4.0.27",
87
- "@things-factory/print-ui": "^4.0.27",
88
- "@things-factory/resource-ui": "^4.0.27",
89
- "@things-factory/scene-baidu-map": "^4.0.27",
90
- "@things-factory/scene-data-transform": "^4.0.27",
91
- "@things-factory/scene-excel": "^4.0.27",
92
- "@things-factory/scene-firebase": "^4.0.27",
93
- "@things-factory/scene-form": "^4.0.27",
94
- "@things-factory/scene-google-map": "^4.0.27",
95
- "@things-factory/scene-graphql": "^4.0.27",
85
+ "@things-factory/pdf": "^4.0.32",
86
+ "@things-factory/print-service": "^4.0.32",
87
+ "@things-factory/print-ui": "^4.0.32",
88
+ "@things-factory/resource-ui": "^4.0.32",
89
+ "@things-factory/scene-baidu-map": "^4.0.32",
90
+ "@things-factory/scene-data-transform": "^4.0.32",
91
+ "@things-factory/scene-excel": "^4.0.32",
92
+ "@things-factory/scene-firebase": "^4.0.32",
93
+ "@things-factory/scene-form": "^4.0.32",
94
+ "@things-factory/scene-google-map": "^4.0.32",
95
+ "@things-factory/scene-graphql": "^4.0.32",
96
96
  "@things-factory/scene-half-roundrect": "^4.0.9",
97
- "@things-factory/scene-label": "^4.0.27",
98
- "@things-factory/scene-marker": "^4.0.27",
99
- "@things-factory/scene-mqtt": "^4.0.27",
100
- "@things-factory/scene-news-ticker": "^4.0.27",
101
- "@things-factory/scene-restful": "^4.0.27",
102
- "@things-factory/scene-urdf": "^4.0.27",
103
- "@things-factory/scene-visualizer": "^4.0.27",
104
- "@things-factory/screencast-ui": "^4.0.27",
105
- "@things-factory/setting-ui": "^4.0.27",
106
- "@things-factory/system-ui": "^4.0.27"
97
+ "@things-factory/scene-label": "^4.0.32",
98
+ "@things-factory/scene-marker": "^4.0.32",
99
+ "@things-factory/scene-mqtt": "^4.0.32",
100
+ "@things-factory/scene-news-ticker": "^4.0.32",
101
+ "@things-factory/scene-restful": "^4.0.32",
102
+ "@things-factory/scene-urdf": "^4.0.32",
103
+ "@things-factory/scene-visualizer": "^4.0.32",
104
+ "@things-factory/screencast-ui": "^4.0.32",
105
+ "@things-factory/setting-ui": "^4.0.32",
106
+ "@things-factory/system-ui": "^4.0.32"
107
107
  },
108
108
  "devDependencies": {
109
- "@things-factory/board-test": "^4.0.27",
110
- "@things-factory/builder": "^4.0.27"
109
+ "@things-factory/board-test": "^4.0.32",
110
+ "@things-factory/builder": "^4.0.32"
111
111
  },
112
112
  "resolutions": {},
113
- "gitHead": "276eaface2890c8f229ce6c9f64cde9c6b1e0083"
113
+ "gitHead": "a1a16e7d4531ae3ff035295fc7bf05bf0d3153a7"
114
114
  }