tin-spa 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ export interface Condition {
31
31
  }
32
32
  export interface Field {
33
33
  name: string;
34
- type: 'text' | 'date' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number';
34
+ type: 'text' | 'date' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number' | 'section' | 'blank';
35
35
  options?: any[];
36
36
  optionDisplay?: string;
37
37
  optionValue?: string;
@@ -1,5 +1,6 @@
1
1
  import { Field } from "./Classes";
2
2
  export declare class Core {
3
+ static camelToWords(value: string): string;
3
4
  static generateObject(fields: Field[]): {};
4
5
  static resetObject(fields: Field[], data: any): void;
5
6
  static validateObject(fields: Field[], data: any): string;
@@ -10,6 +10,6 @@ import * as i8 from "@angular/common";
10
10
  import * as i9 from "../tin-spa.module";
11
11
  export declare class SpaAdminModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaAdminModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpaAdminModule, [typeof i1.UsersComponent, typeof i2.RolesComponent, typeof i3.addRoleDialog, typeof i4.CreateAccountComponent, typeof i5.LogsComponent, typeof i6.SettingsComponent], [typeof i7.ReactiveFormsModule, typeof i8.CommonModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i9.TinSpaModule], [typeof i8.CommonModule, typeof i7.FormsModule, typeof i1.UsersComponent, typeof i2.RolesComponent, typeof i3.addRoleDialog, typeof i4.CreateAccountComponent, typeof i5.LogsComponent, typeof i6.SettingsComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaAdminModule, [typeof i1.UsersComponent, typeof i2.RolesComponent, typeof i3.addRoleDialog, typeof i4.CreateAccountComponent, typeof i5.LogsComponent, typeof i6.SettingsComponent], [typeof i7.ReactiveFormsModule, typeof i8.CommonModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i9.TinSpaModule], [typeof i8.CommonModule, typeof i7.FormsModule, typeof i9.TinSpaModule, typeof i1.UsersComponent, typeof i2.RolesComponent, typeof i3.addRoleDialog, typeof i4.CreateAccountComponent, typeof i5.LogsComponent, typeof i6.SettingsComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<SpaAdminModule>;
15
15
  }
@@ -7,6 +7,6 @@ import * as i5 from "@angular/common";
7
7
  import * as i6 from "../tin-spa.module";
8
8
  export declare class SpaIndexModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaIndexModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpaIndexModule, [typeof i1.LoginComponent, typeof i2.SignupComponent, typeof i3.RecoverAccountComponent], [typeof i4.ReactiveFormsModule, typeof i5.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i6.TinSpaModule], [typeof i5.CommonModule, typeof i4.FormsModule, typeof i1.LoginComponent, typeof i2.SignupComponent, typeof i3.RecoverAccountComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaIndexModule, [typeof i1.LoginComponent, typeof i2.SignupComponent, typeof i3.RecoverAccountComponent], [typeof i4.ReactiveFormsModule, typeof i5.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i6.TinSpaModule], [typeof i5.CommonModule, typeof i4.FormsModule, typeof i6.TinSpaModule, typeof i1.LoginComponent, typeof i2.SignupComponent, typeof i3.RecoverAccountComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SpaIndexModule>;
12
12
  }
@@ -6,6 +6,6 @@ import * as i4 from "@angular/common";
6
6
  import * as i5 from "../tin-spa.module";
7
7
  export declare class SpaUserModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaUserModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpaUserModule, [typeof i1.ChangePasswordComponent, typeof i2.ProfileComponent], [typeof i3.ReactiveFormsModule, typeof i4.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i5.TinSpaModule], [typeof i4.CommonModule, typeof i3.FormsModule, typeof i1.ChangePasswordComponent, typeof i2.ProfileComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaUserModule, [typeof i1.ChangePasswordComponent, typeof i2.ProfileComponent], [typeof i3.ReactiveFormsModule, typeof i4.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i5.TinSpaModule], [typeof i4.CommonModule, typeof i3.FormsModule, typeof i5.TinSpaModule, typeof i1.ChangePasswordComponent, typeof i2.ProfileComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<SpaUserModule>;
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tin-spa",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0"