@things-factory/reference-app 4.0.38 → 4.0.42
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/attachments/02d2c4ea-147a-411e-a34e-5dbd96eea3f8.jpeg +0 -0
- package/attachments/05284c84-1330-4b54-a698-bcd3020d9d90.png +0 -0
- package/attachments/0554c8c2-aefe-4ce5-b030-94c643976577.jpeg +0 -0
- package/attachments/0598f578-ddd9-4b8c-8726-74ea5fe13778.jpeg +0 -0
- package/attachments/09fd9f4d-1909-4fbb-b5bd-b3604dd44d83.pdf +0 -0
- package/attachments/0c759fb7-b15a-4eba-b55f-1c97c9320e12.jpeg +0 -0
- package/attachments/0ca13d71-3df4-4932-b834-0057a6454776.jpeg +0 -0
- package/attachments/0fe94be8-c2bf-44ea-b8bd-3b2e5d65cb07.png +0 -0
- package/attachments/105aff20-62d2-41ae-a9ab-8ea1eb03a064.jpeg +0 -0
- package/attachments/124d6ef2-6ab9-4963-8b0b-5f8607b79a5b.png +0 -0
- package/attachments/1a4edbc9-b06c-4e1b-8b7a-4af7a8a08720.jpeg +0 -0
- package/attachments/1aaa7721-7a6c-47fa-a375-b186b82dd3b1.jpeg +0 -0
- package/attachments/1e647161-13ff-4540-9115-0fe383860516.jpeg +0 -0
- package/attachments/1e7fec94-e08f-468e-af89-e108904e4401.png +0 -0
- package/attachments/1ee44a5b-b946-4609-bf09-bc4f741325f1.png +0 -0
- package/attachments/244fbab5-0821-4e57-8c7e-745feaac12b3.jpeg +0 -0
- package/attachments/2b1cfec6-4d1c-4130-8ac5-5dffa64ac4d5.png +0 -0
- package/attachments/3a328a7f-b7fd-4ea1-9c4c-005e24e1e897.png +0 -0
- package/attachments/3c562896-8cc8-489b-8760-5109602b631a.jpeg +0 -0
- package/attachments/426bd3d4-aaec-496c-8d20-a84692d574dc.jpeg +0 -0
- package/attachments/4412432a-b79b-49b8-81b2-af6b927703b4.png +0 -0
- package/attachments/5427ece0-13b3-48a8-ac14-b25dcfae3cd9.jpeg +0 -0
- package/attachments/56aad6a3-e99d-4186-985b-d8d3ccd4ab68.jpeg +0 -0
- package/attachments/5a4d23c9-6fa0-43ce-87d1-27fbb252438d.jpeg +0 -0
- package/attachments/5a564ed4-1858-4656-8d88-b6a490bc0309.jpeg +0 -0
- package/attachments/5ba01610-dc05-483e-8988-da9d34c141df.jpeg +0 -0
- package/attachments/5d34b97a-61b9-472f-a88f-636b85c1e45c.jpeg +0 -0
- package/attachments/5dc41b95-4970-4221-accb-86afa94b4f3b.png +0 -0
- package/attachments/60ca3d2a-cfa4-4f14-b952-a96be9f64f96.png +0 -0
- package/attachments/62232866-32ef-43fe-b84b-993d074c173d.png +0 -0
- package/attachments/6309383a-7c72-4a2c-8fb9-b14fe4f1905a.jpeg +0 -0
- package/attachments/63142721-6030-4889-b52d-d21e8ddd52cd.jpeg +0 -0
- package/attachments/6a284a40-de4a-4e79-adbb-fe2ac6f123d4.png +0 -0
- package/attachments/6b1839fa-098b-4881-9d26-f950282f0ee7.pdf +0 -0
- package/attachments/6cb59217-600f-47a1-91fc-299c27e5e248.png +0 -0
- package/attachments/6da5c66a-08a0-409b-8f35-1a953cf44c3f.jpeg +0 -0
- package/attachments/709a2c9d-c919-42ca-8001-6b1688daf978.jpeg +0 -0
- package/attachments/70bd97b9-0cfe-4c43-9cba-3c0dbedfff70.jpeg +0 -0
- package/attachments/71a71839-5521-456b-8eee-134b5f0a6c1c.jpeg +0 -0
- package/attachments/79d67c49-a3a0-4cd9-a78c-a012732d9d8b.jpeg +0 -0
- package/attachments/7f4f78ba-bfe5-466c-88b4-b31824263b84.png +0 -0
- package/attachments/82214212-6296-4c73-812f-18a509368247.jpeg +0 -0
- package/attachments/8488bba6-353a-4f77-84be-1526c92f7b7f.png +0 -0
- package/attachments/891d2e46-a01d-408d-b715-4513fcb52240.jpeg +0 -0
- package/attachments/8a240663-dffe-4c20-a6a0-51e4561c2037.png +0 -0
- package/attachments/8b82bd3d-10ed-4c9e-94d5-7f01400b1fe1.jpeg +0 -0
- package/attachments/8cee2fe7-1bb9-48b1-b759-1efd0164b8c9.jpeg +0 -0
- package/attachments/90ea058c-ed47-4802-a694-bce0e86c217f.png +0 -0
- package/attachments/92be3157-e6b1-4104-b86c-4e510895a71e.jpeg +0 -0
- package/attachments/93a9638b-34b6-4625-9a23-dc088d5ed615.jpeg +0 -0
- package/attachments/9c92e78d-afcb-4d62-b51e-f73f15211314.png +0 -0
- package/attachments/9edcd63b-39e9-4e0c-b3e4-b255ffadc037.jpeg +0 -0
- package/attachments/a64d028e-7e33-4455-a1c4-f294250b5650.png +0 -0
- package/attachments/b1008da4-9e8a-4360-9600-2aeca8e4503a.pdf +0 -0
- package/attachments/b174f420-3f33-463a-8efd-6abad2f709fe.jpeg +0 -0
- package/attachments/b27517ec-f2ac-4735-9d8a-353af2fa5f67.png +0 -0
- package/attachments/b3b99d3b-6e95-4ac8-a349-b4bcf5d78dcd.png +0 -0
- package/attachments/b6c2d24d-8f18-4925-bc2d-4d3bffad4a02.png +0 -0
- package/attachments/b8a5d357-e196-4c32-8059-6d9b94470672.jpeg +0 -0
- package/attachments/b93a5d06-7395-4409-8680-64e8fa9542bb.jpeg +0 -0
- package/attachments/bacf8fe2-a3ef-433b-a00d-f154378db75a.png +0 -0
- package/attachments/bcb6e85d-9dae-4271-9ff6-47a235c41488.jpeg +0 -0
- package/attachments/c3fdecd2-b06e-461e-b2c7-23c69a30e744.jpeg +0 -0
- package/attachments/c47bf238-810c-489b-bc2e-c942033b2ac3.png +0 -0
- package/attachments/c5953130-2bc7-4f73-ab00-835e10658027.png +0 -0
- package/attachments/c66e06b2-32d5-416e-bc8a-c057cf938491.png +0 -0
- package/attachments/c7e77261-cfa2-48e8-8135-383cb0487901.jpeg +0 -0
- package/attachments/cc7892b9-fca6-49f9-a10b-3febeef83fd2.png +0 -0
- package/attachments/d179dc14-baf5-4549-b79e-580ce6b9b897.jpeg +0 -0
- package/attachments/d5ac154b-8c03-4456-9296-e9ce0b24c9ac.png +0 -0
- package/attachments/dbf0459a-4f1a-44c6-a4fc-d73adc3e4cfa.png +0 -0
- package/attachments/de443f64-d2b8-4b10-9b8c-e55b9ab30944.png +0 -0
- package/attachments/de9e417e-9636-41c7-8e27-49ff2c759ddb.jpeg +0 -0
- package/attachments/e5bfd176-32ac-48c0-ad7c-d65478950e28.jpeg +0 -0
- package/attachments/e6fcee2a-cdda-4131-8f9c-90b1fa06a4f4.png +0 -0
- package/attachments/f8a9e56b-6205-4dc8-991e-eec568403810.jpeg +0 -0
- package/client/editors/id-selector.js +30 -41
- package/client/pages/grist-colorizing.js +3 -2
- package/client/pages/grist-page.js +2 -2
- package/client/pages/menu-page.js +5 -4
- package/client/pages/notification-page.js +8 -6
- package/client/pages/pending-job-page.js +5 -3
- package/config.development.js +7 -0
- package/db.sqlite +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +10 -4
- package/logs/.33a2b6820ab05dbb0f8bea4849090e12685d0b36-audit.json +8 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +8 -17
- package/logs/application-2022-01-29-14.log +5 -0
- package/logs/application-2022-01-31-02.log +4 -0
- package/logs/{connections-2021-11-02-11.log → connections-2022-01-17-14.log} +0 -0
- package/logs/{connections-2021-11-03-11.log → connections-2022-01-17-15.log} +0 -0
- package/logs/{connections-2021-11-04-14.log → connections-2022-01-29-14.log} +0 -0
- package/logs/{connections-2021-11-05-18.log → connections-2022-01-31-02.log} +0 -0
- package/package.json +48 -43
- package/attachments/1aa35791-259f-42f3-9bab-faf4dc81c54a.png +0 -0
- package/attachments/39e79f93-f50c-4d0d-9016-12ef6fc72d04.pptx +0 -0
- package/attachments/5705d276-f428-44d6-a0b8-9667671fc011.png +0 -0
- package/attachments/5f63a469-132c-4ddd-a7a8-37d01f693c9d.png +0 -0
- package/attachments/69808491-8e6b-45e2-9bf8-dccea1c5b52e.png +0 -0
- package/attachments/6c3b55e5-8a42-4afa-a456-9f540972a4b5.png +0 -0
- package/attachments/7927fe8e-2246-453d-9869-7072b983437c.png +0 -0
- package/attachments/7d150574-01b8-4439-96a0-d57299f3ffcf.png +0 -0
- package/attachments/8bacec9a-bd5d-4dbf-bbcb-9f08dd7b60d5.png +0 -0
- package/attachments/a1cf142c-f3c2-442c-b8d5-a7f9cc6a59b3.png +0 -0
- package/attachments/aedcc3d7-a4ab-4ada-98bd-0db6fa5061ba.png +0 -0
- package/attachments/c1cd9051-bcf4-4711-89a2-63dfefbd969a.png +0 -0
- package/attachments/cb3ac834-ece0-4802-bef0-dfdc0fcd93bd.png +0 -0
- package/attachments/fb06c90b-df44-4ac7-b71c-056278439290.png +0 -0
- package/logs/application-2022-01-01-00.log +0 -6
- package/logs/connections-2022-01-01-00.log +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { css, html, LitElement } from 'lit-element'
|
|
4
4
|
|
|
5
5
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
6
6
|
import { i18next } from '@things-factory/i18n-base'
|
|
@@ -37,18 +37,19 @@ export class IdSelector extends LitElement {
|
|
|
37
37
|
flex: 1;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
#filters {
|
|
41
41
|
display: flex;
|
|
42
|
-
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
justify-content: space-between;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
#filters > * {
|
|
47
|
+
padding: var(--padding-default) var(--padding-wide);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
.button-container {
|
|
51
|
+
display: flex;
|
|
52
|
+
margin-left: auto;
|
|
52
53
|
}
|
|
53
54
|
`
|
|
54
55
|
]
|
|
@@ -62,38 +63,16 @@ export class IdSelector extends LitElement {
|
|
|
62
63
|
|
|
63
64
|
render() {
|
|
64
65
|
return html`
|
|
65
|
-
<form
|
|
66
|
-
class="multi-column-form"
|
|
67
|
-
id="search-form"
|
|
68
|
-
@keypress=${async e => {
|
|
69
|
-
if (e.keyCode === 13) {
|
|
70
|
-
this.data = await this.getData()
|
|
71
|
-
}
|
|
72
|
-
}}
|
|
73
|
-
>
|
|
74
|
-
<fieldset>
|
|
75
|
-
<label>${i18next.t('field.name')}</label>
|
|
76
|
-
<input name="name" />
|
|
77
|
-
|
|
78
|
-
<label>${i18next.t('field.description')}</label>
|
|
79
|
-
<input name="description" />
|
|
80
|
-
</fieldset>
|
|
81
|
-
|
|
82
|
-
<mwc-icon
|
|
83
|
-
search
|
|
84
|
-
@click="${async () => {
|
|
85
|
-
this.data = await this.getData()
|
|
86
|
-
}}}"
|
|
87
|
-
>search</mwc-icon
|
|
88
|
-
>
|
|
89
|
-
</form>
|
|
90
|
-
|
|
91
66
|
<ox-grist
|
|
92
67
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
93
68
|
.config=${this.config}
|
|
94
69
|
.fetchHandler=${this.fetchHandler.bind(this)}
|
|
95
70
|
.selectedRecords=${this.selectedRecords}
|
|
96
|
-
|
|
71
|
+
>
|
|
72
|
+
<div id="filters" slot="headless">
|
|
73
|
+
<ox-filters-form @change=${e => this.grist.fetch()}></ox-filters-form>
|
|
74
|
+
</div>
|
|
75
|
+
</ox-grist>
|
|
97
76
|
|
|
98
77
|
<div class="button-container">
|
|
99
78
|
<mwc-button @click=${this.oncancel.bind(this)}>${i18next.t('button.cancel')}</mwc-button>
|
|
@@ -136,6 +115,7 @@ export class IdSelector extends LitElement {
|
|
|
136
115
|
record: {
|
|
137
116
|
align: 'left'
|
|
138
117
|
},
|
|
118
|
+
filter: 'search',
|
|
139
119
|
sortable: true,
|
|
140
120
|
width: 160
|
|
141
121
|
},
|
|
@@ -146,6 +126,7 @@ export class IdSelector extends LitElement {
|
|
|
146
126
|
record: {
|
|
147
127
|
align: 'left'
|
|
148
128
|
},
|
|
129
|
+
filter: 'search',
|
|
149
130
|
sortable: true,
|
|
150
131
|
width: 300
|
|
151
132
|
}
|
|
@@ -168,22 +149,30 @@ export class IdSelector extends LitElement {
|
|
|
168
149
|
/* TODO config가 설정될 때, fetch() 가 동작하므로, fetch 완료 이벤트를 받아서, selected를 설정해주는 것이 좋겠다.
|
|
169
150
|
현재는 fetch() 가 두번 일어난다.
|
|
170
151
|
*/
|
|
171
|
-
|
|
172
|
-
await grist.fetch()
|
|
152
|
+
await this.grist.fetch()
|
|
173
153
|
|
|
174
|
-
var selected = grist.data.records.find(item => this.value == item.id)
|
|
154
|
+
var selected = this.grist.data.records.find(item => this.value == item.id)
|
|
175
155
|
if (selected) {
|
|
176
156
|
this.selectedRecords = [selected]
|
|
177
157
|
}
|
|
178
158
|
/* TODO config가 설정될 때, fetch() 가 동작하므로, fetch 완료 이벤트를 받아서, selected를 설정해주는 것이 좋겠다. */
|
|
179
159
|
|
|
180
160
|
await this.updateComplete
|
|
181
|
-
grist.focus()
|
|
161
|
+
this.grist.focus()
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
get grist() {
|
|
165
|
+
return this.renderRoot.querySelector('ox-grist')
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
get filtersForm() {
|
|
169
|
+
return this.renderRoot.querySelector('ox-filters-form')
|
|
182
170
|
}
|
|
183
171
|
|
|
184
172
|
async fetchHandler({ page, limit, sorters = [] }) {
|
|
185
173
|
var total = 3401
|
|
186
174
|
var start = (page - 1) * limit
|
|
175
|
+
// const filter = await this.filtersForm.getQueryFilters()
|
|
187
176
|
|
|
188
177
|
return {
|
|
189
178
|
total,
|
|
@@ -210,7 +199,7 @@ export class IdSelector extends LitElement {
|
|
|
210
199
|
}
|
|
211
200
|
|
|
212
201
|
serializeFormData() {
|
|
213
|
-
const searchInputs = Array.from(this.
|
|
202
|
+
const searchInputs = Array.from(this.renderRoot.querySelectorAll('#search-form > input'))
|
|
214
203
|
return searchInputs
|
|
215
204
|
.filter(input => input.value)
|
|
216
205
|
.map(input => {
|
|
@@ -219,7 +208,7 @@ export class IdSelector extends LitElement {
|
|
|
219
208
|
}
|
|
220
209
|
|
|
221
210
|
get selected() {
|
|
222
|
-
var grist = this.
|
|
211
|
+
var grist = this.renderRoot.querySelector('ox-grist')
|
|
223
212
|
|
|
224
213
|
var selected = grist.selected
|
|
225
214
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { css, html } from 'lit-element'
|
|
2
|
+
|
|
2
3
|
import { getEditor, getRenderer } from '@operato/data-grist'
|
|
3
4
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
|
|
5
5
|
import { PageView } from '@things-factory/shell'
|
|
6
6
|
import { isMobileDevice } from '@things-factory/utils'
|
|
7
|
+
|
|
7
8
|
import { referencePageStyles } from './reference-page-styles'
|
|
8
9
|
|
|
9
10
|
class GristColorizing extends localize(i18next)(PageView) {
|
|
@@ -48,7 +49,7 @@ class GristColorizing extends localize(i18next)(PageView) {
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
get grist() {
|
|
51
|
-
return this.
|
|
52
|
+
return this.renderRoot.querySelector('ox-grist')
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
render() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css, html } from 'lit-element'
|
|
2
|
+
|
|
2
3
|
import { getEditor, getRenderer } from '@operato/data-grist'
|
|
3
4
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
|
|
5
5
|
import { PageView } from '@things-factory/shell'
|
|
6
6
|
import { isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
|
|
@@ -39,7 +39,7 @@ class GristPage extends localize(i18next)(PageView) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
get grist() {
|
|
42
|
-
return this.
|
|
42
|
+
return this.renderRoot.querySelector('ox-grist')
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
render() {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import '@things-factory/auth-ui' /* for domain-switch */
|
|
2
2
|
import '@material/mwc-checkbox'
|
|
3
3
|
import '@material/mwc-formfield'
|
|
4
|
+
import '@operato/help/ox-help-icon.js'
|
|
4
5
|
|
|
5
6
|
import { css, html } from 'lit-element'
|
|
6
7
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
8
|
|
|
8
|
-
import { VIEWPART_POSITION } from '@
|
|
9
|
+
import { VIEWPART_POSITION } from '@operato/layout'
|
|
10
|
+
import { PageView, store } from '@operato/shell'
|
|
9
11
|
import { setupMenuPart } from '@things-factory/lite-menu'
|
|
10
|
-
import { PageView, store } from '@things-factory/shell'
|
|
11
12
|
|
|
12
13
|
import { referencePageStyles } from './reference-page-styles'
|
|
13
14
|
|
|
@@ -35,9 +36,9 @@ class MenuPage extends connect(store)(PageView) {
|
|
|
35
36
|
render() {
|
|
36
37
|
return html`
|
|
37
38
|
<p>
|
|
38
|
-
Things Factory 프레임워크에서는 간편하게 메뉴를 구성할 수 있도록 Lite Menu<help-icon
|
|
39
|
+
Things Factory 프레임워크에서는 간편하게 메뉴를 구성할 수 있도록 Lite Menu<ox-help-icon
|
|
39
40
|
topic="module/lite-menu"
|
|
40
|
-
></help-icon>
|
|
41
|
+
></ox-help-icon>
|
|
41
42
|
모듈을 제공한다.
|
|
42
43
|
</p>
|
|
43
44
|
<section @change=${e => this.setupMenu(e)}>
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import '@things-factory/notification'
|
|
2
|
+
import '@operato/help/ox-help-icon.js'
|
|
2
3
|
|
|
3
|
-
import { APPEND_APP_TOOL, REMOVE_APP_TOOL } from '@things-factory/apptool-base'
|
|
4
|
-
import { PageView, store } from '@things-factory/shell'
|
|
5
|
-
import { TOOL_POSITION, toggleOverlay } from '@things-factory/layout-base'
|
|
6
4
|
import { css, html } from 'lit-element'
|
|
7
|
-
|
|
8
5
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
6
|
+
|
|
7
|
+
import { toggleOverlay, TOOL_POSITION } from '@operato/layout'
|
|
8
|
+
import { PageView, store } from '@operato/shell'
|
|
9
|
+
import { APPEND_APP_TOOL, REMOVE_APP_TOOL } from '@things-factory/apptool-base'
|
|
10
|
+
|
|
9
11
|
import { referencePageStyles } from './reference-page-styles'
|
|
10
12
|
|
|
11
13
|
class NotificationPage extends connect(store)(PageView) {
|
|
@@ -45,9 +47,9 @@ class NotificationPage extends connect(store)(PageView) {
|
|
|
45
47
|
render() {
|
|
46
48
|
return html`
|
|
47
49
|
<p>
|
|
48
|
-
Things Factory 프레임워크에서는 간편하게 메뉴를 구성할 수 있도록 Notification<help-icon
|
|
50
|
+
Things Factory 프레임워크에서는 간편하게 메뉴를 구성할 수 있도록 Notification<ox-help-icon
|
|
49
51
|
topic="module/notification"
|
|
50
|
-
></help-icon>
|
|
52
|
+
></ox-help-icon>
|
|
51
53
|
모듈을 제공한다.
|
|
52
54
|
</p>
|
|
53
55
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import '@material/mwc-linear-progress'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/help/ox-help-icon.js'
|
|
3
3
|
|
|
4
4
|
import { gql } from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit-element'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
7
|
|
|
8
|
-
import { client
|
|
8
|
+
import { client } from '@operato/graphql'
|
|
9
|
+
import { PageView, store } from '@operato/shell'
|
|
9
10
|
|
|
10
11
|
import { referencePageStyles } from './reference-page-styles'
|
|
11
12
|
|
|
@@ -48,7 +49,8 @@ class PendingJobPage extends connect(store)(PageView) {
|
|
|
48
49
|
return html`
|
|
49
50
|
<p>
|
|
50
51
|
오래걸리는 서버작업을 수행할 때는 진행과정을 표현해주는 것이 사용자 경험에 도움을 준다. 이를 위해 Things Factory
|
|
51
|
-
프레임워크에서는 oops-progress<help-icon topic="components/oops-progress"></help-icon> 라는 컴포넌트를
|
|
52
|
+
프레임워크에서는 oops-progress<ox-help-icon topic="components/oops-progress"></ox-help-icon> 라는 컴포넌트를
|
|
53
|
+
제공한다.
|
|
52
54
|
</p>
|
|
53
55
|
<p>
|
|
54
56
|
아래 'Start' 버튼을 클릭하면, 서버에 작업을 요청하고 그 진행율이 화면에 표현된다. 진행중에는 버튼은 'Stop'
|
package/db.sqlite
CHANGED
|
Binary file
|
|
@@ -6,9 +6,15 @@
|
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/application-2022-01-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1643432714784,
|
|
10
|
+
"name": "logs/application-2022-01-29-14.log",
|
|
11
|
+
"hash": "b4b941155b95e9a9c3dd0ef700d0d8fe"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1643562406803,
|
|
15
|
+
"name": "logs/application-2022-01-31-02.log",
|
|
16
|
+
"hash": "2892825e3ac228e9e3cc8761ee20aabc"
|
|
12
17
|
}
|
|
13
|
-
]
|
|
18
|
+
],
|
|
19
|
+
"hashType": "md5"
|
|
14
20
|
}
|
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
"auditLog": "logs/.33a2b6820ab05dbb0f8bea4849090e12685d0b36-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/connections-2022-01-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1642401813135,
|
|
10
|
+
"name": "logs/connections-2022-01-17-14.log",
|
|
11
|
+
"hash": "54983a7bd04c80ef30efdcf1deaeebdf"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1642404086390,
|
|
15
|
+
"name": "logs/connections-2022-01-17-15.log",
|
|
16
|
+
"hash": "bf7d0da37a4cb017ff4a2dc12ff94639"
|
|
12
17
|
}
|
|
13
18
|
]
|
|
14
19
|
}
|
|
@@ -6,24 +6,15 @@
|
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/connections-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1643432716894,
|
|
10
|
+
"name": "logs/connections-2022-01-29-14.log",
|
|
11
|
+
"hash": "ae807fd62a39d9b25673c588afa621c8"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"date":
|
|
15
|
-
"name": "logs/connections-
|
|
16
|
-
"hash": "
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"date": 1636005260004,
|
|
20
|
-
"name": "logs/connections-2021-11-04-14.log",
|
|
21
|
-
"hash": "6d9ee9a4066c730e14f77f0396879d64"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"date": 1636103949582,
|
|
25
|
-
"name": "logs/connections-2021-11-05-18.log",
|
|
26
|
-
"hash": "f7593c79bc2d00a3832d894f74b529f8"
|
|
14
|
+
"date": 1643562408398,
|
|
15
|
+
"name": "logs/connections-2022-01-31-02.log",
|
|
16
|
+
"hash": "051259316dbdbb2c6927efc6cd3862f9"
|
|
27
17
|
}
|
|
28
|
-
]
|
|
18
|
+
],
|
|
19
|
+
"hashType": "md5"
|
|
29
20
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
2022-01-29T05:05:16.270Z info: File Storage is Ready.
|
|
2
|
+
2022-01-29T05:05:19.935Z info: Database connection established
|
|
3
|
+
2022-01-29T05:05:20.556Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-01-29T05:05:20.556Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
|
5
|
+
2022-01-29T05:17:30.280Z error: Cannot return null for non-nullable field Query.ocrRequest.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
2022-01-30T17:06:47.788Z info: File Storage is Ready.
|
|
2
|
+
2022-01-30T17:06:50.263Z info: Database connection established
|
|
3
|
+
2022-01-30T17:06:51.142Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-01-30T17:06:51.143Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
|
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.0.
|
|
3
|
+
"version": "4.0.42",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -37,51 +37,56 @@
|
|
|
37
37
|
"docker:run": "docker run -it -p 4000:3000 hatiolab/reference-app:latest"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@hatiolab/things-scene": "^2.7.
|
|
40
|
+
"@hatiolab/things-scene": "^2.7.34",
|
|
41
41
|
"@material/mwc-checkbox": "^0.25.3",
|
|
42
|
-
"@operato/data-grist": "^0.3.
|
|
43
|
-
"@operato/ghost-print": "^0.3.
|
|
44
|
-
"@operato/
|
|
45
|
-
"@operato/
|
|
46
|
-
"@operato/
|
|
47
|
-
"@operato/
|
|
48
|
-
"@operato/
|
|
49
|
-
"@operato/
|
|
50
|
-
"@operato/
|
|
51
|
-
"@operato/
|
|
52
|
-
"@operato/scene-
|
|
53
|
-
"@operato/scene-
|
|
54
|
-
"@operato/scene-
|
|
55
|
-
"@operato/scene-
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@things-factory/
|
|
63
|
-
"@things-factory/
|
|
64
|
-
"@things-factory/
|
|
65
|
-
"@things-factory/
|
|
66
|
-
"@things-factory/
|
|
67
|
-
"@things-factory/
|
|
68
|
-
"@things-factory/
|
|
69
|
-
"@things-factory/
|
|
70
|
-
"@things-factory/
|
|
71
|
-
"@things-factory/
|
|
72
|
-
"@things-factory/
|
|
73
|
-
"@things-factory/
|
|
74
|
-
"@things-factory/
|
|
75
|
-
"@things-factory/
|
|
42
|
+
"@operato/data-grist": "^0.3.24",
|
|
43
|
+
"@operato/ghost-print": "^0.3.24",
|
|
44
|
+
"@operato/graphql": "^0.3.24",
|
|
45
|
+
"@operato/help": "^0.3.24",
|
|
46
|
+
"@operato/i18n": "^0.3.24",
|
|
47
|
+
"@operato/input": "^0.3.24",
|
|
48
|
+
"@operato/layout": "^0.3.24",
|
|
49
|
+
"@operato/ocr": "^0.3.24",
|
|
50
|
+
"@operato/popup": "^0.3.24",
|
|
51
|
+
"@operato/pull-to-refresh": "^0.3.24",
|
|
52
|
+
"@operato/scene-chartjs": "^0.1.4",
|
|
53
|
+
"@operato/scene-clock": "^0.1.4",
|
|
54
|
+
"@operato/scene-gauge": "^0.1.4",
|
|
55
|
+
"@operato/scene-indoor-map": "^0.1.4",
|
|
56
|
+
"@operato/scene-progressbar": "^0.1.4",
|
|
57
|
+
"@operato/scene-random": "^0.1.4",
|
|
58
|
+
"@operato/scene-switch": "^0.1.4",
|
|
59
|
+
"@operato/scene-tab": "^0.1.4",
|
|
60
|
+
"@operato/shell": "^0.3.24",
|
|
61
|
+
"@operato/utils": "^0.3.24",
|
|
62
|
+
"@things-factory/api": "^4.0.42",
|
|
63
|
+
"@things-factory/apptool-ui": "^4.0.42",
|
|
64
|
+
"@things-factory/auth-ui": "^4.0.42",
|
|
65
|
+
"@things-factory/board-service": "^4.0.42",
|
|
66
|
+
"@things-factory/board-ui": "^4.0.42",
|
|
67
|
+
"@things-factory/context-ui": "^4.0.42",
|
|
68
|
+
"@things-factory/dashboard": "^4.0.42",
|
|
69
|
+
"@things-factory/export-ui": "^4.0.42",
|
|
70
|
+
"@things-factory/export-ui-excel": "^4.0.42",
|
|
71
|
+
"@things-factory/grist-ui": "^4.0.42",
|
|
72
|
+
"@things-factory/help": "^4.0.42",
|
|
73
|
+
"@things-factory/integration-ui": "^4.0.42",
|
|
74
|
+
"@things-factory/lite-menu": "^4.0.42",
|
|
75
|
+
"@things-factory/more-ui": "^4.0.42",
|
|
76
|
+
"@things-factory/notification": "^4.0.42",
|
|
77
|
+
"@things-factory/oauth2-client": "^4.0.42",
|
|
78
|
+
"@things-factory/print-ui": "^4.0.42",
|
|
79
|
+
"@things-factory/resource-ui": "^4.0.42",
|
|
80
|
+
"@things-factory/scene-form": "^4.0.42",
|
|
76
81
|
"@things-factory/scene-half-roundrect": "^4.0.9",
|
|
77
|
-
"@things-factory/scene-news-ticker": "^4.0.
|
|
78
|
-
"@things-factory/setting-base": "^4.0.
|
|
79
|
-
"@things-factory/setting-ui": "^4.0.
|
|
80
|
-
"@things-factory/shell": "^4.0.
|
|
81
|
-
"@things-factory/system-ui": "^4.0.
|
|
82
|
+
"@things-factory/scene-news-ticker": "^4.0.42",
|
|
83
|
+
"@things-factory/setting-base": "^4.0.42",
|
|
84
|
+
"@things-factory/setting-ui": "^4.0.42",
|
|
85
|
+
"@things-factory/shell": "^4.0.42",
|
|
86
|
+
"@things-factory/system-ui": "^4.0.42"
|
|
82
87
|
},
|
|
83
88
|
"devDependencies": {
|
|
84
|
-
"@things-factory/builder": "^4.0.
|
|
89
|
+
"@things-factory/builder": "^4.0.42"
|
|
85
90
|
},
|
|
86
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "794709ebadf4ae0f89a107a86a41a381ce26b465"
|
|
87
92
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
2021-12-31T16:07:47.529Z info: File Storage is Ready.
|
|
2
|
-
2021-12-31T16:07:51.360Z info: Database connection established
|
|
3
|
-
2021-12-31T16:07:52.386Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
-
2021-12-31T16:07:52.386Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
|
5
|
-
2021-12-31T16:10:37.594Z error: Only absolute URLs are supported
|
|
6
|
-
2021-12-31T16:11:32.986Z error: Only absolute URLs are supported
|
|
File without changes
|