contentoh-components-library 21.1.49 → 21.1.52

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 (29) hide show
  1. package/dist/components/atoms/StatusTag/index.js +17 -2
  2. package/dist/components/atoms/StatusTag/styles.js +1 -1
  3. package/dist/components/molecules/RetailerSelector/index.js +0 -2
  4. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  5. package/dist/components/organisms/FullTabsMenu/index.js +2 -2
  6. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +87 -119
  7. package/dist/components/pages/ProviderProductEdition/index.js +328 -380
  8. package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +37 -0
  9. package/dist/components/pages/RegistrationLoginFirstStep/index.js +269 -0
  10. package/dist/components/pages/RegistrationLoginFirstStep/styles.js +20 -0
  11. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +33 -75
  12. package/dist/components/pages/RetailerProductEdition/index.js +197 -210
  13. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  14. package/dist/global-files/data.js +9 -10
  15. package/dist/index.js +13 -0
  16. package/package.json +1 -1
  17. package/src/components/atoms/StatusTag/index.js +12 -2
  18. package/src/components/atoms/StatusTag/styles.js +11 -11
  19. package/src/components/molecules/RetailerSelector/index.js +0 -1
  20. package/src/components/molecules/StatusAsignationInfo/index.js +1 -1
  21. package/src/components/organisms/FullProductNameHeader/index.js +1 -1
  22. package/src/components/organisms/FullTabsMenu/index.js +1 -1
  23. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +92 -116
  24. package/src/components/pages/ProviderProductEdition/index.js +207 -217
  25. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +31 -77
  26. package/src/components/pages/RetailerProductEdition/index.js +165 -140
  27. package/src/components/pages/RetailerProductEdition/styles.js +1 -1
  28. package/src/global-files/data.js +9 -10
  29. package/src/index.js +1 -0
@@ -195,19 +195,18 @@ export const fetchUsers = async (auth) => {
195
195
  export const getNewStatus = (statusArray) => {
196
196
  let lookupString = "";
197
197
  statusArray.forEach((element) => (lookupString += element + "/"));
198
- if (lookupString.includes("RC")) return "RC";
198
+ if (lookupString.includes("RF")) return "RF";
199
199
  if (lookupString.includes("RA")) return "RA";
200
200
  if (lookupString.includes("RP")) return "RP";
201
- if (lookupString.includes("RCA")) return "RCA";
202
- if (lookupString.includes("UNASSIGNED")) return "CA";
203
- if (lookupString.includes("CA")) return "CA";
204
- if (lookupString.includes("IE")) return "IE";
205
- if (lookupString.includes("AC")) return "AC";
201
+ if (lookupString.includes("RC")) return "RC";
202
+ if (lookupString.includes("UNASSIGNED")) return "IN_PROGRESS";
203
+ if (lookupString.includes("IN_PROGRESS")) return "IN_PROGRESS";
204
+ if (lookupString.includes("QF")) return "QF";
205
+ if (lookupString.includes("AF")) return "AF";
206
206
  if (lookupString.includes("AA")) return "AA";
207
207
  if (lookupString.includes("AP")) return "AP";
208
- if (lookupString.includes("ACA")) return "ACA";
209
- if (lookupString.includes("R")) return "R";
208
+ if (lookupString.includes("AC")) return "AC";
209
+ if (lookupString.includes("RECEIVED")) return "RECEIVED";
210
210
  if (lookupString.includes("NA")) return "NA";
211
- console.log("Status not found");
212
- return "NA";
211
+ return new Error("Status not found");
213
212
  };
package/src/index.js CHANGED
@@ -65,6 +65,7 @@ export * from "./components/pages/CustomerLogin";
65
65
  export * from "./components/pages/CustomerType";
66
66
  export * from "./components/pages/EmailResetPassword";
67
67
  export * from "./components/pages/OnboardPlan";
68
+ export * from "./components/pages/RegistrationLoginFirstStep";
68
69
  export * from "./components/pages/RegistrationLoginSecondStep";
69
70
  export * from "./components/pages/RegistrationLoginThirdStep";
70
71
  export * from "./components/pages/RetailerProductEdition";