@things-factory/operato-pms 9.1.19 → 10.0.0-beta.2

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 (57) hide show
  1. package/Dockerfile +1 -1
  2. package/_index.html +1 -2
  3. package/client/pages/dispatchment/{home.js → home.ts} +1 -3
  4. package/client/pages/harvesting/{home.js → home.ts} +1 -3
  5. package/client/pages/inventory/{home.js → home.ts} +1 -3
  6. package/client/pages/inventory/{inventory-field-bunches.js → inventory-field-bunches.ts} +1 -3
  7. package/client/pages/inventory/{inventory-ramp-tonnage.js → inventory-ramp-tonnage.ts} +1 -3
  8. package/client/pages/loading/{home.js → home.ts} +1 -3
  9. package/client/pages/master/{home.js → home.ts} +1 -3
  10. package/client/pages/report/{home.js → home.ts} +1 -3
  11. package/client/pages/report/{report-daily-ffb-dispatch-and-production.js → report-daily-ffb-dispatch-and-production.ts} +1 -3
  12. package/client/pages/report/{report-daily-production.js → report-daily-production.ts} +1 -3
  13. package/client/pages/report/{report-daily-staff-harvest.js → report-daily-staff-harvest.ts} +1 -3
  14. package/client/pages/report/{report-ffb-tonnage-between-individual-block.js → report-ffb-tonnage-between-individual-block.ts} +1 -3
  15. package/client/pages/report/{report-monthly-ffb-sale.js → report-monthly-ffb-sale.ts} +1 -3
  16. package/client/pages/report/{report-monthly-production.js → report-monthly-production.ts} +1 -3
  17. package/client/pages/report/{report-yearly-production.js → report-yearly-production.ts} +1 -3
  18. package/client/pages/setting/{home.js → home.ts} +1 -3
  19. package/client/pages/setting/{plantation-setting.js → plantation-setting.ts} +1 -3
  20. package/dist-server/tsconfig.tsbuildinfo +1 -1
  21. package/package.json +57 -57
  22. package/views/auth-page.html +1 -1
  23. package/views/public/home.html +1 -1
  24. /package/client/{bootstrap.js → bootstrap.ts} +0 -0
  25. /package/client/component/{block-selector-popup.js → block-selector-popup.ts} +0 -0
  26. /package/client/component/{driver-selector-popup.js → driver-selector-popup.ts} +0 -0
  27. /package/client/component/{mill-selector-popup.js → mill-selector-popup.ts} +0 -0
  28. /package/client/component/{tracked-plantation-setting.js → tracked-plantation-setting.ts} +0 -0
  29. /package/client/component/{truck-selector-popup.js → truck-selector-popup.ts} +0 -0
  30. /package/client/icons/{menu-icons.js → menu-icons.ts} +0 -0
  31. /package/client/{index.js → index.ts} +0 -0
  32. /package/client/{menu.js → menu.ts} +0 -0
  33. /package/client/pages/constants/{index.js → index.ts} +0 -0
  34. /package/client/pages/constants/{inventory.js → inventory.ts} +0 -0
  35. /package/client/pages/constants/{organization.js → organization.ts} +0 -0
  36. /package/client/pages/constants/{record.js → record.ts} +0 -0
  37. /package/client/pages/dispatchment/{daily-dispatch-detail.js → daily-dispatch-detail.ts} +0 -0
  38. /package/client/pages/dispatchment/{dispatchment-create-record.js → dispatchment-create-record.ts} +0 -0
  39. /package/client/pages/dispatchment/{dispatchment-list.js → dispatchment-list.ts} +0 -0
  40. /package/client/pages/harvesting/{daily-harvesting-detail.js → daily-harvesting-detail.ts} +0 -0
  41. /package/client/pages/harvesting/{edit-harvesting-record.js → edit-harvesting-record.ts} +0 -0
  42. /package/client/pages/harvesting/{harvesting-create-record.js → harvesting-create-record.ts} +0 -0
  43. /package/client/pages/harvesting/{harvesting-list.js → harvesting-list.ts} +0 -0
  44. /package/client/pages/inventory/{inventory-history-by-bunches.js → inventory-history-by-bunches.ts} +0 -0
  45. /package/client/pages/inventory/{inventory-history-by-tonnage.js → inventory-history-by-tonnage.ts} +0 -0
  46. /package/client/pages/loading/{daily-loading-detail.js → daily-loading-detail.ts} +0 -0
  47. /package/client/pages/loading/{edit-loading-record.js → edit-loading-record.ts} +0 -0
  48. /package/client/pages/loading/{loading-create-record.js → loading-create-record.ts} +0 -0
  49. /package/client/pages/loading/{loading-list.js → loading-list.ts} +0 -0
  50. /package/client/pages/master/{block.js → block.ts} +0 -0
  51. /package/client/pages/master/{company.js → company.ts} +0 -0
  52. /package/client/pages/master/pop-up/{block-detail-popup.js → block-detail-popup.ts} +0 -0
  53. /package/client/pages/master/{ramp.js → ramp.ts} +0 -0
  54. /package/client/pages/master/{staff.js → staff.ts} +0 -0
  55. /package/client/pages/master/{truck.js → truck.ts} +0 -0
  56. /package/client/{route.js → route.ts} +0 -0
  57. /package/client/viewparts/{user-circle.js → user-circle.ts} +0 -0
package/Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
1
  # Use an official ubuntu image
2
- FROM hatiolab/operato-env:latest
2
+ FROM hatiolab/operato-env:22.22
3
3
 
4
4
  # Set the working directory to /app
5
5
  WORKDIR /app
package/_index.html CHANGED
@@ -62,8 +62,7 @@
62
62
  <noscript> Please enable JavaScript to view this website. </noscript>
63
63
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
64
64
  <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
65
- <script src="/node_modules/web-animations-js/web-animations-next.min.js"></script>
66
- <script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
65
+
67
66
  <!-- Built with love using PWA Starter Kit -->
68
67
  </body>
69
68
  </html>
@@ -1,8 +1,6 @@
1
1
  import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
- import { connect } from 'pwa-helpers/connect-mixin.js'
4
-
5
- class DispatchmentHome extends connect(store)(PageView) {
3
+ class DispatchmentHome extends PageView {
6
4
  static get styles() {
7
5
  return [
8
6
  css`
@@ -1,8 +1,6 @@
1
1
  import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
- import { connect } from 'pwa-helpers/connect-mixin.js'
4
-
5
- class HarvestingHome extends connect(store)(PageView) {
3
+ class HarvestingHome extends PageView {
6
4
  static get styles() {
7
5
  return [
8
6
  css`
@@ -1,8 +1,6 @@
1
1
  import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
- import { connect } from 'pwa-helpers/connect-mixin.js'
4
-
5
- class InventoryHome extends connect(store)(PageView) {
3
+ class InventoryHome extends PageView {
6
4
  static get styles() {
7
5
  return [
8
6
  css`
@@ -4,15 +4,13 @@ import './inventory-history-by-bunches'
4
4
 
5
5
  import gql from 'graphql-tag'
6
6
  import { css, html } from 'lit'
7
- import { connect } from 'pwa-helpers/connect-mixin'
8
-
9
7
  import { i18next, localize } from '@operato/i18n'
10
8
  import { openPopup } from '@operato/layout'
11
9
  import { client, PageView, store } from '@things-factory/shell'
12
10
  import { ScrollbarStyles } from '@operato/styles'
13
11
  import { isMobileDevice } from '@operato/utils'
14
12
 
15
- class InventoryFieldBunches extends connect(store)(localize(i18next)(PageView)) {
13
+ class InventoryFieldBunches extends localize(i18next)(PageView) {
16
14
  static get styles() {
17
15
  return [
18
16
  ScrollbarStyles,
@@ -4,15 +4,13 @@ import './inventory-history-by-tonnage'
4
4
 
5
5
  import gql from 'graphql-tag'
6
6
  import { css, html } from 'lit'
7
- import { connect } from 'pwa-helpers/connect-mixin'
8
-
9
7
  import { i18next, localize } from '@operato/i18n'
10
8
  import { openPopup } from '@operato/layout'
11
9
  import { client, PageView, store } from '@things-factory/shell'
12
10
  import { ScrollbarStyles } from '@operato/styles'
13
11
  import { isMobileDevice } from '@operato/utils'
14
12
 
15
- class InventoryRampTonnage extends connect(store)(localize(i18next)(PageView)) {
13
+ class InventoryRampTonnage extends localize(i18next)(PageView) {
16
14
  static get styles() {
17
15
  return [
18
16
  ScrollbarStyles,
@@ -1,8 +1,6 @@
1
1
  import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
- import { connect } from 'pwa-helpers/connect-mixin.js'
4
-
5
- class LoadingHome extends connect(store)(PageView) {
3
+ class LoadingHome extends PageView {
6
4
  static get styles() {
7
5
  return [
8
6
  css`
@@ -1,9 +1,7 @@
1
1
  import { css, html } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
-
4
2
  import { PageView, store } from '@operato/shell'
5
3
 
6
- class MasterHome extends connect(store)(PageView) {
4
+ class MasterHome extends PageView {
7
5
  static get styles() {
8
6
  return [
9
7
  css`
@@ -1,9 +1,7 @@
1
1
  import { css, html } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
-
4
2
  import { PageView, store } from '@operato/shell'
5
3
 
6
- class ReportHome extends connect(store)(PageView) {
4
+ class ReportHome extends PageView {
7
5
  static get styles() {
8
6
  return [
9
7
  css`
@@ -3,14 +3,12 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { ScrollbarStyles } from '@operato/styles'
11
9
  import { isMobileDevice } from '@operato/utils'
12
10
 
13
- class ReportDailyFfbDispatchAndProduction extends connect(store)(localize(i18next)(PageView)) {
11
+ class ReportDailyFfbDispatchAndProduction extends localize(i18next)(PageView) {
14
12
  static get styles() {
15
13
  return [
16
14
  ScrollbarStyles,
@@ -3,14 +3,12 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { ScrollbarStyles } from '@operato/styles'
11
9
  import { isMobileDevice } from '@operato/utils'
12
10
 
13
- class ReportDailyProduction extends connect(store)(localize(i18next)(PageView)) {
11
+ class ReportDailyProduction extends localize(i18next)(PageView) {
14
12
  static get styles() {
15
13
  return [
16
14
  ScrollbarStyles,
@@ -3,13 +3,11 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { isMobileDevice } from '@operato/utils'
11
9
 
12
- class ReportDailyStaffHarvest extends connect(store)(localize(i18next)(PageView)) {
10
+ class ReportDailyStaffHarvest extends localize(i18next)(PageView) {
13
11
  static get styles() {
14
12
  return css`
15
13
  :host {
@@ -3,14 +3,12 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { ScrollbarStyles } from '@operato/styles'
11
9
  import { isMobileDevice } from '@operato/utils'
12
10
 
13
- class ReportFfbTonnageBetweenIndividualBlock extends connect(store)(localize(i18next)(PageView)) {
11
+ class ReportFfbTonnageBetweenIndividualBlock extends localize(i18next)(PageView) {
14
12
  static get styles() {
15
13
  return [
16
14
  ScrollbarStyles,
@@ -3,13 +3,11 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { isMobileDevice } from '@operato/utils'
11
9
 
12
- class ReportMonthlyFfbSale extends connect(store)(localize(i18next)(PageView)) {
10
+ class ReportMonthlyFfbSale extends localize(i18next)(PageView) {
13
11
  static get styles() {
14
12
  return css`
15
13
  :host {
@@ -3,13 +3,11 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { isMobileDevice } from '@operato/utils'
11
9
 
12
- class ReportMonthlyProduction extends connect(store)(localize(i18next)(PageView)) {
10
+ class ReportMonthlyProduction extends localize(i18next)(PageView) {
13
11
  static get styles() {
14
12
  return css`
15
13
  :host {
@@ -3,13 +3,11 @@ import '@operato/data-grist'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
6
  import { i18next, localize } from '@operato/i18n'
9
7
  import { client, PageView, store } from '@things-factory/shell'
10
8
  import { isMobileDevice } from '@operato/utils'
11
9
 
12
- class ReportYearlyProduction extends connect(store)(localize(i18next)(PageView)) {
10
+ class ReportYearlyProduction extends localize(i18next)(PageView) {
13
11
  static get styles() {
14
12
  return css`
15
13
  :host {
@@ -1,9 +1,7 @@
1
1
  import { css, html } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
-
4
2
  import { PageView, store } from '@operato/shell'
5
3
 
6
- class SettingHome extends connect(store)(PageView) {
4
+ class SettingHome extends PageView {
7
5
  static get styles() {
8
6
  return [
9
7
  css`
@@ -2,12 +2,10 @@ import '../../component/tracked-plantation-setting'
2
2
 
3
3
  import gql from 'graphql-tag'
4
4
  import { css, html } from 'lit'
5
- import { connect } from 'pwa-helpers/connect-mixin.js'
6
-
7
5
  import { i18next } from '@operato/i18n'
8
6
  import { client, PageView, store } from '@things-factory/shell'
9
7
 
10
- class PlantationSetting extends connect(store)(PageView) {
8
+ class PlantationSetting extends PageView {
11
9
  static get styles() {
12
10
  return [
13
11
  css`