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,1324 @@
1
+ /* eslint-disable max-lines-per-function */
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Injectable } from '@angular/core';
4
+
5
+
6
+
7
+ export interface Product {
8
+ id?: string;
9
+ code?: string;
10
+ name?: string;
11
+ description?: string;
12
+ price?: number;
13
+ quantity?: number;
14
+ inventoryStatus?: string;
15
+ category?: string;
16
+ image?: string;
17
+ rating?: number;
18
+ }
19
+
20
+ @Injectable({
21
+ providedIn: 'root'
22
+ })
23
+ export class ProductService {
24
+
25
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
26
+ getProductsData() {
27
+ return [
28
+ {
29
+ id: '1000',
30
+ code: 'f230fh0g3',
31
+ name: 'Bamboo Watch',
32
+ description: 'Product Description',
33
+ image: 'bamboo-watch.jpg',
34
+ price: 65,
35
+ category: 'Accessories',
36
+ quantity: 24,
37
+ inventoryStatus: 'INSTOCK',
38
+ rating: 5
39
+ },
40
+ {
41
+ id: '1001',
42
+ code: 'nvklal433',
43
+ name: 'Black Watch',
44
+ description: 'Product Description',
45
+ image: 'black-watch.jpg',
46
+ price: 72,
47
+ category: 'Accessories',
48
+ quantity: 61,
49
+ inventoryStatus: 'INSTOCK',
50
+ rating: 4
51
+ },
52
+ {
53
+ id: '1002',
54
+ code: 'zz21cz3c1',
55
+ name: 'Blue Band',
56
+ description: 'Product Description',
57
+ image: 'blue-band.jpg',
58
+ price: 79,
59
+ category: 'Fitness',
60
+ quantity: 2,
61
+ inventoryStatus: 'LOWSTOCK',
62
+ rating: 3
63
+ },
64
+ {
65
+ id: '1003',
66
+ code: '244wgerg2',
67
+ name: 'Blue T-Shirt',
68
+ description: 'Product Description',
69
+ image: 'blue-t-shirt.jpg',
70
+ price: 29,
71
+ category: 'Clothing',
72
+ quantity: 25,
73
+ inventoryStatus: 'INSTOCK',
74
+ rating: 5
75
+ },
76
+ {
77
+ id: '1004',
78
+ code: 'h456wer53',
79
+ name: 'Bracelet',
80
+ description: 'Product Description',
81
+ image: 'bracelet.jpg',
82
+ price: 15,
83
+ category: 'Accessories',
84
+ quantity: 73,
85
+ inventoryStatus: 'INSTOCK',
86
+ rating: 4
87
+ },
88
+ {
89
+ id: '1005',
90
+ code: 'av2231fwg',
91
+ name: 'Brown Purse',
92
+ description: 'Product Description',
93
+ image: 'brown-purse.jpg',
94
+ price: 120,
95
+ category: 'Accessories',
96
+ quantity: 0,
97
+ inventoryStatus: 'OUTOFSTOCK',
98
+ rating: 4
99
+ },
100
+ {
101
+ id: '1006',
102
+ code: 'bib36pfvm',
103
+ name: 'Chakra Bracelet',
104
+ description: 'Product Description',
105
+ image: 'chakra-bracelet.jpg',
106
+ price: 32,
107
+ category: 'Accessories',
108
+ quantity: 5,
109
+ inventoryStatus: 'LOWSTOCK',
110
+ rating: 3
111
+ },
112
+ {
113
+ id: '1007',
114
+ code: 'mbvjkgip5',
115
+ name: 'Galaxy Earrings',
116
+ description: 'Product Description',
117
+ image: 'galaxy-earrings.jpg',
118
+ price: 34,
119
+ category: 'Accessories',
120
+ quantity: 23,
121
+ inventoryStatus: 'INSTOCK',
122
+ rating: 5
123
+ },
124
+ {
125
+ id: '1008',
126
+ code: 'vbb124btr',
127
+ name: 'Game Controller',
128
+ description: 'Product Description',
129
+ image: 'game-controller.jpg',
130
+ price: 99,
131
+ category: 'Electronics',
132
+ quantity: 2,
133
+ inventoryStatus: 'LOWSTOCK',
134
+ rating: 4
135
+ },
136
+ {
137
+ id: '1009',
138
+ code: 'cm230f032',
139
+ name: 'Gaming Set',
140
+ description: 'Product Description',
141
+ image: 'gaming-set.jpg',
142
+ price: 299,
143
+ category: 'Electronics',
144
+ quantity: 63,
145
+ inventoryStatus: 'INSTOCK',
146
+ rating: 3
147
+ },
148
+ {
149
+ id: '1010',
150
+ code: 'plb34234v',
151
+ name: 'Gold Phone Case',
152
+ description: 'Product Description',
153
+ image: 'gold-phone-case.jpg',
154
+ price: 24,
155
+ category: 'Accessories',
156
+ quantity: 0,
157
+ inventoryStatus: 'OUTOFSTOCK',
158
+ rating: 4
159
+ },
160
+ {
161
+ id: '1011',
162
+ code: '4920nnc2d',
163
+ name: 'Green Earbuds',
164
+ description: 'Product Description',
165
+ image: 'green-earbuds.jpg',
166
+ price: 89,
167
+ category: 'Electronics',
168
+ quantity: 23,
169
+ inventoryStatus: 'INSTOCK',
170
+ rating: 4
171
+ },
172
+ {
173
+ id: '1012',
174
+ code: '250vm23cc',
175
+ name: 'Green T-Shirt',
176
+ description: 'Product Description',
177
+ image: 'green-t-shirt.jpg',
178
+ price: 49,
179
+ category: 'Clothing',
180
+ quantity: 74,
181
+ inventoryStatus: 'INSTOCK',
182
+ rating: 5
183
+ },
184
+ {
185
+ id: '1013',
186
+ code: 'fldsmn31b',
187
+ name: 'Grey T-Shirt',
188
+ description: 'Product Description',
189
+ image: 'grey-t-shirt.jpg',
190
+ price: 48,
191
+ category: 'Clothing',
192
+ quantity: 0,
193
+ inventoryStatus: 'OUTOFSTOCK',
194
+ rating: 3
195
+ },
196
+ {
197
+ id: '1014',
198
+ code: 'waas1x2as',
199
+ name: 'Headphones',
200
+ description: 'Product Description',
201
+ image: 'headphones.jpg',
202
+ price: 175,
203
+ category: 'Electronics',
204
+ quantity: 8,
205
+ inventoryStatus: 'LOWSTOCK',
206
+ rating: 5
207
+ },
208
+ {
209
+ id: '1015',
210
+ code: 'vb34btbg5',
211
+ name: 'Light Green T-Shirt',
212
+ description: 'Product Description',
213
+ image: 'light-green-t-shirt.jpg',
214
+ price: 49,
215
+ category: 'Clothing',
216
+ quantity: 34,
217
+ inventoryStatus: 'INSTOCK',
218
+ rating: 4
219
+ },
220
+ {
221
+ id: '1016',
222
+ code: 'k8l6j58jl',
223
+ name: 'Lime Band',
224
+ description: 'Product Description',
225
+ image: 'lime-band.jpg',
226
+ price: 79,
227
+ category: 'Fitness',
228
+ quantity: 12,
229
+ inventoryStatus: 'INSTOCK',
230
+ rating: 3
231
+ },
232
+ {
233
+ id: '1017',
234
+ code: 'v435nn85n',
235
+ name: 'Mini Speakers',
236
+ description: 'Product Description',
237
+ image: 'mini-speakers.jpg',
238
+ price: 85,
239
+ category: 'Clothing',
240
+ quantity: 42,
241
+ inventoryStatus: 'INSTOCK',
242
+ rating: 4
243
+ },
244
+ {
245
+ id: '1018',
246
+ code: '09zx9c0zc',
247
+ name: 'Painted Phone Case',
248
+ description: 'Product Description',
249
+ image: 'painted-phone-case.jpg',
250
+ price: 56,
251
+ category: 'Accessories',
252
+ quantity: 41,
253
+ inventoryStatus: 'INSTOCK',
254
+ rating: 5
255
+ },
256
+ {
257
+ id: '1019',
258
+ code: 'mnb5mb2m5',
259
+ name: 'Pink Band',
260
+ description: 'Product Description',
261
+ image: 'pink-band.jpg',
262
+ price: 79,
263
+ category: 'Fitness',
264
+ quantity: 63,
265
+ inventoryStatus: 'INSTOCK',
266
+ rating: 4
267
+ },
268
+ {
269
+ id: '1020',
270
+ code: 'r23fwf2w3',
271
+ name: 'Pink Purse',
272
+ description: 'Product Description',
273
+ image: 'pink-purse.jpg',
274
+ price: 110,
275
+ category: 'Accessories',
276
+ quantity: 0,
277
+ inventoryStatus: 'OUTOFSTOCK',
278
+ rating: 4
279
+ },
280
+ {
281
+ id: '1021',
282
+ code: 'pxpzczo23',
283
+ name: 'Purple Band',
284
+ description: 'Product Description',
285
+ image: 'purple-band.jpg',
286
+ price: 79,
287
+ category: 'Fitness',
288
+ quantity: 6,
289
+ inventoryStatus: 'LOWSTOCK',
290
+ rating: 3
291
+ },
292
+ {
293
+ id: '1022',
294
+ code: '2c42cb5cb',
295
+ name: 'Purple Gemstone Necklace',
296
+ description: 'Product Description',
297
+ image: 'purple-gemstone-necklace.jpg',
298
+ price: 45,
299
+ category: 'Accessories',
300
+ quantity: 62,
301
+ inventoryStatus: 'INSTOCK',
302
+ rating: 4
303
+ },
304
+ {
305
+ id: '1023',
306
+ code: '5k43kkk23',
307
+ name: 'Purple T-Shirt',
308
+ description: 'Product Description',
309
+ image: 'purple-t-shirt.jpg',
310
+ price: 49,
311
+ category: 'Clothing',
312
+ quantity: 2,
313
+ inventoryStatus: 'LOWSTOCK',
314
+ rating: 5
315
+ },
316
+ {
317
+ id: '1024',
318
+ code: 'lm2tny2k4',
319
+ name: 'Shoes',
320
+ description: 'Product Description',
321
+ image: 'shoes.jpg',
322
+ price: 64,
323
+ category: 'Clothing',
324
+ quantity: 0,
325
+ inventoryStatus: 'INSTOCK',
326
+ rating: 4
327
+ },
328
+ {
329
+ id: '1025',
330
+ code: 'nbm5mv45n',
331
+ name: 'Sneakers',
332
+ description: 'Product Description',
333
+ image: 'sneakers.jpg',
334
+ price: 78,
335
+ category: 'Clothing',
336
+ quantity: 52,
337
+ inventoryStatus: 'INSTOCK',
338
+ rating: 4
339
+ },
340
+ {
341
+ id: '1026',
342
+ code: 'zx23zc42c',
343
+ name: 'Teal T-Shirt',
344
+ description: 'Product Description',
345
+ image: 'teal-t-shirt.jpg',
346
+ price: 49,
347
+ category: 'Clothing',
348
+ quantity: 3,
349
+ inventoryStatus: 'LOWSTOCK',
350
+ rating: 3
351
+ },
352
+ {
353
+ id: '1027',
354
+ code: 'acvx872gc',
355
+ name: 'Yellow Earbuds',
356
+ description: 'Product Description',
357
+ image: 'yellow-earbuds.jpg',
358
+ price: 89,
359
+ category: 'Electronics',
360
+ quantity: 35,
361
+ inventoryStatus: 'INSTOCK',
362
+ rating: 3
363
+ },
364
+ {
365
+ id: '1028',
366
+ code: 'tx125ck42',
367
+ name: 'Yoga Mat',
368
+ description: 'Product Description',
369
+ image: 'yoga-mat.jpg',
370
+ price: 20,
371
+ category: 'Fitness',
372
+ quantity: 15,
373
+ inventoryStatus: 'INSTOCK',
374
+ rating: 5
375
+ },
376
+ {
377
+ id: '1029',
378
+ code: 'gwuby345v',
379
+ name: 'Yoga Set',
380
+ description: 'Product Description',
381
+ image: 'yoga-set.jpg',
382
+ price: 20,
383
+ category: 'Fitness',
384
+ quantity: 25,
385
+ inventoryStatus: 'INSTOCK',
386
+ rating: 8
387
+ }
388
+ ];
389
+ }
390
+
391
+ getProductsWithOrdersData() {
392
+ return [
393
+ {
394
+ id: '1000',
395
+ code: 'f230fh0g3',
396
+ name: 'Bamboo Watch',
397
+ description: 'Product Description',
398
+ image: 'bamboo-watch.jpg',
399
+ price: 65,
400
+ category: 'Accessories',
401
+ quantity: 24,
402
+ inventoryStatus: 'INSTOCK',
403
+ rating: 5,
404
+ orders: [
405
+ {
406
+ id: '1000-0',
407
+ productCode: 'f230fh0g3',
408
+ date: '2020-09-13',
409
+ amount: 65,
410
+ quantity: 1,
411
+ customer: 'David James',
412
+ status: 'PENDING'
413
+ },
414
+ {
415
+ id: '1000-1',
416
+ productCode: 'f230fh0g3',
417
+ date: '2020-05-14',
418
+ amount: 130,
419
+ quantity: 2,
420
+ customer: 'Leon Rodrigues',
421
+ status: 'DELIVERED'
422
+ },
423
+ {
424
+ id: '1000-2',
425
+ productCode: 'f230fh0g3',
426
+ date: '2019-01-04',
427
+ amount: 65,
428
+ quantity: 1,
429
+ customer: 'Juan Alejandro',
430
+ status: 'RETURNED'
431
+ },
432
+ {
433
+ id: '1000-3',
434
+ productCode: 'f230fh0g3',
435
+ date: '2020-09-13',
436
+ amount: 195,
437
+ quantity: 3,
438
+ customer: 'Claire Morrow',
439
+ status: 'CANCELLED'
440
+ }
441
+ ]
442
+ },
443
+ {
444
+ id: '1001',
445
+ code: 'nvklal433',
446
+ name: 'Black Watch',
447
+ description: 'Product Description',
448
+ image: 'black-watch.jpg',
449
+ price: 72,
450
+ category: 'Accessories',
451
+ quantity: 61,
452
+ inventoryStatus: 'INSTOCK',
453
+ rating: 4,
454
+ orders: [
455
+ {
456
+ id: '1001-0',
457
+ productCode: 'nvklal433',
458
+ date: '2020-05-14',
459
+ amount: 72,
460
+ quantity: 1,
461
+ customer: 'Maisha Jefferson',
462
+ status: 'DELIVERED'
463
+ },
464
+ {
465
+ id: '1001-1',
466
+ productCode: 'nvklal433',
467
+ date: '2020-02-28',
468
+ amount: 144,
469
+ quantity: 2,
470
+ customer: 'Octavia Murillo',
471
+ status: 'PENDING'
472
+ }
473
+ ]
474
+ },
475
+ {
476
+ id: '1002',
477
+ code: 'zz21cz3c1',
478
+ name: 'Blue Band',
479
+ description: 'Product Description',
480
+ image: 'blue-band.jpg',
481
+ price: 79,
482
+ category: 'Fitness',
483
+ quantity: 2,
484
+ inventoryStatus: 'LOWSTOCK',
485
+ rating: 3,
486
+ orders: [
487
+ {
488
+ id: '1002-0',
489
+ productCode: 'zz21cz3c1',
490
+ date: '2020-07-05',
491
+ amount: 79,
492
+ quantity: 1,
493
+ customer: 'Stacey Leja',
494
+ status: 'DELIVERED'
495
+ },
496
+ {
497
+ id: '1002-1',
498
+ productCode: 'zz21cz3c1',
499
+ date: '2020-02-06',
500
+ amount: 79,
501
+ quantity: 1,
502
+ customer: 'Ashley Wickens',
503
+ status: 'DELIVERED'
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ id: '1003',
509
+ code: '244wgerg2',
510
+ name: 'Blue T-Shirt',
511
+ description: 'Product Description',
512
+ image: 'blue-t-shirt.jpg',
513
+ price: 29,
514
+ category: 'Clothing',
515
+ quantity: 25,
516
+ inventoryStatus: 'INSTOCK',
517
+ rating: 5,
518
+ orders: []
519
+ },
520
+ {
521
+ id: '1004',
522
+ code: 'h456wer53',
523
+ name: 'Bracelet',
524
+ description: 'Product Description',
525
+ image: 'bracelet.jpg',
526
+ price: 15,
527
+ category: 'Accessories',
528
+ quantity: 73,
529
+ inventoryStatus: 'INSTOCK',
530
+ rating: 4,
531
+ orders: [
532
+ {
533
+ id: '1004-0',
534
+ productCode: 'h456wer53',
535
+ date: '2020-09-05',
536
+ amount: 60,
537
+ quantity: 4,
538
+ customer: 'Mayumi Misaki',
539
+ status: 'PENDING'
540
+ },
541
+ {
542
+ id: '1004-1',
543
+ productCode: 'h456wer53',
544
+ date: '2019-04-16',
545
+ amount: 2,
546
+ quantity: 30,
547
+ customer: 'Francesco Salvatore',
548
+ status: 'DELIVERED'
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ id: '1005',
554
+ code: 'av2231fwg',
555
+ name: 'Brown Purse',
556
+ description: 'Product Description',
557
+ image: 'brown-purse.jpg',
558
+ price: 120,
559
+ category: 'Accessories',
560
+ quantity: 0,
561
+ inventoryStatus: 'OUTOFSTOCK',
562
+ rating: 4,
563
+ orders: [
564
+ {
565
+ id: '1005-0',
566
+ productCode: 'av2231fwg',
567
+ date: '2020-01-25',
568
+ amount: 120,
569
+ quantity: 1,
570
+ customer: 'Isabel Sinclair',
571
+ status: 'RETURNED'
572
+ },
573
+ {
574
+ id: '1005-1',
575
+ productCode: 'av2231fwg',
576
+ date: '2019-03-12',
577
+ amount: 240,
578
+ quantity: 2,
579
+ customer: 'Lionel Clifford',
580
+ status: 'DELIVERED'
581
+ },
582
+ {
583
+ id: '1005-2',
584
+ productCode: 'av2231fwg',
585
+ date: '2019-05-05',
586
+ amount: 120,
587
+ quantity: 1,
588
+ customer: 'Cody Chavez',
589
+ status: 'DELIVERED'
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ id: '1006',
595
+ code: 'bib36pfvm',
596
+ name: 'Chakra Bracelet',
597
+ description: 'Product Description',
598
+ image: 'chakra-bracelet.jpg',
599
+ price: 32,
600
+ category: 'Accessories',
601
+ quantity: 5,
602
+ inventoryStatus: 'LOWSTOCK',
603
+ rating: 3,
604
+ orders: [
605
+ {
606
+ id: '1006-0',
607
+ productCode: 'bib36pfvm',
608
+ date: '2020-02-24',
609
+ amount: 32,
610
+ quantity: 1,
611
+ customer: 'Arvin Darci',
612
+ status: 'DELIVERED'
613
+ },
614
+ {
615
+ id: '1006-1',
616
+ productCode: 'bib36pfvm',
617
+ date: '2020-01-14',
618
+ amount: 64,
619
+ quantity: 2,
620
+ customer: 'Izzy Jones',
621
+ status: 'PENDING'
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ id: '1007',
627
+ code: 'mbvjkgip5',
628
+ name: 'Galaxy Earrings',
629
+ description: 'Product Description',
630
+ image: 'galaxy-earrings.jpg',
631
+ price: 34,
632
+ category: 'Accessories',
633
+ quantity: 23,
634
+ inventoryStatus: 'INSTOCK',
635
+ rating: 5,
636
+ orders: [
637
+ {
638
+ id: '1007-0',
639
+ productCode: 'mbvjkgip5',
640
+ date: '2020-06-19',
641
+ amount: 34,
642
+ quantity: 1,
643
+ customer: 'Jennifer Smith',
644
+ status: 'DELIVERED'
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ id: '1008',
650
+ code: 'vbb124btr',
651
+ name: 'Game Controller',
652
+ description: 'Product Description',
653
+ image: 'game-controller.jpg',
654
+ price: 99,
655
+ category: 'Electronics',
656
+ quantity: 2,
657
+ inventoryStatus: 'LOWSTOCK',
658
+ rating: 4,
659
+ orders: [
660
+ {
661
+ id: '1008-0',
662
+ productCode: 'vbb124btr',
663
+ date: '2020-01-05',
664
+ amount: 99,
665
+ quantity: 1,
666
+ customer: 'Jeanfrancois David',
667
+ status: 'DELIVERED'
668
+ },
669
+ {
670
+ id: '1008-1',
671
+ productCode: 'vbb124btr',
672
+ date: '2020-01-19',
673
+ amount: 198,
674
+ quantity: 2,
675
+ customer: 'Ivar Greenwood',
676
+ status: 'RETURNED'
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ id: '1009',
682
+ code: 'cm230f032',
683
+ name: 'Gaming Set',
684
+ description: 'Product Description',
685
+ image: 'gaming-set.jpg',
686
+ price: 299,
687
+ category: 'Electronics',
688
+ quantity: 63,
689
+ inventoryStatus: 'INSTOCK',
690
+ rating: 3,
691
+ orders: [
692
+ {
693
+ id: '1009-0',
694
+ productCode: 'cm230f032',
695
+ date: '2020-06-24',
696
+ amount: 299,
697
+ quantity: 1,
698
+ customer: 'Kadeem Mujtaba',
699
+ status: 'PENDING'
700
+ },
701
+ {
702
+ id: '1009-1',
703
+ productCode: 'cm230f032',
704
+ date: '2020-05-11',
705
+ amount: 299,
706
+ quantity: 1,
707
+ customer: 'Ashley Wickens',
708
+ status: 'DELIVERED'
709
+ },
710
+ {
711
+ id: '1009-2',
712
+ productCode: 'cm230f032',
713
+ date: '2019-02-07',
714
+ amount: 299,
715
+ quantity: 1,
716
+ customer: 'Julie Johnson',
717
+ status: 'DELIVERED'
718
+ },
719
+ {
720
+ id: '1009-3',
721
+ productCode: 'cm230f032',
722
+ date: '2020-04-26',
723
+ amount: 299,
724
+ quantity: 1,
725
+ customer: 'Tony Costa',
726
+ status: 'CANCELLED'
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ id: '1010',
732
+ code: 'plb34234v',
733
+ name: 'Gold Phone Case',
734
+ description: 'Product Description',
735
+ image: 'gold-phone-case.jpg',
736
+ price: 24,
737
+ category: 'Accessories',
738
+ quantity: 0,
739
+ inventoryStatus: 'OUTOFSTOCK',
740
+ rating: 4,
741
+ orders: [
742
+ {
743
+ id: '1010-0',
744
+ productCode: 'plb34234v',
745
+ date: '2020-02-04',
746
+ amount: 24,
747
+ quantity: 1,
748
+ customer: 'James Butt',
749
+ status: 'DELIVERED'
750
+ },
751
+ {
752
+ id: '1010-1',
753
+ productCode: 'plb34234v',
754
+ date: '2020-05-05',
755
+ amount: 48,
756
+ quantity: 2,
757
+ customer: 'Josephine Darakjy',
758
+ status: 'DELIVERED'
759
+ }
760
+ ]
761
+ },
762
+ {
763
+ id: '1011',
764
+ code: '4920nnc2d',
765
+ name: 'Green Earbuds',
766
+ description: 'Product Description',
767
+ image: 'green-earbuds.jpg',
768
+ price: 89,
769
+ category: 'Electronics',
770
+ quantity: 23,
771
+ inventoryStatus: 'INSTOCK',
772
+ rating: 4,
773
+ orders: [
774
+ {
775
+ id: '1011-0',
776
+ productCode: '4920nnc2d',
777
+ date: '2020-06-01',
778
+ amount: 89,
779
+ quantity: 1,
780
+ customer: 'Art Venere',
781
+ status: 'DELIVERED'
782
+ }
783
+ ]
784
+ },
785
+ {
786
+ id: '1012',
787
+ code: '250vm23cc',
788
+ name: 'Green T-Shirt',
789
+ description: 'Product Description',
790
+ image: 'green-t-shirt.jpg',
791
+ price: 49,
792
+ category: 'Clothing',
793
+ quantity: 74,
794
+ inventoryStatus: 'INSTOCK',
795
+ rating: 5,
796
+ orders: [
797
+ {
798
+ id: '1012-0',
799
+ productCode: '250vm23cc',
800
+ date: '2020-02-05',
801
+ amount: 49,
802
+ quantity: 1,
803
+ customer: 'Lenna Paprocki',
804
+ status: 'DELIVERED'
805
+ },
806
+ {
807
+ id: '1012-1',
808
+ productCode: '250vm23cc',
809
+ date: '2020-02-15',
810
+ amount: 49,
811
+ quantity: 1,
812
+ customer: 'Donette Foller',
813
+ status: 'PENDING'
814
+ }
815
+ ]
816
+ },
817
+ {
818
+ id: '1013',
819
+ code: 'fldsmn31b',
820
+ name: 'Grey T-Shirt',
821
+ description: 'Product Description',
822
+ image: 'grey-t-shirt.jpg',
823
+ price: 48,
824
+ category: 'Clothing',
825
+ quantity: 0,
826
+ inventoryStatus: 'OUTOFSTOCK',
827
+ rating: 3,
828
+ orders: [
829
+ {
830
+ id: '1013-0',
831
+ productCode: 'fldsmn31b',
832
+ date: '2020-04-01',
833
+ amount: 48,
834
+ quantity: 1,
835
+ customer: 'Simona Morasca',
836
+ status: 'DELIVERED'
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ id: '1014',
842
+ code: 'waas1x2as',
843
+ name: 'Headphones',
844
+ description: 'Product Description',
845
+ image: 'headphones.jpg',
846
+ price: 175,
847
+ category: 'Electronics',
848
+ quantity: 8,
849
+ inventoryStatus: 'LOWSTOCK',
850
+ rating: 5,
851
+ orders: [
852
+ {
853
+ id: '1014-0',
854
+ productCode: 'waas1x2as',
855
+ date: '2020-05-15',
856
+ amount: 175,
857
+ quantity: 1,
858
+ customer: 'Lenna Paprocki',
859
+ status: 'DELIVERED'
860
+ },
861
+ {
862
+ id: '1014-1',
863
+ productCode: 'waas1x2as',
864
+ date: '2020-01-02',
865
+ amount: 175,
866
+ quantity: 1,
867
+ customer: 'Donette Foller',
868
+ status: 'CANCELLED'
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ id: '1015',
874
+ code: 'vb34btbg5',
875
+ name: 'Light Green T-Shirt',
876
+ description: 'Product Description',
877
+ image: 'light-green-t-shirt.jpg',
878
+ price: 49,
879
+ category: 'Clothing',
880
+ quantity: 34,
881
+ inventoryStatus: 'INSTOCK',
882
+ rating: 4,
883
+ orders: [
884
+ {
885
+ id: '1015-0',
886
+ productCode: 'vb34btbg5',
887
+ date: '2020-07-02',
888
+ amount: 98,
889
+ quantity: 2,
890
+ customer: 'Mitsue Tollner',
891
+ status: 'DELIVERED'
892
+ }
893
+ ]
894
+ },
895
+ {
896
+ id: '1016',
897
+ code: 'k8l6j58jl',
898
+ name: 'Lime Band',
899
+ description: 'Product Description',
900
+ image: 'lime-band.jpg',
901
+ price: 79,
902
+ category: 'Fitness',
903
+ quantity: 12,
904
+ inventoryStatus: 'INSTOCK',
905
+ rating: 3,
906
+ orders: []
907
+ },
908
+ {
909
+ id: '1017',
910
+ code: 'v435nn85n',
911
+ name: 'Mini Speakers',
912
+ description: 'Product Description',
913
+ image: 'mini-speakers.jpg',
914
+ price: 85,
915
+ category: 'Clothing',
916
+ quantity: 42,
917
+ inventoryStatus: 'INSTOCK',
918
+ rating: 4,
919
+ orders: [
920
+ {
921
+ id: '1017-0',
922
+ productCode: 'v435nn85n',
923
+ date: '2020-07-12',
924
+ amount: 85,
925
+ quantity: 1,
926
+ customer: 'Minna Amigon',
927
+ status: 'DELIVERED'
928
+ }
929
+ ]
930
+ },
931
+ {
932
+ id: '1018',
933
+ code: '09zx9c0zc',
934
+ name: 'Painted Phone Case',
935
+ description: 'Product Description',
936
+ image: 'painted-phone-case.jpg',
937
+ price: 56,
938
+ category: 'Accessories',
939
+ quantity: 41,
940
+ inventoryStatus: 'INSTOCK',
941
+ rating: 5,
942
+ orders: [
943
+ {
944
+ id: '1018-0',
945
+ productCode: '09zx9c0zc',
946
+ date: '2020-07-01',
947
+ amount: 56,
948
+ quantity: 1,
949
+ customer: 'Abel Maclead',
950
+ status: 'DELIVERED'
951
+ },
952
+ {
953
+ id: '1018-1',
954
+ productCode: '09zx9c0zc',
955
+ date: '2020-05-02',
956
+ amount: 56,
957
+ quantity: 1,
958
+ customer: 'Minna Amigon',
959
+ status: 'RETURNED'
960
+ }
961
+ ]
962
+ },
963
+ {
964
+ id: '1019',
965
+ code: 'mnb5mb2m5',
966
+ name: 'Pink Band',
967
+ description: 'Product Description',
968
+ image: 'pink-band.jpg',
969
+ price: 79,
970
+ category: 'Fitness',
971
+ quantity: 63,
972
+ inventoryStatus: 'INSTOCK',
973
+ rating: 4,
974
+ orders: []
975
+ },
976
+ {
977
+ id: '1020',
978
+ code: 'r23fwf2w3',
979
+ name: 'Pink Purse',
980
+ description: 'Product Description',
981
+ image: 'pink-purse.jpg',
982
+ price: 110,
983
+ category: 'Accessories',
984
+ quantity: 0,
985
+ inventoryStatus: 'OUTOFSTOCK',
986
+ rating: 4,
987
+ orders: [
988
+ {
989
+ id: '1020-0',
990
+ productCode: 'r23fwf2w3',
991
+ date: '2020-05-29',
992
+ amount: 110,
993
+ quantity: 1,
994
+ customer: 'Kiley Caldarera',
995
+ status: 'DELIVERED'
996
+ },
997
+ {
998
+ id: '1020-1',
999
+ productCode: 'r23fwf2w3',
1000
+ date: '2020-02-11',
1001
+ amount: 220,
1002
+ quantity: 2,
1003
+ customer: 'Graciela Ruta',
1004
+ status: 'DELIVERED'
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ id: '1021',
1010
+ code: 'pxpzczo23',
1011
+ name: 'Purple Band',
1012
+ description: 'Product Description',
1013
+ image: 'purple-band.jpg',
1014
+ price: 79,
1015
+ category: 'Fitness',
1016
+ quantity: 6,
1017
+ inventoryStatus: 'LOWSTOCK',
1018
+ rating: 3,
1019
+ orders: [
1020
+ {
1021
+ id: '1021-0',
1022
+ productCode: 'pxpzczo23',
1023
+ date: '2020-02-02',
1024
+ amount: 79,
1025
+ quantity: 1,
1026
+ customer: 'Cammy Albares',
1027
+ status: 'DELIVERED'
1028
+ }
1029
+ ]
1030
+ },
1031
+ {
1032
+ id: '1022',
1033
+ code: '2c42cb5cb',
1034
+ name: 'Purple Gemstone Necklace',
1035
+ description: 'Product Description',
1036
+ image: 'purple-gemstone-necklace.jpg',
1037
+ price: 45,
1038
+ category: 'Accessories',
1039
+ quantity: 62,
1040
+ inventoryStatus: 'INSTOCK',
1041
+ rating: 4,
1042
+ orders: [
1043
+ {
1044
+ id: '1022-0',
1045
+ productCode: '2c42cb5cb',
1046
+ date: '2020-06-29',
1047
+ amount: 45,
1048
+ quantity: 1,
1049
+ customer: 'Mattie Poquette',
1050
+ status: 'DELIVERED'
1051
+ },
1052
+ {
1053
+ id: '1022-1',
1054
+ productCode: '2c42cb5cb',
1055
+ date: '2020-02-11',
1056
+ amount: 135,
1057
+ quantity: 3,
1058
+ customer: 'Meaghan Garufi',
1059
+ status: 'DELIVERED'
1060
+ }
1061
+ ]
1062
+ },
1063
+ {
1064
+ id: '1023',
1065
+ code: '5k43kkk23',
1066
+ name: 'Purple T-Shirt',
1067
+ description: 'Product Description',
1068
+ image: 'purple-t-shirt.jpg',
1069
+ price: 49,
1070
+ category: 'Clothing',
1071
+ quantity: 2,
1072
+ inventoryStatus: 'LOWSTOCK',
1073
+ rating: 5,
1074
+ orders: [
1075
+ {
1076
+ id: '1023-0',
1077
+ productCode: '5k43kkk23',
1078
+ date: '2020-04-15',
1079
+ amount: 49,
1080
+ quantity: 1,
1081
+ customer: 'Gladys Rim',
1082
+ status: 'RETURNED'
1083
+ }
1084
+ ]
1085
+ },
1086
+ {
1087
+ id: '1024',
1088
+ code: 'lm2tny2k4',
1089
+ name: 'Shoes',
1090
+ description: 'Product Description',
1091
+ image: 'shoes.jpg',
1092
+ price: 64,
1093
+ category: 'Clothing',
1094
+ quantity: 0,
1095
+ inventoryStatus: 'INSTOCK',
1096
+ rating: 4,
1097
+ orders: []
1098
+ },
1099
+ {
1100
+ id: '1025',
1101
+ code: 'nbm5mv45n',
1102
+ name: 'Sneakers',
1103
+ description: 'Product Description',
1104
+ image: 'sneakers.jpg',
1105
+ price: 78,
1106
+ category: 'Clothing',
1107
+ quantity: 52,
1108
+ inventoryStatus: 'INSTOCK',
1109
+ rating: 4,
1110
+ orders: [
1111
+ {
1112
+ id: '1025-0',
1113
+ productCode: 'nbm5mv45n',
1114
+ date: '2020-02-19',
1115
+ amount: 78,
1116
+ quantity: 1,
1117
+ customer: 'Yuki Whobrey',
1118
+ status: 'DELIVERED'
1119
+ },
1120
+ {
1121
+ id: '1025-1',
1122
+ productCode: 'nbm5mv45n',
1123
+ date: '2020-05-21',
1124
+ amount: 78,
1125
+ quantity: 1,
1126
+ customer: 'Fletcher Flosi',
1127
+ status: 'PENDING'
1128
+ }
1129
+ ]
1130
+ },
1131
+ {
1132
+ id: '1026',
1133
+ code: 'zx23zc42c',
1134
+ name: 'Teal T-Shirt',
1135
+ description: 'Product Description',
1136
+ image: 'teal-t-shirt.jpg',
1137
+ price: 49,
1138
+ category: 'Clothing',
1139
+ quantity: 3,
1140
+ inventoryStatus: 'LOWSTOCK',
1141
+ rating: 3,
1142
+ orders: [
1143
+ {
1144
+ id: '1026-0',
1145
+ productCode: 'zx23zc42c',
1146
+ date: '2020-04-24',
1147
+ amount: 98,
1148
+ quantity: 2,
1149
+ customer: 'Bette Nicka',
1150
+ status: 'DELIVERED'
1151
+ }
1152
+ ]
1153
+ },
1154
+ {
1155
+ id: '1027',
1156
+ code: 'acvx872gc',
1157
+ name: 'Yellow Earbuds',
1158
+ description: 'Product Description',
1159
+ image: 'yellow-earbuds.jpg',
1160
+ price: 89,
1161
+ category: 'Electronics',
1162
+ quantity: 35,
1163
+ inventoryStatus: 'INSTOCK',
1164
+ rating: 3,
1165
+ orders: [
1166
+ {
1167
+ id: '1027-0',
1168
+ productCode: 'acvx872gc',
1169
+ date: '2020-01-29',
1170
+ amount: 89,
1171
+ quantity: 1,
1172
+ customer: 'Veronika Inouye',
1173
+ status: 'DELIVERED'
1174
+ },
1175
+ {
1176
+ id: '1027-1',
1177
+ productCode: 'acvx872gc',
1178
+ date: '2020-06-11',
1179
+ amount: 89,
1180
+ quantity: 1,
1181
+ customer: 'Willard Kolmetz',
1182
+ status: 'DELIVERED'
1183
+ }
1184
+ ]
1185
+ },
1186
+ {
1187
+ id: '1028',
1188
+ code: 'tx125ck42',
1189
+ name: 'Yoga Mat',
1190
+ description: 'Product Description',
1191
+ image: 'yoga-mat.jpg',
1192
+ price: 20,
1193
+ category: 'Fitness',
1194
+ quantity: 15,
1195
+ inventoryStatus: 'INSTOCK',
1196
+ rating: 5,
1197
+ orders: []
1198
+ },
1199
+ {
1200
+ id: '1029',
1201
+ code: 'gwuby345v',
1202
+ name: 'Yoga Set',
1203
+ description: 'Product Description',
1204
+ image: 'yoga-set.jpg',
1205
+ price: 20,
1206
+ category: 'Fitness',
1207
+ quantity: 25,
1208
+ inventoryStatus: 'INSTOCK',
1209
+ rating: 8,
1210
+ orders: [
1211
+ {
1212
+ id: '1029-0',
1213
+ productCode: 'gwuby345v',
1214
+ date: '2020-02-14',
1215
+ amount: 4,
1216
+ quantity: 80,
1217
+ customer: 'Maryann Royster',
1218
+ status: 'DELIVERED'
1219
+ }
1220
+ ]
1221
+ }
1222
+ ];
1223
+ }
1224
+
1225
+ status: string[] = ['OUTOFSTOCK', 'INSTOCK', 'LOWSTOCK'];
1226
+
1227
+ productNames: string[] = [
1228
+ 'Bamboo Watch',
1229
+ 'Black Watch',
1230
+ 'Blue Band',
1231
+ 'Blue T-Shirt',
1232
+ 'Bracelet',
1233
+ 'Brown Purse',
1234
+ 'Chakra Bracelet',
1235
+ 'Galaxy Earrings',
1236
+ 'Game Controller',
1237
+ 'Gaming Set',
1238
+ 'Gold Phone Case',
1239
+ 'Green Earbuds',
1240
+ 'Green T-Shirt',
1241
+ 'Grey T-Shirt',
1242
+ 'Headphones',
1243
+ 'Light Green T-Shirt',
1244
+ 'Lime Band',
1245
+ 'Mini Speakers',
1246
+ 'Painted Phone Case',
1247
+ 'Pink Band',
1248
+ 'Pink Purse',
1249
+ 'Purple Band',
1250
+ 'Purple Gemstone Necklace',
1251
+ 'Purple T-Shirt',
1252
+ 'Shoes',
1253
+ 'Sneakers',
1254
+ 'Teal T-Shirt',
1255
+ 'Yellow Earbuds',
1256
+ 'Yoga Mat',
1257
+ 'Yoga Set'
1258
+ ];
1259
+
1260
+ constructor(private http: HttpClient) {}
1261
+
1262
+ getProductsMini() {
1263
+ return Promise.resolve(this.getProductsData().slice(0, 5));
1264
+ }
1265
+
1266
+ getProductsSmall() {
1267
+ return Promise.resolve(this.getProductsData().slice(0, 10));
1268
+ }
1269
+
1270
+ getProducts() {
1271
+ return this.getProductsData();
1272
+ }
1273
+
1274
+ getProductsWithOrdersSmall() {
1275
+ return Promise.resolve(this.getProductsWithOrdersData().slice(0, 10));
1276
+ }
1277
+
1278
+ generatePrduct(): Product {
1279
+ const product: Product = {
1280
+ id: this.generateId(),
1281
+ name: this.generateName(),
1282
+ description: 'Product Description',
1283
+ price: this.generatePrice(),
1284
+ quantity: this.generateQuantity(),
1285
+ category: 'Product Category',
1286
+ inventoryStatus: this.generateStatus(),
1287
+ rating: this.generateRating()
1288
+ };
1289
+
1290
+ product.image = product.name?.toLocaleLowerCase().split(/[ ,]+/).join('-') + '.jpg';
1291
+ return product;
1292
+ }
1293
+
1294
+ generateId() {
1295
+ let text = '';
1296
+ const POSSIBLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
1297
+
1298
+ for (let i = 0; i < 5; i++) {
1299
+ text += POSSIBLE.charAt(Math.floor(Math.random() * POSSIBLE.length));
1300
+ }
1301
+
1302
+ return text;
1303
+ }
1304
+
1305
+ generateName() {
1306
+ return this.productNames[Math.floor(Math.random() * Math.floor(30))];
1307
+ }
1308
+
1309
+ generatePrice() {
1310
+ return Math.floor(Math.random() * Math.floor(299) + 1);
1311
+ }
1312
+
1313
+ generateQuantity() {
1314
+ return Math.floor(Math.random() * Math.floor(75) + 1);
1315
+ }
1316
+
1317
+ generateStatus() {
1318
+ return this.status[Math.floor(Math.random() * Math.floor(3))];
1319
+ }
1320
+
1321
+ generateRating() {
1322
+ return Math.floor(Math.random() * Math.floor(5) + 1);
1323
+ }
1324
+ }