Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngxs/form-plugin

Package Overview
Dependencies
Maintainers
2
Versions
1179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngxs/form-plugin - npm Package Compare versions

Comparing version 2.0.0-dev.00f9137 to 2.0.0-dev.9d89942

4

esm2015/ngxs-form-plugin.js

@@ -158,4 +158,2 @@ import { Injectable, Directive, Input, ChangeDetectorRef, NgModule } from '@angular/core';

.subscribe(model => {
// if (!this._updating) {
// this._updating = false;
if (model) {

@@ -165,3 +163,2 @@ this._formGroupDirective.form.patchValue(model);

}
// }
});

@@ -201,3 +198,2 @@ this._store

.subscribe(value => {
// this._updating = true;
this._store.dispatch([

@@ -204,0 +200,0 @@ new UpdateFormValue({

2

ngxs-form-plugin.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgxsFormPluginModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":7,"character":12}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgxsFormPluginModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngxs/store","name":"NGXS_PLUGINS","line":17,"character":19},"useClass":{"__symbolic":"reference","name":"NgxsFormPlugin"},"multi":true}]}}}},"NgxsFormPlugin":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"handle":[{"__symbolic":"method"}]}},"UpdateFormStatus":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":1,"character":30,"module":"./src/actions"}]}]}},"UpdateFormValue":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":5,"character":30,"module":"./src/actions"}]}]}},"UpdateForm":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":10,"character":20,"module":"./src/actions"}]}]}},"UpdateFormDirty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":21,"character":30,"module":"./src/actions"}]}]}},"SetFormDirty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"SetFormPristine":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"UpdateFormErrors":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":33,"character":30,"module":"./src/actions"}]}]}},"SetFormDisabled":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"SetFormEnabled":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":8,"character":1},"arguments":[{"selector":"[ngxsForm]"}]}],"members":{"path":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3},"arguments":["ngxsForm"]}]}],"debounce":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3},"arguments":["ngxsFormDebounce"]}]}],"clearDestroy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3},"arguments":["ngxsFormClearOnDestroy"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":17,"character":30},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":17,"character":66},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":17,"character":99}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"NgxsFormPluginModule":"./src/form.module","NgxsFormPlugin":"./src/form.plugin","UpdateFormStatus":"./src/actions","UpdateFormValue":"./src/actions","UpdateForm":"./src/actions","UpdateFormDirty":"./src/actions","SetFormDirty":"./src/actions","SetFormPristine":"./src/actions","UpdateFormErrors":"./src/actions","SetFormDisabled":"./src/actions","SetFormEnabled":"./src/actions","ɵa":"./src/directive"},"importAs":"@ngxs/form-plugin"}
{"__symbolic":"module","version":4,"metadata":{"NgxsFormPluginModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":7,"character":12}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgxsFormPluginModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngxs/store","name":"NGXS_PLUGINS","line":17,"character":19},"useClass":{"__symbolic":"reference","name":"NgxsFormPlugin"},"multi":true}]}}}},"NgxsFormPlugin":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"handle":[{"__symbolic":"method"}]}},"UpdateFormStatus":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":1,"character":30,"module":"./src/actions"}]}]}},"UpdateFormValue":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":5,"character":30,"module":"./src/actions"}]}]}},"UpdateForm":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":10,"character":20,"module":"./src/actions"}]}]}},"UpdateFormDirty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":21,"character":30,"module":"./src/actions"}]}]}},"SetFormDirty":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"SetFormPristine":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"UpdateFormErrors":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":33,"character":30,"module":"./src/actions"}]}]}},"SetFormDisabled":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"SetFormEnabled":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":8,"character":1},"arguments":[{"selector":"[ngxsForm]"}]}],"members":{"path":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3},"arguments":["ngxsForm"]}]}],"debounce":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3},"arguments":["ngxsFormDebounce"]}]}],"clearDestroy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3},"arguments":["ngxsFormClearOnDestroy"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":16,"character":30},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":16,"character":66},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":16,"character":99}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"NgxsFormPluginModule":"./src/form.module","NgxsFormPlugin":"./src/form.plugin","UpdateFormStatus":"./src/actions","UpdateFormValue":"./src/actions","UpdateForm":"./src/actions","UpdateFormDirty":"./src/actions","SetFormDirty":"./src/actions","SetFormPristine":"./src/actions","UpdateFormErrors":"./src/actions","SetFormDisabled":"./src/actions","SetFormEnabled":"./src/actions","ɵa":"./src/directive"},"importAs":"@ngxs/form-plugin"}
{
"name": "@ngxs/form-plugin",
"description": "form plugin for @ngxs/store",
"version": "2.0.0-dev.00f9137",
"version": "2.0.0-dev.9d89942",
"peerDependencies": {

@@ -6,0 +6,0 @@ "@angular/core": "^5.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc