Giter Club home page Giter Club logo

Comments (8)

lucas-koehler avatar lucas-koehler commented on May 24, 2024

Hi @Bryelmo , thanks for the report :)
I had a look and indeed the export is missing in the code. I opened a small PR to fix this (#2320)

from jsonforms.

lucas-koehler avatar lucas-koehler commented on May 24, 2024

Hi @Bryelmo , one other thing I noticed in your issue description is that you import the ArrayLayoutRenderer from the src folder with

import { ArrayLayoutRenderer } from '@jsonforms/angular-material/src/library/layouts/array-layout.renderer';

Instead, if you want to do a deep import, you should import from the lib folder that contains the transpiled JS code.
Maybe the following works until the fix in the PR is merged:

import { ArrayLayoutRenderer } from '@jsonforms/angular-material/lib/esm2022/library/layouts/array-layout.renderer';

from jsonforms.

Bryelmo avatar Bryelmo commented on May 24, 2024

Hi @lucas-koehler ,
thanks for your response.
I already tried importing from the lib folder but it does not work, i receive this error.
Error: Cannot find module '@jsonforms/angular-material/lib/library/layouts/array-layout.renderer'

from jsonforms.

lucas-koehler avatar lucas-koehler commented on May 24, 2024

Hi @Bryelmo ,
did you also try importing from the esm2022 folder in lib? This contains the code but no typings.

import { ArrayLayoutRenderer } from '@jsonforms/angular-material/lib/esm2022/library/layouts/array-layout.renderer';

from jsonforms.

Bryelmo avatar Bryelmo commented on May 24, 2024

Hi @lucas-koehler,
yes I tried but I got the same error:
Error: Cannot find module

from jsonforms.

lucas-koehler avatar lucas-koehler commented on May 24, 2024

@Bryelmo In the latest pre-release version 3.3.0-alpha.1, the angular material package should now export the renderer

from jsonforms.

Bryelmo avatar Bryelmo commented on May 24, 2024

Hi @lucas-koehler ,
thanks for your work. Can I ask when the stable release will be released? Do I need to keep in sync jsonform and jsonform/angular-material or I can only update it to 3.3.0-alpha.1?

from jsonforms.

lucas-koehler avatar lucas-koehler commented on May 24, 2024

@Bryelmo , you should keep the versions in sync. I.e. update all@jsonforms/* packages to 3.3.0-alpha.1. Unfortunately, there is no release date set, yet. Probably sometime in the upcoming months.

from jsonforms.

Related Issues (20)

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.