@operato/app 1.0.0-beta.13 → 1.0.0-beta.16
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/CHANGELOG.md +25 -0
- package/dist/src/grist-editor/ox-grist-renderer-resource-id.js +5 -2
- package/dist/src/grist-editor/ox-grist-renderer-resource-id.js.map +1 -1
- package/dist/src/grist-editor/ox-popup-partition-keys-input.js +3 -2
- package/dist/src/grist-editor/ox-popup-partition-keys-input.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/src/grist-editor/ox-grist-renderer-resource-id.ts +6 -2
- package/src/grist-editor/ox-popup-partition-keys-input.ts +3 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "WebApplication production supporting components following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "heartyoh",
|
|
6
|
-
"version": "1.0.0-beta.
|
|
6
|
+
"version": "1.0.0-beta.16",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"module": "dist/src/index.js",
|
|
9
9
|
"exports": {
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
"@material/mwc-button": "^0.25.3",
|
|
60
60
|
"@material/mwc-icon": "^0.25.3",
|
|
61
61
|
"@material/mwc-icon-button": "^0.25.3",
|
|
62
|
-
"@operato/attachment": "^1.0.0-beta.
|
|
63
|
-
"@operato/data-grist": "^1.0.0-beta.
|
|
64
|
-
"@operato/font": "^1.0.0-beta.
|
|
65
|
-
"@operato/form": "^1.0.0-beta.
|
|
66
|
-
"@operato/graphql": "^1.0.0-beta.
|
|
67
|
-
"@operato/i18n": "^1.0.0-beta.
|
|
68
|
-
"@operato/input": "^1.0.0-beta.
|
|
69
|
-
"@operato/layout": "^1.0.0-beta.
|
|
70
|
-
"@operato/property-editor": "^1.0.0-beta.
|
|
71
|
-
"@operato/shell": "^1.0.0-beta.
|
|
72
|
-
"@operato/styles": "^1.0.0-beta.
|
|
73
|
-
"@operato/utils": "^1.0.0-beta.
|
|
62
|
+
"@operato/attachment": "^1.0.0-beta.16",
|
|
63
|
+
"@operato/data-grist": "^1.0.0-beta.16",
|
|
64
|
+
"@operato/font": "^1.0.0-beta.16",
|
|
65
|
+
"@operato/form": "^1.0.0-beta.16",
|
|
66
|
+
"@operato/graphql": "^1.0.0-beta.16",
|
|
67
|
+
"@operato/i18n": "^1.0.0-beta.16",
|
|
68
|
+
"@operato/input": "^1.0.0-beta.16",
|
|
69
|
+
"@operato/layout": "^1.0.0-beta.16",
|
|
70
|
+
"@operato/property-editor": "^1.0.0-beta.16",
|
|
71
|
+
"@operato/shell": "^1.0.0-beta.16",
|
|
72
|
+
"@operato/styles": "^1.0.0-beta.16",
|
|
73
|
+
"@operato/utils": "^1.0.0-beta.16",
|
|
74
74
|
"codemirror": "^5.59.1",
|
|
75
75
|
"codemirror-graphql": "^0.15.2",
|
|
76
76
|
"cronstrue": "^2.2.0",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"prettier --write"
|
|
112
112
|
]
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "20c4d72532166fd49c9c666e5ba00e4c5766a432"
|
|
115
115
|
}
|
|
@@ -7,7 +7,11 @@ export const OxGristRendererResourceId: FieldRenderer = (value, column, record,
|
|
|
7
7
|
return ''
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const { nameField = 'name', descriptionField = 'description' } = column.record.options || {}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
const name = value[nameField] || ''
|
|
13
|
+
const description = value[descriptionField] || ''
|
|
14
|
+
const suffix = description ? `(${description})` : ''
|
|
15
|
+
|
|
16
|
+
return html`<span>${name}${suffix}</span> `
|
|
13
17
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@operato/input/ox-input-partition-keys.js'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { css, html, LitElement } from 'lit'
|
|
4
4
|
import { customElement, property } from 'lit/decorators.js'
|
|
5
5
|
|
|
6
|
-
import { ScrollbarStyles } from '@operato/styles'
|
|
7
6
|
import { i18next } from '@operato/i18n'
|
|
7
|
+
import { ScrollbarStyles } from '@operato/styles'
|
|
8
8
|
|
|
9
9
|
@customElement('ox-popup-partition-keys-input')
|
|
10
10
|
export class OxPopupPartitionKeysInput extends LitElement {
|
|
@@ -24,6 +24,7 @@ export class OxPopupPartitionKeysInput extends LitElement {
|
|
|
24
24
|
ox-input-partition-keys {
|
|
25
25
|
flex: 1;
|
|
26
26
|
overflow-y: auto;
|
|
27
|
+
padding: 10px;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
span {
|