@crystaldesign/diva-web-planner-react 26.5.0-beta.9 → 26.5.0-rc.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 (301) hide show
  1. package/build/esm/{Planner2DGrid-aefe059c.js → Planner2DGrid-3a4c8123.js} +2 -2
  2. package/build/esm/{Planner3DImage-584a5010.js → Planner3DImage-5e2ca1fd.js} +2 -2
  3. package/build/esm/UnlockCard-0e5de921.js +216 -0
  4. package/build/esm/{index-9c595ae6.js → index-00a7556d.js} +2 -2
  5. package/build/esm/{index-1c6f2723.js → index-030c899a.js} +2 -2
  6. package/build/esm/{index-03a87736.js → index-036ea415.js} +2 -2
  7. package/build/esm/{index-87aadcf4.js → index-04649c6f.js} +2 -2
  8. package/build/esm/{index-e71d2a16.js → index-083f8ddb.js} +3 -3
  9. package/build/esm/{index-f3392b24.js → index-0983769c.js} +6 -6
  10. package/build/esm/{index-fb44c1a9.js → index-09885091.js} +2 -2
  11. package/build/esm/{index-d372aea8.js → index-0a21882a.js} +6 -6
  12. package/build/esm/{index-bd7ba52b.js → index-0afb8721.js} +21 -21
  13. package/build/esm/{index-3223e5c3.js → index-0ce7666f.js} +2 -2
  14. package/build/esm/{index-cedbf151.js → index-0ff38e86.js} +2 -2
  15. package/build/esm/{index-62c9426d.js → index-1018d68b.js} +3 -3
  16. package/build/esm/{index-566ac26c.js → index-10a0aaa6.js} +2 -2
  17. package/build/esm/{index-1eaa156a.js → index-120027fc.js} +2 -2
  18. package/build/esm/{index-5fb8aeca.js → index-13953401.js} +11 -11
  19. package/build/esm/{index-b0549eeb.js → index-15392d3b.js} +2 -2
  20. package/build/esm/{index-5f4681d5.js → index-159ad959.js} +18 -18
  21. package/build/esm/{index-388444e2.js → index-183061d9.js} +3 -3
  22. package/build/esm/{index-de5e28d3.js → index-184dbd9c.js} +3 -3
  23. package/build/esm/{index-53b09faa.js → index-1f64159d.js} +4 -4
  24. package/build/esm/{index-bf99dd55.js → index-1f68bf07.js} +2 -2
  25. package/build/esm/{index-2d469a57.js → index-1feaa94e.js} +2 -2
  26. package/build/esm/{index-f53362b9.js → index-208c0fe7.js} +2 -2
  27. package/build/esm/{index-769e119f.js → index-2113347c.js} +2 -2
  28. package/build/esm/{index-20069ffe.js → index-219ec315.js} +2 -2
  29. package/build/esm/{index-c4d43896.js → index-22d0e084.js} +4 -4
  30. package/build/esm/{index-6de67722.js → index-249b0ad2.js} +3 -3
  31. package/build/esm/{index-8f1dbe1b.js → index-265b9d75.js} +3 -3
  32. package/build/esm/{index-88638f33.js → index-27d42d8d.js} +3 -3
  33. package/build/esm/{index-1eb596e8.js → index-28b2c93e.js} +2 -2
  34. package/build/esm/{index-f0407656.js → index-292f2883.js} +69 -69
  35. package/build/esm/{index-ce74bb99.js → index-2a2844a2.js} +3 -3
  36. package/build/esm/{index-68dc625a.js → index-2a630a5f.js} +1 -1
  37. package/build/esm/{index-77537d77.js → index-2af0d2bc.js} +2 -2
  38. package/build/esm/{index-cfeaaa9c.js → index-2b4f3d15.js} +7 -7
  39. package/build/esm/{index-d7041bf7.js → index-2c8a09dc.js} +73 -73
  40. package/build/esm/{index-5b9b4be5.js → index-2cb407ac.js} +2 -2
  41. package/build/esm/{index-45428431.js → index-2d88a1e3.js} +2 -2
  42. package/build/esm/{index-ea6a4215.js → index-303bef55.js} +3 -3
  43. package/build/esm/{index-7f1ccdd1.js → index-312899aa.js} +103 -103
  44. package/build/esm/{index-7b034bcb.js → index-32424231.js} +3 -3
  45. package/build/esm/{index-47e9e5c0.js → index-33dcfebb.js} +6 -6
  46. package/build/esm/{index-c1487c0c.js → index-361852c0.js} +3 -3
  47. package/build/esm/{index-75c88f3c.js → index-372dc453.js} +2 -2
  48. package/build/esm/{index-647f1b64.js → index-38796bf1.js} +3 -3
  49. package/build/esm/{index-8f79f883.js → index-3895196f.js} +1 -1
  50. package/build/esm/{index-23044f9b.js → index-38cacc8b.js} +3 -3
  51. package/build/esm/{index-8e9a0415.js → index-39154e26.js} +3 -3
  52. package/build/esm/{index-f91ce5ac.js → index-39f9f8e8.js} +4 -4
  53. package/build/esm/{index-9c7fedf7.js → index-3b2ddda4.js} +4 -4
  54. package/build/esm/{index-3f8f5fe9.js → index-3b69c2fd.js} +16 -16
  55. package/build/esm/{index-4cf7766e.js → index-3cd6b301.js} +20 -20
  56. package/build/esm/{index-f47b2256.js → index-420b6905.js} +2 -2
  57. package/build/esm/{index-a7010742.js → index-44b403f5.js} +4 -4
  58. package/build/esm/{index-3d38a038.js → index-482acfd3.js} +2 -2
  59. package/build/esm/{index-d7a5e3bd.js → index-484ad1fe.js} +2 -2
  60. package/build/esm/{index-03fac510.js → index-4e35e9e8.js} +3 -3
  61. package/build/esm/{index-5f4296cb.js → index-50270555.js} +6 -6
  62. package/build/esm/{index-7cc18de8.js → index-51adbc83.js} +6 -6
  63. package/build/esm/{index-673ca36d.js → index-53540b2b.js} +2 -2
  64. package/build/esm/{index-fad229ae.js → index-543a9827.js} +6 -6
  65. package/build/esm/{index-1b0bbf85.js → index-548831ce.js} +2 -2
  66. package/build/esm/{index-dd00c08a.js → index-55548aa5.js} +2 -2
  67. package/build/esm/index-56f985be.js +96 -0
  68. package/build/esm/{index-756bfb44.js → index-5859a688.js} +4 -4
  69. package/build/esm/{index-b11ee85d.js → index-5be4e370.js} +2 -2
  70. package/build/esm/{index-b4b71c52.js → index-5bef1bbe.js} +2 -2
  71. package/build/esm/{index-ae4b1c95.js → index-5cc19060.js} +2 -2
  72. package/build/esm/{index-f700d17e.js → index-5d9be97d.js} +2 -2
  73. package/build/esm/{index-40c30570.js → index-5e31da98.js} +2 -2
  74. package/build/esm/{index-fc11143a.js → index-61b9d16b.js} +90 -90
  75. package/build/esm/{index-09320a56.js → index-61f71949.js} +5 -5
  76. package/build/esm/{index-c773cfe3.js → index-62051fb4.js} +1 -1
  77. package/build/esm/{index-0dde0bf4.js → index-63038e1e.js} +2 -2
  78. package/build/esm/{index-f105ab14.js → index-6420e1f3.js} +2 -2
  79. package/build/esm/{index-a690b127.js → index-648380b2.js} +72 -72
  80. package/build/esm/{index-740180b3.js → index-675da1d7.js} +4 -3
  81. package/build/esm/{index-89607bfb.js → index-690dd25c.js} +3 -3
  82. package/build/esm/{index-320d6231.js → index-6a81080c.js} +1 -1
  83. package/build/esm/{index-b4dce6fd.js → index-6ab7df0b.js} +2 -2
  84. package/build/esm/{index-a6235311.js → index-6b1d9118.js} +4 -4
  85. package/build/esm/{index-efa17f85.js → index-6b8101e1.js} +4 -4
  86. package/build/esm/{index-79aeb81b.js → index-6c7bb33b.js} +4 -4
  87. package/build/esm/{index-c0ebd1d4.js → index-70ccf2bd.js} +66 -66
  88. package/build/esm/{index-95a116bd.js → index-72d26e45.js} +3 -3
  89. package/build/esm/{index-48f46d16.js → index-735d5dd5.js} +6 -6
  90. package/build/esm/{index-ce3fd2dd.js → index-7371cc32.js} +26 -26
  91. package/build/esm/{index-e9709105.js → index-7431b84d.js} +71 -71
  92. package/build/esm/{index-f21b64d5.js → index-757cbe3d.js} +2 -2
  93. package/build/esm/{index-57ac530e.js → index-768d5be1.js} +1 -1
  94. package/build/esm/{index-0cb7f8c1.js → index-76a9958a.js} +2 -2
  95. package/build/esm/{index-3fb7c01c.js → index-77316c45.js} +2 -2
  96. package/build/esm/{index-ccc7b79d.js → index-79759a6f.js} +92 -92
  97. package/build/esm/{index-1d1c3714.js → index-7c34d797.js} +68 -68
  98. package/build/esm/{index-2b798d80.js → index-80a91a67.js} +22 -22
  99. package/build/esm/{index-5ecfdc6f.js → index-80c49623.js} +20 -20
  100. package/build/esm/{index-072379d9.js → index-80cf23e6.js} +5 -5
  101. package/build/esm/{index-406f9bdd.js → index-810fe14e.js} +6 -6
  102. package/build/esm/{index-a5eef19b.js → index-8126bb56.js} +2 -2
  103. package/build/esm/{index-e86bc2cc.js → index-82466b67.js} +6 -6
  104. package/build/esm/{index-1d089060.js → index-8297b5a7.js} +57 -29
  105. package/build/esm/{index-fffa232d.js → index-8410bb2f.js} +3 -3
  106. package/build/esm/{index-b71ee815.js → index-8476d637.js} +1 -1
  107. package/build/esm/{index-22049a2e.js → index-87690a5b.js} +1175 -644
  108. package/build/esm/index-89469438.js +72 -0
  109. package/build/esm/{index-5a5c3d33.js → index-8a60afc7.js} +76 -76
  110. package/build/esm/{index-13011dc3.js → index-8ab2e7dc.js} +5 -5
  111. package/build/esm/{index-64e04ea8.js → index-8df53bb0.js} +1 -1
  112. package/build/esm/{index-18c75cd6.js → index-8fb6f956.js} +2 -2
  113. package/build/esm/{index-82f8c000.js → index-9180ed94.js} +2 -2
  114. package/build/esm/{index-5b1ad904.js → index-91c1d7af.js} +2 -2
  115. package/build/esm/{index-addd466a.js → index-9294fdd8.js} +2 -2
  116. package/build/esm/{index-ec61bc43.js → index-92b00213.js} +74 -74
  117. package/build/esm/{index-10c6e077.js → index-9486b69e.js} +4 -2
  118. package/build/esm/{index-bb00d848.js → index-94df4c4a.js} +1 -1
  119. package/build/esm/{index-cb4d86b8.js → index-95163002.js} +2 -2
  120. package/build/esm/{index-8c660cb4.js → index-956a1303.js} +9 -9
  121. package/build/esm/{index-068afe56.js → index-9625dd72.js} +6 -6
  122. package/build/esm/{index-301bae1a.js → index-969ccaa2.js} +88 -88
  123. package/build/esm/{index-e08c08d8.js → index-9830689e.js} +9 -9
  124. package/build/esm/{index-09a751c1.js → index-992f676a.js} +2 -2
  125. package/build/esm/{index-49b0ca7b.js → index-99d4bea2.js} +6 -6
  126. package/build/esm/{index-7cc03952.js → index-9caac398.js} +2 -2
  127. package/build/esm/{index-86625445.js → index-9ce922db.js} +2 -2
  128. package/build/esm/{index-a19c4968.js → index-9fd12b17.js} +2 -2
  129. package/build/esm/{index-1a8dd96b.js → index-a0e8b13e.js} +23 -23
  130. package/build/esm/{index-b6980bff.js → index-a2197de6.js} +2 -2
  131. package/build/esm/{index-c7334423.js → index-a299646e.js} +2 -2
  132. package/build/esm/{index-097b2853.js → index-a2b9d84e.js} +4 -4
  133. package/build/esm/{index-1ad6bc31.js → index-a2c9a2b2.js} +6 -6
  134. package/build/esm/{index-df70fbca.js → index-a562938a.js} +91 -91
  135. package/build/esm/{index-075ecf41.js → index-a8cc94f6.js} +85 -85
  136. package/build/esm/{index-7c303964.js → index-aa9127e5.js} +1 -1
  137. package/build/esm/{index-5f3826be.js → index-abf70004.js} +1 -1
  138. package/build/esm/{index-3e55bccb.js → index-ad94b0db.js} +67 -67
  139. package/build/esm/{index-3e57a4e8.js → index-adfa6a63.js} +2 -2
  140. package/build/esm/{index-a90752c0.js → index-b0da3c18.js} +2 -2
  141. package/build/esm/{index-c9b969c6.js → index-b36ce14b.js} +2 -2
  142. package/build/esm/{index-71bb3fec.js → index-b432eaa1.js} +1 -1
  143. package/build/esm/{index-87ec59f2.js → index-b719fd8a.js} +2 -2
  144. package/build/esm/{index-7a5d9f6e.js → index-b76b1d3b.js} +2 -2
  145. package/build/esm/{index-44f80a69.js → index-b791ea52.js} +2 -2
  146. package/build/esm/{index-032aa00e.js → index-b7a3f3a5.js} +4 -4
  147. package/build/esm/{index-d8ae4dba.js → index-b83374d4.js} +2 -2
  148. package/build/esm/{index-9b81785a.js → index-ba0c3200.js} +3 -3
  149. package/build/esm/{index-34b71b25.js → index-ba41042b.js} +3 -3
  150. package/build/esm/{index-b3dd1514.js → index-ba6d1c71.js} +2 -2
  151. package/build/esm/{index-bd3b11d9.js → index-bb43fc04.js} +20 -20
  152. package/build/esm/{index-e60c3c78.js → index-bbde72bc.js} +70 -70
  153. package/build/esm/{index-42bf7ba6.js → index-bc361961.js} +2 -2
  154. package/build/esm/{index-363a1c49.js → index-bc4e0890.js} +91 -91
  155. package/build/esm/{index-d769323f.js → index-bc75ec06.js} +2 -2
  156. package/build/esm/{index-46a0c8f1.js → index-bc768772.js} +3 -3
  157. package/build/esm/{index-b2975c88.js → index-bcdc4e78.js} +2 -2
  158. package/build/esm/{index-1870516b.js → index-bd6471df.js} +4 -4
  159. package/build/esm/{index-52d12bbd.js → index-be38d1ff.js} +3 -3
  160. package/build/esm/{index-1c502ce6.js → index-beaa268e.js} +2 -2
  161. package/build/esm/{index-f5019449.js → index-bed26eab.js} +21 -21
  162. package/build/esm/{index-2efb3634.js → index-bf1bb816.js} +2 -2
  163. package/build/esm/{index-6d5216c5.js → index-bf4d8bd6.js} +6 -6
  164. package/build/esm/{index-bd25e428.js → index-c21e16b7.js} +3 -3
  165. package/build/esm/{index-2d843ab9.js → index-c2ab19c1.js} +2 -2
  166. package/build/esm/{index-efbd49c1.js → index-c3840350.js} +90 -90
  167. package/build/esm/{index-4ef502fc.js → index-c4272c2c.js} +66 -66
  168. package/build/esm/{index-edcfe7ed.js → index-c4f1f611.js} +4 -4
  169. package/build/esm/{index-130b910c.js → index-c57a329b.js} +5 -5
  170. package/build/esm/{index-6a541dc9.js → index-c64850f6.js} +24 -12
  171. package/build/esm/{index-f83c0c38.js → index-c6fb5ed9.js} +2 -2
  172. package/build/esm/{index-132d3d33.js → index-c750b215.js} +2 -2
  173. package/build/esm/{index-df446419.js → index-c8bf9e7b.js} +2 -2
  174. package/build/esm/{index-dad1850c.js → index-c948eca9.js} +2 -2
  175. package/build/esm/{index-270ed7ab.js → index-c9ff51e5.js} +2 -2
  176. package/build/esm/{index-82ae7296.js → index-cacdecf4.js} +2 -2
  177. package/build/esm/{index-de4bed0f.js → index-ccb41a73.js} +2 -2
  178. package/build/esm/index-ccdaebad.js +304 -0
  179. package/build/esm/{index-3a1544dc.js → index-cdaafa02.js} +2 -2
  180. package/build/esm/{index-604c3548.js → index-ceb6f2e6.js} +3 -3
  181. package/build/esm/{index-1f14f1f5.js → index-cfb0bc69.js} +5 -5
  182. package/build/esm/{index-13accc87.js → index-d0b78900.js} +2 -2
  183. package/build/esm/{index-79a36ea8.js → index-d11ed03e.js} +104 -104
  184. package/build/esm/{index-67fa18f0.js → index-d2d015e2.js} +2 -2
  185. package/build/esm/{index-c5d65d97.js → index-d311d156.js} +3 -3
  186. package/build/esm/{index-50d81f2b.js → index-d38cb2e4.js} +2 -2
  187. package/build/esm/{index-0a981b91.js → index-d3cf2cd1.js} +67 -67
  188. package/build/esm/{index-d9d7b423.js → index-d425cf7d.js} +2 -2
  189. package/build/esm/{index-e690d881.js → index-d500cdad.js} +8 -8
  190. package/build/esm/{index-e863e847.js → index-d5490d00.js} +2 -2
  191. package/build/esm/{index-f8a309aa.js → index-d5e289ae.js} +4 -4
  192. package/build/esm/{index-c19b15a9.js → index-d6b4117f.js} +2 -2
  193. package/build/esm/{index-e5b68b87.js → index-d8be4af8.js} +4 -4
  194. package/build/esm/{index-12012931.js → index-db5859ce.js} +2 -2
  195. package/build/esm/{index-e3034188.js → index-dbd12a46.js} +2 -2
  196. package/build/esm/{index-1ba6da4d.js → index-dc6bc472.js} +2 -2
  197. package/build/esm/{index-6b064163.js → index-e0a2ee10.js} +2 -2
  198. package/build/esm/{index-f31f6e78.js → index-e10b2896.js} +2 -2
  199. package/build/esm/{index-9774366c.js → index-e18dc0ba.js} +2 -2
  200. package/build/esm/{index-667b836d.js → index-e5181f71.js} +2 -2
  201. package/build/esm/{index-ae8025a0.js → index-e64ca9ec.js} +5 -5
  202. package/build/esm/{index-71a06b45.js → index-e7000620.js} +69 -69
  203. package/build/esm/{index-763b36fa.js → index-ea77111b.js} +3 -3
  204. package/build/esm/{index-3096e0bf.js → index-ead13590.js} +3 -3
  205. package/build/esm/{index-89ee46c7.js → index-ed319bd8.js} +2 -2
  206. package/build/esm/{index-fe8c9859.js → index-edb2c427.js} +70 -70
  207. package/build/esm/{index-bd893472.js → index-edfeb26f.js} +2 -2
  208. package/build/esm/{index-939c3fcb.js → index-ee191171.js} +2 -2
  209. package/build/esm/{index-a91bf001.js → index-eec1a6f8.js} +2 -2
  210. package/build/esm/{index-40c3aa55.js → index-ef5e9f57.js} +3 -3
  211. package/build/esm/{index-cde966db.js → index-f0569e78.js} +2 -2
  212. package/build/esm/{index-461dc61a.js → index-f0fe1313.js} +4 -4
  213. package/build/esm/{index-c71624cc.js → index-f2788552.js} +2 -2
  214. package/build/esm/{index-434fb5f6.js → index-f3bd61b0.js} +22 -22
  215. package/build/esm/{index-f54121f1.js → index-f3c150a5.js} +4 -4
  216. package/build/esm/{index-5baa5713.js → index-f405957c.js} +2 -2
  217. package/build/esm/{index-39d6da82.js → index-f541993d.js} +4 -4
  218. package/build/esm/{index-0ab00d41.js → index-f5aeea98.js} +2 -2
  219. package/build/esm/{index-2569dccc.js → index-f5bc4572.js} +6 -6
  220. package/build/esm/{index-1cb04f7b.js → index-f6704d1f.js} +4 -4
  221. package/build/esm/{index-701d16ca.js → index-f9372510.js} +21 -21
  222. package/build/esm/{index-735e41e2.js → index-fd0abc69.js} +2 -2
  223. package/build/esm/{index-a1edc896.js → index-fd716586.js} +3 -3
  224. package/build/esm/{index-8d8d91ea.js → index-fe2690c2.js} +2 -2
  225. package/build/esm/{index-dfc330ea.js → index-fe26a8d8.js} +2 -2
  226. package/build/esm/index.js +2 -2
  227. package/build/esm/{index.module-706bb3a7.js → index.module-03af8d8d.js} +1 -1
  228. package/build/esm/{index.module-ea5d953f.js → index.module-05d2ebc3.js} +1 -1
  229. package/build/esm/{index.module-021d9040.js → index.module-4d0cce0b.js} +1 -1
  230. package/build/esm/{index.module-c5baf242.js → index.module-6edd1343.js} +1 -1
  231. package/build/esm/{index.module-8913f507.js → index.module-72b8bc8f.js} +2 -2
  232. package/build/esm/{index.module-b5494b57.js → index.module-84be22a3.js} +1 -1
  233. package/build/esm/{index.module-28ca2798.js → index.module-acf7e094.js} +1 -1
  234. package/build/esm/{index.module-0292f388.js → index.module-d0221b96.js} +1 -1
  235. package/build/esm/{index.module-4770510d.js → index.module-dee7d954.js} +1 -1
  236. package/build/esm/{useCustomDimensions-a17f4739.js → useCustomDimensions-b81dea5f.js} +1 -1
  237. package/build/esm/{ussIsSticky-5a77c7e9.js → ussIsSticky-9a789d46.js} +1 -1
  238. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/CreateAppointment/index.d.ts.map +1 -1
  239. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Header/index.d.ts.map +1 -1
  240. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/QuitModal/ConfiguratorQuitModal.d.ts +14 -0
  241. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/QuitModal/ConfiguratorQuitModal.d.ts.map +1 -0
  242. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/QuitModal/openPlannerQuitModal.d.ts +5 -0
  243. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/QuitModal/openPlannerQuitModal.d.ts.map +1 -0
  244. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/QuitModal/quitModalFlow.d.ts +7 -0
  245. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/QuitModal/quitModalFlow.d.ts.map +1 -0
  246. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Save/index.d.ts +1 -1
  247. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Save/index.d.ts.map +1 -1
  248. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Share/LoadingButton/index.d.ts +3 -2
  249. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Share/LoadingButton/index.d.ts.map +1 -1
  250. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Share/ShareViaEmail/index.d.ts.map +1 -1
  251. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Share/ShareViaUrl/index.d.ts.map +1 -1
  252. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/handleMail.d.ts +4 -0
  253. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/handleMail.d.ts.map +1 -0
  254. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/index.d.ts +2 -2
  255. package/build/types/web-planner-react/src/components/GlobalElements/Checkout/index.d.ts.map +1 -1
  256. package/build/types/web-planner-react/src/components/Product/ProductCenter/Planner3DImage/OrbitInteraction/standard/index.d.ts.map +1 -1
  257. package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerAIRoom/index.d.ts.map +1 -1
  258. package/build/types/web-planner-react/src/components/Product/ProductCenter/index.d.ts.map +1 -1
  259. package/build/types/web-planner-react/src/components/Product/ProductHeader/Functions/StyleIndicator/index.d.ts.map +1 -1
  260. package/build/types/web-planner-react/src/components/Settings/SettingsHeaderContainer/index.d.ts.map +1 -1
  261. package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/Promoted/index.d.ts.map +1 -1
  262. package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.d.ts.map +1 -1
  263. package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/index.d.ts.map +1 -1
  264. package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.d.ts.map +1 -1
  265. package/build/types/web-planner-react/src/model/DivaViewHandler.d.ts.map +1 -1
  266. package/build/types/web-planner-react/src/model/Palette/PaletteViewHandler.d.ts.map +1 -1
  267. package/build/types/web-planner-react/src/model/States/UIState/AI/index.d.ts +5 -1
  268. package/build/types/web-planner-react/src/model/States/UIState/AI/index.d.ts.map +1 -1
  269. package/build/types/web-planner-react/src/model/States/UIState/index.d.ts +1 -1
  270. package/build/types/web-planner-react/src/model/States/UIState/index.d.ts.map +1 -1
  271. package/build/types/web-planner-react/src/model/index.d.ts.map +1 -1
  272. package/build/umd/1451.diva-web-planner-react.umd.min.js +1 -1
  273. package/build/umd/1713.diva-web-planner-react.umd.min.js +1 -1
  274. package/build/umd/176.diva-web-planner-react.umd.min.js +1 -1
  275. package/build/umd/2359.diva-web-planner-react.umd.min.js +1 -1
  276. package/build/umd/2591.diva-web-planner-react.umd.min.js +1 -1
  277. package/build/umd/3134.diva-web-planner-react.umd.min.js +1 -1
  278. package/build/umd/3543.diva-web-planner-react.umd.min.js +1 -1
  279. package/build/umd/419.diva-web-planner-react.umd.min.js +1 -1
  280. package/build/umd/4729.diva-web-planner-react.umd.min.js +1 -1
  281. package/build/umd/4874.diva-web-planner-react.umd.min.js +1 -1
  282. package/build/umd/4982.diva-web-planner-react.umd.min.js +1 -1
  283. package/build/umd/509.diva-web-planner-react.umd.min.js +1 -1
  284. package/build/umd/5090.diva-web-planner-react.umd.min.js +1 -1
  285. package/build/umd/5343.diva-web-planner-react.umd.min.js +1 -1
  286. package/build/umd/5974.diva-web-planner-react.umd.min.js +1 -1
  287. package/build/umd/6822.diva-web-planner-react.umd.min.js +1 -1
  288. package/build/umd/7692.diva-web-planner-react.umd.min.js +1 -1
  289. package/build/umd/8410.diva-web-planner-react.umd.min.js +1 -1
  290. package/build/umd/8515.diva-web-planner-react.umd.min.js +1 -1
  291. package/build/umd/9354.diva-web-planner-react.umd.min.js +1 -1
  292. package/build/umd/9638.diva-web-planner-react.umd.min.js +1 -1
  293. package/build/umd/9715.diva-web-planner-react.umd.min.js +1 -1
  294. package/build/umd/9781.diva-web-planner-react.umd.min.js +1 -1
  295. package/build/umd/diva-web-planner-react.umd.min.js +1 -1
  296. package/build/umd/report.html +1 -1
  297. package/package.json +8 -8
  298. package/build/esm/UnlockCard-a9c0a340.js +0 -191
  299. package/build/esm/index-1219ff6b.js +0 -96
  300. package/build/esm/index-1cc89593.js +0 -216
  301. package/build/esm/index-5e3391e1.js +0 -61
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-web-planner-react",
3
- "version": "26.5.0-beta.9",
3
+ "version": "26.5.0-rc.1",
4
4
  "license": "MIT",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -12,12 +12,12 @@
12
12
  "react-dom": "18.3.1"
13
13
  },
14
14
  "dependencies": {
15
- "@crystaldesign/content-item": "26.5.0-beta.9",
16
- "@crystaldesign/product-detail-page": "26.5.0-beta.9",
17
- "@crystaldesign/products-component": "26.5.0-beta.9",
18
- "@crystaldesign/real-time-viewer": "26.5.0-beta.9",
19
- "@crystaldesign/web-planner-logic": "26.5.0-beta.9",
20
- "@crystaldesign/widget-contact-form": "26.5.0-beta.9",
15
+ "@crystaldesign/content-item": "26.5.0-rc.1",
16
+ "@crystaldesign/product-detail-page": "26.5.0-rc.1",
17
+ "@crystaldesign/products-component": "26.5.0-rc.1",
18
+ "@crystaldesign/real-time-viewer": "26.5.0-rc.1",
19
+ "@crystaldesign/web-planner-logic": "26.5.0-rc.1",
20
+ "@crystaldesign/widget-contact-form": "26.5.0-rc.1",
21
21
  "@google/model-viewer": "3.5.0",
22
22
  "@react-google-maps/api": "2.20.6",
23
23
  "@types/three": "0.163.0",
@@ -63,5 +63,5 @@
63
63
  "types": "./build/types/web-planner-react/src/index.d.ts"
64
64
  }
65
65
  },
66
- "gitHead": "12e6c8aec80f048e3ff6cd3c4eada8e5e09864a0"
66
+ "gitHead": "9f230b05df53e759eb82fe8f8bba76d122fee878"
67
67
  }
@@ -1,191 +0,0 @@
1
- import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
2
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
- import _regeneratorRuntime from '@babel/runtime/regenerator';
4
- import { s as styleInject } from './index-22049a2e.js';
5
- import { useState } from 'react';
6
- import { useTranslation, DivaUtils } from '@crystaldesign/diva-core';
7
- import { jsxs, jsx } from 'react/jsx-runtime';
8
-
9
- var container = "container-uvLa8";
10
- var emptyText = "emptyText-k7-1y";
11
- var headline = "headline-VRP8M";
12
- var subheadline = "subheadline-aM8S8";
13
- var styleSelection = "styleSelection-iOIY2";
14
- var styleDescriptionText = "styleDescriptionText-XEUG7";
15
- var styleButtonsSwiper = "styleButtonsSwiper-zhnww";
16
- var styleButton = "styleButton-dyuqQ";
17
- var styleButtonSelected = "styleButtonSelected-uZne1";
18
- var styleButtonImage = "styleButtonImage-by1s3";
19
- var styleDescription = "styleDescription-GH09Y";
20
- var styleName = "styleName-HH3qh";
21
- var customInputSection = "customInputSection-zwl9g";
22
- var customInput = "customInput-5jLl3";
23
- var generateSection = "generateSection-3wiMe";
24
- var generateButton = "generateButton-TP6yS";
25
- var remainingText = "remainingText-P3Ibl";
26
- var errorMessage = "errorMessage-6Dfp4";
27
- var unlockCard = "unlockCard-zmqvI";
28
- var unlockTitle = "unlockTitle-ZdltE";
29
- var unlockText = "unlockText-Jixn2";
30
- var unlockEmailInput = "unlockEmailInput-z5SXf";
31
- var unlockSubmitButton = "unlockSubmitButton-XuvH2";
32
- var unlockSubmitArrow = "unlockSubmitArrow-fCYvp";
33
- var unlockSuccessCard = "unlockSuccessCard-2ICYg";
34
- var unlockSuccessIcon = "unlockSuccessIcon-pOmcL";
35
- var unlockSuccessText = "unlockSuccessText-rtcHE";
36
- var tryVariantLink = "tryVariantLink-ZX0JF";
37
- var sceneHistory = "sceneHistory-i3VQY";
38
- var sceneHistoryTitle = "sceneHistoryTitle-fJPXT";
39
- var sceneHistorySwiper = "sceneHistorySwiper-oOVFf";
40
- var sceneThumb = "sceneThumb-mVxuB";
41
- var sceneThumbSelected = "sceneThumbSelected-MfJxR";
42
- var css_248z = ".container-uvLa8 {\n padding-top: 16px;\n padding-left: 12px;\n}\n\n.mobile .container-uvLa8 {\n padding-left: 0px;\n}\n\n.emptyText-k7-1y {\n font-size: 14px;\n font-weight: 300;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0;\n}\n\n.headline-VRP8M {\n font-size: 18px;\n font-weight: 300;\n line-height: 1.3;\n letter-spacing: inherit;\n color: var(--diva-theme-palette-text-primary);\n margin: 0 0 8px;\n}\n\n.subheadline-aM8S8 {\n font-size: 14px;\n font-weight: 300;\n line-height: 1.5;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0 0 16px;\n}\n\n.mobile .subheadline-aM8S8 {\n margin: 0 0 8px;\n}\n\n.styleSelection-iOIY2 {\n margin-bottom: 16px;\n}\n\n.styleDescriptionText-XEUG7 {\n font-size: 14px;\n font-weight: 300;\n line-height: 1.5;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0;\n}\n\n.mobile .styleDescriptionText-XEUG7 {\n font-size: 12px;\n}\n\n.styleButtonsSwiper-zhnww {\n margin-bottom: 16px;\n min-height: 60px;\n overflow: visible;\n}\n\n.styleButtonsSwiper-zhnww .swiper {\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 6px 0;\n z-index: 1;\n}\n\n.styleButtonsSwiper-zhnww .swiper-wrapper {\n position: relative;\n width: calc(100% - 24px);\n height: 100%;\n z-index: 1;\n display: flex;\n align-items: center;\n transition-property: transform;\n justify-content: center;\n padding: 12px;\n}\n\n.styleSelection-iOIY2 .styleButtonsSwiper-zhnww .swiper-slide {\n flex-shrink: 0;\n width: 18%;\n aspect-ratio: 1;\n display: flex;\n align-items: center;\n overflow: visible;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-prev,\n.styleButtonsSwiper-zhnww .swiper-button-next {\n position: absolute;\n top: 50%;\n width: 24px;\n height: 24px;\n margin-top: -12px;\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n}\n.styleButtonsSwiper-zhnww .swiper-button-prev svg,\n.styleButtonsSwiper-zhnww .swiper-button-next svg {\n display: none;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-prev:focus,\n.styleButtonsSwiper-zhnww .swiper-button-prev:active,\n.styleButtonsSwiper-zhnww .swiper-button-next:focus,\n.styleButtonsSwiper-zhnww .swiper-button-next:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-prev::before,\n.styleButtonsSwiper-zhnww .swiper-button-next::before {\n display: none !important;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-prev:after,\n.styleButtonsSwiper-zhnww .swiper-button-next:after {\n font-family: swiper-icons;\n font-size: 24px;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-prev,\n.styleButtonsSwiper-zhnww .swiper-rtl .swiper-button-next {\n left: 4px;\n right: auto;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-next,\n.styleButtonsSwiper-zhnww .swiper-rtl .swiper-button-prev {\n right: 4px;\n left: auto;\n}\n\n.styleButtonsSwiper-zhnww .swiper-button-disabled {\n display: none;\n}\n\n.styleButton-dyuqQ {\n width: 100%;\n height: 100%;\n min-width: 0;\n padding: 0;\n border: none;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n background: none;\n transition:\n opacity 0.2s,\n box-shadow 0.2s;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n}\n\n.styleButton-dyuqQ:hover {\n opacity: 0.8;\n}\n\n.styleButton-dyuqQ:focus,\n.styleButton-dyuqQ:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.styleButtonSelected-uZne1 {\n box-shadow: 0 0 0 3px var(--diva-theme-palette-primary-main);\n outline-offset: 2px;\n}\n\n.styleButtonImage-by1s3 {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n\n.styleDescription-GH09Y {\n text-align: center;\n}\n\n.styleName-HH3qh {\n font-size: 16px;\n font-weight: 300;\n color: var(--diva-theme-palette-text-primary);\n margin: 0 0 8px;\n}\n\n.customInputSection-zwl9g {\n margin-bottom: 16px;\n}\n\n.customInput-5jLl3 {\n width: calc(100% - 28px);\n padding: 10px 14px;\n font-size: 16px;\n font-weight: 300;\n color: var(--diva-theme-palette-text-primary);\n border: 1px solid #e8e3da;\n border: 1px solid var(--galleryItemBorderColor, #e8e3da);\n border-radius: 4px;\n border-radius: var(--globalBorderRadius, 4px);\n background: var(--settingsBackgroundColor);\n}\n\n.customInput-5jLl3:focus {\n outline: none;\n border-color: var(--diva-theme-palette-primary-main);\n box-shadow: 0 0 0 1px var(--diva-theme-palette-primary-main);\n}\n\n.customInput-5jLl3::-moz-placeholder {\n color: var(--diva-theme-palette-text-secondary);\n}\n\n.customInput-5jLl3::placeholder {\n color: var(--diva-theme-palette-text-secondary);\n}\n\n.generateSection-3wiMe {\n margin-bottom: 24px;\n}\n\n.generateButton-TP6yS {\n width: calc(100% - 48px);\n padding: 14px 24px;\n font-size: 16px;\n font-weight: 300;\n color: #fff;\n color: var(--diva-theme-palette-primary-contrast-text, #fff);\n background: var(--diva-theme-palette-primary-main);\n border: none;\n border-radius: var(--buttons-border-radius);\n cursor: pointer;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n box-shadow: var(--boxShadowHover, 0 4px 6px rgba(0, 0, 0, 0.1));\n transition:\n background 0.2s,\n box-shadow 0.2s;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n}\n\n.generateButton-TP6yS:focus,\n.generateButton-TP6yS:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.generateButton-TP6yS:hover:not(:disabled) {\n background: var(--diva-theme-palette-primary-dark);\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);\n box-shadow: var(--boxShadowActive, 0 6px 12px rgba(0, 0, 0, 0.15));\n}\n\n.generateButton-TP6yS:disabled {\n cursor: not-allowed;\n opacity: 0.7;\n}\n\n.remainingText-P3Ibl {\n font-size: 12px;\n font-weight: 300;\n color: var(--diva-theme-palette-text-secondary);\n text-align: center;\n margin: 8px 0 0;\n}\n\n.errorMessage-6Dfp4 {\n font-size: 13px;\n font-weight: 400;\n line-height: 1.5;\n color: #d32f2f;\n color: var(--diva-theme-palette-error-main, #d32f2f);\n background: color-mix(in srgb, #d32f2f 8%, transparent);\n background: color-mix(in srgb, var(--diva-theme-palette-error-main, #d32f2f) 8%, transparent);\n border: 1px solid color-mix(in srgb, #d32f2f 25%, transparent);\n border: 1px solid color-mix(in srgb, var(--diva-theme-palette-error-main, #d32f2f) 25%, transparent);\n border-radius: 4px;\n border-radius: var(--globalBorderRadius, 4px);\n padding: 10px 14px;\n margin: 12px 0 0;\n text-align: center;\n}\n\n.unlockCard-zmqvI {\n padding: 24px 20px;\n border: 2px solid color-mix(in srgb, var(--diva-theme-palette-primary-main) 20%, transparent);\n border-radius: 4px;\n border-radius: var(--globalBorderRadius, 4px);\n background: var(--settingsBackgroundColor);\n text-align: center;\n}\n\n.unlockTitle-ZdltE {\n font-size: 18px;\n font-weight: 300;\n\n color: var(--diva-theme-palette-primary-main);\n margin: 0 0 12px;\n}\n\n.unlockText-Jixn2 {\n font-size: 14px;\n font-weight: 300;\n line-height: 1.6;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0 0 16px;\n}\n\n.unlockEmailInput-z5SXf {\n width: calc(100% - 28px);\n padding: 12px 14px;\n font-size: 16px;\n font-weight: 300;\n color: var(--diva-theme-palette-text-primary);\n border: 1px solid #e8e3da;\n border: 1px solid var(--galleryItemBorderColor, #e8e3da);\n border-radius: 4px;\n border-radius: var(--globalBorderRadius, 4px);\n background: var(--settingsBackgroundColor);\n margin-bottom: 12px;\n}\n\n.unlockEmailInput-z5SXf:focus {\n outline: none;\n border-color: var(--diva-theme-palette-primary-main);\n box-shadow: 0 0 0 1px var(--diva-theme-palette-primary-main);\n}\n\n.unlockEmailInput-z5SXf::-moz-placeholder {\n color: var(--diva-theme-palette-text-secondary);\n}\n\n.unlockEmailInput-z5SXf::placeholder {\n color: var(--diva-theme-palette-text-secondary);\n}\n\n.unlockSubmitButton-XuvH2 {\n width: calc(100% - 48px);\n padding: 14px 24px;\n font-size: 14px;\n font-weight: 400;\n color: #fff;\n color: var(--diva-theme-palette-primary-contrast-text, #fff);\n background: var(--diva-theme-palette-primary-main);\n border: none;\n border-radius: var(--buttons-border-radius);\n cursor: pointer;\n transition:\n background 0.2s,\n box-shadow 0.2s;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n}\n\n.unlockSubmitButton-XuvH2:focus,\n.unlockSubmitButton-XuvH2:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.unlockSubmitButton-XuvH2:hover:not(:disabled) {\n background: var(--diva-theme-palette-primary-dark);\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);\n box-shadow: var(--boxShadowActive, 0 6px 12px rgba(0, 0, 0, 0.15));\n}\n\n.unlockSubmitButton-XuvH2:disabled {\n cursor: not-allowed;\n opacity: 0.7;\n}\n\n.unlockSubmitArrow-fCYvp {\n font-size: 18px;\n line-height: 1;\n}\n\n.unlockSuccessCard-2ICYg {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 12px;\n min-height: 120px;\n}\n\n.unlockSuccessIcon-pOmcL {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background: var(--diva-theme-palette-primary-main);\n color: #fff;\n color: var(--diva-theme-palette-primary-contrast-text, #fff);\n font-size: 20px;\n line-height: 1;\n}\n\n.unlockSuccessText-rtcHE {\n font-size: 15px;\n font-weight: 400;\n color: var(--diva-theme-palette-text-primary);\n margin: 0;\n}\n\n.tryVariantLink-ZX0JF {\n display: block;\n margin: 12px auto 24px;\n padding: 0;\n font-size: 14px;\n font-weight: 300;\n color: var(--diva-theme-palette-primary-main);\n text-decoration: underline;\n text-underline-offset: 3px;\n background: none;\n border: none;\n cursor: pointer;\n transition: color 0.15s;\n -webkit-tap-highlight-color: transparent;\n}\n\n.tryVariantLink-ZX0JF:hover {\n color: var(--diva-theme-palette-primary-dark);\n}\n\n.sceneHistory-i3VQY {\n margin-top: 24px;\n}\n\n.sceneHistoryTitle-fJPXT {\n font-size: 12px;\n font-weight: 300;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n color: var(--diva-theme-palette-text-secondary);\n margin: 0 0 12px;\n}\n\n.sceneHistorySwiper-oOVFf {\n padding-bottom: 8px;\n}\n\n.sceneHistorySwiper-oOVFf .swiper {\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-wrapper {\n position: relative;\n height: 100%;\n z-index: 1;\n display: flex;\n align-items: center;\n transition-property: transform;\n padding: 12px;\n}\n\n.sceneHistory-i3VQY .sceneHistorySwiper-oOVFf .swiper-slide {\n flex-shrink: 0;\n width: 80px;\n height: 80px;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev,\n.sceneHistorySwiper-oOVFf .swiper-button-next {\n position: absolute;\n top: 50%;\n width: 24px;\n height: 24px;\n margin-top: -12px;\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev svg,\n.sceneHistorySwiper-oOVFf .swiper-button-next svg {\n display: none;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev:focus,\n.sceneHistorySwiper-oOVFf .swiper-button-prev:active,\n.sceneHistorySwiper-oOVFf .swiper-button-next:focus,\n.sceneHistorySwiper-oOVFf .swiper-button-next:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev::before,\n.sceneHistorySwiper-oOVFf .swiper-button-next::before {\n display: none !important;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev:after,\n.sceneHistorySwiper-oOVFf .swiper-button-next:after {\n font-family: swiper-icons;\n font-size: 24px;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev,\n.sceneHistorySwiper-oOVFf .swiper-rtl .swiper-button-next {\n left: 4px;\n right: auto;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-next,\n.sceneHistorySwiper-oOVFf .swiper-rtl .swiper-button-prev {\n right: 4px;\n left: auto;\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-prev:after {\n content: 'prev';\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-next:after {\n content: 'next';\n}\n\n.sceneHistorySwiper-oOVFf .swiper-button-disabled {\n display: none;\n}\n\n.sceneThumb-mVxuB {\n width: 80px;\n height: 80px;\n flex-shrink: 0;\n overflow: hidden;\n border-radius: 4px;\n border-radius: var(--globalBorderRadius, 4px);\n border: 2px solid #e8e3da;\n border: 2px solid var(--galleryItemBorderColor, #e8e3da);\n cursor: pointer;\n transition:\n border-color 0.2s,\n box-shadow 0.2s;\n}\n\n.sceneThumb-mVxuB:hover {\n border-color: var(--diva-theme-palette-primary-main);\n}\n\n.sceneThumbSelected-MfJxR {\n border-color: var(--diva-theme-palette-primary-main);\n box-shadow: 0 0 0 2px var(--diva-theme-palette-primary-main);\n}\n\n.sceneThumb-mVxuB img {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n";
43
- styleInject(css_248z);
44
-
45
- var UnlockCard = function UnlockCard(_ref) {
46
- var budgetTotal = _ref.budgetTotal,
47
- leadBonus = _ref.leadBonus,
48
- leadKeyActive = _ref.leadKeyActive,
49
- onSubmit = _ref.onSubmit,
50
- onSuccess = _ref.onSuccess;
51
- var _useTranslation = useTranslation(),
52
- t = _useTranslation.t;
53
- var _useState = useState(''),
54
- _useState2 = _slicedToArray(_useState, 2),
55
- email = _useState2[0],
56
- setEmail = _useState2[1];
57
- var _useState3 = useState(leadKeyActive || leadBonus <= 0 ? 'exhausted' : 'form'),
58
- _useState4 = _slicedToArray(_useState3, 2),
59
- phase = _useState4[0],
60
- setPhase = _useState4[1];
61
- var _useState5 = useState(''),
62
- _useState6 = _slicedToArray(_useState5, 2),
63
- errorMsg = _useState6[0],
64
- setErrorMsg = _useState6[1];
65
- var handleSubmit = /*#__PURE__*/function () {
66
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
67
- var result, _result$message, _result$message2, _result$message3;
68
- return _regeneratorRuntime.wrap(function _callee$(_context) {
69
- while (1) switch (_context.prev = _context.next) {
70
- case 0:
71
- setPhase('loading');
72
- setErrorMsg('');
73
- _context.next = 4;
74
- return onSubmit(email);
75
- case 4:
76
- result = _context.sent;
77
- if (result !== null && result !== void 0 && result.success) {
78
- setPhase('success');
79
- setTimeout(function () {
80
- return onSuccess();
81
- }, 2500);
82
- } else if ((result === null || result === void 0 ? void 0 : result.reason) === 'LEAD_KEY_BONUS_EXHAUSTED') {
83
- setErrorMsg((_result$message = result === null || result === void 0 ? void 0 : result.message) !== null && _result$message !== void 0 ? _result$message : '');
84
- setPhase('leadBonusExhausted');
85
- } else if ((result === null || result === void 0 ? void 0 : result.reason) === 'EMAIL_ALREADY_USED') {
86
- setErrorMsg((_result$message2 = result === null || result === void 0 ? void 0 : result.message) !== null && _result$message2 !== void 0 ? _result$message2 : '');
87
- setPhase('emailAlreadyUsed');
88
- } else {
89
- setErrorMsg((_result$message3 = result === null || result === void 0 ? void 0 : result.message) !== null && _result$message3 !== void 0 ? _result$message3 : '');
90
- setPhase('error');
91
- }
92
- case 6:
93
- case "end":
94
- return _context.stop();
95
- }
96
- }, _callee);
97
- }));
98
- return function handleSubmit() {
99
- return _ref2.apply(this, arguments);
100
- };
101
- }();
102
- if (phase === 'success') {
103
- return /*#__PURE__*/jsxs("div", {
104
- className: "".concat(unlockCard, " ").concat(unlockSuccessCard),
105
- children: [/*#__PURE__*/jsx("span", {
106
- className: unlockSuccessIcon,
107
- children: "\u2713"
108
- }), /*#__PURE__*/jsx("p", {
109
- className: unlockSuccessText,
110
- children: t('configurator.inspiration.unlockSuccess', 'Erfolgreich freigeschaltet – jetzt weiter generieren!')
111
- })]
112
- });
113
- }
114
- if (phase === 'exhausted') {
115
- return /*#__PURE__*/jsxs("div", {
116
- className: unlockCard,
117
- children: [/*#__PURE__*/jsx("h4", {
118
- className: unlockTitle,
119
- children: t('configurator.inspiration.exhaustedTitle', 'Sie haben heute alle Raumbilder genutzt')
120
- }), /*#__PURE__*/jsx("p", {
121
- className: unlockText,
122
- children: t('configurator.inspiration.exhaustedText', 'Ihr Kontingent ist für heute aufgebraucht. Kommen Sie morgen wieder – dann stehen Ihnen neue Raumbilder zur Verfügung.')
123
- })]
124
- });
125
- }
126
- if (phase === 'emailAlreadyUsed') {
127
- return /*#__PURE__*/jsxs("div", {
128
- className: unlockCard,
129
- children: [/*#__PURE__*/jsx("h4", {
130
- className: unlockTitle,
131
- children: t('configurator.inspiration.emailAlreadyUsedTitle', 'Diese E-Mail-Adresse wurde bereits verwendet')
132
- }), /*#__PURE__*/jsx("p", {
133
- className: unlockText,
134
- children: t('configurator.inspiration.emailAlreadyUsedText', 'Die Freischaltung zusätzlicher Raumbilder ist pro E-Mail-Adresse nur einmal möglich.')
135
- })]
136
- });
137
- }
138
- if (phase === 'leadBonusExhausted') {
139
- return /*#__PURE__*/jsxs("div", {
140
- className: unlockCard,
141
- children: [/*#__PURE__*/jsx("h4", {
142
- className: unlockTitle,
143
- children: t('configurator.inspiration.leadKeyBonusExhaustedTitle', 'Bonus-Kontingent aufgebraucht')
144
- }), /*#__PURE__*/jsx("p", {
145
- className: unlockText,
146
- children: t('configurator.inspiration.leadKeyBonusExhaustedText', 'Für diese E-Mail-Adresse sind alle zusätzlichen Raumbilder bereits verbraucht. Es können keine weiteren Bilder mehr freigeschaltet werden.')
147
- })]
148
- });
149
- }
150
- return /*#__PURE__*/jsxs("div", {
151
- className: unlockCard,
152
- children: [/*#__PURE__*/jsx("h4", {
153
- className: unlockTitle,
154
- children: t('configurator.inspiration.unlockTitle', 'Gefällt Ihnen, was Sie sehen?')
155
- }), /*#__PURE__*/jsx("p", {
156
- className: unlockText,
157
- children: t('configurator.inspiration.unlockTextLead', {
158
- budgetTotal: budgetTotal,
159
- leadBonus: leadBonus
160
- })
161
- }), /*#__PURE__*/jsx("input", {
162
- type: "email",
163
- className: unlockEmailInput,
164
- value: email,
165
- onChange: function onChange(e) {
166
- return setEmail(e.target.value);
167
- },
168
- placeholder: t('configurator.inspiration.emailPlaceholder', 'ihre.email@beispiel.de'),
169
- disabled: phase === 'loading'
170
- }), phase === 'error' && errorMsg && /*#__PURE__*/jsx("p", {
171
- className: unlockText,
172
- children: errorMsg
173
- }), /*#__PURE__*/jsxs("button", {
174
- type: "button",
175
- className: unlockSubmitButton,
176
- disabled: phase === 'loading' || !DivaUtils.validateEmail(email),
177
- onClick: handleSubmit,
178
- children: [phase === 'loading' ? t('configurator.inspiration.unlocking', 'Wird freigeschaltet…') : t('configurator.inspiration.unlockButton', "".concat(leadBonus, " weitere Raumbilder freischalten")), phase !== 'loading' && /*#__PURE__*/jsx("span", {
179
- className: unlockSubmitArrow,
180
- children: "\u2192"
181
- })]
182
- })]
183
- });
184
- };
185
-
186
- var UnlockCard$1 = /*#__PURE__*/Object.freeze({
187
- __proto__: null,
188
- 'default': UnlockCard
189
- });
190
-
191
- export { UnlockCard as U, styleSelection as a, styleButtonsSwiper as b, container as c, styleButton as d, emptyText as e, styleButtonSelected as f, styleButtonImage as g, headline as h, styleDescription as i, styleName as j, styleDescriptionText as k, generateSection as l, customInputSection as m, customInput as n, generateButton as o, errorMessage as p, sceneHistory as q, remainingText as r, subheadline as s, sceneHistoryTitle as t, sceneHistorySwiper as u, sceneThumb as v, sceneThumbSelected as w, tryVariantLink as x, UnlockCard$1 as y };
@@ -1,96 +0,0 @@
1
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
- import { s as styleInject, u as useViewHandler } from './index-22049a2e.js';
3
- import { observer } from 'mobx-react-lite';
4
- import { useState } from 'react';
5
- import { Swiper, SwiperSlide } from 'swiper/react';
6
- import { Navigation, Grid } from 'swiper/modules';
7
- import RoomItem from './index-032aa00e.js';
8
- import classnames from 'classnames';
9
- import InfoBanner from './index-67fa18f0.js';
10
- import UploadItem from './index-388444e2.js';
11
- import CustomInput from './index-b0549eeb.js';
12
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
13
- import '@babel/runtime/helpers/defineProperty';
14
- import 'react-dynamic-multi-render';
15
- import '@crystaldesign/diva-core';
16
- import '@babel/runtime/helpers/objectWithoutProperties';
17
- import '@babel/runtime/helpers/asyncToGenerator';
18
- import '@babel/runtime/regenerator';
19
- import '@babel/runtime/helpers/classCallCheck';
20
- import '@babel/runtime/helpers/createClass';
21
- import '@babel/runtime/helpers/toConsumableArray';
22
- import '@crystaldesign/diva-utils';
23
- import 'mobx';
24
- import '@crystaldesign/web-planner-logic';
25
- import 'qrcode.react';
26
- import '@babel/runtime/helpers/typeof';
27
- import 'flat';
28
- import 'react-switch';
29
- import 'react-countup';
30
- import './index.module-4770510d.js';
31
- import './index-673ca36d.js';
32
- import '@babel/runtime/helpers/objectDestructuringEmpty';
33
-
34
- var roomGallery = "room-gallery-6uX3f";
35
- var roomFilter = "room-filter--61x0";
36
- var roomFilterSwiper = "room-filter-swiper-sgtL0";
37
- var css_248z = ".room-gallery-6uX3f {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 16px;\n justify-content: center;\n align-items: center;\n background: linear-gradient(to right, #b7cbdc, #e9eff3);\n padding: 16px;\n border-radius: 12px;\n border: 1px solid #e0e0e0;\n}\n\n.room-filter--61x0.room-filter-swiper-sgtL0 {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin: 4px;\n}\n\n/*grid css*/\n\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-grid > .swiper-wrapper {\n flex-wrap: wrap;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-grid-column > .swiper-wrapper {\n flex-wrap: wrap;\n flex-direction: column;\n max-height: 198px;\n height: -moz-fit-content;\n height: fit-content;\n}\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');\n font-weight: 400;\n font-style: normal;\n}\n\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper {\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n width: 100%;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-vertical.swiper {\n width: 100%;\n}\n\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n align-items: center;\n transition-property: transform;\n box-sizing: content-box;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-android .swiper-slide,\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-pointer-events {\n touch-action: pan-y;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-slide {\n flex-shrink: 0;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-vertical .swiper-slide {\n height: auto;\n}\n\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-autoheight,\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-autoheight .swiper-slide {\n height: auto;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n}\n[dir=\"ltr\"] .room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir=\"rtl\"] .room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n.room-filter--61x0.room-filter-swiper-sgtL0 .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n";
38
- styleInject(css_248z);
39
-
40
- var RoomGallery = function RoomGallery(_ref) {
41
- var roomItems = _ref.roomItems,
42
- selectedRoom = _ref.selectedRoom;
43
- var _useState = useState(null),
44
- _useState2 = _slicedToArray(_useState, 2),
45
- swiperRef = _useState2[0],
46
- setSwiperRef = _useState2[1];
47
- var viewHandler = useViewHandler();
48
- var navigateToOnClick = function navigateToOnClick(index) {
49
- swiperRef === null || swiperRef === void 0 || swiperRef.slideTo(index);
50
- };
51
- var timeframeLimitReachedOverOneDay = viewHandler.aiState.isTimeframeLimitReached && viewHandler.aiState.isTimeframeLimitReached !== 'daily';
52
- return /*#__PURE__*/jsxs("div", {
53
- className: roomGallery,
54
- children: [/*#__PURE__*/jsx(InfoBanner, {}), !timeframeLimitReachedOverOneDay && /*#__PURE__*/jsxs(Fragment, {
55
- children: [/*#__PURE__*/jsx("div", {
56
- className: classnames(roomFilterSwiper, roomFilter),
57
- children: /*#__PURE__*/jsx(Swiper, {
58
- onSwiper: setSwiperRef,
59
- resizeObserver: true,
60
- modules: [Navigation, Grid],
61
- spaceBetween: viewHandler.uiState.isInMobileView ? 4 : 8,
62
- scrollbar: true,
63
- slideToClickedSlide: true,
64
- wrapperClass: "no-swiping",
65
- slidesPerView: 3,
66
- style: {
67
- marginTop: '16px'
68
- },
69
- grid: {
70
- rows: 2
71
- },
72
- children: roomItems.map(function (e, index) {
73
- return /*#__PURE__*/jsx(SwiperSlide, {
74
- onClick: function onClick(e) {
75
- var clickRow = (index - index % 2) / 2;
76
- var rowToNavigateTo = clickRow - 1;
77
- navigateToOnClick(rowToNavigateTo >= 0 ? rowToNavigateTo : 0);
78
- e.stopPropagation();
79
- },
80
- children: e.uploadItem ? /*#__PURE__*/jsx(UploadItem, {
81
- item: e
82
- }, e.key) : /*#__PURE__*/jsx(RoomItem, {
83
- item: e
84
- }, e.key)
85
- }, index);
86
- })
87
- })
88
- }), /*#__PURE__*/jsx(CustomInput, {
89
- selectedRoom: selectedRoom
90
- })]
91
- })]
92
- });
93
- };
94
- var RoomGallery$1 = observer(RoomGallery);
95
-
96
- export { RoomGallery$1 as default };
@@ -1,216 +0,0 @@
1
- import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
2
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
- import _regeneratorRuntime from '@babel/runtime/regenerator';
4
- import { u as useViewHandler } from './index-22049a2e.js';
5
- import { observer } from 'mobx-react-lite';
6
- import { useState } from 'react';
7
- import { Swiper, SwiperSlide } from 'swiper/react';
8
- import { Navigation } from 'swiper/modules';
9
- import { useTranslation } from '@crystaldesign/diva-core';
10
- import { c as container, e as emptyText, h as headline, s as subheadline, a as styleSelection, b as styleButtonsSwiper, d as styleButton, f as styleButtonSelected, g as styleButtonImage, i as styleDescription, j as styleName, k as styleDescriptionText, l as generateSection, m as customInputSection, n as customInput, o as generateButton, p as errorMessage, r as remainingText, U as UnlockCard, q as sceneHistory, t as sceneHistoryTitle, u as sceneHistorySwiper, v as sceneThumb, w as sceneThumbSelected, x as tryVariantLink } from './UnlockCard-a9c0a340.js';
11
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
12
- import '@babel/runtime/helpers/defineProperty';
13
- import 'react-dynamic-multi-render';
14
- import '@babel/runtime/helpers/objectWithoutProperties';
15
- import '@babel/runtime/helpers/classCallCheck';
16
- import '@babel/runtime/helpers/createClass';
17
- import '@babel/runtime/helpers/toConsumableArray';
18
- import '@crystaldesign/diva-utils';
19
- import 'mobx';
20
- import '@crystaldesign/web-planner-logic';
21
- import 'classnames';
22
- import 'qrcode.react';
23
- import '@babel/runtime/helpers/typeof';
24
- import 'flat';
25
- import 'react-switch';
26
- import 'react-countup';
27
-
28
- var StyleConsultant = function StyleConsultant(_ref) {
29
- var _viewHandler$getViewC, _aiState$enrichedAiRo, _budget$remaining, _viewHandler$settings, _viewHandler$settings2, _aiState$aiGeneration, _selectedItem$key, _aiState$customPrompt, _budget$isLimitReache, _budget$total, _budget$leadKeyActive;
30
- _ref.item;
31
- var _useTranslation = useTranslation(),
32
- t = _useTranslation.t;
33
- var viewHandler = useViewHandler();
34
- var aiState = viewHandler.aiState;
35
- var _useState = useState(false),
36
- _useState2 = _slicedToArray(_useState, 2),
37
- keepUnlockVisible = _useState2[0],
38
- setKeepUnlockVisible = _useState2[1];
39
- if (!((_viewHandler$getViewC = viewHandler.getViewConfig()) !== null && _viewHandler$getViewC !== void 0 && _viewHandler$getViewC.showStyleConsultant) || !((_aiState$enrichedAiRo = aiState.enrichedAiRoomRenderings) !== null && _aiState$enrichedAiRo !== void 0 && _aiState$enrichedAiRo.length)) {
40
- return /*#__PURE__*/jsx("div", {
41
- className: container,
42
- children: /*#__PURE__*/jsx("p", {
43
- className: emptyText,
44
- children: t('configurator.roomRendering.noStylesAvailable', 'Keine Stilwelten verfügbar.')
45
- })
46
- });
47
- }
48
- var roomItems = aiState.enrichedAiRoomRenderings;
49
- var selectedItem = roomItems.find(function (r) {
50
- return r.key === aiState.selectedRoom;
51
- });
52
- var budget = aiState.usageBudget;
53
- var scenesRemaining = (_budget$remaining = budget === null || budget === void 0 ? void 0 : budget.remaining) !== null && _budget$remaining !== void 0 ? _budget$remaining : 0;
54
- var leadBonus = (_viewHandler$settings = (_viewHandler$settings2 = viewHandler.settingsState.organizationAISettings) === null || _viewHandler$settings2 === void 0 ? void 0 : _viewHandler$settings2.leadRewardBonus) !== null && _viewHandler$settings !== void 0 ? _viewHandler$settings : 0;
55
- var generatedImages = aiState.generatedImageHistory;
56
- var generationErrorKey = (_aiState$aiGeneration = aiState.aiGenerationErrors[(_selectedItem$key = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key) !== null && _selectedItem$key !== void 0 ? _selectedItem$key : '']) === null || _aiState$aiGeneration === void 0 ? void 0 : _aiState$aiGeneration[aiState.setHash];
57
- var hasImageForCurrentPrompt = generatedImages.some(function (e) {
58
- return e.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key) && e.hash === aiState.setHash && (e.customPrompt || '') === (aiState.customPromptInput || '');
59
- });
60
- return /*#__PURE__*/jsxs("div", {
61
- className: container,
62
- children: [/*#__PURE__*/jsx("h1", {
63
- className: headline,
64
- children: t('configurator.inspiration.headline')
65
- }), /*#__PURE__*/jsx("p", {
66
- className: subheadline,
67
- children: t('configurator.inspiration.subheadline')
68
- }), /*#__PURE__*/jsxs("div", {
69
- className: styleSelection,
70
- children: [/*#__PURE__*/jsx("div", {
71
- className: styleButtonsSwiper,
72
- children: /*#__PURE__*/jsx(Swiper, {
73
- modules: [Navigation],
74
- spaceBetween: 10,
75
- slidesPerView: "auto",
76
- navigation: true,
77
- wrapperClass: "no-swiping",
78
- resizeObserver: true,
79
- children: roomItems.map(function (style) {
80
- return /*#__PURE__*/jsx(SwiperSlide, {
81
- children: /*#__PURE__*/jsx("button", {
82
- type: "button",
83
- className: "".concat(styleButton, " ").concat(aiState.selectedRoom === style.key ? styleButtonSelected : ''),
84
- onClick: function onClick() {
85
- return aiState.setSelectedRoom(style.key);
86
- },
87
- title: style.name,
88
- children: /*#__PURE__*/jsx("img", {
89
- src: style.image,
90
- alt: style.name,
91
- className: styleButtonImage
92
- })
93
- })
94
- }, style.key);
95
- })
96
- })
97
- }), selectedItem && /*#__PURE__*/jsxs("div", {
98
- className: styleDescription,
99
- children: [/*#__PURE__*/jsx("h3", {
100
- className: styleName,
101
- children: selectedItem.name
102
- }), !!selectedItem.description && /*#__PURE__*/jsx("p", {
103
- className: styleDescriptionText,
104
- children: selectedItem.description
105
- })]
106
- })]
107
- }), /*#__PURE__*/jsx("div", {
108
- className: generateSection,
109
- children: scenesRemaining > 0 && !keepUnlockVisible ? /*#__PURE__*/jsxs(Fragment, {
110
- children: [/*#__PURE__*/jsxs("div", {
111
- className: customInputSection,
112
- children: [/*#__PURE__*/jsx("p", {
113
- className: styleDescriptionText,
114
- children: t('configurator.inspiration.customPromptDescription')
115
- }), /*#__PURE__*/jsx("input", {
116
- type: "text",
117
- className: customInput,
118
- value: (_aiState$customPrompt = aiState.customPromptInput) !== null && _aiState$customPrompt !== void 0 ? _aiState$customPrompt : '',
119
- onChange: function onChange(e) {
120
- return aiState.setCustomPromptInput(e.target.value);
121
- },
122
- placeholder: t('configurator.inspiration.customPlaceholder')
123
- })]
124
- }), /*#__PURE__*/jsx("button", {
125
- type: "button",
126
- className: generateButton,
127
- onClick: function onClick() {
128
- return selectedItem && aiState.handleGenerate(selectedItem.key, true);
129
- },
130
- disabled: !selectedItem || aiState.isAnyGenerationInProgress || ((_budget$isLimitReache = budget === null || budget === void 0 ? void 0 : budget.isLimitReached) !== null && _budget$isLimitReache !== void 0 ? _budget$isLimitReache : false) || hasImageForCurrentPrompt,
131
- children: hasImageForCurrentPrompt ? t('configurator.inspiration.generated') : aiState.isAnyGenerationInProgress ? t('configurator.inspiration.generating') : generationErrorKey ? t('configurator.inspiration.retry') : t('configurator.inspiration.generate')
132
- }), generationErrorKey && /*#__PURE__*/jsx("p", {
133
- className: errorMessage,
134
- children: t(generationErrorKey, generationErrorKey === 'configurator.roomRendering.aiGenerationError.imageSafety' ? t('configurator.inspiration.imageSafetyError') : generationErrorKey === 'configurator.roomRendering.aiGenerationError.resourceExhausted' ? t('configurator.inspiration.resourceExhaustedError') : t('configurator.inspiration.unknownError'))
135
- }), /*#__PURE__*/jsx("p", {
136
- className: remainingText,
137
- children: scenesRemaining === 1 ? t('configurator.inspiration.remainingOne') : t('configurator.inspiration.remaining', {
138
- scenesRemaining: scenesRemaining
139
- })
140
- })]
141
- }) : /*#__PURE__*/jsx(UnlockCard, {
142
- budgetTotal: (_budget$total = budget === null || budget === void 0 ? void 0 : budget.total) !== null && _budget$total !== void 0 ? _budget$total : 3,
143
- leadBonus: leadBonus,
144
- leadKeyActive: (_budget$leadKeyActive = budget === null || budget === void 0 ? void 0 : budget.leadKeyActive) !== null && _budget$leadKeyActive !== void 0 ? _budget$leadKeyActive : false,
145
- onSubmit: (/*#__PURE__*/function () {
146
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(email) {
147
- var result;
148
- return _regeneratorRuntime.wrap(function _callee$(_context) {
149
- while (1) switch (_context.prev = _context.next) {
150
- case 0:
151
- setKeepUnlockVisible(true);
152
- _context.next = 3;
153
- return aiState.createLeadKey(email);
154
- case 3:
155
- result = _context.sent;
156
- return _context.abrupt("return", result !== null && result !== void 0 ? result : {
157
- success: false
158
- });
159
- case 5:
160
- case "end":
161
- return _context.stop();
162
- }
163
- }, _callee);
164
- }));
165
- return function (_x) {
166
- return _ref2.apply(this, arguments);
167
- };
168
- }()),
169
- onSuccess: function onSuccess() {
170
- return setKeepUnlockVisible(false);
171
- }
172
- })
173
- }), generatedImages.length > 0 && /*#__PURE__*/jsxs("div", {
174
- className: sceneHistory,
175
- children: [/*#__PURE__*/jsx("h4", {
176
- className: sceneHistoryTitle,
177
- children: t('configurator.inspiration.sceneHistory')
178
- }), /*#__PURE__*/jsx("div", {
179
- className: sceneHistorySwiper,
180
- children: /*#__PURE__*/jsx(Swiper, {
181
- modules: [Navigation],
182
- spaceBetween: 8,
183
- slidesPerView: "auto",
184
- navigation: true,
185
- wrapperClass: "no-swiping",
186
- resizeObserver: true,
187
- children: generatedImages.map(function (entry, idx) {
188
- var _aiState$currentlyVis;
189
- return /*#__PURE__*/jsx(SwiperSlide, {
190
- onClick: function onClick() {
191
- return aiState.useAiGeneratedRoom(entry.key, entry.hash, false, entry.src);
192
- },
193
- children: /*#__PURE__*/jsx("div", {
194
- className: "".concat(sceneThumb, " ").concat(((_aiState$currentlyVis = aiState.currentlyVisibleRoom) === null || _aiState$currentlyVis === void 0 ? void 0 : _aiState$currentlyVis.src) === entry.src ? sceneThumbSelected : ''),
195
- children: /*#__PURE__*/jsx("img", {
196
- src: entry.src
197
- })
198
- })
199
- }, "".concat(entry.key, "-").concat(entry.hash, "-").concat(idx));
200
- })
201
- })
202
- })]
203
- }), /*#__PURE__*/jsx("button", {
204
- type: "button",
205
- className: tryVariantLink,
206
- onClick: function onClick() {
207
- var firstStep = viewHandler.tabGroupState.firstVisibleConfigStep;
208
- if (firstStep) viewHandler.navigateToConfigStep(firstStep.key);
209
- },
210
- children: t('configurator.inspiration.tryVariant')
211
- })]
212
- });
213
- };
214
- var StyleConsultant$1 = observer(StyleConsultant);
215
-
216
- export { StyleConsultant$1 as default };
@@ -1,61 +0,0 @@
1
- import { s as styleInject, u as useViewHandler } from './index-22049a2e.js';
2
- import 'react';
3
- import { observer } from 'mobx-react-lite';
4
- import classnames from 'classnames';
5
- import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
6
- import '@babel/runtime/helpers/slicedToArray';
7
- import '@babel/runtime/helpers/defineProperty';
8
- import 'react-dynamic-multi-render';
9
- import '@crystaldesign/diva-core';
10
- import '@babel/runtime/helpers/objectWithoutProperties';
11
- import '@babel/runtime/helpers/asyncToGenerator';
12
- import '@babel/runtime/regenerator';
13
- import '@babel/runtime/helpers/classCallCheck';
14
- import '@babel/runtime/helpers/createClass';
15
- import '@babel/runtime/helpers/toConsumableArray';
16
- import '@crystaldesign/diva-utils';
17
- import 'mobx';
18
- import '@crystaldesign/web-planner-logic';
19
- import 'qrcode.react';
20
- import '@babel/runtime/helpers/typeof';
21
- import 'flat';
22
- import 'react-switch';
23
- import 'react-countup';
24
-
25
- var styleIndicator = "styleIndicator-7N0ZJ";
26
- var mobile = "mobile-lyZP8";
27
- var styleIndicatorImage = "styleIndicatorImage-DRo7q";
28
- var styleIndicatorLabel = "styleIndicatorLabel-8rCfE";
29
- var css_248z = ".styleIndicator-7N0ZJ {\n border-radius: 100px !important;\n}\n\n.styleIndicator-7N0ZJ {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 4px 12px 4px 4px;\n background: rgba(255, 255, 255, 0.85);\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);\n -webkit-backdrop-filter: blur(6px);\n backdrop-filter: blur(6px);\n list-style: none;\n cursor: default;\n animation: styleIndicatorAppear-JwPL- 0.5s ease-out;\n}\n\n.mobile-lyZP8 {\n padding: 0;\n background: none;\n box-shadow: none;\n -webkit-backdrop-filter: none;\n backdrop-filter: none;\n}\n\n.styleIndicatorImage-DRo7q {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n overflow: hidden;\n flex-shrink: 0;\n border: 1px solid rgba(0, 0, 0, 0.06);\n}\n\n.mobile-lyZP8 .styleIndicatorImage-DRo7q {\n width: 32px;\n height: 32px;\n}\n\n.styleIndicatorImage-DRo7q img {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n\n.styleIndicatorLabel-8rCfE {\n font-size: 12px;\n font-weight: 300;\n color: var(--globalColor);\n white-space: nowrap;\n}\n\n@keyframes styleIndicatorAppear-JwPL- {\n 0% {\n opacity: 0;\n transform: scale(0.85);\n }\n 60% {\n transform: scale(1.05);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n";
30
- styleInject(css_248z);
31
-
32
- var StyleIndicator = function StyleIndicator() {
33
- var _aiState$enrichedAiRo;
34
- var viewHandler = useViewHandler();
35
- var aiState = viewHandler.aiState;
36
- var configuratorStructureHandler = viewHandler.configuratorStructureHandler;
37
- var step = configuratorStructureHandler.getConfigStepByKey('STYLE_CONSULTANT');
38
- var selectedStyle = aiState.aiStyleKeyInitializedByEvent ? (_aiState$enrichedAiRo = aiState.enrichedAiRoomRenderings) === null || _aiState$enrichedAiRo === void 0 ? void 0 : _aiState$enrichedAiRo.find(function (r) {
39
- return r.key === aiState.aiSelectedStyleKey;
40
- }) : undefined;
41
- if (!selectedStyle || !step) return /*#__PURE__*/jsx(Fragment, {});
42
- return /*#__PURE__*/jsxs("li", {
43
- className: classnames(styleIndicator, viewHandler.getIsInMobileView() && !viewHandler.uiState.isTablet ? mobile : undefined),
44
- onClick: function onClick() {
45
- return viewHandler.navigateToConfigStep(step.configStep.key);
46
- },
47
- children: [/*#__PURE__*/jsx("div", {
48
- className: styleIndicatorImage,
49
- children: /*#__PURE__*/jsx("img", {
50
- src: selectedStyle.image,
51
- alt: selectedStyle.name
52
- })
53
- }), (!viewHandler.getIsInMobileView() || viewHandler.uiState.isTablet) && /*#__PURE__*/jsx("span", {
54
- className: styleIndicatorLabel,
55
- children: selectedStyle.name
56
- })]
57
- });
58
- };
59
- var StyleIndicator$1 = observer(StyleIndicator);
60
-
61
- export { StyleIndicator$1 as default };