@crystaldesign/diva-web-planner-react 26.4.0-rc.5 → 26.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/{Planner2DGrid-2c0ceeb0.js → Planner2DGrid-d864216f.js} +1 -1
- package/build/esm/{Planner3DImage-9144c26f.js → Planner3DImage-e03b13c7.js} +1 -1
- package/build/esm/UnlockCard-c90761c6.js +188 -0
- package/build/esm/{index-a78d98cc.js → index-049be59f.js} +1 -1
- package/build/esm/{index-546bb0a3.js → index-050f8c71.js} +84 -84
- package/build/esm/{index-5e8706e9.js → index-05137d66.js} +1 -1
- package/build/esm/{index-9b538504.js → index-070d4556.js} +1 -1
- package/build/esm/{index-8de4246c.js → index-078705d8.js} +19 -19
- package/build/esm/{index-606e8f78.js → index-0834596f.js} +67 -67
- package/build/esm/{index-a3048b34.js → index-0842483a.js} +4 -4
- package/build/esm/{index-a8c3d1e1.js → index-099f2591.js} +17 -17
- package/build/esm/{index-efedeb1f.js → index-0a79bac8.js} +1 -1
- package/build/esm/{index-3284d8b1.js → index-0cecef07.js} +2 -2
- package/build/esm/{index-79e33aba.js → index-0f87fd58.js} +1 -1
- package/build/esm/{index-0516b1a4.js → index-10231f44.js} +3 -3
- package/build/esm/{index-d97139e8.js → index-10663c11.js} +15 -15
- package/build/esm/{index-d8beb961.js → index-11cd3977.js} +1 -1
- package/build/esm/{index-ffa0132c.js → index-13e6d29c.js} +1 -1
- package/build/esm/{index-a9560eba.js → index-13ec3005.js} +2 -2
- package/build/esm/{index-21ca6a0d.js → index-164023a3.js} +70 -70
- package/build/esm/{index-6197964c.js → index-178e8e21.js} +1 -1
- package/build/esm/{index-64cce079.js → index-18575397.js} +1 -1
- package/build/esm/{index-915c4156.js → index-1a148555.js} +25 -25
- package/build/esm/{index-7b44db4f.js → index-1aeaef5a.js} +3 -3
- package/build/esm/{index-b40bacfe.js → index-1afd28b8.js} +1 -1
- package/build/esm/{index-7ee0ef14.js → index-1eb17513.js} +1 -1
- package/build/esm/{index-054b1c49.js → index-21d1194a.js} +2 -2
- package/build/esm/{index-9eee8b12.js → index-229710ee.js} +1 -1
- package/build/esm/{index-d69bc776.js → index-24567ee8.js} +1 -1
- package/build/esm/{index-f1594f46.js → index-2488ee7b.js} +6 -6
- package/build/esm/{index-81bda524.js → index-24f2bec7.js} +2 -2
- package/build/esm/{index-8a31e08f.js → index-2726423c.js} +1 -1
- package/build/esm/{index-e69e8be2.js → index-2784eb03.js} +2 -2
- package/build/esm/{index-7b941005.js → index-2790cb5c.js} +1 -1
- package/build/esm/{index-3669574d.js → index-2c41bcf5.js} +2 -2
- package/build/esm/{index-9cd6820c.js → index-2c997745.js} +1 -1
- package/build/esm/{index-7fb885d5.js → index-2fa26691.js} +2 -2
- package/build/esm/{index-66518c3e.js → index-30ae9aca.js} +5 -5
- package/build/esm/{index-11b3e7da.js → index-3132f3df.js} +5 -5
- package/build/esm/{index-529c67c3.js → index-32903988.js} +1 -1
- package/build/esm/{index-a0bd234d.js → index-32aedb7e.js} +1 -1
- package/build/esm/{index-43f9adf8.js → index-3435a4cd.js} +2 -2
- package/build/esm/{index-f40c43ba.js → index-345fe817.js} +1 -1
- package/build/esm/{index-fb597f63.js → index-34c8fecb.js} +73 -73
- package/build/esm/{index-17a0d152.js → index-34fe7cf0.js} +1 -1
- package/build/esm/{index-c9e380c6.js → index-364ba796.js} +1 -1
- package/build/esm/{index-05c4edcb.js → index-365d6bf7.js} +19 -19
- package/build/esm/{index-91996159.js → index-372c1a16.js} +3 -3
- package/build/esm/{index-0e47c63c.js → index-37ff96a6.js} +1 -1
- package/build/esm/{index-ab21d29e.js → index-38d20bf2.js} +20 -20
- package/build/esm/{index-745302ee.js → index-3954252c.js} +1 -1
- package/build/esm/{index-b99d64d5.js → index-3a0f4a98.js} +74 -74
- package/build/esm/{index-a55aef7c.js → index-3a90fae6.js} +1 -1
- package/build/esm/{index-350fcab0.js → index-3afed818.js} +2 -2
- package/build/esm/{index-4b7357d5.js → index-3b04fc58.js} +3 -3
- package/build/esm/{index-3f3646bd.js → index-3e2ea9b4.js} +7 -7
- package/build/esm/{index-9a03a1a0.js → index-3f52c439.js} +1 -1
- package/build/esm/{index-74fa8b6c.js → index-408f2a57.js} +1 -1
- package/build/esm/{index-72efdb02.js → index-42e7658a.js} +65 -65
- package/build/esm/{index-3b1b3539.js → index-42e94dfc.js} +1 -1
- package/build/esm/{index-57f12b2b.js → index-43454c4a.js} +102 -102
- package/build/esm/{index-1a1144c1.js → index-43acdd1f.js} +1 -1
- package/build/esm/{index-681a0798.js → index-449ea5dc.js} +4 -4
- package/build/esm/{index-fd3b6011.js → index-45b57cc0.js} +5 -5
- package/build/esm/{index-0f1fcea0.js → index-479758d6.js} +1 -1
- package/build/esm/{index-e87d9974.js → index-4982a711.js} +1 -1
- package/build/esm/{index-f20614f7.js → index-4987a2a1.js} +66 -66
- package/build/esm/{index-8e6b5d57.js → index-4ab4f4d7.js} +2 -2
- package/build/esm/{index-dfd3e059.js → index-4b48d1a3.js} +3 -3
- package/build/esm/{index-185feb74.js → index-4dcff7ae.js} +1 -1
- package/build/esm/{index-4efccdf2.js → index-4f9e1473.js} +6 -6
- package/build/esm/{index-61a5fb85.js → index-4fff8588.js} +1 -1
- package/build/esm/{index-f883880a.js → index-5265d62a.js} +21 -21
- package/build/esm/{index-cb209ba2.js → index-5297dc08.js} +2 -2
- package/build/esm/{index-ff65b3c7.js → index-548b3e24.js} +1 -1
- package/build/esm/{index-9061ab00.js → index-56c0c883.js} +76 -76
- package/build/esm/{index-f3d112e1.js → index-57355a39.js} +1 -1
- package/build/esm/{index-7741200b.js → index-57a512e1.js} +20 -20
- package/build/esm/{index-30ef43d4.js → index-588cb86c.js} +1 -1
- package/build/esm/{index-5386b456.js → index-59036c66.js} +5 -5
- package/build/esm/{index-aaedcd71.js → index-593ea437.js} +1 -1
- package/build/esm/{index-23593530.js → index-594d14fb.js} +3 -3
- package/build/esm/{index-4ba644a2.js → index-596fc694.js} +1 -1
- package/build/esm/{index-52724e7f.js → index-599f6328.js} +1 -1
- package/build/esm/{index-93cec8b2.js → index-5a7ee783.js} +1 -1
- package/build/esm/{index-98a8c79e.js → index-5b02449b.js} +1 -1
- package/build/esm/{index-2eaf035a.js → index-5ba60cff.js} +1 -1
- package/build/esm/{index-3e626fdf.js → index-5ba769c3.js} +1 -1
- package/build/esm/{index-ed6de348.js → index-5d6d6472.js} +5 -5
- package/build/esm/{index-36475075.js → index-5db5c097.js} +2 -2
- package/build/esm/{index-c2948898.js → index-5ebc8192.js} +68 -68
- package/build/esm/{index-595bef8d.js → index-614ad812.js} +7 -7
- package/build/esm/{index-8d0b85c1.js → index-61c1f59a.js} +1 -1
- package/build/esm/{index-7c02270c.js → index-61d02f4b.js} +1 -1
- package/build/esm/{index-37e1c5fd.js → index-62129cff.js} +2 -2
- package/build/esm/{index-53e24191.js → index-65d01940.js} +2 -2
- package/build/esm/{index-b23b8890.js → index-68bd2f28.js} +3 -3
- package/build/esm/{index-9e1d46c9.js → index-69c11953.js} +2 -2
- package/build/esm/{index-62cc2599.js → index-6a20dab0.js} +2 -2
- package/build/esm/{index-7d680794.js → index-6c8b4a76.js} +1 -1
- package/build/esm/{index-fa44ac21.js → index-6c9e72ba.js} +1 -1
- package/build/esm/{index-e47a7dfc.js → index-6e91eb86.js} +90 -90
- package/build/esm/{index-8e598ac6.js → index-6fac4c28.js} +87 -87
- package/build/esm/{index-92b4ba6c.js → index-71002ceb.js} +2 -2
- package/build/esm/{index-46b3460b.js → index-712ae276.js} +1 -1
- package/build/esm/{index-a81cae1f.js → index-72122d8a.js} +1 -1
- package/build/esm/{index-7bef288c.js → index-7233dc53.js} +1 -1
- package/build/esm/{index-de4f2487.js → index-74f39781.js} +1 -1
- package/build/esm/{index-6f1075f1.js → index-77409843.js} +1 -1
- package/build/esm/{index-fc3830f4.js → index-780d4b78.js} +1 -1
- package/build/esm/{index-cea719c6.js → index-79021a7f.js} +5 -5
- package/build/esm/{index-61d21c0a.js → index-7a542946.js} +2 -2
- package/build/esm/{index-8f0d8f36.js → index-7b70ef6a.js} +3 -3
- package/build/esm/{index-eae71f1a.js → index-7dc429a4.js} +1 -1
- package/build/esm/{index-f89f1bb5.js → index-801445df.js} +3 -3
- package/build/esm/{index-f393e324.js → index-827c0ab3.js} +2 -2
- package/build/esm/{index-cae82cea.js → index-835f383d.js} +2 -2
- package/build/esm/{index-5a863528.js → index-83a47839.js} +21 -21
- package/build/esm/{index-1133d782.js → index-845111b8.js} +1 -1
- package/build/esm/{index-f158b758.js → index-84af05d4.js} +3 -3
- package/build/esm/{index-2296a720.js → index-84c2b83f.js} +1 -1
- package/build/esm/{index-c77dfedc.js → index-8528a3c2.js} +5 -5
- package/build/esm/{index-9ec2575d.js → index-856f2a83.js} +1 -1
- package/build/esm/{index-4e2933c8.js → index-89000a43.js} +4 -4
- package/build/esm/{index-2491a713.js → index-89db1a9d.js} +89 -89
- package/build/esm/{index-f4d95517.js → index-8a95da51.js} +1 -1
- package/build/esm/{index-801d8ee2.js → index-8b7692bc.js} +1 -1
- package/build/esm/{index-ddaf035f.js → index-8c8696de.js} +5 -5
- package/build/esm/{index-65e3d093.js → index-8cf06edb.js} +5 -5
- package/build/esm/{index-2337f733.js → index-8d069b96.js} +1 -1
- package/build/esm/{index-f14387bb.js → index-8e216e6a.js} +1 -1
- package/build/esm/{index-7fe066bc.js → index-8e384844.js} +1 -1
- package/build/esm/{index-6857774f.js → index-8fa48288.js} +1 -1
- package/build/esm/{index-b4a09cd0.js → index-8fcc5c93.js} +1 -1
- package/build/esm/{index-a7e70159.js → index-9066c99f.js} +1 -1
- package/build/esm/{index-d1cf9442.js → index-90ae53e2.js} +1 -1
- package/build/esm/{index-0ea8679c.js → index-910cf159.js} +3 -3
- package/build/esm/{index-e19ac221.js → index-911d1fde.js} +1 -1
- package/build/esm/{index-feb7dd9e.js → index-935efa21.js} +3 -3
- package/build/esm/{index-4cc10ba1.js → index-93c5223b.js} +2 -2
- package/build/esm/{index-98f03fea.js → index-952ad9e9.js} +1 -1
- package/build/esm/{index-78c30d63.js → index-976967a4.js} +5 -5
- package/build/esm/{index-f1288a79.js → index-98190440.js} +1 -1
- package/build/esm/{index-4fb0315e.js → index-99794a6f.js} +1 -1
- package/build/esm/{index-41fbf3af.js → index-9a9285c0.js} +1 -1
- package/build/esm/{index-c65b99f4.js → index-9c4e5318.js} +3 -3
- package/build/esm/{index-69e28e87.js → index-9c580752.js} +20 -20
- package/build/esm/{index-753e578b.js → index-9d180f9a.js} +1 -1
- package/build/esm/{index-df8d5298.js → index-9d3461be.js} +1 -1
- package/build/esm/{index-53b21178.js → index-a00c6df0.js} +1 -1
- package/build/esm/{index-3237a8de.js → index-a30bd83a.js} +1 -1
- package/build/esm/{index-795c0fbe.js → index-a3e23829.js} +1 -1
- package/build/esm/{index-afb9b2ca.js → index-a67d2e41.js} +2 -2
- package/build/esm/{index-b1ac0d35.js → index-ac980b10.js} +1 -1
- package/build/esm/{index-167c00d4.js → index-b3b77ac7.js} +1 -1
- package/build/esm/{index-b0b4ab84.js → index-b5220d8c.js} +3 -3
- package/build/esm/{index-0d245742.js → index-b60422a9.js} +89 -89
- package/build/esm/{index-6e142003.js → index-b6b6b280.js} +8 -8
- package/build/esm/{index-7a683a03.js → index-b872a323.js} +1 -1
- package/build/esm/{index-187d6e33.js → index-b904f7bc.js} +1 -1
- package/build/esm/{index-fabe67b6.js → index-ba3fa00a.js} +1 -1
- package/build/esm/{index-d27a4968.js → index-ba6589d7.js} +1 -1
- package/build/esm/{index-01106c57.js → index-bbbbadd8.js} +3 -3
- package/build/esm/{index-4e85ce0f.js → index-bda44f41.js} +1 -1
- package/build/esm/{index-23e05462.js → index-bfcdd8e9.js} +2 -2
- package/build/esm/{index-a90eca27.js → index-c1f0559b.js} +1 -1
- package/build/esm/{index-41969b28.js → index-c28858dd.js} +90 -90
- package/build/esm/{index-a9a26070.js → index-c2da6b66.js} +3 -3
- package/build/esm/{index-c900d1f9.js → index-c4ef0644.js} +1 -1
- package/build/esm/{index-4a80ef83.js → index-c532b3a1.js} +1 -1
- package/build/esm/{index-a92bab60.js → index-c580ef3d.js} +1 -1
- package/build/esm/{index-2744d60b.js → index-c88c5cb9.js} +2 -2
- package/build/esm/{index-2f1ec53e.js → index-c90de16e.js} +1 -1
- package/build/esm/{index-5be60ddf.js → index-c9296557.js} +4 -4
- package/build/esm/{index-3e00a147.js → index-c98ce46a.js} +3 -3
- package/build/esm/{index-b83c1bd7.js → index-c9e5e1e0.js} +68 -68
- package/build/esm/{index-d83c3992.js → index-cb04bf85.js} +1 -1
- package/build/esm/{index-087d21e9.js → index-cb41ffed.js} +70 -70
- package/build/esm/{index-2655f141.js → index-cc853cba.js} +8 -8
- package/build/esm/{index-7c649945.js → index-cd414bfb.js} +71 -71
- package/build/esm/{index-9816d100.js → index-cda32900.js} +1 -1
- package/build/esm/{index-8c3be754.js → index-cdbf5758.js} +1 -1
- package/build/esm/{index-0ee09835.js → index-cf43eed6.js} +2 -2
- package/build/esm/{index-1198bdc0.js → index-d104d20e.js} +1 -1
- package/build/esm/{index-1aa170f7.js → index-d2071267.js} +1 -1
- package/build/esm/{index-25c6143d.js → index-d2e8fde5.js} +1 -1
- package/build/esm/{index-1c518ae1.js → index-d59ce358.js} +1 -1
- package/build/esm/{index-4fc43ba7.js → index-d5d77fe8.js} +3 -3
- package/build/esm/{index-296237c8.js → index-d7d39f6b.js} +1 -1
- package/build/esm/{index-9e5cb781.js → index-d81731d8.js} +5 -5
- package/build/esm/{index-f27c512c.js → index-d8ac6341.js} +1 -1
- package/build/esm/{index-b630f864.js → index-d8bc4be4.js} +5 -5
- package/build/esm/{index-2f662326.js → index-d9cbc6a8.js} +1 -1
- package/build/esm/{index-fa06f897.js → index-da507159.js} +3 -3
- package/build/esm/{index-ff33e573.js → index-de12f43a.js} +103 -103
- package/build/esm/{index-40cf1ca2.js → index-e0bcc9dd.js} +2 -2
- package/build/esm/{index-839f837b.js → index-e12ebe4f.js} +66 -66
- package/build/esm/{index-1361ec87.js → index-e18a9ad2.js} +1 -1
- package/build/esm/{index-438111e9.js → index-e2872dd7.js} +65 -65
- package/build/esm/{index-85d724d0.js → index-e2982260.js} +2 -2
- package/build/esm/{index-4dc2ffe8.js → index-e3bc1a41.js} +247 -244
- package/build/esm/{index-1cc7410c.js → index-e4e9f880.js} +3 -3
- package/build/esm/{index-8cfc6016.js → index-e692b051.js} +1 -1
- package/build/esm/{index-a76c51e8.js → index-e8858be9.js} +91 -91
- package/build/esm/{index-57409256.js → index-ea09f32a.js} +18 -18
- package/build/esm/{index-04d84870.js → index-ea47a2d1.js} +1 -1
- package/build/esm/{index-00a745dc.js → index-ea7ae426.js} +2 -2
- package/build/esm/{index-211217c7.js → index-eb5e8580.js} +4 -4
- package/build/esm/{index-9a972c55.js → index-edd857c5.js} +8 -8
- package/build/esm/{index-e69210d3.js → index-ee64a08d.js} +1 -1
- package/build/esm/{index-fb4ea3c3.js → index-f0e74441.js} +2 -2
- package/build/esm/{index-3c7bdac2.js → index-f1c40216.js} +5 -5
- package/build/esm/{index-24cc916b.js → index-f382c7f3.js} +1 -1
- package/build/esm/{index-f6259620.js → index-f47acf56.js} +2 -2
- package/build/esm/{index-06b032d5.js → index-f7d80962.js} +2 -2
- package/build/esm/{index-672ea04a.js → index-f9e7d718.js} +1 -1
- package/build/esm/{index-60e59034.js → index-fa51fb6c.js} +1 -1
- package/build/esm/{index-96f20095.js → index-fa9b88f1.js} +1 -1
- package/build/esm/{index-b5ac9dd4.js → index-fb764c48.js} +69 -69
- package/build/esm/{index-1f5d7d2b.js → index-fbace0a9.js} +1 -1
- package/build/esm/{index-ac45e4d8.js → index-fd13444f.js} +1 -1
- package/build/esm/{index-8c036c70.js → index-fe4deec3.js} +6 -6
- package/build/esm/{index-886b031a.js → index-fe93b6fc.js} +3 -3
- package/build/esm/{index-2fe552b2.js → index-ff4990b9.js} +1 -1
- package/build/esm/{index-9b0fab26.js → index-ff7fd1a2.js} +22 -22
- package/build/esm/index.js +1 -1
- package/build/esm/{index.module-be53d4bf.js → index.module-08f4805e.js} +1 -1
- package/build/esm/{index.module-5b205f7f.js → index.module-225adff8.js} +1 -1
- package/build/esm/{index.module-e7cef57b.js → index.module-39d443cd.js} +1 -1
- package/build/esm/{index.module-79870477.js → index.module-7b6cba8b.js} +1 -1
- package/build/esm/{index.module-a0eb99ed.js → index.module-a5a33cac.js} +1 -1
- package/build/esm/{index.module-16a900be.js → index.module-bcdc4577.js} +1 -1
- package/build/esm/{index.module-6743da68.js → index.module-c0ff3aac.js} +1 -1
- package/build/esm/{index.module-6f4ddb2a.js → index.module-ecb6ca28.js} +1 -1
- package/build/esm/{index.module-dcbfa4a7.js → index.module-f14e8675.js} +1 -1
- package/build/esm/{useCustomDimensions-79bea366.js → useCustomDimensions-ced01006.js} +1 -1
- package/build/esm/{ussIsSticky-c40d1d3b.js → ussIsSticky-6b248198.js} +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/States/UIState/AI/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/States/UIState/ActionButtons/index.d.ts +1 -1
- package/build/types/web-planner-react/src/model/States/UIState/ActionButtons/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/TabGroup/ConfiguratorStructureHandler.d.ts +1 -1
- package/build/types/web-planner-react/src/model/TabGroup/ConfiguratorStructureHandler.d.ts.map +1 -1
- package/build/umd/1713.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2539.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3425.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3543.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/419.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4247.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4874.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5768.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5820.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6171.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8515.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8606.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9638.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +8 -8
- package/build/esm/UnlockCard-efefccbf.js +0 -191
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-e3bc1a41.js';
|
|
5
5
|
import { fabric } from 'fabric';
|
|
6
6
|
import { Vector3, Vector2 } from '@crystaldesign/web-planner-logic';
|
|
7
7
|
import { getLogger, DivaUtils } from '@crystaldesign/diva-core';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-e3bc1a41.js';
|
|
5
5
|
import { Vector3, Vector2, Rendering } from '@crystaldesign/web-planner-logic';
|
|
6
6
|
import { getLogger } from '@crystaldesign/diva-core';
|
|
7
7
|
import * as THREE from 'three';
|
|
@@ -0,0 +1,188 @@
|
|
|
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-e3bc1a41.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.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: 14px;\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: 14px;\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 ? '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', "Sie haben Ihre ".concat(budgetTotal, " inklusiven Raumbilder genutzt. Wir schenken Ihnen gerne ").concat(leadBonus, " weitere \u2013 damit Sie Ihren Tjala in noch mehr Stilwelten erleben k\xF6nnen."))
|
|
158
|
+
}), /*#__PURE__*/jsx("input", {
|
|
159
|
+
type: "email",
|
|
160
|
+
className: unlockEmailInput,
|
|
161
|
+
value: email,
|
|
162
|
+
onChange: function onChange(e) {
|
|
163
|
+
return setEmail(e.target.value);
|
|
164
|
+
},
|
|
165
|
+
placeholder: t('configurator.inspiration.emailPlaceholder', 'ihre.email@beispiel.de'),
|
|
166
|
+
disabled: phase === 'loading'
|
|
167
|
+
}), phase === 'error' && errorMsg && /*#__PURE__*/jsx("p", {
|
|
168
|
+
className: unlockText,
|
|
169
|
+
children: errorMsg
|
|
170
|
+
}), /*#__PURE__*/jsxs("button", {
|
|
171
|
+
type: "button",
|
|
172
|
+
className: unlockSubmitButton,
|
|
173
|
+
disabled: phase === 'loading' || !DivaUtils.validateEmail(email),
|
|
174
|
+
onClick: handleSubmit,
|
|
175
|
+
children: [phase === 'loading' ? t('configurator.inspiration.unlocking', 'Wird freigeschaltet…') : t('configurator.inspiration.unlockButton', "".concat(leadBonus, " weitere Raumbilder freischalten")), phase !== 'loading' && /*#__PURE__*/jsx("span", {
|
|
176
|
+
className: unlockSubmitArrow,
|
|
177
|
+
children: "\u2192"
|
|
178
|
+
})]
|
|
179
|
+
})]
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
var UnlockCard$1 = /*#__PURE__*/Object.freeze({
|
|
184
|
+
__proto__: null,
|
|
185
|
+
'default': UnlockCard
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
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,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, u as useViewHandler } from './index-
|
|
1
|
+
import { s as styleInject, u as useViewHandler } from './index-e3bc1a41.js';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as styleInject, u as useViewHandler } from './index-
|
|
1
|
+
import { s as styleInject, u as useViewHandler } from './index-e3bc1a41.js';
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
-
import Settings from './index-
|
|
4
|
-
import TabGroup from './index-
|
|
3
|
+
import Settings from './index-56c0c883.js';
|
|
4
|
+
import TabGroup from './index-4f9e1473.js';
|
|
5
5
|
import { observer } from 'mobx-react-lite';
|
|
6
|
-
import Inputbox from './index-
|
|
6
|
+
import Inputbox from './index-5a7ee783.js';
|
|
7
7
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
8
8
|
import '@babel/runtime/helpers/slicedToArray';
|
|
9
9
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -24,99 +24,99 @@ import '@babel/runtime/helpers/typeof';
|
|
|
24
24
|
import 'flat';
|
|
25
25
|
import 'react-switch';
|
|
26
26
|
import 'react-countup';
|
|
27
|
-
import './index-
|
|
28
|
-
import './index-
|
|
27
|
+
import './index-c532b3a1.js';
|
|
28
|
+
import './index-cb41ffed.js';
|
|
29
29
|
import '@babel/runtime/helpers/objectDestructuringEmpty';
|
|
30
|
-
import './index-
|
|
31
|
-
import './index-
|
|
32
|
-
import './index-
|
|
30
|
+
import './index-c4ef0644.js';
|
|
31
|
+
import './index-0834596f.js';
|
|
32
|
+
import './index-57a512e1.js';
|
|
33
33
|
import 'sift';
|
|
34
|
-
import './index-
|
|
35
|
-
import './index-
|
|
36
|
-
import './index-
|
|
37
|
-
import './index-
|
|
38
|
-
import './index.module-
|
|
39
|
-
import './index-
|
|
40
|
-
import './index-
|
|
34
|
+
import './index-5ba769c3.js';
|
|
35
|
+
import './index-13e6d29c.js';
|
|
36
|
+
import './index-ea47a2d1.js';
|
|
37
|
+
import './index-89000a43.js';
|
|
38
|
+
import './index.module-7b6cba8b.js';
|
|
39
|
+
import './index-3954252c.js';
|
|
40
|
+
import './index-ff4990b9.js';
|
|
41
41
|
import '@mui/icons-material/Block';
|
|
42
42
|
import '@mui/icons-material/Warning';
|
|
43
|
-
import './index-
|
|
43
|
+
import './index-cc853cba.js';
|
|
44
44
|
import 'react-dropdown';
|
|
45
|
-
import './index-
|
|
46
|
-
import './index-
|
|
47
|
-
import './index-
|
|
48
|
-
import './index-
|
|
45
|
+
import './index-59036c66.js';
|
|
46
|
+
import './index-0cecef07.js';
|
|
47
|
+
import './index-b3b77ac7.js';
|
|
48
|
+
import './index-bfcdd8e9.js';
|
|
49
49
|
import '@crystaldesign/content-box';
|
|
50
|
-
import './index-
|
|
51
|
-
import './index-
|
|
52
|
-
import './index-
|
|
53
|
-
import './index-
|
|
50
|
+
import './index-fbace0a9.js';
|
|
51
|
+
import './index-2790cb5c.js';
|
|
52
|
+
import './index-e18a9ad2.js';
|
|
53
|
+
import './index-935efa21.js';
|
|
54
54
|
import 'swiper/react';
|
|
55
55
|
import 'swiper/modules';
|
|
56
|
-
import './UnlockCard-
|
|
57
|
-
import './index-
|
|
58
|
-
import './index-
|
|
59
|
-
import './index-
|
|
60
|
-
import './index-
|
|
61
|
-
import './index-
|
|
62
|
-
import './index-
|
|
56
|
+
import './UnlockCard-c90761c6.js';
|
|
57
|
+
import './index-eb5e8580.js';
|
|
58
|
+
import './index-1a148555.js';
|
|
59
|
+
import './index-780d4b78.js';
|
|
60
|
+
import './index-37ff96a6.js';
|
|
61
|
+
import './index-72122d8a.js';
|
|
62
|
+
import './index-5d6d6472.js';
|
|
63
63
|
import 'react-laag';
|
|
64
|
-
import './index.module-
|
|
65
|
-
import './index-
|
|
66
|
-
import './index-
|
|
67
|
-
import './index-
|
|
68
|
-
import './index-
|
|
69
|
-
import './index-
|
|
70
|
-
import './index.module-
|
|
71
|
-
import './index-
|
|
72
|
-
import './index-
|
|
73
|
-
import './index-
|
|
74
|
-
import './index-
|
|
75
|
-
import './index-
|
|
76
|
-
import './index-
|
|
77
|
-
import './index-
|
|
78
|
-
import './index-
|
|
79
|
-
import './index-
|
|
80
|
-
import './index-
|
|
81
|
-
import './index-
|
|
82
|
-
import './index-
|
|
83
|
-
import './index-
|
|
64
|
+
import './index.module-c0ff3aac.js';
|
|
65
|
+
import './index-8e216e6a.js';
|
|
66
|
+
import './index-61d02f4b.js';
|
|
67
|
+
import './index-32903988.js';
|
|
68
|
+
import './index-8e384844.js';
|
|
69
|
+
import './index-1aeaef5a.js';
|
|
70
|
+
import './index.module-bcdc4577.js';
|
|
71
|
+
import './index-f0e74441.js';
|
|
72
|
+
import './index-c90de16e.js';
|
|
73
|
+
import './index-fe93b6fc.js';
|
|
74
|
+
import './index-d7d39f6b.js';
|
|
75
|
+
import './index-45b57cc0.js';
|
|
76
|
+
import './index-74f39781.js';
|
|
77
|
+
import './index-8c8696de.js';
|
|
78
|
+
import './index-372c1a16.js';
|
|
79
|
+
import './index-b5220d8c.js';
|
|
80
|
+
import './index-4982a711.js';
|
|
81
|
+
import './index-c2da6b66.js';
|
|
82
|
+
import './index-34fe7cf0.js';
|
|
83
|
+
import './index-3a90fae6.js';
|
|
84
84
|
import 'rc-slider';
|
|
85
|
-
import './index-
|
|
86
|
-
import './index-
|
|
87
|
-
import './index-
|
|
88
|
-
import './index-
|
|
89
|
-
import './index-
|
|
85
|
+
import './index-da507159.js';
|
|
86
|
+
import './index-ea7ae426.js';
|
|
87
|
+
import './index-71002ceb.js';
|
|
88
|
+
import './index-ea09f32a.js';
|
|
89
|
+
import './index-952ad9e9.js';
|
|
90
90
|
import 'react-confetti-explosion';
|
|
91
|
-
import './index-
|
|
92
|
-
import './index-
|
|
93
|
-
import './index-
|
|
91
|
+
import './index-8528a3c2.js';
|
|
92
|
+
import './index-3b04fc58.js';
|
|
93
|
+
import './index-ba3fa00a.js';
|
|
94
94
|
import 'react-qr-code';
|
|
95
|
-
import './index-
|
|
96
|
-
import './useCustomDimensions-
|
|
97
|
-
import './index-
|
|
98
|
-
import './ussIsSticky-
|
|
99
|
-
import './index-
|
|
100
|
-
import './index-
|
|
101
|
-
import './index-
|
|
102
|
-
import './index.module-
|
|
103
|
-
import './index-
|
|
104
|
-
import './index-
|
|
105
|
-
import './index-
|
|
106
|
-
import './index-
|
|
107
|
-
import './index-
|
|
108
|
-
import './index-
|
|
109
|
-
import './index.module-
|
|
110
|
-
import './index-
|
|
111
|
-
import './index-
|
|
112
|
-
import './index-
|
|
113
|
-
import './index-
|
|
95
|
+
import './index-ba6589d7.js';
|
|
96
|
+
import './useCustomDimensions-ced01006.js';
|
|
97
|
+
import './index-ee64a08d.js';
|
|
98
|
+
import './ussIsSticky-6b248198.js';
|
|
99
|
+
import './index-edd857c5.js';
|
|
100
|
+
import './index-3e2ea9b4.js';
|
|
101
|
+
import './index-c98ce46a.js';
|
|
102
|
+
import './index.module-f14e8675.js';
|
|
103
|
+
import './index-fa9b88f1.js';
|
|
104
|
+
import './index-3435a4cd.js';
|
|
105
|
+
import './index-f382c7f3.js';
|
|
106
|
+
import './index-fe4deec3.js';
|
|
107
|
+
import './index-4987a2a1.js';
|
|
108
|
+
import './index-588cb86c.js';
|
|
109
|
+
import './index.module-08f4805e.js';
|
|
110
|
+
import './index-3a0f4a98.js';
|
|
111
|
+
import './index-05137d66.js';
|
|
112
|
+
import './index-4ab4f4d7.js';
|
|
113
|
+
import './index-e0bcc9dd.js';
|
|
114
114
|
import '@mui/material';
|
|
115
|
-
import './index-
|
|
116
|
-
import './index-
|
|
117
|
-
import './index-
|
|
118
|
-
import './index-
|
|
119
|
-
import './index-
|
|
115
|
+
import './index-7a542946.js';
|
|
116
|
+
import './index-5b02449b.js';
|
|
117
|
+
import './index-5297dc08.js';
|
|
118
|
+
import './index-57355a39.js';
|
|
119
|
+
import './index-42e94dfc.js';
|
|
120
120
|
|
|
121
121
|
var wcConfigurator = "wcConfigurator-IeI91";
|
|
122
122
|
var wcConfiguratorSteps = "wc-configurator-steps-yPThi";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
-
import { s as styleInject, u as useViewHandler } from './index-
|
|
2
|
+
import { s as styleInject, u as useViewHandler } from './index-e3bc1a41.js';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import { useState, useEffect } from 'react';
|
|
5
5
|
import classnames from 'classnames';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
-
import { u as useViewHandler } from './index-
|
|
2
|
+
import { u as useViewHandler } from './index-e3bc1a41.js';
|
|
3
3
|
import { useState, useRef } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Vector2 } from '@crystaldesign/web-planner-logic';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
-
import { u as useViewHandler } from './index-
|
|
2
|
+
import { u as useViewHandler } from './index-e3bc1a41.js';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import React, { Suspense } from 'react';
|
|
5
|
-
import Planner2DGrid from './index-
|
|
6
|
-
import Planner3DImage from './index-
|
|
7
|
-
import PlannerAIRoom from './index-
|
|
8
|
-
import { w as wcConfiguratorProductCenter, p as portrait, l as landscape, i as inGridVisible, f as fullscreen, a as wcConfiguratorArticleImage, c as center } from './index.module-
|
|
5
|
+
import Planner2DGrid from './index-77409843.js';
|
|
6
|
+
import Planner3DImage from './index-68bd2f28.js';
|
|
7
|
+
import PlannerAIRoom from './index-712ae276.js';
|
|
8
|
+
import { w as wcConfiguratorProductCenter, p as portrait, l as landscape, i as inGridVisible, f as fullscreen, a as wcConfiguratorArticleImage, c as center } from './index.module-225adff8.js';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
|
-
import Planner3DGrid from './index-
|
|
11
|
-
import PlannerMsgContainer from './index-
|
|
12
|
-
import PlannerUIVariant from './index-
|
|
13
|
-
import RotateInfo from './index-
|
|
14
|
-
import OrbitInteraction from './index-
|
|
15
|
-
import MobileNavIcons from './index-
|
|
16
|
-
import Logo from './index-
|
|
10
|
+
import Planner3DGrid from './index-93c5223b.js';
|
|
11
|
+
import PlannerMsgContainer from './index-9d180f9a.js';
|
|
12
|
+
import PlannerUIVariant from './index-99794a6f.js';
|
|
13
|
+
import RotateInfo from './index-8fcc5c93.js';
|
|
14
|
+
import OrbitInteraction from './index-18575397.js';
|
|
15
|
+
import MobileNavIcons from './index-f1c40216.js';
|
|
16
|
+
import Logo from './index-d9cbc6a8.js';
|
|
17
17
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
import '@babel/runtime/helpers/slicedToArray';
|
|
19
19
|
import 'react-dynamic-multi-render';
|
|
@@ -32,24 +32,24 @@ import '@babel/runtime/helpers/typeof';
|
|
|
32
32
|
import 'flat';
|
|
33
33
|
import 'react-switch';
|
|
34
34
|
import 'react-countup';
|
|
35
|
-
import './index-
|
|
35
|
+
import './index-cb04bf85.js';
|
|
36
36
|
import 'swiper/react';
|
|
37
37
|
import 'swiper/modules';
|
|
38
38
|
import '@babel/runtime/helpers/objectDestructuringEmpty';
|
|
39
|
-
import './index-
|
|
39
|
+
import './index-3b04fc58.js';
|
|
40
40
|
import 'react-laag';
|
|
41
|
-
import './index-
|
|
41
|
+
import './index-ba3fa00a.js';
|
|
42
42
|
import 'react-qr-code';
|
|
43
|
-
import './index-
|
|
44
|
-
import './index-
|
|
43
|
+
import './index-ba6589d7.js';
|
|
44
|
+
import './index-a3e23829.js';
|
|
45
45
|
|
|
46
46
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
47
47
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
48
48
|
var Planner3D = /*#__PURE__*/React.lazy(function () {
|
|
49
|
-
return import('./index-
|
|
49
|
+
return import('./index-f7d80962.js');
|
|
50
50
|
});
|
|
51
51
|
var PlannerRTV = /*#__PURE__*/React.lazy(function () {
|
|
52
|
-
return import('./index-
|
|
52
|
+
return import('./index-845111b8.js');
|
|
53
53
|
});
|
|
54
54
|
var ProductCenter = function ProductCenter(_ref) {
|
|
55
55
|
var style = _ref.style;
|