GithubHelp home page GithubHelp logo

eclipsesource / jsonforms-angular-material-playground Goto Github PK

View Code? Open in Web Editor NEW
7.0 8.0 8.0 1.02 MB

Playground for integrating JSONForms with Angular Material

TypeScript 83.10% JavaScript 9.34% HTML 6.79% CSS 0.78%

jsonforms-angular-material-playground's Introduction

This REPO is deprecated. Please use https://github.com/eclipsesource/jsonforms-angular-seed instead!

JsonformsAngularMaterialPlayground

JSONForm Angular playground.

Installation

Run npm ci to install the necessary dependencies.

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run npm build to build the project. The build artifacts will be stored in the dist directory. Use the -prod flag for a production build.

Running unit tests

Run npm test to execute the unit tests via Karma.

Running end-to-end tests

Run npm e2e to execute the end-to-end tests via Protractor.

Customizations

For this showcase we hardcoded the schemas (schema.json, uischema.json) and the data (data.ts). You can replace them with your own or handle them completely dynamically.

We implemented three custom controls (custom.autocomplete.ts, lang.control.ts and data.control.ts). If you don't need them just remove them! See also store.ts where these custom renderers are registered.

In app.module.ts we customized the validation and executed a manual resolving step before handing the schemas over to JSON Forms. These steps are optional and can be skipped if needed.

jsonforms-angular-material-playground's People

Contributors

alexandrabuzila avatar angular-cli avatar dependabot[bot] avatar edgarmueller avatar eneufeld avatar koegel avatar sdirix avatar thezoker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsonforms-angular-material-playground's Issues

ListWithDetail

  • master should have fixed width
  • delete button in master must be on hover
  • preselect first entry

Not supporting Lazy Load

Hi Team,
When trying to route to my jsonforms module by lazy loading, it is throwing error,
ERROR Error: Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
And after debugging, found that there is an import of 'BrowserAnimationModule' in @jsonform/angular-material module. Can you check this and fix it ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.