@things-factory/integration-ui 5.0.0-zeta.14 → 5.0.0-zeta.17
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.
|
@@ -14,12 +14,12 @@ export class PropertyEditorEntitySelector extends OxPropertyEditor {
|
|
|
14
14
|
return [...OxPropertyEditor.styles]
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
editorTemplate(
|
|
17
|
+
editorTemplate(value, spec) {
|
|
18
18
|
return html`
|
|
19
19
|
<things-editor-entity-selector
|
|
20
20
|
id="editor"
|
|
21
|
-
.value=${
|
|
22
|
-
.properties=${
|
|
21
|
+
.value=${value}
|
|
22
|
+
.properties=${spec.property}
|
|
23
23
|
></things-editor-entity-selector>
|
|
24
24
|
`
|
|
25
25
|
}
|
|
@@ -14,13 +14,13 @@ export class PropertyEditorScenarioStepInput extends OxPropertyEditor {
|
|
|
14
14
|
return [...OxPropertyEditor.styles]
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
editorTemplate(
|
|
17
|
+
editorTemplate(value, spec) {
|
|
18
18
|
/* context must be a datagrid(grist) instance, and host must be a record */
|
|
19
|
-
const { context: grid, host: record } =
|
|
19
|
+
const { context: grid, host: record } = spec
|
|
20
20
|
const steps = grid?.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name) || []
|
|
21
21
|
|
|
22
22
|
return html`
|
|
23
|
-
<input id="editor" .value=${
|
|
23
|
+
<input id="editor" .value=${value || ''} list="step-list" />
|
|
24
24
|
<datalist id="step-list">${steps.map(id => html` <option value=${id}></option> `)}</datalist>
|
|
25
25
|
`
|
|
26
26
|
}
|
|
@@ -33,13 +33,9 @@ export class PropertyEditorHttpHeaders extends OxPropertyEditor {
|
|
|
33
33
|
return [...OxPropertyEditor.styles]
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
editorTemplate(
|
|
36
|
+
editorTemplate(value, spec) {
|
|
37
37
|
return html`
|
|
38
|
-
<things-editor-http-headers
|
|
39
|
-
id="editor"
|
|
40
|
-
.value=${props.value}
|
|
41
|
-
.properties=${props.property}
|
|
42
|
-
></things-editor-http-headers>
|
|
38
|
+
<things-editor-http-headers id="editor" .value=${value} .properties=${spec.property}></things-editor-http-headers>
|
|
43
39
|
`
|
|
44
40
|
}
|
|
45
41
|
}
|
|
@@ -51,12 +47,12 @@ export class PropertyEditorHttpParameters extends OxPropertyEditor {
|
|
|
51
47
|
return [...OxPropertyEditor.styles]
|
|
52
48
|
}
|
|
53
49
|
|
|
54
|
-
editorTemplate(
|
|
50
|
+
editorTemplate(value, spec) {
|
|
55
51
|
return html`
|
|
56
52
|
<things-editor-http-parameters
|
|
57
53
|
id="editor"
|
|
58
|
-
.value=${
|
|
59
|
-
.properties=${
|
|
54
|
+
.value=${value}
|
|
55
|
+
.properties=${spec.property}
|
|
60
56
|
></things-editor-http-parameters>
|
|
61
57
|
`
|
|
62
58
|
}
|
|
@@ -69,13 +65,9 @@ export class PropertyEditorHttpBody extends OxPropertyEditor {
|
|
|
69
65
|
return [...OxPropertyEditor.styles]
|
|
70
66
|
}
|
|
71
67
|
|
|
72
|
-
editorTemplate(
|
|
68
|
+
editorTemplate(value, spec) {
|
|
73
69
|
return html`
|
|
74
|
-
<things-editor-http-body
|
|
75
|
-
id="editor"
|
|
76
|
-
.value=${props.value}
|
|
77
|
-
.properties=${props.property}
|
|
78
|
-
></things-editor-http-body>
|
|
70
|
+
<things-editor-http-body id="editor" .value=${value} .properties=${spec.property}></things-editor-http-body>
|
|
79
71
|
`
|
|
80
72
|
}
|
|
81
73
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-ui",
|
|
3
|
-
"version": "5.0.0-zeta.
|
|
3
|
+
"version": "5.0.0-zeta.17",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@operato/app": "^1.0.0-beta.
|
|
28
|
-
"@operato/data-grist": "^1.0.0-beta.
|
|
29
|
-
"@operato/graphql": "^1.0.0-beta.
|
|
30
|
-
"@operato/grist-editor": "^1.0.0-beta.
|
|
31
|
-
"@operato/help": "^1.0.0-beta.
|
|
32
|
-
"@operato/i18n": "^1.0.0-beta.
|
|
33
|
-
"@operato/layout": "^1.0.0-beta.
|
|
34
|
-
"@operato/property-editor": "^1.0.0-beta.
|
|
35
|
-
"@operato/styles": "^1.0.0-beta.
|
|
36
|
-
"@operato/utils": "^1.0.0-beta.
|
|
37
|
-
"@things-factory/export-base": "^5.0.0-zeta.
|
|
38
|
-
"@things-factory/import-base": "^5.0.0-zeta.
|
|
39
|
-
"@things-factory/integration-base": "^5.0.0-zeta.
|
|
27
|
+
"@operato/app": "^1.0.0-beta.46",
|
|
28
|
+
"@operato/data-grist": "^1.0.0-beta.46",
|
|
29
|
+
"@operato/graphql": "^1.0.0-beta.46",
|
|
30
|
+
"@operato/grist-editor": "^1.0.0-beta.46",
|
|
31
|
+
"@operato/help": "^1.0.0-beta.46",
|
|
32
|
+
"@operato/i18n": "^1.0.0-beta.46",
|
|
33
|
+
"@operato/layout": "^1.0.0-beta.46",
|
|
34
|
+
"@operato/property-editor": "^1.0.0-beta.46",
|
|
35
|
+
"@operato/styles": "^1.0.0-beta.46",
|
|
36
|
+
"@operato/utils": "^1.0.0-beta.46",
|
|
37
|
+
"@things-factory/export-base": "^5.0.0-zeta.17",
|
|
38
|
+
"@things-factory/import-base": "^5.0.0-zeta.17",
|
|
39
|
+
"@things-factory/integration-base": "^5.0.0-zeta.17",
|
|
40
40
|
"moment-timezone": "^0.5.27",
|
|
41
41
|
"subscriptions-transport-ws": "^0.11.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5a1788f7d40eb00f1fbfd0a53b21b1f6241788a5"
|
|
44
44
|
}
|