@things-factory/operato-pms 6.0.145 → 6.1.0
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/component/block-selector-popup.js +8 -8
- package/client/component/driver-selector-popup.js +5 -5
- package/client/component/mill-selector-popup.js +5 -5
- package/client/component/truck-selector-popup.js +5 -5
- package/client/pages/dispatchment/daily-dispatch-detail.js +6 -6
- package/client/pages/dispatchment/dispatchment-create-record.js +6 -6
- package/client/pages/dispatchment/dispatchment-list.js +5 -5
- package/client/pages/harvesting/daily-harvesting-detail.js +6 -6
- package/client/pages/harvesting/edit-harvesting-record.js +6 -6
- package/client/pages/harvesting/harvesting-create-record.js +6 -6
- package/client/pages/harvesting/harvesting-list.js +5 -5
- package/client/pages/inventory/inventory-field-bunches.js +5 -5
- package/client/pages/inventory/inventory-history-by-bunches.js +5 -5
- package/client/pages/inventory/inventory-history-by-tonnage.js +5 -5
- package/client/pages/inventory/inventory-ramp-tonnage.js +5 -5
- package/client/pages/loading/daily-loading-detail.js +6 -6
- package/client/pages/loading/edit-loading-record.js +6 -6
- package/client/pages/loading/loading-create-record.js +6 -6
- package/client/pages/loading/loading-list.js +5 -5
- package/client/pages/master/block.js +5 -5
- package/client/pages/master/company.js +5 -5
- package/client/pages/master/pop-up/block-detail-popup.js +5 -5
- package/client/pages/master/ramp.js +5 -5
- package/client/pages/master/staff.js +5 -5
- package/client/pages/master/truck.js +5 -5
- package/client/pages/report/report-daily-ffb-dispatch-and-production.js +5 -5
- package/client/pages/report/report-daily-production.js +5 -5
- package/client/pages/report/report-daily-staff-harvest.js +5 -5
- package/client/pages/report/report-ffb-tonnage-between-individual-block.js +5 -5
- package/client/pages/report/report-monthly-ffb-sale.js +5 -5
- package/client/pages/report/report-monthly-production.js +5 -5
- package/client/pages/report/report-yearly-production.js +5 -5
- package/client/themes/grist-theme-for-compatiblility.css +41 -0
- package/client/themes/grist-theme.css +198 -0
- package/client/themes/report-theme.css +47 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +31 -31
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@operato/data-grist'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
4
|
import { css, html } from 'lit'
|
|
@@ -45,7 +45,7 @@ class DailyLoadingDetail extends localize(i18next)(PageView) {
|
|
|
45
45
|
flex: 1;
|
|
46
46
|
overflow-y: auto;
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
ox-grist {
|
|
49
49
|
overflow-y: hidden;
|
|
50
50
|
flex: 1;
|
|
51
51
|
}
|
|
@@ -68,7 +68,7 @@ class DailyLoadingDetail extends localize(i18next)(PageView) {
|
|
|
68
68
|
color: var(--grist-title-icon-color);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
h2 +
|
|
71
|
+
h2 + ox-grist {
|
|
72
72
|
padding-top: var(--grist-title-with-grid-padding);
|
|
73
73
|
}
|
|
74
74
|
`
|
|
@@ -119,12 +119,12 @@ class DailyLoadingDetail extends localize(i18next)(PageView) {
|
|
|
119
119
|
<div class="grist">
|
|
120
120
|
<h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.loading_data')}</h2>
|
|
121
121
|
|
|
122
|
-
<
|
|
122
|
+
<ox-grist
|
|
123
123
|
id="loading-grist"
|
|
124
124
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
125
125
|
.config=${this.loadingGristConfig}
|
|
126
126
|
.data="${this.loadingData}"
|
|
127
|
-
></
|
|
127
|
+
></ox-grist>
|
|
128
128
|
</div>
|
|
129
129
|
</div>
|
|
130
130
|
`
|
|
@@ -140,7 +140,7 @@ class DailyLoadingDetail extends localize(i18next)(PageView) {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
get loadingGrist() {
|
|
143
|
-
return this.shadowRoot.querySelector('
|
|
143
|
+
return this.shadowRoot.querySelector('ox-grist#loading-grist')
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
pageInitialized() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@operato/data-grist'
|
|
2
2
|
import '../../component/block-selector-popup'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
@@ -46,7 +46,7 @@ class EditLoadingRecord extends localize(i18next)(PageView) {
|
|
|
46
46
|
flex: 1;
|
|
47
47
|
overflow-y: auto;
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
ox-grist {
|
|
50
50
|
overflow-y: hidden;
|
|
51
51
|
flex: 1;
|
|
52
52
|
}
|
|
@@ -69,7 +69,7 @@ class EditLoadingRecord extends localize(i18next)(PageView) {
|
|
|
69
69
|
color: var(--grist-title-icon-color);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
h2 +
|
|
72
|
+
h2 + ox-grist {
|
|
73
73
|
padding-top: var(--grist-title-with-grid-padding);
|
|
74
74
|
}
|
|
75
75
|
`
|
|
@@ -110,13 +110,13 @@ class EditLoadingRecord extends localize(i18next)(PageView) {
|
|
|
110
110
|
<div class="grist">
|
|
111
111
|
<h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.loading_data')}</h2>
|
|
112
112
|
|
|
113
|
-
<
|
|
113
|
+
<ox-grist
|
|
114
114
|
id="loading-grist"
|
|
115
115
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
116
116
|
.config=${this.loadingGristConfig}
|
|
117
117
|
.data="${this.loadingData}"
|
|
118
118
|
@record-change="${this._onRecordChangeHandler.bind(this)}"
|
|
119
|
-
></
|
|
119
|
+
></ox-grist>
|
|
120
120
|
</div>
|
|
121
121
|
</div>
|
|
122
122
|
`
|
|
@@ -132,7 +132,7 @@ class EditLoadingRecord extends localize(i18next)(PageView) {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
get loadingGrist() {
|
|
135
|
-
return this.shadowRoot.querySelector('
|
|
135
|
+
return this.shadowRoot.querySelector('ox-grist#loading-grist')
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
pageInitialized() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@operato/data-grist'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
4
|
import { css, html } from 'lit'
|
|
@@ -47,7 +47,7 @@ class LoadingCreateRecord extends localize(i18next)(PageView) {
|
|
|
47
47
|
flex: 1;
|
|
48
48
|
overflow-y: auto;
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
ox-grist {
|
|
51
51
|
overflow-y: hidden;
|
|
52
52
|
flex: 1;
|
|
53
53
|
}
|
|
@@ -70,7 +70,7 @@ class LoadingCreateRecord extends localize(i18next)(PageView) {
|
|
|
70
70
|
color: var(--grist-title-icon-color);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
h2 +
|
|
73
|
+
h2 + ox-grist {
|
|
74
74
|
padding-top: var(--grist-title-with-grid-padding);
|
|
75
75
|
}
|
|
76
76
|
`
|
|
@@ -104,13 +104,13 @@ class LoadingCreateRecord extends localize(i18next)(PageView) {
|
|
|
104
104
|
<div class="grist">
|
|
105
105
|
<h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.loading_data')}</h2>
|
|
106
106
|
|
|
107
|
-
<
|
|
107
|
+
<ox-grist
|
|
108
108
|
id="loading-grist"
|
|
109
109
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
110
110
|
.config=${this.loadingGristConfig}
|
|
111
111
|
.data="${this.loadingData}"
|
|
112
112
|
@record-change="${this._onRecordChangeHandler.bind(this)}"
|
|
113
|
-
></
|
|
113
|
+
></ox-grist>
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
|
116
116
|
`
|
|
@@ -126,7 +126,7 @@ class LoadingCreateRecord extends localize(i18next)(PageView) {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
get loadingGrist() {
|
|
129
|
-
return this.shadowRoot.querySelector('
|
|
129
|
+
return this.shadowRoot.querySelector('ox-grist#loading-grist')
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
pageInitialized() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -24,7 +24,7 @@ class LoadingList extends localize(i18next)(PageView) {
|
|
|
24
24
|
overflow: visible;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
ox-grist {
|
|
28
28
|
overflow-y: auto;
|
|
29
29
|
flex: 1;
|
|
30
30
|
}
|
|
@@ -44,11 +44,11 @@ class LoadingList extends localize(i18next)(PageView) {
|
|
|
44
44
|
return html`
|
|
45
45
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
46
46
|
|
|
47
|
-
<
|
|
47
|
+
<ox-grist
|
|
48
48
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
49
49
|
.config=${this.config}
|
|
50
50
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
51
|
-
></
|
|
51
|
+
></ox-grist>
|
|
52
52
|
`
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -144,7 +144,7 @@ class LoadingList extends localize(i18next)(PageView) {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
get dataGrist() {
|
|
147
|
-
return this.shadowRoot.querySelector('
|
|
147
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
async fetchHandler({ page, limit, sorters = [{ name: 'createdAt', desc: true }] }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
4
|
import { openPopup } from '@things-factory/layout-base'
|
|
5
5
|
import { client, CustomAlert, PageView } from '@things-factory/shell'
|
|
@@ -24,7 +24,7 @@ class MasterBlock extends localize(i18next)(PageView) {
|
|
|
24
24
|
overflow: visible;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
ox-grist {
|
|
28
28
|
overflow-y: auto;
|
|
29
29
|
flex: 1;
|
|
30
30
|
}
|
|
@@ -45,11 +45,11 @@ class MasterBlock extends localize(i18next)(PageView) {
|
|
|
45
45
|
return html`
|
|
46
46
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
47
47
|
|
|
48
|
-
<
|
|
48
|
+
<ox-grist
|
|
49
49
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
50
50
|
.config=${this.config}
|
|
51
51
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
52
|
-
></
|
|
52
|
+
></ox-grist>
|
|
53
53
|
`
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -196,7 +196,7 @@ class MasterBlock extends localize(i18next)(PageView) {
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
get dataGrist() {
|
|
199
|
-
return this.shadowRoot.querySelector('
|
|
199
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
_importableData(records) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -27,7 +27,7 @@ class MasterCompany extends localize(i18next)(PageView) {
|
|
|
27
27
|
overflow: visible;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
ox-grist {
|
|
31
31
|
overflow-y: auto;
|
|
32
32
|
flex: 1;
|
|
33
33
|
}
|
|
@@ -53,11 +53,11 @@ class MasterCompany extends localize(i18next)(PageView) {
|
|
|
53
53
|
@submit=${e => this.dataGrist.fetch()}
|
|
54
54
|
></search-form>
|
|
55
55
|
|
|
56
|
-
<
|
|
56
|
+
<ox-grist
|
|
57
57
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
58
58
|
.config=${this.config}
|
|
59
59
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
60
|
-
></
|
|
60
|
+
></ox-grist>
|
|
61
61
|
`
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -175,7 +175,7 @@ class MasterCompany extends localize(i18next)(PageView) {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
get dataGrist() {
|
|
178
|
-
return this.shadowRoot.querySelector('
|
|
178
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
_importableData(records) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@operato/data-grist'
|
|
2
2
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
3
3
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
4
4
|
import { isMobileDevice } from '@things-factory/utils'
|
|
@@ -29,7 +29,7 @@ export class BlockDetailPopup extends localize(i18next)(LitElement) {
|
|
|
29
29
|
font-size: var(--grist-title-icon-size);
|
|
30
30
|
color: var(--grist-title-icon-color);
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
ox-grist {
|
|
33
33
|
overflow-y: hidden;
|
|
34
34
|
flex: 1;
|
|
35
35
|
}
|
|
@@ -72,11 +72,11 @@ export class BlockDetailPopup extends localize(i18next)(LitElement) {
|
|
|
72
72
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
73
73
|
|
|
74
74
|
<div class="grist">
|
|
75
|
-
<
|
|
75
|
+
<ox-grist
|
|
76
76
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
77
77
|
.config="${this.config}"
|
|
78
78
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
79
|
-
></
|
|
79
|
+
></ox-grist>
|
|
80
80
|
</div>
|
|
81
81
|
|
|
82
82
|
<div class="button-container">
|
|
@@ -173,7 +173,7 @@ export class BlockDetailPopup extends localize(i18next)(LitElement) {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
get dataGrist() {
|
|
176
|
-
return this.shadowRoot.querySelector('
|
|
176
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
get searchForm() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
4
|
import { client, PageView, CustomAlert } from '@things-factory/shell'
|
|
5
5
|
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
@@ -22,7 +22,7 @@ class MasterRamp extends localize(i18next)(PageView) {
|
|
|
22
22
|
overflow: visible;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
ox-grist {
|
|
26
26
|
overflow-y: auto;
|
|
27
27
|
flex: 1;
|
|
28
28
|
}
|
|
@@ -48,11 +48,11 @@ class MasterRamp extends localize(i18next)(PageView) {
|
|
|
48
48
|
@submit=${e => this.dataGrist.fetch()}
|
|
49
49
|
></search-form>
|
|
50
50
|
|
|
51
|
-
<
|
|
51
|
+
<ox-grist
|
|
52
52
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
53
53
|
.config=${this.config}
|
|
54
54
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
55
|
-
></
|
|
55
|
+
></ox-grist>
|
|
56
56
|
`
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -180,7 +180,7 @@ class MasterRamp extends localize(i18next)(PageView) {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
get dataGrist() {
|
|
183
|
-
return this.shadowRoot.querySelector('
|
|
183
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
_importableData(records) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -25,7 +25,7 @@ class MasterStaff extends localize(i18next)(PageView) {
|
|
|
25
25
|
overflow: visible;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
ox-grist {
|
|
29
29
|
overflow-y: auto;
|
|
30
30
|
flex: 1;
|
|
31
31
|
}
|
|
@@ -51,11 +51,11 @@ class MasterStaff extends localize(i18next)(PageView) {
|
|
|
51
51
|
@submit=${e => this.dataGrist.fetch()}
|
|
52
52
|
></search-form>
|
|
53
53
|
|
|
54
|
-
<
|
|
54
|
+
<ox-grist
|
|
55
55
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
56
56
|
.config=${this.config}
|
|
57
57
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
58
|
-
></
|
|
58
|
+
></ox-grist>
|
|
59
59
|
`
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -243,7 +243,7 @@ class MasterStaff extends localize(i18next)(PageView) {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
get dataGrist() {
|
|
246
|
-
return this.shadowRoot.querySelector('
|
|
246
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
async fetchCompanies() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -24,7 +24,7 @@ class MasterTruck extends localize(i18next)(PageView) {
|
|
|
24
24
|
overflow: visible;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
ox-grist {
|
|
28
28
|
overflow-y: auto;
|
|
29
29
|
flex: 1;
|
|
30
30
|
}
|
|
@@ -50,11 +50,11 @@ class MasterTruck extends localize(i18next)(PageView) {
|
|
|
50
50
|
@submit=${e => this.dataGrist.fetch()}
|
|
51
51
|
></search-form>
|
|
52
52
|
|
|
53
|
-
<
|
|
53
|
+
<ox-grist
|
|
54
54
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
55
55
|
.config=${this.config}
|
|
56
56
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
57
|
-
></
|
|
57
|
+
></ox-grist>
|
|
58
58
|
`
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -175,7 +175,7 @@ class MasterTruck extends localize(i18next)(PageView) {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
get dataGrist() {
|
|
178
|
-
return this.shadowRoot.querySelector('
|
|
178
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
async fetchCompanies() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -25,7 +25,7 @@ class ReportDailyFfbDispatchAndProduction extends connect(store)(localize(i18nex
|
|
|
25
25
|
overflow: visible;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
ox-grist {
|
|
29
29
|
overflow-y: auto;
|
|
30
30
|
flex: 1;
|
|
31
31
|
}
|
|
@@ -61,7 +61,7 @@ class ReportDailyFfbDispatchAndProduction extends connect(store)(localize(i18nex
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
get dataGrist() {
|
|
64
|
-
return this.shadowRoot.querySelector('
|
|
64
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
get searchForm() {
|
|
@@ -81,11 +81,11 @@ class ReportDailyFfbDispatchAndProduction extends connect(store)(localize(i18nex
|
|
|
81
81
|
return html`
|
|
82
82
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
83
83
|
|
|
84
|
-
<
|
|
84
|
+
<ox-grist
|
|
85
85
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
86
86
|
.config=${this._config}
|
|
87
87
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
88
|
-
></
|
|
88
|
+
></ox-grist>
|
|
89
89
|
`
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -25,7 +25,7 @@ class ReportDailyProduction extends connect(store)(localize(i18next)(PageView))
|
|
|
25
25
|
overflow: visible;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
ox-grist {
|
|
29
29
|
overflow-y: auto;
|
|
30
30
|
flex: 1;
|
|
31
31
|
}
|
|
@@ -61,7 +61,7 @@ class ReportDailyProduction extends connect(store)(localize(i18next)(PageView))
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
get dataGrist() {
|
|
64
|
-
return this.shadowRoot.querySelector('
|
|
64
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
get searchForm() {
|
|
@@ -86,11 +86,11 @@ class ReportDailyProduction extends connect(store)(localize(i18next)(PageView))
|
|
|
86
86
|
return html`
|
|
87
87
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
88
88
|
|
|
89
|
-
<
|
|
89
|
+
<ox-grist
|
|
90
90
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
91
91
|
.config=${this._config}
|
|
92
92
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
93
|
-
></
|
|
93
|
+
></ox-grist>
|
|
94
94
|
`
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -18,7 +18,7 @@ class ReportDailyStaffHarvest extends connect(store)(localize(i18next)(PageView)
|
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
ox-grist {
|
|
22
22
|
overflow-y: auto;
|
|
23
23
|
flex: 1;
|
|
24
24
|
}
|
|
@@ -53,7 +53,7 @@ class ReportDailyStaffHarvest extends connect(store)(localize(i18next)(PageView)
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
get dataGrist() {
|
|
56
|
-
return this.shadowRoot.querySelector('
|
|
56
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
get searchForm() {
|
|
@@ -78,11 +78,11 @@ class ReportDailyStaffHarvest extends connect(store)(localize(i18next)(PageView)
|
|
|
78
78
|
return html`
|
|
79
79
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
80
80
|
|
|
81
|
-
<
|
|
81
|
+
<ox-grist
|
|
82
82
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
83
83
|
.config=${this._config}
|
|
84
84
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
85
|
-
></
|
|
85
|
+
></ox-grist>
|
|
86
86
|
`
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -25,7 +25,7 @@ class ReportFfbTonnageBetweenIndividualBlock extends connect(store)(localize(i18
|
|
|
25
25
|
overflow: visible;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
ox-grist {
|
|
29
29
|
overflow-y: auto;
|
|
30
30
|
flex: 1;
|
|
31
31
|
}
|
|
@@ -60,7 +60,7 @@ class ReportFfbTonnageBetweenIndividualBlock extends connect(store)(localize(i18
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
get dataGrist() {
|
|
63
|
-
return this.shadowRoot.querySelector('
|
|
63
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
get searchForm() {
|
|
@@ -80,11 +80,11 @@ class ReportFfbTonnageBetweenIndividualBlock extends connect(store)(localize(i18
|
|
|
80
80
|
return html`
|
|
81
81
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
82
82
|
|
|
83
|
-
<
|
|
83
|
+
<ox-grist
|
|
84
84
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
85
85
|
.config=${this._config}
|
|
86
86
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
87
|
-
></
|
|
87
|
+
></ox-grist>
|
|
88
88
|
`
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -18,7 +18,7 @@ class ReportMonthlyFfbSale extends connect(store)(localize(i18next)(PageView)) {
|
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
ox-grist {
|
|
22
22
|
overflow-y: auto;
|
|
23
23
|
flex: 1;
|
|
24
24
|
}
|
|
@@ -52,7 +52,7 @@ class ReportMonthlyFfbSale extends connect(store)(localize(i18next)(PageView)) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
get dataGrist() {
|
|
55
|
-
return this.shadowRoot.querySelector('
|
|
55
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
get searchForm() {
|
|
@@ -77,11 +77,11 @@ class ReportMonthlyFfbSale extends connect(store)(localize(i18next)(PageView)) {
|
|
|
77
77
|
return html`
|
|
78
78
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
79
79
|
|
|
80
|
-
<
|
|
80
|
+
<ox-grist
|
|
81
81
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
82
82
|
.config=${this._config}
|
|
83
83
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
84
|
-
></
|
|
84
|
+
></ox-grist>
|
|
85
85
|
`
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit'
|
|
@@ -18,7 +18,7 @@ class ReportMonthlyProduction extends connect(store)(localize(i18next)(PageView)
|
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
ox-grist {
|
|
22
22
|
overflow-y: auto;
|
|
23
23
|
flex: 1;
|
|
24
24
|
}
|
|
@@ -51,7 +51,7 @@ class ReportMonthlyProduction extends connect(store)(localize(i18next)(PageView)
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
get dataGrist() {
|
|
54
|
-
return this.shadowRoot.querySelector('
|
|
54
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
get searchForm() {
|
|
@@ -71,11 +71,11 @@ class ReportMonthlyProduction extends connect(store)(localize(i18next)(PageView)
|
|
|
71
71
|
return html`
|
|
72
72
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
73
73
|
|
|
74
|
-
<
|
|
74
|
+
<ox-grist
|
|
75
75
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
76
76
|
.config=${this._config}
|
|
77
77
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
78
|
-
></
|
|
78
|
+
></ox-grist>
|
|
79
79
|
`
|
|
80
80
|
}
|
|
81
81
|
|