@things-factory/rack-base 7.0.1-alpha.23 → 7.0.1-alpha.26

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.
@@ -4,7 +4,7 @@ import { CommonButtonStyles, CommonGristStyles, ScrollbarStyles } from '@operato
4
4
  import { PageView, store } from '@operato/shell'
5
5
  import { css, html } from 'lit'
6
6
  import { customElement, property, query } from 'lit/decorators.js'
7
- import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js'
7
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements'
8
8
  import { ColumnConfig, DataGrist, FetchOption, SortersControl } from '@operato/data-grist'
9
9
  import { client } from '@operato/graphql'
10
10
  import { i18next, localize } from '@operato/i18n'
@@ -39,8 +39,10 @@ export class CellListPage extends connect(store)(localize(i18next)(ScopedElement
39
39
  `
40
40
  ]
41
41
 
42
- static scopedElements = {
43
- 'cell-importer': CellImporter
42
+ static get scopedElements() {
43
+ return {
44
+ 'cell-importer': CellImporter
45
+ }
44
46
  }
45
47
 
46
48
  @property({ type: Object }) gristConfig: any
@@ -4,7 +4,7 @@ import { CommonButtonStyles, CommonGristStyles, ScrollbarStyles } from '@operato
4
4
  import { PageView, store } from '@operato/shell'
5
5
  import { css, html } from 'lit'
6
6
  import { customElement, property, query } from 'lit/decorators.js'
7
- import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js'
7
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements'
8
8
  import { ColumnConfig, DataGrist, FetchOption, SortersControl } from '@operato/data-grist'
9
9
  import { client } from '@operato/graphql'
10
10
  import { i18next, localize } from '@operato/i18n'
@@ -39,8 +39,10 @@ export class RackListPage extends connect(store)(localize(i18next)(ScopedElement
39
39
  `
40
40
  ]
41
41
 
42
- static scopedElements = {
43
- 'rack-importer': RackImporter
42
+ static get scopedElements() {
43
+ return {
44
+ 'rack-importer': RackImporter
45
+ }
44
46
  }
45
47
 
46
48
  @property({ type: Object }) gristConfig: any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/rack-base",
3
- "version": "7.0.1-alpha.23",
3
+ "version": "7.0.1-alpha.26",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -27,11 +27,11 @@
27
27
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
28
28
  },
29
29
  "dependencies": {
30
- "@things-factory/auth-base": "^7.0.1-alpha.23",
31
- "@things-factory/shell": "^7.0.1-alpha.23"
30
+ "@things-factory/auth-base": "^7.0.1-alpha.26",
31
+ "@things-factory/shell": "^7.0.1-alpha.26"
32
32
  },
33
33
  "devDependencies": {
34
- "@things-factory/builder": "^7.0.1-alpha.23"
34
+ "@things-factory/builder": "^7.0.1-alpha.26"
35
35
  },
36
- "gitHead": "032527e23441a5aeea5a06f7b21a4916139ac57f"
36
+ "gitHead": "664e741d90e09b8b0e26763eb1eb03fd3f75b6d7"
37
37
  }