@things-factory/grist-test 4.1.22 → 5.0.0-alpha.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit
|
|
1
|
+
import { LitElement, html, css } from 'lit'
|
|
2
2
|
|
|
3
3
|
import '@material/mwc-icon'
|
|
4
4
|
|
|
@@ -57,11 +57,7 @@ export class IdEditor extends LitElement {
|
|
|
57
57
|
var value = this.value
|
|
58
58
|
|
|
59
59
|
return html`
|
|
60
|
-
${!value
|
|
61
|
-
? html``
|
|
62
|
-
: html`
|
|
63
|
-
<span>${value[nameField]} (${value[descriptionField]})</span>
|
|
64
|
-
`}
|
|
60
|
+
${!value ? html`` : html` <span>${value[nameField]} (${value[descriptionField]})</span> `}
|
|
65
61
|
<mwc-icon>arrow_drop_down</mwc-icon>
|
|
66
62
|
`
|
|
67
63
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i18next } from '@things-factory/i18n-base'
|
|
2
2
|
import { isMobileDevice } from '@things-factory/utils'
|
|
3
|
-
import { css, html, LitElement } from 'lit
|
|
3
|
+
import { css, html, LitElement } from 'lit'
|
|
4
4
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
5
5
|
import '@things-factory/grist-ui'
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { html, css } from 'lit
|
|
1
|
+
import { html, css } from 'lit'
|
|
2
2
|
|
|
3
3
|
import { PageView } from '@things-factory/shell'
|
|
4
4
|
import { localize, i18next } from '@things-factory/i18n-base'
|
|
@@ -41,9 +41,7 @@ class ReportTest extends localize(i18next)(PageView) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
render() {
|
|
44
|
-
return html`
|
|
45
|
-
<data-report .config=${this.config} .fetchHandler=${this.fetchHandler}></data-report>
|
|
46
|
-
`
|
|
44
|
+
return html` <data-report .config=${this.config} .fetchHandler=${this.fetchHandler}></data-report> `
|
|
47
45
|
}
|
|
48
46
|
|
|
49
47
|
async fetchHandler({ page, /*limit,*/ sorters = [] }) {
|
|
@@ -115,7 +113,7 @@ class ReportTest extends localize(i18next)(PageView) {
|
|
|
115
113
|
editable: true,
|
|
116
114
|
options: {
|
|
117
115
|
// href: 'http://hatiolab.com',
|
|
118
|
-
href: function(column, record, rowIndex) {
|
|
116
|
+
href: function (column, record, rowIndex) {
|
|
119
117
|
return record['homepage']
|
|
120
118
|
}
|
|
121
119
|
// target: '_blank'
|
package/dist-server/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist-server/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/grist-test",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.1",
|
|
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": "^
|
|
28
|
-
"@things-factory/grist-ui": "^
|
|
27
|
+
"@things-factory/barcode-ui": "^5.0.0-alpha.1",
|
|
28
|
+
"@things-factory/grist-ui": "^5.0.0-alpha.1"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "2b3e3818a5d7ab7fdfff9214cc65f56885b27ad0"
|
|
31
31
|
}
|