@things-factory/modeller-ui 5.0.0-alpha.1 → 5.0.0-alpha.4

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  // TODO LitElement 로 변경 후 검증하지 않음.
6
- import { LitElement, html, css } from 'lit'
6
+ import { css, html, LitElement } from 'lit'
7
7
 
8
8
  export default class ThingsEditorOptions extends LitElement {
9
9
  static get is() {
@@ -52,8 +52,9 @@ export default class ThingsEditorOptions extends LitElement {
52
52
  }
53
53
 
54
54
  render() {
55
+ const options = this.options instanceof Array ? this.options : []
55
56
  return html`
56
- ${(this.options || []).map(
57
+ ${(options || []).map(
57
58
  item => html`
58
59
  <div data-record="">
59
60
  <input type="text" data-text="" placeholder="text" .value=${item.text} />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/modeller-ui",
3
- "version": "5.0.0-alpha.1",
3
+ "version": "5.0.0-alpha.4",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -29,14 +29,14 @@
29
29
  "@graphql-tools/url-loader": "^7.2.0",
30
30
  "@graphql-tools/wrap": "^8.1.1",
31
31
  "@material/mwc-icon": "^0.25.3",
32
- "@operato/graphql": "^0.4.1",
33
- "@operato/help": "^0.4.1",
34
- "@operato/input": "^0.4.1",
35
- "@operato/layout": "^0.4.1",
36
- "@operato/popup": "^0.4.1",
37
- "@operato/property-editor": "^0.4.1",
38
- "@operato/shell": "^0.4.1",
39
- "@operato/utils": "^0.4.1",
32
+ "@operato/graphql": "1.0.0-alpha.4",
33
+ "@operato/help": "1.0.0-alpha.4",
34
+ "@operato/input": "1.0.0-alpha.4",
35
+ "@operato/layout": "1.0.0-alpha.4",
36
+ "@operato/popup": "1.0.0-alpha.4",
37
+ "@operato/property-editor": "1.0.0-alpha.4",
38
+ "@operato/shell": "1.0.0-alpha.4",
39
+ "@operato/utils": "1.0.0-alpha.4",
40
40
  "@polymer/iron-flex-layout": "^3.0.1",
41
41
  "@polymer/iron-form-element-behavior": "^3.0.1",
42
42
  "@polymer/iron-resizable-behavior": "^3.0.1",
@@ -50,9 +50,9 @@
50
50
  "@polymer/paper-ripple": "^3.0.2",
51
51
  "@polymer/paper-slider": "^3.0.1",
52
52
  "@polymer/polymer": "^3.3.1",
53
- "@things-factory/attachment-ui": "^5.0.0-alpha.1",
54
- "@things-factory/font-ui": "^5.0.0-alpha.1",
55
- "@things-factory/i18n-base": "^5.0.0-alpha.1",
53
+ "@things-factory/attachment-ui": "^5.0.0-alpha.4",
54
+ "@things-factory/font-ui": "^5.0.0-alpha.4",
55
+ "@things-factory/i18n-base": "^5.0.0-alpha.4",
56
56
  "ace-builds": "^1.4.11",
57
57
  "brace": "^0.11.1",
58
58
  "codemirror": "^5.59.1",
@@ -64,5 +64,5 @@
64
64
  "devDependencies": {
65
65
  "@types/codemirror": "^0.0.105"
66
66
  },
67
- "gitHead": "2b3e3818a5d7ab7fdfff9214cc65f56885b27ad0"
67
+ "gitHead": "77253f86954dc6f5c14356ea85887c323fd2511a"
68
68
  }