@things-factory/reference-app 7.0.1-alpha.85 → 7.0.1-alpha.87
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/pages/data-entry/data-entry-generator-popup.js +1 -1
- package/client/pages/grist-colorizing.js +4 -3
- package/client/pages/grist-mode-page.js +1 -1
- package/client/pages/grist-page.js +2 -2
- package/client/pages/menu-page.js +1 -1
- package/client/pages/report-page.js +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -15
package/client/bootstrap.js
CHANGED
|
@@ -73,7 +73,7 @@ export default async function bootstrap() {
|
|
|
73
73
|
await setupMenuPart({
|
|
74
74
|
hovering: isMobileDevice(),
|
|
75
75
|
position: VIEWPART_POSITION.NAVBAR,
|
|
76
|
-
portraitSlotTemplate: html` <domain-switch slot="tail"></domain-switch> `
|
|
76
|
+
portraitSlotTemplate: html` <domain-switch attrname="description" slot="tail"></domain-switch> `
|
|
77
77
|
})
|
|
78
78
|
updateMenuTemplate(getMenuTemplate())
|
|
79
79
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SingleColumnFormStyles } from '@things-factory/form-ui'
|
|
2
|
-
import { i18next, localize } from '@
|
|
2
|
+
import { i18next, localize } from '@operato/i18n'
|
|
3
3
|
import { client } from '@operato/graphql'
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html, LitElement } from 'lit'
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { css, html } from 'lit'
|
|
2
|
-
import { getEditor, getRenderer } from '@operato/data-grist'
|
|
3
|
-
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
2
|
|
|
5
3
|
import { PageView } from '@operato/shell'
|
|
6
|
-
import {
|
|
4
|
+
import { i18next, localize } from '@operato/i18n'
|
|
5
|
+
import { getEditor, getRenderer } from '@operato/data-grist'
|
|
6
|
+
import { isMobileDevice } from '@operato/utils'
|
|
7
|
+
|
|
7
8
|
import { ReferencePageStyles } from './reference-page-styles'
|
|
8
9
|
|
|
9
10
|
class GristColorizing extends localize(i18next)(PageView) {
|
|
@@ -4,7 +4,7 @@ import '@operato/data-grist'
|
|
|
4
4
|
|
|
5
5
|
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
|
-
import { i18next, localize } from '@
|
|
7
|
+
import { i18next, localize } from '@operato/i18n'
|
|
8
8
|
import { PageView } from '@operato/shell'
|
|
9
9
|
|
|
10
10
|
class GristModePage extends localize(i18next)(PageView) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { css, html } from 'lit'
|
|
2
2
|
import { getEditor, getRenderer } from '@operato/data-grist'
|
|
3
|
-
import { i18next, localize } from '@
|
|
3
|
+
import { i18next, localize } from '@operato/i18n'
|
|
4
4
|
|
|
5
5
|
import { PageView } from '@operato/shell'
|
|
6
|
-
import { isMobileDevice } from '@
|
|
6
|
+
import { isMobileDevice } from '@operato/utils'
|
|
7
7
|
|
|
8
8
|
class GristPage extends localize(i18next)(PageView) {
|
|
9
9
|
static get styles() {
|
|
@@ -83,7 +83,7 @@ class MenuPage extends connect(store)(PageView) {
|
|
|
83
83
|
setupMenuPart({
|
|
84
84
|
hovering: hovering.checked,
|
|
85
85
|
position: landscape.checked ? VIEWPART_POSITION.HEADERBAR : VIEWPART_POSITION.NAVBAR,
|
|
86
|
-
portraitSlotTemplate: html` <domain-switch slot="tail"></domain-switch> `
|
|
86
|
+
portraitSlotTemplate: html` <domain-switch attrname="description" slot="tail"></domain-switch> `
|
|
87
87
|
})
|
|
88
88
|
}
|
|
89
89
|
}
|