@win2win/shared 1.0.132 → 1.0.134

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 (32) hide show
  1. package/dist/helpers/formatters.js +1 -0
  2. package/dist/interfaces/index.d.ts +0 -1
  3. package/dist/interfaces/index.js +0 -1
  4. package/package.json +1 -1
  5. package/dist/interfaces/screen_home/aws-config.d.ts +0 -5
  6. package/dist/interfaces/screen_home/aws-config.js +0 -2
  7. package/dist/interfaces/screen_home/config-home.d.ts +0 -15
  8. package/dist/interfaces/screen_home/config-home.js +0 -2
  9. package/dist/interfaces/screen_home/datasource-option.d.ts +0 -12
  10. package/dist/interfaces/screen_home/datasource-option.js +0 -2
  11. package/dist/interfaces/screen_home/footer-config.d.ts +0 -7
  12. package/dist/interfaces/screen_home/footer-config.js +0 -2
  13. package/dist/interfaces/screen_home/footer-variant-config.d.ts +0 -8
  14. package/dist/interfaces/screen_home/footer-variant-config.js +0 -2
  15. package/dist/interfaces/screen_home/google-config.d.ts +0 -3
  16. package/dist/interfaces/screen_home/google-config.js +0 -2
  17. package/dist/interfaces/screen_home/index.d.ts +0 -13
  18. package/dist/interfaces/screen_home/index.js +0 -29
  19. package/dist/interfaces/screen_home/layout-home-config.d.ts +0 -4
  20. package/dist/interfaces/screen_home/layout-home-config.js +0 -2
  21. package/dist/interfaces/screen_home/layouts-config.d.ts +0 -14
  22. package/dist/interfaces/screen_home/layouts-config.js +0 -2
  23. package/dist/interfaces/screen_home/logo-config.d.ts +0 -3
  24. package/dist/interfaces/screen_home/logo-config.js +0 -2
  25. package/dist/interfaces/screen_home/mobile-config.d.ts +0 -3
  26. package/dist/interfaces/screen_home/mobile-config.js +0 -2
  27. package/dist/interfaces/screen_home/role-config.d.ts +0 -10
  28. package/dist/interfaces/screen_home/role-config.js +0 -2
  29. package/dist/interfaces/screen_home/sca-config.d.ts +0 -10
  30. package/dist/interfaces/screen_home/sca-config.js +0 -2
  31. package/dist/interfaces/screen_home/toolbar-config.d.ts +0 -8
  32. package/dist/interfaces/screen_home/toolbar-config.js +0 -2
@@ -17,6 +17,7 @@ function deserialize(stringFn, options) {
17
17
  return run ? runableFn() : runableFn;
18
18
  }
19
19
  catch (error) {
20
+ console.log("Error deserializing function:" + stringFn, { options });
20
21
  console.log(error);
21
22
  return run ? null : () => null;
22
23
  }
@@ -4,5 +4,4 @@ export * from './importaciones';
4
4
  export * from './layout_documentos';
5
5
  export * from './liquidaciones';
6
6
  export * from './props';
7
- export * from './screen_home';
8
7
  export * from './shared';
@@ -20,5 +20,4 @@ __exportStar(require("./importaciones"), exports);
20
20
  __exportStar(require("./layout_documentos"), exports);
21
21
  __exportStar(require("./liquidaciones"), exports);
22
22
  __exportStar(require("./props"), exports);
23
- __exportStar(require("./screen_home"), exports);
24
23
  __exportStar(require("./shared"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.132",
3
+ "version": "1.0.134",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- export interface AwsConfig {
2
- S3_ACCESS_KEY_ID?: string;
3
- S3_SECRET_ACCESS_KEY?: string;
4
- S3_BUCKET_NAME?: string;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- import { AwsConfig } from "./aws-config";
2
- import { DataSourceOptions } from "./datasource-option";
3
- import { GoogleConfig } from "./google-config";
4
- import { ScaConfig } from "./sca-config";
5
- export interface ConfigHome {
6
- PUBLIC_PATH?: string;
7
- URL_PUBLIC_ADMINERP?: string;
8
- URL_PUBLIC_LANDING?: string;
9
- FREE_CURRENCY_API_KEY?: string;
10
- dataSourceOptions?: DataSourceOptions;
11
- aws?: AwsConfig;
12
- google?: GoogleConfig;
13
- idioma?: Record<string, any>;
14
- sca?: ScaConfig;
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- export interface DataSourceOptions {
2
- type?: string;
3
- host?: string;
4
- username?: string;
5
- password?: string;
6
- synchronize?: boolean;
7
- logging?: boolean;
8
- entities?: string[];
9
- migrations?: string[];
10
- migrationsTableName?: string;
11
- database?: string;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import { FooterVariantConfig } from "./footer-variant-config";
2
- export interface FooterConfig {
3
- variant?: {
4
- regular?: FooterVariantConfig;
5
- minimal?: FooterVariantConfig;
6
- };
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- export interface FooterVariantConfig {
2
- elevated?: boolean;
3
- iconColor?: string;
4
- iconActiveColor?: string;
5
- textColor?: string;
6
- textActiveColor?: string;
7
- style?: string;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GoogleConfig {
2
- GMAPS_API_KEY_GEOCODE?: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- export * from './aws-config';
2
- export * from './config-home';
3
- export * from './datasource-option';
4
- export * from './footer-config';
5
- export * from './footer-variant-config';
6
- export * from './google-config';
7
- export * from './layout-home-config';
8
- export * from './layouts-config';
9
- export * from './logo-config';
10
- export * from './mobile-config';
11
- export * from './role-config';
12
- export * from './sca-config';
13
- export * from './toolbar-config';
@@ -1,29 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./aws-config"), exports);
18
- __exportStar(require("./config-home"), exports);
19
- __exportStar(require("./datasource-option"), exports);
20
- __exportStar(require("./footer-config"), exports);
21
- __exportStar(require("./footer-variant-config"), exports);
22
- __exportStar(require("./google-config"), exports);
23
- __exportStar(require("./layout-home-config"), exports);
24
- __exportStar(require("./layouts-config"), exports);
25
- __exportStar(require("./logo-config"), exports);
26
- __exportStar(require("./mobile-config"), exports);
27
- __exportStar(require("./role-config"), exports);
28
- __exportStar(require("./sca-config"), exports);
29
- __exportStar(require("./toolbar-config"), exports);
@@ -1,4 +0,0 @@
1
- export interface LayoutHomeConfig {
2
- mobile?: string;
3
- desktop?: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- import { FooterConfig } from "./footer-config";
2
- import { LayoutHomeConfig } from "./layout-home-config";
3
- import { RoleConfig } from "./role-config";
4
- import { ToolbarConfig } from "./toolbar-config";
5
- export interface LayoutsConfig {
6
- home?: Record<string, LayoutHomeConfig>;
7
- menu?: {
8
- ca?: number[];
9
- menu_header?: RoleConfig[];
10
- menu_footer?: RoleConfig[];
11
- }[];
12
- toolbar?: ToolbarConfig;
13
- footer?: FooterConfig;
14
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface LogoConfig {
2
- url?: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface MobileConfig {
2
- color?: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- export interface RoleConfig {
2
- label?: string;
3
- icon?: string | null;
4
- to?: string;
5
- variant?: string;
6
- mobile?: boolean;
7
- desktop?: boolean;
8
- ca?: number;
9
- items?: RoleConfig[];
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import { LayoutsConfig } from "./layouts-config";
2
- export interface ScaConfig {
3
- soy_banco?: boolean;
4
- cliente?: string;
5
- bloqueados?: Record<string, any>;
6
- habilitados?: Record<string, any>;
7
- roles?: Record<string, string>;
8
- roles_bloqueados?: Record<string, any>;
9
- layouts?: LayoutsConfig;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { LogoConfig } from "./logo-config";
2
- import { MobileConfig } from "./mobile-config";
3
- export interface ToolbarConfig {
4
- elevated?: boolean;
5
- color?: string;
6
- logo?: LogoConfig;
7
- mobile?: MobileConfig;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });