@roomstay/frontend 2.6.83 → 2.6.85

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 (75) hide show
  1. package/dist/151.bundle.js +1 -0
  2. package/dist/177.bundle.js +1 -0
  3. package/dist/279.bundle.js +1 -0
  4. package/dist/288.bundle.js +1 -0
  5. package/dist/370.bundle.js +1 -0
  6. package/dist/375.bundle.js +1 -0
  7. package/dist/430.bundle.js +1 -0
  8. package/dist/439.bundle.js +1 -0
  9. package/dist/446.bundle.js +1 -0
  10. package/dist/449.bundle.js +1 -0
  11. package/dist/535.bundle.js +2 -0
  12. package/dist/535.bundle.js.LICENSE.txt +30 -0
  13. package/dist/537.bundle.js +1 -0
  14. package/dist/619.bundle.js +1 -0
  15. package/dist/625.bundle.js +1 -0
  16. package/dist/686.bundle.js +1 -0
  17. package/dist/873.bundle.js +1 -0
  18. package/dist/972.bundle.js +1 -0
  19. package/dist/978.bundle.js +1 -0
  20. package/dist/984.bundle.js +1 -0
  21. package/dist/main.bundle.js +1 -0
  22. package/dist/src/api/AvailabilityAPI.d.ts +16 -1
  23. package/dist/src/api/AvailabilityAPI.js +69 -4
  24. package/dist/src/api/AvailabilityAPI.js.map +1 -1
  25. package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js +1 -0
  26. package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js.map +1 -1
  27. package/dist/src/components/steps/room/AvailableUpgradesModal.js +96 -28
  28. package/dist/src/components/steps/room/AvailableUpgradesModal.js.map +1 -1
  29. package/dist/src/components/steps/room/LargeRateCard.d.ts +10 -0
  30. package/dist/src/components/steps/room/LargeRateCard.js +120 -0
  31. package/dist/src/components/steps/room/LargeRateCard.js.map +1 -0
  32. package/dist/src/components/steps/room/LargeRoomCard.js +9 -3
  33. package/dist/src/components/steps/room/LargeRoomCard.js.map +1 -1
  34. package/dist/src/contexts/BasketContext/BasketContextType.d.ts +1 -2
  35. package/dist/src/contexts/BasketContext/BasketContextType.js.map +1 -1
  36. package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js +2 -0
  37. package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js.map +1 -1
  38. package/dist/src/hooks/AutoFocusOnSelect.d.ts +23 -1
  39. package/dist/src/hooks/AutoFocusOnSelect.js +3 -3
  40. package/dist/src/hooks/AutoFocusOnSelect.js.map +1 -1
  41. package/dist/src/models/Api/HotelDTO.d.ts +2 -0
  42. package/dist/src/models/Api/HotelDTO.js.map +1 -1
  43. package/dist/src/models/Api/IEventReservation.d.ts +5 -0
  44. package/dist/src/models/Api/IEventReservation.js.map +1 -1
  45. package/dist/src/models/Client/Hotel/Company.d.ts +2 -0
  46. package/dist/src/models/Client/Hotel/Company.js.map +1 -1
  47. package/dist/src/models/Client/Hotel/Hotel.d.ts +2 -0
  48. package/dist/src/models/Client/Hotel/Hotel.js.map +1 -1
  49. package/dist/src/models/Room/RoomRate.d.ts +5 -1
  50. package/dist/src/models/Room/RoomRate.js +5 -1
  51. package/dist/src/models/Room/RoomRate.js.map +1 -1
  52. package/dist/src/pages/steps/StepThanks/StepThanksComponent.js +5 -0
  53. package/dist/src/pages/steps/StepThanks/StepThanksComponent.js.map +1 -1
  54. package/dist/src/providers/feature/RoomUpsellFeature.d.ts +10 -0
  55. package/dist/src/providers/feature/RoomUpsellFeature.js +10 -0
  56. package/dist/src/providers/feature/RoomUpsellFeature.js.map +1 -1
  57. package/dist/src/translations/Translation.d.ts +7 -0
  58. package/dist/src/translations/Translation.js +7 -0
  59. package/dist/src/translations/Translation.js.map +1 -1
  60. package/dist/src/translations/languages/en-gb.js +7 -0
  61. package/dist/src/translations/languages/en-gb.js.map +1 -1
  62. package/dist/src/util/Analytics/Analytics.d.ts +2 -0
  63. package/dist/src/util/Analytics/Analytics.js +4 -0
  64. package/dist/src/util/Analytics/Analytics.js.map +1 -1
  65. package/dist/src/util/Analytics/GoogleAnalytics4.js +4 -4
  66. package/dist/src/util/Analytics/GoogleAnalytics4.js.map +1 -1
  67. package/dist/src/util/Analytics/UniversalAnalytics.js +1 -1
  68. package/dist/src/util/Analytics/UniversalAnalytics.js.map +1 -1
  69. package/dist/src/util/DataLayer.d.ts +1 -0
  70. package/dist/src/util/DataLayer.js +10 -4
  71. package/dist/src/util/DataLayer.js.map +1 -1
  72. package/dist/test.bundle.js +1 -0
  73. package/dist/vendors.bundle.js +2 -0
  74. package/dist/vendors.bundle.js.LICENSE.txt +114 -0
  75. package/package.json +6 -3
@@ -0,0 +1,114 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ Copyright (c) 2018 Jed Watson.
9
+ Licensed under the MIT License (MIT), see
10
+ http://jedwatson.github.io/classnames
11
+ */
12
+
13
+ /*!
14
+ * decimal.js v10.4.3
15
+ * An arbitrary-precision Decimal type for JavaScript.
16
+ * https://github.com/MikeMcl/decimal.js
17
+ * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
18
+ * MIT Licence
19
+ */
20
+
21
+ /*!
22
+ * focus-trap 6.9.4
23
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
24
+ */
25
+
26
+ /*! *****************************************************************************
27
+ Copyright (c) Microsoft Corporation.
28
+
29
+ Permission to use, copy, modify, and/or distribute this software for any
30
+ purpose with or without fee is hereby granted.
31
+
32
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
33
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
34
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
35
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
36
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
37
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
38
+ PERFORMANCE OF THIS SOFTWARE.
39
+ ***************************************************************************** */
40
+
41
+ /*! For license information please see index.js.LICENSE.txt */
42
+
43
+ /*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */
44
+
45
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
46
+
47
+ /**
48
+ * @license
49
+ * Lodash <https://lodash.com/>
50
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
51
+ * Released under MIT license <https://lodash.com/license>
52
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
53
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
54
+ */
55
+
56
+ /**
57
+ * @remix-run/router v1.21.0
58
+ *
59
+ * Copyright (c) Remix Software Inc.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE.md file in the root directory of this source tree.
63
+ *
64
+ * @license MIT
65
+ */
66
+
67
+ /**
68
+ * React Router DOM v6.28.1
69
+ *
70
+ * Copyright (c) Remix Software Inc.
71
+ *
72
+ * This source code is licensed under the MIT license found in the
73
+ * LICENSE.md file in the root directory of this source tree.
74
+ *
75
+ * @license MIT
76
+ */
77
+
78
+ /**
79
+ * React Router v6.28.1
80
+ *
81
+ * Copyright (c) Remix Software Inc.
82
+ *
83
+ * This source code is licensed under the MIT license found in the
84
+ * LICENSE.md file in the root directory of this source tree.
85
+ *
86
+ * @license MIT
87
+ */
88
+
89
+ /** @license React v0.19.1
90
+ * scheduler.production.min.js
91
+ *
92
+ * Copyright (c) Facebook, Inc. and its affiliates.
93
+ *
94
+ * This source code is licensed under the MIT license found in the
95
+ * LICENSE file in the root directory of this source tree.
96
+ */
97
+
98
+ /** @license React v16.14.0
99
+ * react-dom.production.min.js
100
+ *
101
+ * Copyright (c) Facebook, Inc. and its affiliates.
102
+ *
103
+ * This source code is licensed under the MIT license found in the
104
+ * LICENSE file in the root directory of this source tree.
105
+ */
106
+
107
+ /** @license React v16.14.0
108
+ * react.production.min.js
109
+ *
110
+ * Copyright (c) Facebook, Inc. and its affiliates.
111
+ *
112
+ * This source code is licensed under the MIT license found in the
113
+ * LICENSE file in the root directory of this source tree.
114
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomstay/frontend",
3
- "version": "2.6.83",
3
+ "version": "2.6.85",
4
4
  "author": {
5
5
  "name": "Roomstay",
6
6
  "email": "rob@roomstay.io",
@@ -11,6 +11,9 @@
11
11
  "files": [
12
12
  "dist/**/*"
13
13
  ],
14
+ "engines": {
15
+ "node": ">=20"
16
+ },
14
17
  "dependencies": {
15
18
  "@adyen/adyen-web": "^6.8.0",
16
19
  "@aws-amplify/auth": "^4.5.10",
@@ -19,7 +22,7 @@
19
22
  "@planpay/web": "^1.1.2",
20
23
  "@popperjs/core": "^2.11.6",
21
24
  "@react-spring/web": "^9.4.4",
22
- "@roomstay/core": "^0.1.62",
25
+ "@roomstay/core": "^0.1.65",
23
26
  "@roomstay/ui": "^0.0.14",
24
27
  "@sentry/browser": "^5.21.0",
25
28
  "@sentry/types": "^5.26.0",
@@ -157,7 +160,7 @@
157
160
  "eslint-plugin-react-hooks": "^4.4.0",
158
161
  "eslint-plugin-simple-import-sort": "^10.0.0",
159
162
  "eslint-plugin-storybook": "^0.6.8",
160
- "fork-ts-checker-webpack-plugin": "^4.1.6",
163
+ "fork-ts-checker-webpack-plugin": "^9.1.0",
161
164
  "html-loader": "^0.5.5",
162
165
  "html-webpack-plugin": "^5.5.0",
163
166
  "inspectpack": "^4.7.1",