@nicefer/types 1.0.170 → 1.0.171

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.
package/dist/api.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
4
  ;
3
- export {};
package/dist/bag.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/branch.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/company.js CHANGED
@@ -1,2 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
- export {};
package/dist/countries.js CHANGED
@@ -1,4 +1,8 @@
1
- export const Countries = [
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.compareRegions = exports.compareCountries = exports.Regions = exports.Countries = void 0;
4
+ exports.getRegionsByCountryId = getRegionsByCountryId;
5
+ exports.Countries = [
2
6
  {
3
7
  id: 'HN',
4
8
  name: 'Honduras',
@@ -24,7 +28,7 @@ export const Countries = [
24
28
  ccy: 'USD'
25
29
  },
26
30
  ];
27
- export const Regions = {
31
+ exports.Regions = {
28
32
  HN: [
29
33
  {
30
34
  id: "AT",
@@ -181,8 +185,8 @@ export const Regions = {
181
185
  ],
182
186
  CN: []
183
187
  };
184
- export function getRegionsByCountryId(id) {
185
- return Regions[id];
188
+ function getRegionsByCountryId(id) {
189
+ return exports.Regions[id];
186
190
  }
187
191
  /**
188
192
  * Usado en el atributo [compareWith] de los mat-select's
@@ -191,5 +195,7 @@ export function getRegionsByCountryId(id) {
191
195
  * @param c2
192
196
  * @returns
193
197
  */
194
- export const compareCountries = (c1, c2) => c1 && c2 ? c1.id === c2.id : false;
195
- export const compareRegions = (r1, r2) => r1 && r2 ? r1.id === r2.id : false;
198
+ const compareCountries = (c1, c2) => c1 && c2 ? c1.id === c2.id : false;
199
+ exports.compareCountries = compareCountries;
200
+ const compareRegions = (r1, r2) => r1 && r2 ? r1.id === r2.id : false;
201
+ exports.compareRegions = compareRegions;
package/dist/index.js CHANGED
@@ -1,17 +1,33 @@
1
+ "use strict";
1
2
  // src/index.ts
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
2
18
  /** ID único para un usuario */
3
19
  // export type UserId = string & { __brand: 'UserId' };
4
- export * from './api';
5
- export * from './bag';
6
- export * from './branch';
7
- export * from './countries';
8
- export * from './orders';
9
- export * from './stats';
10
- export * from './payments';
11
- export * from './product-category';
12
- export * from './products';
13
- export * from './replenishment';
14
- export * from './users';
15
- export * from './warehouses';
16
- export * from './translations';
17
- export * from './company';
20
+ __exportStar(require("./api"), exports);
21
+ __exportStar(require("./bag"), exports);
22
+ __exportStar(require("./branch"), exports);
23
+ __exportStar(require("./countries"), exports);
24
+ __exportStar(require("./orders"), exports);
25
+ __exportStar(require("./stats"), exports);
26
+ __exportStar(require("./payments"), exports);
27
+ __exportStar(require("./product-category"), exports);
28
+ __exportStar(require("./products"), exports);
29
+ __exportStar(require("./replenishment"), exports);
30
+ __exportStar(require("./users"), exports);
31
+ __exportStar(require("./warehouses"), exports);
32
+ __exportStar(require("./translations"), exports);
33
+ __exportStar(require("./company"), exports);
package/dist/orders.js CHANGED
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
4
  ;
3
5
  ;
@@ -6,4 +8,3 @@
6
8
  ;
7
9
  ;
8
10
  ;
9
- export {};
package/dist/org/event.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/org/index.js CHANGED
@@ -1,2 +1,18 @@
1
- export * from './radar';
2
- export * from './event';
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("./radar"), exports);
18
+ __exportStar(require("./event"), exports);
package/dist/org/radar.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
4
  ;
3
- export {};
package/dist/payments.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
- export {};
package/dist/products.js CHANGED
@@ -1,6 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
4
  ;
3
5
  ;
4
6
  ;
5
7
  ;
6
- export {};
@@ -1,5 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
4
  ;
3
5
  ;
4
6
  ;
5
- export {};
package/dist/stats.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/users.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
4
  ;
3
- export {};
@@ -1,2 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  ;
2
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.170",
3
+ "version": "1.0.171",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/types/index.d.ts",