Code Monkey home page Code Monkey logo

ng-webdatarocks's People

Contributors

iansadovy avatar marviem avatar uaman avatar vo-fomin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ng-webdatarocks's Issues

missing field 'isPercent' in interface Format

I am using "ng-webdatarocks": "^1.4.6" and "webdatarocks": "^1.4.6".
Sorry, this issue seems to be a problem in webdatarocks itself, but I can't find this repository here.

The isPercent-Formatting mentioned in the docs seems to be missing in this interface. Hence, I was not able to set the predefined layout that I wanted. After adding this field in the downloaded webdatarocks.d.ts, I was able to predefine the desired layout

interface Format {
    name?: string;
    thousandsSeparator?: string;
    decimalSeparator?: string;
    decimalPlaces?: number;
    maxDecimalPlaces?: number;
    maxSymbols?: number;
    currencySymbol?: string;
    currencySymbolAlign?: string;
    nullValue?: string;
    infinityValue?: string;
    divideByZeroValue?: string;
    textAlign?: string;
    **isPercent?: boolean;**
}

Update for Angular 16 and IVY support

Is there any chance that this library will be updated to Angular 16?. Because I really liked this library and we can't use it because we have migrated to Angular 16. I tried to update it manually but didn't really know how

Warning: "Publish an Ivy distribution"

I am getting the following warning among others while compiling:

$ ng build -c demo
⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:
...
- ng-webdatarocks [es2015/esm2015] (https://github.com/WebDataRocks/ng-webdatarocks)
...
Encourage the library authors to publish an Ivy distribution.
✔ Browser application bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.

Env:

$ ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 13.2.2
Node: 14.17.0
Package Manager: npm 7.20.5
OS: linux x64

Angular: 13.2.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1302.2
@angular-devkit/build-angular   13.2.2
@angular-devkit/core            13.2.2
@angular-devkit/schematics      13.2.2
@angular/cli                    13.2.2
@angular/flex-layout            13.0.0-beta.36
@schematics/angular             13.2.2
rxjs                            6.6.7
typescript                      4.4.4
$ npm list ng-webdatarocks
...
└── [email protected]

Thanks

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.