lib-common-angular 0.0.9 → 0.0.11

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 (452) hide show
  1. package/.editorconfig +16 -0
  2. package/.eslintrc.json +36 -0
  3. package/.github/CODEOWNERS +1 -0
  4. package/.github/workflows/publish.yml +108 -0
  5. package/.gitmodules +4 -0
  6. package/.postcssrc.json +5 -0
  7. package/Dockerfile +42 -0
  8. package/Jenkinsfile +162 -0
  9. package/README.md +134 -0
  10. package/angular.json +133 -0
  11. package/eslint-rules/.ignore-logs-max-lines.js +30 -0
  12. package/lib-core-dtos/.github/workflows/validate-raml.yml +58 -0
  13. package/lib-core-dtos/.husky/pre-commit +4 -0
  14. package/lib-core-dtos/README.md +2 -0
  15. package/lib-core-dtos/api.raml +63 -0
  16. package/lib-core-dtos/componentes-common-lib-angular/Menu/menuConfig.raml +83 -0
  17. package/lib-core-dtos/componentes-common-lib-angular/Menu/menuEvent.raml +42 -0
  18. package/lib-core-dtos/componentes-common-lib-angular/Menu/menuItem.raml +107 -0
  19. package/lib-core-dtos/componentes-common-lib-angular/tabla1/column.DTO.raml +48 -0
  20. package/lib-core-dtos/componentes-common-lib-angular/tabla1/dynamicField.DTO.raml +54 -0
  21. package/lib-core-dtos/componentes-common-lib-angular/tabla1/excelExportConfig.DTO.raml +58 -0
  22. package/lib-core-dtos/componentes-common-lib-angular/tabla1/exportColumn.raml +23 -0
  23. package/lib-core-dtos/componentes-common-lib-angular/tabla1/fieldType.DTO.raml +20 -0
  24. package/lib-core-dtos/mcs-bussines-n/auth/loginDTO.raml +11 -0
  25. package/lib-core-dtos/mcs-bussines-n/bussines/businessDTO.raml +102 -0
  26. package/lib-core-dtos/mcs-bussines-n/bussines/businessModuleDTO.raml +35 -0
  27. package/lib-core-dtos/mcs-bussines-n/bussines/coloresDTO.raml +30 -0
  28. package/lib-core-dtos/mcs-bussines-n/bussines/componentesDTO.raml +72 -0
  29. package/lib-core-dtos/mcs-bussines-n/bussines/dising-imagenDTO.raml +22 -0
  30. package/lib-core-dtos/mcs-bussines-n/bussines/disingDTO.raml +28 -0
  31. package/lib-core-dtos/mcs-bussines-n/bussines/imagenDTO.raml +30 -0
  32. package/lib-core-dtos/mcs-bussines-n/bussines/mediosPagosDTO.raml +15 -0
  33. package/lib-core-dtos/mcs-bussines-n/bussines/menuActive.raml +26 -0
  34. package/lib-core-dtos/mcs-bussines-n/bussines/menuDTO.raml +64 -0
  35. package/lib-core-dtos/mcs-bussines-n/bussines/moduloDTO.raml +25 -0
  36. package/lib-core-dtos/mcs-bussines-n/bussines/modulosComponentesDTO.raml +31 -0
  37. package/lib-core-dtos/mcs-bussines-n/bussines/plantillaDTO.raml +47 -0
  38. package/lib-core-dtos/mcs-bussines-n/bussines/sliderDTO.raml +41 -0
  39. package/lib-core-dtos/mcs-bussines-n/bussines/trabajosDTO.raml +60 -0
  40. package/lib-core-dtos/mcs-bussines-n/productos/carrito/carritoDTO.raml +68 -0
  41. package/lib-core-dtos/mcs-bussines-n/productos/carrito/carritoItemDTO.raml +26 -0
  42. package/lib-core-dtos/mcs-bussines-n/productos/categorias/categoriaDTO.raml +29 -0
  43. package/lib-core-dtos/mcs-bussines-n/productos/categorias/tipoCategoriaDTO.raml +13 -0
  44. package/lib-core-dtos/mcs-bussines-n/productos/monedaDTO.raml +29 -0
  45. package/lib-core-dtos/mcs-bussines-n/productos/pedidoproductos/pedido.raml +77 -0
  46. package/lib-core-dtos/mcs-bussines-n/productos/pedidoproductos/pedidoProducto.raml +28 -0
  47. package/lib-core-dtos/mcs-bussines-n/productos/productoDTO.raml +103 -0
  48. package/lib-core-dtos/mcs-bussines-n/request/create.bussinesRq.DTO.raml +19 -0
  49. package/lib-core-dtos/mcs-usuarios-Sp/request/registerUserDTO.raml +37 -0
  50. package/lib-core-dtos/mcs-usuarios-Sp/users/addresDTO.raml +29 -0
  51. package/lib-core-dtos/mcs-usuarios-Sp/users/cityDTO.raml +13 -0
  52. package/lib-core-dtos/mcs-usuarios-Sp/users/countryDTO.raml +34 -0
  53. package/lib-core-dtos/mcs-usuarios-Sp/users/datesUserDTO.raml +71 -0
  54. package/lib-core-dtos/mcs-usuarios-Sp/users/keycloakBuilderDTO.raml +18 -0
  55. package/lib-core-dtos/mcs-usuarios-Sp/users/loginDTO.raml +13 -0
  56. package/lib-core-dtos/mcs-usuarios-Sp/users/phoneDTO.raml +36 -0
  57. package/lib-core-dtos/mcs-usuarios-Sp/users/propertyTypeDTO.raml +18 -0
  58. package/lib-core-dtos/package.json +26 -0
  59. package/lib-core-dtos/scripts/generate-typescript.js +615 -0
  60. package/lib-core-dtos/scripts/validate-raml.js +154 -0
  61. package/lib-core-dtos/utils/queryParams.raml +43 -0
  62. package/package.json +8 -31
  63. package/projects/lib-common-angular/README.md +0 -0
  64. package/projects/lib-common-angular/lib.routes.ts +32 -0
  65. package/projects/lib-common-angular/ng-package.json +23 -0
  66. package/projects/lib-common-angular/package.json +13 -0
  67. package/projects/lib-common-angular/src/lib/common-lib.component.ts +16 -0
  68. package/projects/lib-common-angular/src/lib/common-lib.service.spec.ts +16 -0
  69. package/projects/lib-common-angular/src/lib/common-lib.service.ts +9 -0
  70. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/body/body.component.css +12 -0
  71. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/body/body.component.html +9 -0
  72. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/body/body.component.spec.ts +23 -0
  73. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/body/body.component.ts +21 -0
  74. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/button-call1/button-call1.component.css +0 -0
  75. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/button-call1/button-call1.component.html +5 -0
  76. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/button-call1/button-call1.component.spec.ts +23 -0
  77. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/button-call1/button-call1.component.ts +20 -0
  78. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/layout-services1/layout-services1.component.css +0 -0
  79. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/layout-services1/layout-services1.component.html +21 -0
  80. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/layout-services1/layout-services1.component.spec.ts +23 -0
  81. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/layout-services1/layout-services1.component.ts +40 -0
  82. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/link1/link1.component.html +6 -0
  83. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/link1/link1.component.scss +0 -0
  84. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/link1/link1.component.spec.ts +24 -0
  85. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/atoms/link1/link1.component.ts +79 -0
  86. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/contenido-nav/contenido-nav.component.html +40 -0
  87. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/contenido-nav/contenido-nav.component.scss +0 -0
  88. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/contenido-nav/contenido-nav.component.spec.ts +24 -0
  89. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/contenido-nav/contenido-nav.component.ts +54 -0
  90. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/footer1/footer1.component.css +0 -0
  91. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/footer1/footer1.component.html +55 -0
  92. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/footer1/footer1.component.spec.ts +23 -0
  93. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/footer1/footer1.component.ts +23 -0
  94. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/gallery-section1/gallery-section1.component.css +0 -0
  95. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/gallery-section1/gallery-section1.component.html +14 -0
  96. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/gallery-section1/gallery-section1.component.spec.ts +23 -0
  97. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/gallery-section1/gallery-section1.component.ts +38 -0
  98. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/nav1/nav1.component.css +0 -0
  99. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/nav1/nav1.component.html +24 -0
  100. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/nav1/nav1.component.spec.ts +23 -0
  101. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/nav1/nav1.component.ts +56 -0
  102. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/services-section1/services-section1.component.css +0 -0
  103. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/services-section1/services-section1.component.html +23 -0
  104. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/services-section1/services-section1.component.spec.ts +23 -0
  105. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/services-section1/services-section1.component.ts +27 -0
  106. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/slider1/slider1.component.css +0 -0
  107. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/slider1/slider1.component.html +58 -0
  108. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/slider1/slider1.component.spec.ts +23 -0
  109. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/molecules/slider1/slider1.component.ts +51 -0
  110. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/pages/index1/index1.component.css +0 -0
  111. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/pages/index1/index1.component.html +13 -0
  112. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/pages/index1/index1.component.spec.ts +23 -0
  113. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/componentes/pages/index1/index1.component.ts +79 -0
  114. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/footer/footer.component.css +24 -0
  115. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/footer/footer.component.html +4 -0
  116. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/footer/footer.component.spec.ts +23 -0
  117. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/footer/footer.component.ts +12 -0
  118. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/about-bg.png +0 -0
  119. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/about.png +0 -0
  120. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/client.jpg +0 -0
  121. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/envelope-blue.png +0 -0
  122. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/envelope-white.png +0 -0
  123. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/g-1.png +0 -0
  124. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/g-2.png +0 -0
  125. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/g-3.png +0 -0
  126. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/g-4.png +0 -0
  127. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/g-5.png +0 -0
  128. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/hero.jpg +0 -0
  129. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/location-blue.png +0 -0
  130. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/location-white.png +0 -0
  131. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/logo.png +0 -0
  132. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/menu.png +0 -0
  133. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/next.png +0 -0
  134. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/prev.png +0 -0
  135. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/s-1.png +0 -0
  136. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/s-2.png +0 -0
  137. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/s-3.png +0 -0
  138. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/search-icon.png +0 -0
  139. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/slider-img.png +0 -0
  140. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/telephone-blue.png +0 -0
  141. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/telephone-white.png +0 -0
  142. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/imagenes/tool.png +0 -0
  143. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/menu/menu.component.css +3 -0
  144. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/menu/menu.component.html +23 -0
  145. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/menu/menu.component.spec.ts +23 -0
  146. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard1/menu/menu.component.ts +18 -0
  147. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/about2/about2.component.css +0 -0
  148. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/about2/about2.component.html +1 -0
  149. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/about2/about2.component.spec.ts +23 -0
  150. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/about2/about2.component.ts +12 -0
  151. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/footer2/footer2.component.css +0 -0
  152. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/footer2/footer2.component.html +1 -0
  153. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/footer2/footer2.component.spec.ts +23 -0
  154. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/footer2/footer2.component.ts +12 -0
  155. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/gallery2/gallery2.component.css +0 -0
  156. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/gallery2/gallery2.component.html +1 -0
  157. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/gallery2/gallery2.component.spec.ts +23 -0
  158. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/gallery2/gallery2.component.ts +12 -0
  159. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/header2/header2.component.css +39 -0
  160. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/header2/header2.component.html +30 -0
  161. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/header2/header2.component.spec.ts +23 -0
  162. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/header2/header2.component.ts +13 -0
  163. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/index2/index2.component.css +0 -0
  164. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/index2/index2.component.html +2 -0
  165. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/index2/index2.component.spec.ts +23 -0
  166. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/index2/index2.component.ts +15 -0
  167. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/services2/services2.component.css +0 -0
  168. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/services2/services2.component.html +1 -0
  169. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/services2/services2.component.spec.ts +23 -0
  170. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/services2/services2.component.ts +12 -0
  171. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/slider2/slider2.component.css +0 -0
  172. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/slider2/slider2.component.html +1 -0
  173. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/slider2/slider2.component.spec.ts +23 -0
  174. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard2/slider2/slider2.component.ts +12 -0
  175. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/atoms/dynamic-menu1/dynamic-menu1.component.html +56 -0
  176. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/atoms/dynamic-menu1/dynamic-menu1.component.scss +192 -0
  177. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/atoms/dynamic-menu1/dynamic-menu1.component.ts +239 -0
  178. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/dashboard3-menu.config.ts +389 -0
  179. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/daskboard3.ts +143 -0
  180. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/app.configurator.ts +445 -0
  181. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/app.floatingconfigurator.ts +29 -0
  182. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/app.footer.ts +11 -0
  183. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/app.menuitem.ts +170 -0
  184. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/app.topbar.ts +92 -0
  185. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/menu/menu.component.html +110 -0
  186. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/menu/menu.component.scss +221 -0
  187. package/projects/lib-common-angular/src/lib/componentes/daskboards/daskboard3/moleculas/menu/menu.component.ts +189 -0
  188. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/buttons-socialmedia-login/buttons-socialmedia-login.html +19 -0
  189. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/buttons-socialmedia-login/buttons-socialmedia-login.scss +12 -0
  190. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/buttons-socialmedia-login/buttons-socialmedia-login.spec.ts +23 -0
  191. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/buttons-socialmedia-login/buttons-socialmedia-login.ts +13 -0
  192. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/header-top-ecommerce1/header-top-ecommerce1.html +21 -0
  193. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/header-top-ecommerce1/header-top-ecommerce1.scss +19 -0
  194. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/header-top-ecommerce1/header-top-ecommerce1.spec.ts +23 -0
  195. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/header-top-ecommerce1/header-top-ecommerce1.ts +24 -0
  196. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-login-ecommerce1/inputs-login-ecommerce1.html +17 -0
  197. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-login-ecommerce1/inputs-login-ecommerce1.scss +15 -0
  198. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-login-ecommerce1/inputs-login-ecommerce1.spec.ts +23 -0
  199. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-login-ecommerce1/inputs-login-ecommerce1.ts +18 -0
  200. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-register-ecommerce1/inputs-register-ecommerce1.html +21 -0
  201. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-register-ecommerce1/inputs-register-ecommerce1.scss +16 -0
  202. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-register-ecommerce1/inputs-register-ecommerce1.spec.ts +23 -0
  203. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/inputs-register-ecommerce1/inputs-register-ecommerce1.ts +12 -0
  204. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-header-forms-login-ecomerce1/section-header-forms-login-ecomerce1.html +4 -0
  205. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-header-forms-login-ecomerce1/section-header-forms-login-ecomerce1.scss +0 -0
  206. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-header-forms-login-ecomerce1/section-header-forms-login-ecomerce1.spec.ts +23 -0
  207. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-header-forms-login-ecomerce1/section-header-forms-login-ecomerce1.ts +13 -0
  208. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-login-registro-ecomerce1/section-login-registro-ecomerce1.html +5 -0
  209. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-login-registro-ecomerce1/section-login-registro-ecomerce1.scss +6 -0
  210. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-login-registro-ecomerce1/section-login-registro-ecomerce1.spec.ts +23 -0
  211. package/projects/lib-common-angular/src/lib/componentes/landingPages/atoms/ecommerce1/section-login-registro-ecomerce1/section-login-registro-ecomerce1.ts +11 -0
  212. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/bar-float-ecommerce1/bar-float-ecommerce1.html +9 -0
  213. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/bar-float-ecommerce1/bar-float-ecommerce1.scss +27 -0
  214. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/bar-float-ecommerce1/bar-float-ecommerce1.spec.ts +23 -0
  215. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/bar-float-ecommerce1/bar-float-ecommerce1.ts +20 -0
  216. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/cart/cart.component.html +34 -0
  217. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/cart/cart.component.ts +23 -0
  218. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/footer-ecommerce1/footer-ecommerce1.html +25 -0
  219. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/footer-ecommerce1/footer-ecommerce1.scss +19 -0
  220. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/footer-ecommerce1/footer-ecommerce1.spec.ts +23 -0
  221. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/footer-ecommerce1/footer-ecommerce1.ts +23 -0
  222. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/form-auth-eccomerce1/form-auth-eccomerce1.css +0 -0
  223. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/form-auth-eccomerce1/form-auth-eccomerce1.html +19 -0
  224. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/form-auth-eccomerce1/form-auth-eccomerce1.spec.ts +23 -0
  225. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/form-auth-eccomerce1/form-auth-eccomerce1.ts +19 -0
  226. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/header-ecommerce1/header-ecommerce1.html +168 -0
  227. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/header-ecommerce1/header-ecommerce1.scss +287 -0
  228. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/header-ecommerce1/header-ecommerce1.ts +421 -0
  229. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/hero-section-ecommerce1/hero-section-ecommerce1.css +39 -0
  230. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/hero-section-ecommerce1/hero-section-ecommerce1.html +29 -0
  231. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/hero-section-ecommerce1/hero-section-ecommerce1.ts +25 -0
  232. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/section-images-instagram-ecommerce1/section-images-instagram-ecommerce1.html +36 -0
  233. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/section-images-instagram-ecommerce1/section-images-instagram-ecommerce1.scss +39 -0
  234. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/section-images-instagram-ecommerce1/section-images-instagram-ecommerce1.spec.ts +23 -0
  235. package/projects/lib-common-angular/src/lib/componentes/landingPages/molecules/ecommerce1/section-images-instagram-ecommerce1/section-images-instagram-ecommerce1.ts +72 -0
  236. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/ecommerce1.html +50 -0
  237. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/ecommerce1.scss +276 -0
  238. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/ecommerce1.ts +341 -0
  239. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/home-ecommerce1/home-ecommerce1.html +77 -0
  240. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/home-ecommerce1/home-ecommerce1.scss +63 -0
  241. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/home-ecommerce1/home-ecommerce1.spec.ts +23 -0
  242. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/home-ecommerce1/home-ecommerce1.ts +160 -0
  243. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/login-ecommerce1/login-ecommerce1.html +11 -0
  244. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/login-ecommerce1/login-ecommerce1.scss +20 -0
  245. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/login-ecommerce1/login-ecommerce1.spec.ts +23 -0
  246. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/login-ecommerce1/login-ecommerce1.ts +18 -0
  247. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/product-detail-lib/product-detail-lib.html +20 -0
  248. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/product-detail-lib/product-detail-lib.scss +20 -0
  249. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/product-detail-lib/product-detail-lib.ts +190 -0
  250. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/register-ecommerce1/register-ecommerce1.html +11 -0
  251. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/register-ecommerce1/register-ecommerce1.scss +29 -0
  252. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/ecommerce1/register-ecommerce1/register-ecommerce1.ts +16 -0
  253. package/projects/lib-common-angular/src/lib/componentes/landingPages/pages/page1.html +913 -0
  254. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-action-delete1/button-action-delete1.component.html +9 -0
  255. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-action-delete1/button-action-delete1.component.scss +34 -0
  256. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-action-delete1/button-action-delete1.component.ts +33 -0
  257. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-action-edit1/button-action-edit1.component.html +9 -0
  258. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-action-edit1/button-action-edit1.component.scss +34 -0
  259. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-action-edit1/button-action-edit1.component.ts +32 -0
  260. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-actions-row1/button-actions-row1.component.html +17 -0
  261. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-actions-row1/button-actions-row1.component.scss +9 -0
  262. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-actions-row1/button-actions-row1.component.ts +45 -0
  263. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add-to-card1/button-add-to-card1.html +40 -0
  264. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add-to-card1/button-add-to-card1.scss +0 -0
  265. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add-to-card1/button-add-to-card1.spec.ts +23 -0
  266. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add-to-card1/button-add-to-card1.ts +60 -0
  267. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add1/button-add1.component.html +11 -0
  268. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add1/button-add1.component.scss +40 -0
  269. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-add1/button-add1.component.ts +36 -0
  270. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-card-view1/button-card-view1.component.html +1 -0
  271. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-card-view1/button-card-view1.component.scss +0 -0
  272. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-card-view1/button-card-view1.component.ts +24 -0
  273. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-delete1/button-delete1.component.html +11 -0
  274. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-delete1/button-delete1.component.scss +0 -0
  275. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-delete1/button-delete1.component.ts +35 -0
  276. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-options-table/button-options-table.component.html +9 -0
  277. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-options-table/button-options-table.component.scss +0 -0
  278. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-options-table/button-options-table.component.ts +90 -0
  279. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-table-view1/button-table-view1.component.html +1 -0
  280. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-table-view1/button-table-view1.component.scss +0 -0
  281. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/button-table-view1/button-table-view1.component.ts +25 -0
  282. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/loading-zigma/loading-zigma.html +37 -0
  283. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/loading-zigma/loading-zigma.scss +346 -0
  284. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/loading-zigma/loading-zigma.ts +11 -0
  285. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/menu-item1/menu-item1.component.html +103 -0
  286. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/menu-item1/menu-item1.component.scss +176 -0
  287. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/menu-item1/menu-item1.component.ts +117 -0
  288. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/paginator-pg/paginator-pg.component.ts +46 -0
  289. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/paginator-pg/paginator-pg.html +26 -0
  290. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/paginator-pg/paginator-pg.scss +0 -0
  291. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/select-input1/select-input1.component.css +8 -0
  292. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/select-input1/select-input1.component.html +8 -0
  293. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/select-input1/select-input1.component.spec.ts +23 -0
  294. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/select-input1/select-input1.component.ts +37 -0
  295. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/sh-wats-button-card/sh-wats-button-card.css +0 -0
  296. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/sh-wats-button-card/sh-wats-button-card.html +10 -0
  297. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/sh-wats-button-card/sh-wats-button-card.spec.ts +23 -0
  298. package/projects/lib-common-angular/src/lib/componentes/shared/atoms/sh-wats-button-card/sh-wats-button-card.ts +44 -0
  299. package/projects/lib-common-angular/src/lib/componentes/shared/interfaces/dynamic-field.interface.ts +86 -0
  300. package/projects/lib-common-angular/src/lib/componentes/shared/interfaces/menu.interface.ts +98 -0
  301. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/crud-dialog1/crud-dialog1.component.html +132 -0
  302. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/crud-dialog1/crud-dialog1.component.scss +47 -0
  303. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/crud-dialog1/crud-dialog1.component.ts +199 -0
  304. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/grid1/grid1.component.html +95 -0
  305. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/grid1/grid1.component.scss +40 -0
  306. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/grid1/grid1.component.ts +124 -0
  307. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/inflatable-customizer/customizer.component.html +53 -0
  308. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/inflatable-customizer/customizer.component.scss +26 -0
  309. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/inflatable-customizer/customizer.component.ts +104 -0
  310. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/product-dialog1/product-dialog1.component.html +112 -0
  311. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/product-dialog1/product-dialog1.component.scss +0 -0
  312. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/product-dialog1/product-dialog1.component.ts +87 -0
  313. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/card-productos1/card-productos1.component.html +118 -0
  314. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/card-productos1/card-productos1.component.scss +42 -0
  315. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/card-productos1/card-productos1.component.spec.ts +23 -0
  316. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/card-productos1/card-productos1.component.ts +202 -0
  317. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/detalle-carrito-1/detalle-carrito-1.component.html +134 -0
  318. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/detalle-carrito-1/detalle-carrito-1.component.scss +184 -0
  319. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/detalle-carrito-1/detalle-carrito-1.component.spec.ts +23 -0
  320. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/productos/detalle-carrito-1/detalle-carrito-1.component.ts +113 -0
  321. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-add-cards-buttons/section-add-cards-buttons.html +7 -0
  322. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-add-cards-buttons/section-add-cards-buttons.scss +0 -0
  323. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-add-cards-buttons/section-add-cards-buttons.spec.ts +23 -0
  324. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-add-cards-buttons/section-add-cards-buttons.ts +22 -0
  325. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-filters-categories-productos/section-filters-categories-productos.html +9 -0
  326. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-filters-categories-productos/section-filters-categories-productos.scss +41 -0
  327. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-filters-categories-productos/section-filters-categories-productos.spec.ts +23 -0
  328. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/section-filters-categories-productos/section-filters-categories-productos.ts +34 -0
  329. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/tabla1/tabla1.component.html +63 -0
  330. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/tabla1/tabla1.component.scss +0 -0
  331. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/tabla1/tabla1.component.ts +128 -0
  332. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/tool-bar1/tool-bar1.component.html +29 -0
  333. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/tool-bar1/tool-bar1.component.scss +0 -0
  334. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/tool-bar1/tool-bar1.component.ts +63 -0
  335. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/view-buttons-container1/view-buttons-container1.component.html +16 -0
  336. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/view-buttons-container1/view-buttons-container1.component.scss +0 -0
  337. package/projects/lib-common-angular/src/lib/componentes/shared/molecules/view-buttons-container1/view-buttons-container1.component.ts +52 -0
  338. package/projects/lib-common-angular/src/lib/componentes/shared/pages/crud/crud.component.html +53 -0
  339. package/projects/lib-common-angular/src/lib/componentes/shared/pages/crud/crud.component.scss +0 -0
  340. package/projects/lib-common-angular/src/lib/componentes/shared/pages/crud/crud.component.ts +256 -0
  341. package/projects/lib-common-angular/src/lib/componentes/shared/pages/crud/doc/crud-doc.component.ts +131 -0
  342. package/projects/lib-common-angular/src/lib/componentes/shared/pages/notfound/notfound.ts +74 -0
  343. package/projects/lib-common-angular/src/lib/componentes/shared/routes/componentes.routes.ts +13 -0
  344. package/projects/lib-common-angular/src/lib/componentes/shared/routes/ecomerce1.routes.ts +17 -0
  345. package/projects/lib-common-angular/src/lib/componentes/shared/routes/pages.routes.ts +19 -0
  346. package/projects/lib-common-angular/src/lib/componentes/shared/services/categorias-productos.service.ts +74 -0
  347. package/projects/lib-common-angular/src/lib/componentes/shared/services/component-services.service.ts +21 -0
  348. package/projects/lib-common-angular/src/lib/componentes/shared/services/dynamic-field.service.ts +204 -0
  349. package/projects/lib-common-angular/src/lib/componentes/shared/services/dynamic-menu.service.ts +439 -0
  350. package/projects/lib-common-angular/src/lib/componentes/shared/services/excel-export.service.ts +83 -0
  351. package/projects/lib-common-angular/src/lib/componentes/shared/services/generic-crud.service/generic-crud.service.ts +79 -0
  352. package/projects/lib-common-angular/src/lib/componentes/shared/services/layout.service.ts +179 -0
  353. package/projects/lib-common-angular/src/lib/componentes/shared/services/meta-data.service.ts/meta-data.service.ts +37 -0
  354. package/projects/lib-common-angular/src/lib/componentes/shared/services/pdf-export.service.ts +0 -0
  355. package/projects/lib-common-angular/src/lib/componentes/shared/services/product.service.ts +1962 -0
  356. package/projects/lib-common-angular/src/lib/componentes/shared/terminal/terminal.html +10 -0
  357. package/projects/lib-common-angular/src/lib/componentes/shared/terminal/terminal.scss +0 -0
  358. package/projects/lib-common-angular/src/lib/componentes/shared/terminal/terminal.ts +27 -0
  359. package/projects/lib-common-angular/src/lib/config/JuliaoSystemCrudHttpService.d.ts +48 -0
  360. package/projects/lib-common-angular/src/lib/config/JuliaoSystemCrudHttpService.ts +121 -0
  361. package/projects/lib-common-angular/src/lib/config/index.ts +0 -0
  362. package/projects/lib-common-angular/src/lib/config/lib-config.module.ts +18 -0
  363. package/projects/lib-common-angular/src/lib/config/lib-config.service.ts +50 -0
  364. package/projects/lib-common-angular/src/lib/lib-common-angular.module.ts +14 -0
  365. package/projects/lib-common-angular/src/lib/modulos/core.lib.module.ts +66 -0
  366. package/projects/lib-common-angular/src/lib/modulos/primeg.module.ts +103 -0
  367. package/projects/lib-common-angular/src/public-api.ts +122 -0
  368. package/projects/lib-common-angular/tsconfig.lib.json +15 -0
  369. package/projects/lib-common-angular/tsconfig.lib.prod.json +11 -0
  370. package/projects/lib-common-angular/tsconfig.spec.json +15 -0
  371. package/projects/lib-common-angular-demo/public/assets/demo/code.scss +17 -0
  372. package/projects/lib-common-angular-demo/public/assets/demo/demo.scss +2 -0
  373. package/projects/lib-common-angular-demo/public/assets/demo/flags/flags.scss +1 -0
  374. package/projects/lib-common-angular-demo/public/assets/demo/flags/flags_responsive.png +0 -0
  375. package/projects/lib-common-angular-demo/public/assets/layout/_core.scss +24 -0
  376. package/projects/lib-common-angular-demo/public/assets/layout/_footer.scss +8 -0
  377. package/projects/lib-common-angular-demo/public/assets/layout/_main.scss +13 -0
  378. package/projects/lib-common-angular-demo/public/assets/layout/_menu.scss +160 -0
  379. package/projects/lib-common-angular-demo/public/assets/layout/_mixins.scss +15 -0
  380. package/projects/lib-common-angular-demo/public/assets/layout/_preloading.scss +47 -0
  381. package/projects/lib-common-angular-demo/public/assets/layout/_responsive.scss +110 -0
  382. package/projects/lib-common-angular-demo/public/assets/layout/_topbar.scss +160 -0
  383. package/projects/lib-common-angular-demo/public/assets/layout/_typography.scss +68 -0
  384. package/projects/lib-common-angular-demo/public/assets/layout/_utils.scss +25 -0
  385. package/projects/lib-common-angular-demo/public/assets/layout/layout.scss +13 -0
  386. package/projects/lib-common-angular-demo/public/assets/layout/variables/_common.scss +20 -0
  387. package/projects/lib-common-angular-demo/public/assets/layout/variables/_dark.scss +5 -0
  388. package/projects/lib-common-angular-demo/public/assets/layout/variables/_light.scss +5 -0
  389. package/projects/lib-common-angular-demo/public/favicon.ico +0 -0
  390. package/projects/lib-common-angular-demo/src/app/app.component.html +1 -0
  391. package/projects/lib-common-angular-demo/src/app/app.component.scss +0 -0
  392. package/projects/lib-common-angular-demo/src/app/app.component.ts +12 -0
  393. package/projects/lib-common-angular-demo/src/app/app.config.server.ts +12 -0
  394. package/projects/lib-common-angular-demo/src/app/app.config.ts +22 -0
  395. package/projects/lib-common-angular-demo/src/app/app.routes.server.ts +8 -0
  396. package/projects/lib-common-angular-demo/src/app/app.routes.ts +86 -0
  397. package/projects/lib-common-angular-demo/src/app/componentes/crud/crud.component.html +43 -0
  398. package/projects/lib-common-angular-demo/src/app/componentes/crud/crud.component.scss +0 -0
  399. package/projects/lib-common-angular-demo/src/app/componentes/crud/crud.component.spec.ts +23 -0
  400. package/projects/lib-common-angular-demo/src/app/componentes/crud/crud.component.ts +243 -0
  401. package/projects/lib-common-angular-demo/src/app/componentes/menu-navigation/menu-demo-visual.component.ts +76 -0
  402. package/projects/lib-common-angular-demo/src/app/componentes/menu-navigation/menu-navigation.component.html +60 -0
  403. package/projects/lib-common-angular-demo/src/app/componentes/menu-navigation/menu-navigation.component.scss +63 -0
  404. package/projects/lib-common-angular-demo/src/app/componentes/menu-navigation/menu-navigation.component.ts +452 -0
  405. package/projects/lib-common-angular-demo/src/app/componentes/shared/card-carrito-demo/card-carrito-demo.html +15 -0
  406. package/projects/lib-common-angular-demo/src/app/componentes/shared/card-carrito-demo/card-carrito-demo.scss +0 -0
  407. package/projects/lib-common-angular-demo/src/app/componentes/shared/card-carrito-demo/card-carrito-demo.ts +21 -0
  408. package/projects/lib-common-angular-demo/src/app/componentes/shared/detalle-carrito-demo/detalle-carrito-demo.html +3 -0
  409. package/projects/lib-common-angular-demo/src/app/componentes/shared/detalle-carrito-demo/detalle-carrito-demo.scss +0 -0
  410. package/projects/lib-common-angular-demo/src/app/componentes/shared/detalle-carrito-demo/detalle-carrito-demo.spec.ts +23 -0
  411. package/projects/lib-common-angular-demo/src/app/componentes/shared/detalle-carrito-demo/detalle-carrito-demo.ts +22 -0
  412. package/projects/lib-common-angular-demo/src/app/componentes.routes.ts +14 -0
  413. package/projects/lib-common-angular-demo/src/app/core/services/component-services.service.ts +22 -0
  414. package/projects/lib-common-angular-demo/src/app/core/services/layout.service.ts +180 -0
  415. package/projects/lib-common-angular-demo/src/app/core/services/product.service.ts +1324 -0
  416. package/projects/lib-common-angular-demo/src/app/doc/crud/crud-doc-page.component.html +20 -0
  417. package/projects/lib-common-angular-demo/src/app/doc/crud/crud-doc-page.component.ts +67 -0
  418. package/projects/lib-common-angular-demo/src/app/doc.routes.ts +5 -0
  419. package/projects/lib-common-angular-demo/src/app/menu-configs.ts +336 -0
  420. package/projects/lib-common-angular-demo/src/app/ngxs-config.module.ts +0 -0
  421. package/projects/lib-common-angular-demo/src/app/pages/ecommerce1-demo/ecommerce1-demo.html +11 -0
  422. package/projects/lib-common-angular-demo/src/app/pages/ecommerce1-demo/ecommerce1-demo.scss +0 -0
  423. package/projects/lib-common-angular-demo/src/app/pages/ecommerce1-demo/ecommerce1-demo.spec.ts +23 -0
  424. package/projects/lib-common-angular-demo/src/app/pages/ecommerce1-demo/ecommerce1-demo.ts +102 -0
  425. package/projects/lib-common-angular-demo/src/app/pages.routes.ts +11 -0
  426. package/projects/lib-common-angular-demo/src/index.html +13 -0
  427. package/projects/lib-common-angular-demo/src/main.server.ts +7 -0
  428. package/projects/lib-common-angular-demo/src/main.ts +47 -0
  429. package/projects/lib-common-angular-demo/src/server.ts +66 -0
  430. package/projects/lib-common-angular-demo/src/styles.scss +5 -0
  431. package/projects/lib-common-angular-demo/tsconfig.app.json +19 -0
  432. package/projects/lib-common-angular-demo/tsconfig.spec.json +15 -0
  433. package/theme/_funtions.scss +62 -0
  434. package/theme/componentes/varthemes.scss +16 -0
  435. package/theme/variables.scss +240 -0
  436. package/tsconfig.json +35 -0
  437. package/fesm2022/lib-common-angular.mjs +0 -9409
  438. package/fesm2022/lib-common-angular.mjs.map +0 -1
  439. package/index.d.ts +0 -1866
  440. /package/{src → projects/lib-common-angular/src}/lib/assets/i18n/de.json +0 -0
  441. /package/{src → projects/lib-common-angular/src}/lib/assets/i18n/en.json +0 -0
  442. /package/{src → projects/lib-common-angular/src}/lib/assets/i18n/es.json +0 -0
  443. /package/{src → projects/lib-common-angular/src}/lib/assets/i18n/pt.json +0 -0
  444. /package/{src → projects/lib-common-angular/src}/lib/assets/imagenes/bannerInflables.png +0 -0
  445. /package/{src → projects/lib-common-angular/src}/lib/assets/state/business.state.ts +0 -0
  446. /package/{src → projects/lib-common-angular/src}/lib/assets/state/categorias-productos.state.ts +0 -0
  447. /package/{src → projects/lib-common-angular/src}/lib/assets/state/currency.state.ts +0 -0
  448. /package/{src → projects/lib-common-angular/src}/lib/assets/state/productos.state.ts +0 -0
  449. /package/{src → projects/lib-common-angular/src}/lib/assets/state/state-generic/generic-crud.actions.ts +0 -0
  450. /package/{src → projects/lib-common-angular/src}/lib/assets/state/state-generic/generic-crud.state.ts +0 -0
  451. /package/{src → projects/lib-common-angular/src}/lib/assets/state/usuarios.actions.ts +0 -0
  452. /package/{src → projects/lib-common-angular/src}/lib/styles/global-styles.scss +0 -0
@@ -0,0 +1,1962 @@
1
+ /* eslint-disable max-lines-per-function */
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Injectable } from '@angular/core';
4
+ import { CategoriaDTO, ProductoDTO } from '@juliaosistem/core-dtos';
5
+ import { LibConfigService } from '../../../config/lib-config.service';
6
+ import { JuliaoSystemCrudHttpService } from '../../../config/JuliaoSystemCrudHttpService';
7
+
8
+ export interface Product {
9
+ id?: string;
10
+ code?: string;
11
+ name?: string;
12
+ description?: string;
13
+ price?: number;
14
+ quantity?: number;
15
+ inventoryStatus?: string;
16
+ category?: string;
17
+ image?: string;
18
+ rating?: number;
19
+ }
20
+
21
+ @Injectable({
22
+ providedIn: 'root'
23
+ })
24
+ export class ProductService extends JuliaoSystemCrudHttpService<ProductoDTO, ProductoDTO> {
25
+
26
+
27
+ constructor(http: HttpClient, private configService: LibConfigService) {
28
+ super(http);
29
+ const baseUrl = this.configService.get<string>('baseUrlProducts') || 'http://localhost:3000/products';
30
+ this.basePathUrl = `${baseUrl}/product`;
31
+ }
32
+
33
+ mockProductoDTO(): ProductoDTO {
34
+ return {
35
+ id: '550e8400-e29b-41d4-a716-446655440000',
36
+ name: "Maleta Viaje Mediana Con Ruedas Resistente Moderna 20-22kg",
37
+
38
+ precios: [{
39
+ codigo_iso: "COP",
40
+ nombreMoneda: "Peso colombiano",
41
+ precio: 350000
42
+ }, {
43
+ codigo_iso: "USD",
44
+ nombreMoneda: "Dólar estadounidense",
45
+ precio: 95
46
+ }],
47
+
48
+ idCategoria: "Viajes y equipaje",
49
+ cantidad: 15,
50
+ imagen: [{
51
+ id: "1",
52
+ url: "https://placehold.co/600x600/F5C7A5/000?text=Maleta+Rosa",
53
+ alt: "Maleta Rosa",
54
+ idComponente: 0
55
+ }, {
56
+ id: "2",
57
+ url: "https://placehold.co/600x600/FFFF33/000?text=Maleta+Amarilla",
58
+ alt: "Maleta Amarilla",
59
+ idComponente: 0
60
+ }, {
61
+ id: "3",
62
+ url: "https://placehold.co/600x600/F5C7A5/000?text=Maleta+Rosa",
63
+ alt: "Maleta Amarilla",
64
+ idComponente: 0
65
+ }, {
66
+ id: "4",
67
+ url: "https://placehold.co/600x600/FFFFCC/000?text=Maleta+beige",
68
+ alt: "Maleta Beige",
69
+ idComponente: 0
70
+ }
71
+
72
+ ],
73
+ descripcion: '',
74
+ comision: 0,
75
+ fechaCreacion: '',
76
+ fechaActualizacion: '',
77
+ estado: "Activo",
78
+ idDatosUsuario: "550e8400-e29b-41d4-a716-446655440000",
79
+ idBusiness: 1
80
+ };
81
+
82
+ }
83
+
84
+ /**
85
+ * Método para Agregarle el nombre de la categoría a cada producto
86
+ * @param products Lista de productos a los cuales se les va a agregar el nombre de la categoría
87
+ * @param categorias Lista de categorías disponibles
88
+ * @return Lista de productos con el nombre de la categoría agregado
89
+ */
90
+ addNameCategoriaToProducts(products: ProductoDTO[], categorias: CategoriaDTO[]): ProductoDTO[] {
91
+ return products.map(product => {
92
+ const categoria = categorias.find(c => c.id === product.idCategoria);
93
+ if (categoria) {
94
+ product.nombreCategoria = categoria.nombreCategoria;
95
+ }
96
+ return product;
97
+ });
98
+ }
99
+
100
+ mockCategoriaInflablesDTO(): CategoriaDTO []{
101
+ return [
102
+
103
+ {
104
+ id: 'MCAS',
105
+ nombreCategoria: "Mini Castillos",
106
+ tipoCategoria: { id: 1, nombreTipoCategoria: "Inflables" }
107
+ },
108
+ {
109
+ id: 'CAS',
110
+ nombreCategoria: "Castillos",
111
+ tipoCategoria: { id: 1, nombreTipoCategoria: "Inflables" }
112
+ },
113
+ {
114
+ id: 'TOB',
115
+ nombreCategoria: "Toboganes",
116
+ tipoCategoria: { id: 1, nombreTipoCategoria: "Inflables" }
117
+ },
118
+ {
119
+ id: 'MTOB',
120
+ nombreCategoria: "Mini Toboganes",
121
+ tipoCategoria: { id: 1, nombreTipoCategoria: "Inflables" }
122
+ },
123
+ {
124
+ id: 'DES',
125
+ nombreCategoria: "Diseños Especiales",
126
+ tipoCategoria: { id: 1, nombreTipoCategoria: "Inflables" }
127
+ },
128
+ {
129
+ id: 'PUB',
130
+ nombreCategoria: "Publicitarios",
131
+ tipoCategoria: { id: 1, nombreTipoCategoria: "Inflables" }
132
+ },
133
+
134
+ ];
135
+ }
136
+ // Interfaces asumidas: ProductoDTO, MonedaDTO, ImagenDTO
137
+
138
+ mockProductosInflablesDTO(): ProductoDTO[] {
139
+ return [
140
+ {
141
+ id: 'MCAS25-001',
142
+ name: 'PISCINA DE PELOTAS 3X3',
143
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 3100000 }],
144
+ descuento: 0,
145
+ cantidad: 15,
146
+ idBusiness: 1,
147
+ idCategoria: 'MCAS',
148
+ nombreCategoria: '',
149
+ imagen: [{ id: '1', url: 'https://drive.google.com/file/d/1bvUYjg5pAVCoUV8pgivUej1QNaVcEhdR/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
150
+ estado: 'Activo',
151
+ descripcion: 'MINI CASTILLO 2.50 ALTO X 3 DE ANCHO X 3 DE FONDO IMPRESIONES OPCIONALES DE 50 X 70',
152
+ comision: 0,
153
+ fechaCreacion: '',
154
+ fechaActualizacion: '',
155
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
156
+ },
157
+ {
158
+ id: 'MCAS25-002',
159
+ name: 'CASTILLO MALLAS',
160
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 3100000 }],
161
+ descuento: 0,
162
+ cantidad: 15,
163
+ idBusiness: 1,
164
+ idCategoria: 'MCAS',
165
+ nombreCategoria: '',
166
+ imagen: [{ id: '2', url: 'https://drive.google.com/file/d/1Kv_0hwdmKOSBPM2Tc8YBdqFt2W7C6hKv/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
167
+ estado: 'Activo',
168
+ descripcion: 'MINI CASTILLO 2.50 ALTO X 3 DE ANCHO X 3 DE FONDO IMPRESIONES OPCIONALES DE 50 X 70',
169
+ comision: 0,
170
+ fechaCreacion: '',
171
+ fechaActualizacion: '',
172
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
173
+ },
174
+ {
175
+ id: 'MCAS25-003',
176
+ name: 'CASTILLO RESBALADERO',
177
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 3100000 }],
178
+ descuento: 0,
179
+ cantidad: 15,
180
+ idBusiness: 1,
181
+ idCategoria: 'MCAS',
182
+ nombreCategoria: '',
183
+ imagen: [{ id: '3', url: 'https://drive.google.com/file/d/1rESa51mTMOkwfMFRck2u2rh6gePoMRIM/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
184
+ estado: 'Activo',
185
+ descripcion: 'MINI CASTILLO 2.50 ALTO X 3 DE ANCHO X 3 DE FONDO IMPRESIONES OPCIONALES DE 50 X 70',
186
+ comision: 0,
187
+ fechaCreacion: '',
188
+ fechaActualizacion: '',
189
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
190
+ },
191
+ {
192
+ id: 'MCAS25-004',
193
+ name: 'COCODRILO',
194
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 4699000 }],
195
+ descuento: 0,
196
+ cantidad: 10,
197
+ idBusiness: 1,
198
+ idCategoria: 'MCAS',
199
+ nombreCategoria: '',
200
+ imagen: [{ id: '4', url: 'https://drive.google.com/file/d/1vVF_uOXj5WKJRmKjWaostKAKiZONI-Mv/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
201
+ estado: 'Activo',
202
+ descripcion: 'MINI CASTILLO 2.50 ALTO X 4 DE ANCHO X 4 DE FONDO CABEZA DE COCODRILO SIN IMPRESIONES',
203
+ comision: 0,
204
+ fechaCreacion: '',
205
+ fechaActualizacion: '',
206
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
207
+ },
208
+ {
209
+ id: 'MCAS25-005',
210
+ name: 'CASTILLO MINI LEGO',
211
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 4799000 }],
212
+ descuento: 0,
213
+ cantidad: 10,
214
+ idBusiness: 1,
215
+ idCategoria: 'MCAS',
216
+ nombreCategoria: '',
217
+ imagen: [{ id: '5', url: 'https://drive.google.com/file/d/1igto2LItg_YOH67C33KLN9KEr0V79Pg-/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
218
+ estado: 'Activo',
219
+ descripcion: 'MINI CASTILLO 2 ALTO X 4.20 DE ANCHO X 2.80 DE FONDO SIN IMPRESIONES',
220
+ comision: 0,
221
+ fechaCreacion: '',
222
+ fechaActualizacion: '',
223
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
224
+ },
225
+ {
226
+ id: 'MCAS25-006',
227
+ name: 'COCODRILO PALMERAS',
228
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 4950000 }],
229
+ descuento: 0,
230
+ cantidad: 10,
231
+ idBusiness: 1,
232
+ idCategoria: 'MCAS',
233
+ nombreCategoria: '',
234
+ imagen: [{ id: '6', url: 'https://drive.google.com/file/d/1cO465kNABoYCtJfhWah31D8aUlb6TFkF/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
235
+ estado: 'Activo',
236
+ descripcion: 'MINI CASTILLO 2.20 ALTO X 4.50 DE ANCHO X 4 DE FONDO SIN IMPRESIONES',
237
+ comision: 0,
238
+ fechaCreacion: '',
239
+ fechaActualizacion: '',
240
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
241
+ },
242
+ {
243
+ id: 'MCAS25-007',
244
+ name: 'HIPOPOTAMO',
245
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5100000 }],
246
+ descuento: 0,
247
+ cantidad: 8,
248
+ idBusiness: 1,
249
+ idCategoria: 'MCAS',
250
+ nombreCategoria: '',
251
+ imagen: [{ id: '7', url: 'https://drive.google.com/file/d/1pHMB_50b1mdzeMCTxFhFl3X4tYkb-5uN/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
252
+ estado: 'Activo',
253
+ descripcion: 'MINI CASTILLO 2 ALTO X 4 DE ANCHO X 4 DE FONDO IMPRESIONES OPCIONALES',
254
+ comision: 0,
255
+ fechaCreacion: '',
256
+ fechaActualizacion: '',
257
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
258
+ },
259
+ {
260
+ id: 'MCAS25-008',
261
+ name: 'MINI ZIGMA',
262
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 2300000 }],
263
+ descuento: 0,
264
+ cantidad: 20,
265
+ idBusiness: 1,
266
+ idCategoria: 'MCAS',
267
+ nombreCategoria: '',
268
+ imagen: [{ id: '8', url: 'https://drive.google.com/file/d/1srxXIRMwzn_TgNXdFV28zYpvBe9d8CrF/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
269
+ estado: 'Activo',
270
+ descripcion: '2 X 2 METROS (COLORES E IMPRESIÓN FRONTAL PERSONALIZABLE) (SIN PISCINA DE PELOTAS)',
271
+ comision: 0,
272
+ fechaCreacion: '',
273
+ fechaActualizacion: '',
274
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
275
+ },
276
+ {
277
+ id: 'MCAS25-009',
278
+ name: 'MINI ZIGMA BALL POOL',
279
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 2600000 }],
280
+ descuento: 0,
281
+ cantidad: 20,
282
+ idBusiness: 1,
283
+ idCategoria: 'MCAS',
284
+ nombreCategoria: '',
285
+ imagen: [{ id: '9', url: 'https://drive.google.com/file/d/1PWiq10DrH7XA97MZpyekdboSL8NEvGRu/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
286
+ estado: 'Activo',
287
+ descripcion: '2 X 2 METROS (COLORES E IMPRESIÓN FRONTAL PERSONALIZABLE) + PISCINA DE PELOTAS',
288
+ comision: 0,
289
+ fechaCreacion: '',
290
+ fechaActualizacion: '',
291
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
292
+ },
293
+ {
294
+ id: 'MCAS25-010',
295
+ name: 'MINI PATROL',
296
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 3400000 }],
297
+ descuento: 0,
298
+ cantidad: 12,
299
+ idBusiness: 1,
300
+ idCategoria: 'MCAS',
301
+ nombreCategoria: '',
302
+ imagen: [{ id: '10', url: 'https://drive.google.com/file/d/1eMqzqQBYH5ewcKdVBqA3_M3RS4iFZw2m/view?usp=drive_link', alt: 'inflables recreativos', idComponente: 0 }],
303
+ estado: 'Activo',
304
+ descripcion: 'MINI CASTILLO 2.50 ALTO X 3 DE ANCHO X 3 DE FONDO IMPRESIÓN DE LA TOTALIDAD DEL FRENTE',
305
+ comision: 0,
306
+ fechaCreacion: '',
307
+ fechaActualizacion: '',
308
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
309
+ },
310
+ {
311
+ id: 'CAS25-001',
312
+ name: '0’',
313
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 4899000 }],
314
+ descuento: 0,
315
+ cantidad: 10,
316
+ idBusiness: 1,
317
+ idCategoria: 'CAS',
318
+ nombreCategoria: '',
319
+ imagen: [{
320
+ id: '1',
321
+ url: 'https://drive.google.com/file/d/1GgA8XdkTZOPXkgZ1ufIQeNDp1GBovxcY/view?usp=drive_link',
322
+ alt: 'inflables recreativos',
323
+ idComponente: 0
324
+ }],
325
+ estado: 'Activo',
326
+ descripcion: 'CASTILLO 2.50 ALTO X 4 DE ANCHO X 4 DE FONDO IMPRESION FRONTAL PERSONALIZABLE',
327
+ comision: 0,
328
+ fechaCreacion: '',
329
+ fechaActualizacion: '',
330
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
331
+ },
332
+ {
333
+ id: 'CAS25-002',
334
+ name: 'CASTILLO ALADINO 4X4',
335
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 4799000 }],
336
+ descuento: 0,
337
+ cantidad: 10,
338
+ idBusiness: 1,
339
+ idCategoria: 'CAS',
340
+ nombreCategoria: '',
341
+ imagen: [{
342
+ id: '2',
343
+ url: 'https://drive.google.com/file/d/1QHGz5Ex0z2QIJVopCMDuGJSPVq9BxRx3/view?usp=drive_link',
344
+ alt: 'inflables recreativos',
345
+ idComponente: 0
346
+ }],
347
+ estado: 'Activo',
348
+ descripcion: 'CASTILLO 2.50 ALTO X 4 DE ANCHO X 4 DE FONDO SIN IMPRESIONES',
349
+ comision: 0,
350
+ fechaCreacion: '',
351
+ fechaActualizacion: '',
352
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
353
+ },
354
+ {
355
+ id: 'CAS25-003',
356
+ name: 'CASTILLO MINIPARQUE',
357
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5300000 }],
358
+ descuento: 0,
359
+ cantidad: 8,
360
+ idBusiness: 1,
361
+ idCategoria: 'CAS',
362
+ nombreCategoria: '',
363
+ imagen: [{
364
+ id: '3',
365
+ url: 'https://drive.google.com/file/d/1_JO6BeLOCgmtS_stTQn3uVF-OnBZvo9B/view?usp=drive_link',
366
+ alt: 'inflables recreativos',
367
+ idComponente: 0
368
+ }],
369
+ estado: 'Activo',
370
+ descripcion: 'CASTILLO 2.60 ALTO X 4.50 DE ANCHO X 4.50 DE FONDO SIN IMPRESIONES',
371
+ comision: 0,
372
+ fechaCreacion: '',
373
+ fechaActualizacion: '',
374
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
375
+ },
376
+ {
377
+ id: 'CAS25-004',
378
+ name: 'CASTILLO LEGO',
379
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5100000 }],
380
+ descuento: 0,
381
+ cantidad: 8,
382
+ idBusiness: 1,
383
+ idCategoria: 'CAS',
384
+ nombreCategoria: '',
385
+ imagen: [{
386
+ id: '4',
387
+ url: 'https://drive.google.com/file/d/191Ya70oOtS30hJJX4FTfujT6fDJqqmZ1/view?usp=drive_link',
388
+ alt: 'inflables recreativos',
389
+ idComponente: 0
390
+ }],
391
+ estado: 'Activo',
392
+ descripcion: 'CASTILLO 2.50 ALTO X 3 DE ANCHO X 3 DE FONDO SIN IMPRESIONES',
393
+ comision: 0,
394
+ fechaCreacion: '',
395
+ fechaActualizacion: '',
396
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
397
+ },
398
+ {
399
+ id: 'CAS25-005',
400
+ name: 'CASTILLO PALMERAS',
401
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5300000 }],
402
+ descuento: 0,
403
+ cantidad: 8,
404
+ idBusiness: 1,
405
+ idCategoria: 'CAS',
406
+ nombreCategoria: '',
407
+ imagen: [{
408
+ id: '5',
409
+ url: 'https://drive.google.com/file/d/16trPA0UrmplvXkP8tgl6JYNNWGSfYe6J/view?usp=drive_link',
410
+ alt: 'inflables recreativos',
411
+ idComponente: 0
412
+ }],
413
+ estado: 'Activo',
414
+ descripcion: 'CASTILLO 2.70 ALTO X 5 DE ANCHO X 5 DE FONDO SIN IMPRESIONES TORRES EN FORMA DE PALMERAS',
415
+ comision: 0,
416
+ fechaCreacion: '',
417
+ fechaActualizacion: '',
418
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
419
+ },{
420
+ id: 'MTOB25-001',
421
+ name: 'MINI TOBOGAN COCODRILO Y PALMERAS',
422
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 6800000 }],
423
+ descuento: 0,
424
+ cantidad: 8,
425
+ idBusiness: 1,
426
+ idCategoria: 'MTOB',
427
+ nombreCategoria: '',
428
+ imagen: [{
429
+ id: '1',
430
+ url: 'https://drive.google.com/file/d/1kLTJjAMHSrpYB6glbjDu3kUthgJWPmVq/view?usp=drive_link',
431
+ alt: 'inflables recreativos',
432
+ idComponente: 0
433
+ }],
434
+ estado: 'Activo',
435
+ descripcion: 'MINI TOBOGAN 4.50 ALTO X 4 DE ANCHO X 5 DE FONDO SIN IMPRESIONES ENTRADA CABEZA FORMA DE COCODRILO',
436
+ comision: 0,
437
+ fechaCreacion: '',
438
+ fechaActualizacion: '',
439
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
440
+ },
441
+ {
442
+ id: 'MTOB25-002',
443
+ name: 'MINI TOBOGAN DISNEY',
444
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5999000 }],
445
+ descuento: 0,
446
+ cantidad: 8,
447
+ idBusiness: 1,
448
+ idCategoria: 'MTOB',
449
+ nombreCategoria: '',
450
+ imagen: [{
451
+ id: '2',
452
+ url: 'https://drive.google.com/file/d/1C_6RPI3Z4-qIeN5bLL6MkR4ZneVO_jY1/view?usp=drive_link',
453
+ alt: 'inflables recreativos',
454
+ idComponente: 0
455
+ }],
456
+ estado: 'Activo',
457
+ descripcion: 'MINI TOBOGAN 4.50 ALTO X 4 DE ANCHO X 5 DE FONDO 2 IMPRESIONES FRONTALES, IMPRESIONES TROQUELADAS EN TORRES, PEDESTAL Y ARCOS',
458
+ comision: 0,
459
+ fechaCreacion: '',
460
+ fechaActualizacion: '',
461
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
462
+ },
463
+ {
464
+ id: 'MTOB25-003',
465
+ name: 'MINI TOBOGAN MARVEL',
466
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5999000 }],
467
+ descuento: 0,
468
+ cantidad: 8,
469
+ idBusiness: 1,
470
+ idCategoria: 'MTOB',
471
+ nombreCategoria: '',
472
+ imagen: [{
473
+ id: '3',
474
+ url: 'https://drive.google.com/file/d/1LPDwvgFZq5azSCYMBB_zZkX_Y3U5-Qut/view?usp=drive_link',
475
+ alt: 'inflables recreativos',
476
+ idComponente: 0
477
+ }],
478
+ estado: 'Activo',
479
+ descripcion: 'MINI TOBOGAN 4.50 ALTO X 4 DE ANCHO X 5 DE FONDO 3 IMPRESIONES FRONTALES, COLCHONES IMPRESOS EN TORRES Y PEDESTAL, ARCOS IMPRESOS',
480
+ comision: 0,
481
+ fechaCreacion: '',
482
+ fechaActualizacion: '',
483
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
484
+ },
485
+ {
486
+ id: 'MTOB25-004',
487
+ name: 'MINI TOBOGAN MARVEL 2',
488
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 6500000 }],
489
+ descuento: 0,
490
+ cantidad: 6,
491
+ idBusiness: 1,
492
+ idCategoria: 'MTOB',
493
+ nombreCategoria: '',
494
+ imagen: [{
495
+ id: '4',
496
+ url: 'https://drive.google.com/file/d/1q5EalGuF9Nu70XbmlaGliGJ3hf4rZjX5/view?usp=drive_link',
497
+ alt: 'inflables recreativos',
498
+ idComponente: 0
499
+ }],
500
+ estado: 'Activo',
501
+ descripcion: '3.50 ALTO X 4 DE ANCHO X 6 DE FONDO IMPRESIONES FRONTALES Y EN ARCOS Y PEDESTAL',
502
+ comision: 0,
503
+ fechaCreacion: '',
504
+ fechaActualizacion: '',
505
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
506
+ },
507
+ {
508
+ id: 'MTOB25-005',
509
+ name: 'MINI TOBOGAN SUPER MARIO',
510
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5999000 }],
511
+ descuento: 0,
512
+ cantidad: 6,
513
+ idBusiness: 1,
514
+ idCategoria: 'MTOB',
515
+ nombreCategoria: '',
516
+ imagen: [{
517
+ id: '5',
518
+ url: 'https://drive.google.com/file/d/1P36rzlCNbcoS90Rp6aMEcte0BIcg24uh/view?usp=drive_link',
519
+ alt: 'inflables recreativos',
520
+ idComponente: 0
521
+ }],
522
+ estado: 'Activo',
523
+ descripcion: 'MINI TOBOGAN 4.50 ALTO X 4 DE ANCHO X 5 DE FONDO 3 IMPRESIONES FRONTALES, COLCHON IMPRESO EN PEDESTAL',
524
+ comision: 0,
525
+ fechaCreacion: '',
526
+ fechaActualizacion: '',
527
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
528
+ },
529
+ {
530
+ id: 'MTOB25-006',
531
+ name: 'MINI TOBOGAN TORRE ALTA',
532
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 6500000 }],
533
+ descuento: 0,
534
+ cantidad: 6,
535
+ idBusiness: 1,
536
+ idCategoria: 'MTOB',
537
+ nombreCategoria: '',
538
+ imagen: [{
539
+ id: '6',
540
+ url: 'https://drive.google.com/file/d/1tDpZ6d54qCGmzqKYxQ0AQmPOeWYRPtP7/view?usp=drive_link',
541
+ alt: 'inflables recreativos',
542
+ idComponente: 0
543
+ }],
544
+ estado: 'Activo',
545
+ descripcion: 'MINI TOBOGAN 4.50 ALTO X 4 DE ANCHO X 5 DE FONDO SIN IMPRESIONES, MALLAS A LOS LADOS DE LA ENTRADA',
546
+ comision: 0,
547
+ fechaCreacion: '',
548
+ fechaActualizacion: '',
549
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
550
+ },
551
+ {
552
+ id: 'MTOB25-007',
553
+ name: 'MINI TOBOGAN JUMBO',
554
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 6500000 }],
555
+ descuento: 0,
556
+ cantidad: 6,
557
+ idBusiness: 1,
558
+ idCategoria: 'MTOB',
559
+ nombreCategoria: '',
560
+ imagen: [{
561
+ id: '7',
562
+ url: 'https://drive.google.com/file/d/1oiWtIBvD-oQZ8tVVPxPxYpJT6hQLm42_/view?usp=drive_link',
563
+ alt: 'inflables recreativos',
564
+ idComponente: 0
565
+ }],
566
+ estado: 'Activo',
567
+ descripcion: '4 ALTO X 5.30 DE ANCHO X 4.50 DE FONDO 3 IMPRESIONES FRONTALES Y 1 EN TOBOGAN',
568
+ comision: 0,
569
+ fechaCreacion: '',
570
+ fechaActualizacion: '',
571
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
572
+ },
573
+ {
574
+ id: 'MTOB25-008',
575
+ name: 'MINI TOBOGAN JUMBO 2',
576
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 6900000 }],
577
+ descuento: 0,
578
+ cantidad: 0,
579
+ idBusiness: 1,
580
+ idCategoria: 'MTOB',
581
+ nombreCategoria: '',
582
+ imagen: [{
583
+ id: '8',
584
+ url: 'https://drive.google.com/file/d/1nYIoUKm-mYFy1O0gcDS1f3uleSIMJUOb/view?usp=drive_link',
585
+ alt: 'inflables recreativos',
586
+ idComponente: 0
587
+ }],
588
+ estado: 'Activo',
589
+ descripcion: '4.50 ALTO X 5.30 DE ANCHO X 4.50 DE FONDO 2 MUÑECOS 3D EN CADA ESQUINA 3 IMPRESIONES FRONTALES 1 EN TOBOGAN Y 1 EN ENTRADA',
590
+ comision: 0,
591
+ fechaCreacion: '',
592
+ fechaActualizacion: '',
593
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
594
+ },
595
+ {
596
+ id: 'MTOB25-009',
597
+ name: 'MINI TOBOGAN MICKEY',
598
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 6500000 }],
599
+ descuento: 0,
600
+ cantidad: 0,
601
+ idBusiness: 1,
602
+ idCategoria: 'MTOB',
603
+ nombreCategoria: '',
604
+ imagen: [{
605
+ id: '9',
606
+ url: 'https://drive.google.com/file/d/1nzBYU-wXSk3fIISoPrPCHokpgPxqOXSH/view?usp=drivesdk',
607
+ alt: 'inflables recreativos',
608
+ idComponente: 0
609
+ }],
610
+ estado: 'Activo',
611
+ descripcion: 'MINI TOBOGAN 4.50 ALTO X 4 DE ANCHO X 5 LARGO, 1 SUBIDA, DOS DESLIZADEROS, ZONA DE BRINCO, 1 MUÑECO 3D E IMPRESIONES FRONTALES A GUSTO',
612
+ comision: 0,
613
+ fechaCreacion: '',
614
+ fechaActualizacion: '',
615
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
616
+ },
617
+ {
618
+ id: 'MTOB25-010',
619
+ name: 'MINI TOBOGAN COLORES',
620
+ precios: [{ codigo_iso: 'COP', nombreMoneda: 'Peso colombiano', precio: 5700000 }],
621
+ descuento: 0,
622
+ cantidad: 5,
623
+ idBusiness: 1,
624
+ idCategoria: 'MTOB',
625
+ nombreCategoria: '',
626
+ imagen: [{
627
+ id: '10',
628
+ url: '',
629
+ alt: 'inflables recreativos',
630
+ idComponente: 0
631
+ }],
632
+ estado: 'Activo',
633
+ descripcion: '',
634
+ comision: 0,
635
+ fechaCreacion: '',
636
+ fechaActualizacion: '',
637
+ idDatosUsuario: '550e8400-e29b-41d4-a716-446655440000'
638
+ }
639
+
640
+
641
+ ];
642
+ }
643
+
644
+ getProductsData() {
645
+ return [
646
+ {
647
+ id: '1000',
648
+ code: 'f230fh0g3',
649
+ name: 'Bamboo Watch',
650
+ description: 'Product Description',
651
+ image: 'bamboo-watch.jpg',
652
+ price: 65,
653
+ category: 'Accessories',
654
+ quantity: 24,
655
+ inventoryStatus: 'INSTOCK',
656
+ rating: 5
657
+ },
658
+ {
659
+ id: '1001',
660
+ code: 'nvklal433',
661
+ name: 'Black Watch',
662
+ description: 'Product Description',
663
+ image: 'black-watch.jpg',
664
+ price: 72,
665
+ category: 'Accessories',
666
+ quantity: 61,
667
+ inventoryStatus: 'INSTOCK',
668
+ rating: 4
669
+ },
670
+ {
671
+ id: '1002',
672
+ code: 'zz21cz3c1',
673
+ name: 'Blue Band',
674
+ description: 'Product Description',
675
+ image: 'blue-band.jpg',
676
+ price: 79,
677
+ category: 'Fitness',
678
+ quantity: 2,
679
+ inventoryStatus: 'LOWSTOCK',
680
+ rating: 3
681
+ },
682
+ {
683
+ id: '1003',
684
+ code: '244wgerg2',
685
+ name: 'Blue T-Shirt',
686
+ description: 'Product Description',
687
+ image: 'blue-t-shirt.jpg',
688
+ price: 29,
689
+ category: 'Clothing',
690
+ quantity: 25,
691
+ inventoryStatus: 'INSTOCK',
692
+ rating: 5
693
+ },
694
+ {
695
+ id: '1004',
696
+ code: 'h456wer53',
697
+ name: 'Bracelet',
698
+ description: 'Product Description',
699
+ image: 'bracelet.jpg',
700
+ price: 15,
701
+ category: 'Accessories',
702
+ quantity: 73,
703
+ inventoryStatus: 'INSTOCK',
704
+ rating: 4
705
+ },
706
+ {
707
+ id: '1005',
708
+ code: 'av2231fwg',
709
+ name: 'Brown Purse',
710
+ description: 'Product Description',
711
+ image: 'brown-purse.jpg',
712
+ price: 120,
713
+ category: 'Accessories',
714
+ quantity: 0,
715
+ inventoryStatus: 'OUTOFSTOCK',
716
+ rating: 4
717
+ },
718
+ {
719
+ id: '1006',
720
+ code: 'bib36pfvm',
721
+ name: 'Chakra Bracelet',
722
+ description: 'Product Description',
723
+ image: 'chakra-bracelet.jpg',
724
+ price: 32,
725
+ category: 'Accessories',
726
+ quantity: 5,
727
+ inventoryStatus: 'LOWSTOCK',
728
+ rating: 3
729
+ },
730
+ {
731
+ id: '1007',
732
+ code: 'mbvjkgip5',
733
+ name: 'Galaxy Earrings',
734
+ description: 'Product Description',
735
+ image: 'galaxy-earrings.jpg',
736
+ price: 34,
737
+ category: 'Accessories',
738
+ quantity: 23,
739
+ inventoryStatus: 'INSTOCK',
740
+ rating: 5
741
+ },
742
+ {
743
+ id: '1008',
744
+ code: 'vbb124btr',
745
+ name: 'Game Controller',
746
+ description: 'Product Description',
747
+ image: 'game-controller.jpg',
748
+ price: 99,
749
+ category: 'Electronics',
750
+ quantity: 2,
751
+ inventoryStatus: 'LOWSTOCK',
752
+ rating: 4
753
+ },
754
+ {
755
+ id: '1009',
756
+ code: 'cm230f032',
757
+ name: 'Gaming Set',
758
+ description: 'Product Description',
759
+ image: 'gaming-set.jpg',
760
+ price: 299,
761
+ category: 'Electronics',
762
+ quantity: 63,
763
+ inventoryStatus: 'INSTOCK',
764
+ rating: 3
765
+ },
766
+ {
767
+ id: '1010',
768
+ code: 'plb34234v',
769
+ name: 'Gold Phone Case',
770
+ description: 'Product Description',
771
+ image: 'gold-phone-case.jpg',
772
+ price: 24,
773
+ category: 'Accessories',
774
+ quantity: 0,
775
+ inventoryStatus: 'OUTOFSTOCK',
776
+ rating: 4
777
+ },
778
+ {
779
+ id: '1011',
780
+ code: '4920nnc2d',
781
+ name: 'Green Earbuds',
782
+ description: 'Product Description',
783
+ image: 'green-earbuds.jpg',
784
+ price: 89,
785
+ category: 'Electronics',
786
+ quantity: 23,
787
+ inventoryStatus: 'INSTOCK',
788
+ rating: 4
789
+ },
790
+ {
791
+ id: '1012',
792
+ code: '250vm23cc',
793
+ name: 'Green T-Shirt',
794
+ description: 'Product Description',
795
+ image: 'green-t-shirt.jpg',
796
+ price: 49,
797
+ category: 'Clothing',
798
+ quantity: 74,
799
+ inventoryStatus: 'INSTOCK',
800
+ rating: 5
801
+ },
802
+ {
803
+ id: '1013',
804
+ code: 'fldsmn31b',
805
+ name: 'Grey T-Shirt',
806
+ description: 'Product Description',
807
+ image: 'grey-t-shirt.jpg',
808
+ price: 48,
809
+ category: 'Clothing',
810
+ quantity: 0,
811
+ inventoryStatus: 'OUTOFSTOCK',
812
+ rating: 3
813
+ },
814
+ {
815
+ id: '1014',
816
+ code: 'waas1x2as',
817
+ name: 'Headphones',
818
+ description: 'Product Description',
819
+ image: 'headphones.jpg',
820
+ price: 175,
821
+ category: 'Electronics',
822
+ quantity: 8,
823
+ inventoryStatus: 'LOWSTOCK',
824
+ rating: 5
825
+ },
826
+ {
827
+ id: '1015',
828
+ code: 'vb34btbg5',
829
+ name: 'Light Green T-Shirt',
830
+ description: 'Product Description',
831
+ image: 'light-green-t-shirt.jpg',
832
+ price: 49,
833
+ category: 'Clothing',
834
+ quantity: 34,
835
+ inventoryStatus: 'INSTOCK',
836
+ rating: 4
837
+ },
838
+ {
839
+ id: '1016',
840
+ code: 'k8l6j58jl',
841
+ name: 'Lime Band',
842
+ description: 'Product Description',
843
+ image: 'lime-band.jpg',
844
+ price: 79,
845
+ category: 'Fitness',
846
+ quantity: 12,
847
+ inventoryStatus: 'INSTOCK',
848
+ rating: 3
849
+ },
850
+ {
851
+ id: '1017',
852
+ code: 'v435nn85n',
853
+ name: 'Mini Speakers',
854
+ description: 'Product Description',
855
+ image: 'mini-speakers.jpg',
856
+ price: 85,
857
+ category: 'Clothing',
858
+ quantity: 42,
859
+ inventoryStatus: 'INSTOCK',
860
+ rating: 4
861
+ },
862
+ {
863
+ id: '1018',
864
+ code: '09zx9c0zc',
865
+ name: 'Painted Phone Case',
866
+ description: 'Product Description',
867
+ image: 'painted-phone-case.jpg',
868
+ price: 56,
869
+ category: 'Accessories',
870
+ quantity: 41,
871
+ inventoryStatus: 'INSTOCK',
872
+ rating: 5
873
+ },
874
+ {
875
+ id: '1019',
876
+ code: 'mnb5mb2m5',
877
+ name: 'Pink Band',
878
+ description: 'Product Description',
879
+ image: 'pink-band.jpg',
880
+ price: 79,
881
+ category: 'Fitness',
882
+ quantity: 63,
883
+ inventoryStatus: 'INSTOCK',
884
+ rating: 4
885
+ },
886
+ {
887
+ id: '1020',
888
+ code: 'r23fwf2w3',
889
+ name: 'Pink Purse',
890
+ description: 'Product Description',
891
+ image: 'pink-purse.jpg',
892
+ price: 110,
893
+ category: 'Accessories',
894
+ quantity: 0,
895
+ inventoryStatus: 'OUTOFSTOCK',
896
+ rating: 4
897
+ },
898
+ {
899
+ id: '1021',
900
+ code: 'pxpzczo23',
901
+ name: 'Purple Band',
902
+ description: 'Product Description',
903
+ image: 'purple-band.jpg',
904
+ price: 79,
905
+ category: 'Fitness',
906
+ quantity: 6,
907
+ inventoryStatus: 'LOWSTOCK',
908
+ rating: 3
909
+ },
910
+ {
911
+ id: '1022',
912
+ code: '2c42cb5cb',
913
+ name: 'Purple Gemstone Necklace',
914
+ description: 'Product Description',
915
+ image: 'purple-gemstone-necklace.jpg',
916
+ price: 45,
917
+ category: 'Accessories',
918
+ quantity: 62,
919
+ inventoryStatus: 'INSTOCK',
920
+ rating: 4
921
+ },
922
+ {
923
+ id: '1023',
924
+ code: '5k43kkk23',
925
+ name: 'Purple T-Shirt',
926
+ description: 'Product Description',
927
+ image: 'purple-t-shirt.jpg',
928
+ price: 49,
929
+ category: 'Clothing',
930
+ quantity: 2,
931
+ inventoryStatus: 'LOWSTOCK',
932
+ rating: 5
933
+ },
934
+ {
935
+ id: '1024',
936
+ code: 'lm2tny2k4',
937
+ name: 'Shoes',
938
+ description: 'Product Description',
939
+ image: 'shoes.jpg',
940
+ price: 64,
941
+ category: 'Clothing',
942
+ quantity: 0,
943
+ inventoryStatus: 'INSTOCK',
944
+ rating: 4
945
+ },
946
+ {
947
+ id: '1025',
948
+ code: 'nbm5mv45n',
949
+ name: 'Sneakers',
950
+ description: 'Product Description',
951
+ image: 'sneakers.jpg',
952
+ price: 78,
953
+ category: 'Clothing',
954
+ quantity: 52,
955
+ inventoryStatus: 'INSTOCK',
956
+ rating: 4
957
+ },
958
+ {
959
+ id: '1026',
960
+ code: 'zx23zc42c',
961
+ name: 'Teal T-Shirt',
962
+ description: 'Product Description',
963
+ image: 'teal-t-shirt.jpg',
964
+ price: 49,
965
+ category: 'Clothing',
966
+ quantity: 3,
967
+ inventoryStatus: 'LOWSTOCK',
968
+ rating: 3
969
+ },
970
+ {
971
+ id: '1027',
972
+ code: 'acvx872gc',
973
+ name: 'Yellow Earbuds',
974
+ description: 'Product Description',
975
+ image: 'yellow-earbuds.jpg',
976
+ price: 89,
977
+ category: 'Electronics',
978
+ quantity: 35,
979
+ inventoryStatus: 'INSTOCK',
980
+ rating: 3
981
+ },
982
+ {
983
+ id: '1028',
984
+ code: 'tx125ck42',
985
+ name: 'Yoga Mat',
986
+ description: 'Product Description',
987
+ image: 'yoga-mat.jpg',
988
+ price: 20,
989
+ category: 'Fitness',
990
+ quantity: 15,
991
+ inventoryStatus: 'INSTOCK',
992
+ rating: 5
993
+ },
994
+ {
995
+ id: '1029',
996
+ code: 'gwuby345v',
997
+ name: 'Yoga Set',
998
+ description: 'Product Description',
999
+ image: 'yoga-set.jpg',
1000
+ price: 20,
1001
+ category: 'Fitness',
1002
+ quantity: 25,
1003
+ inventoryStatus: 'INSTOCK',
1004
+ rating: 8
1005
+ }
1006
+ ];
1007
+ }
1008
+
1009
+ getProductsWithOrdersData() {
1010
+ return [
1011
+ {
1012
+ id: '1000',
1013
+ code: 'f230fh0g3',
1014
+ name: 'Bamboo Watch',
1015
+ description: 'Product Description',
1016
+ image: 'bamboo-watch.jpg',
1017
+ price: 65,
1018
+ category: 'Accessories',
1019
+ quantity: 24,
1020
+ inventoryStatus: 'INSTOCK',
1021
+ rating: 5,
1022
+ orders: [
1023
+ {
1024
+ id: '1000-0',
1025
+ productCode: 'f230fh0g3',
1026
+ date: '2020-09-13',
1027
+ amount: 65,
1028
+ quantity: 1,
1029
+ customer: 'David James',
1030
+ status: 'PENDING'
1031
+ },
1032
+ {
1033
+ id: '1000-1',
1034
+ productCode: 'f230fh0g3',
1035
+ date: '2020-05-14',
1036
+ amount: 130,
1037
+ quantity: 2,
1038
+ customer: 'Leon Rodrigues',
1039
+ status: 'DELIVERED'
1040
+ },
1041
+ {
1042
+ id: '1000-2',
1043
+ productCode: 'f230fh0g3',
1044
+ date: '2019-01-04',
1045
+ amount: 65,
1046
+ quantity: 1,
1047
+ customer: 'Juan Alejandro',
1048
+ status: 'RETURNED'
1049
+ },
1050
+ {
1051
+ id: '1000-3',
1052
+ productCode: 'f230fh0g3',
1053
+ date: '2020-09-13',
1054
+ amount: 195,
1055
+ quantity: 3,
1056
+ customer: 'Claire Morrow',
1057
+ status: 'CANCELLED'
1058
+ }
1059
+ ]
1060
+ },
1061
+ {
1062
+ id: '1001',
1063
+ code: 'nvklal433',
1064
+ name: 'Black Watch',
1065
+ description: 'Product Description',
1066
+ image: 'black-watch.jpg',
1067
+ price: 72,
1068
+ category: 'Accessories',
1069
+ quantity: 61,
1070
+ inventoryStatus: 'INSTOCK',
1071
+ rating: 4,
1072
+ orders: [
1073
+ {
1074
+ id: '1001-0',
1075
+ productCode: 'nvklal433',
1076
+ date: '2020-05-14',
1077
+ amount: 72,
1078
+ quantity: 1,
1079
+ customer: 'Maisha Jefferson',
1080
+ status: 'DELIVERED'
1081
+ },
1082
+ {
1083
+ id: '1001-1',
1084
+ productCode: 'nvklal433',
1085
+ date: '2020-02-28',
1086
+ amount: 144,
1087
+ quantity: 2,
1088
+ customer: 'Octavia Murillo',
1089
+ status: 'PENDING'
1090
+ }
1091
+ ]
1092
+ },
1093
+ {
1094
+ id: '1002',
1095
+ code: 'zz21cz3c1',
1096
+ name: 'Blue Band',
1097
+ description: 'Product Description',
1098
+ image: 'blue-band.jpg',
1099
+ price: 79,
1100
+ category: 'Fitness',
1101
+ quantity: 2,
1102
+ inventoryStatus: 'LOWSTOCK',
1103
+ rating: 3,
1104
+ orders: [
1105
+ {
1106
+ id: '1002-0',
1107
+ productCode: 'zz21cz3c1',
1108
+ date: '2020-07-05',
1109
+ amount: 79,
1110
+ quantity: 1,
1111
+ customer: 'Stacey Leja',
1112
+ status: 'DELIVERED'
1113
+ },
1114
+ {
1115
+ id: '1002-1',
1116
+ productCode: 'zz21cz3c1',
1117
+ date: '2020-02-06',
1118
+ amount: 79,
1119
+ quantity: 1,
1120
+ customer: 'Ashley Wickens',
1121
+ status: 'DELIVERED'
1122
+ }
1123
+ ]
1124
+ },
1125
+ {
1126
+ id: '1003',
1127
+ code: '244wgerg2',
1128
+ name: 'Blue T-Shirt',
1129
+ description: 'Product Description',
1130
+ image: 'blue-t-shirt.jpg',
1131
+ price: 29,
1132
+ category: 'Clothing',
1133
+ quantity: 25,
1134
+ inventoryStatus: 'INSTOCK',
1135
+ rating: 5,
1136
+ orders: []
1137
+ },
1138
+ {
1139
+ id: '1004',
1140
+ code: 'h456wer53',
1141
+ name: 'Bracelet',
1142
+ description: 'Product Description',
1143
+ image: 'bracelet.jpg',
1144
+ price: 15,
1145
+ category: 'Accessories',
1146
+ quantity: 73,
1147
+ inventoryStatus: 'INSTOCK',
1148
+ rating: 4,
1149
+ orders: [
1150
+ {
1151
+ id: '1004-0',
1152
+ productCode: 'h456wer53',
1153
+ date: '2020-09-05',
1154
+ amount: 60,
1155
+ quantity: 4,
1156
+ customer: 'Mayumi Misaki',
1157
+ status: 'PENDING'
1158
+ },
1159
+ {
1160
+ id: '1004-1',
1161
+ productCode: 'h456wer53',
1162
+ date: '2019-04-16',
1163
+ amount: 2,
1164
+ quantity: 30,
1165
+ customer: 'Francesco Salvatore',
1166
+ status: 'DELIVERED'
1167
+ }
1168
+ ]
1169
+ },
1170
+ {
1171
+ id: '1005',
1172
+ code: 'av2231fwg',
1173
+ name: 'Brown Purse',
1174
+ description: 'Product Description',
1175
+ image: 'brown-purse.jpg',
1176
+ price: 120,
1177
+ category: 'Accessories',
1178
+ quantity: 0,
1179
+ inventoryStatus: 'OUTOFSTOCK',
1180
+ rating: 4,
1181
+ orders: [
1182
+ {
1183
+ id: '1005-0',
1184
+ productCode: 'av2231fwg',
1185
+ date: '2020-01-25',
1186
+ amount: 120,
1187
+ quantity: 1,
1188
+ customer: 'Isabel Sinclair',
1189
+ status: 'RETURNED'
1190
+ },
1191
+ {
1192
+ id: '1005-1',
1193
+ productCode: 'av2231fwg',
1194
+ date: '2019-03-12',
1195
+ amount: 240,
1196
+ quantity: 2,
1197
+ customer: 'Lionel Clifford',
1198
+ status: 'DELIVERED'
1199
+ },
1200
+ {
1201
+ id: '1005-2',
1202
+ productCode: 'av2231fwg',
1203
+ date: '2019-05-05',
1204
+ amount: 120,
1205
+ quantity: 1,
1206
+ customer: 'Cody Chavez',
1207
+ status: 'DELIVERED'
1208
+ }
1209
+ ]
1210
+ },
1211
+ {
1212
+ id: '1006',
1213
+ code: 'bib36pfvm',
1214
+ name: 'Chakra Bracelet',
1215
+ description: 'Product Description',
1216
+ image: 'chakra-bracelet.jpg',
1217
+ price: 32,
1218
+ category: 'Accessories',
1219
+ quantity: 5,
1220
+ inventoryStatus: 'LOWSTOCK',
1221
+ rating: 3,
1222
+ orders: [
1223
+ {
1224
+ id: '1006-0',
1225
+ productCode: 'bib36pfvm',
1226
+ date: '2020-02-24',
1227
+ amount: 32,
1228
+ quantity: 1,
1229
+ customer: 'Arvin Darci',
1230
+ status: 'DELIVERED'
1231
+ },
1232
+ {
1233
+ id: '1006-1',
1234
+ productCode: 'bib36pfvm',
1235
+ date: '2020-01-14',
1236
+ amount: 64,
1237
+ quantity: 2,
1238
+ customer: 'Izzy Jones',
1239
+ status: 'PENDING'
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ id: '1007',
1245
+ code: 'mbvjkgip5',
1246
+ name: 'Galaxy Earrings',
1247
+ description: 'Product Description',
1248
+ image: 'galaxy-earrings.jpg',
1249
+ price: 34,
1250
+ category: 'Accessories',
1251
+ quantity: 23,
1252
+ inventoryStatus: 'INSTOCK',
1253
+ rating: 5,
1254
+ orders: [
1255
+ {
1256
+ id: '1007-0',
1257
+ productCode: 'mbvjkgip5',
1258
+ date: '2020-06-19',
1259
+ amount: 34,
1260
+ quantity: 1,
1261
+ customer: 'Jennifer Smith',
1262
+ status: 'DELIVERED'
1263
+ }
1264
+ ]
1265
+ },
1266
+ {
1267
+ id: '1008',
1268
+ code: 'vbb124btr',
1269
+ name: 'Game Controller',
1270
+ description: 'Product Description',
1271
+ image: 'game-controller.jpg',
1272
+ price: 99,
1273
+ category: 'Electronics',
1274
+ quantity: 2,
1275
+ inventoryStatus: 'LOWSTOCK',
1276
+ rating: 4,
1277
+ orders: [
1278
+ {
1279
+ id: '1008-0',
1280
+ productCode: 'vbb124btr',
1281
+ date: '2020-01-05',
1282
+ amount: 99,
1283
+ quantity: 1,
1284
+ customer: 'Jeanfrancois David',
1285
+ status: 'DELIVERED'
1286
+ },
1287
+ {
1288
+ id: '1008-1',
1289
+ productCode: 'vbb124btr',
1290
+ date: '2020-01-19',
1291
+ amount: 198,
1292
+ quantity: 2,
1293
+ customer: 'Ivar Greenwood',
1294
+ status: 'RETURNED'
1295
+ }
1296
+ ]
1297
+ },
1298
+ {
1299
+ id: '1009',
1300
+ code: 'cm230f032',
1301
+ name: 'Gaming Set',
1302
+ description: 'Product Description',
1303
+ image: 'gaming-set.jpg',
1304
+ price: 299,
1305
+ category: 'Electronics',
1306
+ quantity: 63,
1307
+ inventoryStatus: 'INSTOCK',
1308
+ rating: 3,
1309
+ orders: [
1310
+ {
1311
+ id: '1009-0',
1312
+ productCode: 'cm230f032',
1313
+ date: '2020-06-24',
1314
+ amount: 299,
1315
+ quantity: 1,
1316
+ customer: 'Kadeem Mujtaba',
1317
+ status: 'PENDING'
1318
+ },
1319
+ {
1320
+ id: '1009-1',
1321
+ productCode: 'cm230f032',
1322
+ date: '2020-05-11',
1323
+ amount: 299,
1324
+ quantity: 1,
1325
+ customer: 'Ashley Wickens',
1326
+ status: 'DELIVERED'
1327
+ },
1328
+ {
1329
+ id: '1009-2',
1330
+ productCode: 'cm230f032',
1331
+ date: '2019-02-07',
1332
+ amount: 299,
1333
+ quantity: 1,
1334
+ customer: 'Julie Johnson',
1335
+ status: 'DELIVERED'
1336
+ },
1337
+ {
1338
+ id: '1009-3',
1339
+ productCode: 'cm230f032',
1340
+ date: '2020-04-26',
1341
+ amount: 299,
1342
+ quantity: 1,
1343
+ customer: 'Tony Costa',
1344
+ status: 'CANCELLED'
1345
+ }
1346
+ ]
1347
+ },
1348
+ {
1349
+ id: '1010',
1350
+ code: 'plb34234v',
1351
+ name: 'Gold Phone Case',
1352
+ description: 'Product Description',
1353
+ image: 'gold-phone-case.jpg',
1354
+ price: 24,
1355
+ category: 'Accessories',
1356
+ quantity: 0,
1357
+ inventoryStatus: 'OUTOFSTOCK',
1358
+ rating: 4,
1359
+ orders: [
1360
+ {
1361
+ id: '1010-0',
1362
+ productCode: 'plb34234v',
1363
+ date: '2020-02-04',
1364
+ amount: 24,
1365
+ quantity: 1,
1366
+ customer: 'James Butt',
1367
+ status: 'DELIVERED'
1368
+ },
1369
+ {
1370
+ id: '1010-1',
1371
+ productCode: 'plb34234v',
1372
+ date: '2020-05-05',
1373
+ amount: 48,
1374
+ quantity: 2,
1375
+ customer: 'Josephine Darakjy',
1376
+ status: 'DELIVERED'
1377
+ }
1378
+ ]
1379
+ },
1380
+ {
1381
+ id: '1011',
1382
+ code: '4920nnc2d',
1383
+ name: 'Green Earbuds',
1384
+ description: 'Product Description',
1385
+ image: 'green-earbuds.jpg',
1386
+ price: 89,
1387
+ category: 'Electronics',
1388
+ quantity: 23,
1389
+ inventoryStatus: 'INSTOCK',
1390
+ rating: 4,
1391
+ orders: [
1392
+ {
1393
+ id: '1011-0',
1394
+ productCode: '4920nnc2d',
1395
+ date: '2020-06-01',
1396
+ amount: 89,
1397
+ quantity: 1,
1398
+ customer: 'Art Venere',
1399
+ status: 'DELIVERED'
1400
+ }
1401
+ ]
1402
+ },
1403
+ {
1404
+ id: '1012',
1405
+ code: '250vm23cc',
1406
+ name: 'Green T-Shirt',
1407
+ description: 'Product Description',
1408
+ image: 'green-t-shirt.jpg',
1409
+ price: 49,
1410
+ category: 'Clothing',
1411
+ quantity: 74,
1412
+ inventoryStatus: 'INSTOCK',
1413
+ rating: 5,
1414
+ orders: [
1415
+ {
1416
+ id: '1012-0',
1417
+ productCode: '250vm23cc',
1418
+ date: '2020-02-05',
1419
+ amount: 49,
1420
+ quantity: 1,
1421
+ customer: 'Lenna Paprocki',
1422
+ status: 'DELIVERED'
1423
+ },
1424
+ {
1425
+ id: '1012-1',
1426
+ productCode: '250vm23cc',
1427
+ date: '2020-02-15',
1428
+ amount: 49,
1429
+ quantity: 1,
1430
+ customer: 'Donette Foller',
1431
+ status: 'PENDING'
1432
+ }
1433
+ ]
1434
+ },
1435
+ {
1436
+ id: '1013',
1437
+ code: 'fldsmn31b',
1438
+ name: 'Grey T-Shirt',
1439
+ description: 'Product Description',
1440
+ image: 'grey-t-shirt.jpg',
1441
+ price: 48,
1442
+ category: 'Clothing',
1443
+ quantity: 0,
1444
+ inventoryStatus: 'OUTOFSTOCK',
1445
+ rating: 3,
1446
+ orders: [
1447
+ {
1448
+ id: '1013-0',
1449
+ productCode: 'fldsmn31b',
1450
+ date: '2020-04-01',
1451
+ amount: 48,
1452
+ quantity: 1,
1453
+ customer: 'Simona Morasca',
1454
+ status: 'DELIVERED'
1455
+ }
1456
+ ]
1457
+ },
1458
+ {
1459
+ id: '1014',
1460
+ code: 'waas1x2as',
1461
+ name: 'Headphones',
1462
+ description: 'Product Description',
1463
+ image: 'headphones.jpg',
1464
+ price: 175,
1465
+ category: 'Electronics',
1466
+ quantity: 8,
1467
+ inventoryStatus: 'LOWSTOCK',
1468
+ rating: 5,
1469
+ orders: [
1470
+ {
1471
+ id: '1014-0',
1472
+ productCode: 'waas1x2as',
1473
+ date: '2020-05-15',
1474
+ amount: 175,
1475
+ quantity: 1,
1476
+ customer: 'Lenna Paprocki',
1477
+ status: 'DELIVERED'
1478
+ },
1479
+ {
1480
+ id: '1014-1',
1481
+ productCode: 'waas1x2as',
1482
+ date: '2020-01-02',
1483
+ amount: 175,
1484
+ quantity: 1,
1485
+ customer: 'Donette Foller',
1486
+ status: 'CANCELLED'
1487
+ }
1488
+ ]
1489
+ },
1490
+ {
1491
+ id: '1015',
1492
+ code: 'vb34btbg5',
1493
+ name: 'Light Green T-Shirt',
1494
+ description: 'Product Description',
1495
+ image: 'light-green-t-shirt.jpg',
1496
+ price: 49,
1497
+ category: 'Clothing',
1498
+ quantity: 34,
1499
+ inventoryStatus: 'INSTOCK',
1500
+ rating: 4,
1501
+ orders: [
1502
+ {
1503
+ id: '1015-0',
1504
+ productCode: 'vb34btbg5',
1505
+ date: '2020-07-02',
1506
+ amount: 98,
1507
+ quantity: 2,
1508
+ customer: 'Mitsue Tollner',
1509
+ status: 'DELIVERED'
1510
+ }
1511
+ ]
1512
+ },
1513
+ {
1514
+ id: '1016',
1515
+ code: 'k8l6j58jl',
1516
+ name: 'Lime Band',
1517
+ description: 'Product Description',
1518
+ image: 'lime-band.jpg',
1519
+ price: 79,
1520
+ category: 'Fitness',
1521
+ quantity: 12,
1522
+ inventoryStatus: 'INSTOCK',
1523
+ rating: 3,
1524
+ orders: []
1525
+ },
1526
+ {
1527
+ id: '1017',
1528
+ code: 'v435nn85n',
1529
+ name: 'Mini Speakers',
1530
+ description: 'Product Description',
1531
+ image: 'mini-speakers.jpg',
1532
+ price: 85,
1533
+ category: 'Clothing',
1534
+ quantity: 42,
1535
+ inventoryStatus: 'INSTOCK',
1536
+ rating: 4,
1537
+ orders: [
1538
+ {
1539
+ id: '1017-0',
1540
+ productCode: 'v435nn85n',
1541
+ date: '2020-07-12',
1542
+ amount: 85,
1543
+ quantity: 1,
1544
+ customer: 'Minna Amigon',
1545
+ status: 'DELIVERED'
1546
+ }
1547
+ ]
1548
+ },
1549
+ {
1550
+ id: '1018',
1551
+ code: '09zx9c0zc',
1552
+ name: 'Painted Phone Case',
1553
+ description: 'Product Description',
1554
+ image: 'painted-phone-case.jpg',
1555
+ price: 56,
1556
+ category: 'Accessories',
1557
+ quantity: 41,
1558
+ inventoryStatus: 'INSTOCK',
1559
+ rating: 5,
1560
+ orders: [
1561
+ {
1562
+ id: '1018-0',
1563
+ productCode: '09zx9c0zc',
1564
+ date: '2020-07-01',
1565
+ amount: 56,
1566
+ quantity: 1,
1567
+ customer: 'Abel Maclead',
1568
+ status: 'DELIVERED'
1569
+ },
1570
+ {
1571
+ id: '1018-1',
1572
+ productCode: '09zx9c0zc',
1573
+ date: '2020-05-02',
1574
+ amount: 56,
1575
+ quantity: 1,
1576
+ customer: 'Minna Amigon',
1577
+ status: 'RETURNED'
1578
+ }
1579
+ ]
1580
+ },
1581
+ {
1582
+ id: '1019',
1583
+ code: 'mnb5mb2m5',
1584
+ name: 'Pink Band',
1585
+ description: 'Product Description',
1586
+ image: 'pink-band.jpg',
1587
+ price: 79,
1588
+ category: 'Fitness',
1589
+ quantity: 63,
1590
+ inventoryStatus: 'INSTOCK',
1591
+ rating: 4,
1592
+ orders: []
1593
+ },
1594
+ {
1595
+ id: '1020',
1596
+ code: 'r23fwf2w3',
1597
+ name: 'Pink Purse',
1598
+ description: 'Product Description',
1599
+ image: 'pink-purse.jpg',
1600
+ price: 110,
1601
+ category: 'Accessories',
1602
+ quantity: 0,
1603
+ inventoryStatus: 'OUTOFSTOCK',
1604
+ rating: 4,
1605
+ orders: [
1606
+ {
1607
+ id: '1020-0',
1608
+ productCode: 'r23fwf2w3',
1609
+ date: '2020-05-29',
1610
+ amount: 110,
1611
+ quantity: 1,
1612
+ customer: 'Kiley Caldarera',
1613
+ status: 'DELIVERED'
1614
+ },
1615
+ {
1616
+ id: '1020-1',
1617
+ productCode: 'r23fwf2w3',
1618
+ date: '2020-02-11',
1619
+ amount: 220,
1620
+ quantity: 2,
1621
+ customer: 'Graciela Ruta',
1622
+ status: 'DELIVERED'
1623
+ }
1624
+ ]
1625
+ },
1626
+ {
1627
+ id: '1021',
1628
+ code: 'pxpzczo23',
1629
+ name: 'Purple Band',
1630
+ description: 'Product Description',
1631
+ image: 'purple-band.jpg',
1632
+ price: 79,
1633
+ category: 'Fitness',
1634
+ quantity: 6,
1635
+ inventoryStatus: 'LOWSTOCK',
1636
+ rating: 3,
1637
+ orders: [
1638
+ {
1639
+ id: '1021-0',
1640
+ productCode: 'pxpzczo23',
1641
+ date: '2020-02-02',
1642
+ amount: 79,
1643
+ quantity: 1,
1644
+ customer: 'Cammy Albares',
1645
+ status: 'DELIVERED'
1646
+ }
1647
+ ]
1648
+ },
1649
+ {
1650
+ id: '1022',
1651
+ code: '2c42cb5cb',
1652
+ name: 'Purple Gemstone Necklace',
1653
+ description: 'Product Description',
1654
+ image: 'purple-gemstone-necklace.jpg',
1655
+ price: 45,
1656
+ category: 'Accessories',
1657
+ quantity: 62,
1658
+ inventoryStatus: 'INSTOCK',
1659
+ rating: 4,
1660
+ orders: [
1661
+ {
1662
+ id: '1022-0',
1663
+ productCode: '2c42cb5cb',
1664
+ date: '2020-06-29',
1665
+ amount: 45,
1666
+ quantity: 1,
1667
+ customer: 'Mattie Poquette',
1668
+ status: 'DELIVERED'
1669
+ },
1670
+ {
1671
+ id: '1022-1',
1672
+ productCode: '2c42cb5cb',
1673
+ date: '2020-02-11',
1674
+ amount: 135,
1675
+ quantity: 3,
1676
+ customer: 'Meaghan Garufi',
1677
+ status: 'DELIVERED'
1678
+ }
1679
+ ]
1680
+ },
1681
+ {
1682
+ id: '1023',
1683
+ code: '5k43kkk23',
1684
+ name: 'Purple T-Shirt',
1685
+ description: 'Product Description',
1686
+ image: 'purple-t-shirt.jpg',
1687
+ price: 49,
1688
+ category: 'Clothing',
1689
+ quantity: 2,
1690
+ inventoryStatus: 'LOWSTOCK',
1691
+ rating: 5,
1692
+ orders: [
1693
+ {
1694
+ id: '1023-0',
1695
+ productCode: '5k43kkk23',
1696
+ date: '2020-04-15',
1697
+ amount: 49,
1698
+ quantity: 1,
1699
+ customer: 'Gladys Rim',
1700
+ status: 'RETURNED'
1701
+ }
1702
+ ]
1703
+ },
1704
+ {
1705
+ id: '1024',
1706
+ code: 'lm2tny2k4',
1707
+ name: 'Shoes',
1708
+ description: 'Product Description',
1709
+ image: 'shoes.jpg',
1710
+ price: 64,
1711
+ category: 'Clothing',
1712
+ quantity: 0,
1713
+ inventoryStatus: 'INSTOCK',
1714
+ rating: 4,
1715
+ orders: []
1716
+ },
1717
+ {
1718
+ id: '1025',
1719
+ code: 'nbm5mv45n',
1720
+ name: 'Sneakers',
1721
+ description: 'Product Description',
1722
+ image: 'sneakers.jpg',
1723
+ price: 78,
1724
+ category: 'Clothing',
1725
+ quantity: 52,
1726
+ inventoryStatus: 'INSTOCK',
1727
+ rating: 4,
1728
+ orders: [
1729
+ {
1730
+ id: '1025-0',
1731
+ productCode: 'nbm5mv45n',
1732
+ date: '2020-02-19',
1733
+ amount: 78,
1734
+ quantity: 1,
1735
+ customer: 'Yuki Whobrey',
1736
+ status: 'DELIVERED'
1737
+ },
1738
+ {
1739
+ id: '1025-1',
1740
+ productCode: 'nbm5mv45n',
1741
+ date: '2020-05-21',
1742
+ amount: 78,
1743
+ quantity: 1,
1744
+ customer: 'Fletcher Flosi',
1745
+ status: 'PENDING'
1746
+ }
1747
+ ]
1748
+ },
1749
+ {
1750
+ id: '1026',
1751
+ code: 'zx23zc42c',
1752
+ name: 'Teal T-Shirt',
1753
+ description: 'Product Description',
1754
+ image: 'teal-t-shirt.jpg',
1755
+ price: 49,
1756
+ category: 'Clothing',
1757
+ quantity: 3,
1758
+ inventoryStatus: 'LOWSTOCK',
1759
+ rating: 3,
1760
+ orders: [
1761
+ {
1762
+ id: '1026-0',
1763
+ productCode: 'zx23zc42c',
1764
+ date: '2020-04-24',
1765
+ amount: 98,
1766
+ quantity: 2,
1767
+ customer: 'Bette Nicka',
1768
+ status: 'DELIVERED'
1769
+ }
1770
+ ]
1771
+ },
1772
+ {
1773
+ id: '1027',
1774
+ code: 'acvx872gc',
1775
+ name: 'Yellow Earbuds',
1776
+ description: 'Product Description',
1777
+ image: 'yellow-earbuds.jpg',
1778
+ price: 89,
1779
+ category: 'Electronics',
1780
+ quantity: 35,
1781
+ inventoryStatus: 'INSTOCK',
1782
+ rating: 3,
1783
+ orders: [
1784
+ {
1785
+ id: '1027-0',
1786
+ productCode: 'acvx872gc',
1787
+ date: '2020-01-29',
1788
+ amount: 89,
1789
+ quantity: 1,
1790
+ customer: 'Veronika Inouye',
1791
+ status: 'DELIVERED'
1792
+ },
1793
+ {
1794
+ id: '1027-1',
1795
+ productCode: 'acvx872gc',
1796
+ date: '2020-06-11',
1797
+ amount: 89,
1798
+ quantity: 1,
1799
+ customer: 'Willard Kolmetz',
1800
+ status: 'DELIVERED'
1801
+ }
1802
+ ]
1803
+ },
1804
+ {
1805
+ id: '1028',
1806
+ code: 'tx125ck42',
1807
+ name: 'Yoga Mat',
1808
+ description: 'Product Description',
1809
+ image: 'yoga-mat.jpg',
1810
+ price: 20,
1811
+ category: 'Fitness',
1812
+ quantity: 15,
1813
+ inventoryStatus: 'INSTOCK',
1814
+ rating: 5,
1815
+ orders: []
1816
+ },
1817
+ {
1818
+ id: '1029',
1819
+ code: 'gwuby345v',
1820
+ name: 'Yoga Set',
1821
+ description: 'Product Description',
1822
+ image: 'yoga-set.jpg',
1823
+ price: 20,
1824
+ category: 'Fitness',
1825
+ quantity: 25,
1826
+ inventoryStatus: 'INSTOCK',
1827
+ rating: 8,
1828
+ orders: [
1829
+ {
1830
+ id: '1029-0',
1831
+ productCode: 'gwuby345v',
1832
+ date: '2020-02-14',
1833
+ amount: 4,
1834
+ quantity: 80,
1835
+ customer: 'Maryann Royster',
1836
+ status: 'DELIVERED'
1837
+ }
1838
+ ]
1839
+ }
1840
+ ];
1841
+ }
1842
+
1843
+ status: string[] = ['OUTOFSTOCK', 'INSTOCK', 'LOWSTOCK'];
1844
+
1845
+ productNames: string[] = [
1846
+ 'Bamboo Watch',
1847
+ 'Black Watch',
1848
+ 'Blue Band',
1849
+ 'Blue T-Shirt',
1850
+ 'Bracelet',
1851
+ 'Brown Purse',
1852
+ 'Chakra Bracelet',
1853
+ 'Galaxy Earrings',
1854
+ 'Game Controller',
1855
+ 'Gaming Set',
1856
+ 'Gold Phone Case',
1857
+ 'Green Earbuds',
1858
+ 'Green T-Shirt',
1859
+ 'Grey T-Shirt',
1860
+ 'Headphones',
1861
+ 'Light Green T-Shirt',
1862
+ 'Lime Band',
1863
+ 'Mini Speakers',
1864
+ 'Painted Phone Case',
1865
+ 'Pink Band',
1866
+ 'Pink Purse',
1867
+ 'Purple Band',
1868
+ 'Purple Gemstone Necklace',
1869
+ 'Purple T-Shirt',
1870
+ 'Shoes',
1871
+ 'Sneakers',
1872
+ 'Teal T-Shirt',
1873
+ 'Yellow Earbuds',
1874
+ 'Yoga Mat',
1875
+ 'Yoga Set'
1876
+ ];
1877
+
1878
+
1879
+
1880
+ getProductsMini() {
1881
+ return Promise.resolve(this.getProductsData().slice(0, 5));
1882
+ }
1883
+
1884
+ getProductsSmall() {
1885
+ return Promise.resolve(this.getProductsData().slice(0, 10));
1886
+ }
1887
+
1888
+ getProducts() {
1889
+ return this.getProductsData();
1890
+ }
1891
+
1892
+ getProductsWithOrdersSmall() {
1893
+ return Promise.resolve(this.getProductsWithOrdersData().slice(0, 10));
1894
+ }
1895
+
1896
+ calculateDiscount(product: ProductoDTO): number {
1897
+ if(product){
1898
+ if (product.descuento && product.descuento > 0)
1899
+ return product.precios[0].precio - (product.precios[0].precio * product.descuento / 100);
1900
+ else
1901
+ return product.precios[0].precio;
1902
+ }else{
1903
+ return 0;
1904
+ }
1905
+ }
1906
+
1907
+ generatePrduct(): Product {
1908
+ const product: Product = {
1909
+ id: this.generateId(),
1910
+ name: this.generateName(),
1911
+ description: 'Product Description',
1912
+ price: this.generatePrice(),
1913
+ quantity: this.generateQuantity(),
1914
+ category: 'Product Category',
1915
+ inventoryStatus: this.generateStatus(),
1916
+ rating: this.generateRating()
1917
+ };
1918
+
1919
+ product.image = product.name?.toLocaleLowerCase().split(/[ ,]+/).join('-') + '.jpg';
1920
+ return product;
1921
+ }
1922
+
1923
+ generateId() {
1924
+ let text = '';
1925
+ const POSSIBLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
1926
+
1927
+ for (let i = 0; i < 5; i++) {
1928
+ text += POSSIBLE.charAt(Math.floor(Math.random() * POSSIBLE.length));
1929
+ }
1930
+
1931
+ return text;
1932
+ }
1933
+
1934
+ generateName() {
1935
+ return this.productNames[Math.floor(Math.random() * Math.floor(30))];
1936
+ }
1937
+
1938
+ generatePrice() {
1939
+ return Math.floor(Math.random() * Math.floor(299) + 1);
1940
+ }
1941
+
1942
+ generateQuantity() {
1943
+ return Math.floor(Math.random() * Math.floor(75) + 1);
1944
+ }
1945
+
1946
+ generateStatus() {
1947
+ return this.status[Math.floor(Math.random() * Math.floor(3))];
1948
+ }
1949
+
1950
+ generateRating() {
1951
+ return Math.floor(Math.random() * Math.floor(5) + 1);
1952
+ }
1953
+
1954
+ /**
1955
+ * Devuelve true si el producto no es nulo ni undefined
1956
+ * @param product
1957
+ * @returns boolean
1958
+ */
1959
+ checkIsProductIsnotEmptyOrNull(product: ProductoDTO): boolean {
1960
+ return product != null && product != undefined;
1961
+ }
1962
+ }