@things-factory/operato-pms 6.0.25 → 6.0.28
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/bootstrap.js +1 -1
- package/client/component/block-selector-popup.js +1 -1
- package/client/component/driver-selector-popup.js +1 -1
- package/client/component/mill-selector-popup.js +1 -1
- package/client/component/tracked-plantation-setting.js +1 -1
- package/client/component/truck-selector-popup.js +1 -1
- package/client/pages/dispatchment/daily-dispatch-detail.js +1 -1
- package/client/pages/dispatchment/dispatchment-create-record.js +1 -1
- package/client/pages/dispatchment/dispatchment-list.js +1 -1
- package/client/pages/dispatchment/home.js +1 -1
- package/client/pages/harvesting/daily-harvesting-detail.js +1 -1
- package/client/pages/harvesting/edit-harvesting-record.js +1 -1
- package/client/pages/harvesting/harvesting-create-record.js +1 -1
- package/client/pages/harvesting/harvesting-list.js +1 -1
- package/client/pages/harvesting/home.js +65 -65
- package/client/pages/inventory/home.js +1 -1
- package/client/pages/inventory/inventory-field-bunches.js +1 -1
- package/client/pages/inventory/inventory-history-by-bunches.js +1 -1
- package/client/pages/inventory/inventory-history-by-tonnage.js +1 -1
- package/client/pages/inventory/inventory-ramp-tonnage.js +1 -1
- package/client/pages/loading/daily-loading-detail.js +1 -1
- package/client/pages/loading/edit-loading-record.js +1 -1
- package/client/pages/loading/home.js +65 -65
- package/client/pages/loading/loading-create-record.js +1 -1
- package/client/pages/loading/loading-list.js +1 -1
- package/client/pages/master/block.js +1 -1
- package/client/pages/master/company.js +1 -1
- package/client/pages/master/home.js +1 -1
- package/client/pages/master/pop-up/block-detail-popup.js +1 -1
- package/client/pages/master/ramp.js +1 -1
- package/client/pages/master/staff.js +1 -1
- package/client/pages/master/truck.js +1 -1
- package/client/pages/report/home.js +1 -1
- package/client/pages/report/report-daily-ffb-dispatch-and-production.js +1 -1
- package/client/pages/report/report-daily-production.js +1 -1
- package/client/pages/report/report-daily-staff-harvest.js +1 -1
- package/client/pages/report/report-ffb-tonnage-between-individual-block.js +1 -1
- package/client/pages/report/report-monthly-ffb-sale.js +1 -1
- package/client/pages/report/report-monthly-production.js +1 -1
- package/client/pages/report/report-yearly-production.js +1 -1
- package/client/pages/setting/home.js +1 -1
- package/client/pages/setting/plantation-setting.js +1 -1
- package/client/viewparts/user-circle.js +2 -4
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +28 -28
package/client/bootstrap.js
CHANGED
|
@@ -2,7 +2,7 @@ import '@things-factory/notification'
|
|
|
2
2
|
import '@operato/i18n/ox-i18n.js'
|
|
3
3
|
import './viewparts/user-circle'
|
|
4
4
|
|
|
5
|
-
import { html } from 'lit
|
|
5
|
+
import { html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
|
|
8
8
|
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
@@ -3,7 +3,7 @@ import '@things-factory/import-ui'
|
|
|
3
3
|
import '@things-factory/form-ui'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client } from '@things-factory/shell'
|
|
@@ -3,7 +3,7 @@ import '@things-factory/import-ui'
|
|
|
3
3
|
import '@things-factory/form-ui'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client } from '@things-factory/shell'
|
|
@@ -3,7 +3,7 @@ import '@things-factory/import-ui'
|
|
|
3
3
|
import '@things-factory/form-ui'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client } from '@things-factory/shell'
|
|
@@ -2,7 +2,7 @@ import '@material/mwc-formfield'
|
|
|
2
2
|
import '@material/mwc-switch'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html, LitElement } from 'lit
|
|
5
|
+
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client } from '@things-factory/shell'
|
|
@@ -3,7 +3,7 @@ import '@things-factory/import-ui'
|
|
|
3
3
|
import '@things-factory/form-ui'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client } from '@things-factory/shell'
|
|
@@ -4,7 +4,7 @@ import '../../component/mill-selector-popup'
|
|
|
4
4
|
import '@things-factory/grist-ui'
|
|
5
5
|
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
|
-
import { css, html } from 'lit
|
|
7
|
+
import { css, html } from 'lit'
|
|
8
8
|
|
|
9
9
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
10
10
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html } from 'lit
|
|
4
|
+
import { css, html } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/grist-ui'
|
|
|
2
2
|
import '../../component/block-selector-popup'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
import '../../component/block-selector-popup'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html } from 'lit
|
|
6
|
+
import { css, html } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
9
9
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import { PageView, store } from '@things-factory/shell'
|
|
2
|
-
import { css, html } from 'lit
|
|
2
|
+
import { css, html } from 'lit'
|
|
3
3
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
4
4
|
|
|
5
5
|
class HarvestingHome extends connect(store)(PageView) {
|
|
6
6
|
static get styles() {
|
|
7
7
|
return [
|
|
8
8
|
css`
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
:host {
|
|
10
|
+
display: block;
|
|
11
|
+
background-color: var(--main-section-background-color);
|
|
12
|
+
padding: var(--padding-wide);
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[message] {
|
|
17
|
-
padding: 40px 20px 0 20px;
|
|
18
|
-
max-width: var(--content-container-max-width);
|
|
19
|
-
font-size: 18px;
|
|
20
|
-
color: var(--secondary-color);
|
|
21
|
-
text-align: justify;
|
|
22
|
-
}
|
|
23
|
-
[message] strong {
|
|
24
|
-
display: block;
|
|
25
|
-
font-size: 2.5rem;
|
|
26
|
-
color: var(--primary-color);
|
|
27
|
-
}
|
|
28
|
-
[message] img {
|
|
29
|
-
float: right;
|
|
30
|
-
width: 450px;
|
|
31
|
-
max-width: 90%;
|
|
32
|
-
display: block;
|
|
33
|
-
margin: auto;
|
|
34
|
-
margin-top: 20px;
|
|
35
|
-
}
|
|
36
|
-
[message] ul {
|
|
37
|
-
margin: var(--margin-default) 0;
|
|
38
|
-
padding: 0;
|
|
39
|
-
list-style: circle inside;
|
|
40
|
-
}
|
|
41
|
-
[message] a {
|
|
42
|
-
color: var(--secondary-text-color);
|
|
43
|
-
font-size: 0.9rem;
|
|
44
|
-
}
|
|
45
|
-
[message] a:hover {
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
color: var(--primary-color);
|
|
48
|
-
}
|
|
49
|
-
[button-primary] {
|
|
50
|
-
display: block;
|
|
51
|
-
background-color: var(--button-primary-background-color);
|
|
52
|
-
border: var(--button-border);
|
|
53
|
-
border-radius: var(--button-border-radius);
|
|
54
|
-
margin-top: var(--margin-wide);
|
|
55
|
-
padding: var(--button-padding);
|
|
56
|
-
color: var(--button-primary-color);
|
|
57
|
-
font: var(--button-primary-font);
|
|
58
|
-
text-transform: var(--button-text-transform);
|
|
59
|
-
text-decoration: none;
|
|
60
|
-
}
|
|
61
|
-
[button-primary]:hover {
|
|
62
|
-
background-color: var(--button-primary-active-background-color);
|
|
63
|
-
box-shadow: var(--button-active-box-shadow);
|
|
64
|
-
}
|
|
65
|
-
@media screen and (max-width: 480px) {
|
|
14
|
+
overflow: auto;
|
|
15
|
+
}
|
|
66
16
|
[message] {
|
|
67
|
-
padding
|
|
68
|
-
|
|
17
|
+
padding: 40px 20px 0 20px;
|
|
18
|
+
max-width: var(--content-container-max-width);
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
color: var(--secondary-color);
|
|
21
|
+
text-align: justify;
|
|
69
22
|
}
|
|
70
23
|
[message] strong {
|
|
71
|
-
|
|
24
|
+
display: block;
|
|
25
|
+
font-size: 2.5rem;
|
|
26
|
+
color: var(--primary-color);
|
|
72
27
|
}
|
|
73
28
|
[message] img {
|
|
74
|
-
float:
|
|
75
|
-
width:
|
|
29
|
+
float: right;
|
|
30
|
+
width: 450px;
|
|
31
|
+
max-width: 90%;
|
|
32
|
+
display: block;
|
|
33
|
+
margin: auto;
|
|
34
|
+
margin-top: 20px;
|
|
76
35
|
}
|
|
77
|
-
|
|
78
|
-
|
|
36
|
+
[message] ul {
|
|
37
|
+
margin: var(--margin-default) 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
list-style: circle inside;
|
|
40
|
+
}
|
|
41
|
+
[message] a {
|
|
42
|
+
color: var(--secondary-text-color);
|
|
43
|
+
font-size: 0.9rem;
|
|
44
|
+
}
|
|
45
|
+
[message] a:hover {
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
color: var(--primary-color);
|
|
48
|
+
}
|
|
49
|
+
[button-primary] {
|
|
50
|
+
display: block;
|
|
51
|
+
background-color: var(--button-primary-background-color);
|
|
52
|
+
border: var(--button-border);
|
|
53
|
+
border-radius: var(--button-border-radius);
|
|
54
|
+
margin-top: var(--margin-wide);
|
|
55
|
+
padding: var(--button-padding);
|
|
56
|
+
color: var(--button-primary-color);
|
|
57
|
+
font: var(--button-primary-font);
|
|
58
|
+
text-transform: var(--button-text-transform);
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
}
|
|
61
|
+
[button-primary]:hover {
|
|
62
|
+
background-color: var(--button-primary-active-background-color);
|
|
63
|
+
box-shadow: var(--button-active-box-shadow);
|
|
64
|
+
}
|
|
65
|
+
@media screen and (max-width: 480px) {
|
|
66
|
+
[message] {
|
|
67
|
+
padding-top: 10px;
|
|
68
|
+
font-size: 15px;
|
|
69
|
+
}
|
|
70
|
+
[message] strong {
|
|
71
|
+
font-size: 1.6rem;
|
|
72
|
+
}
|
|
73
|
+
[message] img {
|
|
74
|
+
float: none;
|
|
75
|
+
width: 90%;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
`
|
|
79
79
|
]
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -92,7 +92,7 @@ class HarvestingHome extends connect(store)(PageView) {
|
|
|
92
92
|
render() {
|
|
93
93
|
return html`
|
|
94
94
|
<div message>
|
|
95
|
-
|
|
95
|
+
<img src="/assets/images/image-bizplace.png" />
|
|
96
96
|
<strong>Harvesting Record Management</strong>
|
|
97
97
|
OPERATO allows plantation user to record the daily harvested plantation.
|
|
98
98
|
<ul>
|
|
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
import './inventory-history-by-bunches'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html } from 'lit
|
|
6
|
+
import { css, html } from 'lit'
|
|
7
7
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
8
8
|
|
|
9
9
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -4,7 +4,7 @@ import { client } from '@things-factory/shell'
|
|
|
4
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
5
5
|
import { isMobileDevice } from '@things-factory/utils'
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
|
-
import { css, html, LitElement } from 'lit
|
|
7
|
+
import { css, html, LitElement } from 'lit'
|
|
8
8
|
|
|
9
9
|
class InventoryHistoryByBunches extends localize(i18next)(LitElement) {
|
|
10
10
|
static get styles() {
|
|
@@ -4,7 +4,7 @@ import { client } from '@things-factory/shell'
|
|
|
4
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
5
5
|
import { isMobileDevice } from '@things-factory/utils'
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
|
-
import { css, html, LitElement } from 'lit
|
|
7
|
+
import { css, html, LitElement } from 'lit'
|
|
8
8
|
|
|
9
9
|
class InventoryHistoryByTonnage extends localize(i18next)(LitElement) {
|
|
10
10
|
static get styles() {
|
|
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
import './inventory-history-by-tonnage'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html } from 'lit
|
|
6
|
+
import { css, html } from 'lit'
|
|
7
7
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
8
8
|
|
|
9
9
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html } from 'lit
|
|
4
|
+
import { css, html } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/grist-ui'
|
|
|
2
2
|
import '../../component/block-selector-popup'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import { PageView, store } from '@things-factory/shell'
|
|
2
|
-
import { css, html } from 'lit
|
|
2
|
+
import { css, html } from 'lit'
|
|
3
3
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
4
4
|
|
|
5
5
|
class LoadingHome extends connect(store)(PageView) {
|
|
6
6
|
static get styles() {
|
|
7
7
|
return [
|
|
8
8
|
css`
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
:host {
|
|
10
|
+
display: block;
|
|
11
|
+
background-color: var(--main-section-background-color);
|
|
12
|
+
padding: var(--padding-wide);
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[message] {
|
|
17
|
-
padding: 40px 20px 0 20px;
|
|
18
|
-
max-width: var(--content-container-max-width);
|
|
19
|
-
font-size: 18px;
|
|
20
|
-
color: var(--secondary-color);
|
|
21
|
-
text-align: justify;
|
|
22
|
-
}
|
|
23
|
-
[message] strong {
|
|
24
|
-
display: block;
|
|
25
|
-
font-size: 2.5rem;
|
|
26
|
-
color: var(--primary-color);
|
|
27
|
-
}
|
|
28
|
-
[message] img {
|
|
29
|
-
float: right;
|
|
30
|
-
width: 450px;
|
|
31
|
-
max-width: 90%;
|
|
32
|
-
display: block;
|
|
33
|
-
margin: auto;
|
|
34
|
-
margin-top: 20px;
|
|
35
|
-
}
|
|
36
|
-
[message] ul {
|
|
37
|
-
margin: var(--margin-default) 0;
|
|
38
|
-
padding: 0;
|
|
39
|
-
list-style: circle inside;
|
|
40
|
-
}
|
|
41
|
-
[message] a {
|
|
42
|
-
color: var(--secondary-text-color);
|
|
43
|
-
font-size: 0.9rem;
|
|
44
|
-
}
|
|
45
|
-
[message] a:hover {
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
color: var(--primary-color);
|
|
48
|
-
}
|
|
49
|
-
[button-primary] {
|
|
50
|
-
display: block;
|
|
51
|
-
background-color: var(--button-primary-background-color);
|
|
52
|
-
border: var(--button-border);
|
|
53
|
-
border-radius: var(--button-border-radius);
|
|
54
|
-
margin-top: var(--margin-wide);
|
|
55
|
-
padding: var(--button-padding);
|
|
56
|
-
color: var(--button-primary-color);
|
|
57
|
-
font: var(--button-primary-font);
|
|
58
|
-
text-transform: var(--button-text-transform);
|
|
59
|
-
text-decoration: none;
|
|
60
|
-
}
|
|
61
|
-
[button-primary]:hover {
|
|
62
|
-
background-color: var(--button-primary-active-background-color);
|
|
63
|
-
box-shadow: var(--button-active-box-shadow);
|
|
64
|
-
}
|
|
65
|
-
@media screen and (max-width: 480px) {
|
|
14
|
+
overflow: auto;
|
|
15
|
+
}
|
|
66
16
|
[message] {
|
|
67
|
-
padding
|
|
68
|
-
|
|
17
|
+
padding: 40px 20px 0 20px;
|
|
18
|
+
max-width: var(--content-container-max-width);
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
color: var(--secondary-color);
|
|
21
|
+
text-align: justify;
|
|
69
22
|
}
|
|
70
23
|
[message] strong {
|
|
71
|
-
|
|
24
|
+
display: block;
|
|
25
|
+
font-size: 2.5rem;
|
|
26
|
+
color: var(--primary-color);
|
|
72
27
|
}
|
|
73
28
|
[message] img {
|
|
74
|
-
float:
|
|
75
|
-
width:
|
|
29
|
+
float: right;
|
|
30
|
+
width: 450px;
|
|
31
|
+
max-width: 90%;
|
|
32
|
+
display: block;
|
|
33
|
+
margin: auto;
|
|
34
|
+
margin-top: 20px;
|
|
76
35
|
}
|
|
77
|
-
|
|
78
|
-
|
|
36
|
+
[message] ul {
|
|
37
|
+
margin: var(--margin-default) 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
list-style: circle inside;
|
|
40
|
+
}
|
|
41
|
+
[message] a {
|
|
42
|
+
color: var(--secondary-text-color);
|
|
43
|
+
font-size: 0.9rem;
|
|
44
|
+
}
|
|
45
|
+
[message] a:hover {
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
color: var(--primary-color);
|
|
48
|
+
}
|
|
49
|
+
[button-primary] {
|
|
50
|
+
display: block;
|
|
51
|
+
background-color: var(--button-primary-background-color);
|
|
52
|
+
border: var(--button-border);
|
|
53
|
+
border-radius: var(--button-border-radius);
|
|
54
|
+
margin-top: var(--margin-wide);
|
|
55
|
+
padding: var(--button-padding);
|
|
56
|
+
color: var(--button-primary-color);
|
|
57
|
+
font: var(--button-primary-font);
|
|
58
|
+
text-transform: var(--button-text-transform);
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
}
|
|
61
|
+
[button-primary]:hover {
|
|
62
|
+
background-color: var(--button-primary-active-background-color);
|
|
63
|
+
box-shadow: var(--button-active-box-shadow);
|
|
64
|
+
}
|
|
65
|
+
@media screen and (max-width: 480px) {
|
|
66
|
+
[message] {
|
|
67
|
+
padding-top: 10px;
|
|
68
|
+
font-size: 15px;
|
|
69
|
+
}
|
|
70
|
+
[message] strong {
|
|
71
|
+
font-size: 1.6rem;
|
|
72
|
+
}
|
|
73
|
+
[message] img {
|
|
74
|
+
float: none;
|
|
75
|
+
width: 90%;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
`
|
|
79
79
|
]
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -92,7 +92,7 @@ class LoadingHome extends connect(store)(PageView) {
|
|
|
92
92
|
render() {
|
|
93
93
|
return html`
|
|
94
94
|
<div message>
|
|
95
|
-
|
|
95
|
+
<img src="/assets/images/image-bizplace.png" />
|
|
96
96
|
<strong>Loading Record Management</strong>
|
|
97
97
|
OPERATO allows plantation user to record the daily loaded bunches to ramp/trucks.
|
|
98
98
|
<ul>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html } from 'lit
|
|
4
|
+
import { css, html } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
@@ -6,7 +6,7 @@ import { client, CustomAlert, PageView } from '@things-factory/shell'
|
|
|
6
6
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
7
7
|
import { isMobileDevice } from '@things-factory/utils'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
|
-
import { css, html } from 'lit
|
|
9
|
+
import { css, html } from 'lit'
|
|
10
10
|
import './pop-up/block-detail-popup'
|
|
11
11
|
|
|
12
12
|
class MasterBlock extends localize(i18next)(PageView) {
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -4,7 +4,7 @@ import { client, CustomAlert } from '@things-factory/shell'
|
|
|
4
4
|
import { isMobileDevice } from '@things-factory/utils'
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
6
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
7
|
-
import { css, html, LitElement } from 'lit
|
|
7
|
+
import { css, html, LitElement } from 'lit'
|
|
8
8
|
|
|
9
9
|
export class BlockDetailPopup extends localize(i18next)(LitElement) {
|
|
10
10
|
static get styles() {
|
|
@@ -5,7 +5,7 @@ import { client, PageView, CustomAlert } from '@things-factory/shell'
|
|
|
5
5
|
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
6
6
|
import { isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
8
|
-
import { css, html } from 'lit
|
|
8
|
+
import { css, html } from 'lit'
|
|
9
9
|
|
|
10
10
|
class MasterRamp extends localize(i18next)(PageView) {
|
|
11
11
|
static get styles() {
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client, CustomAlert, PageView } from '@things-factory/shell'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|