@operato/app 1.0.0-alpha.14 → 1.0.0-alpha.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.
package/package.json CHANGED
@@ -3,11 +3,12 @@
3
3
  "description": "WebApplication production supporting components following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "heartyoh",
6
- "version": "1.0.0-alpha.14",
6
+ "version": "1.0.0-alpha.17",
7
7
  "main": "dist/src/index.js",
8
8
  "module": "dist/src/index.js",
9
9
  "exports": {
10
10
  ".": "./dist/src/index.js",
11
+ "./property-editor.js": "./dist/src/property-editor/index.js",
11
12
  "./grist/id-input.js": "./dist/src/grist/id-input.js",
12
13
  "./grist/id-selector.js": "./dist/src/grist/id-selector.js",
13
14
  "./grist/id-renderer.js": "./dist/src/grist/id-renderer.js",
@@ -43,19 +44,28 @@
43
44
  "storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
44
45
  },
45
46
  "dependencies": {
47
+ "@graphql-tools/load": "^7.3.2",
48
+ "@graphql-tools/url-loader": "^7.2.0",
49
+ "@graphql-tools/wrap": "^8.1.1",
46
50
  "@material/mwc-button": "^0.25.3",
47
51
  "@material/mwc-icon": "^0.25.3",
48
52
  "@material/mwc-icon-button": "^0.25.3",
49
- "@operato/attachment": "^1.0.0-alpha.14",
50
- "@operato/data-grist": "^1.0.0-alpha.14",
51
- "@operato/form": "^1.0.0-alpha.14",
52
- "@operato/graphql": "^1.0.0-alpha.14",
53
- "@operato/i18n": "^1.0.0-alpha.14",
54
- "@operato/layout": "^1.0.0-alpha.14",
55
- "@operato/property-editor": "^1.0.0-alpha.14",
56
- "@operato/shell": "^1.0.0-alpha.14",
57
- "@operato/styles": "^1.0.0-alpha.14",
58
- "@operato/utils": "^1.0.0-alpha.14",
53
+ "@operato/attachment": "^1.0.0-alpha.17",
54
+ "@operato/data-grist": "^1.0.0-alpha.17",
55
+ "@operato/form": "^1.0.0-alpha.17",
56
+ "@operato/graphql": "^1.0.0-alpha.17",
57
+ "@operato/i18n": "^1.0.0-alpha.17",
58
+ "@operato/input": "^1.0.0-alpha.17",
59
+ "@operato/layout": "^1.0.0-alpha.17",
60
+ "@operato/property-editor": "^1.0.0-alpha.17",
61
+ "@operato/shell": "^1.0.0-alpha.17",
62
+ "@operato/styles": "^1.0.0-alpha.17",
63
+ "@operato/utils": "^1.0.0-alpha.17",
64
+ "codemirror": "^5.59.1",
65
+ "codemirror-graphql": "^0.15.2",
66
+ "cross-fetch": "^3.1.5",
67
+ "graphql": "^15.7.2",
68
+ "graphql-tag": "^2.12.6",
59
69
  "lit": "^2.2.0"
60
70
  },
61
71
  "devDependencies": {
@@ -90,5 +100,5 @@
90
100
  "prettier --write"
91
101
  ]
92
102
  },
93
- "gitHead": "69b26ce83240b509ac6d63b28300b7641ef60612"
103
+ "gitHead": "008c4a0ef43300b5abe8855962ebfd65aa4143a6"
94
104
  }
@@ -2,8 +2,6 @@
2
2
  * @license Copyright © HatioLab Inc. All rights reserved.
3
3
  */
4
4
 
5
- import '@things-factory/modeller-ui'
6
-
7
5
  import { LitElement, PropertyValues, html } from 'lit'
8
6
  import { OxPropertyEditor, PropertySpec } from '@operato/property-editor'
9
7
  import { customElement, property } from 'lit/decorators.js'
@@ -0,0 +1,59 @@
1
+ import '@operato/property-editor/ox-property-editor-legend.js'
2
+ import '@operato/property-editor/ox-property-editor-number.js'
3
+ import '@operato/property-editor/ox-property-editor-password.js'
4
+ import '@operato/property-editor/ox-property-editor-angle.js'
5
+ import '@operato/property-editor/ox-property-editor-string.js'
6
+ import '@operato/property-editor/ox-property-editor-data.js'
7
+ import '@operato/property-editor/ox-property-editor-date.js'
8
+ import '@operato/property-editor/ox-property-editor-checkbox.js'
9
+ import '@operato/property-editor/ox-property-editor-options.js'
10
+ import '@operato/property-editor/ox-property-editor-select.js'
11
+ import '@operato/property-editor/ox-property-editor-scene-component-id.js'
12
+ import '@operato/property-editor/ox-property-editor-color.js'
13
+ import '@operato/property-editor/ox-property-editor-multiple-colors.js'
14
+ import '@operato/property-editor/ox-property-editor-solid-colorstops.js'
15
+ import '@operato/property-editor/ox-property-editor-gradient-colorstops.js'
16
+ import '@operato/property-editor/ox-property-editor-gradient-colorstops.js'
17
+ import '@operato/property-editor/ox-property-editor-textarea.js'
18
+ import '@operato/property-editor/ox-property-editor-table.js'
19
+ import '@operato/property-editor/ox-property-editor-value-map.js'
20
+ import '@operato/property-editor/ox-property-editor-value-ranges.js'
21
+ import '@operato/attachment/ox-property-editor-attachment-selector.js'
22
+ import '@operato/attachment/ox-property-editor-image-selector.js'
23
+ import '@operato/font/ox-property-editor-font-selector.js'
24
+ import './ox-property-editor-graphql.js'
25
+
26
+ import { OxPropertyEditor } from '@operato/property-editor'
27
+
28
+ OxPropertyEditor.register({
29
+ legend: 'ox-property-editor-legend',
30
+ number: 'ox-property-editor-number',
31
+ slider: 'ox-property-editor-range',
32
+ password: 'ox-property-editor-password',
33
+ angle: 'ox-property-editor-angle',
34
+ string: 'ox-property-editor-string',
35
+ textarea: 'ox-property-editor-textarea',
36
+ javascript: 'ox-property-editor-textarea',
37
+ checkbox: 'ox-property-editor-checkbox',
38
+ boolean: 'ox-property-editor-checkbox',
39
+ select: 'ox-property-editor-select',
40
+ date: 'ox-property-editor-date',
41
+ options: 'ox-property-editor-options',
42
+ data: 'ox-property-editor-data',
43
+ file: 'ox-property-editor-file',
44
+ image: 'ox-property-editor-image',
45
+ 'range-input': 'ox-property-editor-range',
46
+ 'attachment-selector': 'ox-property-editor-attachment-selector',
47
+ 'gltf-selector': 'ox-property-editor-attachment-selector',
48
+ 'image-selector': 'ox-property-editor-image-selector',
49
+ color: 'ox-property-editor-color',
50
+ 'solid-color-stops': 'ox-property-editor-solid-colorstops',
51
+ 'gradient-color-stops': 'ox-property-editor-gradient-colorstops',
52
+ 'multiple-color': 'ox-property-editor-multiple-colors',
53
+ map: 'ox-property-editor-value-map',
54
+ range: 'ox-property-editor-value-ranges',
55
+ graphql: 'ox-property-editor-graphql',
56
+ 'editor-table': 'ox-property-editor-table',
57
+ 'id-input': 'ox-property-editor-scene-component-id',
58
+ 'font-selector': 'ox-property-editor-font-selector'
59
+ })