contentoh-components-library 21.2.65 → 21.2.66
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/.env.development +4 -1
- package/dist/assets/images/chatPopup/Spinner.gif +0 -0
- package/dist/assets/images/chatPopup/close.svg +3 -0
- package/dist/assets/images/chatPopup/defaultImage.png +0 -0
- package/dist/assets/images/chatPopup/defaultProfile.png +0 -0
- package/dist/assets/images/chatPopup/doc.svg +1 -0
- package/dist/assets/images/chatPopup/document.svg +1 -0
- package/dist/assets/images/chatPopup/iconChat.svg +19 -0
- package/dist/assets/images/chatPopup/iconPlus.svg +3 -0
- package/dist/assets/images/chatPopup/pdf.svg +75 -0
- package/dist/assets/images/chatPopup/remove.svg +4 -0
- package/dist/assets/images/chatPopup/send.svg +3 -0
- package/dist/assets/images/chatPopup/svgIcon.svg +109 -0
- package/dist/assets/images/chatPopup/upload_file.svg +3 -0
- package/dist/assets/images/chatPopup/xls.svg +53 -0
- package/dist/components/atoms/ChatPopUp/ChatPopUp.stories.js +28 -0
- package/dist/components/atoms/ChatPopUp/index.js +841 -0
- package/dist/components/atoms/ChatPopUp/styles.js +27 -0
- package/dist/components/atoms/ChatPopUp/utils/handlersChat.js +182 -0
- package/dist/components/atoms/CustomSelectItem/CustomSelectItem.stories.js +323 -0
- package/dist/components/atoms/CustomSelectItem/index.js +174 -0
- package/dist/components/atoms/CustomSelectItem/styles.js +20 -0
- package/dist/components/atoms/StatusTag/StatusTag.stories.js +48 -0
- package/dist/components/atoms/StatusTag/index.js +58 -0
- package/dist/components/atoms/StatusTag/styles.js +20 -0
- package/dist/components/atoms/Tooltip/Tooltip.stories.js +36 -0
- package/dist/components/atoms/Tooltip/index.js +55 -0
- package/dist/components/atoms/Tooltip/styles.js +18 -0
- package/dist/components/molecules/CustomSelect/CustomSelect.stories.js +21 -22
- package/dist/components/molecules/CustomSelect/SelectItem.js +10 -1
- package/dist/components/molecules/CustomSelect/index.js +35 -14
- package/dist/components/molecules/CustomSelect/styles.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +10 -5
- package/dist/components/molecules/HeaderTop/styles.js +1 -1
- package/dist/components/pages/Dashboard/dashboardUtils.js +25 -32
- package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +37 -0
- package/dist/components/pages/RegistrationLoginFirstStep/index.js +269 -0
- package/dist/components/pages/RegistrationLoginFirstStep/styles.js +20 -0
- package/package.json +6 -1
- package/src/assets/images/chatPopup/Spinner.gif +0 -0
- package/src/assets/images/chatPopup/close.svg +3 -0
- package/src/assets/images/chatPopup/defaultImage.png +0 -0
- package/src/assets/images/chatPopup/defaultProfile.png +0 -0
- package/src/assets/images/chatPopup/doc.svg +1 -0
- package/src/assets/images/chatPopup/document.svg +1 -0
- package/src/assets/images/chatPopup/iconChat.svg +19 -0
- package/src/assets/images/chatPopup/iconPlus.svg +3 -0
- package/src/assets/images/chatPopup/pdf.svg +75 -0
- package/src/assets/images/chatPopup/remove.svg +4 -0
- package/src/assets/images/chatPopup/send.svg +3 -0
- package/src/assets/images/chatPopup/svgIcon.svg +109 -0
- package/src/assets/images/chatPopup/upload_file.svg +3 -0
- package/src/assets/images/chatPopup/xls.svg +53 -0
- package/src/assets/images/customSelect/starIcon.svg +14 -0
- package/src/components/atoms/ChatPopUp/ChatPopUp.stories.js +11 -0
- package/src/components/atoms/ChatPopUp/index.js +541 -0
- package/src/components/atoms/ChatPopUp/styles.js +278 -0
- package/src/components/atoms/ChatPopUp/utils/handlersChat.js +104 -0
- package/src/components/atoms/CustomSelectItem/CustomSelectItem.stories.js +410 -0
- package/src/components/atoms/CustomSelectItem/index.js +144 -0
- package/src/components/atoms/CustomSelectItem/styles.js +32 -0
- package/src/components/atoms/Tooltip/Tooltip.stories.js +15 -0
- package/src/components/atoms/Tooltip/index.js +35 -0
- package/src/components/atoms/Tooltip/styles.js +5 -0
- package/src/components/molecules/CustomSelect/CustomSelect.stories.js +19 -11
- package/src/components/molecules/CustomSelect/SelectItem.js +7 -0
- package/src/components/molecules/CustomSelect/index.js +8 -3
- package/src/components/molecules/CustomSelect/styles.js +0 -2
- package/src/components/molecules/HeaderTop/index.js +10 -6
- package/src/components/molecules/HeaderTop/styles.js +4 -0
- package/src/components/pages/Dashboard/dashboardUtils.js +18 -22
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Slider = exports.Container = void 0;
|
|
9
|
+
|
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
11
|
+
|
|
12
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
+
|
|
14
|
+
var _variables = require("../../../global-files/variables");
|
|
15
|
+
|
|
16
|
+
var _templateObject, _templateObject2;
|
|
17
|
+
|
|
18
|
+
var Container = _styledComponents.default.button(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 34px;\n width: 34px;\n background-color: transparent;\n border: 1px solid #f0f0f0;\n border-radius: 50px;\n padding: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n cursor: pointer;\n &:hover {\n background-color: #f0f0f0;\n }\n .icon-chat {\n margin: 0;\n width: 15px;\n height: 15px;\n }\n"])));
|
|
19
|
+
|
|
20
|
+
exports.Container = Container;
|
|
21
|
+
|
|
22
|
+
var Slider = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n -webkit-box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.8);\n box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.8);\n z-index: 200;\n width: 425px;\n height: 600px;\n border-radius: 10px;\n background: white;\n padding: 37px 16px 17px 20px;\n position: absolute;\n right: ", "%;\n top: 3%;\n transition: right 2s ease 0;\n .image {\n display: flex;\n justify-content: center;\n align-content: center;\n background-color: #f7f7f7;\n border-radius: 10px;\n #myList {\n list-style: none;\n img {\n width: 365px;\n border-radius: 10px;\n }\n }\n }\n .close {\n background-color: #e33aa9;\n border: 3px solid white;\n height: 35px;\n width: 35px;\n border-radius: 50%;\n position: absolute;\n top: -18px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n }\n .content-chat {\n height: 495px;\n max-height: 495px;\n overflow-y: auto;\n overflow-x: hidden;\n background-color: transparent;\n font-family: sans-serif;\n font-size: 12px;\n & + * {\n margin-top: 12px;\n }\n ::-webkit-scrollbar {\n width: 0;\n }\n .cargar-mas {\n border: none;\n border-radius: 10px;\n font: normal normal normal 11px/11px sans-serif;\n letter-spacing: 0.1px;\n color: #8a6caa;\n background-color: #f7f7fc;\n padding: 5px 17px;\n margin: 0 35%;\n display: flex;\n cursor: pointer;\n white-space: nowrap;\n &:hover {\n background-color: #f0f0f0;\n }\n img {\n margin-right: 7px;\n height: 13px;\n }\n }\n #myListChat {\n list-style: none;\n margin: 0;\n padding: 0;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n display: flex;\n flex-direction: column-reverse;\n gap: 3px;\n .group-date {\n display: flex;\n justify-content: center;\n align-items: center;\n hr {\n width: 120px;\n border: 0.3px solid #f0f0f0;\n }\n p {\n margin: 0 10px;\n color: #b3b3b3;\n }\n }\n li {\n width: 100%;\n padding: 5px 0;\n margin: 0;\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-start;\n flex-wrap: nowrap;\n gap: 5px;\n align-items: center;\n .tooltip-userName {\n background-color: #f0f0f0;\n padding: 6px 10px;\n color: #000000;\n font-size: 11px;\n margin-bottom: 6px;\n .MuiTooltip-arrow {\n color: #f0f0f0;\n }\n }\n\n .profile {\n display: grid;\n place-items: center;\n align-self: start;\n width: 34px;\n height: 34px;\n border-radius: 50%;\n overflow: hidden;\n img {\n width: 100%;\n height: 100%;\n border-radius: inherit;\n }\n }\n .img-file {\n margin: 0 10px;\n width: 165px;\n img {\n width: 100%;\n object-fit: contain;\n border-radius: 10px;\n }\n }\n .body-message {\n margin: 0 10px;\n border-radius: 10px;\n box-sizing: border-box;\n background-color: #f0f0f0;\n padding: 10px 10px 10px 12px;\n max-width: 280px;\n p {\n color: #262626;\n margin: 0;\n padding: 0;\n }\n a {\n text-decoration: none;\n }\n div {\n cursor: pointer;\n background-color: white;\n border-radius: 10px;\n padding: 7px 10px;\n display: flex;\n align-items: center;\n img {\n height: 20px;\n width: 20px;\n margin-right: 5px;\n }\n p {\n color: #262626 !important;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n }\n }\n .date {\n display: flex;\n align-items: center;\n white-space: nowrap;\n p {\n color: #d9d9d9;\n font-size: 9px;\n }\n }\n &.own-message {\n flex-direction: row;\n justify-content: flex-start;\n .body-message {\n background-color: #8386ee;\n p {\n margin: 0;\n padding: 0;\n color: #ffffff;\n }\n }\n }\n }\n }\n }\n .input-chat {\n display: flex;\n align-items: center;\n border-radius: 17px;\n background-color: #f7f7f7;\n padding: 10px 7px 10px 15px;\n .send-message {\n background-color: transparent;\n width: 157%;\n border: none;\n font-family: sans-serif;\n font-size: 13px;\n line-height: initial;\n color: #242424;\n ::placeholder {\n font: normal normal medium 12px/14px sans-serif;\n letter-spacing: 0.6px;\n color: #b3b3b3;\n }\n :focus {\n outline: none;\n }\n & + * {\n margin-left: 10px;\n }\n }\n .upload {\n border: none;\n background: transparent;\n cursor: pointer;\n & + * {\n margin-left: 7px;\n }\n }\n .add-picture-input {\n display: none;\n }\n .send {\n width: 35.4px;\n height: 20px;\n border: none;\n background-color: #e33aa9;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n cursor: pointer;\n align-items: center;\n img {\n width: 11px;\n height: 11px;\n }\n }\n }\n"])), function (_ref) {
|
|
23
|
+
var showMenu = _ref.showMenu;
|
|
24
|
+
return showMenu ? 2 : -50;
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
exports.Slider = Slider;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.getBD = exports.createItemBD = void 0;
|
|
9
|
+
|
|
10
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
+
|
|
12
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
|
|
13
|
+
|
|
14
|
+
var _axios = _interopRequireDefault(require("axios"));
|
|
15
|
+
|
|
16
|
+
var getBD = function getBD(id_article, version_article, get_type, item_date, tokenUser) {
|
|
17
|
+
return new Promise( /*#__PURE__*/function () {
|
|
18
|
+
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(response, error) {
|
|
19
|
+
var URL, respHTTPjson, body;
|
|
20
|
+
return _regenerator.default.wrap(function _callee$(_context) {
|
|
21
|
+
while (1) {
|
|
22
|
+
switch (_context.prev = _context.next) {
|
|
23
|
+
case 0:
|
|
24
|
+
_context.prev = 0;
|
|
25
|
+
URL = "https://fc069ovhuk.execute-api.us-east-1.amazonaws.com/dev/products-chat"; // endpoint
|
|
26
|
+
|
|
27
|
+
URL += "?id_article=".concat(id_article);
|
|
28
|
+
URL += "&version_article=".concat(version_article);
|
|
29
|
+
URL += "&get_type=".concat(get_type);
|
|
30
|
+
URL += "&item_date=".concat(item_date);
|
|
31
|
+
_context.next = 8;
|
|
32
|
+
return _axios.default.get(URL, {
|
|
33
|
+
headers: {
|
|
34
|
+
// AQUI COLOCAR EL TOKEN DEL USUARIO CONECTADO
|
|
35
|
+
Authorization: tokenUser
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
case 8:
|
|
40
|
+
respHTTPjson = _context.sent;
|
|
41
|
+
|
|
42
|
+
if (!(respHTTPjson.status != 200)) {
|
|
43
|
+
_context.next = 12;
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
response({
|
|
48
|
+
message: "No fue posible llevar a cabo la operacion",
|
|
49
|
+
errorDetails: respHTTPjson.statusText
|
|
50
|
+
});
|
|
51
|
+
return _context.abrupt("return");
|
|
52
|
+
|
|
53
|
+
case 12:
|
|
54
|
+
// obtener body backend
|
|
55
|
+
body = JSON.parse(respHTTPjson.data.body); //console.log( "resHTTP body:" , body );
|
|
56
|
+
// verificar si existe error desde el backend
|
|
57
|
+
|
|
58
|
+
if (!(respHTTPjson.data.statusCode != 200)) {
|
|
59
|
+
_context.next = 16;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
response({
|
|
64
|
+
message: body.message,
|
|
65
|
+
errorDetails: body.errorDetail
|
|
66
|
+
});
|
|
67
|
+
return _context.abrupt("return");
|
|
68
|
+
|
|
69
|
+
case 16:
|
|
70
|
+
// cuando se ejecuto bien el create ... tomar un posible message
|
|
71
|
+
response({
|
|
72
|
+
body: body
|
|
73
|
+
});
|
|
74
|
+
_context.next = 22;
|
|
75
|
+
break;
|
|
76
|
+
|
|
77
|
+
case 19:
|
|
78
|
+
_context.prev = 19;
|
|
79
|
+
_context.t0 = _context["catch"](0);
|
|
80
|
+
//console.log("error catch get items chat" , err);
|
|
81
|
+
response({
|
|
82
|
+
message: "Algo salio mal al obtener los items del chat",
|
|
83
|
+
errorDetails: _context.t0.message
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
case 22:
|
|
87
|
+
case "end":
|
|
88
|
+
return _context.stop();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}, _callee, null, [[0, 19]]);
|
|
92
|
+
}));
|
|
93
|
+
|
|
94
|
+
return function (_x, _x2) {
|
|
95
|
+
return _ref.apply(this, arguments);
|
|
96
|
+
};
|
|
97
|
+
}());
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
exports.getBD = getBD;
|
|
101
|
+
|
|
102
|
+
var createItemBD = function createItemBD(id_article, version_article, value_type, value, tokenUser) {
|
|
103
|
+
return new Promise( /*#__PURE__*/function () {
|
|
104
|
+
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(response, error) {
|
|
105
|
+
var URL, bodyData, respHTTPjson, body;
|
|
106
|
+
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
107
|
+
while (1) {
|
|
108
|
+
switch (_context2.prev = _context2.next) {
|
|
109
|
+
case 0:
|
|
110
|
+
_context2.prev = 0;
|
|
111
|
+
URL = "https://fc069ovhuk.execute-api.us-east-1.amazonaws.com/dev/products-chat";
|
|
112
|
+
bodyData = {
|
|
113
|
+
id_article: id_article,
|
|
114
|
+
version_article: version_article,
|
|
115
|
+
value_type: value_type,
|
|
116
|
+
value: value
|
|
117
|
+
};
|
|
118
|
+
_context2.next = 5;
|
|
119
|
+
return _axios.default.post(URL, bodyData, {
|
|
120
|
+
headers: {
|
|
121
|
+
Authorization: tokenUser
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
case 5:
|
|
126
|
+
respHTTPjson = _context2.sent;
|
|
127
|
+
|
|
128
|
+
if (!(respHTTPjson.status != 200)) {
|
|
129
|
+
_context2.next = 9;
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
response({
|
|
134
|
+
message: "No fue posible llevar a cabo la operacion",
|
|
135
|
+
errorDetails: respHTTPjson.statusText
|
|
136
|
+
});
|
|
137
|
+
return _context2.abrupt("return");
|
|
138
|
+
|
|
139
|
+
case 9:
|
|
140
|
+
body = JSON.parse(respHTTPjson.data.body);
|
|
141
|
+
|
|
142
|
+
if (!(respHTTPjson.data.statusCode != 200)) {
|
|
143
|
+
_context2.next = 13;
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
response({
|
|
148
|
+
message: body.message,
|
|
149
|
+
errorDetails: body.errorDetail
|
|
150
|
+
});
|
|
151
|
+
return _context2.abrupt("return");
|
|
152
|
+
|
|
153
|
+
case 13:
|
|
154
|
+
response({
|
|
155
|
+
body: true
|
|
156
|
+
});
|
|
157
|
+
_context2.next = 19;
|
|
158
|
+
break;
|
|
159
|
+
|
|
160
|
+
case 16:
|
|
161
|
+
_context2.prev = 16;
|
|
162
|
+
_context2.t0 = _context2["catch"](0);
|
|
163
|
+
response({
|
|
164
|
+
message: "Algo salio mal al agregar el item en el chat",
|
|
165
|
+
errorDetails: _context2.t0.message
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
case 19:
|
|
169
|
+
case "end":
|
|
170
|
+
return _context2.stop();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}, _callee2, null, [[0, 16]]);
|
|
174
|
+
}));
|
|
175
|
+
|
|
176
|
+
return function (_x3, _x4) {
|
|
177
|
+
return _ref2.apply(this, arguments);
|
|
178
|
+
};
|
|
179
|
+
}());
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
exports.createItemBD = createItemBD;
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = exports.CustomSelectItemDefault = void 0;
|
|
9
|
+
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
12
|
+
var _ = require(".");
|
|
13
|
+
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
title: "Components/atoms/CustomSelectItem",
|
|
18
|
+
component: _.CustomSelectItem
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
21
|
+
|
|
22
|
+
var Template = function Template(args) {
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_.CustomSelectItem, (0, _objectSpread2.default)({}, args));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
var CustomSelectItemDefault = Template.bind({});
|
|
27
|
+
exports.CustomSelectItemDefault = CustomSelectItemDefault;
|
|
28
|
+
CustomSelectItemDefault.args = {
|
|
29
|
+
option: {
|
|
30
|
+
id: 0,
|
|
31
|
+
name: "Abarrotes",
|
|
32
|
+
subOptions: [{
|
|
33
|
+
id: 0,
|
|
34
|
+
name: "Abarrotes Secos",
|
|
35
|
+
subOptions: [{
|
|
36
|
+
id: 4,
|
|
37
|
+
name: "Alimentos Deshidratados"
|
|
38
|
+
}, {
|
|
39
|
+
id: 5,
|
|
40
|
+
name: "Avenas y Granolas"
|
|
41
|
+
}, {
|
|
42
|
+
id: 6,
|
|
43
|
+
name: "Azúcar, Endulzantes y Sustitutos"
|
|
44
|
+
}, {
|
|
45
|
+
id: 7,
|
|
46
|
+
name: "Café Grano"
|
|
47
|
+
}, {
|
|
48
|
+
id: 8,
|
|
49
|
+
name: "Café Soluble"
|
|
50
|
+
}, {
|
|
51
|
+
id: 9,
|
|
52
|
+
name: "Cereales y Barras"
|
|
53
|
+
}, {
|
|
54
|
+
id: 10,
|
|
55
|
+
name: "Despensas y Canastas"
|
|
56
|
+
}, {
|
|
57
|
+
id: 11,
|
|
58
|
+
name: "Frutos Secos"
|
|
59
|
+
}, {
|
|
60
|
+
id: 12,
|
|
61
|
+
name: "Galletas"
|
|
62
|
+
}, {
|
|
63
|
+
id: 13,
|
|
64
|
+
name: "Harinas y Repostería"
|
|
65
|
+
}, {
|
|
66
|
+
id: 14,
|
|
67
|
+
name: "Pan de Caja"
|
|
68
|
+
}, {
|
|
69
|
+
id: 15,
|
|
70
|
+
name: "Postres en Polvo"
|
|
71
|
+
}, {
|
|
72
|
+
id: 16,
|
|
73
|
+
name: "Saborizantes de Leche"
|
|
74
|
+
}, {
|
|
75
|
+
id: 17,
|
|
76
|
+
name: "Sopas y Pastas"
|
|
77
|
+
}, {
|
|
78
|
+
id: 18,
|
|
79
|
+
name: "Tortillas Empacadas"
|
|
80
|
+
}]
|
|
81
|
+
}, {
|
|
82
|
+
id: 1,
|
|
83
|
+
name: "Aceites y Vinagres",
|
|
84
|
+
subOptions: [{
|
|
85
|
+
id: 20,
|
|
86
|
+
name: "Aceite de Oliva"
|
|
87
|
+
}, {
|
|
88
|
+
id: 21,
|
|
89
|
+
name: "Aceite en Aerosol"
|
|
90
|
+
}, {
|
|
91
|
+
id: 22,
|
|
92
|
+
name: "Aceites y Manteca"
|
|
93
|
+
}]
|
|
94
|
+
}, {
|
|
95
|
+
id: 2,
|
|
96
|
+
name: "Aderezos, Especias y Sazonadores",
|
|
97
|
+
subOptions: [{
|
|
98
|
+
id: 24,
|
|
99
|
+
name: "Aderezos"
|
|
100
|
+
}, {
|
|
101
|
+
id: 25,
|
|
102
|
+
name: "Condimentos y Especias"
|
|
103
|
+
}, {
|
|
104
|
+
id: 26,
|
|
105
|
+
name: "Consomés"
|
|
106
|
+
}, {
|
|
107
|
+
id: 27,
|
|
108
|
+
name: "Mayonesas"
|
|
109
|
+
}, {
|
|
110
|
+
id: 28,
|
|
111
|
+
name: "Purés"
|
|
112
|
+
}, {
|
|
113
|
+
id: 29,
|
|
114
|
+
name: "Salsas"
|
|
115
|
+
}]
|
|
116
|
+
}, {
|
|
117
|
+
id: 3,
|
|
118
|
+
name: "Agua, Jugos y Bebidas",
|
|
119
|
+
subOptions: [{
|
|
120
|
+
id: 31,
|
|
121
|
+
name: "Agua Embotellada"
|
|
122
|
+
}, {
|
|
123
|
+
id: 32,
|
|
124
|
+
name: "Bebidas Energizantes"
|
|
125
|
+
}, {
|
|
126
|
+
id: 33,
|
|
127
|
+
name: "Bebidas Isotónicas"
|
|
128
|
+
}, {
|
|
129
|
+
id: 34,
|
|
130
|
+
name: "Bebidas no Gasificadas"
|
|
131
|
+
}, {
|
|
132
|
+
id: 35,
|
|
133
|
+
name: "Bebidas y Concentrados en Polvo"
|
|
134
|
+
}, {
|
|
135
|
+
id: 36,
|
|
136
|
+
name: "Café, Té y Saborizantes"
|
|
137
|
+
}, {
|
|
138
|
+
id: 37,
|
|
139
|
+
name: "Jarabes para Agua"
|
|
140
|
+
}, {
|
|
141
|
+
id: 38,
|
|
142
|
+
name: "Jugos y Néctares"
|
|
143
|
+
}, {
|
|
144
|
+
id: 39,
|
|
145
|
+
name: "Refrescos y Sodas"
|
|
146
|
+
}]
|
|
147
|
+
}, {
|
|
148
|
+
id: 4,
|
|
149
|
+
name: "Botanas, Golosinas y Chocolates",
|
|
150
|
+
subOptions: [{
|
|
151
|
+
id: 41,
|
|
152
|
+
name: "Botanas"
|
|
153
|
+
}, {
|
|
154
|
+
id: 42,
|
|
155
|
+
name: "Confitería"
|
|
156
|
+
}, {
|
|
157
|
+
id: 43,
|
|
158
|
+
name: "Dulces y Chocolates"
|
|
159
|
+
}, {
|
|
160
|
+
id: 44,
|
|
161
|
+
name: "Frituras Empacadas"
|
|
162
|
+
}]
|
|
163
|
+
}, {
|
|
164
|
+
id: 5,
|
|
165
|
+
name: "Cervezas, Vinos, Licores y Cigarros",
|
|
166
|
+
subOptions: [{
|
|
167
|
+
id: 46,
|
|
168
|
+
name: "Accesorios Vinos"
|
|
169
|
+
}, {
|
|
170
|
+
id: 47,
|
|
171
|
+
name: "Aguardientes"
|
|
172
|
+
}, {
|
|
173
|
+
id: 48,
|
|
174
|
+
name: "Aperitivos"
|
|
175
|
+
}, {
|
|
176
|
+
id: 49,
|
|
177
|
+
name: "Brandy y Coñac"
|
|
178
|
+
}, {
|
|
179
|
+
id: 50,
|
|
180
|
+
name: "Cervezas"
|
|
181
|
+
}, {
|
|
182
|
+
id: 51,
|
|
183
|
+
name: "Cigarros Y Puros"
|
|
184
|
+
}, {
|
|
185
|
+
id: 52,
|
|
186
|
+
name: "Cockteles"
|
|
187
|
+
}, {
|
|
188
|
+
id: 53,
|
|
189
|
+
name: "Coolers y Bebidas Preparadas"
|
|
190
|
+
}, {
|
|
191
|
+
id: 54,
|
|
192
|
+
name: "Destilados"
|
|
193
|
+
}, {
|
|
194
|
+
id: 55,
|
|
195
|
+
name: "Digestivos"
|
|
196
|
+
}, {
|
|
197
|
+
id: 56,
|
|
198
|
+
name: "Mezcladores"
|
|
199
|
+
}, {
|
|
200
|
+
id: 57,
|
|
201
|
+
name: "Rompopes y Cremas"
|
|
202
|
+
}, {
|
|
203
|
+
id: 58,
|
|
204
|
+
name: "Ron"
|
|
205
|
+
}, {
|
|
206
|
+
id: 59,
|
|
207
|
+
name: "Tequila"
|
|
208
|
+
}, {
|
|
209
|
+
id: 60,
|
|
210
|
+
name: "Vinos Blancos"
|
|
211
|
+
}, {
|
|
212
|
+
id: 61,
|
|
213
|
+
name: "Vinos Espumosos"
|
|
214
|
+
}, {
|
|
215
|
+
id: 62,
|
|
216
|
+
name: "Vinos Rosados"
|
|
217
|
+
}, {
|
|
218
|
+
id: 63,
|
|
219
|
+
name: "Vinos Tintos"
|
|
220
|
+
}, {
|
|
221
|
+
id: 64,
|
|
222
|
+
name: "Vodka y Ginebra"
|
|
223
|
+
}, {
|
|
224
|
+
id: 65,
|
|
225
|
+
name: "Whisky"
|
|
226
|
+
}]
|
|
227
|
+
}, {
|
|
228
|
+
id: 6,
|
|
229
|
+
name: "Enlatados y Conservas",
|
|
230
|
+
subOptions: [{
|
|
231
|
+
id: 67,
|
|
232
|
+
name: "Alimentos Preparados"
|
|
233
|
+
}, {
|
|
234
|
+
id: 68,
|
|
235
|
+
name: "Almíbares"
|
|
236
|
+
}, {
|
|
237
|
+
id: 69,
|
|
238
|
+
name: "Chiles Enlatados"
|
|
239
|
+
}, {
|
|
240
|
+
id: 70,
|
|
241
|
+
name: "Conservas Granel"
|
|
242
|
+
}, {
|
|
243
|
+
id: 71,
|
|
244
|
+
name: "Encurtidos"
|
|
245
|
+
}, {
|
|
246
|
+
id: 72,
|
|
247
|
+
name: "Frijoles Envasados"
|
|
248
|
+
}, {
|
|
249
|
+
id: 73,
|
|
250
|
+
name: "Legumbres Enlatados"
|
|
251
|
+
}, {
|
|
252
|
+
id: 74,
|
|
253
|
+
name: "Pescados y Mariscos Enlatados"
|
|
254
|
+
}, {
|
|
255
|
+
id: 75,
|
|
256
|
+
name: "Sopas Enlatadas"
|
|
257
|
+
}]
|
|
258
|
+
}, {
|
|
259
|
+
id: 7,
|
|
260
|
+
name: "Gourmet y Comida de Temporada",
|
|
261
|
+
subOptions: [{
|
|
262
|
+
id: 77,
|
|
263
|
+
name: "Gourmet y Comida de Temporada"
|
|
264
|
+
}]
|
|
265
|
+
}, {
|
|
266
|
+
id: 8,
|
|
267
|
+
name: "Granos y Semillas",
|
|
268
|
+
subOptions: [{
|
|
269
|
+
id: 79,
|
|
270
|
+
name: "Arroz"
|
|
271
|
+
}, {
|
|
272
|
+
id: 80,
|
|
273
|
+
name: "Frijol"
|
|
274
|
+
}, {
|
|
275
|
+
id: 81,
|
|
276
|
+
name: "Granos"
|
|
277
|
+
}, {
|
|
278
|
+
id: 82,
|
|
279
|
+
name: "Semillas"
|
|
280
|
+
}]
|
|
281
|
+
}, {
|
|
282
|
+
id: 9,
|
|
283
|
+
name: "Hielo",
|
|
284
|
+
subOptions: [{
|
|
285
|
+
id: 84,
|
|
286
|
+
name: "Hielo"
|
|
287
|
+
}]
|
|
288
|
+
}, {
|
|
289
|
+
id: 10,
|
|
290
|
+
name: "Lácteos e Infusiones",
|
|
291
|
+
subOptions: [{
|
|
292
|
+
id: 86,
|
|
293
|
+
name: "Condensadas y Evaporadas"
|
|
294
|
+
}, {
|
|
295
|
+
id: 87,
|
|
296
|
+
name: "Leche Líquida"
|
|
297
|
+
}, {
|
|
298
|
+
id: 88,
|
|
299
|
+
name: "Leche Polvo"
|
|
300
|
+
}, {
|
|
301
|
+
id: 89,
|
|
302
|
+
name: "Sustitutos de Crema"
|
|
303
|
+
}, {
|
|
304
|
+
id: 90,
|
|
305
|
+
name: "Té e Infusiones"
|
|
306
|
+
}]
|
|
307
|
+
}, {
|
|
308
|
+
id: 11,
|
|
309
|
+
name: "Untables y Mermeladas",
|
|
310
|
+
subOptions: [{
|
|
311
|
+
id: 92,
|
|
312
|
+
name: "Cajetas y Untables"
|
|
313
|
+
}, {
|
|
314
|
+
id: 93,
|
|
315
|
+
name: "Mermeladas y Jaleas"
|
|
316
|
+
}, {
|
|
317
|
+
id: 94,
|
|
318
|
+
name: "Mieles"
|
|
319
|
+
}]
|
|
320
|
+
}]
|
|
321
|
+
},
|
|
322
|
+
className: "main-option"
|
|
323
|
+
};
|