├── static └── .gitkeep ├── .eslintignore ├── config ├── prod.env.js ├── dev.env.js └── index.js ├── favicon.ico ├── .gitignore ├── src ├── components │ ├── icon-module │ │ ├── Thumbs.db │ │ ├── not16.png │ │ ├── not24.png │ │ ├── pen16.png │ │ ├── pen24.png │ │ ├── ref16.png │ │ ├── ref24.png │ │ ├── array16.png │ │ ├── array24.png │ │ ├── enum16.png │ │ ├── enum24.png │ │ ├── items-16.png │ │ ├── items-24.png │ │ ├── items16.png │ │ ├── items24.png │ │ ├── object16.png │ │ ├── object24.png │ │ ├── remark16.png │ │ ├── remark24.png │ │ ├── type16.png │ │ ├── type24.png │ │ ├── bookmark16.png │ │ ├── bookmark24.png │ │ ├── options16.png │ │ ├── options24.png │ │ ├── required16.png │ │ ├── required24.png │ │ ├── dependency16.png │ │ ├── dependency24.png │ │ ├── json_schema16.png │ │ ├── json_schema24.png │ │ ├── properties16.png │ │ ├── properties24.png │ │ ├── dependencies16.png │ │ ├── dependencies24.png │ │ └── index.js │ ├── json-schema-editor │ │ ├── treeData.js │ │ ├── index.js │ │ ├── inspectors │ │ │ ├── index.js │ │ │ ├── Property.js │ │ │ ├── RefInspector.vue │ │ │ ├── RequiredInspector.vue │ │ │ ├── DependencyItemInspector.vue │ │ │ ├── EnumInspector.vue │ │ │ └── BasicInspector.vue │ │ ├── components │ │ │ ├── null.js │ │ │ ├── boolean.js │ │ │ ├── required.js │ │ │ ├── dependencyItem.js │ │ │ ├── enum.js │ │ │ ├── ref.js │ │ │ ├── dependencies.js │ │ │ ├── not.js │ │ │ ├── allOf.js │ │ │ ├── anyOf.js │ │ │ ├── items.js │ │ │ ├── oneOf.js │ │ │ ├── properties.js │ │ │ ├── definitions.js │ │ │ ├── string.js │ │ │ ├── index.js │ │ │ ├── integer.js │ │ │ ├── number.js │ │ │ ├── array.js │ │ │ ├── jsonSchema.js │ │ │ └── object.js │ │ ├── menuData.js │ │ ├── PropertyInspector.vue │ │ ├── componentData.js │ │ ├── repository-firebase.js │ │ ├── convertSchemaToTree.js │ │ └── convertTreeToSchema.js │ ├── context-menu-items │ │ ├── DividerMenuItem.vue │ │ ├── HeaderMenuItem.vue │ │ ├── index.js │ │ ├── ButtonMenuItem.vue │ │ ├── TextInputMenuItem.vue │ │ ├── CheckBoxMenuItem.vue │ │ └── SelectMenuItem.vue │ ├── Tree.vue │ ├── account │ │ ├── SignIn.vue │ │ ├── VerifyEmail.vue │ │ ├── ChangePassword.vue │ │ └── SignUp.vue │ ├── ToolboxComponent.vue │ ├── Toolbox.vue │ ├── ContextMenu.vue │ ├── tree │ │ └── store.js │ ├── ContextMenuItem.vue │ ├── TreeNode.vue │ ├── SplitPanel.vue │ └── JsonSchemaEditor.vue ├── main.js ├── router │ └── index.js ├── App.vue └── firebase │ └── index.js ├── .editorconfig ├── .postcssrc.js ├── index.html ├── .babelrc ├── CONTRIBUTING.md ├── .eslintrc.js ├── package.json ├── README.md └── LICENSE /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | config/*.js 3 | -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/favicon.ico -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | .idea 8 | -------------------------------------------------------------------------------- /src/components/icon-module/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/Thumbs.db -------------------------------------------------------------------------------- /src/components/icon-module/not16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/not16.png -------------------------------------------------------------------------------- /src/components/icon-module/not24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/not24.png -------------------------------------------------------------------------------- /src/components/icon-module/pen16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/pen16.png -------------------------------------------------------------------------------- /src/components/icon-module/pen24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/pen24.png -------------------------------------------------------------------------------- /src/components/icon-module/ref16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/ref16.png -------------------------------------------------------------------------------- /src/components/icon-module/ref24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/ref24.png -------------------------------------------------------------------------------- /src/components/icon-module/array16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/array16.png -------------------------------------------------------------------------------- /src/components/icon-module/array24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/array24.png -------------------------------------------------------------------------------- /src/components/icon-module/enum16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/enum16.png -------------------------------------------------------------------------------- /src/components/icon-module/enum24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/enum24.png -------------------------------------------------------------------------------- /src/components/icon-module/items-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/items-16.png -------------------------------------------------------------------------------- /src/components/icon-module/items-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/items-24.png -------------------------------------------------------------------------------- /src/components/icon-module/items16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/items16.png -------------------------------------------------------------------------------- /src/components/icon-module/items24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/items24.png -------------------------------------------------------------------------------- /src/components/icon-module/object16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/object16.png -------------------------------------------------------------------------------- /src/components/icon-module/object24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/object24.png -------------------------------------------------------------------------------- /src/components/icon-module/remark16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/remark16.png -------------------------------------------------------------------------------- /src/components/icon-module/remark24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/remark24.png -------------------------------------------------------------------------------- /src/components/icon-module/type16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/type16.png -------------------------------------------------------------------------------- /src/components/icon-module/type24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/type24.png -------------------------------------------------------------------------------- /src/components/icon-module/bookmark16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/bookmark16.png -------------------------------------------------------------------------------- /src/components/icon-module/bookmark24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/bookmark24.png -------------------------------------------------------------------------------- /src/components/icon-module/options16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/options16.png -------------------------------------------------------------------------------- /src/components/icon-module/options24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/options24.png -------------------------------------------------------------------------------- /src/components/icon-module/required16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/required16.png -------------------------------------------------------------------------------- /src/components/icon-module/required24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/required24.png -------------------------------------------------------------------------------- /src/components/icon-module/dependency16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/dependency16.png -------------------------------------------------------------------------------- /src/components/icon-module/dependency24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/dependency24.png -------------------------------------------------------------------------------- /src/components/icon-module/json_schema16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/json_schema16.png -------------------------------------------------------------------------------- /src/components/icon-module/json_schema24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/json_schema24.png -------------------------------------------------------------------------------- /src/components/icon-module/properties16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/properties16.png -------------------------------------------------------------------------------- /src/components/icon-module/properties24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/properties24.png -------------------------------------------------------------------------------- /src/components/icon-module/dependencies16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/dependencies16.png -------------------------------------------------------------------------------- /src/components/icon-module/dependencies24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tangram-js/json-schema-editor/HEAD/src/components/icon-module/dependencies24.png -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /src/components/json-schema-editor/treeData.js: -------------------------------------------------------------------------------- 1 | import Components from './components' 2 | 3 | export var treeData = new Components.JsonSchemaComponent() 4 | 5 | export default treeData 6 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserlist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |