josenanodev-react-components-library 0.0.8 → 0.0.10

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 (45) hide show
  1. package/dist/cjs/components/Multicalendar/Multicalendar.css +41 -231
  2. package/dist/cjs/components/Multicalendar/Multicalendar.d.ts +1 -1
  3. package/dist/cjs/components/Multicalendar/Multicalendar.js +45 -33
  4. package/dist/cjs/components/Multicalendar/MulticalendarOwnFunctions.d.ts +1 -1
  5. package/dist/cjs/components/Multicalendar/MulticalendarOwnFunctions.js +3 -3
  6. package/dist/cjs/components/Multicalendar/subcomponents/composites/DatesGrid/DatesGrid.css +5 -4
  7. package/dist/cjs/components/Multicalendar/subcomponents/individuals/DatesRow/DatesRow.js +1 -1
  8. package/dist/cjs/components/Multicalendar/types.d.ts +7 -3
  9. package/dist/cjs/components/SideBar/SideBar.css +50 -0
  10. package/dist/cjs/components/SideBar/SideBar.d.ts +8 -0
  11. package/dist/cjs/components/SideBar/SideBar.js +72 -0
  12. package/dist/cjs/components/SideBar/types.d.ts +7 -0
  13. package/dist/cjs/hooks/useOutsideClick.d.ts +6 -0
  14. package/dist/cjs/hooks/useOutsideClick.js +25 -0
  15. package/dist/cjs/hooks/useResizeObserver.d.ts +7 -0
  16. package/dist/cjs/hooks/useResizeObserver.js +30 -0
  17. package/dist/cjs/languages/en-EN.js +0 -170
  18. package/dist/cjs/languages/es-ES.js +0 -170
  19. package/dist/cjs/languages/it-IT.js +0 -170
  20. package/dist/cjs/languages/types.d.ts +0 -170
  21. package/dist/cjs/mocks/ReactComponentMocksForTesting/CellChildrenMock.js +1 -1
  22. package/dist/cjs/stories/css-presets.css +77 -0
  23. package/dist/esm/components/Multicalendar/Multicalendar.css +41 -231
  24. package/dist/esm/components/Multicalendar/Multicalendar.d.ts +1 -1
  25. package/dist/esm/components/Multicalendar/Multicalendar.js +47 -35
  26. package/dist/esm/components/Multicalendar/MulticalendarOwnFunctions.d.ts +1 -1
  27. package/dist/esm/components/Multicalendar/MulticalendarOwnFunctions.js +3 -3
  28. package/dist/esm/components/Multicalendar/subcomponents/composites/DatesGrid/DatesGrid.css +5 -4
  29. package/dist/esm/components/Multicalendar/subcomponents/individuals/DatesRow/DatesRow.js +1 -1
  30. package/dist/esm/components/Multicalendar/types.d.ts +7 -3
  31. package/dist/esm/components/SideBar/SideBar.css +50 -0
  32. package/dist/esm/components/SideBar/SideBar.d.ts +8 -0
  33. package/dist/esm/components/SideBar/SideBar.js +44 -0
  34. package/dist/esm/components/SideBar/types.d.ts +7 -0
  35. package/dist/esm/hooks/useOutsideClick.d.ts +6 -0
  36. package/dist/esm/hooks/useOutsideClick.js +23 -0
  37. package/dist/esm/hooks/useResizeObserver.d.ts +7 -0
  38. package/dist/esm/hooks/useResizeObserver.js +28 -0
  39. package/dist/esm/languages/en-EN.js +0 -170
  40. package/dist/esm/languages/es-ES.js +0 -170
  41. package/dist/esm/languages/it-IT.js +0 -170
  42. package/dist/esm/languages/types.d.ts +0 -170
  43. package/dist/esm/mocks/ReactComponentMocksForTesting/CellChildrenMock.js +1 -1
  44. package/dist/esm/stories/css-presets.css +77 -0
  45. package/package.json +7 -7
@@ -0,0 +1,50 @@
1
+ .side-bar {
2
+ position: absolute;
3
+ top: 0;
4
+ height: 100%;
5
+ z-index: 2;
6
+ background-color: rgb(253, 253, 253);
7
+ box-shadow: 5px 0px 15px 0px rgb(206 206 206);
8
+ transition: all 0.5s ease-in-out;
9
+ animation: fade-in-side-bar 1s ease-in;
10
+ }
11
+
12
+ .side-bar .sidebar-close-button {
13
+ position: absolute;
14
+ top: 0;
15
+ height: 30px;
16
+ width: 30px;
17
+ background-color: transparent;
18
+ border: none;
19
+ outline: none;
20
+ transition: all 0.3s;
21
+ color: dimgray;
22
+ font-size: 30px;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ cursor: pointer;
27
+ }
28
+
29
+ .side-bar .sidebar-close-button:hover {
30
+ color: var(--primary-color);
31
+ }
32
+
33
+ .side-bar .sidebar-close-button svg.open{
34
+ transform: rotate(0deg);
35
+ transition: all 0.5s;
36
+ }
37
+
38
+ .side-bar .sidebar-close-button svg.close{
39
+ transform: rotate(180deg);
40
+ transition: all 0.5s;
41
+ }
42
+
43
+ @keyframes fade-in-side-bar {
44
+ from {
45
+ opacity: 0;
46
+ }
47
+ to {
48
+ opacity: 1;
49
+ }
50
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import "./SideBar.css";
3
+ import { SideBarPropsType } from "./types";
4
+ /**
5
+ * NOTE: Parent Node must have position: relative, to work correctly with the side bar
6
+ */
7
+ declare const SideBar: ({ side, open, children, closeAction, outBoundClickClosesSideBar, }: SideBarPropsType) => JSX.Element;
8
+ export default SideBar;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ const react_1 = __importStar(require("react"));
30
+ require("./SideBar.css");
31
+ //Hooks
32
+ const useOutsideClick_1 = __importDefault(require("../../hooks/useOutsideClick"));
33
+ const useResizeObserver_1 = __importDefault(require("../../hooks/useResizeObserver"));
34
+ //Icons
35
+ const bs_1 = require("react-icons/bs");
36
+ /**
37
+ * NOTE: Parent Node must have position: relative, to work correctly with the side bar
38
+ */
39
+ const SideBar = ({ side, open = false, children, closeAction, outBoundClickClosesSideBar, }) => {
40
+ //Refs
41
+ const sideBarRef = (0, react_1.useRef)(null);
42
+ //Hooks
43
+ const [elementWidth] = (0, useResizeObserver_1.default)(sideBarRef);
44
+ (0, useOutsideClick_1.default)(sideBarRef, () => {
45
+ if (outBoundClickClosesSideBar)
46
+ if (closeAction) {
47
+ closeAction();
48
+ }
49
+ else {
50
+ setOpenState(false);
51
+ }
52
+ });
53
+ //useState
54
+ const [openState, setOpenState] = (0, react_1.useState)(open);
55
+ return (react_1.default.createElement("div", { ref: sideBarRef, className: "side-bar", style: {
56
+ [side === "left" ? "right" : "left"]: (closeAction && open) || (!closeAction && openState)
57
+ ? `calc(100% - ${elementWidth}px)`
58
+ : closeAction
59
+ ? "100%"
60
+ : `calc(100% - 30px)`,
61
+ } },
62
+ react_1.default.createElement("button", { style: side === "left" ? { right: 0 } : { left: 0 }, className: "sidebar-close-button", onClick: () => {
63
+ if (closeAction) {
64
+ closeAction();
65
+ }
66
+ else {
67
+ setOpenState(!openState);
68
+ }
69
+ } }, side === "left" ? (react_1.default.createElement(bs_1.BsChevronLeft, { className: (closeAction && open) || (!closeAction && openState) ? "open" : "close" })) : (react_1.default.createElement(bs_1.BsChevronRight, { className: (closeAction && open) || (!closeAction && openState) ? "open" : "close" }))),
70
+ children));
71
+ };
72
+ exports.default = SideBar;
@@ -0,0 +1,7 @@
1
+ export interface SideBarPropsType {
2
+ side: "left" | "right";
3
+ children: JSX.Element | JSX.Element[];
4
+ open: boolean;
5
+ closeAction?: Function;
6
+ outBoundClickClosesSideBar?: boolean;
7
+ }
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Hook that alerts clicks outside of the passed ref
4
+ */
5
+ declare function useOutsideClick(elementRef: React.MutableRefObject<HTMLElement | null>, onOutsideClickAction: Function): void;
6
+ export default useOutsideClick;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("react");
4
+ /**
5
+ * Hook that alerts clicks outside of the passed ref
6
+ */
7
+ function useOutsideClick(elementRef, onOutsideClickAction) {
8
+ (0, react_1.useEffect)(() => {
9
+ /**
10
+ * Alert if clicked on outside of element
11
+ */
12
+ function handleClickOutside(event) {
13
+ if (elementRef.current && !elementRef.current.contains(event.target)) {
14
+ onOutsideClickAction();
15
+ }
16
+ }
17
+ // Bind the event listener
18
+ document.addEventListener("mousedown", handleClickOutside);
19
+ return () => {
20
+ // Unbind the event listener on clean up
21
+ document.removeEventListener("mousedown", handleClickOutside);
22
+ };
23
+ }, [elementRef, onOutsideClickAction]);
24
+ }
25
+ exports.default = useOutsideClick;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ /**
3
+ * @returns Array [elementWidth, elementHeight], that represent the current
4
+ * values of width and height of elementRef
5
+ */
6
+ declare function useResizeObserver(elementRef: React.MutableRefObject<HTMLElement | null>): number[];
7
+ export default useResizeObserver;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("react");
4
+ /**
5
+ * @returns Array [elementWidth, elementHeight], that represent the current
6
+ * values of width and height of elementRef
7
+ */
8
+ function useResizeObserver(elementRef) {
9
+ const [elementWidth, setElementWidth] = (0, react_1.useState)(0);
10
+ const [elementHeight, setElementHeight] = (0, react_1.useState)(0);
11
+ const observer = (0, react_1.useRef)(new ResizeObserver((entries) => {
12
+ const { width, height } = entries[0].contentRect;
13
+ setElementWidth(width);
14
+ setElementHeight(height);
15
+ }));
16
+ (0, react_1.useEffect)(() => {
17
+ if (elementRef.current !== null) {
18
+ observer.current.observe(elementRef.current);
19
+ }
20
+ const observerCurrentForCleanUp = observer.current;
21
+ const elementRefCurrentForCleanUp = elementRef.current;
22
+ return () => {
23
+ if (elementRefCurrentForCleanUp !== null) {
24
+ observerCurrentForCleanUp.unobserve(elementRefCurrentForCleanUp);
25
+ }
26
+ };
27
+ }, [elementRef, observer]);
28
+ return [elementWidth, elementHeight];
29
+ }
30
+ exports.default = useResizeObserver;
@@ -1,20 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const spanish = {
4
- "of": "of",
5
- "Automatized": "Automatized",
6
- "properties": "properties",
7
- "stablishment": "stablishment",
8
- "stablishments": "stablishments",
9
- "Loading": "Loading",
10
4
  "Today": "Today",
11
- "Filters": "Filters",
12
- "Search": "Search",
13
- "Property Manager": "Property Manager",
14
- "Zones": "Zones",
15
- "Properties": "Properties",
16
- "Categories": "Categories",
17
- "Clear filters": "Clear filters",
18
5
  "monday": "monday",
19
6
  "tuesday": "tuesday",
20
7
  "wednesday": "wednesday",
@@ -34,162 +21,5 @@ const spanish = {
34
21
  "october": "october",
35
22
  "november": "november",
36
23
  "december": "december",
37
- "days": "days",
38
- "Reload": "Reload",
39
- "Reload properties": "Reload properties",
40
- "Reload prices": "Reload prices",
41
- "Competitors": "Competitors",
42
- "Quick view": "Quick view",
43
- "View KPIs": "View KPIs",
44
- "Recommended price": "Recommended price",
45
- "Minimal price": "Minimal price",
46
- "Base price": "Base price",
47
- "PMS price": "PMS price",
48
- "Change by quantity": "Change by quantity",
49
- "Change by percentage": "Change by percentage",
50
- "Competitors price": "Competitors price",
51
- "Minimal stay": "Minimal stay",
52
- "Availability": "Availability",
53
- "Auto adjustment": "Auto adjustment",
54
- "Ajust leftout days": "Ajust leftout days",
55
- "Send prices to OTAs": "Send prices to OTAs",
56
- "Update competitors prices": "Update competitors prices",
57
- "Go back to original values": "Go back to original values",
58
- "Updating competitors prices": "Updating competitors prices",
59
- "Select price type": "Select price type",
60
- "Base": "Base",
61
- "Recommended": "Recommended",
62
- "Minimal": "Minimal",
63
- "It is the ideal price of the market": "It is the ideal price of the market",
64
- "It is the price desired by the property manager": "It is the price desired by the property manager",
65
- "It is the highest value between recommended and base price": "It is the highest value between recommended and base price",
66
- "Go back": "Go back",
67
- "Apply": "Apply",
68
- "Send": "Send",
69
- "Cancel": "Cancel",
70
- "Schedule": "Schedule",
71
- "Menu": "Menu",
72
- "Multidashboard": "Multidashboard",
73
- "Settings": "Settings",
74
- "General report": "General report",
75
- "Property resume": "Property resume",
76
- "Price settings": "Price settings",
77
- "Update competitors prices up to 1 year": "Update competitors prices up to 1 year",
78
- "Performance manager": "Performance manager",
79
- "Pickup": "Pickup",
80
- "Forecast": "Forecast",
81
- "Rate shopper": "Rate shopper",
82
- "Aspirational compset": "Aspirational compset",
83
- "Individual dashboard": "Individual dashboard",
84
- "Individual report": "Individual report",
85
- "Schedule automatic prices sends": "Schedule automatic prices sends",
86
- "Send new prices now": "Send new prices now",
87
- "Select date range": "Select date range",
88
- "Custom range": "Custom range",
89
- "Generate prices Excel file": "Generate prices Excel file",
90
- "Select channels, Mark Up and currency": "Select channels, Mark Up and currency",
91
- "Channel": "Channel",
92
- "Mark Up": "Mark Up",
93
- "MLOS": "MLOS",
94
- "Currency": "Currency",
95
- "Add channel": "Add channel",
96
- "Export to Excel": "Export to Excel",
97
- "Save settings": "Save settings",
98
- "Controls": "Controls",
99
- "General data": "General data",
100
- "Work days": "Work days",
101
- "Weekends and holydays": "Weekends and holydays",
102
- "Fixed expenses": "Fixed expenses",
103
- "Varaible expenses": "Varaible expenses",
104
- "Local currency": "Local currency",
105
- "Symbol": "Symbol",
106
- "Cleaning fee": "Cleaning fee",
107
- "Weekdays discounts": "Weekdays discounts",
108
- "Seasons discounts": "Seasons discounts",
109
- "High": "High",
110
- "Medium high": "Medium high",
111
- "Medium": "Medium",
112
- "Medium low": "Medium low",
113
- "Low": "Low",
114
- "Left out days": "Left out days",
115
- "Release": "Release",
116
- "Increase": "Increase",
117
- "Occupation rules": "Occupation rules",
118
- "Apply rules": "Apply rules",
119
- "Max OCC": "Max OCC",
120
- "Max ADR": "Max ADR",
121
- "Final autoprice": "Final autoprice",
122
- "Release (N days)": "Release (N días)",
123
- "% Occupation": "% Occupation",
124
- "% Discount": "% Discount",
125
- "Maximum": "Maximum",
126
- "Pax. Mapped": "Pax. Mapped",
127
- "Minimal occ.": "Minimal occ.",
128
- "Maxmimum occ.": "Maxmimum occ.",
129
- "Type of adjustment": "Type of adjustment",
130
- "Personalized": "Personalized",
131
- "Price per guest": "Price per guest",
132
- "Occupation": "Occupation",
133
- "Pax occupation": "Pax occupation",
134
- "Price": "Price",
135
- "Guests": "Guests",
136
- "Regular price rised by:": "Regular price rised by:",
137
- "Regular price decreased by:": "Regular price decreased by:",
138
- "PAX price": "PAX price",
139
- "Go back to Multiprice": "Go back to Multiprice",
140
- "Seasons": "Seasons",
141
- "1º Fortnight": "1º Fortnight",
142
- "2º Fortnight": "2º Fortnight",
143
- "Workdays": "Workdays",
144
- "Weekend": "Weekend",
145
- "Go back to initial price settings": "Go back to initial price settings",
146
- "Settings saved succesfully": "Settings saved succesfully",
147
- "Seasons and minimal stays saved succesfully": "Seasons and minimal stays saved succesfully",
148
- "An error has ocurred, try again later": "An error has ocurred, try again later",
149
- "All task have been succesfully achived. We are waiting to recieve data from the OTA. This task can take up to 15min.": "All task have been succesfully achived. We are waiting to recieve data from the OTA. This task can take up to 15min.",
150
- "It was no possible to send the task to update the competitors prices": "It was no possible to send the task to update the competitors prices",
151
- "Server is under mantanance, please wait until the service is brought back to you": "Server is under mantanance, please wait until the service is brought back to you",
152
- "There has been an error, please try again": "There has been an error, please try again",
153
- "prices will be sent periodically": "prices will be sent periodically",
154
- "Selected dates": "Selected dates",
155
- "Days range": "Days range",
156
- "Revenue": "Revenue",
157
- "ADR": "ADR",
158
- "Appliable days of the week": "Appliable days of the week",
159
- "Manual edition": "Manual edition",
160
- "Period": "Period",
161
- "Protect prices": "Protect prices",
162
- "Protect MLOS": "Protect MLOS",
163
- "Unprotect prices": "Unprotect prices",
164
- "Unprotect MLOS": "Unprotect MLOS",
165
- "Import prices from PMS": "Import prices from PMS",
166
- "Settings type": "Settings type",
167
- "Customized": "Customized",
168
- "Prices have been successfully sent": "Prices have been successfully sent",
169
- "There has been an error while trying to send the selected prices, please try again later": "There has been an error while trying to send the selected prices, please try again later",
170
- "Copy settings to other properties": "Copy settings to other properties",
171
- "Select the properties to which the settings will be copied": "Select the properties to which the settings will be copied",
172
- "NOTE: All the settings on the selected properties will be overwriten, previous settings in each of the will be lost": "NOTE: All the settings on the selected properties will be overwriten, previous settings in each of the will be lost",
173
- "Request import": "Request import",
174
- "Atention!": "Atention!",
175
- "You are trying to lower a price below the minimal price, this can't be done, the price will stay at the minimum": "You are trying to lower a price below the minimal price, this can't be done, the price will stay at the minimum",
176
- "Don't show this again": "Don't show this again",
177
- "Import successfully requested, this task can take up to 10 minutes": "Import successfully requested, this task can take up to 10 minutes",
178
- "Import requested have failed, please try again later": "Import requested have failed, please try again later",
179
- "Some custom changes are not protected": "Some custom changes are not protected",
180
- "There are unprotected custom changes that will be sent. Remember to protect any change in base price or minimal stay, otherwise the changes will be lost on further calculus": "There are unprotected custom changes that will be sent. Remember to protect any change in base price or minimal stay, otherwise the changes will be lost on further calculus",
181
- "Protect changes and send": "Protect changes and send",
182
- "Send changes without protecting": "Send changes without protecting",
183
- "Please define base price values before saving": "Please define base price values before saving",
184
- "Please define pax mapped before saving": "Please define pax mapped before saving",
185
- "Do you want to save your changes?": "Do you want to save your changes?",
186
- "A request will be sent to save your settings": "A request will be sent to save your settings",
187
- "Minimal price by season": "Minimal price by season",
188
- "Minimum price according to costs": "Minimum price according to costs",
189
- "Break even": "Break even",
190
- "The minimal price of a season can't be lower than the minimal price according to costs": "The minimal price of a season can't be lower than the minimal price according to costs",
191
- "Season": "Season",
192
- "Event": "Event",
193
- "Holiday": "Holiday",
194
24
  };
195
25
  exports.default = spanish;
@@ -1,20 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const spanish = {
4
- "of": "de",
5
- "Automatized": "Automatizado",
6
- "properties": "propiedades",
7
- "stablishment": "establecimiento",
8
- "stablishments": "establecimientos",
9
- "Loading": "Cargando",
10
4
  "Today": "Hoy",
11
- "Filters": "Filtros",
12
- "Search": "Buscar",
13
- "Property Manager": "Property Manager",
14
- "Zones": "Zonas",
15
- "Properties": "Propiedades",
16
- "Categories": "Categorías",
17
- "Clear filters": "Quitar filtros",
18
5
  "monday": "lunes",
19
6
  "tuesday": "martes",
20
7
  "wednesday": "miércoles",
@@ -34,162 +21,5 @@ const spanish = {
34
21
  "october": "octubre",
35
22
  "november": "noviembre",
36
23
  "december": "diciembre",
37
- "days": "días",
38
- "Reload": "Recargar",
39
- "Reload properties": "Recargar propiedades",
40
- "Reload prices": "Recargar precios",
41
- "Competitors": "Competidores",
42
- "Quick view": "Visualización rapida",
43
- "View KPIs": "Ver KPIs",
44
- "Recommended price": "Precio recomendado",
45
- "Minimal price": "Precio Mínimo",
46
- "Base price": "Precio Base",
47
- "PMS price": "Precio PMS",
48
- "Change by quantity": "Modificación por enteros",
49
- "Change by percentage": "Modificación porcentual",
50
- "Competitors price": "Precio Competidores",
51
- "Minimal stay": "Estancia Mínima",
52
- "Availability": "Disponibilidad",
53
- "Auto adjustment": "Ajuste autómatico",
54
- "Ajust leftout days": "Regular días huérfanos",
55
- "Send prices to OTAs": "Enviar precios a OTAs",
56
- "Update competitors prices": "Actualizar precios de competidores",
57
- "Go back to original values": "Volver a valores de origen",
58
- "Updating competitors prices": "Actualizando precios de competidores",
59
- "Select price type": "Seleccione tipo de precio",
60
- "Base": "Base",
61
- "Recommended": "Recomendado",
62
- "Minimal": "Mínimo",
63
- "It is the ideal price of the market": "Es el precio más idoneo segun el mercado",
64
- "It is the price desired by the property manager": "Es el precio que el property manager desea recibir",
65
- "It is the highest value between recommended and base price": "Es el precio más alto entre el base y el recomendado",
66
- "Go back": "Volver",
67
- "Apply": "Aplicar",
68
- "Send": "Enviar",
69
- "Cancel": "Cancelar",
70
- "Schedule": "Programar",
71
- "Menu": "Menú",
72
- "Multidashboard": "Multidashboard",
73
- "Settings": "Configuración",
74
- "General report": "Reporte general",
75
- "Property resume": "Ficha de la propiedad",
76
- "Price settings": "Configuración de precios",
77
- "Update competitors prices up to 1 year": "Actualizar precio de competidores a 1 año",
78
- "Performance manager": "Gestor de rendimientos",
79
- "Pickup": "Pickup",
80
- "Forecast": "Forecast",
81
- "Rate shopper": "Rate shopper",
82
- "Aspirational compset": "Compset aspiracional",
83
- "Individual dashboard": "Dashboard individual",
84
- "Individual report": "Reporte individual",
85
- "Schedule automatic prices sends": "Programar envio de precios automatizados",
86
- "Send new prices now": "Enviar nuevos precios ahora",
87
- "Select date range": "Seleccione rango de fechas",
88
- "Custom range": "Rango personalizado",
89
- "Generate prices Excel file": "Generar Excel de precios",
90
- "Select channels, Mark Up and currency": "Selccione canales, Mark Up y moneda",
91
- "Channel": "Canal",
92
- "Mark Up": "Mark Up",
93
- "MLOS": "MLOS",
94
- "Currency": "Moneda",
95
- "Add channel": "Agregar canal",
96
- "Export to Excel": "Exportar a excel",
97
- "Save settings": "Guardar ajustes",
98
- "Controls": "Controles",
99
- "General data": "Datos generales",
100
- "Work days": "Días laborables",
101
- "Weekends and holydays": "Fin de semana y días festivos",
102
- "Fixed expenses": "Costes fijos",
103
- "Varaible expenses": "Costes variables",
104
- "Local currency": "Divisa",
105
- "Symbol": "Símbolo",
106
- "Cleaning fee": "Tasa de limpieza",
107
- "Weekdays discounts": "Descuentos por días de la semana",
108
- "Seasons discounts": "Descuentos por temporada",
109
- "High": "Alta",
110
- "Medium high": "Media alta",
111
- "Medium": "Media",
112
- "Medium low": "Media baja",
113
- "Low": "Baja",
114
- "Left out days": "Días huérfanos",
115
- "Release": "Release",
116
- "Increase": "Incremento",
117
- "Occupation rules": "Reglas de ocupación",
118
- "Apply rules": "Aplicar reglas",
119
- "Max OCC": "Max OCC",
120
- "Max ADR": "Max ADR",
121
- "Final autoprice": "Autoprecio final",
122
- "Release (N days)": "Release (N días)",
123
- "% Occupation": "% Ocupación",
124
- "% Discount": "% Descuento",
125
- "Maximum": "Máxima",
126
- "Pax. Mapped": "Pax. Mapeado",
127
- "Minimal occ.": "Ocup. Mínima",
128
- "Maxmimum occ.": "Ocup. Máxima",
129
- "Type of adjustment": "Tipo de ajuste",
130
- "Personalized": "Personalizado",
131
- "Price per guest": "Precio por huésped",
132
- "Occupation": "Ocupación",
133
- "Pax occupation": "Pax ocupación",
134
- "Price": "Precio",
135
- "Guests": "Personas",
136
- "Regular price rised by:": "Precio habitual aumentado en:",
137
- "Regular price decreased by:": "Precio habitual reducido en:",
138
- "PAX price": "Precio según PAX",
139
- "Go back to Multiprice": "Regresar a multiprice",
140
- "Seasons": "Temporadas",
141
- "1º Fortnight": "1º Quincena",
142
- "2º Fortnight": "2º Quincena",
143
- "Workdays": "Laborales",
144
- "Weekend": "Fin de semana",
145
- "Go back to initial price settings": "Volver a ajuste de tarifa inicial",
146
- "Settings saved succesfully": "Ajustes guardados exitosamente",
147
- "Seasons and minimal stays saved succesfully": "Temporadas y minimos de estancia guardados exitosamente",
148
- "An error has ocurred, try again later": "Ocurrió un error, vuelva a intentar más tarde",
149
- "All task have been succesfully achived. We are waiting to recieve data from the OTA. This task can take up to 15min.": "Todas las tareas se han ejecutado correctamente. Estamos pendiente de recibir los datos desde la OTA. Esta operación puede tardar 15min.",
150
- "It was no possible to send the task to update the competitors prices": "No fue posible enviar la solicitud para actualizar los precios de competidores",
151
- "Server is under mantanance, please wait until the service is brought back to you": "Estamos realizando tareas de mantenimiento. En breve, el servicio será restaurado.",
152
- "There has been an error, please try again": "Hubo un error al procesar su solicitud, por favor intente de nuevo",
153
- "prices will be sent periodically": "los precios se enviarán periodicamente",
154
- "Selected dates": "Fechas seleccionadas",
155
- "Days range": "Rango de días",
156
- "Revenue": "Revenue",
157
- "ADR": "ADR",
158
- "Appliable days of the week": "Días de la semana aplicables",
159
- "Manual edition": "Edición manual",
160
- "Period": "Periodo",
161
- "Protect prices": "Proteger precios",
162
- "Protect MLOS": "Proteger MLOS",
163
- "Unprotect prices": "Desproteger precios",
164
- "Unprotect MLOS": "Desproteger MLOS",
165
- "Import prices from PMS": "Importar precios desde PMS",
166
- "Settings type": "Tipo de ajuste",
167
- "Customized": "Personalizado",
168
- "Prices have been successfully sent": "Los precios se han enviado correctamente",
169
- "There has been an error while trying to send the selected prices, please try again later": "Sucedió un error al intentar enviar los precios, por favor intente más tarde",
170
- "Copy settings to other properties": "Copiar ajustes a otras propiedades",
171
- "Select the properties to which the settings will be copied": "Selecciones las propiedades a las que serán copiados los ajustes",
172
- "NOTE: All the settings on the selected properties will be overwriten, previous settings in each of the will be lost": "NOTA: Todos los ajustes de las propiedades seleccionadas serán sobreescritos, todos los ajustes previos serán eliminados",
173
- "Request import": "Solicitar importación",
174
- "Atention!": "Atención!",
175
- "You are trying to lower a price below the minimal price, this can't be done, the price will stay at the minimum": "Esta intentando reducir el precio por debajo del precio mínimo, esto no es posible, el precio permanecerá en el valor mínimo",
176
- "Don't show this again": "No mostrar esto de nuevo",
177
- "Import successfully requested, this task can take up to 10 minutes": "Importación solicitada con éxito, está tarea puede tardar hasta 10 minutos",
178
- "Import requested have failed, please try again later": "La solicitud de importación ha fallado, por favor intente más tarde",
179
- "Some custom changes are not protected": "Algunos cambios personalizados no están protegidos",
180
- "There are unprotected custom changes that will be sent. Remember to protect any change in base price or minimal stay, otherwise the changes will be lost on further calculus": "Hay cambios personalizados desprotegidos que serán enviados. Recuerde proteger cualquier cambio en precio base o estancia mínima, de lo contrario los cambios se perderán en cálculos posteriores",
181
- "Protect changes and send": "Proteger cambios y enviar",
182
- "Send changes without protecting": "Enviar sin proteger",
183
- "Please define base price values before saving": "Por favor defina el precio base antes de guardar",
184
- "Please define pax mapped before saving": "Por favor defina el pax. mapeado antes de guardar",
185
- "Do you want to save your changes?": "¿Esta seguro que desea guardar sus cambios?",
186
- "A request will be sent to save your settings": "Se enviará una solicitud para que los ajustes sean guardados",
187
- "Minimal price by season": "Precio mínimo por temporada",
188
- "Minimum price according to costs": "Precio mínimo según costes",
189
- "Break even": "Punto crítico",
190
- "The minimal price of a season can't be lower than the minimal price according to costs": "El precio mínimo de una temporada no puede ser menor al precio mínimo según costes",
191
- "Season": "Temporada",
192
- "Event": "Evento",
193
- "Holiday": "Festivo",
194
24
  };
195
25
  exports.default = spanish;