Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
appsapp-module
Advanced tools
**Attention: Don't use it in production environment. It's an alpha version for a concept study.**
Attention: Don't use it in production environment. It's an alpha version for a concept study.
This is an appsApp collection of high quality ui components with awesome backend and validation services full included. Now you build super sophisticated Angular2/Ionic2 apps using TypeScript. Supports Angular's ngc and Ahead-of-Time compiling.
Circular condition validators are the unique selling points. You gonna love it!
Once you have kickstarted your ionic or angular app, you can import appsApp to your application by running:
$ npm install appsapp-module --save
You also need mobiscroll. So please obtain a licence (see https://www.mobiscroll.com/) and then run:
npm install -g @mobiscroll/cli
Install peer dependencies if needed:
$ npm install --save angular-2-local-storage@^1.0.1
$ npm install --save angular2-uuid@^1.1.1
$ npm install --save angularfire2@5.0.0-rc.0
$ npm install --save class-transformer@^0.1.8
$ npm install --save class-validator@^0.7.3
$ npm install --save firebase@^4.6.1
$ npm install --save object-hash@1.2.0
and then from your Angular AppModule
:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import appsApp module
import { AppsappModule } from 'appsapp-module';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppsappModule.initializeApp({
apiKey: '**firebase-public-api-key**',
projectId: '**firebase-project-id**'
}, {
saved: 'Die Änderungen wurden erfolgreich gespeichert.',
processing: 'Die Verarbeitung läuft.',
wait: 'Bitte warten.',
done: 'Erfolgreich abgeschlossen.',
submitted: 'Die Daten wurden übermittelt.',
submittedInBackground: 'Die Daten wurden gespeichert und werden übermittelt, sobald eine Internetverbindung besteht.',
disconnected: 'Die Verbindung wurde unterbrochen.',
connected: 'Die Verbindung wurde wiederhergestellt.'
})
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Your component ts ends up with:
import {AppsappModuleProvider, PersistableModel, HasConditions, HasPrecision, HasLabel, IsDateRange, HasDescription} from "appsapp-module";
import {IsInt, Min, Max, IsIn} from "class-validator";
@Component({
selector: 'page-home',
template: ´
<appsapp-input [model]="myModel"></appsapp-input>
<button ion-button round outline (click)="save()" [disabled]="!myModel.hasChanges()">
Änderungen speichern
</button>
´
})
export class HomePage {
myModel: myModel;
constructor(public navCtrl: NavController, appsappModuleProvider: AppsappModuleProvider) {
this.myModel = appsappModuleProvider.new(myModel);
}
save() {
this.myModel.save();
}
}
export class myModel extends PersistableModel {
@IsInt() @Min(5) @Max(15) @HasDescription('please enter a number') number: number;
@HasConditions([{property: 'number', value: 7, validator: 'min'}]) @HasLabel('Your text') text: string = 'test';
@IsDateRange() daterange: object;
}
Congratulation, you have created your first form app with appsApp!
MIT © Michael Egli
FAQs
An awesome full-stack framework for creating mobile and desktop apps the easy way of development. Now you build super sophisticated Angular2+/Ionic apps using TypeScript.
The npm package appsapp-module receives a total of 227 weekly downloads. As such, appsapp-module popularity was classified as not popular.
We found that appsapp-module demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.