asv-hlps 1.2.51 → 1.2.53

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.
Files changed (55) hide show
  1. package/lib/cjs/core/estates/hlpEstate.d.ts +2 -2
  2. package/lib/cjs/core/estates/index.d.ts +1 -1
  3. package/lib/cjs/core/estates/index.js +1 -1
  4. package/lib/cjs/core/estates/pipes/estate-pipe.d.ts +1 -1
  5. package/lib/cjs/core/estates/pipes/list-estate-pipe.d.ts +1 -1
  6. package/lib/cjs/models/entities/bills/Bill.d.ts +1 -1
  7. package/lib/cjs/models/entities/estates/Estate.d.ts +24 -0
  8. package/lib/cjs/models/entities/estates/Estate.js +2 -0
  9. package/lib/cjs/models/entities/estates/EstateAsset.d.ts +7 -0
  10. package/lib/cjs/models/entities/estates/EstateAsset.js +2 -0
  11. package/lib/cjs/models/entities/estates/EstateCat.d.ts +3 -0
  12. package/lib/cjs/models/entities/estates/EstateCat.js +2 -0
  13. package/lib/cjs/models/entities/estates/EstateElt.d.ts +3 -0
  14. package/lib/cjs/models/entities/estates/EstateElt.js +2 -0
  15. package/lib/cjs/models/entities/estates/EstateLevel.d.ts +3 -0
  16. package/lib/cjs/models/entities/estates/EstateLevel.js +2 -0
  17. package/lib/cjs/models/entities/estates/EstatePor.d.ts +3 -0
  18. package/lib/cjs/models/entities/estates/EstatePor.js +2 -0
  19. package/lib/cjs/models/entities/estates/Housing.d.ts +17 -0
  20. package/lib/cjs/models/entities/estates/Housing.js +2 -0
  21. package/lib/cjs/models/entities/estates/HousingRented.d.ts +15 -0
  22. package/lib/cjs/models/entities/estates/HousingRented.js +2 -0
  23. package/lib/cjs/models/entities/estates/index.d.ts +9 -0
  24. package/lib/cjs/models/entities/estates/index.js +2 -0
  25. package/lib/cjs/models/entities/users/UserNotatial.d.ts +2 -2
  26. package/lib/cjs/models/types/Type.d.ts +2 -0
  27. package/lib/cjs/services/authService.d.ts +4 -4
  28. package/lib/esm/core/estates/hlpEstate.d.ts +2 -2
  29. package/lib/esm/core/estates/index.d.ts +1 -1
  30. package/lib/esm/core/estates/index.js +1 -1
  31. package/lib/esm/core/estates/pipes/estate-pipe.d.ts +1 -1
  32. package/lib/esm/core/estates/pipes/list-estate-pipe.d.ts +1 -1
  33. package/lib/esm/models/entities/bills/Bill.d.ts +1 -1
  34. package/lib/esm/models/entities/estates/Estate.d.ts +24 -0
  35. package/lib/esm/models/entities/estates/Estate.js +1 -0
  36. package/lib/esm/models/entities/estates/EstateAsset.d.ts +7 -0
  37. package/lib/esm/models/entities/estates/EstateAsset.js +1 -0
  38. package/lib/esm/models/entities/estates/EstateCat.d.ts +3 -0
  39. package/lib/esm/models/entities/estates/EstateCat.js +1 -0
  40. package/lib/esm/models/entities/estates/EstateElt.d.ts +3 -0
  41. package/lib/esm/models/entities/estates/EstateElt.js +1 -0
  42. package/lib/esm/models/entities/estates/EstateLevel.d.ts +3 -0
  43. package/lib/esm/models/entities/estates/EstateLevel.js +1 -0
  44. package/lib/esm/models/entities/estates/EstatePor.d.ts +3 -0
  45. package/lib/esm/models/entities/estates/EstatePor.js +1 -0
  46. package/lib/esm/models/entities/estates/Housing.d.ts +17 -0
  47. package/lib/esm/models/entities/estates/Housing.js +1 -0
  48. package/lib/esm/models/entities/estates/HousingRented.d.ts +15 -0
  49. package/lib/esm/models/entities/estates/HousingRented.js +1 -0
  50. package/lib/esm/models/entities/estates/index.d.ts +9 -0
  51. package/lib/esm/models/entities/estates/index.js +1 -0
  52. package/lib/esm/models/entities/users/UserNotatial.d.ts +2 -2
  53. package/lib/esm/models/types/Type.d.ts +2 -0
  54. package/lib/esm/services/authService.d.ts +4 -4
  55. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { Estate } from "./models/Estate";
2
- import { Housing } from "./models/Housing";
1
+ import { Estate } from "../../models/entities/estates/Estate";
2
+ import { Housing } from "../../models/entities/estates/Housing";
3
3
  declare class HlpEstate {
4
4
  nbHousings(estate: Estate): number;
5
5
  totalHousings(estates: Estate[]): number;
@@ -1,5 +1,5 @@
1
1
  import HlpEstate from "./hlpEstate";
2
2
  import EstatePipe from "./pipes/estate-pipe";
3
3
  import ListEstatePipe from "./pipes/estate-pipe";
4
- export * from "../estates/models/index";
4
+ export * from "../../models/entities/estates/index";
5
5
  export { HlpEstate, EstatePipe, ListEstatePipe };
@@ -24,4 +24,4 @@ const estate_pipe_1 = __importDefault(require("./pipes/estate-pipe"));
24
24
  exports.EstatePipe = estate_pipe_1.default;
25
25
  const estate_pipe_2 = __importDefault(require("./pipes/estate-pipe"));
26
26
  exports.ListEstatePipe = estate_pipe_2.default;
27
- __exportStar(require("../estates/models/index"), exports);
27
+ __exportStar(require("../../models/entities/estates/index"), exports);
@@ -1,4 +1,4 @@
1
- import { Estate } from "../models/Estate";
1
+ import { Estate } from "../../../models/entities/estates/Estate";
2
2
  declare class EstatePipe {
3
3
  transform(estate: Estate, params: "housings" | "lodgers"): number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Estate } from "../models/Estate";
1
+ import { Estate } from "../../../models/entities/estates/Estate";
2
2
  declare class ListEstatePipe {
3
3
  transform(estates: Estate[], params: "housings" | "lodgers"): number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { HousingRented } from "../../../core/estates/models/HousingRented";
1
+ import { HousingRented } from "../estates/HousingRented";
2
2
  import { Act } from "../acts/Act";
3
3
  import { Entry } from "../comptas/Entry";
4
4
  import { Sale } from "../sales/Sale";
@@ -0,0 +1,24 @@
1
+ import { User } from "../users/User";
2
+ import { City } from "../world/City";
3
+ import { Quarter } from "../world/Quarter";
4
+ import { Region } from "../world/Region";
5
+ import { EstateAsset } from "./EstateAsset";
6
+ import { EstateCat } from "./EstateCat";
7
+ import { EstatePor } from "./EstatePor";
8
+ import { Housing } from "./Housing";
9
+ export interface Estate {
10
+ id: number;
11
+ ref: string;
12
+ createdAt: Date;
13
+ description: string;
14
+ salePrice?: number | string;
15
+ cat?: EstateCat;
16
+ por?: EstatePor;
17
+ region?: Region;
18
+ city?: City;
19
+ quarter?: Quarter;
20
+ prop?: User;
21
+ isActive?: boolean;
22
+ housings?: Housing[];
23
+ assets?: EstateAsset[];
24
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface EstateAsset {
2
+ id: number;
3
+ name: string;
4
+ elt: string;
5
+ qtity: number;
6
+ size: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstateCat extends NaCoAc {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstateElt extends NaCoAc {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstateLevel extends NaCoAc {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstatePor extends NaCoAc {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import { User } from "../users/User";
2
+ import { Estate } from "./Estate";
3
+ import { HousingRented } from "./HousingRented";
4
+ export interface Housing {
5
+ id: number;
6
+ createdAt: Date;
7
+ description: string;
8
+ ref: string;
9
+ price: number;
10
+ deposit: number;
11
+ chargesPrice: number;
12
+ isActive: boolean;
13
+ estate: Estate;
14
+ lodger: User;
15
+ encoder: User;
16
+ rented: HousingRented;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { User } from "../users/User";
2
+ import { Housing } from "./Housing";
3
+ export interface HousingRented {
4
+ id: number;
5
+ dateIn: Date;
6
+ dateOut: Date;
7
+ price: number;
8
+ deposit: number;
9
+ prepaid: number;
10
+ lodger?: User;
11
+ lodgerId?: number;
12
+ housingId?: number;
13
+ housing?: Housing;
14
+ encoder?: User;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { Estate } from "./Estate";
2
+ import { EstateAsset } from "./EstateAsset";
3
+ import { EstateCat } from "./EstateCat";
4
+ import { EstateElt } from "./EstateElt";
5
+ import { EstateLevel } from "./EstateLevel";
6
+ import { EstatePor } from "./EstatePor";
7
+ import { Housing } from "./Housing";
8
+ import { HousingRented } from "./HousingRented";
9
+ export { Estate, EstateAsset, EstateCat, EstateElt, EstateLevel, EstatePor, Housing, HousingRented };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { Estate } from "../../../core/estates/models/Estate";
2
- import { Housing } from "../../../core/estates/models/Housing";
1
+ import { Estate } from "../estates/Estate";
2
+ import { Housing } from "../estates/Housing";
3
3
  import { UserAbs } from "./UserAbs";
4
4
  export interface UserNotarial extends UserAbs {
5
5
  estates?: Estate[];
@@ -16,4 +16,6 @@ export declare type HeaderTableColumnType = {
16
16
  accessor?: any;
17
17
  style?: any;
18
18
  auth?: AuthParam;
19
+ tooltipH?: any;
20
+ tooltipB?: any;
19
21
  };
@@ -1,4 +1,8 @@
1
1
  import { AuthParam } from "../auth";
2
+ declare type LoginType = {
3
+ username: string;
4
+ password: string;
5
+ };
2
6
  export declare class AuthService {
3
7
  tokenKey: string;
4
8
  authStes: string[];
@@ -13,8 +17,4 @@ export declare class AuthService {
13
17
  authUser: () => unknown;
14
18
  getAuth: (param?: AuthParam) => boolean;
15
19
  }
16
- declare type LoginType = {
17
- username: string;
18
- password: string;
19
- };
20
20
  export {};
@@ -1,5 +1,5 @@
1
- import { Estate } from "./models/Estate";
2
- import { Housing } from "./models/Housing";
1
+ import { Estate } from "../../models/entities/estates/Estate";
2
+ import { Housing } from "../../models/entities/estates/Housing";
3
3
  declare class HlpEstate {
4
4
  nbHousings(estate: Estate): number;
5
5
  totalHousings(estates: Estate[]): number;
@@ -1,5 +1,5 @@
1
1
  import HlpEstate from "./hlpEstate";
2
2
  import EstatePipe from "./pipes/estate-pipe";
3
3
  import ListEstatePipe from "./pipes/estate-pipe";
4
- export * from "../estates/models/index";
4
+ export * from "../../models/entities/estates/index";
5
5
  export { HlpEstate, EstatePipe, ListEstatePipe };
@@ -1,5 +1,5 @@
1
1
  import HlpEstate from "./hlpEstate";
2
2
  import EstatePipe from "./pipes/estate-pipe";
3
3
  import ListEstatePipe from "./pipes/estate-pipe";
4
- export * from "../estates/models/index";
4
+ export * from "../../models/entities/estates/index";
5
5
  export { HlpEstate, EstatePipe, ListEstatePipe };
@@ -1,4 +1,4 @@
1
- import { Estate } from "../models/Estate";
1
+ import { Estate } from "../../../models/entities/estates/Estate";
2
2
  declare class EstatePipe {
3
3
  transform(estate: Estate, params: "housings" | "lodgers"): number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Estate } from "../models/Estate";
1
+ import { Estate } from "../../../models/entities/estates/Estate";
2
2
  declare class ListEstatePipe {
3
3
  transform(estates: Estate[], params: "housings" | "lodgers"): number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { HousingRented } from "../../../core/estates/models/HousingRented";
1
+ import { HousingRented } from "../estates/HousingRented";
2
2
  import { Act } from "../acts/Act";
3
3
  import { Entry } from "../comptas/Entry";
4
4
  import { Sale } from "../sales/Sale";
@@ -0,0 +1,24 @@
1
+ import { User } from "../users/User";
2
+ import { City } from "../world/City";
3
+ import { Quarter } from "../world/Quarter";
4
+ import { Region } from "../world/Region";
5
+ import { EstateAsset } from "./EstateAsset";
6
+ import { EstateCat } from "./EstateCat";
7
+ import { EstatePor } from "./EstatePor";
8
+ import { Housing } from "./Housing";
9
+ export interface Estate {
10
+ id: number;
11
+ ref: string;
12
+ createdAt: Date;
13
+ description: string;
14
+ salePrice?: number | string;
15
+ cat?: EstateCat;
16
+ por?: EstatePor;
17
+ region?: Region;
18
+ city?: City;
19
+ quarter?: Quarter;
20
+ prop?: User;
21
+ isActive?: boolean;
22
+ housings?: Housing[];
23
+ assets?: EstateAsset[];
24
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface EstateAsset {
2
+ id: number;
3
+ name: string;
4
+ elt: string;
5
+ qtity: number;
6
+ size: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstateCat extends NaCoAc {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstateElt extends NaCoAc {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstateLevel extends NaCoAc {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { NaCoAc } from "../../shared/NaCoAc";
2
+ export interface EstatePor extends NaCoAc {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ import { User } from "../users/User";
2
+ import { Estate } from "./Estate";
3
+ import { HousingRented } from "./HousingRented";
4
+ export interface Housing {
5
+ id: number;
6
+ createdAt: Date;
7
+ description: string;
8
+ ref: string;
9
+ price: number;
10
+ deposit: number;
11
+ chargesPrice: number;
12
+ isActive: boolean;
13
+ estate: Estate;
14
+ lodger: User;
15
+ encoder: User;
16
+ rented: HousingRented;
17
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import { User } from "../users/User";
2
+ import { Housing } from "./Housing";
3
+ export interface HousingRented {
4
+ id: number;
5
+ dateIn: Date;
6
+ dateOut: Date;
7
+ price: number;
8
+ deposit: number;
9
+ prepaid: number;
10
+ lodger?: User;
11
+ lodgerId?: number;
12
+ housingId?: number;
13
+ housing?: Housing;
14
+ encoder?: User;
15
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Estate } from "./Estate";
2
+ import { EstateAsset } from "./EstateAsset";
3
+ import { EstateCat } from "./EstateCat";
4
+ import { EstateElt } from "./EstateElt";
5
+ import { EstateLevel } from "./EstateLevel";
6
+ import { EstatePor } from "./EstatePor";
7
+ import { Housing } from "./Housing";
8
+ import { HousingRented } from "./HousingRented";
9
+ export { Estate, EstateAsset, EstateCat, EstateElt, EstateLevel, EstatePor, Housing, HousingRented };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
- import { Estate } from "../../../core/estates/models/Estate";
2
- import { Housing } from "../../../core/estates/models/Housing";
1
+ import { Estate } from "../estates/Estate";
2
+ import { Housing } from "../estates/Housing";
3
3
  import { UserAbs } from "./UserAbs";
4
4
  export interface UserNotarial extends UserAbs {
5
5
  estates?: Estate[];
@@ -16,4 +16,6 @@ export declare type HeaderTableColumnType = {
16
16
  accessor?: any;
17
17
  style?: any;
18
18
  auth?: AuthParam;
19
+ tooltipH?: any;
20
+ tooltipB?: any;
19
21
  };
@@ -1,4 +1,8 @@
1
1
  import { AuthParam } from "../auth";
2
+ declare type LoginType = {
3
+ username: string;
4
+ password: string;
5
+ };
2
6
  export declare class AuthService {
3
7
  tokenKey: string;
4
8
  authStes: string[];
@@ -13,8 +17,4 @@ export declare class AuthService {
13
17
  authUser: () => unknown;
14
18
  getAuth: (param?: AuthParam) => boolean;
15
19
  }
16
- declare type LoginType = {
17
- username: string;
18
- password: string;
19
- };
20
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps",
3
- "version": "1.2.51",
3
+ "version": "1.2.53",
4
4
  "description": "helpers",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",