@nicefer/types 1.0.156 → 1.0.157

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.156",
3
+ "version": "1.0.157",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,97 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductCategories = void 0;
4
- exports.getSubcategoryByParentId = getSubcategoryByParentId;
5
- /** @deprecated */
6
- exports.ProductCategories = [
7
- {
8
- id: 'tops',
9
- title: 'Tops',
10
- childs: [
11
- { id: 'tops-blouses', title: 'Blusas', parentId: 'tops', },
12
- { id: 'tops-knitwear', title: 'Camisas de punto', parentId: 'tops', },
13
- { id: 'tops-jackets', title: 'Chaquetas', parentId: 'tops', },
14
- { id: 'tops-crop-tops', title: 'Tops cortos', parentId: 'tops', },
15
- { id: 'tops-bodysuits', title: 'Body Suits', parentId: 'tops', },
16
- { id: 'tops-tank-tops', title: 'Tank tops', parentId: 'tops', }
17
- ]
18
- },
19
- {
20
- id: 'dresses',
21
- title: 'Vestidos',
22
- childs: [
23
- { id: 'dresses-casual', title: 'Casual', parentId: 'dresses' },
24
- { id: 'dresses-bodycon', title: 'Bodycon', parentId: 'dresses' },
25
- { id: 'dresses-maxi', title: 'maxi', parentId: 'dresses' },
26
- { id: 'dresses-sun-dresses', title: 'Vestidos de verano', parentId: 'dresses' },
27
- { id: 'dresses-long-sleeve', title: 'Long Sleeve', parentId: 'dresses' },
28
- { id: 'dresses-knit', title: 'knit', parentId: 'dresses' },
29
- { id: 'dresses-midi', title: 'midi', parentId: 'dresses' },
30
- { id: 'dresses-mini', title: 'mini', parentId: 'dresses' },
31
- { id: 'dresses-off-the-shoulder', title: 'Of the shoulder', parentId: 'dresses' },
32
- { id: 'dresses-ruffle', title: 'Ruffle', parentId: 'dresses' },
33
- { id: 'dresses-party-dress', title: 'Vestidos de fiesta', parentId: 'dresses' },
34
- ]
35
- },
36
- { id: 't-shirts', title: 'Camisetas' },
37
- { id: 'sweatshirts', title: 'Sweatshirts' },
38
- { id: 'hoodies', title: 'Hoodies' },
39
- {
40
- id: 'lingerie',
41
- title: 'Lencería',
42
- childs: [
43
- { id: 'lingerie-bras', title: 'Bras', parentId: 'lingerie' },
44
- { id: 'lingerie-bra-sets', title: 'Bra Sets', parentId: 'lingerie' },
45
- { id: 'lingerie-panties', title: 'Panties', parentId: 'lingerie' },
46
- { id: 'lingerie-shapewear', title: 'shapewear', parentId: 'lingerie' },
47
- { id: 'lingerie-plus-size', title: 'Talla grande', parentId: 'lingerie' },
48
- ]
49
- },
50
- {
51
- id: 'bottoms',
52
- title: 'Bottoms',
53
- childs: [
54
- { id: 'bottoms-pants', title: 'Pantalones', parentId: 'bottoms' },
55
- { id: 'bottoms-skirts', title: 'Faldas', parentId: 'bottoms' },
56
- { id: 'bottoms-shorts', title: 'Shorts', parentId: 'bottoms' },
57
- { id: 'bottoms-jumpsuits', title: 'jumpsuits', parentId: 'bottoms' },
58
- { id: 'bottoms-rompers', title: 'Rompers', parentId: 'bottoms' },
59
- ]
60
- },
61
- {
62
- id: 'other',
63
- title: 'Otras categorías',
64
- childs: [
65
- { id: 'other-sports', title: 'Sports', parentId: 'other' },
66
- { id: 'other-sets', title: 'Sets', parentId: 'other' },
67
- { id: 'other-socks', title: 'Calcetínes', parentId: 'other' },
68
- { id: 'other-pajamas', title: 'Pijamas', parentId: 'other' },
69
- { id: 'other-denim', title: 'Denim Jackets', parentId: 'other' },
70
- { id: 'other-jeans', title: 'Jeans', parentId: 'other' },
71
- { id: 'other-hangers', title: 'Hangers', parentId: 'other' },
72
- { id: 'other-stockings', title: 'Medias', parentId: 'other' },
73
- { id: 'other-leggings', title: 'leggings', parentId: 'other' },
74
- ]
75
- }
76
- ];
77
- function getSubcategoryByParentId(categoryId) {
78
- /**
79
- * Cortar el categoryId
80
- * @note La primera posición del split contiene el id de la categoría padre.
81
- * @example ```
82
- * const categoryId = '`other`-category';
83
- */
84
- var splitCategoryId = categoryId.split('-');
85
- /**
86
- * Id de la categoría padre
87
- */
88
- var parentCategoryId = splitCategoryId[0];
89
- /**
90
- * Categoría padre
91
- */
92
- var parentCategory = exports.ProductCategories.find(function (pc) { return pc.id == parentCategoryId; });
93
- if (parentCategory && parentCategory.childs)
94
- return parentCategory.childs.find(function (child) { return child.id == categoryId; });
95
- else
96
- return undefined;
97
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
package/dist/md-icons.js DELETED
@@ -1,161 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MdMinus = exports.MdWidgets = exports.MdGroup = exports.MdCheck = exports.MdDelete = exports.MdClose = exports.MdSearch = exports.MdInfo = exports.MdAtr = exports.MdAdd = exports.MdStar = exports.MdLabel = exports.MdDescription = exports.MdAddBusiness = exports.MdLocationOn = exports.MdHome = exports.MdInventory = exports.MdPackage2 = exports.MdPublishedWithChanges = exports.MdStorefront = exports.MdCategory = exports.MdOrders = void 0;
4
- exports.MdOrders = {
5
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M160-240v-436L98-810q-7-15-1-30.5t21-22.5q15-7 30.5-1.5T171-844l77 166h464l77-166q7-15 22.5-21t30.5 2q15 7 21 22.5t-1 30.5l-62 134v436q0 33-23.5 56.5T720-160H240q-33 0-56.5-23.5T160-240Zm240-200h160q17 0 28.5-11.5T600-480q0-17-11.5-28.5T560-520H400q-17 0-28.5 11.5T360-480q0 17 11.5 28.5T400-440Z\"/></svg>",
6
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M160-240v-436L98-810q-7-15-1-30.5t21-22.5q15-7 30.5-1.5T171-844l77 166h464l77-166q7-15 22.5-21t30.5 2q15 7 21 22.5t-1 30.5l-62 134v436q0 33-23.5 56.5T720-160H240q-33 0-56.5-23.5T160-240Zm240-200h160q17 0 28.5-11.5T600-480q0-17-11.5-28.5T560-520H400q-17 0-28.5 11.5T360-480q0 17 11.5 28.5T400-440ZM240-240h480v-358H240v358Zm0 0v-358 358Z\"/></svg>"
7
- };
8
- exports.MdCategory = {
9
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"m297-581 149-243q6-10 15-14.5t19-4.5q10 0 19 4.5t15 14.5l149 243q6 10 6 21t-5 20q-5 9-14 14.5t-21 5.5H331q-12 0-21-5.5T296-540q-5-9-5-20t6-21ZM700-80q-75 0-127.5-52.5T520-260q0-75 52.5-127.5T700-440q75 0 127.5 52.5T880-260q0 75-52.5 127.5T700-80Zm-580-60v-240q0-17 11.5-28.5T160-420h240q17 0 28.5 11.5T440-380v240q0 17-11.5 28.5T400-100H160q-17 0-28.5-11.5T120-140Z\"/></svg>",
10
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"m297-581 149-243q6-10 15-14.5t19-4.5q10 0 19 4.5t15 14.5l149 243q6 10 6 21t-5 20q-5 9-14 14.5t-21 5.5H331q-12 0-21-5.5T296-540q-5-9-5-20t6-21ZM700-80q-75 0-127.5-52.5T520-260q0-75 52.5-127.5T700-440q75 0 127.5 52.5T880-260q0 75-52.5 127.5T700-80Zm-580-60v-240q0-17 11.5-28.5T160-420h240q17 0 28.5 11.5T440-380v240q0 17-11.5 28.5T400-100H160q-17 0-28.5-11.5T120-140Zm580-20q42 0 71-29t29-71q0-42-29-71t-71-29q-42 0-71 29t-29 71q0 42 29 71t71 29Zm-500-20h160v-160H200v160Zm202-420h156l-78-126-78 126Zm78 0ZM360-340Zm340 80Z\"/></svg>"
11
- };
12
- exports.MdStorefront = {
13
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M201-120q-33 0-56.5-23.5T121-200v-318q-23-21-35.5-54t-.5-72l42-136q8-26 28.5-43t47.5-17h556q27 0 47 16.5t29 43.5l42 136q12 39-.5 71T841-518v318q0 33-23.5 56.5T761-120H201Zm368-440q27 0 41-18.5t11-41.5l-22-140h-78v148q0 21 14 36.5t34 15.5Zm-180 0q23 0 37.5-15.5T441-612v-148h-78l-22 140q-4 24 10.5 42t37.5 18Zm-178 0q18 0 31.5-13t16.5-33l22-154h-78l-40 134q-6 20 6.5 43t41.5 23Zm540 0q29 0 42-23t6-43l-42-134h-76l22 154q3 20 16.5 33t31.5 13Z\"/></svg>",
14
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M201-120q-33 0-56.5-23.5T121-200v-318q-23-21-35.5-54t-.5-72l42-136q8-26 28.5-43t47.5-17h556q27 0 47 16.5t29 43.5l42 136q12 39-.5 71T841-518v318q0 33-23.5 56.5T761-120H201Zm368-440q27 0 41-18.5t11-41.5l-22-140h-78v148q0 21 14 36.5t34 15.5Zm-180 0q23 0 37.5-15.5T441-612v-148h-78l-22 140q-4 24 10.5 42t37.5 18Zm-178 0q18 0 31.5-13t16.5-33l22-154h-78l-40 134q-6 20 6.5 43t41.5 23Zm540 0q29 0 42-23t6-43l-42-134h-76l22 154q3 20 16.5 33t31.5 13ZM201-200h560v-282q-5 2-6.5 2H751q-27 0-47.5-9T663-518q-18 18-41 28t-49 10q-27 0-50.5-10T481-518q-17 18-39.5 28T393-480q-29 0-52.5-10T299-518q-21 21-41.5 29.5T211-480h-4.5q-2.5 0-5.5-2v282Zm560 0H201h560Z\"/></svg>"
15
- };
16
- exports.MdPublishedWithChanges = {
17
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M280-729q-55 44-87.5 108.5T160-480q0 115 70 200.5T407-169q15 4 24 17.5t9 29.5q0 16-11 27t-25 8q-140-26-232-135.5T80-480q0-91 36.5-168T216-780h-56q-17 0-28.5-11.5T120-820q0-17 11.5-28.5T160-860h160q17 0 28.5 11.5T360-820v160q0 17-11.5 28.5T320-620q-17 0-28.5-11.5T280-660v-69Zm143 320 199-199q12-12 28-11.5t28 12.5q11 12 11.5 28T678-551L451-324q-12 12-28 12t-28-12L282-438q-11-11-11.5-27.5T282-494q11-11 28-11t28 11l85 85Zm321 229h56q17 0 28.5 11.5T840-140q0 17-11.5 28.5T800-100H640q-17 0-28.5-11.5T600-140v-160q0-17 11.5-28.5T640-340q17 0 28.5 11.5T680-300v69q55-45 87.5-109T800-480q0-115-70-200.5T553-791q-15-4-24-17.5t-9-29.5q0-16 11-27t25-8q140 26 232 135.5T880-480q0 91-36.5 168T744-180Z\"/></svg>",
18
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M280-729q-55 44-87.5 108.5T160-480q0 115 70 200.5T407-169q15 4 24 17.5t9 29.5q0 16-11 27t-25 8q-140-26-232-135.5T80-480q0-91 36.5-168T216-780h-56q-17 0-28.5-11.5T120-820q0-17 11.5-28.5T160-860h160q17 0 28.5 11.5T360-820v160q0 17-11.5 28.5T320-620q-17 0-28.5-11.5T280-660v-69Zm143 320 199-199q12-12 28-11.5t28 12.5q11 12 11.5 28T678-551L451-324q-12 12-28 12t-28-12L282-438q-11-11-11.5-27.5T282-494q11-11 28-11t28 11l85 85Zm321 229h56q17 0 28.5 11.5T840-140q0 17-11.5 28.5T800-100H640q-17 0-28.5-11.5T600-140v-160q0-17 11.5-28.5T640-340q17 0 28.5 11.5T680-300v69q55-45 87.5-109T800-480q0-115-70-200.5T553-791q-15-4-24-17.5t-9-29.5q0-16 11-27t25-8q140 26 232 135.5T880-480q0 91-36.5 168T744-180Z\"/></svg>"
19
- };
20
- /**
21
- * Icono de caja
22
- * @note Usado en:
23
- * C:\Users\aleja\Documents\GitHub\nicefer\nicefer-staff\src\app\components\replenishment\
24
- */
25
- exports.MdPackage2 = {
26
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M440-183v-274L200-596v274l240 139Zm80 0 240-139v-274L520-457v274Zm-80 92L160-252q-19-11-29.5-29T120-321v-318q0-22 10.5-40t29.5-29l280-161q19-11 40-11t40 11l280 161q19 11 29.5 29t10.5 40v318q0 22-10.5 40T800-252L520-91q-19 11-40 11t-40-11Zm200-528 77-44-237-137-78 45 238 136Zm-160 93 78-45-237-137-78 45 237 137Z\"/></svg>",
27
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M440-91v-366L120-642v321q0 22 10.5 40t29.5 29L440-91Zm80 0 280-161q19-11 29.5-29t10.5-40v-321L520-457v366Zm159-550 118-69-277-159q-19-11-40-11t-40 11l-79 45 318 183ZM480-526l119-68-317-184-120 69 318 183Z\"/></svg>"
28
- };
29
- exports.MdInventory = {
30
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"m620-275 198-198q11-11 28-11t28 11q11 11 11 28t-11 28L648-191q-12 12-28 12t-28-12L478-305q-11-11-11-28t11-28q11-11 28-11t28 11l86 86ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h167q11-35 43-57.5t70-22.5q40 0 71.5 22.5T594-840h166q33 0 56.5 23.5T840-760v160q0 17-11.5 28.5T800-560q-17 0-28.5-11.5T760-600v-160h-80v80q0 17-11.5 28.5T640-640H320q-17 0-28.5-11.5T280-680v-80h-80v560h200q17 0 28.5 11.5T440-160q0 17-11.5 28.5T400-120H200Zm280-640q17 0 28.5-11.5T520-800q0-17-11.5-28.5T480-840q-17 0-28.5 11.5T440-800q0 17 11.5 28.5T480-760Z\"/></svg>"
31
- };
32
- /**
33
- * Icono de casa
34
- *
35
- * @note Usado en:
36
- * `\src\app\components\helpers\page-header/page-header.component.ts`
37
- */
38
- exports.MdHome = {
39
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M160-200v-360q0-19 8.5-36t23.5-28l240-180q21-16 48-16t48 16l240 180q15 11 23.5 28t8.5 36v360q0 33-23.5 56.5T720-120H600q-17 0-28.5-11.5T560-160v-200q0-17-11.5-28.5T520-400h-80q-17 0-28.5 11.5T400-360v200q0 17-11.5 28.5T360-120H240q-33 0-56.5-23.5T160-200Z\"/></svg>",
40
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M240-200h120v-200q0-17 11.5-28.5T400-440h160q17 0 28.5 11.5T600-400v200h120v-360L480-740 240-560v360Zm-80 0v-360q0-19 8.5-36t23.5-28l240-180q21-16 48-16t48 16l240 180q15 11 23.5 28t8.5 36v360q0 33-23.5 56.5T720-120H560q-17 0-28.5-11.5T520-160v-200h-80v200q0 17-11.5 28.5T400-120H240q-33 0-56.5-23.5T160-200Zm320-270Z\"/></svg>"
41
- };
42
- /**
43
- * Icono de ubicación activa
44
- *
45
- * @note Usado en:
46
- * `\src\app\components\branches\branches.component.ts`
47
- */
48
- exports.MdLocationOn = {
49
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M480-186q122-112 181-203.5T720-552q0-109-69.5-178.5T480-800q-101 0-170.5 69.5T240-552q0 71 59 162.5T480-186Zm0 79q-14 0-28-5t-25-15q-65-60-115-117t-83.5-110.5q-33.5-53.5-51-103T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 45-17.5 94.5t-51 103Q698-301 648-244T533-127q-11 10-25 15t-28 5Zm0-453Zm0 80q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Z\"/></svg>"
50
- };
51
- /**
52
- * Icono de agregar negocio
53
- *
54
- * @note Usado en:
55
- * `\src\app\components\branches\branches.component.ts`
56
- */
57
- exports.MdAddBusiness = {
58
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"#e3e3e3\"><path d=\"M720-160h-80q-17 0-28.5-11.5T600-200q0-17 11.5-28.5T640-240h80v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80h80q17 0 28.5 11.5T920-200q0 17-11.5 28.5T880-160h-80v80q0 17-11.5 28.5T760-40q-17 0-28.5-11.5T720-80v-80Zm-600 0q-17 0-28.5-11.5T80-200v-200h-7q-19 0-31-14.5T34-448l40-200q3-14 14-23t25-9h534q14 0 25 9t14 23l40 200q4 19-8 33.5T687-400h-7v80q0 17-11.5 28.5T640-280q-17 0-28.5-11.5T600-320v-80H440v200q0 17-11.5 28.5T400-160H120Zm40-80h200v-160H160v160Zm-38-240h516-516Zm-2-240q-17 0-28.5-11.5T80-760q0-17 11.5-28.5T120-800h520q17 0 28.5 11.5T680-760q0 17-11.5 28.5T640-720H120Zm2 240h516l-24-120H146l-24 120Z\"/></svg>"
59
- };
60
- /**
61
- * Icono de descripción
62
- *
63
- * @note Usado en:
64
- * `/products`
65
- */
66
- exports.MdDescription = {
67
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M360-440h240q17 0 28.5-11.5T640-480q0-17-11.5-28.5T600-520H360q-17 0-28.5 11.5T320-480q0 17 11.5 28.5T360-440Zm0 120h240q17 0 28.5-11.5T640-360q0-17-11.5-28.5T600-400H360q-17 0-28.5 11.5T320-360q0 17 11.5 28.5T360-320Zm0 120h120q17 0 28.5-11.5T520-240q0-17-11.5-28.5T480-280H360q-17 0-28.5 11.5T320-240q0 17 11.5 28.5T360-200ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h287q16 0 30.5 6t25.5 17l194 194q11 11 17 25.5t6 30.5v447q0 33-23.5 56.5T720-80H240Zm280-560q0 17 11.5 28.5T560-600h160L520-800v160Z\"/></svg>",
68
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M360-440h240q17 0 28.5-11.5T640-480q0-17-11.5-28.5T600-520H360q-17 0-28.5 11.5T320-480q0 17 11.5 28.5T360-440Zm0 120h240q17 0 28.5-11.5T640-360q0-17-11.5-28.5T600-400H360q-17 0-28.5 11.5T320-360q0 17 11.5 28.5T360-320Zm0 120h120q17 0 28.5-11.5T520-240q0-17-11.5-28.5T480-280H360q-17 0-28.5 11.5T320-240q0 17 11.5 28.5T360-200ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h287q16 0 30.5 6t25.5 17l194 194q11 11 17 25.5t6 30.5v447q0 33-23.5 56.5T720-80H240Zm480-520H580q-25 0-42.5-17.5T520-660v-140H240v640h480v-440ZM240-800v200-200 640-640Z\"/></svg>"
69
- };
70
- /**
71
- * Icono de etiqueta
72
- *
73
- * @note Usado en:
74
- * `/products`
75
- */
76
- exports.MdLabel = {
77
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h440q19 0 36 8.5t28 23.5l180 240q16 21 16 48t-16 48L664-192q-11 15-28 23.5t-36 8.5H160Zm0-80h440l180-240-180-240H160v480Zm310-240Z\"/></svg>"
78
- };
79
- /**
80
- * Icono de estrella
81
- *
82
- * @note Usado en:
83
- * `/products`
84
- */
85
- exports.MdStar = {
86
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"m354-287 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143Zm126 18L314-169q-11 7-23 6t-21-8q-9-7-14-17.5t-2-23.5l44-189-147-127q-10-9-12.5-20.5T140-571q4-11 12-18t22-9l194-17 75-178q5-12 15.5-18t21.5-6q11 0 21.5 6t15.5 18l75 178 194 17q14 2 22 9t12 18q4 11 1.5 22.5T809-528L662-401l44 189q3 13-2 23.5T690-171q-9 7-21 8t-23-6L480-269Zm0-201Z\"/></svg>"
87
- };
88
- /**
89
- * Icono de agregar negocio
90
- *
91
- * @note Usado en:
92
- * `/products`
93
- */
94
- exports.MdAdd = {
95
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M440-440H240q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h200v-200q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v200h200q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H520v200q0 17-11.5 28.5T480-200q-17 0-28.5-11.5T440-240v-200Z\"/></svg>"
96
- };
97
- /**
98
- * Icono de atributos
99
- *
100
- * @note Usado en:
101
- * `/products`
102
- */
103
- exports.MdAtr = {
104
- undfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M240-160q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Zm480 0q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35ZM480-560q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Z\"/></svg>"
105
- };
106
- /**
107
- * Icono de información
108
- *
109
- * @note Usado en:
110
- * `products/modal-see-details`
111
- */
112
- exports.MdInfo = {
113
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M480-280q17 0 28.5-11.5T520-320v-160q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480v160q0 17 11.5 28.5T480-280Zm0-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z\"/></svg>"
114
- };
115
- /**
116
- * Icono de búsqueda
117
- *
118
- * @note Usado en:
119
- * `/replenishment/replenishment-orders/modal-actions-r-order/modal-actions-r-order.component.ts`
120
- */
121
- exports.MdSearch = {
122
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z\"/></svg>"
123
- };
124
- /**
125
- * Icono de X
126
- *
127
- * @note Usado en:
128
- * `products/modal-actions-product`
129
- */
130
- exports.MdClose = {
131
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"100%\" viewBox=\"0 -960 960 960\" width=\"100%\" fill=\"currentColor\"><path d=\"M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z\"/></svg>"
132
- };
133
- /**
134
- * Icono de basura
135
- *
136
- * @note Usado en:
137
- * `\replenishment\replenishment-orders\replenishment-orders.component.ts`
138
- */
139
- exports.MdDelete = {
140
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M280-120q-33 0-56.5-23.5T200-200v-520q-17 0-28.5-11.5T160-760q0-17 11.5-28.5T200-800h160q0-17 11.5-28.5T400-840h160q17 0 28.5 11.5T600-800h160q17 0 28.5 11.5T800-760q0 17-11.5 28.5T760-720v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM400-280q17 0 28.5-11.5T440-320v-280q0-17-11.5-28.5T400-640q-17 0-28.5 11.5T360-600v280q0 17 11.5 28.5T400-280Zm160 0q17 0 28.5-11.5T600-320v-280q0-17-11.5-28.5T560-640q-17 0-28.5 11.5T520-600v280q0 17 11.5 28.5T560-280ZM280-720v520-520Z\"/></svg>"
141
- };
142
- /**
143
- * Icono de check
144
- *
145
- * @note Usado en:
146
- * `\replenishment\replenishment-orders\r-products\r-products.component.html`
147
- */
148
- exports.MdCheck = {
149
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z\"/></svg>"
150
- };
151
- exports.MdGroup = {
152
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M40-272q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v32q0 33-23.5 56.5T600-160H120q-33 0-56.5-23.5T40-240v-32Zm800 112H738q11-18 16.5-38.5T760-240v-40q0-44-24.5-84.5T666-434q51 6 96 20.5t84 35.5q36 20 55 44.5t19 53.5v40q0 33-23.5 56.5T840-160ZM360-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm400-160q0 66-47 113t-113 47q-11 0-28-2.5t-28-5.5q27-32 41.5-71t14.5-81q0-42-14.5-81T544-792q14-5 28-6.5t28-1.5q66 0 113 47t47 113ZM120-240h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0 320Zm0-400Z\"/></svg>",
153
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M40-272q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v32q0 33-23.5 56.5T600-160H120q-33 0-56.5-23.5T40-240v-32Zm698 112q11-18 16.5-38.5T760-240v-40q0-44-24.5-84.5T666-434q51 6 96 20.5t84 35.5q36 20 55 44.5t19 53.5v40q0 33-23.5 56.5T840-160H738ZM360-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm400-160q0 66-47 113t-113 47q-11 0-28-2.5t-28-5.5q27-32 41.5-71t14.5-81q0-42-14.5-81T544-792q14-5 28-6.5t28-1.5q66 0 113 47t47 113Z\"/></svg>"
154
- };
155
- exports.MdWidgets = {
156
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M638-468 468-638q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l170-170q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l170 170q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L694-468q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5Zm-518-92v-240q0-17 11.5-28.5T160-840h240q17 0 28.5 11.5T440-800v240q0 17-11.5 28.5T400-520H160q-17 0-28.5-11.5T120-560Zm400 400v-240q0-17 11.5-28.5T560-440h240q17 0 28.5 11.5T840-400v240q0 17-11.5 28.5T800-120H560q-17 0-28.5-11.5T520-160Zm-400 0v-240q0-17 11.5-28.5T160-440h240q17 0 28.5 11.5T440-400v240q0 17-11.5 28.5T400-120H160q-17 0-28.5-11.5T120-160Zm80-440h160v-160H200v160Zm467 48 113-113-113-113-113 113 113 113Zm-67 352h160v-160H600v160Zm-400 0h160v-160H200v160Zm160-400Zm194-65ZM360-360Zm240 0Z\"/></svg>",
157
- fill: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M638-468 468-638q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l170-170q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l170 170q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L694-468q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5Zm-518-92v-240q0-17 11.5-28.5T160-840h240q17 0 28.5 11.5T440-800v240q0 17-11.5 28.5T400-520H160q-17 0-28.5-11.5T120-560Zm400 400v-240q0-17 11.5-28.5T560-440h240q17 0 28.5 11.5T840-400v240q0 17-11.5 28.5T800-120H560q-17 0-28.5-11.5T520-160Zm-400 0v-240q0-17 11.5-28.5T160-440h240q17 0 28.5 11.5T440-400v240q0 17-11.5 28.5T400-120H160q-17 0-28.5-11.5T120-160Z\"/></svg>"
158
- };
159
- exports.MdMinus = {
160
- unfilled: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"currentColor\"><path d=\"M280-440q-17 0-28.5-11.5T240-480q0-17 11.5-28.5T280-520h400q17 0 28.5 11.5T720-480q0 17-11.5 28.5T680-440H280Z\"/></svg>"
161
- };
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- ;
4
- ;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- /** @deprecated */
2
- export declare const ProductCategories: any[];
3
- export declare function getSubcategoryByParentId(categoryId: string): any;
@@ -1,15 +0,0 @@
1
- /**
2
- * Colecciones de Firestore
3
- */
4
- export type FireColls = {
5
- orders: `/orders/${string}`;
6
- productOptions: `/productOptions/${string}`;
7
- products: `/products/${string}`;
8
- variants: `/products/${string}/variants/${string}`;
9
- rOrders: `/rOrders/${string}`;
10
- rPackages: `/rOrders/${string}/rPackages/${string}`;
11
- rProducts: `/rOrders/${string}/rProducts/${string}`;
12
- users: `/users/${string}`;
13
- addresses: `/users/${string}/addresses/${string}`;
14
- warehouses: `/warehouses/${string}`;
15
- };
@@ -1,158 +0,0 @@
1
- export declare const MdOrders: {
2
- fill: string;
3
- unfilled: string;
4
- };
5
- export declare const MdCategory: {
6
- fill: string;
7
- unfilled: string;
8
- };
9
- export declare const MdStorefront: {
10
- fill: string;
11
- unfilled: string;
12
- };
13
- export declare const MdPublishedWithChanges: {
14
- fill: string;
15
- unfilled: string;
16
- };
17
- /**
18
- * Icono de caja
19
- * @note Usado en:
20
- * C:\Users\aleja\Documents\GitHub\nicefer\nicefer-staff\src\app\components\replenishment\
21
- */
22
- export declare const MdPackage2: {
23
- unfilled: string;
24
- fill: string;
25
- };
26
- export declare const MdInventory: {
27
- unfilled: string;
28
- };
29
- /**
30
- * Icono de casa
31
- *
32
- * @note Usado en:
33
- * `\src\app\components\helpers\page-header/page-header.component.ts`
34
- */
35
- export declare const MdHome: {
36
- fill: string;
37
- unfilled: string;
38
- };
39
- /**
40
- * Icono de ubicación activa
41
- *
42
- * @note Usado en:
43
- * `\src\app\components\branches\branches.component.ts`
44
- */
45
- export declare const MdLocationOn: {
46
- unfilled: string;
47
- };
48
- /**
49
- * Icono de agregar negocio
50
- *
51
- * @note Usado en:
52
- * `\src\app\components\branches\branches.component.ts`
53
- */
54
- export declare const MdAddBusiness: {
55
- unfilled: string;
56
- };
57
- /**
58
- * Icono de descripción
59
- *
60
- * @note Usado en:
61
- * `/products`
62
- */
63
- export declare const MdDescription: {
64
- fill: string;
65
- unfilled: string;
66
- };
67
- /**
68
- * Icono de etiqueta
69
- *
70
- * @note Usado en:
71
- * `/products`
72
- */
73
- export declare const MdLabel: {
74
- unfilled: string;
75
- };
76
- /**
77
- * Icono de estrella
78
- *
79
- * @note Usado en:
80
- * `/products`
81
- */
82
- export declare const MdStar: {
83
- unfilled: string;
84
- };
85
- /**
86
- * Icono de agregar negocio
87
- *
88
- * @note Usado en:
89
- * `/products`
90
- */
91
- export declare const MdAdd: {
92
- unfilled: string;
93
- };
94
- /**
95
- * Icono de atributos
96
- *
97
- * @note Usado en:
98
- * `/products`
99
- */
100
- export declare const MdAtr: {
101
- undfilled: string;
102
- };
103
- /**
104
- * Icono de información
105
- *
106
- * @note Usado en:
107
- * `products/modal-see-details`
108
- */
109
- export declare const MdInfo: {
110
- unfilled: string;
111
- };
112
- /**
113
- * Icono de búsqueda
114
- *
115
- * @note Usado en:
116
- * `/replenishment/replenishment-orders/modal-actions-r-order/modal-actions-r-order.component.ts`
117
- */
118
- export declare const MdSearch: {
119
- unfilled: string;
120
- };
121
- /**
122
- * Icono de X
123
- *
124
- * @note Usado en:
125
- * `products/modal-actions-product`
126
- */
127
- export declare const MdClose: {
128
- unfilled: string;
129
- };
130
- /**
131
- * Icono de basura
132
- *
133
- * @note Usado en:
134
- * `\replenishment\replenishment-orders\replenishment-orders.component.ts`
135
- */
136
- export declare const MdDelete: {
137
- unfilled: string;
138
- };
139
- /**
140
- * Icono de check
141
- *
142
- * @note Usado en:
143
- * `\replenishment\replenishment-orders\r-products\r-products.component.html`
144
- */
145
- export declare const MdCheck: {
146
- unfilled: string;
147
- };
148
- export declare const MdGroup: {
149
- unfilled: string;
150
- fill: string;
151
- };
152
- export declare const MdWidgets: {
153
- unfilled: string;
154
- fill: string;
155
- };
156
- export declare const MdMinus: {
157
- unfilled: string;
158
- };
File without changes
@@ -1,48 +0,0 @@
1
- import { PaymentIntent } from "@stripe/stripe-js";
2
- export type Currency = 'HNL' | 'EUR' | 'USD';
3
- export type DonationStatus = 'pending_pay' | 'pending' | 'payment_error' | 'processing' | 'resolve' | 'rejected' | 'expired' | 'used';
4
- export type RadarType = 'none' | 'event' | 'operating_expenses' | 'reversed';
5
- export interface RadarItem {
6
- id: string;
7
- title: string;
8
- desc?: string;
9
- /**
10
- * null: No se usó nada en este item, solo es un registro.
11
- * Por lo tanto {@link amountUsed} será 0.
12
- * 'event': Evento
13
- * 'operating_expenses': Gastos operativos
14
- * 'reversed': Reversión de fondos
15
- */
16
- type: RadarType;
17
- icon: 'ok' | 'error' | 'waiting';
18
- amountUsed: number;
19
- createdAt: string;
20
- }
21
- export interface DonationCharges {
22
- subtotal: number;
23
- fees: number;
24
- total: number;
25
- }
26
- /**
27
- * La donación se puede recibir en HNL, USD o EUR,
28
- * pero se deberá convertir a lempiras antes de ser usada.
29
- */
30
- export interface Donation {
31
- id: string;
32
- donorId: string;
33
- fullname: string;
34
- anonymous: boolean;
35
- charges: DonationCharges;
36
- /**
37
- * Cuándo se reciba en una moneda distinta de HNL, se convertirá a HNL.
38
- * De lo contrario será `undefined`
39
- */
40
- chargesInHNL?: DonationCharges;
41
- status: DonationStatus;
42
- paymentStatus?: PaymentIntent.Status;
43
- mainCcy: Currency;
44
- radar?: {
45
- [itemId: string]: RadarItem;
46
- };
47
- createdAt?: string;
48
- }
@@ -1,3 +0,0 @@
1
- export interface Translations<T> {
2
- [key: string]: T;
3
- }