@things-factory/menu-ui 6.0.133 → 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.
|
@@ -4,7 +4,7 @@ import gql from 'graphql-tag'
|
|
|
4
4
|
import { css, html, LitElement } from 'lit'
|
|
5
5
|
import { isMobileDevice } from '@things-factory/utils'
|
|
6
6
|
import '@material/mwc-button'
|
|
7
|
-
import '@
|
|
7
|
+
import '@operato/data-grist'
|
|
8
8
|
|
|
9
9
|
class RoleSelectPopup extends localize(i18next)(LitElement) {
|
|
10
10
|
static get styles() {
|
|
@@ -28,7 +28,7 @@ class RoleSelectPopup extends localize(i18next)(LitElement) {
|
|
|
28
28
|
flex: 1;
|
|
29
29
|
overflow-y: auto;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
ox-grist {
|
|
32
32
|
overflow-y: hidden;
|
|
33
33
|
flex: 1;
|
|
34
34
|
}
|
|
@@ -56,11 +56,11 @@ class RoleSelectPopup extends localize(i18next)(LitElement) {
|
|
|
56
56
|
|
|
57
57
|
<div class="container">
|
|
58
58
|
<div class="grist">
|
|
59
|
-
<
|
|
59
|
+
<ox-grist
|
|
60
60
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
61
61
|
.config=${this.config}
|
|
62
62
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
63
|
-
></
|
|
63
|
+
></ox-grist>
|
|
64
64
|
</div>
|
|
65
65
|
</div>
|
|
66
66
|
|
|
@@ -75,7 +75,7 @@ class RoleSelectPopup extends localize(i18next)(LitElement) {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
get dataGrist() {
|
|
78
|
-
return this.shadowRoot.querySelector('
|
|
78
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
firstUpdated() {
|
|
@@ -1,10 +1,10 @@
|
|
|
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, LitElement } from 'lit'
|
|
6
6
|
|
|
7
|
-
import { getEditor, getRenderer } from '@
|
|
7
|
+
import { getEditor, getRenderer } from '@operato/data-grist'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
9
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
@@ -30,7 +30,7 @@ class MenuManagementDetail extends localize(i18next)(LitElement) {
|
|
|
30
30
|
flex: 1;
|
|
31
31
|
overflow-y: auto;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
ox-grist {
|
|
34
34
|
overflow-y: hidden;
|
|
35
35
|
flex: 1;
|
|
36
36
|
}
|
|
@@ -69,11 +69,11 @@ class MenuManagementDetail extends localize(i18next)(LitElement) {
|
|
|
69
69
|
<search-form .fields=${this.searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
70
70
|
|
|
71
71
|
<div class="grist">
|
|
72
|
-
<
|
|
72
|
+
<ox-grist
|
|
73
73
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
74
74
|
.config=${this.config}
|
|
75
75
|
.fetchHandler=${this.fetchHandler.bind(this)}
|
|
76
|
-
></
|
|
76
|
+
></ox-grist>
|
|
77
77
|
</div>
|
|
78
78
|
|
|
79
79
|
<div class="button-container">
|
|
@@ -88,7 +88,7 @@ class MenuManagementDetail extends localize(i18next)(LitElement) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
get dataGrist() {
|
|
91
|
-
return this.shadowRoot.querySelector('
|
|
91
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
firstUpdated() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
|
-
import '@
|
|
2
|
+
import '@operato/data-grist'
|
|
3
3
|
import './menu-management-detail'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
@@ -34,7 +34,7 @@ class MenuManagement extends localize(i18next)(PageView) {
|
|
|
34
34
|
overflow: visible;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
ox-grist {
|
|
38
38
|
overflow-y: auto;
|
|
39
39
|
flex: 1;
|
|
40
40
|
}
|
|
@@ -46,11 +46,11 @@ class MenuManagement extends localize(i18next)(PageView) {
|
|
|
46
46
|
return html`
|
|
47
47
|
<search-form .fields=${this.searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
48
48
|
|
|
49
|
-
<
|
|
49
|
+
<ox-grist
|
|
50
50
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
51
51
|
.config=${this.config}
|
|
52
52
|
.fetchHandler="${this.fetchHandler.bind(this)}"
|
|
53
|
-
></
|
|
53
|
+
></ox-grist>
|
|
54
54
|
`
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -77,7 +77,7 @@ class MenuManagement extends localize(i18next)(PageView) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
get dataGrist() {
|
|
80
|
-
return this.shadowRoot.querySelector('
|
|
80
|
+
return this.shadowRoot.querySelector('ox-grist')
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
pageUpdated(_changes, _lifecycle) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/menu-ui",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
+
"@operato/data-grist": "^1.3.5",
|
|
27
28
|
"@operato/i18n": "^1.0.0",
|
|
28
29
|
"@operato/layout": "^1.0.1",
|
|
29
|
-
"@things-factory/apptool-base": "^6.0
|
|
30
|
-
"@things-factory/component-ui": "^6.0
|
|
31
|
-
"@things-factory/fav-base": "^6.0
|
|
32
|
-
"@things-factory/form-ui": "^6.0
|
|
33
|
-
"@things-factory/
|
|
34
|
-
"@things-factory/
|
|
35
|
-
"@things-factory/menu-base": "^6.0.133"
|
|
30
|
+
"@things-factory/apptool-base": "^6.1.0",
|
|
31
|
+
"@things-factory/component-ui": "^6.1.0",
|
|
32
|
+
"@things-factory/fav-base": "^6.1.0",
|
|
33
|
+
"@things-factory/form-ui": "^6.1.0",
|
|
34
|
+
"@things-factory/i18n-base": "^6.1.0",
|
|
35
|
+
"@things-factory/menu-base": "^6.1.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "205ac14ff55275d948a8cc6d7c514b90d6baf6ef"
|
|
38
38
|
}
|