@operato/app 1.0.0-alpha.13 → 1.0.0-alpha.16

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.13",
6
+ "version": "1.0.0-alpha.16",
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.13",
50
- "@operato/data-grist": "^1.0.0-alpha.13",
51
- "@operato/form": "^1.0.0-alpha.13",
52
- "@operato/graphql": "^1.0.0-alpha.13",
53
- "@operato/i18n": "^1.0.0-alpha.13",
54
- "@operato/layout": "^1.0.0-alpha.13",
55
- "@operato/property-editor": "^1.0.0-alpha.13",
56
- "@operato/shell": "^1.0.0-alpha.13",
57
- "@operato/styles": "^1.0.0-alpha.13",
58
- "@operato/utils": "^1.0.0-alpha.13",
53
+ "@operato/attachment": "^1.0.0-alpha.16",
54
+ "@operato/data-grist": "^1.0.0-alpha.16",
55
+ "@operato/form": "^1.0.0-alpha.16",
56
+ "@operato/graphql": "^1.0.0-alpha.16",
57
+ "@operato/i18n": "^1.0.0-alpha.16",
58
+ "@operato/input": "^1.0.0-alpha.16",
59
+ "@operato/layout": "^1.0.0-alpha.16",
60
+ "@operato/property-editor": "^1.0.0-alpha.16",
61
+ "@operato/shell": "^1.0.0-alpha.16",
62
+ "@operato/styles": "^1.0.0-alpha.16",
63
+ "@operato/utils": "^1.0.0-alpha.16",
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": "b0c60655bb787d7fea4ce06797d91c1fa2ab2b69"
103
+ "gitHead": "61eb06224ad9f2f94004c78c33fd362f3798c713"
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,58 @@
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/font/ox-property-editor-font-selector.js'
23
+ import './ox-property-editor-graphql.js'
24
+
25
+ import { OxPropertyEditor } from '@operato/property-editor'
26
+
27
+ OxPropertyEditor.register({
28
+ legend: 'ox-property-editor-legend',
29
+ number: 'ox-property-editor-number',
30
+ slider: 'ox-property-editor-range',
31
+ password: 'ox-property-editor-password',
32
+ angle: 'ox-property-editor-angle',
33
+ string: 'ox-property-editor-string',
34
+ textarea: 'ox-property-editor-textarea',
35
+ javascript: 'ox-property-editor-textarea',
36
+ checkbox: 'ox-property-editor-checkbox',
37
+ boolean: 'ox-property-editor-checkbox',
38
+ select: 'ox-property-editor-select',
39
+ date: 'ox-property-editor-date',
40
+ options: 'ox-property-editor-options',
41
+ data: 'ox-property-editor-data',
42
+ file: 'ox-property-editor-file',
43
+ image: 'ox-property-editor-image',
44
+ 'range-input': 'ox-property-editor-range',
45
+ 'attachment-selector': 'ox-property-editor-attachment-selector',
46
+ 'gltf-selector': 'ox-property-editor-attachment-selector',
47
+ 'image-selector': 'ox-property-editor-image-selector',
48
+ color: 'ox-property-editor-color',
49
+ 'solid-color-stops': 'ox-property-editor-solid-colorstops',
50
+ 'gradient-color-stops': 'ox-property-editor-gradient-colorstops',
51
+ 'multiple-color': 'ox-property-editor-multiple-colors',
52
+ map: 'ox-property-editor-value-map',
53
+ range: 'ox-property-editor-value-ranges',
54
+ graphql: 'ox-property-editor-graphql',
55
+ 'editor-table': 'ox-property-editor-table',
56
+ 'id-input': 'ox-property-editor-scene-component-id',
57
+ 'font-selector': 'ox-property-editor-font-selector'
58
+ })