Core
npm install @weplanx/ngWpxService
Set Assets
@Component({
selector: 'app-root',
template: ` <router-outlet></router-outlet> `
})
export class AppComponent implements OnInit {
constructor(
private app: AppService,
private wpx: WpxService,
private icon: NzIconService
) {}
ngOnInit(): void {
this.app.ping().subscribe(() => {
console.debug('XSRF:ok');
});
this.icon.changeAssetsSource(environment.cdn);
this.wpx.setAssets(environment.cdn);
}
}Set Upload
Create Model
Set Locale
Load Script
Get Values
Update Values
Delete Values
Transaction
Commit Transaction
Get COS Pre-signed
Get COS Picture Info
WpxStoreService
Set
Get
Remove
Clear
WpxApi<T>
Create
BulkCreate
Size
Exists
Find
FindOne
FindById
Update
UpdateById
Replace
Delete
BulkDelete
Sort
WpxItems<T>
Check
Uncheck
Checked All
WpxModel<T>
Ready
Fetch Data
Check
Uncheck
Checked All
Last updated