@things-factory/reference-app 4.1.13 → 4.1.18

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.
Files changed (28) hide show
  1. package/attachments/03176f83-6c50-4850-ab43-e6765b259afd.png +0 -0
  2. package/attachments/2b963bee-3ca5-4a86-95b7-e557b7eba8eb.html +5695 -0
  3. package/attachments/4880d6fb-7045-4c50-bfb9-daf83ecf6cc1.png +0 -0
  4. package/attachments/5bcde766-32e5-4cdc-ad9b-9e0139c122f4.txt +673 -0
  5. package/attachments/6f9d5fd4-6546-40c6-90c0-0207233ad12f.json +145 -0
  6. package/attachments/a1aaa123-4c8d-485e-9975-5b5b4add6a30.png +0 -0
  7. package/attachments/a518af54-7d8f-43c1-95f7-4a4353b3afc5.jpeg +0 -0
  8. package/attachments/b2331d78-f55d-4b9e-8aae-34f80c1252b3.jpeg +0 -0
  9. package/attachments/b9a3e2fd-fe83-4394-8fc8-66478443f65e.png +0 -0
  10. package/attachments/be3d2cd7-d236-45af-b512-4f141c8e2cfc.pptx +0 -0
  11. package/attachments/d211b356-1619-4f2b-9b10-ed46b4fd82de.png +0 -0
  12. package/attachments/d445e1a1-a048-49d7-96f2-284ac00fe96a.png +0 -0
  13. package/attachments/d462b12b-d519-4d6c-861a-f56d2494b135.png +0 -0
  14. package/attachments/f63986fb-bef5-4b55-a342-6fd4abf26739.png +0 -0
  15. package/client/menu.js +1 -0
  16. package/client/pages/layout-group-page.js +35 -0
  17. package/client/route.js +4 -0
  18. package/db.sqlite +0 -0
  19. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +14 -0
  20. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +34 -0
  21. package/logs/application-2021-12-13-00.log +5 -0
  22. package/logs/connections-2021-11-29-20.log +0 -0
  23. package/logs/connections-2021-11-29-21.log +0 -0
  24. package/logs/connections-2021-11-29-23.log +0 -0
  25. package/logs/connections-2021-12-04-12.log +0 -0
  26. package/logs/connections-2021-12-13-00.log +0 -0
  27. package/package.json +26 -26
  28. package/things-factory.config.js +4 -0
@@ -0,0 +1,145 @@
1
+ [
2
+ {
3
+ "type": "simple-switch",
4
+ "left": 119.16099773242632,
5
+ "top": 38.95691609977326,
6
+ "width": 99.99999999999974,
7
+ "height": 40.00000000000001,
8
+ "thumbnailColor": "#ffffff",
9
+ "onColor": "#2196f3",
10
+ "offColor": "#cccccc",
11
+ "rotation": 0,
12
+ "id": "input1"
13
+ },
14
+ {
15
+ "type": "input-text",
16
+ "top": 91.57596371882084,
17
+ "left": 119.72789115646258,
18
+ "width": 255.64625850340076,
19
+ "height": 30,
20
+ "paddingLeft": 7,
21
+ "paddingRight": 7,
22
+ "fontSize": 14,
23
+ "fillStyle": "white",
24
+ "fontColor": "#585858",
25
+ "strokeStyle": "rgba(0,0,0,.4)",
26
+ "lineWidth": 1,
27
+ "lineDash": "solid",
28
+ "textAlign": "left",
29
+ "rotation": 0,
30
+ "id": "input2",
31
+ "mappings": [
32
+ {
33
+ "rule": "value",
34
+ "target": "(self)",
35
+ "property": "value"
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "type": "text",
41
+ "left": 7.4829931972789225,
42
+ "top": 43.934240362811806,
43
+ "width": 95.91836734693874,
44
+ "height": 50,
45
+ "text": "Input 1",
46
+ "fillStyle": "#fff",
47
+ "strokeStyle": "#000",
48
+ "alpha": 1,
49
+ "hidden": false,
50
+ "lineWidth": 5,
51
+ "lineDash": "solid",
52
+ "lineCap": "butt",
53
+ "textAlign": "left",
54
+ "textBaseline": "top",
55
+ "textWrap": false,
56
+ "fontFamily": "serif",
57
+ "fontSize": 30,
58
+ "rotation": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "left": 7.4829931972789225,
63
+ "top": 94.72789115646262,
64
+ "width": 95.91836734693874,
65
+ "height": 50,
66
+ "text": "Input 2",
67
+ "fillStyle": "#fff",
68
+ "strokeStyle": "#000",
69
+ "alpha": 1,
70
+ "hidden": false,
71
+ "lineWidth": 5,
72
+ "lineDash": "solid",
73
+ "lineCap": "butt",
74
+ "textAlign": "left",
75
+ "textBaseline": "top",
76
+ "textWrap": false,
77
+ "fontFamily": "serif",
78
+ "fontSize": 30,
79
+ "rotation": 0
80
+ },
81
+ {
82
+ "type": "rect",
83
+ "left": 251.70068027210883,
84
+ "top": 252.4943310657596,
85
+ "width": 120.29478458049894,
86
+ "height": 32.42630385487533,
87
+ "fillStyle": "#fff",
88
+ "strokeStyle": "#000",
89
+ "alpha": 1,
90
+ "hidden": false,
91
+ "lineWidth": 1,
92
+ "lineDash": "solid",
93
+ "lineCap": "butt",
94
+ "rotation": 0,
95
+ "text": "OK",
96
+ "shadow": {
97
+ "left": 5,
98
+ "top": 5,
99
+ "blurSize": 5,
100
+ "color": "rgb(217, 13, 75)"
101
+ },
102
+ "event": {
103
+ "tap": {
104
+ "pressed": true,
105
+ "action": "close-scene"
106
+ }
107
+ },
108
+ "data": {
109
+ "result1": true,
110
+ "result2": "성공했습니다."
111
+ }
112
+ },
113
+ {
114
+ "type": "rect",
115
+ "left": 119.72789115646259,
116
+ "top": 252.4943310657596,
117
+ "width": 120.29478458049883,
118
+ "height": 32.42630385487533,
119
+ "fillStyle": "#fff",
120
+ "strokeStyle": "#000",
121
+ "alpha": 1,
122
+ "hidden": false,
123
+ "lineWidth": 1,
124
+ "lineDash": "solid",
125
+ "lineCap": "butt",
126
+ "rotation": 0,
127
+ "text": "NOT OK",
128
+ "shadow": {
129
+ "left": 5,
130
+ "top": 5,
131
+ "blurSize": 5,
132
+ "color": "rgb(5, 61, 55)"
133
+ },
134
+ "event": {
135
+ "tap": {
136
+ "pressed": true,
137
+ "action": "close-scene"
138
+ }
139
+ },
140
+ "data": {
141
+ "result1": false,
142
+ "result2": "실패했습니다."
143
+ }
144
+ }
145
+ ]
package/client/menu.js CHANGED
@@ -4,6 +4,7 @@ export function getMenuTemplate() {
4
4
  name: '레이아웃팅',
5
5
  icon: 'devices',
6
6
  description: '헤더라인, 메뉴, 사이드바 등 전체 레이아웃과 반응형 기능을 설명합니다.',
7
+ path: 'layout-group-page',
7
8
  menus: [
8
9
  {
9
10
  name: 'Menu',
@@ -0,0 +1,35 @@
1
+ import { css, html } from 'lit'
2
+ import { connect } from 'pwa-helpers/connect-mixin.js'
3
+
4
+ import { PageView, store } from '@things-factory/shell'
5
+
6
+ class LayoutGroupPage extends connect(store)(PageView) {
7
+ static get styles() {
8
+ return [
9
+ css`
10
+ :host {
11
+ display: flex;
12
+ }
13
+ `
14
+ ]
15
+ }
16
+
17
+ static get properties() {
18
+ return {
19
+ referenceApp: String
20
+ }
21
+ }
22
+
23
+ render() {
24
+ return html`
25
+ <section>
26
+ <h2>LAYOUT GROUP PAGE</h2>
27
+ <h3>${new Date().toLocaleTimeString()}</h3>
28
+ </section>
29
+ `
30
+ }
31
+
32
+ stateChanged(state) {}
33
+ }
34
+
35
+ window.customElements.define('layout-group-page', LayoutGroupPage)
package/client/route.js CHANGED
@@ -3,6 +3,10 @@ export default function route(page) {
3
3
  case '':
4
4
  return '/reference-app-main'
5
5
 
6
+ case 'layout-group-page':
7
+ import('./pages/layout-group-page')
8
+ return page
9
+
6
10
  case 'reference-app-main':
7
11
  import('./pages/main')
8
12
  return page
package/db.sqlite ADDED
Binary file
@@ -0,0 +1,14 @@
1
+ {
2
+ "keep": {
3
+ "days": true,
4
+ "amount": 2
5
+ },
6
+ "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
+ "files": [
8
+ {
9
+ "date": 1639322563864,
10
+ "name": "logs/application-2021-12-13-00.log",
11
+ "hash": "2511fe14facd48328e0702ea54987434"
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "keep": {
3
+ "days": true,
4
+ "amount": 14
5
+ },
6
+ "auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
7
+ "files": [
8
+ {
9
+ "date": 1638185239795,
10
+ "name": "logs/connections-2021-11-29-20.log",
11
+ "hash": "e28d199b30bde6b88967362fb318a103"
12
+ },
13
+ {
14
+ "date": 1638189721660,
15
+ "name": "logs/connections-2021-11-29-21.log",
16
+ "hash": "679163fc1c530a8fd14dcbfc617300a4"
17
+ },
18
+ {
19
+ "date": 1638194624575,
20
+ "name": "logs/connections-2021-11-29-23.log",
21
+ "hash": "92bf1c2c4738bc05921cefe0e860c4fa"
22
+ },
23
+ {
24
+ "date": 1638588025596,
25
+ "name": "logs/connections-2021-12-04-12.log",
26
+ "hash": "db210c324f72a98be8b697f2793027f1"
27
+ },
28
+ {
29
+ "date": 1639322570514,
30
+ "name": "logs/connections-2021-12-13-00.log",
31
+ "hash": "6e9d1b586019937239ea4fbdad5e3683"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,5 @@
1
+ 2021-12-12T15:22:48.187Z info: File Storage is Ready.
2
+ 2021-12-12T15:22:56.228Z info: Database connection established
3
+ 2021-12-12T15:22:59.256Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2021-12-12T15:22:59.256Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
+ 2021-12-12T15:27:44.868Z error: Only absolute URLs are supported
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "4.1.13",
3
+ "version": "4.1.18",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -61,32 +61,32 @@
61
61
  "@operato/scene-tab": "^0.1.5",
62
62
  "@operato/shell": "^0.3.28",
63
63
  "@operato/utils": "^0.3.28",
64
- "@things-factory/api": "^4.1.13",
65
- "@things-factory/apptool-ui": "^4.1.13",
66
- "@things-factory/auth-ui": "^4.1.13",
67
- "@things-factory/board-service": "^4.1.13",
68
- "@things-factory/board-ui": "^4.1.13",
69
- "@things-factory/context-ui": "^4.1.13",
70
- "@things-factory/dashboard": "^4.1.13",
71
- "@things-factory/export-ui": "^4.1.13",
72
- "@things-factory/export-ui-excel": "^4.1.13",
73
- "@things-factory/grist-ui": "^4.1.13",
74
- "@things-factory/help": "^4.1.13",
75
- "@things-factory/integration-ui": "^4.1.13",
76
- "@things-factory/lite-menu": "^4.1.13",
77
- "@things-factory/more-ui": "^4.1.13",
78
- "@things-factory/notification": "^4.1.13",
79
- "@things-factory/oauth2-client": "^4.1.13",
80
- "@things-factory/print-ui": "^4.1.13",
81
- "@things-factory/resource-ui": "^4.1.13",
82
- "@things-factory/scene-form": "^4.1.13",
83
- "@things-factory/setting-base": "^4.1.13",
84
- "@things-factory/setting-ui": "^4.1.13",
85
- "@things-factory/shell": "^4.1.13",
86
- "@things-factory/system-ui": "^4.1.13"
64
+ "@things-factory/api": "^4.1.18",
65
+ "@things-factory/apptool-ui": "^4.1.18",
66
+ "@things-factory/auth-ui": "^4.1.18",
67
+ "@things-factory/board-service": "^4.1.18",
68
+ "@things-factory/board-ui": "^4.1.18",
69
+ "@things-factory/context-ui": "^4.1.18",
70
+ "@things-factory/dashboard": "^4.1.18",
71
+ "@things-factory/export-ui": "^4.1.18",
72
+ "@things-factory/export-ui-excel": "^4.1.18",
73
+ "@things-factory/grist-ui": "^4.1.18",
74
+ "@things-factory/help": "^4.1.18",
75
+ "@things-factory/integration-ui": "^4.1.18",
76
+ "@things-factory/lite-menu": "^4.1.18",
77
+ "@things-factory/more-ui": "^4.1.18",
78
+ "@things-factory/notification": "^4.1.18",
79
+ "@things-factory/oauth2-client": "^4.1.18",
80
+ "@things-factory/print-ui": "^4.1.18",
81
+ "@things-factory/resource-ui": "^4.1.18",
82
+ "@things-factory/scene-form": "^4.1.18",
83
+ "@things-factory/setting-base": "^4.1.18",
84
+ "@things-factory/setting-ui": "^4.1.18",
85
+ "@things-factory/shell": "^4.1.18",
86
+ "@things-factory/system-ui": "^4.1.18"
87
87
  },
88
88
  "devDependencies": {
89
- "@things-factory/builder": "^4.1.13"
89
+ "@things-factory/builder": "^4.1.18"
90
90
  },
91
- "gitHead": "adbf93d0eddd05d209543ed0d08e3aeaab2968b5"
91
+ "gitHead": "64b0a3a1ddc1556e2c7bb93e195f6aca610ae823"
92
92
  }
@@ -4,6 +4,10 @@ import route from './client/route'
4
4
  export default {
5
5
  route,
6
6
  routes: [
7
+ {
8
+ tagname: 'layout-group-page',
9
+ page: 'layout-group-page'
10
+ },
7
11
  {
8
12
  tagname: 'reference-app-main',
9
13
  page: 'reference-app-main'