@timum/booking 1.5.7 → 1.6.1

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 (71) hide show
  1. package/README.md +43 -43
  2. package/build/booking.js +70219 -7
  3. package/build/booking.umd.cjs +155 -155
  4. package/build/component/android-chrome-144x144.png +0 -0
  5. package/build/component/android-chrome-192x192.png +0 -0
  6. package/build/component/android-chrome-36x36.png +0 -0
  7. package/build/component/android-chrome-48x48.png +0 -0
  8. package/build/component/android-chrome-72x72.png +0 -0
  9. package/build/component/android-chrome-96x96.png +0 -0
  10. package/build/component/apple-touch-icon-114x114.png +0 -0
  11. package/build/component/apple-touch-icon-120x120.png +0 -0
  12. package/build/component/apple-touch-icon-144x144.png +0 -0
  13. package/build/component/apple-touch-icon-152x152.png +0 -0
  14. package/build/component/apple-touch-icon-180x180.png +0 -0
  15. package/build/component/apple-touch-icon-57x57.png +0 -0
  16. package/build/component/apple-touch-icon-60x60.png +0 -0
  17. package/build/component/apple-touch-icon-72x72.png +0 -0
  18. package/build/component/apple-touch-icon-76x76.png +0 -0
  19. package/build/component/apple-touch-icon-precomposed.png +0 -0
  20. package/build/component/apple-touch-icon.png +0 -0
  21. package/build/{index-b9c2cdb7.js → component/booking.js} +44005 -46441
  22. package/build/component/booking.umd.cjs +1454 -0
  23. package/build/component/browserconfig.xml +12 -0
  24. package/build/component/favicon-16x16.png +0 -0
  25. package/build/component/favicon-194x194.png +0 -0
  26. package/build/component/favicon-32x32.png +0 -0
  27. package/build/component/favicon-96x96.png +0 -0
  28. package/build/component/favicon.ico +0 -0
  29. package/build/component/logo192.png +0 -0
  30. package/build/component/logo512.png +0 -0
  31. package/build/component/manifest.json +46 -0
  32. package/build/component/mstile-144x144.png +0 -0
  33. package/build/component/mstile-150x150.png +0 -0
  34. package/build/component/mstile-310x150.png +0 -0
  35. package/build/component/mstile-310x310.png +0 -0
  36. package/build/component/mstile-70x70.png +0 -0
  37. package/build/component/robots.txt +3 -0
  38. package/build/component/timum-bg-large.png +0 -0
  39. package/build/component/timum-logo-bright.svg +63 -0
  40. package/build/component/timum-logo-white.svg +63 -0
  41. package/package.json +183 -173
  42. package/.eslintignore +0 -5
  43. package/.eslintrc +0 -30
  44. package/build/index-0a337bef.js +0 -6
  45. package/build/index-1733a1c8.js +0 -6
  46. package/build/index-27164277.js +0 -6
  47. package/build/index-2fca1232.js +0 -6
  48. package/build/index-61fde8ed.js +0 -6
  49. package/build/index-8c21f0a7.js +0 -45
  50. package/build/index-92a9e1b3.js +0 -6
  51. package/build/index-97b5a47c.js +0 -45
  52. package/build/index-ab4ea2aa.js +0 -6
  53. package/build/index-b70f40ff.js +0 -6
  54. package/build/mockServiceWorker.js +0 -303
  55. package/examples/callbacks.htm +0 -16
  56. package/examples/docuExample.htm +0 -113
  57. package/examples/fields.htm +0 -16
  58. package/examples/fullExample.htm +0 -533
  59. package/examples/list-view.htm +0 -16
  60. package/examples/local-language.htm +0 -16
  61. package/examples/local-preset.htm +0 -17
  62. package/examples/local-strings.htm +0 -16
  63. package/examples/multiple.htm +0 -153
  64. package/examples/selectable-product.htm +0 -16
  65. package/examples/usingChannelId.htm +0 -17
  66. package/examples/usingChannelKeyAndResourceRef.htm +0 -17
  67. package/examples/usingFullCalendar.htm +0 -17
  68. package/public/mockServiceWorker.js +0 -303
  69. package/remTags.bat +0 -14
  70. package/vite.config.js +0 -34
  71. package/yarn-error.log +0 -16276
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square70x70logo src="/public/mstile-70x70.png"/>
6
+ <square150x150logo src="/public/mstile-150x150.png"/>
7
+ <square310x310logo src="/public/mstile-310x310.png"/>
8
+ <wide310x150logo src="/public/mstile-310x150.png"/>
9
+ <TileColor>#2b5797</TileColor>
10
+ </tile>
11
+ </msapplication>
12
+ </browserconfig>
Binary file
Binary file
Binary file
@@ -0,0 +1,46 @@
1
+ {
2
+ "short_name": "Timum for Flowfact",
3
+ "name": "Flowfact Widget to organize timum appointments",
4
+ "icons": [
5
+ {
6
+ "src": "android-chrome-36x36.png",
7
+ "sizes": "36x36",
8
+ "type": "image/png",
9
+ "density": "0.75"
10
+ },
11
+ {
12
+ "src": "android-chrome-48x48.png",
13
+ "sizes": "48x48",
14
+ "type": "image/png",
15
+ "density": "1.0"
16
+ },
17
+ {
18
+ "src": "android-chrome-72x72.png",
19
+ "sizes": "72x72",
20
+ "type": "image/png",
21
+ "density": "1.5"
22
+ },
23
+ {
24
+ "src": "android-chrome-96x96.png",
25
+ "sizes": "96x96",
26
+ "type": "image/png",
27
+ "density": "2.0"
28
+ },
29
+ {
30
+ "src": "android-chrome-144x144.png",
31
+ "sizes": "144x144",
32
+ "type": "image/png",
33
+ "density": "3.0"
34
+ },
35
+ {
36
+ "src": "android-chrome-192x192.png",
37
+ "sizes": "192x192",
38
+ "type": "image/png",
39
+ "density": "4.0"
40
+ }
41
+ ],
42
+ "background_color":"#FFFFFF",
43
+ "theme_color":"#555555",
44
+ "start_url": ".",
45
+ "display": "standalone"
46
+ }
Binary file
@@ -0,0 +1,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="880.455px" height="241.488px" viewBox="0 0 880.455 241.488" enable-background="new 0 0 880.455 241.488"
6
+ xml:space="preserve">
7
+ <g>
8
+ <g>
9
+ <g>
10
+ <rect x="640.548" y="156.704" fill="#EEEEEE" width="40.839" height="61.295"/>
11
+ <path fill="#EEEEEE" d="M859.716,88.39c-3.814-8.761-9.576-15.403-17.292-19.926c-7.708-4.523-17.144-6.787-28.279-6.787
12
+ c-8.764,0-17.001,2-24.717,6c-7.714,4-16.104,10.049-22.773,18.143c-4.57-8.094-9.225-14.143-16.366-18.143s-15.572-6-25.283-6
13
+ c-18.285,0-30.358,8.393-43.593,24.486V65.709h-40.863v72.844h40.358c0.203-12.199,0.96-23.7,2.873-29.308
14
+ c2.145-6.285,5.69-11.093,10.641-14.429c4.949-3.331,10.522-5,16.717-5c4.967,0,10.231,3.032,12.181,5.533l64.18-0.038
15
+ c3.874-1.967,8.148-4.736,14.781-4.736c7.715,0,14.233,4.295,17.289,10.385c2.635,5.252,2.772,14.097,2.772,29.144v60.746h41.088
16
+ v-71.032C863.428,105.342,862.475,94.868,859.716,88.39z"/>
17
+ </g>
18
+ <rect x="822.456" y="208.993" fill="#EEEEEE" width="40.972" height="9.054"/>
19
+ <path fill="#EEEEEE" d="M732.258,202.133H772.4v-58.176c0-13.686,1.019-23.814,3.031-30.464h-43.882
20
+ c0.466,5.021,0.709,11.71,0.709,20.18V202.133z"/>
21
+ </g>
22
+ <g>
23
+ <polygon fill="#EEEEEE" points="72.01,49.821 72.01,13.257 30.925,36.685 30.925,49.821 "/>
24
+ <g>
25
+ <polygon fill="#EEEEEE" points="31.204,156.598 71.915,156.598 71.915,95.192 101.494,95.192 101.494,65.689 13.034,65.689
26
+ 13.034,95.28 31.204,95.28 "/>
27
+ <path fill="#EEEEEE" d="M99.863,188.727c-6.819,3.602-10.495,5.022-14.21,5.022c-2.667,0-7.427,0.065-9.283-1.271
28
+ c-1.857-1.332-3.305-4.022-3.827-6.071c-0.256-0.998-0.4-8.138-0.531-11.597l-41.428,0.15c0.164,8.758,0.562,13.68,1.2,17.153
29
+ c1.048,6.569,2.929,12.967,5.643,16.825c2.715,3.856,6.976,6.998,12.785,9.426c5.808,2.428,12.333,3.986,19.572,3.986
30
+ c11.808,0,24.524-0.973,33.857-4.969L99.863,188.727z"/>
31
+ </g>
32
+ </g>
33
+ <g>
34
+ <rect x="467.586" y="79.342" fill="#EEEEEE" width="40.917" height="36.472"/>
35
+ <g>
36
+ <path fill="#EEEEEE" d="M542.095,190.802c-2.031,0.38-7.578,1.854-9.752,1.854c-6.005,0-10.956-1.403-14.857-4.213
37
+ c-3.909-2.807-6.596-6.617-8.075-11.43c-1.476-4.807-0.817-19.144-0.817-40.478v-2.58h-41.178v28.864
38
+ c0,14.289,1.255,26.246,4.88,34.339c3.616,8.097,9.474,14.383,17.566,18.854c8.097,4.478,17.238,6.715,27.429,6.715
39
+ c10.237,0,19.393-3.812,28.051-9.084c8.847-5.396,11.463-10.139,17.715-17.908v22.285l41.071-0.006v-27.215L542.095,190.802
40
+ L542.095,190.802z"/>
41
+ <path fill="#EEEEEE" d="M604.125,172.66V79.342h-40.832v51.48c0,21.713-0.995,35.354-2.996,40.929
42
+ c-0.113,0.313-0.373,0.601-0.498,0.908L604.125,172.66L604.125,172.66z"/>
43
+ </g>
44
+ </g>
45
+ <g>
46
+ <path fill="#EEEEEE" d="M203.935,113.52v105.013h40.744v-73.71c0-14.459,0.713-25.001,2.824-31.303H203.935z"/>
47
+ <g>
48
+ <rect x="294.841" y="174.811" fill="#EEEEEE" width="40.74" height="43.723"/>
49
+ <path fill="#EEEEEE" d="M423.185,90.111c-3.81-8.761-9.354-17.549-17.064-22.074c-7.714-4.523-17.143-6.786-28.284-6.786
50
+ c-8.764,0-17,2-24.714,5.999c-7.716,4-15.128,9.616-21.791,17.711c-4.571-8.095-10.171-13.71-17.313-17.711
51
+ c-7.143-4-15.57-5.999-25.284-5.999c-18.285,0-30.864,10.194-44.102,26.289V74.998h-40.61v20.299l55.389,0.016
52
+ c2.983-1.611,7.786-4.389,13.168-4.548c7.363-0.218,12.61,2.232,15.442,4.548c3.602,2.941,4.927,6.921,5.74,11.513
53
+ c0.788,4.449,1.199,13.811,1.199,28.568v21.264h41.086V145.68c0-14.281-0.427-28.648,1.767-35.269
54
+ c2.189-6.618,5.761-11.643,10.714-15.071c4.951-3.429,10.235-4.8,15.855-4.8c7.714,0,14.477,4.365,18.19,10.078
55
+ c2.76,4.382,3.223,16.029,3.223,31.075v70.311l41.018,0.13v-80.596C426.812,107.063,425.945,96.588,423.185,90.111z"/>
56
+ </g>
57
+ </g>
58
+ <g>
59
+ <rect x="126.599" y="15.729" fill="#EEEEEE" width="40.911" height="29.37"/>
60
+ <rect x="126.599" y="65.796" fill="#EEEEEE" width="40.911" height="136.337"/>
61
+ </g>
62
+ </g>
63
+ </svg>
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ width="880.455px" height="241.488px" viewBox="0 0 880.455 241.488" enable-background="new 0 0 880.455 241.488"
6
+ xml:space="preserve">
7
+ <g>
8
+ <g>
9
+ <g>
10
+ <rect x="640.548" y="156.704" fill="#FFFFFF" width="40.839" height="61.295"/>
11
+ <path fill="#FFFFFF" d="M859.716,88.39c-3.814-8.761-9.576-15.403-17.292-19.926c-7.708-4.523-17.144-6.787-28.279-6.787
12
+ c-8.764,0-17.001,2-24.717,6c-7.714,4-16.104,10.049-22.773,18.143c-4.57-8.094-9.225-14.143-16.366-18.143s-15.572-6-25.283-6
13
+ c-18.285,0-30.358,8.393-43.593,24.486V65.709h-40.863v72.844h40.358c0.203-12.199,0.96-23.7,2.873-29.308
14
+ c2.145-6.285,5.69-11.093,10.641-14.429c4.949-3.331,10.522-5,16.717-5c4.967,0,10.231,3.032,12.181,5.533l64.18-0.038
15
+ c3.874-1.967,8.148-4.736,14.781-4.736c7.715,0,14.233,4.295,17.289,10.385c2.635,5.252,2.772,14.097,2.772,29.144v60.746h41.088
16
+ v-71.032C863.428,105.342,862.475,94.868,859.716,88.39z"/>
17
+ </g>
18
+ <rect x="822.456" y="208.993" fill="#FFFFFF" width="40.972" height="9.054"/>
19
+ <path fill="#FFFFFF" d="M732.258,202.133H772.4v-58.176c0-13.686,1.019-23.814,3.031-30.464h-43.882
20
+ c0.466,5.021,0.709,11.71,0.709,20.18V202.133z"/>
21
+ </g>
22
+ <g>
23
+ <polygon fill="#FFFFFF" points="72.01,49.821 72.01,13.257 30.925,36.685 30.925,49.821 "/>
24
+ <g>
25
+ <polygon fill="#FFFFFF" points="31.204,156.598 71.915,156.598 71.915,95.192 101.494,95.192 101.494,65.689 13.034,65.689
26
+ 13.034,95.28 31.204,95.28 "/>
27
+ <path fill="#FFFFFF" d="M99.863,188.727c-6.819,3.602-10.495,5.022-14.21,5.022c-2.667,0-7.427,0.065-9.283-1.271
28
+ c-1.857-1.332-3.305-4.022-3.827-6.071c-0.256-0.998-0.4-8.138-0.531-11.597l-41.428,0.15c0.164,8.758,0.562,13.68,1.2,17.153
29
+ c1.048,6.569,2.929,12.967,5.643,16.825c2.715,3.856,6.976,6.998,12.785,9.426c5.808,2.428,12.333,3.986,19.572,3.986
30
+ c11.808,0,24.524-0.973,33.857-4.969L99.863,188.727z"/>
31
+ </g>
32
+ </g>
33
+ <g>
34
+ <rect x="467.586" y="79.342" fill="#FFFFFF" width="40.917" height="36.472"/>
35
+ <g>
36
+ <path fill="#FFFFFF" d="M542.095,190.802c-2.031,0.38-7.578,1.854-9.752,1.854c-6.005,0-10.956-1.403-14.857-4.213
37
+ c-3.909-2.807-6.596-6.617-8.075-11.43c-1.476-4.807-0.817-19.144-0.817-40.478v-2.58h-41.178v28.864
38
+ c0,14.289,1.255,26.246,4.88,34.339c3.616,8.097,9.474,14.383,17.566,18.854c8.097,4.478,17.238,6.715,27.429,6.715
39
+ c10.237,0,19.393-3.812,28.051-9.084c8.847-5.396,11.463-10.139,17.715-17.908v22.285l41.071-0.006v-27.215L542.095,190.802
40
+ L542.095,190.802z"/>
41
+ <path fill="#FFFFFF" d="M604.125,172.66V79.342h-40.832v51.48c0,21.713-0.995,35.354-2.996,40.929
42
+ c-0.113,0.313-0.373,0.601-0.498,0.908L604.125,172.66L604.125,172.66z"/>
43
+ </g>
44
+ </g>
45
+ <g>
46
+ <path fill="#FFFFFF" d="M203.935,113.52v105.013h40.744v-73.71c0-14.459,0.713-25.001,2.824-31.303H203.935z"/>
47
+ <g>
48
+ <rect x="294.841" y="174.811" fill="#FFFFFF" width="40.74" height="43.723"/>
49
+ <path fill="#FFFFFF" d="M423.185,90.111c-3.81-8.761-9.354-17.549-17.064-22.074c-7.714-4.523-17.143-6.786-28.284-6.786
50
+ c-8.764,0-17,2-24.714,5.999c-7.716,4-15.128,9.616-21.791,17.711c-4.571-8.095-10.171-13.71-17.313-17.711
51
+ c-7.143-4-15.57-5.999-25.284-5.999c-18.285,0-30.864,10.194-44.102,26.289V74.998h-40.61v20.299l55.389,0.016
52
+ c2.983-1.611,7.786-4.389,13.168-4.548c7.363-0.218,12.61,2.232,15.442,4.548c3.602,2.941,4.927,6.921,5.74,11.513
53
+ c0.788,4.449,1.199,13.811,1.199,28.568v21.264h41.086V145.68c0-14.281-0.427-28.648,1.767-35.269
54
+ c2.189-6.618,5.761-11.643,10.714-15.071c4.951-3.429,10.235-4.8,15.855-4.8c7.714,0,14.477,4.365,18.19,10.078
55
+ c2.76,4.382,3.223,16.029,3.223,31.075v70.311l41.018,0.13v-80.596C426.812,107.063,425.945,96.588,423.185,90.111z"/>
56
+ </g>
57
+ </g>
58
+ <g>
59
+ <rect x="126.599" y="15.729" fill="#FFFFFF" width="40.911" height="29.37"/>
60
+ <rect x="126.599" y="65.796" fill="#FFFFFF" width="40.911" height="136.337"/>
61
+ </g>
62
+ </g>
63
+ </svg>
package/package.json CHANGED
@@ -1,173 +1,183 @@
1
- {
2
- "name": "@timum/booking",
3
- "version": "1.5.7",
4
- "next_version": "1.5.7",
5
- "current_major_version": "1",
6
- "license": "CC-BY-ND-4.0",
7
- "type": "module",
8
- "main": "build/booking.umd.cjs",
9
- "module": "build/booking.js",
10
- "exports": {
11
- ".": {
12
- "import": "./build/booking.js",
13
- "require": "./build/booking.umd.cjs"
14
- }
15
- },
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "dependencies": {
20
- "@date-io/luxon": "^2.11.1",
21
- "@fullcalendar/core": "^6.0.1",
22
- "@fullcalendar/daygrid": "^6.0.1",
23
- "@fullcalendar/list": "^6.0.1",
24
- "@fullcalendar/multimonth": "^6.1.4",
25
- "@fullcalendar/react": "^6.0.1",
26
- "@fullcalendar/timegrid": "^6.0.1",
27
- "@testing-library/jest-dom": "^5.16.4",
28
- "@testing-library/react": "^13.3.0",
29
- "@testing-library/user-event": "^13.5.0",
30
- "@timum/timum_pdk": "^2.2.0",
31
- "add-to-calendar-button": "^1.18.8",
32
- "i18next": "^21.10.0",
33
- "i18next-browser-languagedetector": "^6.1.5",
34
- "i18next-locize-backend": "^6.4.1",
35
- "locize": "^3.2.1",
36
- "lodash": "4.17.21",
37
- "luxon": "^2.3.1",
38
- "markdown-to-jsx": "^7.1.9",
39
- "mui-markdown": "^0.5.6",
40
- "mui-tel-input": "^4.0.0",
41
- "prism-react-renderer": "^1.3.5",
42
- "react-bootstrap-icons": "^1.8.4",
43
- "react-countdown": "^2.3.5",
44
- "react-router": "^5.3.3",
45
- "react-router-dom": "^5.3.3",
46
- "react-scripts": "5.0.0",
47
- "react-virtualized-auto-sizer": "^1.0.6",
48
- "react-window": "^1.8.6",
49
- "reactjs-localstorage": "^1.0.1",
50
- "uuid": "^8.3.2",
51
- "web-vitals": "^2.1.4",
52
- "yup": "^0.32.11"
53
- },
54
- "peerDependencies": {
55
- "@emotion/react": ">=11.8.2",
56
- "@emotion/styled": ">=11.8.1",
57
- "@fortawesome/fontawesome-svg-core": ">=6.1.1",
58
- "@fortawesome/free-solid-svg-icons": ">=6.1.1",
59
- "@fortawesome/react-fontawesome": ">=0.1.18",
60
- "@hookform/devtools": ">=4.2.2",
61
- "@hookform/resolvers": ">=2.9.10",
62
- "@mui/icons-material": ">=5.10.9",
63
- "@mui/lab": ">=5.0.0-alpha.100",
64
- "@mui/material": ">=5.10.9",
65
- "@mui/system": ">=5.10.9",
66
- "@reduxjs/toolkit": ">=1.9.1",
67
- "material-ui-confirm": ">=3.0.4",
68
- "notistack": ">=v3.0.0-alpha.11",
69
- "react": ">=18.2.0",
70
- "react-dom": ">=18.2.0",
71
- "react-hook-form": ">=7.33.1",
72
- "react-i18next": ">=11.18.6",
73
- "react-redux": ">=8.0.2"
74
- },
75
- "resolutions": {
76
- "jest-mock": "^28.1.0"
77
- },
78
- "scripts": {
79
- "start": "vite",
80
- "build": "vite build",
81
- "buildDev": "vite build --mode development",
82
- "serve": "vite preview",
83
- "np:preview": "np --no-cleanup --preview",
84
- "np:publish": "yarn build && np --no-cleanup",
85
- "s3:deleteCurrentVersionStage": "aws s3 rm \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_next_version%\" --recursive",
86
- "s3:deleteLatestStage": "aws s3 rm \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/\" --exclude \"*\" --include \"*.*\" --exclude \"*/*\" --recursive",
87
- "s3:publishToStage": "yarn build && yarn s3:deleteCurrentVersionStage && aws s3 sync ./build/ \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_next_version%/\" && yarn s3:deleteLatestStage && aws s3 sync ./build/ \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/\"",
88
- "s3:deleteLatestProd": "aws s3 rm \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%\" --exclude \"*\" --include \"*.*\" --exclude \"*/*\" --recursive",
89
- "s3:publishToProd": "yarn build && np --no-yarn --no-cleanup && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_version%/\" && yarn s3:deleteLatestProd && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/\"",
90
- "s3:publishToProdWithoutNP": "yarn build && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_version%/\" && yarn s3:deleteLatestProd && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/\"",
91
- "test": "echo \"No tests yet\"",
92
- "eject": "react-scripts eject",
93
- "storybook": "start-storybook -p 6006 -s public",
94
- "removeLastVersionTag": "git tag -d v%npm_package_next_version%",
95
- "build-storybook": "build-storybook -s public",
96
- "lint": "eslint .",
97
- "lint:fix": "eslint --fix ."
98
- },
99
- "eslintConfig": {
100
- "extends": [
101
- "react-app",
102
- "react-app/jest"
103
- ],
104
- "overrides": [
105
- {
106
- "files": [
107
- "**/*.stories.*"
108
- ],
109
- "rules": {
110
- "import/no-anonymous-default-export": "off"
111
- }
112
- }
113
- ]
114
- },
115
- "browserslist": {
116
- "production": [
117
- ">0.2%",
118
- "not dead",
119
- "not op_mini all"
120
- ],
121
- "development": [
122
- "last 1 chrome version",
123
- "last 1 firefox version",
124
- "last 1 safari version"
125
- ]
126
- },
127
- "devDependencies": {
128
- "@emotion/react": ">=11.8.2",
129
- "@emotion/styled": ">=11.8.1",
130
- "@faker-js/faker": "^7.5.0",
131
- "@fortawesome/fontawesome-svg-core": ">=6.1.1",
132
- "@fortawesome/free-solid-svg-icons": ">=6.1.1",
133
- "@fortawesome/react-fontawesome": ">=0.1.18",
134
- "@hookform/devtools": ">=4.2.2",
135
- "@hookform/resolvers": ">=2.9.10",
136
- "@mui/icons-material": ">=5.10.9",
137
- "@mui/lab": ">=5.0.0-alpha.100",
138
- "@mui/material": ">=5.10.9",
139
- "@mui/system": ">=5.10.9",
140
- "@reduxjs/toolkit": ">=1.9.1",
141
- "@storybook/addon-actions": "^6.5.7",
142
- "@storybook/addon-essentials": "^6.5.7",
143
- "@storybook/addon-interactions": "^6.5.7",
144
- "@storybook/addon-links": "^6.5.7",
145
- "@storybook/builder-vite": "^0.4.0",
146
- "@storybook/node-logger": "^6.5.7",
147
- "@storybook/react": "^6.5.7",
148
- "@storybook/testing-library": "^0.0.13",
149
- "@vitejs/plugin-react": "^4.2.1",
150
- "css-loader": "^6.7.1",
151
- "eslint": "^8.17.0",
152
- "eslint-config-prettier": "^8.5.0",
153
- "eslint-plugin-prettier": "^4.0.0",
154
- "eslint-plugin-react": "^7.30.0",
155
- "eslint-plugin-storybook": "^0.5.12",
156
- "material-ui-confirm": ">=3.0.4",
157
- "mini-css-extract-plugin": "^1.2.0",
158
- "msw": "^1.2.5",
159
- "msw-storybook-addon": "^1.10.0",
160
- "notistack": ">=2.0.3",
161
- "react": ">=18.0.0",
162
- "react-dom": ">=18.2.0",
163
- "react-hook-form": ">=7.33.1",
164
- "react-i18next": ">=11.18.6",
165
- "react-redux": ">=8.0.2",
166
- "rollup-plugin-sourcemaps": "^0.6.3",
167
- "vite": "^4.5.1",
168
- "vite-plugin-svgr": "^2.4.0"
169
- },
170
- "msw": {
171
- "workerDirectory": "public"
172
- }
173
- }
1
+ {
2
+ "name": "@timum/booking",
3
+ "version": "1.6.1",
4
+ "next_version": "1.6.1",
5
+ "current_major_version": "1",
6
+ "license": "CC-BY-ND-4.0",
7
+ "type": "module",
8
+ "main": "build/booking.umd.cjs",
9
+ "module": "build/booking.js",
10
+ "packageManager": "yarn@1.22.5",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./build/booking.js",
14
+ "require": "./build/booking.umd.cjs"
15
+ },
16
+ "./component": {
17
+ "import": "./build/component/booking.js",
18
+ "require": "./build/component/booking.umd.cjs"
19
+ }
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "dependencies": {
25
+ "@date-io/luxon": "^2.11.1",
26
+ "@fullcalendar/core": "^6.0.1",
27
+ "@fullcalendar/daygrid": "^6.0.1",
28
+ "@fullcalendar/list": "^6.0.1",
29
+ "@fullcalendar/multimonth": "^6.1.4",
30
+ "@fullcalendar/react": "^6.0.1",
31
+ "@fullcalendar/timegrid": "^6.0.1",
32
+ "@testing-library/jest-dom": "^5.16.4",
33
+ "@testing-library/react": "^13.3.0",
34
+ "@testing-library/user-event": "^13.5.0",
35
+ "@timum/timum_pdk": "^2.2.0",
36
+ "add-to-calendar-button": "^1.18.8",
37
+ "framer-motion": "^11.0.3",
38
+ "i18next": "^21.10.0",
39
+ "i18next-browser-languagedetector": "^6.1.5",
40
+ "i18next-locize-backend": "^6.4.1",
41
+ "locize": "^3.2.1",
42
+ "lodash": "4.17.21",
43
+ "luxon": "^2.3.1",
44
+ "markdown-to-jsx": "^7.1.9",
45
+ "mui-markdown": "^1.1.9",
46
+ "mui-tel-input": "^4.0.0",
47
+ "prism-react-renderer": "^1.3.5",
48
+ "react-bootstrap-icons": "^1.8.4",
49
+ "react-countdown": "^2.3.5",
50
+ "react-router": "^5.3.3",
51
+ "react-router-dom": "^5.3.3",
52
+ "react-scripts": "5.0.0",
53
+ "react-transition-group": "^4.4.5",
54
+ "react-virtualized-auto-sizer": "^1.0.6",
55
+ "react-window": "^1.8.10",
56
+ "reactjs-localstorage": "^1.0.1",
57
+ "use-deep-compare-effect": "^1.8.1",
58
+ "uuid": "^8.3.2",
59
+ "web-vitals": "^2.1.4",
60
+ "yup": "^0.32.11"
61
+ },
62
+ "peerDependencies": {
63
+ "@emotion/react": ">=11.8.2",
64
+ "@emotion/styled": ">=11.8.1",
65
+ "@fortawesome/fontawesome-svg-core": ">=6.1.1",
66
+ "@fortawesome/free-solid-svg-icons": ">=6.1.1",
67
+ "@fortawesome/react-fontawesome": ">=0.1.18",
68
+ "@hookform/devtools": ">=4.2.2",
69
+ "@hookform/resolvers": ">=2.9.10",
70
+ "@mui/icons-material": ">=5.10.9",
71
+ "@mui/lab": ">=5.0.0-alpha.100",
72
+ "@mui/material": ">=5.10.9",
73
+ "@mui/system": ">=5.10.9",
74
+ "@reduxjs/toolkit": ">=1.9.1",
75
+ "material-ui-confirm": ">=3.0.4",
76
+ "notistack": ">=v3.0.0-alpha.11",
77
+ "react": ">=18.2.0",
78
+ "react-dom": ">=18.2.0",
79
+ "react-hook-form": ">=7.33.1",
80
+ "react-i18next": ">=11.18.6",
81
+ "react-redux": ">=8.0.2"
82
+ },
83
+ "resolutions": {
84
+ "jest-mock": "^28.1.0"
85
+ },
86
+ "scripts": {
87
+ "start": "vite",
88
+ "build": "vite build --config vite.config.embed.js && vite build --config vite.config.component.js",
89
+ "buildDev": "vite build --config vite.config.embed.js && vite build --config vite.config.component.js && ./moveBundle.bat",
90
+ "serve": "vite preview",
91
+ "np:preview": "np --no-cleanup --preview",
92
+ "np:publish": "yarn build && np --no-cleanup",
93
+ "s3:deleteCurrentVersionStage": "aws s3 rm \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_next_version%\" --recursive",
94
+ "s3:deleteLatestStage": "aws s3 rm \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/\" --exclude \"*\" --include \"*.*\" --exclude \"*/*\" --recursive",
95
+ "s3:publishToStage": "yarn build && yarn s3:deleteCurrentVersionStage && aws s3 sync ./build/ \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_next_version%/\" && yarn s3:deleteLatestStage && aws s3 sync ./build/ \"s3://staging-cdn.timum/bookingjs/%npm_package_current_major_version%/\"",
96
+ "s3:deleteLatestProd": "aws s3 rm \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%\" --exclude \"*\" --include \"*.*\" --exclude \"*/*\" --recursive",
97
+ "s3:publishToProd": "yarn build && np --no-yarn --no-cleanup && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_version%/\" && yarn s3:deleteLatestProd && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/\"",
98
+ "s3:publishToProdWithoutNP": "yarn build && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/%npm_package_version%/\" && yarn s3:deleteLatestProd && aws s3 sync ./build/ \"s3://cdn.timum/bookingjs/%npm_package_current_major_version%/\"",
99
+ "test": "echo \"No tests yet\"",
100
+ "eject": "react-scripts eject",
101
+ "storybook": "storybook dev -p 6006",
102
+ "removeLastVersionTag": "git tag -d v%npm_package_next_version%",
103
+ "build-storybook": "storybook build",
104
+ "lint": "eslint .",
105
+ "lint:fix": "eslint --fix ."
106
+ },
107
+ "eslintConfig": {
108
+ "extends": [
109
+ "react-app",
110
+ "react-app/jest"
111
+ ],
112
+ "overrides": [
113
+ {
114
+ "files": [
115
+ "**/*.stories.*"
116
+ ],
117
+ "rules": {
118
+ "import/no-anonymous-default-export": "off"
119
+ }
120
+ }
121
+ ]
122
+ },
123
+ "browserslist": {
124
+ "production": [
125
+ ">0.2%",
126
+ "not dead",
127
+ "not op_mini all"
128
+ ],
129
+ "development": [
130
+ "last 1 chrome version",
131
+ "last 1 firefox version",
132
+ "last 1 safari version"
133
+ ]
134
+ },
135
+ "devDependencies": {
136
+ "@emotion/react": ">=11.8.2",
137
+ "@emotion/styled": ">=11.8.1",
138
+ "@faker-js/faker": "^7.5.0",
139
+ "@fortawesome/fontawesome-svg-core": ">=6.1.1",
140
+ "@fortawesome/free-solid-svg-icons": ">=6.1.1",
141
+ "@fortawesome/react-fontawesome": ">=0.1.18",
142
+ "@hookform/devtools": ">=4.2.2",
143
+ "@hookform/resolvers": ">=2.9.10",
144
+ "@mui/icons-material": ">=5.10.9",
145
+ "@mui/lab": ">=5.0.0-alpha.100",
146
+ "@mui/material": ">=5.10.9",
147
+ "@mui/system": ">=5.10.9",
148
+ "@reduxjs/toolkit": ">=1.9.1",
149
+ "@storybook/addon-actions": "^7.6.17",
150
+ "@storybook/addon-essentials": "^7.6.17",
151
+ "@storybook/addon-interactions": "^7.6.17",
152
+ "@storybook/addon-links": "^7.6.17",
153
+ "@storybook/node-logger": "^7.6.17",
154
+ "@storybook/react": "^7.6.17",
155
+ "@storybook/react-vite": "7.6.17",
156
+ "@vitejs/plugin-react": "^4.2.1",
157
+ "css-loader": "^6.7.1",
158
+ "eslint": "^8.17.0",
159
+ "eslint-config-prettier": "^8.5.0",
160
+ "eslint-plugin-prettier": "^4.0.0",
161
+ "eslint-plugin-react": "^7.30.0",
162
+ "eslint-plugin-react-hooks": "^4.6.0",
163
+ "eslint-plugin-storybook": "^0.5.12",
164
+ "material-ui-confirm": ">=3.0.4",
165
+ "mini-css-extract-plugin": "^1.2.0",
166
+ "msw": "^1.2.5",
167
+ "msw-storybook-addon": "^1.10.0",
168
+ "notistack": ">=2.0.3",
169
+ "np": "^10.0.2",
170
+ "react": ">=18.0.0",
171
+ "react-dom": ">=18.2.0",
172
+ "react-hook-form": ">=7.33.1",
173
+ "react-i18next": ">=11.18.6",
174
+ "react-redux": ">=8.0.2",
175
+ "rollup-plugin-sourcemaps": "^0.6.3",
176
+ "storybook": "7.6.17",
177
+ "vite": "^4.5.1",
178
+ "vite-plugin-svgr": "^2.4.0"
179
+ },
180
+ "msw": {
181
+ "workerDirectory": "public"
182
+ }
183
+ }
package/.eslintignore DELETED
@@ -1,5 +0,0 @@
1
- build
2
- public
3
- node_modules
4
- .vscode
5
- .git