@things-factory/reference-app 7.0.1-alpha.103 → 7.0.1-alpha.105
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/_index.html +2 -1
- package/client/editors/id-selector.js +7 -2
- package/client/pages/data-entry/data-entry-mockup-form.js +1 -1
- package/client/pages/data-set/data-item-list.js +1 -1
- package/client/pages/data-set/data-set-importer.js +6 -2
- package/client/pages/product-combinations-popup.js +1 -1
- package/client/pages/product-details-popup.js +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +34 -34
- package/views/auth-page.html +2 -1
- package/views/public/home.html +2 -1
- package/client/themes/grist-theme.css +0 -217
- package/client/themes/layout-theme.css +0 -92
package/_index.html
CHANGED
|
@@ -29,7 +29,7 @@ export class IdSelector extends LitElement {
|
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: var(--md-sys-color-surface);
|
|
33
33
|
|
|
34
34
|
width: var(--overlay-center-normal-width, 50%);
|
|
35
35
|
height: var(--overlay-center-normal-height, 50%);
|
|
@@ -60,7 +60,12 @@ export class IdSelector extends LitElement {
|
|
|
60
60
|
|
|
61
61
|
render() {
|
|
62
62
|
return html`
|
|
63
|
-
<ox-grist
|
|
63
|
+
<ox-grist
|
|
64
|
+
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
65
|
+
.config=${this.config}
|
|
66
|
+
.fetchHandler=${this.fetchHandler.bind(this)}
|
|
67
|
+
.selectedRecords=${this.selectedRecords}
|
|
68
|
+
>
|
|
64
69
|
<div id="filters" slot="headroom">
|
|
65
70
|
<ox-filters-form autofocus></ox-filters-form>
|
|
66
71
|
</div>
|
|
@@ -52,7 +52,7 @@ export class DataSetImporter extends LitElement {
|
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
|
|
55
|
-
background-color:
|
|
55
|
+
background-color: var(--md-sys-color-surface);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
ox-grist {
|
|
@@ -64,7 +64,11 @@ export class DataSetImporter extends LitElement {
|
|
|
64
64
|
|
|
65
65
|
render() {
|
|
66
66
|
return html`
|
|
67
|
-
<ox-grist
|
|
67
|
+
<ox-grist
|
|
68
|
+
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
69
|
+
.config=${this.columns}
|
|
70
|
+
.data="${{ records: this.scenarios }}"
|
|
71
|
+
></ox-grist>
|
|
68
72
|
|
|
69
73
|
<div class="button-container">
|
|
70
74
|
<button @click="${this.save.bind(this)}"><md-icon>save</md-icon>${i18next.t('button.save')}</button>
|
|
@@ -23,7 +23,7 @@ export class ProductDetailsPopup extends localize(i18next)(LitElement) {
|
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
25
25
|
overflow: hidden;
|
|
26
|
-
background-color:
|
|
26
|
+
background-color: var(--md-sys-color-surface);
|
|
27
27
|
|
|
28
28
|
--grid-record-emphasized-background-color: #ffdbdb;
|
|
29
29
|
--grid-record-emphasized-color: #703f3f;
|