@things-factory/operato-board 4.0.32 → 4.0.36

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/.dockerignore CHANGED
@@ -1,4 +1,6 @@
1
1
  node_modules
2
2
  installer
3
3
  Dockerfile
4
- docker-compose.yml
4
+ logs
5
+ docker-compose.yml
6
+ db.sqlite
package/Dockerfile CHANGED
@@ -1,50 +1,5 @@
1
1
  # Use an official ubuntu image
2
- FROM ubuntu:18.04
3
-
4
- # Use an official node image
5
- FROM node:14.18
6
-
7
-
8
- ARG DEBIAN_FRONTEND=noninteractive
9
-
10
- # Install the required packages
11
- RUN apt-get update -o Acquire::CompressionTypes::Order::=gz
12
- RUN apt-get upgrade -y
13
-
14
- RUN echo "deb http://ftp.de.debian.org/debian stable main" > /etc/apt/sources.list
15
-
16
- RUN apt-get update
17
-
18
- RUN apt-get install -y --no-install-recommends apt-utils
19
- RUN apt-get install -y chromium
20
- RUN apt-get install -y libcups2-dev
21
- RUN apt-get install -y libavahi-compat-libdnssd-dev
22
- RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libcairo2 libcups2 libfontconfig1 libgdk-pixbuf2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libxss1 fonts-liberation libnss3 lsb-release xdg-utils libaio1
23
-
24
- RUN apt update
25
- RUN apt-get install -y ghostscript
26
- RUN apt-get install -y curl
27
- RUN apt-get install -y git
28
-
29
- # install chrome
30
- RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
31
- RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
32
- RUN rm google-chrome-stable_current_amd64.deb
33
-
34
-
35
-
36
- # make oracle path
37
- RUN mkdir -p /opt/oracle
38
- WORKDIR /opt/oracle
39
-
40
- # download newest oracle cilent for connect to Oracle Database
41
- RUN wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip && \
42
- unzip instantclient-basiclite-linuxx64.zip && \
43
- rm -f instantclient-basiclite-linuxx64.zip && \
44
- cd /opt/oracle/instantclient* && \
45
- rm -f *jdbc* *occi* *mysql* *mql1* *ipc1* *jar uidrvci genezi adrci && \
46
- echo /opt/oracle/instantclient* > /etc/ld.so.conf.d/oracle-instantclient.conf &&\
47
- ldconfig
2
+ FROM hatiolab/operato-env:latest
48
3
 
49
4
  # Set the working directory to /app
50
5
  WORKDIR /app
@@ -0,0 +1,26 @@
1
+ body {
2
+ /* oops spinner style */
3
+
4
+ --oops-spinner-image: url(/assets/images/spinner.png);
5
+
6
+ /* oops note style */
7
+ --oops-note-icon-font: normal 24px var(--mdc-icon-font, 'Material Icons');
8
+ --oops-note-icon-color: rgba(var(--secondary-color-rgb), 0.3);
9
+ --oops-note-icon-border: 2px solid rgba(var(--secondary-color-rgb), 0.3);
10
+ --oops-note-icon-border-radius: 50px;
11
+ --oops-note-icon-padding: var(--padding-default);
12
+ --oops-note-title-margin: 7px 0 2px 0;
13
+ --oops-note-title-font: bold 14px var(--theme-font);
14
+ --oops-note-title-color: var(--secondary-color);
15
+ --oops-note-description-font: normal 12px var(--theme-font);
16
+ --oops-note-description-color: var(--primary-color);
17
+ }
18
+ @media only screen and (max-width: 460px) {
19
+ body {
20
+ --oops-note-icon-padding: var(--padding-narrow);
21
+ --oops-note-icon-font: normal 18px var(--mdc-icon-font, 'Material Icons');
22
+ --oops-note-title-font: bold 13px var(--theme-font);
23
+ --oops-note-title-margin: var(--margin-narrow) 0 2px 0;
24
+ --oops-note-description-font: normal 0px var(--theme-font);
25
+ }
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "4.0.32",
3
+ "version": "4.0.36",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -34,15 +34,15 @@
34
34
  "migration:revert": "node ../../node_modules/typeorm/cli.js migration:revert",
35
35
  "stop:dev": "kill $(lsof -t -i:3000,3001)",
36
36
  "stop": "things-factory-stop operato-board",
37
- "docker": "npm run build:client && things-factory-dockerize hatiolab/operato-board:latest hatiolab/operato-board:$npm_package_version",
38
- "docker:run": "docker run -p 4000:3000 hatiolab/operato-board:latest",
37
+ "docker": "npm run build:client && things-factory-dockerize hatiolab/operato-board:latest hatiolab/operato-board:$npm_package_version linux/amd64",
38
+ "docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-board:latest",
39
39
  "docker:push": "docker image push hatiolab/operato-board:latest && docker image push hatiolab/operato-board:$npm_package_version",
40
- "docker:cn": "npm run build:client:cn && things-factory-dockerize hatiolab/operato-board:latest-cn hatiolab/operato-board:$npm_package_version-cn",
41
- "docker:run:cn": "docker run -p 4000:3000 hatiolab/operato-board:latest-cn",
40
+ "docker:cn": "npm run build:client:cn && things-factory-dockerize hatiolab/operato-board:latest-cn hatiolab/operato-board:$npm_package_version-cn linux/amd64",
41
+ "docker:run:cn": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-board:latest-cn",
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.7",
45
+ "@operato/attachment": "^0.3.16",
46
46
  "@operato/scene-ar": "^0.1.2",
47
47
  "@operato/scene-chartjs": "^0.1.2",
48
48
  "@operato/scene-clock": "^0.1.2",
@@ -61,54 +61,54 @@
61
61
  "@operato/scene-table": "^0.1.2",
62
62
  "@operato/scene-timer": "^0.1.2",
63
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",
64
+ "@things-factory/apptool-ui": "^4.0.36",
65
+ "@things-factory/attachment-ui": "^4.0.36",
66
+ "@things-factory/auth-ui": "^4.0.36",
67
+ "@things-factory/board-service": "^4.0.36",
68
+ "@things-factory/board-ui": "^4.0.36",
69
+ "@things-factory/context-ui": "^4.0.36",
70
+ "@things-factory/export-ui": "^4.0.36",
71
+ "@things-factory/fav-base": "^4.0.36",
72
+ "@things-factory/font-base": "^4.0.36",
73
+ "@things-factory/form-ui": "^4.0.36",
74
+ "@things-factory/help": "^4.0.36",
75
+ "@things-factory/i18n-ui": "^4.0.36",
76
+ "@things-factory/import-ui": "^4.0.36",
77
+ "@things-factory/integration-notification": "^4.0.36",
78
+ "@things-factory/integration-ui": "^4.0.36",
79
+ "@things-factory/layout-ui": "^4.0.36",
80
+ "@things-factory/more-ui": "^4.0.36",
81
+ "@things-factory/notification": "^4.0.36",
82
+ "@things-factory/oauth2-client": "^4.0.36",
83
+ "@things-factory/offline-ui": "^4.0.36",
84
84
  "@things-factory/operato-license-checker": "^3.0.4",
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",
85
+ "@things-factory/pdf": "^4.0.36",
86
+ "@things-factory/print-service": "^4.0.36",
87
+ "@things-factory/print-ui": "^4.0.36",
88
+ "@things-factory/resource-ui": "^4.0.36",
89
+ "@things-factory/scene-baidu-map": "^4.0.36",
90
+ "@things-factory/scene-data-transform": "^4.0.36",
91
+ "@things-factory/scene-excel": "^4.0.36",
92
+ "@things-factory/scene-firebase": "^4.0.36",
93
+ "@things-factory/scene-form": "^4.0.36",
94
+ "@things-factory/scene-google-map": "^4.0.36",
95
+ "@things-factory/scene-graphql": "^4.0.36",
96
96
  "@things-factory/scene-half-roundrect": "^4.0.9",
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"
97
+ "@things-factory/scene-label": "^4.0.36",
98
+ "@things-factory/scene-marker": "^4.0.36",
99
+ "@things-factory/scene-mqtt": "^4.0.36",
100
+ "@things-factory/scene-news-ticker": "^4.0.36",
101
+ "@things-factory/scene-restful": "^4.0.36",
102
+ "@things-factory/scene-urdf": "^4.0.36",
103
+ "@things-factory/scene-visualizer": "^4.0.36",
104
+ "@things-factory/screencast-ui": "^4.0.36",
105
+ "@things-factory/setting-ui": "^4.0.36",
106
+ "@things-factory/system-ui": "^4.0.36"
107
107
  },
108
108
  "devDependencies": {
109
- "@things-factory/board-test": "^4.0.32",
110
- "@things-factory/builder": "^4.0.32"
109
+ "@things-factory/board-test": "^4.0.36",
110
+ "@things-factory/builder": "^4.0.36"
111
111
  },
112
112
  "resolutions": {},
113
- "gitHead": "a1a16e7d4531ae3ff035295fc7bf05bf0d3153a7"
113
+ "gitHead": "132ab9f8af8c34f73bcd81a9776769a6929e13ee"
114
114
  }