@things-factory/integration-ui 4.0.41 → 4.0.42
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.
|
@@ -4,11 +4,11 @@ import gql from 'graphql-tag'
|
|
|
4
4
|
import { css, html } from 'lit-element'
|
|
5
5
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
6
6
|
|
|
7
|
-
import { HelpDecoratedRenderer } from '@
|
|
8
|
-
import { i18next, localize } from '@
|
|
7
|
+
import { HelpDecoratedRenderer } from '@operato/help/help-decorated-renderer.js'
|
|
8
|
+
import { i18next, localize } from '@operato/i18n'
|
|
9
|
+
import { CommonButtonStyles, ScrollbarStyles } from '@operato/styles'
|
|
10
|
+
import { isMobileDevice } from '@operato/utils'
|
|
9
11
|
import { client, PageView, store } from '@things-factory/shell'
|
|
10
|
-
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
11
|
-
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
13
13
|
export class Connection extends connect(store)(localize(i18next)(PageView)) {
|
|
14
14
|
static get properties() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import gql from 'graphql-tag'
|
|
2
|
+
import { css, html, LitElement } from 'lit-element'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { client } from '@operato/graphql'
|
|
5
|
+
import { HelpDecoratedRenderer } from '@operato/help/help-decorated-renderer.js'
|
|
6
|
+
import { i18next, localize } from '@operato/i18n'
|
|
7
|
+
import { isMobileDevice } from '@operato/utils'
|
|
5
8
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
6
|
-
import { client } from '@things-factory/shell'
|
|
7
|
-
import gql from 'graphql-tag'
|
|
8
|
-
import { isMobileDevice } from '@things-factory/utils'
|
|
9
9
|
|
|
10
10
|
class ScenarioDetail extends localize(i18next)(LitElement) {
|
|
11
11
|
static get properties() {
|
|
@@ -235,7 +235,7 @@ class ScenarioDetail extends localize(i18next)(LitElement) {
|
|
|
235
235
|
async fetchTaskType(name) {
|
|
236
236
|
const response = await client.query({
|
|
237
237
|
query: gql`
|
|
238
|
-
query($name: String!) {
|
|
238
|
+
query ($name: String!) {
|
|
239
239
|
taskType(name: $name) {
|
|
240
240
|
name
|
|
241
241
|
description
|
|
@@ -273,7 +273,7 @@ class ScenarioDetail extends localize(i18next)(LitElement) {
|
|
|
273
273
|
|
|
274
274
|
const response = await client.mutate({
|
|
275
275
|
mutation: gql`
|
|
276
|
-
mutation($scenarioId: String!, $patches: [StepPatch!]!) {
|
|
276
|
+
mutation ($scenarioId: String!, $patches: [StepPatch!]!) {
|
|
277
277
|
updateMultipleStep(scenarioId: $scenarioId, patches: $patches) {
|
|
278
278
|
name
|
|
279
279
|
}
|
|
@@ -297,7 +297,7 @@ class ScenarioDetail extends localize(i18next)(LitElement) {
|
|
|
297
297
|
|
|
298
298
|
const response = await client.mutate({
|
|
299
299
|
mutation: gql`
|
|
300
|
-
mutation($ids: [String!]!) {
|
|
300
|
+
mutation ($ids: [String!]!) {
|
|
301
301
|
deleteSteps(ids: $ids)
|
|
302
302
|
}
|
|
303
303
|
`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.42",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,14 +24,20 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@operato/data-grist": "^0.3.
|
|
28
|
-
"@operato/
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
27
|
+
"@operato/data-grist": "^0.3.24",
|
|
28
|
+
"@operato/graphql": "^0.3.24",
|
|
29
|
+
"@operato/help": "^0.3.24",
|
|
30
|
+
"@operato/i18n": "^0.3.24",
|
|
31
|
+
"@operato/layout": "^0.3.24",
|
|
32
|
+
"@operato/property-editor": "^0.3.24",
|
|
33
|
+
"@operato/styles": "^0.3.24",
|
|
34
|
+
"@operato/utils": "^0.3.24",
|
|
35
|
+
"@things-factory/export-base": "^4.0.42",
|
|
36
|
+
"@things-factory/import-base": "^4.0.42",
|
|
37
|
+
"@things-factory/integration-base": "^4.0.42",
|
|
38
|
+
"@things-factory/modeller-ui": "^4.0.42",
|
|
33
39
|
"moment-timezone": "^0.5.27",
|
|
34
40
|
"subscriptions-transport-ws": "^0.11.0"
|
|
35
41
|
},
|
|
36
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "794709ebadf4ae0f89a107a86a41a381ce26b465"
|
|
37
43
|
}
|