@things-factory/id-rule-base 6.2.52 → 6.2.58

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.
@@ -1,11 +1,11 @@
1
1
  import '@material/mwc-button'
2
2
  import '@operato/i18n/ox-i18n.js'
3
+ import '@operato/input/ox-input-code.js'
3
4
 
4
5
  import { i18next } from '@things-factory/i18n-base'
5
6
  import { client, gqlContext } from '@things-factory/shell'
6
7
  import gql from 'graphql-tag'
7
8
  import { css, html, LitElement } from 'lit'
8
- import './editor-code'
9
9
 
10
10
  const FETCH_ID_RULE_GQL = type => {
11
11
  return gql`
@@ -70,7 +70,7 @@ export class GristCodeInputPopup extends LitElement {
70
70
  flex: 1;
71
71
  }
72
72
 
73
- editor-code {
73
+ ox-input-code {
74
74
  width: 100%;
75
75
  flex: 1;
76
76
  }
@@ -101,7 +101,7 @@ export class GristCodeInputPopup extends LitElement {
101
101
  <li><span>domain</span><ox-i18n msgid="label.argument domain description"></ox-i18n></li>
102
102
  <li><span>seed</span><ox-i18n msgid="label.argument seed description"></ox-i18n></li>
103
103
  </ul>
104
- <editor-code id="rule-editor" type="text" .value=${(this._idRule || {}).rule}></editor-code>
104
+ <ox-input-code id="rule-editor" type="text" .value=${(this._idRule || {}).rule}></ox-input-code>
105
105
  <div id="footer">
106
106
  <mwc-button
107
107
  label=${i18next.t('button.save')}