contentoh-components-library 21.6.64 → 21.6.65
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/pages/CreatorsProductEdition/CreatorsProductEditionView.js +15 -5
- package/dist/global-files/data.js +7 -1
- package/graphify-out/.graphify_labels.json +78 -1
- package/graphify-out/.graphify_labels.json.sig +1 -0
- package/graphify-out/.graphify_labels.pending.json +69 -0
- package/graphify-out/.graphify_root +1 -1
- package/graphify-out/GRAPH_REPORT.md +435 -570
- package/graphify-out/cache/ast/v0.9.94-s22-g2edd501aebe2/0b69a644eb248d722dd0f2a81fff5c8ed110337848bd5bf846bde59685a0c993.json +1 -0
- package/graphify-out/cache/ast/v0.9.94-s22-g2edd501aebe2/2807ae6c4e4559bccdfc995eca8c483261f6832ee739cc2d891ef816b53a191f.json +1 -0
- package/graphify-out/cache/ast/v0.9.94-s22-g2edd501aebe2/6d6761372eecc1cbc5db85fcb1b7ddae3263284d4a3f8e649d60fad9f7e645ab.json +1 -0
- package/graphify-out/cache/ast/v0.9.94-s22-g2edd501aebe2/c7fd8f1ef2e003fae622757a372f577b4ad2d726f84c39292d2efeaa916997db.json +1 -0
- package/graphify-out/cache/ast/v0.9.94-s22-g2edd501aebe2/c884e03550c4cd33d065cd88c4f6ecbf9571b8d714f57f83a7c120eacff04da4.json +1 -0
- package/graphify-out/cache/stat-index.json +1 -1
- package/graphify-out/graph.html +164 -35
- package/graphify-out/graph.json +1 -79294
- package/graphify-out/manifest.json +2760 -1512
- package/package.json +1 -1
- package/src/components/pages/CreatorsProductEdition/CreatorsProductEditionView.jsx +24 -6
- package/src/global-files/data.js +6 -1
- package/graphify-out/cache/ast/v0.9.46/6d0cee1e8f404fcc1d96c99855263e354d8412e554fdfe066c16575ec14c738f.json +0 -1
|
@@ -488,7 +488,12 @@ var CreatorsProductEditionView = function CreatorsProductEditionView(_ref) {
|
|
|
488
488
|
|
|
489
489
|
if (state.loading || !state.services || !state.product || !state.images_values) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
490
490
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ProductEditionSkeleton, {})
|
|
491
|
-
});
|
|
491
|
+
}); // Igual que `isAssignedAs`: la calidad de especialista sale de la
|
|
492
|
+
// asignación del artículo, no del rol global. Se suma al acceso por rol
|
|
493
|
+
// (7/8) y al bypass de admin que ya tienen el resto de las compuertas de
|
|
494
|
+
// este componente.
|
|
495
|
+
|
|
496
|
+
var canActAsSpecialist = [7, 8].includes(user.id_role) || user.id_role === 1 || isAssignedAs("especialist", (0, _utils.getConceptByTab)(state.active_tab));
|
|
492
497
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_AiProductEdition.AiProductEditionProvider, {
|
|
493
498
|
isCreatorsEdition: true,
|
|
494
499
|
user: user,
|
|
@@ -842,11 +847,16 @@ var CreatorsProductEditionView = function CreatorsProductEditionView(_ref) {
|
|
|
842
847
|
onOpenChangeStatus: function onOpenChangeStatus() {
|
|
843
848
|
return setOpenChangeStatusModal(true);
|
|
844
849
|
},
|
|
845
|
-
showSendEvaluation:
|
|
846
|
-
//
|
|
847
|
-
//
|
|
850
|
+
showSendEvaluation: canActAsSpecialist // La calidad de especialista sale de la ASIGNACIÓN del
|
|
851
|
+
// artículo, no del rol global (ver `isAssignedAs`): alguien
|
|
852
|
+
// con rol global Auditor QA puede estar asignado como
|
|
853
|
+
// especialista de este producto y necesita este botón igual.
|
|
854
|
+
// Se le fuerza el rol 7 a `isEvaluationFinished` (idéntica a
|
|
855
|
+
// la 8) en vez del rol real: para el rol 6 esa función usa un
|
|
856
|
+
// `srv` que no existe (defecto heredado) y tumbaría la
|
|
857
|
+
// pantalla, y el rol 1 (admin) cae en su `default: false`.
|
|
848
858
|
,
|
|
849
|
-
canSendEvaluation: [7, 8].includes(user.id_role)
|
|
859
|
+
canSendEvaluation: canActAsSpecialist && isEvaluationFinished([7, 8].includes(user.id_role) ? user.id_role : 7, state.active_tab, statusArray) && state.missing_required_fields[state.active_tab] === 0,
|
|
850
860
|
onSendEvaluation: handleOnSendEvaluationToFacilitator
|
|
851
861
|
})]
|
|
852
862
|
})]
|
|
@@ -39,8 +39,14 @@ var getRetailerServices = /*#__PURE__*/function () {
|
|
|
39
39
|
Authorization: Authorization
|
|
40
40
|
}
|
|
41
41
|
}), _axios.default.post( // `${process.env.REACT_APP_ARTICLE_DATA_IMAGES_ENDPOINT}?articleId=${articleId}&version=${version}`,
|
|
42
|
-
"".concat(process.env.REACT_APP_ARTICLE_DATA_IMAGES_ENDPOINT, "?articleId=").concat(articleId, "&version=").concat(version),
|
|
42
|
+
"".concat(process.env.REACT_APP_ARTICLE_DATA_IMAGES_ENDPOINT, "?articleId=").concat(articleId, "&version=").concat(version), // `idCategory`: la categoría que se está editando. Sin ella el backend
|
|
43
|
+
// la deducía de las relaciones del producto con la cadena, y cuando el
|
|
44
|
+
// producto tiene más de una (p. ej. la vieja, ya inactiva, tras un cambio
|
|
45
|
+
// de categoría) el desplegable "Tipo de toma" ofrecía las tomas de otra
|
|
46
|
+
// categoría. Fichas y descripciones ya la reciben.
|
|
47
|
+
{
|
|
43
48
|
category: category,
|
|
49
|
+
idCategory: categoryId,
|
|
44
50
|
retailersList: [retailerId]
|
|
45
51
|
}, {
|
|
46
52
|
headers: {
|
|
@@ -1 +1,78 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"4": "Product Image & Select v2",
|
|
3
|
+
"5": "Chat Footer & File Chooser",
|
|
4
|
+
"6": "Change Status Modal",
|
|
5
|
+
"7": "Gradient Panels & Plans",
|
|
6
|
+
"8": "Buttons, Multiselect & Dropdown",
|
|
7
|
+
"11": "Chips & Group Editing",
|
|
8
|
+
"13": "Provider Product Edition Context",
|
|
9
|
+
"15": "Stripe Payment Cards",
|
|
10
|
+
"16": "Input Text & Select Items",
|
|
11
|
+
"18": "Chat Lists",
|
|
12
|
+
"20": "Version Items & Creation",
|
|
13
|
+
"21": "Retailer Edition Reducers",
|
|
14
|
+
"22": "Provider Edition Reducers",
|
|
15
|
+
"23": "Dev Dependencies & Tooling",
|
|
16
|
+
"26": "Rich Text Inputs v2",
|
|
17
|
+
"29": "Customer Type Images",
|
|
18
|
+
"30": "Custom Select Items",
|
|
19
|
+
"31": "Feature Tags & Bar",
|
|
20
|
+
"33": "Text Box & Plan Selection",
|
|
21
|
+
"35": "Notification Menus",
|
|
22
|
+
"38": "Payment Methods",
|
|
23
|
+
"44": "Dashboard & Category Utils",
|
|
24
|
+
"51": "Image Links",
|
|
25
|
+
"53": "Retailer Options & List",
|
|
26
|
+
"55": "Retailer Selector & Status",
|
|
27
|
+
"59": "Chat Story Fixtures",
|
|
28
|
+
"60": "Chat v2 Story Fixtures",
|
|
29
|
+
"61": "Dashboard Metrics & Status",
|
|
30
|
+
"62": "Panel Layout",
|
|
31
|
+
"64": "Resizable Table",
|
|
32
|
+
"73": "Changelog Component Inventory",
|
|
33
|
+
"76": "Screen Header v2",
|
|
34
|
+
"77": "Login Reset Code Validation",
|
|
35
|
+
"78": "Range Calendar",
|
|
36
|
+
"80": "Edition Flow Changelog Entities",
|
|
37
|
+
"81": "Loading Spinner",
|
|
38
|
+
"82": "Product Percent Card",
|
|
39
|
+
"85": "Version Select",
|
|
40
|
+
"86": "Status Atom",
|
|
41
|
+
"87": "Tab Section",
|
|
42
|
+
"88": "Tab Section v2",
|
|
43
|
+
"94": "Input Group v2",
|
|
44
|
+
"96": "Validation Changelog Entities",
|
|
45
|
+
"97": "NPM Scripts",
|
|
46
|
+
"98": "Actived Filter",
|
|
47
|
+
"99": "Char Counter",
|
|
48
|
+
"102": "Edit Field",
|
|
49
|
+
"103": "Graphic Chart",
|
|
50
|
+
"106": "Metric Card",
|
|
51
|
+
"107": "Metric Select",
|
|
52
|
+
"113": "Side Menu Button",
|
|
53
|
+
"114": "Tooltip Light",
|
|
54
|
+
"115": "Words Missing",
|
|
55
|
+
"116": "Add Providers And Products",
|
|
56
|
+
"123": "Header Top v2",
|
|
57
|
+
"129": "Calendar",
|
|
58
|
+
"133": "Full Product Name Header",
|
|
59
|
+
"134": "Full Tabs Menu",
|
|
60
|
+
"135": "Mandatory Bar",
|
|
61
|
+
"137": "Rename Images Bar",
|
|
62
|
+
"138": "Side Modal",
|
|
63
|
+
"140": "CRA Build Documentation",
|
|
64
|
+
"141": "Screen Header Stories",
|
|
65
|
+
"143": "ChatLists Brand Avatars",
|
|
66
|
+
"144": "ESLint Configuration",
|
|
67
|
+
"146": "Retailer Selector Atom",
|
|
68
|
+
"155": "ContentChat Brand Identity",
|
|
69
|
+
"156": "Multi-Retailer Chat Context",
|
|
70
|
+
"166": "Chat v2 Avatar Fixtures",
|
|
71
|
+
"176": "Table Header & Row (Changelog)",
|
|
72
|
+
"219": "Storybook Preview Parameters",
|
|
73
|
+
"220": "Button Component (Changelog)",
|
|
74
|
+
"221": "Commentary Stories",
|
|
75
|
+
"222": "Retailer Selector Styles",
|
|
76
|
+
"223": "Images Group Stories",
|
|
77
|
+
"224": "Storybook Main Config"
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"0": "b0fa35c12935322c", "1": "9b80a386b8b49411", "2": "ad31df883ba213f2", "3": "e66cd75b962c2e3d", "4": "abeef9083129cd9c", "5": "4576ac00506e0dae", "6": "2af2bbf6fdb3214e", "7": "4fcfba23c893707c", "8": "2e0f05898f959aef", "9": "625f5cfa0ccb23c4", "10": "619e2c437984914d", "11": "fe3cfb0a360fd418", "12": "e42018c2bb90fc37", "13": "0d5ae636dbe3773b", "14": "8fd851f8dceff9c0", "15": "ce8bc012a377f7ac", "16": "e59f8946f01e315f", "17": "f847c7e669c64f35", "18": "2615a522289a8ad9", "19": "3abd8980f0c15038", "20": "eba0df1246428208", "21": "de826e780b1ff653", "22": "9c9b7bef22807618", "23": "5698de4bb0970b3c", "24": "6ef274fee59b5429", "25": "1fb9a60a5d6a0770", "26": "a0fe7943e2493757", "27": "a3d884082125b37b", "28": "066169bd14f0be68", "29": "3b107678201c1bfd", "30": "eb3f7e4defd2636f", "31": "2e2bf8d8dd8f1d6d", "32": "9e5067122645c504", "33": "7214aa44f3bff5c6", "34": "a1a4472493806ee7", "35": "a88584eea0acdd57", "36": "be769fb58462b1cd", "37": "fd8fe30f0059b7f7", "38": "b0b493146c1def6c", "39": "b9dcaea021d99df2", "40": "aa979f790e256630", "41": "cf42c3ec1636745e", "42": "3e0d66f51890e290", "43": "ea161b80040f7b4c", "44": "694d6b1b9bfd08da", "45": "b25ea641c8bc59ef", "46": "594589c13496d8a9", "47": "5dca5aebb4da2e92", "48": "771b6d6f404876ee", "49": "571152525bcea126", "50": "c303b083f5113da2", "51": "82e3430ef4af8815", "52": "9eefbbe9446880e2", "53": "32bcf9dd69d572cf", "54": "fec765a2fa72668a", "55": "78347bc185afec5a", "56": "5aa22a39512fa492", "57": "e16797d6668294cb", "58": "1fdcd2b58a6a50b8", "59": "1c70899f504e30d5", "60": "c15764362f68d09f", "61": "2da2deda9eefa5d6", "62": "4581fe8fe23d107f", "63": "dbe611c0ee674d2e", "64": "9ff55ec3346276e0", "65": "f5294c2c3a83e9d8", "66": "e67c679b6b923ed2", "67": "c821a616af02e5f9", "68": "70d4eea4a7d9d7af", "69": "13455ed36d376dac", "70": "c133801ae7afda36", "71": "5bfda75a0eab1830", "72": "53a29404b6a342aa", "73": "311f6a73ab3fedbf", "74": "2e51e817b464a061", "75": "1a83bd9ddb7eb4b1", "76": "f4bb2d23a64a47a0", "77": "08934597d16940a5", "78": "d108a44a63835d1e", "79": "5cd1604c38643a6e", "80": "b91d9a38a04c9763", "81": "353ce1bb7bcf1baf", "82": "5fc733f27dc7dd9c", "83": "a68e2402a627441f", "84": "af90f56bc7a272c3", "85": "a16d57478da0dd9d", "86": "db64f01b492c87e4", "87": "2baa1642436591e5", "88": "80a2330b752fcbb5", "89": "f78f2b12cb7564d9", "90": "9f3c7e22586a1037", "91": "01e47ebe3ea6bf8d", "92": "c4102598b24bd383", "93": "c858f7e84cfa6be4", "94": "0820d3db3e6f9dac", "95": "cbe7b0014ece4608", "96": "ba7c61a1bc72ec24", "97": "86847cc5e14b46ee", "98": "9fc943378075c535", "99": "3bb345bda2775bba", "100": "dbf8a4f976d6b3a7", "101": "9a0fee50ae5f806e", "102": "3e7c345334ada32f", "103": "4887b996f28e5946", "104": "26dfacf3f5bb6af5", "105": "1681cf9d9a71a93c", "106": "1c900325ee46048e", "107": "d0b6c4eb8a3bc3d1", "108": "2a1a7934381a2d3b", "109": "2ae54371b542fbeb", "110": "71705c21e7ea6b83", "111": "5624179636e17508", "112": "32d37bc670de47ab", "113": "6d8584922f84513f", "114": "7e4bb392735a8c15", "115": "7718d94fb8940fe1", "116": "b082a0e29eeba8e3", "122": "e48f265e6f2f6b99", "123": "2fc49caa797262fb", "129": "56be6b3f615198e0", "133": "0ddfb43642bac24e", "134": "9553b68520cd321d", "135": "19879d4aaeb4d845", "137": "89173ffc6a8c2153", "138": "3e0741afbd017ae4", "139": "3af5cf4582694afe", "140": "e9fa23b8f6989dbf", "141": "cffa2bd9910422f0", "142": "36fb68fbaea283ca", "143": "c6a984f23423816b", "144": "ce286f4e01eecda0", "146": "33dfa0da92d7d9fe", "155": "5279d4f7e607e276", "156": "8740af2577d18457", "163": "7273d7851ebb5fef", "166": "a847638d7504502d", "176": "16f4911ced9817fa", "219": "fc7f4aceb4f364ce", "220": "29415e4563cab5d6", "221": "460320e17947b82a", "222": "c0ffbef57b81ad24", "223": "2ad48cce9646f051", "224": "b450b6603d3a2fe2"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"0": "styled-components",
|
|
3
|
+
"1": "Avatar",
|
|
4
|
+
"2": "ScreenHeader",
|
|
5
|
+
"3": "MultipleEdition/utils.js",
|
|
6
|
+
"9": "CheckBox",
|
|
7
|
+
"10": "Image",
|
|
8
|
+
"12": "Chat/ContentChat/index.js",
|
|
9
|
+
"14": "RetailerProductEdition/index.js",
|
|
10
|
+
"17": "global-files/utils.js",
|
|
11
|
+
"19": "ProductEditionv2/index.js",
|
|
12
|
+
"24": "DigitalAssetsTray.stories.js",
|
|
13
|
+
"25": "assets.adapter.js",
|
|
14
|
+
"27": "GridItem/index.js",
|
|
15
|
+
"28": "CompleteServices/index.js",
|
|
16
|
+
"32": "FullProductNamev2/index.js",
|
|
17
|
+
"34": "LoadImageMenu/index.js",
|
|
18
|
+
"36": "OrderDetail/index.js",
|
|
19
|
+
"37": "StatusAsignationInfo/index.js",
|
|
20
|
+
"39": "GalleryAssetElement/index.js",
|
|
21
|
+
"40": "ServiceActions.jsx",
|
|
22
|
+
"41": "ProductImageModal/index.js",
|
|
23
|
+
"42": "dependencies",
|
|
24
|
+
"43": "CreatorsProductEdition.stories.js",
|
|
25
|
+
"45": "assetTypes.js",
|
|
26
|
+
"46": "GalleryElement/index.js",
|
|
27
|
+
"47": "LinkVariantsModal/index.js",
|
|
28
|
+
"48": "ImageVisor/index.js",
|
|
29
|
+
"49": "package.json",
|
|
30
|
+
"50": "tokens.js",
|
|
31
|
+
"52": "Chat/index.js",
|
|
32
|
+
"54": "ValidationPanel/index.js",
|
|
33
|
+
"56": "TableHeader/index.js",
|
|
34
|
+
"57": "UnlinkVariantModal/index.js",
|
|
35
|
+
"58": "InputGroup/index.js",
|
|
36
|
+
"63": "PropagateChangesModal/index.js",
|
|
37
|
+
"65": "Create React App Bootstrap",
|
|
38
|
+
"66": "Chatv2/ChatLists/index.js",
|
|
39
|
+
"67": "Activos digitales — estado del trabajo",
|
|
40
|
+
"68": "api.fixtures.js",
|
|
41
|
+
"69": "UserCatalog/index.js",
|
|
42
|
+
"70": "CreatorsProductEditionAPI.stories.js",
|
|
43
|
+
"71": "RetailerProductEdition",
|
|
44
|
+
"72": "ImagePreview/index.js",
|
|
45
|
+
"74": "browserslist",
|
|
46
|
+
"75": "COLORS",
|
|
47
|
+
"79": "VerificationCodeResetPassword/utils.js",
|
|
48
|
+
"83": "AddGroup/index.js",
|
|
49
|
+
"84": "ImagePanel.jsx",
|
|
50
|
+
"89": "VersionDrawer.jsx",
|
|
51
|
+
"90": "TagAndInputv2/index.js",
|
|
52
|
+
"91": "AsignationInfo/index.js",
|
|
53
|
+
"92": "SingleSelect/styles.js",
|
|
54
|
+
"93": "mockApi.js",
|
|
55
|
+
"95": "ImageGallery.jsx",
|
|
56
|
+
"100": "VariantsPanel.jsx",
|
|
57
|
+
"101": "src/index.js",
|
|
58
|
+
"104": "LogoLoading/index.js",
|
|
59
|
+
"105": "MenuProfile/index.js",
|
|
60
|
+
"108": "ProductImageModalv2/index.js",
|
|
61
|
+
"109": "GenericModal.stories.js",
|
|
62
|
+
"110": "ProductImage.stories.js",
|
|
63
|
+
"111": "ProductImage/index.js",
|
|
64
|
+
"112": "babel",
|
|
65
|
+
"122": "CreatorsProductEditionView.jsx",
|
|
66
|
+
"139": "ScreenHeader Component (screenHeaderStyles)",
|
|
67
|
+
"142": "AssignedWork/index.js",
|
|
68
|
+
"163": "ContentOh Components Library"
|
|
69
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.
|