@win2win/shared 1.0.61 → 1.0.63

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 (50) hide show
  1. package/dist/interfaces/index.d.ts +1 -0
  2. package/dist/interfaces/index.js +1 -0
  3. package/dist/interfaces/{screem_home/aws-config-interface.d.ts → screen_home/aws-config.d.ts} +1 -1
  4. package/dist/interfaces/{screem_home/config-home-interface.d.ts → screen_home/config-home.d.ts} +6 -6
  5. package/dist/interfaces/screen_home/config-home.js +2 -0
  6. package/dist/interfaces/{screem_home/datasource-option-interface.d.ts → screen_home/datasource-option.d.ts} +1 -1
  7. package/dist/interfaces/screen_home/datasource-option.js +2 -0
  8. package/dist/interfaces/screen_home/footer-config.d.ts +7 -0
  9. package/dist/interfaces/screen_home/footer-config.js +2 -0
  10. package/dist/interfaces/{screem_home/footer-variant-config-interface.d.ts → screen_home/footer-variant-config.d.ts} +1 -1
  11. package/dist/interfaces/screen_home/footer-variant-config.js +2 -0
  12. package/dist/interfaces/{screem_home/google-config-interface.d.ts → screen_home/google-config.d.ts} +1 -1
  13. package/dist/interfaces/screen_home/google-config.js +2 -0
  14. package/dist/interfaces/screen_home/index.d.ts +13 -0
  15. package/dist/interfaces/screen_home/index.js +29 -0
  16. package/dist/interfaces/{screem_home/layout-home-config-interface.d.ts → screen_home/layout-home-config.d.ts} +1 -1
  17. package/dist/interfaces/screen_home/layout-home-config.js +2 -0
  18. package/dist/interfaces/screen_home/layouts-config.d.ts +14 -0
  19. package/dist/interfaces/screen_home/layouts-config.js +2 -0
  20. package/dist/interfaces/screen_home/logo-config.d.ts +3 -0
  21. package/dist/interfaces/screen_home/logo-config.js +2 -0
  22. package/dist/interfaces/screen_home/mobile-config.d.ts +3 -0
  23. package/dist/interfaces/screen_home/mobile-config.js +2 -0
  24. package/dist/interfaces/{screem_home/role-config-interface.d.ts → screen_home/role-config.d.ts} +1 -1
  25. package/dist/interfaces/screen_home/role-config.js +2 -0
  26. package/dist/interfaces/{screem_home/sca-config-interface.d.ts → screen_home/sca-config.d.ts} +2 -2
  27. package/dist/interfaces/screen_home/sca-config.js +2 -0
  28. package/dist/interfaces/screen_home/toolbar-config.d.ts +8 -0
  29. package/dist/interfaces/screen_home/toolbar-config.js +2 -0
  30. package/package.json +1 -1
  31. package/dist/interfaces/config/ScreenHome.d.ts +0 -2
  32. package/dist/interfaces/screem_home/aws-config-interface.js +0 -6
  33. package/dist/interfaces/screem_home/config-home-interface.js +0 -6
  34. package/dist/interfaces/screem_home/datasource-option-interface.js +0 -6
  35. package/dist/interfaces/screem_home/footer-config-interface.d.ts +0 -7
  36. package/dist/interfaces/screem_home/footer-config-interface.js +0 -6
  37. package/dist/interfaces/screem_home/footer-variant-config-interface.js +0 -6
  38. package/dist/interfaces/screem_home/google-config-interface.js +0 -6
  39. package/dist/interfaces/screem_home/layout-home-config-interface.js +0 -6
  40. package/dist/interfaces/screem_home/layouts-config-interface.d.ts +0 -14
  41. package/dist/interfaces/screem_home/layouts-config-interface.js +0 -6
  42. package/dist/interfaces/screem_home/logo-config-interface.d.ts +0 -3
  43. package/dist/interfaces/screem_home/logo-config-interface.js +0 -6
  44. package/dist/interfaces/screem_home/mobile-config-interface.d.ts +0 -3
  45. package/dist/interfaces/screem_home/mobile-config-interface.js +0 -6
  46. package/dist/interfaces/screem_home/role-config-interface.js +0 -6
  47. package/dist/interfaces/screem_home/sca-config-interface.js +0 -6
  48. package/dist/interfaces/screem_home/toolbar-config-interface.d.ts +0 -8
  49. package/dist/interfaces/screem_home/toolbar-config-interface.js +0 -6
  50. /package/dist/interfaces/{config/ScreenHome.js → screen_home/aws-config.js} +0 -0
@@ -2,4 +2,5 @@ export * from './importaciones';
2
2
  export * from './layout_documentos';
3
3
  export * from './liquidaciones';
4
4
  export * from './props';
5
+ export * from './screen_home';
5
6
  export * from './shared';
@@ -18,4 +18,5 @@ __exportStar(require("./importaciones"), exports);
18
18
  __exportStar(require("./layout_documentos"), exports);
19
19
  __exportStar(require("./liquidaciones"), exports);
20
20
  __exportStar(require("./props"), exports);
21
+ __exportStar(require("./screen_home"), exports);
21
22
  __exportStar(require("./shared"), exports);
@@ -1,4 +1,4 @@
1
- export declare class AwsConfig {
1
+ export interface AwsConfig {
2
2
  S3_ACCESS_KEY_ID?: string;
3
3
  S3_SECRET_ACCESS_KEY?: string;
4
4
  S3_BUCKET_NAME?: string;
@@ -1,15 +1,15 @@
1
- import { AwsConfig } from "./aws-config-interface";
2
- import { DataSourceOptions } from "./datasource-option-interface";
3
- import { GoogleConfig } from "./google-config-interface";
4
- import { ScaConfig } from "./sca-config-interface";
5
- export declare class ConfigHome {
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
6
  PUBLIC_PATH?: string;
7
7
  URL_PUBLIC_ADMINERP?: string;
8
8
  URL_PUBLIC_LANDING?: string;
9
+ FREE_CURRENCY_API_KEY?: string;
9
10
  dataSourceOptions?: DataSourceOptions;
10
11
  aws?: AwsConfig;
11
12
  google?: GoogleConfig;
12
- FREE_CURRENCY_API_KEY?: string;
13
13
  idioma?: Record<string, any>;
14
14
  sca?: ScaConfig;
15
15
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare class DataSourceOptions {
1
+ export interface DataSourceOptions {
2
2
  type?: string;
3
3
  host?: string;
4
4
  username?: string;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { FooterVariantConfig } from "./footer-variant-config";
2
+ export interface FooterConfig {
3
+ variant?: {
4
+ regular?: FooterVariantConfig;
5
+ minimal?: FooterVariantConfig;
6
+ };
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare class FooterVariantConfig {
1
+ export interface FooterVariantConfig {
2
2
  elevated?: boolean;
3
3
  iconColor?: string;
4
4
  iconActiveColor?: string;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,3 @@
1
- export declare class GoogleConfig {
1
+ export interface GoogleConfig {
2
2
  GMAPS_API_KEY_GEOCODE?: string;
3
3
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
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';
@@ -0,0 +1,29 @@
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 +1,4 @@
1
- export declare class LayoutHomeConfig {
1
+ export interface LayoutHomeConfig {
2
2
  mobile?: string;
3
3
  desktop?: string;
4
4
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface LogoConfig {
2
+ url?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface MobileConfig {
2
+ color?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare class RoleConfig {
1
+ export interface RoleConfig {
2
2
  label?: string;
3
3
  icon?: string | null;
4
4
  to?: string;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { LayoutsConfig } from "./layouts-config-interface";
2
- export declare class ScaConfig {
1
+ import { LayoutsConfig } from "./layouts-config";
2
+ export interface ScaConfig {
3
3
  soy_banco?: boolean;
4
4
  cliente?: string;
5
5
  bloqueados?: Record<string, any>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
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,2 +0,0 @@
1
- export interface ScreenHome {
2
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AwsConfig = void 0;
4
- class AwsConfig {
5
- }
6
- exports.AwsConfig = AwsConfig;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConfigHome = void 0;
4
- class ConfigHome {
5
- }
6
- exports.ConfigHome = ConfigHome;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DataSourceOptions = void 0;
4
- class DataSourceOptions {
5
- }
6
- exports.DataSourceOptions = DataSourceOptions;
@@ -1,7 +0,0 @@
1
- import { FooterVariantConfig } from "./footer-variant-config-interface";
2
- export declare class FooterConfig {
3
- variant?: {
4
- regular?: FooterVariantConfig;
5
- minimal?: FooterVariantConfig;
6
- };
7
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FooterConfig = void 0;
4
- class FooterConfig {
5
- }
6
- exports.FooterConfig = FooterConfig;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FooterVariantConfig = void 0;
4
- class FooterVariantConfig {
5
- }
6
- exports.FooterVariantConfig = FooterVariantConfig;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GoogleConfig = void 0;
4
- class GoogleConfig {
5
- }
6
- exports.GoogleConfig = GoogleConfig;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LayoutHomeConfig = void 0;
4
- class LayoutHomeConfig {
5
- }
6
- exports.LayoutHomeConfig = LayoutHomeConfig;
@@ -1,14 +0,0 @@
1
- import { FooterConfig } from "./footer-config-interface";
2
- import { LayoutHomeConfig } from "./layout-home-config-interface";
3
- import { RoleConfig } from "./role-config-interface";
4
- import { ToolbarConfig } from "./toolbar-config-interface";
5
- export declare class 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,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LayoutsConfig = void 0;
4
- class LayoutsConfig {
5
- }
6
- exports.LayoutsConfig = LayoutsConfig;
@@ -1,3 +0,0 @@
1
- export declare class LogoConfig {
2
- url?: string;
3
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LogoConfig = void 0;
4
- class LogoConfig {
5
- }
6
- exports.LogoConfig = LogoConfig;
@@ -1,3 +0,0 @@
1
- export declare class MobileConfig {
2
- color?: string;
3
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MobileConfig = void 0;
4
- class MobileConfig {
5
- }
6
- exports.MobileConfig = MobileConfig;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RoleConfig = void 0;
4
- class RoleConfig {
5
- }
6
- exports.RoleConfig = RoleConfig;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScaConfig = void 0;
4
- class ScaConfig {
5
- }
6
- exports.ScaConfig = ScaConfig;
@@ -1,8 +0,0 @@
1
- import { LogoConfig } from "./logo-config-interface";
2
- import { MobileConfig } from "./mobile-config-interface";
3
- export declare class ToolbarConfig {
4
- elevated?: boolean;
5
- color?: string;
6
- logo?: LogoConfig;
7
- mobile?: MobileConfig;
8
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ToolbarConfig = void 0;
4
- class ToolbarConfig {
5
- }
6
- exports.ToolbarConfig = ToolbarConfig;