contentoh-components-library 21.1.50 → 21.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/GeneralInput/index.js +1 -0
- package/dist/components/molecules/HeaderTop/index.js +1 -4
- package/dist/components/molecules/RetailerSelector/index.js +0 -34
- package/dist/components/molecules/StatusAsignationInfo/index.js +2 -3
- package/dist/components/organisms/FullTabsMenu/index.js +2 -4
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +46 -80
- package/dist/components/pages/ProviderProductEdition/index.js +21 -48
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +35 -32
- package/dist/components/pages/RetailerProductEdition/index.js +8 -11
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/package.json +1 -1
- package/src/components/atoms/StatusTag/index.js +12 -2
- package/src/components/atoms/StatusTag/styles.js +11 -11
- package/src/components/atoms/ValidationPanel/index.js +1 -1
- package/src/components/molecules/RetailerSelector/index.js +0 -1
- package/src/components/molecules/StatusAsignationInfo/index.js +1 -1
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/FullTabsMenu/index.js +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +99 -115
- package/src/components/pages/ProviderProductEdition/index.js +183 -177
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +31 -77
- package/src/components/pages/RetailerProductEdition/index.js +165 -140
- package/src/components/pages/RetailerProductEdition/styles.js +1 -1
- package/src/global-files/data.js +3 -4
- package/src/index.js +1 -0
package/src/global-files/data.js
CHANGED
|
@@ -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("RCA")) return "RCA";
|
|
198
199
|
if (lookupString.includes("RC")) return "RC";
|
|
199
200
|
if (lookupString.includes("RA")) return "RA";
|
|
200
201
|
if (lookupString.includes("RP")) return "RP";
|
|
201
|
-
if (lookupString.includes("
|
|
202
|
+
if (lookupString.includes("ACA")) return "ACA";
|
|
202
203
|
if (lookupString.includes("UNASSIGNED")) return "CA";
|
|
203
204
|
if (lookupString.includes("CA")) return "CA";
|
|
204
205
|
if (lookupString.includes("IE")) return "IE";
|
|
205
206
|
if (lookupString.includes("AC")) return "AC";
|
|
206
207
|
if (lookupString.includes("AA")) return "AA";
|
|
207
208
|
if (lookupString.includes("AP")) return "AP";
|
|
208
|
-
if (lookupString.includes("ACA")) return "ACA";
|
|
209
209
|
if (lookupString.includes("R")) return "R";
|
|
210
210
|
if (lookupString.includes("NA")) return "NA";
|
|
211
|
-
|
|
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";
|