@things-factory/grist-test 5.0.0-alpha.2 → 5.0.0-alpha.22
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
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { registerEditor, registerRenderer, getEditor } from '@things-factory/grist-ui'
|
|
1
|
+
import { getEditor, registerEditor, registerRenderer } from '@things-factory/grist-ui'
|
|
2
|
+
import { navigate, store } from '@things-factory/shell'
|
|
4
3
|
|
|
5
|
-
import { IdRenderer } from './renderers/id-renderer'
|
|
6
|
-
import { IdEditor } from './editors/id-editor'
|
|
7
|
-
import { BarcodeRenderer } from './renderers/barcode-renderer'
|
|
8
4
|
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
5
|
+
import { BarcodeRenderer } from './renderers/barcode-renderer'
|
|
6
|
+
import { IdEditor } from './editors/id-editor'
|
|
7
|
+
import { IdRenderer } from './renderers/id-renderer'
|
|
8
|
+
import { html } from 'lit-html'
|
|
9
9
|
|
|
10
10
|
export default function bootstrap() {
|
|
11
11
|
registerRenderer('id', IdRenderer)
|
|
@@ -17,9 +17,7 @@ export default function bootstrap() {
|
|
|
17
17
|
store.dispatch({
|
|
18
18
|
type: ADD_MORENDA,
|
|
19
19
|
morenda: {
|
|
20
|
-
icon: html`
|
|
21
|
-
<mwc-icon>list</mwc-icon>
|
|
22
|
-
`,
|
|
20
|
+
icon: html` <mwc-icon>list</mwc-icon> `,
|
|
23
21
|
name: 'grist test',
|
|
24
22
|
action: () => {
|
|
25
23
|
navigate('grist-test')
|
|
@@ -31,9 +29,7 @@ export default function bootstrap() {
|
|
|
31
29
|
store.dispatch({
|
|
32
30
|
type: ADD_MORENDA,
|
|
33
31
|
morenda: {
|
|
34
|
-
icon: html`
|
|
35
|
-
<mwc-icon>list</mwc-icon>
|
|
36
|
-
`,
|
|
32
|
+
icon: html` <mwc-icon>list</mwc-icon> `,
|
|
37
33
|
name: 'report test',
|
|
38
34
|
action: () => {
|
|
39
35
|
navigate('report-test')
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { css, html } from 'lit'
|
|
2
|
+
import { getEditor, getRenderer } from '@things-factory/grist-ui'
|
|
3
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
2
4
|
|
|
3
5
|
import { PageView } from '@things-factory/shell'
|
|
4
6
|
import { isMobileDevice } from '@things-factory/utils'
|
|
5
|
-
import { localize, i18next } from '@things-factory/i18n-base'
|
|
6
|
-
|
|
7
|
-
import { getRenderer, getEditor } from '@things-factory/grist-ui'
|
|
8
7
|
|
|
9
8
|
class GristTest extends localize(i18next)(PageView) {
|
|
10
9
|
static get styles() {
|
|
@@ -322,7 +321,7 @@ class GristTest extends localize(i18next)(PageView) {
|
|
|
322
321
|
sorters: [
|
|
323
322
|
{
|
|
324
323
|
name: 'name',
|
|
325
|
-
|
|
324
|
+
desc: true
|
|
326
325
|
},
|
|
327
326
|
{
|
|
328
327
|
name: 'email'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { css, html } from 'lit'
|
|
2
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
2
3
|
|
|
3
4
|
import { PageView } from '@things-factory/shell'
|
|
4
|
-
import { localize, i18next } from '@things-factory/i18n-base'
|
|
5
5
|
|
|
6
6
|
class ReportTest extends localize(i18next)(PageView) {
|
|
7
7
|
static get styles() {
|
|
@@ -213,7 +213,7 @@ class ReportTest extends localize(i18next)(PageView) {
|
|
|
213
213
|
sorters: [
|
|
214
214
|
{
|
|
215
215
|
name: 'company',
|
|
216
|
-
|
|
216
|
+
desc: true
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
name: 'email'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/grist-test",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.22",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/barcode-ui": "^5.0.0-alpha.
|
|
28
|
-
"@things-factory/grist-ui": "^5.0.0-alpha.
|
|
27
|
+
"@things-factory/barcode-ui": "^5.0.0-alpha.22",
|
|
28
|
+
"@things-factory/grist-ui": "^5.0.0-alpha.22"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "8e06de9c59237f1800b2ff4f1c53162a0228342a"
|
|
31
31
|
}
|