Tons of extensively featured packages for Angular, VUE and React Projects

Overview

rxweb

Clean Code. Built with Purpose

Contributing to rxweb framework

If you are thinking to make rxweb framework better, that's truly great. You can contribute from a single character to core architectural work or significant documentation – all with the goal of making a robust rxweb framework which helps for everyone in their projects. Even if you are don’t feel up to writing code or documentation yet, there are a variety of other ways that you can contribute like reporting issues to testing patches.

Check out the docs on how you can put your precious efforts on the rxweb framework and contribute in the respective area.

Need Help or Found an Issue

We highly recommend for help please ask your questions on our gitter/rxweb-project to get quick response from us. Otherthan our gitter channel you can ask your question on StackOverflow or create a new issue in our Github Repository.

For, issue please refer our issue workflow wiki for better visibility our issue process.

Feature request

You can request a new feature by submitting an issue to our GitHub Repository. If you would like to implement a new feature, please submit an issue with a proposal for your work first, to be sure that we can use it.

Principal Sponsor

Logo of Radixweb – An IT Outsourcing & Consulting Company

License

The rxweb framework is open-sourced software licensed under the MIT license.

Comments
  • Adding a mask to a mac validator

    Adding a mask to a mac validator

    Describe the bug

    when adding a mask to a mac address validator, returns invalid mac address, even though without the mask its valid. RxwebValidators.mask({ mask: ':::::'})

    Expected Behavior

    validation to be correct

    To Reproduce

    RxwebValidators.mac({message:'Invalid MAC address'}), RxwebValidators.mask({ mask: ':::::' }), RxwebValidators.maxLength({ value: 17, message: 'Maximum 17 characters are allowed.', }),

    Url (stackblitz or plunker or other)

    Package Version

    "@rxweb/reactive-form-validators": "^2.0.0"

    feature request Ready For Release 
    opened by DuncanFaulkner 36
  • Angular 13 - reactive-form-validators ivy enabled

    Angular 13 - reactive-form-validators ivy enabled

    Description

    Now that Angular 13 is released and view engine is deprecated, does this team have any plans on updating reactive-form-validators to be built in at least partial ivy mode, in order to not need to run ngcc for this library? Currently ngcc is the only thing in the way of my team being able to update to yarn 2 with PnP.

    Describe the solution you'd like

    reactive-form-validators library built with "compilationMode": "partial" and "enableIvy": true

    Ready For Release @rxweb/reactive-form-validators 
    opened by mikerentmeister 31
  • Cannot read property 'length' of undefined

    Cannot read property 'length' of undefined

    Describe the bug

    When selecting the file/files having the validations maxFiles I found an error in my console stated "Cannot read property 'length' of undefined" at reactive-form-validators.es5.js:4090

    Expected Behavior

    It should allow files as well with RxFormGroup and return proper error message

    To Reproduce

    Use form builder of RxFormBuilder Create formGroup with file control and add validation RxwebValidators.file with maxFiles: 5

    Package Version

    @rxweb/reactive-form-validators@^1.9.2

    Browser

    Google Chrome: Version 76.0.3809.100 (Official Build) (64-bit)

    Additional Info

    Replication: https://stackblitz.com/edit/angular-8vlt2f?file=src/app/file-add.component.ts Try to upload file and open Console for the error.

    bug 
    opened by mitulpatel224 21
  • NumericValidator - differentiate errors for allowDecimal true/false

    NumericValidator - differentiate errors for allowDecimal true/false

    Describe the bug

    Using a NumericValidator on two controls is an issue if one allows decimals and one forbids them, since the NumericValidator will set the error numeric to false if the value is invalid.

    Assuming we create a FormGroup with a height and a age control:

        height: [
          '',
          RxwebValidators.numeric({
            acceptValue: NumericValueType.PositiveNumber,
            allowDecimal: true
          })
        ],
        age: [
          '',
          RxwebValidators.numeric({
            acceptValue: NumericValueType.PositiveNumber,
            allowDecimal: false
          })
        ]
    

    And we translate the numeric error message as Must be a valid number this would make sense if the user enters any non-numeric values to the input.
    But as soon as the user enters a decimal value to the age the control will get a translated error message Must be a valid number displayed.
    Translating the error message to Can't be a decimal doesn't make sense since as soon as the user enters non-numeric values any of those controls it wouldn't match the input.

    Expected Behavior

    Differentiate the numeric error to a decimal and non decimal error. If allowDecimal is true, change the key to numericDecimal, else leave it as numeric or rename it to numericInteger.

    Other option would be to allow a custom message per Validation. There is a message parameter but it doesn't seem to have any impact on the error message.

        height: [
          '',
          RxwebValidators.numeric({
            acceptValue: NumericValueType.PositiveNumber,
            allowDecimal: true,
            message: 'mustBeADecimal' 
          })
        ],
        age: [
          '',
          RxwebValidators.numeric({
            acceptValue: NumericValueType.PositiveNumber,
            allowDecimal: false,
            message: 'mustBeAnInteger'
          })
        ]
    

    Package Version

    @rxweb/[email protected]

    Browser

    Firefox 75.0

    opened by ChrisKaun 19
  • Should work conditional expression without conditional statements

    Should work conditional expression without conditional statements

    Describe the bug

    @boskee has highlighted the scenario in the issue of #111. conditional expression should work if the user puts without conditional statements.

    RxwebValidators.required({
                        conditionalExpression: (x) => {
                             return x.toggle;
                        }})
    
    bug 
    opened by ajayojha 18
  • reactive-form-validators  - build fail when importing RxReactiveFormsModule

    reactive-form-validators - build fail when importing RxReactiveFormsModule

    Hi. I have Angular CLI 11.0.6 project when I add @rxweb/reactive-form-validators v2.1.2 to the project, and import it in my project the build fails with:

    Error: ./node_modules/@rxweb/reactive-form-validators/fesm2015/rxweb-reactive-form-validators.js
    Module build failed (from ./node_modules/babel-loader/lib/index.js):
    TypeError: /Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@rxweb/reactive-form-validators/fesm2015/rxweb-reactive-form-validators.js: Column must be greater than or equal to 0, got -15
        at BasicSourceMapConsumer.SourceMapConsumer_findMapping [as _findMapping] (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js:543:13)
        at BasicSourceMapConsumer.SourceMapConsumer_allGeneratedPositionsFor [as allGeneratedPositionsFor] (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js:201:22)
        at /Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/lib/transformation/file/merge-map.js:186:27
        at Array.forEach (<anonymous>)
        at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js:155:14)
        at buildMappingData (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/lib/transformation/file/merge-map.js:147:12)
        at mergeSourceMap (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/lib/transformation/file/merge-map.js:21:17)
        at generateCode (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/lib/transformation/file/generate.js:74:39)
        at run (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/lib/transformation/index.js:55:33)
        at run.next (<anonymous>)
        at Function.transform (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/@babel/core/lib/transform.js:27:41)
        at transform.next (<anonymous>)
        at step (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/gensync/index.js:261:32)
        at /Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/gensync/index.js:273:13
        at async.call.result.err.err (/Volumes/osx-storage/projects/tux-in/mycocktailworld/mycocktailworld-client/node_modules/gensync/index.js:223:11)
    
    

    this is my package.json:

    {
      "name": "mycocktailworld-client",
      "version": "0.0.0",
      "scripts": {
        "postinstall": "ngcc",
        "ng": "ng",
        "start": "ng serve  --configuration=en",
        "build": "ng build",
        "test": "ng test",
        "lint": "ng lint",
        "e2e": "ng e2e",
        "dev:ssr": "ng run mycocktailworld-client:serve-ssr",
        "serve:ssr": "node dist/mycocktailworld-client/server/main.js",
        "build:ssr": "ng build --prod && ng run mycocktailworld-client:server:production",
        "prerender": "ng run mycocktailworld-client:prerender"
      },
      "private": true,
      "dependencies": {
        "@angular-material-extensions/password-strength": "^8.1.0",
        "@angular-material-extensions/select-country": "^4.0.1",
        "@angular/animations": "~11.0.8",
        "@angular/cdk": "^11.0.3",
        "@angular/common": "~11.0.8",
        "@angular/compiler": "~11.0.8",
        "@angular/core": "~11.0.8",
        "@angular/flex-layout": "^11.0.0-beta.33",
        "@angular/forms": "~11.0.8",
        "@angular/material": "^11.0.3",
        "@angular/platform-browser": "~11.0.8",
        "@angular/platform-browser-dynamic": "~11.0.8",
        "@angular/platform-server": "~11.0.8",
        "@angular/router": "~11.0.8",
        "@apollo/client": "^3.0.0",
        "@ngneat/until-destroy": "^8.0.3",
        "@nguniversal/express-engine": "^11.0.1",
        "@rxweb/reactive-form-validators": "^2.1.2",
        "@sweetalert2/ngx-sweetalert2": "^9.0.0",
        "@swimlane/ngx-charts": "^16.0.0",
        "@tinymce/tinymce-angular": "^4.2.0",
        "angulartics2": "^10.0.0",
        "apollo-angular": "^2.2.0",
        "apollo-link-context": "^1.0.20",
        "apollo-link-error": "^1.1.13",
        "compression": "^1.7.4",
        "cookieconsent": "^3.1.1",
        "domino": "^2.1.6",
        "express": "^4.15.2",
        "graphql": "^15.0.0",
        "graphql-tag": "^2.11.0",
        "moment": "^2.29.1",
        "ng-recaptcha": "^7.0.1",
        "ngx-avatar": "^4.0.0",
        "ngx-cookieconsent": "^2.2.3",
        "ngx-mask": "^11.1.4",
        "ngx-timeago": "^2.0.0",
        "rxjs": "~6.6.0",
        "spdy": "^4.0.2",
        "svg-country-flags": "^1.2.9",
        "sweetalert2": "^10.13.0",
        "tinymce": "^5.6.2",
        "tslib": "^2.0.0",
        "zen-observable": "^0.8.15",
        "zone.js": "~0.10.2"
      },
      "devDependencies": {
        "@angular-devkit/build-angular": "~0.1100.6",
        "@angular-eslint/builder": "0.8.0-beta.3",
        "@angular-eslint/eslint-plugin": "0.8.0-beta.3",
        "@angular-eslint/eslint-plugin-template": "0.8.0-beta.3",
        "@angular-eslint/schematics": "^0.8.0-beta.3",
        "@angular-eslint/template-parser": "0.8.0-beta.3",
        "@angular/cli": "~11.0.6",
        "@angular/compiler-cli": "~11.0.8",
        "@angular/localize": "^11.0.8",
        "@nguniversal/builders": "^11.0.1",
        "@types/compression": "^1.7.0",
        "@types/express": "^4.17.0",
        "@types/jasmine": "~3.6.0",
        "@types/node": "^12.11.1",
        "@types/spdy": "^3.4.4",
        "@typescript-eslint/eslint-plugin": "4.3.0",
        "@typescript-eslint/parser": "4.3.0",
        "codelyzer": "^6.0.0",
        "eslint": "^7.6.0",
        "eslint-plugin-import": "2.22.1",
        "eslint-plugin-jsdoc": "30.7.6",
        "eslint-plugin-prefer-arrow": "1.2.2",
        "jasmine-core": "~3.6.0",
        "jasmine-spec-reporter": "~5.0.0",
        "karma": "~5.1.0",
        "karma-chrome-launcher": "~3.1.0",
        "karma-coverage": "~2.0.3",
        "karma-jasmine": "~4.0.0",
        "karma-jasmine-html-reporter": "^1.5.0",
        "protractor": "~7.0.0",
        "source-map-support": "^0.5.19",
        "ts-node": "~8.3.0",
        "typescript": "~4.0.2"
      }
    }
    
    
    opened by kfirufk 12
  • The User can able to return validation config conditionally

    The User can able to return validation config conditionally

    Description

    The user can able to return the validation config conditionally as needed. As discussed with @manudss on gitter. It should work by providing a new property of 'dynamicConfig' which returns the validation config. This will help when some of the calculation is required based upon the cross field value or current control value.

    Describe the solution you'd like

    The expected solution should be like as below :

    export class User {
        @minNumber({
            dynamicConfig: (x, y) => {
                if (x.age > 18)
                    return { value: 2500 };
                else
                    return { value: 3500 };
            }
        })
        amount: any[];
    
        @prop()
        age: string;
    }
    

    As per the above code in the minNumber validation user can able to return the properties which are available in the NumberConfig interface excepts conditionalExpression.

    feature request 
    opened by ajayojha 12
  • Type IFormGroup<FormModel> is not assignable to type FormGroup

    Type IFormGroup is not assignable to type FormGroup

    Describe the bug

    When using IFormGroup and binding to [formGroup] template validation shows following error Type IFormGroup is not assignable to type FormGroup

    Expected Behavior

    No error at all (works in rutnime obviously)

    To Reproduce

    component: selectorForm: IFormGroup<YourType>;

    template <div [formGroup]="selectorForm" >

    image

    Package Version

    @rxweb/[email protected]

    opened by Antoniossss 11
  • Interface 'IFormGroup<T>' incorrectly extends interface 'IAbstractControl<T, T>'

    Interface 'IFormGroup' incorrectly extends interface 'IAbstractControl'

    Describe the bug

    I've created a new Angular 10 project with --strict parameter set.

    I get this error :

    Compiling TypeScript sources through ngc
    ERROR: node_modules/@rxweb/types/reactive-form/i-form-group.d.ts:3:18 - error TS2430: Interface 'IFormGroup<T>' incorrectly extends interface 'IAbstractControl<T, T>'.
      Types of property 'patchValue' are incompatible.
        Type '(value: Partial<T>, options?: { onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined) => void' is not assignable to type '(value: T | null, options?: { onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolean | undefined; emitViewToModelChange?: boolean | undefined; } | undefined) => void'.
          Types of parameters 'value' and 'value' are incompatible.
            Type 'T | null' is not assignable to type 'Partial<T>'.
              Type 'null' is not assignable to type 'Partial<T>'.
    
    3 export interface IFormGroup<T> extends IAbstractControl<T, T> {
                       ~~~~~~~~~~
    
    An unhandled exception occurred: node_modules/@rxweb/types/reactive-form/i-form-group.d.ts:3:18 - error TS2430: Interface 'IFormGroup<T>' incorrectly extends interface 'IAbstractControl<T, T>'.
      Types of property 'patchValue' are incompatible.
        Type '(value: Partial<T>, options?: { onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; } | undefined) => void' is not assignable to type '(value: T | null, options?: { onlySelf?: boolean | undefined; emitEvent?: boolean | undefined; emitModelToViewChange?: boolean | undefined; emitViewToModelChange?: boolean | undefined; } | undefined) => void'.
          Types of parameters 'value' and 'value' are incompatible.
            Type 'T | null' is not assignable to type 'Partial<T>'.
              Type 'null' is not assignable to type 'Partial<T>'.
    
    3 export interface IFormGroup<T> extends IAbstractControl<T, T> {
                       ~~~~~~~~~~
    

    Expected Behavior

    To Reproduce

    Open a fresh Stackblitz Angular 10 project and add "@rxweb/types" as a dependency => compilation fails with :

    Error in ~/src/main.ts
    ngcc failed to run on @rxweb/[email protected].
    

    Url (stackblitz or plunker or other)

    Package Version

    @rxweb/@

    "@rxweb/types": "^1.0.3"

    Angular CLI: 10.0.0 Node: 12.18.1 OS: linux x64

    Angular: 10.0.1 ... animations, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router Ivy Workspace: Yes

    Package Version

    @angular-devkit/architect 0.1000.0 @angular-devkit/build-angular 0.1000.0 @angular-devkit/build-ng-packagr 0.1000.0 @angular-devkit/build-optimizer 0.1000.0 @angular-devkit/build-webpack 0.1000.0 @angular-devkit/core 10.0.0 @angular-devkit/schematics 10.0.0 @angular/cdk 10.0.0 @angular/cli 10.0.0 @ngtools/webpack 10.0.0 @schematics/angular 10.0.0 @schematics/update 0.1000.0 ng-packagr 10.0.0 rxjs 6.5.5 typescript 3.9.5 webpack 4.43.0

    bug 
    opened by mehmetgunacti 11
  • Unable to inject service inside AuthFilter

    Unable to inject service inside AuthFilter

    inside OnRequest() unable to use other service like localstorage service or other service. if we use undefined get

    we are unable to set dynamic filter

    Package Version

    @rxweb/@xhrFilter

    opened by viralchauhan 10
  • conditionalExpression not working as expected

    conditionalExpression not working as expected

    Describe the problem statement?

    I'm trying to implement conditional required validator using RxwebValidators package. The problem occurs when FormGroup is nested and those nested FormGroups are passed as @Inputs into child components. Conditional validation works but only after I make a FormControl dirty, meaning i text something in input and then remove it. Only then, desired FormControl becomes required and invalid which is not the behaviour I'm expecting. It should become required immediately after user inputs "John" in the firstName control. Am I missing something I should do in addition or doing something wrong? Or is it just how it works?

    The expected solution you would like

    FormControl should become required immediately after conditional expression is met

    Url

    https://stackblitz.com/edit/rxweb-conditional-required-validator-angular-reactive-fo-xjvfx6

    Package version

    @rxweb/reactive-form-validators: 2.0.0

    opened by embe93 10
  • chore(deps): bump json5 from 1.0.1 to 1.0.2 in /client-side/angular

    chore(deps): bump json5 from 1.0.1 to 1.0.2 in /client-side/angular

    Bumps json5 from 1.0.1 to 1.0.2.

    Release notes

    Sourced from json5's releases.

    v1.0.2

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295). This has been backported to v1. (#298)
    Changelog

    Sourced from json5's changelog.

    Unreleased [code, diff]

    v2.2.3 [code, diff]

    v2.2.2 [code, diff]

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).

    v2.2.1 [code, diff]

    • Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)

    v2.2.0 [code, diff]

    • New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)

    v2.1.3 [code, diff]

    • Fix: An out of memory bug when parsing numbers has been fixed. (#228, #229)

    v2.1.2 [code, diff]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Angular Universal

    Angular Universal

    Describe the problem statement?

    Website not loading after installing rxweb/translate, the loading indicator does not stop and the app is never loaded

    Package version

    @rxweb/translate

    opened by sharifqasrawi 0
  • chore(deps): bump json5 and @angular-devkit/build-angular in /client-side/angular

    chore(deps): bump json5 and @angular-devkit/build-angular in /client-side/angular

    Bumps json5 to 2.2.3 and updates ancestor dependency @angular-devkit/build-angular. These dependencies need to be updated together.

    Updates json5 from 2.2.1 to 2.2.3

    Release notes

    Sourced from json5's releases.

    v2.2.3

    v2.2.2

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).
    Changelog

    Sourced from json5's changelog.

    v2.2.3 [code, diff]

    v2.2.2 [code, diff]

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).
    Commits
    • c3a7524 2.2.3
    • 94fd06d docs: update CHANGELOG for v2.2.3
    • 3b8cebf docs(security): use GitHub security advisories
    • f0fd9e1 docs: publish a security policy
    • 6a91a05 docs(template): bug -> bug report
    • 14f8cb1 2.2.2
    • 10cc7ca docs: update CHANGELOG for v2.2.2
    • 7774c10 fix: add proto to objects and arrays
    • edde30a Readme: slight tweak to intro
    • 97286f8 Improve example in readme
    • Additional commits viewable in compare view

    Updates @angular-devkit/build-angular from 12.0.5 to 15.0.4

    Release notes

    Sourced from @​angular-devkit/build-angular's releases.

    v15.0.4

    15.0.4 (2022-12-14)

    @​angular-devkit/build-angular

    Commit Description
    fix - ccc8e0350 display actionable error when a style does not exist in Karma builder
    fix - 507f756c3 downlevel class private methods when targeting Safari <=v15
    fix - a0da91dba include sources in generated Sass source maps
    fix - 9fd356234 only set ngDevMode when script optimizations are enabled
    fix - 8e85f4728 update css-loader to 6.7.3
    fix - b2d4415ca update locale setting snippet to use globalThis.

    Special Thanks

    Alan Agius and Charles Lyding

    v15.0.3

    15.0.3 (2022-12-07)

    @​angular-devkit/build-angular

    Commit Description
    fix - 3d9971edb default preserve symlinks to Node.js value for esbuild
    fix - 24f4b51d2 downlevel class fields with Safari <= v15 for esbuild
    fix - 45afc42db downlevel class properties when targeting Safari <=v15
    fix - e6461badf prevent optimization adding unsupported ECMASCript features

    Special Thanks

    Charles Lyding, Dominic Elm and Paul Gschwendtner

    v15.0.2

    15.0.2 (2022-11-30)

    @​angular-devkit/build-angular

    Commit Description
    fix - 2891d5bc9 correctly set Sass quietDeps and verbose options

    @​ngtools/webpack

    Commit Description
    fix - d9cc4b028 elide unused type references

    Special Thanks

    Alan Agius and Juuso Valkeejärvi

    v15.0.1

    15.0.1 (2022-11-23)

    @​schematics/angular

    Commit Description
    fix - 48426852b show warning when a TS Config is not found during migrations

    @​angular/cli

    ... (truncated)

    Changelog

    Sourced from @​angular-devkit/build-angular's changelog.

    15.0.4 (2022-12-14)

    @​angular-devkit/build-angular

    Commit Type Description
    ccc8e0350 fix display actionable error when a style does not exist in Karma builder
    507f756c3 fix downlevel class private methods when targeting Safari <=v15
    a0da91dba fix include sources in generated
    9fd356234 fix only set ngDevMode when script optimizations are enabled
    8e85f4728 fix update css-loader to 6.7.3
    b2d4415ca fix update locale setting snippet to use globalThis.

    Special Thanks

    Alan Agius and Charles Lyding

    15.1.0-next.2 (2022-12-08)

    @​schematics/angular

    Commit Type Description
    5b18ce154 feat add guardType as an alias of implements in guard schematic
    49b313f27 fix add missing import for functional interceptor spec
    2f92fe7e5 fix add missing semicolon in functional guard/resolver/interceptor

    @​angular-devkit/build-angular

    Commit Type Description
    97716969c fix default preserve symlinks to Node.js value for esbuild
    cf2f30afc fix downlevel class fields with Safari <= v15 for esbuild
    25eaaa24b fix downlevel class properties when targeting Safari <=v15
    7a063238b fix explicitly send options to JS transformer workers
    ef99a68b4 fix prevent optimization adding unsupported ECMASCript features

    Special Thanks

    Alan Agius, Charles Lyding, Cédric Exbrayat, Dominic Elm, Doug Parker and Paul Gschwendtner

    15.0.3 (2022-12-07)

    ... (truncated)

    Commits
    • 8771258 release: cut the v15.0.4 release
    • 8e85f47 fix(@​angular-devkit/build-angular): update css-loader to 6.7.3
    • 9fd3562 fix(@​angular-devkit/build-angular): only set ngDevMode when script optimizati...
    • ccc8e03 fix(@​angular-devkit/build-angular): display actionable error when a style doe...
    • 507f756 fix(@​angular-devkit/build-angular): downlevel class private methods when targ...
    • b2d4415 fix(@​angular-devkit/build-angular): update locale setting snippet to use `glo...
    • a0da91d fix(@​angular-devkit/build-angular): include sources in generated
    • eb2a73a release: cut the v15.0.3 release
    • 3d9971e fix(@​angular-devkit/build-angular): default preserve symlinks to Node.js valu...
    • 24f4b51 fix(@​angular-devkit/build-angular): downlevel class fields with Safari <= v15...
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • conditionalExpression for greaterThan hits twice on input change with old value

    conditionalExpression for greaterThan hits twice on input change with old value

    Hello,

    I am trying to implement greaterThan comparing two custom values and what i have noticed that validator is called twice: first time with latest value, second time with old value (and since old value is latest it leads to wrong validation)

    my code:

    static greaterThan = (fieldName: string, message = 'validators.greaterThenMsg') =>
            RxwebValidators.greaterThan({
                message,
                fieldName,
                conditionalExpression: (x: any, y: any) => {
                    console.log(x);
                    console.log(y);
    
                    return false;
                },
            });
    

    form

    form: FormGroup = this.fb.group({
            timeFrom: ['', [Validator.required()]],
            timeTo: [
                '',
                [
                    Validator.required(),
                    Validator.customGreaterThan('timeFrom'),
                ],
            ],
        });
    

    values received: Screenshot 2022-12-09 at 12 27 49

    as you can see first call to validator (on value change) is with correct value and the second with previous one.

    I have implemented custom Angular style validator and everything is going fine (so this is not an issue with change detection runing multiple times o not an issue with value bying set to old one somehow)

    opened by vytautas-pranskunas- 0
  • chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /client-side/angular

    chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /client-side/angular

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Warning about usage of options and async validators

    Warning about usage of options and async validators

    Describe the bug

    When using RxFormBuilder with entities decorated with async() the following warning is issued at runtime multiple times: It looks like you're constructing using a FormControl with both an options argument and an async validators argument. Mixing these arguments will cause your async validators to be dropped. You should either put all your validators in the options object, or in separate validators arguments. For example:

    // Using validators arguments fc = new FormControl(42, Validators.required, myAsyncValidator);

    // Using AbstractControlOptions fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});

    // Do NOT mix them: async validators will be dropped! fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);

    Expected Behavior

    No warnings shown at runtime

    To Reproduce

    Create a FormGroup using an entity with synchronous and async validators.

    Url (stackblitz or plunker or other)

    Package Version

    @rxweb/[email protected]

    opened by mwe-ontec 0
Releases(v13.0.0)
  • v13.0.0(Nov 23, 2022)

  • v2.1.7(May 9, 2022)

    Bug Fixes

    • Password Validation #549
    • Angular 13 Build #542

    Enhancement

    • Display error messages with friendly names #518
    • Auto-Create Prop Object or create with default value #551
    • updateOn decorator to set validator trigger event #404

    Special thanks to @pranavirabatti for pull request.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.4(Sep 9, 2021)

    Bug Fixes

    • Show validation with custom parameters #515
    • Incorrect FormGroup validation state #510
    • Incorrect marking FormControl state #508
    • Conditional expression validation state #505 #441
    • baseConfig dataFormat missing in minDate Validation #471
    • add configured minSize value in the fileSize validator #483
    • Url Validation with subdomain #493
    • oneOf validation on string value #432

    Enhancement

    • Validate multiple values in StartsWith,EndsWith, and Contains Validator #457
    • expose date format validation #447
    • Password validation with special characters #486

    Special thanks to @branchjoshua for pull request.

    Source code(tar.gz)
    Source code(zip)
  • 2.1.0(Sep 3, 2020)

    Bug Fixes

    • Mask is invalidating the field after receiving data from the server #381
    • @date does not validate as expected #333
    • Clearing backend validation messages does not work at formGroup level #366

    Enhancement

    • Max number with value async #331
    • Async Validators #263
    • Adding a mask to a mac validator #391
    • File Extension validator to exclude list of extensions #393
    • Add getValidators() method in RxFormControl #377
    • Allow building the form with AbstractControlOptions #332
    • multilingual validation message centrally #375

    Special thanks to @Ushmidave for pull request for fixing the issue of clear the server error messages.

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0(Jul 13, 2020)

    Bug Fixes

    • Importing RxReactiveFormsModule causes Angular's built-in validation not to work synchronously #360
    • Multiple calls of valueChanges event with different conditionalExpression functions #361
    • Invalid range in character set #351
    • @toDate() does not properly handle ISODate format #342
    • When FormGroup contains a FormControl instead of RxFormControl error is thrown #346
    • validation error with zero values in angular range validator

    Enhancement

    • Optional digit in mask #335
    • Set errors after HTTP callback #338

    Special thanks to @donalfenwick for pull request for fixing the issue of range validator.

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-rc1(May 11, 2020)

  • 1.9.9(Apr 30, 2020)

    Bug Fixes

    • InvalidPipeArgument when using numeric validator #312

    Features

    • Handle ngx-translate error message keys #314
    • Conditional Disable FormControl through validator #307
    • propArray / FormArray update on updation of RxFormGroup object using patchModelValue(...) #306
    • Form Reset not working as expected #303
    • Greater Than/Less than validator to validate greater than input based on formArray #289
    • updateOn with RxFormBuilder #316
    Source code(tar.gz)
    Source code(zip)
  • v1.9.9-beta3(Mar 17, 2020)

    Bug Fixes

    • @date does not validate as expected #280
    • Bug with form control #281
    • Different behaviour in DEV vs PROD builds #292

    Features

    • Restrict startswith characters #297
    • Provide extra property for validating ISO Date #295
    Source code(tar.gz)
    Source code(zip)
  • v1.9.9-beta1(Feb 7, 2020)

  • v1.9.8(Feb 4, 2020)

    Bug Fixes

    • RxFormBuilder does not recognize Date default value #269
    • form array conditional expression not working #274
    • blank array property throws error through group method #276

    Features

    • PasswordValidator support for multi-message in global config #273
    • allow decimal value in range validator #264
    • add ability to create 'RxFormControl' using RxFormBuilder #268
    • add new validator of mask validator #275
    Source code(tar.gz)
    Source code(zip)
  • v1.9.7(Nov 19, 2019)

    Bug Fixes

    • Spanish alpha validation not working (#241 )
    • @patern validation decorator bug when class extends other class(#240 )

    Features

    • Add validator for requiredTrue(#236 )
    • Replace decmial separator during initialization of FormControl(#242 )
    Source code(tar.gz)
    Source code(zip)
  • v1.9.6(Nov 1, 2019)

  • v1.9.5(Nov 1, 2019)

    Bug Fixes

    • Dynamic config not working after build aot (#231 )
    • Group method not creating n'level FormGroup (#229 )
    • Group method not handling 'null' value of FormControl (#228 )

    Features

    • Create blank FormArray in decorator based validation (#233 )
    • async validation in template driven(#230 )
    • Locale support on alpha and alphanumeric(#92 )
    Source code(tar.gz)
    Source code(zip)
  • v1.9.4(Oct 7, 2019)

    Bug Fixes

    • Json Validator getting opposite result (#216 )
    • @prop({defaultValue}) bug (#205)
    • should work conditional validation expression in nested formgroup(#223 )

    Features

    • Hostnames with no suffix fail validation when using RxwebValidators.url()(#196 )
    Source code(tar.gz)
    Source code(zip)
  • [email protected](Sep 6, 2019)

    Bug Fixes

    • pre-value hook validation (#204 )
    • Cascading dropdown not working in nested formgroup(#202 )
    • Deep level set value 'null' which are dependent to the other dropdown (#201 )
    • Conditional Checkbox source binding(#200 )
    Source code(tar.gz)
    Source code(zip)
  • v1.9.3(Sep 6, 2019)

    Bug Fixes

    • Cannot read 'length' of undefined (#194 )
    • Compose validation decorator not working in extended class (#192 )

    Features

    • Max length validation of Array object(#184 )
    Source code(tar.gz)
    Source code(zip)
  • [email protected](Sep 4, 2019)

  • [email protected](Aug 21, 2019)

  • [email protected](Aug 14, 2019)

  • [email protected](Aug 12, 2019)

    Features

    • Model Driven Angular Reactive Dynamic Forms
      • Conditional Binding
      • Cascading Dropdown
      • Layout customization
      • Form Validation
      • Async Form Validation.
      • Error Message stratergy
      • Reset Dynamic Form
    Source code(tar.gz)
    Source code(zip)
  • v1.9.2(Aug 11, 2019)

    Bug Fixes

    • Angular 8 compatibility issue (#188 )
    • Should work conditional expression without conditional statements(#114 )
    • In time decorator 01:33 should not be accepted(#186 )

    Features

    • Merge dynamicConfig returned object with base config(#191 )
    Source code(tar.gz)
    Source code(zip)
  • v1.9.1(Jun 4, 2019)

    Bug Fixes

    • 'modifiedValue' and 'IsModified' incorrect behaviour(#180 )
    • 'includeProps' not working with deep linking object(#179 )
    • 'modifiedValue' and 'isModified' is not working more than one level formArrray(#182 )
    • pattern validation fails in template driven form(#178 )

    Features

    • Resolve entity on demand(#183 )
    • New validation decorator : compose(#185 )
    • Update Property value through autoInstanceConfig(#181 )
    • New way to build Dynamic Reactive Form(#177 )
    Source code(tar.gz)
    Source code(zip)
  • v1.9.1-beta.1(May 31, 2019)

  • v1.9.0(May 15, 2019)

    Bug Fixes

    • resetForm method not reset the value of getter/setter properties(#165 )

    Features

    • Exclude properties conditionally (#174 )
    • Extend feature in resetForm method(#167 )
    • Add value property in 'greaterThan' and 'greaterThanEqualTo' validator config(#175)
    • Nativescript support (#173 )
    • 'commit' method in RxFormGroup(#166 )
    • 'isModified' property in RxFormGroup(#168 )
    • 'isModifiedValue' property in RxFormGroup(#170 )
    • min and max time validation (#171 )
    Source code(tar.gz)
    Source code(zip)
  • v1.8.9(Apr 17, 2019)

    Bug Fixes

    • elementClass decorator not working with bracket(#159 )
    • patchModelValue method not updating the getter properties(#160 )
    • conditional expression not working with nested formgroup(#161 )
    • nested formgroup cross field validation not working(#162 )
    • corss field validation not working in extended class (#164 )

    Features

    • error binding strategy of FormControl(#163 )
    Source code(tar.gz)
    Source code(zip)
  • v1.8.8(Apr 8, 2019)

  • v1.8.7(Apr 6, 2019)

  • v1.8.6(Apr 5, 2019)

    Bug Fixes

    • Choice validator minLength fix (#154 )

    Features

    • Generic property support in propObject and propArray decorator(#153 )
    • model decorator to set the property validation configuration on the model level(#150 )
    • @elementClass decorator to set the class on element conditionally(#155 )
    • New sanitizer of prefix and suffix sanitizer(#151 )
    • Custom sanitizer to sanitize the value through custom business logic(#152 )
    Source code(tar.gz)
    Source code(zip)
  • v1.8.5(Mar 27, 2019)

  • v1.8.4(Mar 14, 2019)

    Bug Fixes

    • Discover card validation corrections(#139)
    • Compose validator not showing respective validator error message(#146)
    • 'errorMessage' isn't clear the error message, when the FormControl is valid(#144)

    Features

    • Strongly typed support FormGroup value(#140)
    • Strongly typed support on FormControl(#141)
    • Validation config return dynamically (#142)
    • New sanitizer of 'escape'(#105)
    Source code(tar.gz)
    Source code(zip)
A small tool to help you generate android projects that have a base code.

Volt Project A small tool to help you generate android projects that have a base code. Usage Change project in base directory. python volt-gen.py <pac

Victor Varenik 3 Feb 2, 2022
A custom view styling library for Android that generates the obtainStyledAttributes() and TypedArray boilerplate code for you.

DEPRECATED This project is no longer maintained. Consider using https://github.com/airbnb/paris Barber Barber is your personal custom view stylist. Si

Zac Sweers 716 Dec 30, 2022
Codegeneration tool for isomorphic server and mobile Go apps with gRPC & Protobuf. Share code between your backend, Android & iOS app! :sun_with_face:

Anakin Codegeneration tool for isomorphic server and mobile Go apps with gRPC & Protobuf. Share code between your backend, Android & iOS app! Descript

Kirill Biakov 17 Jun 25, 2020
Kotlin code generation for commercetools platform type-safe product-types, reference expansion and custom fields

Kotlin code generation for commercetools platform type-safe product-types, reference expansion and custom fields

null 8 Dec 15, 2022
NativeScript empowers you to access native platform APIs from JavaScript directly. Angular, Capacitor, Ionic, React, Svelte, Vue and you name it compatible.

NativeScript empowers you to access native APIs from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile de

NativeScript 22k Dec 31, 2022
Kirill Rakhman 4 Sep 15, 2022
Reapp is everything you need to build amazing apps with React: a collection of packages that work together, our UI kit, and a CLI that scaffolds your app and includes a server and build system.

What is it? Reapp is everything you need to build amazing apps with React: a collection of packages that work together, our UI kit, and a CLI that sca

reapp 3.4k Nov 20, 2022
Step indicator with titles/labels and tons of customizations.

PageStepIndicator was built from existing StepIndicator library developed by Layerlre . I needed a page indicator that can display title and at the sa

OGx09 27 Apr 17, 2022
📲💬 react-native-fontext is a lightweight library to integrate fonts in your React Native application that works seamlessly in android and iOS devices.

React Native Fontext react-native-fontext is a lightweight library to integrate fonts in your React Native application that works seamlessly in androi

mroads 9 Dec 3, 2021
Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻

BigImageViewer Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling

Piasy 3.9k Dec 30, 2022
Kotlin wrapper for React Test Renderer, which can be used to unit test React components in a Kotlin/JS project.

Kotlin API for React Test Renderer Kotlin wrapper for React Test Renderer, which can be used to unit test React components in a Kotlin/JS project. How

Xavier Cho 7 Jun 8, 2022
React-native-user-interface - Change React Native userinterface at runtime

react-native-user-interface change RN userinterface at runtime. Installation npm

Ahmed Eid 0 Jan 11, 2022
Free and Open Source, full-featured torrent client for Android

Free and Open Source, full-featured torrent client for Android

Yaroslav Pronin 1.3k Jan 8, 2023
Adding support for Factory boy and django packages

This plugin provides some support for Factory Boy Features autocomplete for instances created by factories references to members of instance class Not

Nazareka 3 Dec 19, 2021
A full-featured package manager and viewer for Android

App Manager Docs · Releases · Telegram Channel Features General features Fully reproducible, copylefted libre software (GPLv3+) Material design (but n

Muntashir Al-Islam 2.3k Dec 29, 2022
Turtle Graphics 🐢 implementation for Android Platform with Code Editor, Preview Screen and packages

Turtle Graphics Download Turtle is an Android Application inspired from the original Turtle Graphics and Logo, Logo is an educational programming lang

Amr Hesham 15 Dec 30, 2022
A full-featured framework that allows building android applications following the principles of Clean Architecture.

EasyMVP A powerful, and very simple MVP library with annotation processing and bytecode weaving. EasyMVP eliminates the boilerplate code for dealing w

null 1.3k Nov 19, 2022
A small, yet full-featured framework that allows building View-based Android applications

Conductor A small, yet full-featured framework that allows building View-based Android applications. Conductor provides a light-weight wrapper around

BlueLine Labs 3.9k Jan 6, 2023
A full-featured framework that allows building android applications following the principles of Clean Architecture.

EasyMVP A powerful, and very simple MVP library with annotation processing and bytecode weaving. EasyMVP eliminates the boilerplate code for dealing w

null 1.3k Nov 19, 2022