@things-factory/integration-ui 4.0.40 → 4.0.44

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,7 +4,7 @@
4
4
 
5
5
  import './things-editor-entity-selector'
6
6
 
7
- import { css, html } from 'lit-element'
7
+ import { html } from 'lit'
8
8
 
9
9
  import { OxPropertyEditor } from '@operato/property-editor'
10
10
  import { deepClone } from '@things-factory/utils'
@@ -1,12 +1,12 @@
1
1
  import '@operato/data-grist'
2
2
 
3
- import { LitElement, css, html } from 'lit-element'
4
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
3
+ import gql from 'graphql-tag'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
7
- import { client } from '@things-factory/shell'
8
- import gql from 'graphql-tag'
9
7
  import { i18next } from '@things-factory/i18n-base'
8
+ import { client } from '@things-factory/shell'
9
+ import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
10
10
 
11
11
  export class EntitySelector extends LitElement {
12
12
  static get properties() {
@@ -5,8 +5,9 @@ import './things-editor-http-headers'
5
5
  import './things-editor-http-parameters'
6
6
  import './things-editor-http-body'
7
7
 
8
+ import { html } from 'lit'
9
+
8
10
  import { OxPropertyEditor } from '@operato/property-editor'
9
- import { html } from 'lit-element'
10
11
 
11
12
  export class PropertyEditorScenarioStepInput extends OxPropertyEditor {
12
13
  static get styles() {
@@ -2,13 +2,13 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import { LitElement, html, css } from 'lit-element'
6
5
  import '@material/mwc-icon'
6
+ import './entity-selector'
7
7
 
8
- import { openPopup } from '@things-factory/layout-base'
9
- import { i18next } from '@things-factory/i18n-base'
8
+ import { css, html, LitElement } from 'lit'
10
9
 
11
- import './entity-selector'
10
+ import { i18next } from '@things-factory/i18n-base'
11
+ import { openPopup } from '@things-factory/layout-base'
12
12
 
13
13
  export default class ThingsEditorEntitySelector extends LitElement {
14
14
  static get properties() {
@@ -2,7 +2,7 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import { LitElement, html, css } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  /**
8
8
  http body editor element
@@ -2,7 +2,7 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import { LitElement, html, css } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  /**
8
8
  http headers editor element
@@ -2,7 +2,7 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import { LitElement, html, css } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit'
6
6
 
7
7
  /**
8
8
  http parameters editor element
@@ -1,7 +1,7 @@
1
1
  import '@material/mwc-button'
2
2
  import { ScrollbarStyles } from '@things-factory/styles'
3
3
  import { i18next } from '@things-factory/i18n-base'
4
- import { css, html, LitElement } from 'lit-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  function createCronRegex(type) {
7
7
  // https://gist.github.com/dkandalov/a2aed17cfdeb65243022
@@ -3,8 +3,9 @@ import '@material/mwc-fab'
3
3
  import '@material/mwc-icon'
4
4
  import './crontab-editor-popup'
5
5
 
6
+ import { html } from 'lit'
7
+
6
8
  import { InputEditor } from '@operato/data-grist'
7
- import { html } from 'lit-element'
8
9
  import { i18next } from '@things-factory/i18n-base'
9
10
  import { openPopup } from '@things-factory/layout-base'
10
11
 
@@ -1,7 +1,8 @@
1
1
  import '@material/mwc-icon'
2
2
 
3
+ import { html } from 'lit'
4
+
3
5
  import { InputEditor } from '@operato/data-grist'
4
- import { html } from 'lit-element'
5
6
 
6
7
  const EMPTY_OPTION = { name: '', value: '' }
7
8
 
@@ -2,17 +2,17 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import { LitElement, html, css, unsafeCSS } from 'lit-element'
6
- import { i18next } from '@things-factory/i18n-base'
5
+ import 'codemirror/mode/javascript/javascript'
6
+ import 'codemirror/addon/display/fullscreen'
7
+ import 'codemirror/addon/display/autorefresh'
7
8
 
8
- import CodeMirrorStyle from '!!text-loader!codemirror/lib/codemirror.css'
9
9
  import FullScreenStyle from '!!text-loader!codemirror/addon/display/fullscreen.css'
10
+ import CodeMirrorStyle from '!!text-loader!codemirror/lib/codemirror.css'
10
11
  import NightThemeStyle from '!!text-loader!codemirror/theme/night.css'
11
-
12
12
  import CodeMirror from 'codemirror'
13
- import 'codemirror/mode/javascript/javascript'
14
- import 'codemirror/addon/display/fullscreen'
15
- import 'codemirror/addon/display/autorefresh'
13
+ import { css, html, LitElement, unsafeCSS } from 'lit'
14
+
15
+ import { i18next } from '@things-factory/i18n-base'
16
16
 
17
17
  /**
18
18
  WEB Component for code-mirror json editor.
@@ -1,9 +1,9 @@
1
- import { LitElement, html, css } from 'lit-element'
2
-
3
1
  import '@material/mwc-icon'
2
+ import './json-editor'
3
+
4
+ import { css, html, LitElement } from 'lit'
4
5
 
5
6
  import { openPopup } from '@things-factory/layout-base'
6
- import './json-editor'
7
7
 
8
8
  export class JsonGristEditor extends LitElement {
9
9
  static get properties() {
@@ -4,7 +4,7 @@
4
4
 
5
5
  import '@things-factory/modeller-ui'
6
6
 
7
- import { html, LitElement } from 'lit-element'
7
+ import { html, LitElement } from 'lit'
8
8
  import { connect } from 'pwa-helpers/connect-mixin'
9
9
 
10
10
  import { OxPropertyEditor } from '@operato/property-editor'
@@ -1,6 +1,6 @@
1
1
  import { i18next } from '@things-factory/i18n-base'
2
2
  import { ScrollbarStyles } from '@things-factory/styles'
3
- import { css, html, LitElement } from 'lit-element'
3
+ import { css, html, LitElement } from 'lit'
4
4
 
5
5
  export class ParametersEditorPopup extends LitElement {
6
6
  static get properties() {
@@ -2,12 +2,14 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import { css, html, LitElement } from 'lit-element'
6
- import { i18next } from '@things-factory/i18n-base'
7
- import { openPopup } from '@things-factory/layout-base'
8
5
  import './parameters-editor-builder'
9
6
  import './parameters-editor-popup'
10
7
 
8
+ import { css, html, LitElement } from 'lit'
9
+
10
+ import { i18next } from '@things-factory/i18n-base'
11
+ import { openPopup } from '@things-factory/layout-base'
12
+
11
13
  export class ParametersEditor extends LitElement {
12
14
  static get properties() {
13
15
  return {
@@ -1,10 +1,11 @@
1
+ import gql from 'graphql-tag'
2
+ import { html } from 'lit'
3
+
1
4
  import { InputEditor } from '@operato/data-grist'
2
5
  import { client } from '@things-factory/shell'
3
- import gql from 'graphql-tag'
4
- import { html } from 'lit-element'
5
6
 
6
7
  const FETCH_TASK_TYPES_GQL = gql`
7
- query($connectionName: String!) {
8
+ query ($connectionName: String!) {
8
9
  taskTypesByConnection(connectionName: $connectionName) {
9
10
  items {
10
11
  name
@@ -1,14 +1,14 @@
1
1
  import '@operato/data-grist'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html } from 'lit-element'
4
+ import { css, html } from 'lit'
5
5
  import { connect } from 'pwa-helpers/connect-mixin'
6
6
 
7
- import { HelpDecoratedRenderer } from '@things-factory/help'
8
- import { i18next, localize } from '@things-factory/i18n-base'
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() {
@@ -75,16 +75,12 @@ export class Connection extends connect(store)(localize(i18next)(PageView)) {
75
75
  .fetchHandler=${this.fetchHandler.bind(this)}
76
76
  >
77
77
  <div slot="headroom" id="filters">
78
- <ox-filters-form @change=${e => this.grist.fetch()}></ox-filters-form>
78
+ <ox-filters-form></ox-filters-form>
79
79
  </div>
80
80
  </ox-grist>
81
81
  `
82
82
  }
83
83
 
84
- get filtersForm() {
85
- return this.renderRoot.querySelector('ox-filters-form')
86
- }
87
-
88
84
  get grist() {
89
85
  return this.renderRoot.querySelector('ox-grist')
90
86
  }
@@ -254,7 +250,7 @@ export class Connection extends connect(store)(localize(i18next)(PageView)) {
254
250
  }
255
251
  }
256
252
 
257
- async fetchHandler({ page, limit, sorters = [] }) {
253
+ async fetchHandler({ page, limit, sortings = [], filters = [] }) {
258
254
  const response = await client.query({
259
255
  query: gql`
260
256
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
@@ -285,9 +281,9 @@ export class Connection extends connect(store)(localize(i18next)(PageView)) {
285
281
  }
286
282
  `,
287
283
  variables: {
288
- filters: await this.filtersForm.getQueryFilters(),
284
+ filters,
289
285
  pagination: { page, limit },
290
- sortings: sorters
286
+ sortings
291
287
  }
292
288
  })
293
289
 
@@ -1,14 +1,15 @@
1
- import { i18next, localize } from '@things-factory/i18n-base'
2
- import { client, PageView, subscribe } from '@things-factory/shell'
3
- import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
4
- import gql from 'graphql-tag'
5
- import { css, html } from 'lit-element'
6
-
7
1
  import '../viewparts/monitoring-summary'
8
2
  import '../viewparts/pending-q-monitor'
9
3
  import '../viewparts/scenarios-monitor'
10
4
  import '../viewparts/connections-monitor'
11
5
 
6
+ import gql from 'graphql-tag'
7
+ import { css, html } from 'lit'
8
+
9
+ import { i18next, localize } from '@things-factory/i18n-base'
10
+ import { client, PageView, subscribe } from '@things-factory/shell'
11
+ import { ScrollbarStyles } from '@things-factory/styles'
12
+
12
13
  function IS_SCENARIO_RUNNING(state) {
13
14
  return state && state !== 'UNLOADED'
14
15
  }
@@ -1,11 +1,11 @@
1
- import { LitElement, css, html } from 'lit-element'
2
- import { i18next, localize } from '@things-factory/i18n-base'
1
+ import gql from 'graphql-tag'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
- import { HelpDecoratedRenderer } from '@things-factory/help'
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
  `,
@@ -1,10 +1,10 @@
1
1
  import '@operato/data-grist'
2
2
 
3
- import { LitElement, css, html } from 'lit-element'
4
-
5
- import { client } from '@things-factory/shell'
6
3
  import gql from 'graphql-tag'
4
+ import { css, html, LitElement } from 'lit'
5
+
7
6
  import { i18next } from '@things-factory/i18n-base'
7
+ import { client } from '@things-factory/shell'
8
8
  import { isMobileDevice } from '@things-factory/utils'
9
9
 
10
10
  export class ScenarioImporter extends LitElement {
@@ -3,7 +3,7 @@ import './scenario-detail'
3
3
  import './scenario-importer'
4
4
 
5
5
  import gql from 'graphql-tag'
6
- import { css, html } from 'lit-element'
6
+ import { css, html } from 'lit'
7
7
  import moment from 'moment-timezone'
8
8
  import { connect } from 'pwa-helpers/connect-mixin'
9
9
 
@@ -101,16 +101,12 @@ export class Scenario extends connect(store)(localize(i18next)(PageView)) {
101
101
  .fetchHandler=${this.fetchHandler.bind(this)}
102
102
  >
103
103
  <div slot="headroom" id="filters">
104
- <ox-filters-form @change=${e => this.grist.fetch()}></ox-filters-form>
104
+ <ox-filters-form></ox-filters-form>
105
105
  </div>
106
106
  </ox-grist>
107
107
  `
108
108
  }
109
109
 
110
- get filtersForm() {
111
- return this.renderRoot.querySelector('ox-filters-form')
112
- }
113
-
114
110
  get grist() {
115
111
  return this.renderRoot.querySelector('ox-grist')
116
112
  }
@@ -314,7 +310,7 @@ export class Scenario extends connect(store)(localize(i18next)(PageView)) {
314
310
  }
315
311
  }
316
312
 
317
- async fetchHandler({ page, limit, sorters = [] }) {
313
+ async fetchHandler({ page, limit, sortings = [], filters = [] }) {
318
314
  const response = await client.query({
319
315
  query: gql`
320
316
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
@@ -349,9 +345,9 @@ export class Scenario extends connect(store)(localize(i18next)(PageView)) {
349
345
  }
350
346
  `,
351
347
  variables: {
352
- filters: await this.filtersForm.getQueryFilters(),
348
+ filters,
353
349
  pagination: { page, limit },
354
- sortings: sorters
350
+ sortings
355
351
  }
356
352
  })
357
353
 
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import gql from 'graphql-tag'
3
3
  import { client } from '@things-factory/shell'
4
4
  import { ScrollbarStyles } from '@things-factory/styles'
@@ -43,10 +43,10 @@ export class ConnectionsMonitor extends LitElement {
43
43
  border-bottom: var(--border-dark-color);
44
44
  color: var(--secondary-color);
45
45
  }
46
- [card] *{
47
- overflow:hidden;
48
- text-overflow:ellipsis;
49
- white-space:nowrap;
46
+ [card] * {
47
+ overflow: hidden;
48
+ text-overflow: ellipsis;
49
+ white-space: nowrap;
50
50
  }
51
51
  [card] strong {
52
52
  color: var(--primary-color);
@@ -65,23 +65,23 @@ export class ConnectionsMonitor extends LitElement {
65
65
  background-color: var(--status-success-color);
66
66
  margin-left: var(--margin-narrow);
67
67
  }
68
- [buttons]{
68
+ [buttons] {
69
69
  --mdc-icon-button-size: 20px;
70
70
  --mdc-icon-size: 20px;
71
- border-top:1px dashed rgba(0,0,0,.1);
72
- margin:var(--margin-narrow) 0 0 0;
73
- padding:var(--padding-narrow) 0 0 0;
74
- text-align:right;
71
+ border-top: 1px dashed rgba(0, 0, 0, 0.1);
72
+ margin: var(--margin-narrow) 0 0 0;
73
+ padding: var(--padding-narrow) 0 0 0;
74
+ text-align: right;
75
75
  }
76
- [buttons] mwc-icon-button{
77
- color:rgba(var(--secondary-color-rgb),.8);
76
+ [buttons] mwc-icon-button {
77
+ color: rgba(var(--secondary-color-rgb), 0.8);
78
78
  }
79
79
  @media screen and (max-width: 480px) {
80
80
  h2 {
81
81
  padding: var(--padding-narrow);
82
82
  }
83
- [card] span{
84
- display:none
83
+ [card] span {
84
+ display: none;
85
85
  }
86
86
  }
87
87
  `
@@ -129,7 +129,7 @@ export class ConnectionsMonitor extends LitElement {
129
129
  async connect(connection) {
130
130
  var response = await client.mutate({
131
131
  mutation: gql`
132
- mutation($name: String!) {
132
+ mutation ($name: String!) {
133
133
  connectConnection(name: $name) {
134
134
  state
135
135
  }
@@ -157,7 +157,7 @@ export class ConnectionsMonitor extends LitElement {
157
157
  async disconnect(connection) {
158
158
  var response = await client.mutate({
159
159
  mutation: gql`
160
- mutation($name: String!) {
160
+ mutation ($name: String!) {
161
161
  disconnectConnection(name: $name) {
162
162
  state
163
163
  }
@@ -1,6 +1,6 @@
1
1
  import '@operato/data-grist'
2
2
 
3
- import { LitElement, css, html } from 'lit-element'
3
+ import { LitElement, css, html } from 'lit'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
 
6
6
  import { ScrollbarStyles } from '@things-factory/styles'
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin'
3
3
  import gql from 'graphql-tag'
4
4
  import { ScrollbarStyles } from '@things-factory/styles'
@@ -71,7 +71,7 @@ export class ScenarioInstanceLogView extends connect(store)(LitElement) {
71
71
  this.subscription = await subscribe(
72
72
  {
73
73
  query: gql`
74
- subscription($instanceName: String, $scenarioName: String, $level: String) {
74
+ subscription ($instanceName: String, $scenarioName: String, $level: String) {
75
75
  log: scenarioInstanceLog(instanceName: $instanceName, scenarioName: $scenarioName, level: $level) {
76
76
  level
77
77
  message
@@ -1,15 +1,14 @@
1
1
  import '@operato/data-grist'
2
2
  import '@material/mwc-icon'
3
3
  import './scenario-instance-view'
4
- import './scenario-instance-view'
5
4
 
6
- import { LitElement, css, html } from 'lit-element'
5
+ import gql from 'graphql-tag'
6
+ import { css, html, LitElement } from 'lit'
7
+
7
8
  import { i18next, localize } from '@things-factory/i18n-base'
8
9
  import { notify, openPopup } from '@things-factory/layout-base'
9
-
10
- import { ScrollbarStyles } from '@things-factory/styles'
11
10
  import { client } from '@things-factory/shell'
12
- import gql from 'graphql-tag'
11
+ import { ScrollbarStyles } from '@things-factory/styles'
13
12
 
14
13
  function IS_SCENARIO_RUNNING(state) {
15
14
  return state && state !== 'UNLOADED'
@@ -128,7 +127,7 @@ export class ScenarioInstanceMonitor extends localize(i18next)(LitElement) {
128
127
  async startScenario(instance) {
129
128
  var response = await client.mutate({
130
129
  mutation: gql`
131
- mutation($scenarioName: String!, $instanceName: String) {
130
+ mutation ($scenarioName: String!, $instanceName: String) {
132
131
  startScenario(scenarioName: $scenarioName, instanceName: $instanceName) {
133
132
  state
134
133
  }
@@ -151,7 +150,7 @@ export class ScenarioInstanceMonitor extends localize(i18next)(LitElement) {
151
150
  async stopScenario(instance) {
152
151
  var response = await client.mutate({
153
152
  mutation: gql`
154
- mutation($instanceName: String!) {
153
+ mutation ($instanceName: String!) {
155
154
  stopScenario(instanceName: $instanceName) {
156
155
  state
157
156
  }
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin'
3
3
  import gql from 'graphql-tag'
4
4
  import { ScrollbarStyles } from '@things-factory/styles'
@@ -224,7 +224,7 @@ export class ScenarioInstanceView extends connect(store)(LitElement) {
224
224
  this.subscription = await subscribe(
225
225
  {
226
226
  query: gql`
227
- subscription($instanceName: String, $scenarioName: String) {
227
+ subscription ($instanceName: String, $scenarioName: String) {
228
228
  scenarioInstanceState(instanceName: $instanceName, scenarioName: $scenarioName) {
229
229
  instanceName
230
230
  scenarioName
@@ -2,13 +2,13 @@ import '@operato/data-grist'
2
2
  import '@material/mwc-icon-button'
3
3
  import './scenario-instance-monitor'
4
4
 
5
- import { LitElement, css, html } from 'lit-element'
5
+ import gql from 'graphql-tag'
6
+ import { css, html, LitElement } from 'lit'
7
+
6
8
  import { i18next, localize } from '@things-factory/i18n-base'
7
9
  import { notify, openPopup } from '@things-factory/layout-base'
8
-
9
- import { ScrollbarStyles } from '@things-factory/styles'
10
10
  import { client } from '@things-factory/shell'
11
- import gql from 'graphql-tag'
11
+ import { ScrollbarStyles } from '@things-factory/styles'
12
12
 
13
13
  function IS_SCENARIO_RUNNING(state) {
14
14
  return state && state !== 'UNLOADED'
@@ -259,7 +259,7 @@ export class ScenarioMonitor extends localize(i18next)(LitElement) {
259
259
  async startScenario(scenario) {
260
260
  var response = await client.mutate({
261
261
  mutation: gql`
262
- mutation($scenarioName: String!) {
262
+ mutation ($scenarioName: String!) {
263
263
  startScenario(scenarioName: $scenarioName) {
264
264
  state
265
265
  }
@@ -281,7 +281,7 @@ export class ScenarioMonitor extends localize(i18next)(LitElement) {
281
281
  async stopScenario(scenario) {
282
282
  var response = await client.mutate({
283
283
  mutation: gql`
284
- mutation($instanceName: String!) {
284
+ mutation ($instanceName: String!) {
285
285
  stopScenario(instanceName: $instanceName) {
286
286
  state
287
287
  }
@@ -2,7 +2,7 @@ import '@operato/data-grist'
2
2
  import '@material/mwc-icon-button'
3
3
  import './scenario-monitor'
4
4
 
5
- import { LitElement, css, html } from 'lit-element'
5
+ import { LitElement, css, html } from 'lit'
6
6
  import { i18next, localize } from '@things-factory/i18n-base'
7
7
 
8
8
  import { ScrollbarStyles } from '@things-factory/styles'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/integration-ui",
3
- "version": "4.0.40",
3
+ "version": "4.0.44",
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.20",
28
- "@operato/property-editor": "^0.3.20",
29
- "@things-factory/export-base": "^4.0.40",
30
- "@things-factory/import-base": "^4.0.40",
31
- "@things-factory/integration-base": "^4.0.40",
32
- "@things-factory/modeller-ui": "^4.0.40",
27
+ "@operato/data-grist": "^0.3.27",
28
+ "@operato/graphql": "^0.3.27",
29
+ "@operato/help": "^0.3.27",
30
+ "@operato/i18n": "^0.3.27",
31
+ "@operato/layout": "^0.3.27",
32
+ "@operato/property-editor": "^0.3.27",
33
+ "@operato/styles": "^0.3.27",
34
+ "@operato/utils": "^0.3.27",
35
+ "@things-factory/export-base": "^4.0.44",
36
+ "@things-factory/import-base": "^4.0.44",
37
+ "@things-factory/integration-base": "^4.0.44",
38
+ "@things-factory/modeller-ui": "^4.0.44",
33
39
  "moment-timezone": "^0.5.27",
34
40
  "subscriptions-transport-ws": "^0.11.0"
35
41
  },
36
- "gitHead": "f0697b5ab411e4aa1a52de19a6c135f39686eca1"
42
+ "gitHead": "286a037443bfb38c65db964dbfa6c5f2d141d9ac"
37
43
  }