asv-hlps 1.2.47 → 1.2.49

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.
@@ -11,9 +11,9 @@ export interface Estate {
11
11
  ref: string;
12
12
  createdAt: Date;
13
13
  description: string;
14
- salePrice: number;
15
- cat: EstateCat;
16
- por: EstatePor;
14
+ salePrice?: number | string;
15
+ cat?: EstateCat;
16
+ por?: EstatePor;
17
17
  region?: Region;
18
18
  city?: City;
19
19
  quarter?: Quarter;
@@ -1,7 +1,7 @@
1
1
  import { NaAc } from "./shared/NaAc";
2
2
  import { NaCoAc } from "./shared/NaCoAc";
3
3
  import { NaCoShortAc } from "./shared/NaCoShortAc";
4
- import { colNa, colNaCo, colNaCoSh, FormPropsType, HeaderTableColumnType, IPath, MenuItemType } from "./types/Type";
4
+ import { IPath } from "./types/Type";
5
5
  export * from "./entities/auth/index";
6
6
  export * from "./entities/acts/index";
7
7
  export * from "./entities/bills/index";
@@ -15,4 +15,4 @@ export * from "./entities/sales/index";
15
15
  export * from "./entities/users/index";
16
16
  export * from "./entities/utilities/index";
17
17
  export * from "./entities/world/index";
18
- export { NaAc, NaCoAc, NaCoShortAc, MenuItemType, HeaderTableColumnType, IPath, colNa, colNaCo, colNaCoSh, FormPropsType };
18
+ export { NaAc, NaCoAc, NaCoShortAc, IPath };
@@ -14,11 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.colNaCoSh = exports.colNaCo = exports.colNa = void 0;
18
- const Type_1 = require("./types/Type");
19
- Object.defineProperty(exports, "colNa", { enumerable: true, get: function () { return Type_1.colNa; } });
20
- Object.defineProperty(exports, "colNaCo", { enumerable: true, get: function () { return Type_1.colNaCo; } });
21
- Object.defineProperty(exports, "colNaCoSh", { enumerable: true, get: function () { return Type_1.colNaCoSh; } });
22
17
  __exportStar(require("./entities/auth/index"), exports);
23
18
  __exportStar(require("./entities/acts/index"), exports);
24
19
  __exportStar(require("./entities/bills/index"), exports);
@@ -1,35 +1,4 @@
1
1
  import { AuthParam } from "../../auth";
2
- export interface MenuItemType {
3
- key: string;
4
- label: string;
5
- isTitle?: boolean;
6
- icon?: string;
7
- url?: string;
8
- badge?: {
9
- variant: string;
10
- text: string;
11
- };
12
- parentKey?: string;
13
- target?: string;
14
- children?: MenuItemType[];
15
- }
16
- export interface BtnType {
17
- id: number | string;
18
- label: any;
19
- icon?: string;
20
- size?: "sm" | "lg";
21
- disabled?: boolean;
22
- textColor?: "text-danger" | "text-success" | "text-primary" | "text-secondary";
23
- color?: "danger" | "success" | "primary" | "secondary" | string;
24
- divider?: boolean;
25
- }
26
- export interface DropMenuType {
27
- label: string;
28
- icon?: string;
29
- color?: "primary" | "success" | "info" | "danger";
30
- ellipsis?: "v" | "h";
31
- drops: BtnType[];
32
- }
33
2
  export interface IPath {
34
3
  id: number;
35
4
  key?: string;
@@ -41,40 +10,3 @@ export interface IPath {
41
10
  auth?: AuthParam;
42
11
  ms?: boolean;
43
12
  }
44
- export declare type HeaderTableColumnType = {
45
- thLabel: any;
46
- accessor?: string;
47
- content?: any;
48
- style?: any;
49
- auth?: AuthParam;
50
- tooltipH?: any;
51
- tooltipB?: any;
52
- };
53
- export declare type ReactTableColumnType = {
54
- Header: any;
55
- accessor: string;
56
- sort?: boolean;
57
- Cell?: any;
58
- className?: string;
59
- auth?: AuthParam;
60
- };
61
- export declare const colNa: HeaderTableColumnType[];
62
- export declare const colNaCo: HeaderTableColumnType[];
63
- export declare const colNaCoSh: HeaderTableColumnType[];
64
- export declare type FormPropsType<T> = {
65
- onSubmitForm?: (value: any) => any;
66
- onCancelForm?: (value: any) => any;
67
- tob?: T;
68
- url?: string;
69
- };
70
- export interface TabContentType {
71
- paths: IPath[];
72
- variant?: "tabs" | "pills";
73
- pgTitle?: string;
74
- onSelectedTab?: () => void;
75
- auth?: any;
76
- child?: boolean;
77
- hasChild?: boolean;
78
- justify?: boolean;
79
- bordered?: boolean;
80
- }
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.colNaCoSh = exports.colNaCo = exports.colNa = void 0;
4
- exports.colNa = [{ thLabel: "name", accessor: "name" }];
5
- exports.colNaCo = [...exports.colNa, { thLabel: "code", accessor: "code" }];
6
- exports.colNaCoSh = [...exports.colNaCo, { thLabel: "shortname", accessor: "shortname" }];
@@ -11,9 +11,9 @@ export interface Estate {
11
11
  ref: string;
12
12
  createdAt: Date;
13
13
  description: string;
14
- salePrice: number;
15
- cat: EstateCat;
16
- por: EstatePor;
14
+ salePrice?: number | string;
15
+ cat?: EstateCat;
16
+ por?: EstatePor;
17
17
  region?: Region;
18
18
  city?: City;
19
19
  quarter?: Quarter;
@@ -1,7 +1,7 @@
1
1
  import { NaAc } from "./shared/NaAc";
2
2
  import { NaCoAc } from "./shared/NaCoAc";
3
3
  import { NaCoShortAc } from "./shared/NaCoShortAc";
4
- import { colNa, colNaCo, colNaCoSh, FormPropsType, HeaderTableColumnType, IPath, MenuItemType } from "./types/Type";
4
+ import { IPath } from "./types/Type";
5
5
  export * from "./entities/auth/index";
6
6
  export * from "./entities/acts/index";
7
7
  export * from "./entities/bills/index";
@@ -15,4 +15,4 @@ export * from "./entities/sales/index";
15
15
  export * from "./entities/users/index";
16
16
  export * from "./entities/utilities/index";
17
17
  export * from "./entities/world/index";
18
- export { NaAc, NaCoAc, NaCoShortAc, MenuItemType, HeaderTableColumnType, IPath, colNa, colNaCo, colNaCoSh, FormPropsType };
18
+ export { NaAc, NaCoAc, NaCoShortAc, IPath };
@@ -1,4 +1,3 @@
1
- import { colNa, colNaCo, colNaCoSh } from "./types/Type";
2
1
  export * from "./entities/auth/index";
3
2
  export * from "./entities/acts/index";
4
3
  export * from "./entities/bills/index";
@@ -12,4 +11,3 @@ export * from "./entities/sales/index";
12
11
  export * from "./entities/users/index";
13
12
  export * from "./entities/utilities/index";
14
13
  export * from "./entities/world/index";
15
- export { colNa, colNaCo, colNaCoSh };
@@ -1,35 +1,4 @@
1
1
  import { AuthParam } from "../../auth";
2
- export interface MenuItemType {
3
- key: string;
4
- label: string;
5
- isTitle?: boolean;
6
- icon?: string;
7
- url?: string;
8
- badge?: {
9
- variant: string;
10
- text: string;
11
- };
12
- parentKey?: string;
13
- target?: string;
14
- children?: MenuItemType[];
15
- }
16
- export interface BtnType {
17
- id: number | string;
18
- label: any;
19
- icon?: string;
20
- size?: "sm" | "lg";
21
- disabled?: boolean;
22
- textColor?: "text-danger" | "text-success" | "text-primary" | "text-secondary";
23
- color?: "danger" | "success" | "primary" | "secondary" | string;
24
- divider?: boolean;
25
- }
26
- export interface DropMenuType {
27
- label: string;
28
- icon?: string;
29
- color?: "primary" | "success" | "info" | "danger";
30
- ellipsis?: "v" | "h";
31
- drops: BtnType[];
32
- }
33
2
  export interface IPath {
34
3
  id: number;
35
4
  key?: string;
@@ -41,40 +10,3 @@ export interface IPath {
41
10
  auth?: AuthParam;
42
11
  ms?: boolean;
43
12
  }
44
- export declare type HeaderTableColumnType = {
45
- thLabel: any;
46
- accessor?: string;
47
- content?: any;
48
- style?: any;
49
- auth?: AuthParam;
50
- tooltipH?: any;
51
- tooltipB?: any;
52
- };
53
- export declare type ReactTableColumnType = {
54
- Header: any;
55
- accessor: string;
56
- sort?: boolean;
57
- Cell?: any;
58
- className?: string;
59
- auth?: AuthParam;
60
- };
61
- export declare const colNa: HeaderTableColumnType[];
62
- export declare const colNaCo: HeaderTableColumnType[];
63
- export declare const colNaCoSh: HeaderTableColumnType[];
64
- export declare type FormPropsType<T> = {
65
- onSubmitForm?: (value: any) => any;
66
- onCancelForm?: (value: any) => any;
67
- tob?: T;
68
- url?: string;
69
- };
70
- export interface TabContentType {
71
- paths: IPath[];
72
- variant?: "tabs" | "pills";
73
- pgTitle?: string;
74
- onSelectedTab?: () => void;
75
- auth?: any;
76
- child?: boolean;
77
- hasChild?: boolean;
78
- justify?: boolean;
79
- bordered?: boolean;
80
- }
@@ -1,3 +1 @@
1
- export const colNa = [{ thLabel: "name", accessor: "name" }];
2
- export const colNaCo = [...colNa, { thLabel: "code", accessor: "code" }];
3
- export const colNaCoSh = [...colNaCo, { thLabel: "shortname", accessor: "shortname" }];
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps",
3
- "version": "1.2.47",
3
+ "version": "1.2.49",
4
4
  "description": "helpers",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",