@crystaldesign/diva-web-planner-react 26.11.0-beta.9 → 26.12.0-beta.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.
- package/build/esm/{Planner2DGrid-e0c0e5f1.js → Planner2DGrid-3b70b230.js} +1 -1
- package/build/esm/{Planner3DImage-77d6883e.js → Planner3DImage-16aca072.js} +1 -1
- package/build/esm/{UnlockCard-55b6cf16.js → UnlockCard-6c291115.js} +1 -1
- package/build/esm/{index-8dfc95b6.js → index-00c131c0.js} +1 -1
- package/build/esm/{index-4a0ad231.js → index-01af1d2d.js} +1 -1
- package/build/esm/{index-330c8bb3.js → index-03564b85.js} +1 -1
- package/build/esm/{index-a32d8efb.js → index-04b501b0.js} +1 -1
- package/build/esm/{index-5b8d0846.js → index-053fdaab.js} +1 -1
- package/build/esm/{index-7e80bcf0.js → index-05a3a4b1.js} +1 -1
- package/build/esm/{index-a6bef904.js → index-071c84a2.js} +18 -18
- package/build/esm/{index-d8cc0435.js → index-0841d78b.js} +1 -1
- package/build/esm/{index-dd1edbfb.js → index-09fed747.js} +1 -1
- package/build/esm/{index-5880a3a7.js → index-0b268c9b.js} +1 -1
- package/build/esm/{index-016a42f8.js → index-0b541524.js} +89 -89
- package/build/esm/{index-aaffd6c5.js → index-0bfc7267.js} +1 -1
- package/build/esm/{index-e674a7a5.js → index-0cb1cf07.js} +1 -1
- package/build/esm/{index-523584e7.js → index-0cfafdbc.js} +2 -2
- package/build/esm/{index-e8c98239.js → index-0efead1c.js} +70 -70
- package/build/esm/{index-3ac67ffa.js → index-104f542f.js} +2 -2
- package/build/esm/{index-11afb336.js → index-11715177.js} +1 -1
- package/build/esm/{index-2244bd73.js → index-120bd7a4.js} +1 -1
- package/build/esm/{index-fca26bd4.js → index-121eb2e0.js} +67 -67
- package/build/esm/{index-c825cfa9.js → index-15cd5e0b.js} +1 -1
- package/build/esm/{index-6dabc1c1.js → index-168b0767.js} +1 -1
- package/build/esm/{index-62e4c551.js → index-19aad45c.js} +1 -1
- package/build/esm/{index-7065d832.js → index-1cc3323b.js} +1 -1
- package/build/esm/{index-72b12d8b.js → index-1e8c31a9.js} +1 -1
- package/build/esm/{index-c6f61e98.js → index-1fbf6ae1.js} +1 -1
- package/build/esm/{index-319ffbe6.js → index-21858b1f.js} +1 -1
- package/build/esm/{index-ed663609.js → index-2216713d.js} +1 -1
- package/build/esm/{index-eb2493e6.js → index-268bf50c.js} +1 -1
- package/build/esm/{index-313ed7c6.js → index-26cb172f.js} +8 -8
- package/build/esm/{index-04a6c011.js → index-2a9cffc5.js} +1 -1
- package/build/esm/{index-0c5322b3.js → index-2bacb676.js} +4 -4
- package/build/esm/{index-9eaf088d.js → index-2ebf61bf.js} +25 -3
- package/build/esm/{index-1712e23a.js → index-2f37f4be.js} +3 -3
- package/build/esm/{index-fe6fe4ec.js → index-338bd87a.js} +1 -1
- package/build/esm/{index-5144b611.js → index-34d65310.js} +3 -3
- package/build/esm/{index-76574f2c.js → index-3675eed5.js} +3 -3
- package/build/esm/{index-844e7953.js → index-37e5ce26.js} +20 -20
- package/build/esm/{index-5c8713ef.js → index-3a55222a.js} +15 -15
- package/build/esm/index-3a74cfbb.js +99 -0
- package/build/esm/{index-57755700.js → index-3b029782.js} +1 -1
- package/build/esm/{index-9bcee385.js → index-3c2d93de.js} +65 -65
- package/build/esm/{index-89c60f52.js → index-3d81c149.js} +1 -1
- package/build/esm/{index-1c2fa152.js → index-40224a79.js} +3 -3
- package/build/esm/{index-c001685f.js → index-43bfd796.js} +5 -5
- package/build/esm/{index-9f3e2e7f.js → index-43c63bd9.js} +69 -69
- package/build/esm/{index-87b05b82.js → index-44edb0b8.js} +2 -2
- package/build/esm/{index-798961b8.js → index-474fbb26.js} +17 -17
- package/build/esm/{index-2620fcf0.js → index-484cf5d3.js} +1 -1
- package/build/esm/{index-df16bc12.js → index-488c6b05.js} +1 -1
- package/build/esm/{index-64a3ed5d.js → index-499b6e94.js} +1 -1
- package/build/esm/{index-07125b9c.js → index-499e3899.js} +4 -4
- package/build/esm/{index-2d3dbf23.js → index-4af1b9dd.js} +5 -5
- package/build/esm/{index-1cb9efa0.js → index-4caf63e2.js} +6 -6
- package/build/esm/{index-c173b3ad.js → index-4edd4580.js} +2 -2
- package/build/esm/{index-1bf7906c.js → index-4efd0824.js} +4 -4
- package/build/esm/{index-7f5833ce.js → index-5086e312.js} +1 -1
- package/build/esm/{index-959f8654.js → index-50b88c4e.js} +3 -3
- package/build/esm/{index-46bef0a4.js → index-51379c7d.js} +8 -8
- package/build/esm/{index-9b738bd8.js → index-52b241c4.js} +2 -2
- package/build/esm/{index-42f5c5a4.js → index-545ca188.js} +2 -2
- package/build/esm/{index-de66c24c.js → index-55086d15.js} +1 -1
- package/build/esm/{index-835bba0f.js → index-5525cf8e.js} +1 -1
- package/build/esm/{index-1380c6b2.js → index-55810e79.js} +2 -2
- package/build/esm/{index-ff721d61.js → index-55e07173.js} +1 -1
- package/build/esm/{index-47f8e07d.js → index-562f626d.js} +1 -1
- package/build/esm/{index-995b82c2.js → index-56ff2642.js} +3 -3
- package/build/esm/{index-b83811e9.js → index-583f8fa5.js} +1 -1
- package/build/esm/{index-1ba35ace.js → index-58c09633.js} +2 -2
- package/build/esm/{index-bbb94dfc.js → index-59222d93.js} +5 -5
- package/build/esm/{index-7e08f842.js → index-5c636feb.js} +1 -1
- package/build/esm/{index-81478629.js → index-5ce33fb4.js} +1 -1
- package/build/esm/{index-c6a75ac2.js → index-5de91577.js} +1 -1
- package/build/esm/{index-83a1472f.js → index-5e7e2829.js} +70 -70
- package/build/esm/{index-98be1cf4.js → index-5f1dd6a7.js} +5 -5
- package/build/esm/{index-410e96c5.js → index-62857517.js} +1 -1
- package/build/esm/{index-4fb75465.js → index-634deca6.js} +1 -1
- package/build/esm/{index-251955d3.js → index-63f8ed90.js} +2 -2
- package/build/esm/{index-1d8f9669.js → index-65b4502b.js} +100 -100
- package/build/esm/{index-41419c7a.js → index-65fbcb58.js} +66 -66
- package/build/esm/{index-af26b7d1.js → index-66899cad.js} +1 -1
- package/build/esm/{index-0f51c58c.js → index-684bae3d.js} +1 -1
- package/build/esm/{index-04dff312.js → index-6bc51931.js} +1 -1
- package/build/esm/{index-ba9901c4.js → index-6d13fb6e.js} +1 -1
- package/build/esm/{index-4e0484c5.js → index-70a779ba.js} +1 -1
- package/build/esm/{index-9547465c.js → index-7148722b.js} +1 -1
- package/build/esm/{index-5e506d71.js → index-7388fdf0.js} +2 -2
- package/build/esm/{index-505f74fc.js → index-738b8c53.js} +1 -1
- package/build/esm/{index-e028a8a7.js → index-74a3ac2f.js} +3 -3
- package/build/esm/{index-425fc823.js → index-7512667f.js} +65 -65
- package/build/esm/{index-294ff5d5.js → index-77a75d88.js} +2 -2
- package/build/esm/{index-2b8a3f01.js → index-798bd86b.js} +1 -1
- package/build/esm/{index-f6a4b0b2.js → index-79fb2538.js} +68 -68
- package/build/esm/{index-a2c41313.js → index-7a41789c.js} +1 -1
- package/build/esm/{index-a12496fc.js → index-7acdf790.js} +90 -90
- package/build/esm/{index-a1b19eb7.js → index-7ba645fb.js} +1 -1
- package/build/esm/{index-ff24f06d.js → index-7c912878.js} +1 -1
- package/build/esm/{index-d89ff10d.js → index-7e04fc44.js} +1 -1
- package/build/esm/{index-a9536de9.js → index-8061cd95.js} +5 -5
- package/build/esm/{index-b684a70d.js → index-806852ef.js} +7 -7
- package/build/esm/{index-6782918f.js → index-808e18ba.js} +39 -21
- package/build/esm/{index-8bc5fc8c.js → index-821100f3.js} +1 -1
- package/build/esm/{index-1cd455c5.js → index-842cd6e1.js} +7 -7
- package/build/esm/{index-53f0c849.js → index-848d06bb.js} +1 -1
- package/build/esm/{index-529c2a44.js → index-849b1cb8.js} +1 -1
- package/build/esm/{index-028ef6fe.js → index-85c249b4.js} +1 -1
- package/build/esm/{index-f1aad575.js → index-87f36cb0.js} +3 -3
- package/build/esm/{index-4a041a42.js → index-88756581.js} +1 -1
- package/build/esm/{index-4486aae9.js → index-8982ae55.js} +90 -90
- package/build/esm/{index-3ccd1124.js → index-89e77b0c.js} +5 -5
- package/build/esm/{index-968853cf.js → index-8b4a5d38.js} +1 -1
- package/build/esm/{index-077a1ebf.js → index-8b4a9dda.js} +5 -5
- package/build/esm/{index-7fbcbad6.js → index-8d362875.js} +99 -9
- package/build/esm/{index-784c5fce.js → index-8e9f79fd.js} +68 -68
- package/build/esm/{index-65f14257.js → index-93439923.js} +3 -3
- package/build/esm/{index-76e19048.js → index-93574f39.js} +2 -2
- package/build/esm/{index-72573c04.js → index-93bddffa.js} +2 -2
- package/build/esm/index-949a8ec9.js +965 -0
- package/build/esm/{index-ed733fb3.js → index-965264f8.js} +71 -71
- package/build/esm/{index-b9e626c0.js → index-96d5f28f.js} +2 -2
- package/build/esm/{index-8439d34f.js → index-975fa179.js} +1 -1
- package/build/esm/{index-b5349366.js → index-9937cbad.js} +2 -2
- package/build/esm/{index-ffefe5a2.js → index-995c6a1f.js} +1 -1
- package/build/esm/{index-bbae16f0.js → index-9a89d03c.js} +2 -2
- package/build/esm/{index-850012ce.js → index-9cc2d354.js} +1 -1
- package/build/esm/{index-a55788ad.js → index-9f4f4a99.js} +1 -1
- package/build/esm/{index-9a793a51.js → index-9fa1c1f7.js} +21 -21
- package/build/esm/{index-13b86af6.js → index-a168b203.js} +73 -73
- package/build/esm/{index-57600ad5.js → index-a1ad1a4d.js} +1 -1
- package/build/esm/{index-ffbea509.js → index-a327585a.js} +141 -76
- package/build/esm/{index-2b730433.js → index-a3d346c5.js} +2 -2
- package/build/esm/{index-7e407c94.js → index-a64c460e.js} +3 -3
- package/build/esm/{index-9ae4011c.js → index-a72b6a5c.js} +1 -1
- package/build/esm/{index-bdcc6d64.js → index-a7be4864.js} +1 -1
- package/build/esm/{index-45e92f53.js → index-a84bacc7.js} +3 -3
- package/build/esm/{index-f9833bfa.js → index-a9d4a0b4.js} +3 -3
- package/build/esm/{index-627be338.js → index-aabe0ff6.js} +2 -2
- package/build/esm/{index-8b43dfb5.js → index-ab57d244.js} +1 -1
- package/build/esm/{index-32fd24b8.js → index-abfcb3a3.js} +1 -1
- package/build/esm/{index-d93d8fd4.js → index-ac653455.js} +101 -101
- package/build/esm/{index-0f623dc4.js → index-ad15ec3c.js} +1081 -647
- package/build/esm/{index-9b3591e5.js → index-ad3c0744.js} +91 -91
- package/build/esm/{index-c736a947.js → index-ad538c23.js} +1 -1
- package/build/esm/{index-cd13aefe.js → index-ae0c4240.js} +1 -1
- package/build/esm/{index-f7540a8c.js → index-aed0302d.js} +1 -1
- package/build/esm/{index-7f68d38d.js → index-afdfaef1.js} +1 -1
- package/build/esm/{index-11ac5ca8.js → index-b097d13b.js} +1 -1
- package/build/esm/{index-ae4d1c88.js → index-b2851261.js} +85 -85
- package/build/esm/{index-67d195a0.js → index-b3190f74.js} +76 -76
- package/build/esm/{index-bd3f35d0.js → index-b3ea90eb.js} +1 -1
- package/build/esm/{index-72bbd010.js → index-b5184c36.js} +2 -2
- package/build/esm/{index-575204fa.js → index-b74d30dc.js} +1 -1
- package/build/esm/{index-27c16918.js → index-b82d96fc.js} +2 -2
- package/build/esm/{index-2d0b4a6e.js → index-b9475dd7.js} +1 -1
- package/build/esm/{index-b612ef16.js → index-b95c75a5.js} +2 -2
- package/build/esm/{index-e173b7ce.js → index-b991fb18.js} +3 -3
- package/build/esm/{index-dbac568a.js → index-ba277d00.js} +84 -84
- package/build/esm/{index-9fb5f73c.js → index-ba66849c.js} +1 -1
- package/build/esm/{index-bd66d96f.js → index-bc39fc91.js} +2 -2
- package/build/esm/{index-fe112199.js → index-bc7df7d1.js} +2 -2
- package/build/esm/{index-7557ff2f.js → index-be598dea.js} +5 -5
- package/build/esm/{index-456056fd.js → index-be6667e8.js} +5 -5
- package/build/esm/{index-eab9ee4d.js → index-bf5912d1.js} +1 -1
- package/build/esm/{index-6f035bf3.js → index-bf716481.js} +1 -1
- package/build/esm/{index-9533ad8d.js → index-c0f5b05f.js} +1 -1
- package/build/esm/{index-9946c5f3.js → index-c1d93c2d.js} +3 -3
- package/build/esm/{index-962c89fc.js → index-c26c16a1.js} +18 -18
- package/build/esm/{index-40a51cdd.js → index-c3012ad1.js} +5 -5
- package/build/esm/{index-86359ec0.js → index-c38ba0fb.js} +1 -1
- package/build/esm/{index-3cbf3610.js → index-c5dc047b.js} +5 -5
- package/build/esm/{index-5a976366.js → index-c6374599.js} +7 -3
- package/build/esm/{index-dc902b8c.js → index-c6cfe557.js} +1 -1
- package/build/esm/{index-0173bf4f.js → index-c7428334.js} +6 -6
- package/build/esm/{index-f8653c95.js → index-c8245908.js} +1 -1
- package/build/esm/{index-f77d3605.js → index-ccec4070.js} +1 -1
- package/build/esm/{index-9a87c844.js → index-cdde3559.js} +2 -2
- package/build/esm/{index-10d1417b.js → index-cf742449.js} +3 -3
- package/build/esm/{index-1adcc5ce.js → index-d0678eb7.js} +1 -1
- package/build/esm/{index-e8271230.js → index-d1d8267a.js} +3 -3
- package/build/esm/{index-6e821253.js → index-d34ae5da.js} +3 -3
- package/build/esm/{index-44fe72bc.js → index-d3dd9857.js} +1 -1
- package/build/esm/{index-f055bf30.js → index-d409ea8c.js} +1 -1
- package/build/esm/{index-021d51d3.js → index-d65e17d1.js} +2 -4
- package/build/esm/{index-cc91bee9.js → index-d7d6eb3a.js} +1 -1
- package/build/esm/{index-b0815a50.js → index-d9137f8b.js} +3 -3
- package/build/esm/{index-6cfb4508.js → index-dc47ea1c.js} +1 -1
- package/build/esm/{index-e9b284a0.js → index-dd7dedf5.js} +13 -13
- package/build/esm/{index-e9870b00.js → index-debdf6bf.js} +8 -4
- package/build/esm/{index-e39eb11b.js → index-e1488382.js} +2 -2
- package/build/esm/{index-5075d129.js → index-e19b57e2.js} +4 -4
- package/build/esm/{index-9a86de06.js → index-e1f9516a.js} +2 -2
- package/build/esm/{index-cfc5375b.js → index-e5168f88.js} +3 -3
- package/build/esm/{index-5fa4fea9.js → index-e6ce187d.js} +1 -1
- package/build/esm/{index-b01bbe74.js → index-e6e84f80.js} +1 -1
- package/build/esm/{index-2ddbe2b1.js → index-e70db1e2.js} +89 -87
- package/build/esm/{index-d36cfd69.js → index-e8038337.js} +3 -3
- package/build/esm/{index-fe8a68a9.js → index-e94760fa.js} +2 -2
- package/build/esm/{index-2d1df531.js → index-e9be3388.js} +1 -1
- package/build/esm/{index-ce3c33f4.js → index-eb04c499.js} +1 -1
- package/build/esm/{index-2f5bc216.js → index-ec3af8ef.js} +1 -1
- package/build/esm/{index-c1e816bc.js → index-ecd9cf50.js} +2 -2
- package/build/esm/{index-082175b1.js → index-ed0585b3.js} +2 -2
- package/build/esm/{index-73f41744.js → index-ed819eda.js} +10 -1
- package/build/esm/{index-963cc75e.js → index-eecce5fb.js} +4 -4
- package/build/esm/{index-df4bbc44.js → index-f03b9032.js} +22 -22
- package/build/esm/{index-65ebdf8b.js → index-f1b5a2e5.js} +1 -1
- package/build/esm/{index-de63b8ad.js → index-f210fdf9.js} +2 -2
- package/build/esm/{index-347bff74.js → index-f235e5ea.js} +18 -18
- package/build/esm/{index-09237adf.js → index-f250330c.js} +1 -1
- package/build/esm/{index-70e0a821.js → index-f2529b66.js} +6 -6
- package/build/esm/{index-4908b13e.js → index-f29d6478.js} +19 -19
- package/build/esm/{index-5111ebe5.js → index-f2d4a8eb.js} +66 -66
- package/build/esm/{index-8a3121ef.js → index-f3dbb8a8.js} +1 -1
- package/build/esm/{index-fbf10387.js → index-f470e596.js} +1 -1
- package/build/esm/{index-1a71d4ca.js → index-f518becc.js} +25 -25
- package/build/esm/{index-48aaae23.js → index-f6d73b5f.js} +1 -1
- package/build/esm/{index-7c86f69c.js → index-f8223213.js} +1 -1
- package/build/esm/{index-62a35c07.js → index-faf18f89.js} +2 -2
- package/build/esm/{index-1f4522e3.js → index-fb21e66a.js} +1 -1
- package/build/esm/{index-7a786ddc.js → index-fb5ad92a.js} +8 -8
- package/build/esm/{index-defc4426.js → index-feee64ae.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.module-29bcdccf.js → index.module-7e636336.js} +1 -1
- package/build/esm/{index.module-420220cd.js → index.module-866a57e8.js} +1 -1
- package/build/esm/{index.module-48866a84.js → index.module-983e30a8.js} +1 -1
- package/build/esm/{index.module-e08fa9ee.js → index.module-d86b21de.js} +1 -1
- package/build/esm/{index.module-0a9f049b.js → index.module-db56b9ec.js} +1 -1
- package/build/esm/{index.module-fd14d43f.js → index.module-dfde2da3.js} +1 -1
- package/build/esm/{index.module-9b94a6ae.js → index.module-ecd92f0f.js} +1 -1
- package/build/esm/{index.module-79e7c664.js → index.module-f5ec633c.js} +1 -1
- package/build/esm/{useCustomDimensions-93627a9c.js → useCustomDimensions-193f2df0.js} +1 -1
- package/build/esm/{ussIsSticky-e9168752.js → ussIsSticky-17fcd136.js} +1 -1
- package/build/types/web-planner-react/src/analyzerComponents.d.ts +6 -1
- package/build/types/web-planner-react/src/analyzerComponents.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Layout/wysiwyg/Toolbar/ToolContainer/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Layout/wysiwyg/Toolbar/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Layout/wysiwyg/Toolbar/types.d.ts +1 -1
- package/build/types/web-planner-react/src/components/Layout/wysiwyg/Toolbar/types.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/Product/catalog/Sidebar/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/Product/catalog/index.d.ts +1 -1
- package/build/types/web-planner-react/src/components/Product/Product/catalog/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerMsgContainer/PlannerMsgItem/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/accessoryPlacementMode.d.ts +8 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/accessoryPlacementMode.d.ts.map +1 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/index.d.ts +6 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/index.d.ts.map +1 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/poolDimensionConfigs.d.ts +18 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/poolDimensionConfigs.d.ts.map +1 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/useCreateImageShot.d.ts +15 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerRTVNext/useCreateImageShot.d.ts.map +1 -0
- package/build/types/web-planner-react/src/components/Product/ProductCenter/PlannerUI/Items/PosNr/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/ProductCenter/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoires/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/index.d.ts +9 -1
- package/build/types/web-planner-react/src/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/DivaViewHandler.d.ts +10 -1
- package/build/types/web-planner-react/src/model/DivaViewHandler.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/Palette/PaletteViewHandler.d.ts +7 -3
- package/build/types/web-planner-react/src/model/Palette/PaletteViewHandler.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/Planner/ViewPlannerHandler.d.ts +8 -0
- package/build/types/web-planner-react/src/model/Planner/ViewPlannerHandler.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/States/ConfigState/index.d.ts +7 -1
- package/build/types/web-planner-react/src/model/States/ConfigState/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/States/UIState/Product/index.d.ts +26 -0
- package/build/types/web-planner-react/src/model/States/UIState/Product/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/States/UIState/Settings/index.d.ts +7 -0
- package/build/types/web-planner-react/src/model/States/UIState/Settings/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/TabGroup/ConfiguratorStructureHandler.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/utils/rtvNext.d.ts +21 -0
- package/build/types/web-planner-react/src/utils/rtvNext.d.ts.map +1 -0
- package/build/umd/1316.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1902.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1932.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1936.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2568.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2794.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/282.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2939.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2994.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3596.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4529.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7020.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7118.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/7118.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/7442.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7909.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/7909.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/8759.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9054.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9339.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9583.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9679.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9715.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 +14 -10
- package/build/esm/index-c0c0beac.js +0 -99
- package/build/umd/8757.diva-web-planner-react.umd.min.js +0 -2
- package/build/umd/8757.diva-web-planner-react.umd.min.js.LICENSE.txt +0 -1
|
@@ -13,7 +13,7 @@ import _createClass from '@babel/runtime/helpers/createClass';
|
|
|
13
13
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
14
14
|
import { DivaError, UTMUtils, UtmSource, UtmMedium, UtmCampaign } from '@crystaldesign/diva-utils';
|
|
15
15
|
import { makeAutoObservable, makeObservable, observable, action, computed, toJS } from 'mobx';
|
|
16
|
-
import DivaWebPlanner, { Vector2 } from '@crystaldesign/web-planner-logic';
|
|
16
|
+
import DivaWebPlanner, { Vector2, bootMark } from '@crystaldesign/web-planner-logic';
|
|
17
17
|
import classnames from 'classnames';
|
|
18
18
|
import { QRCodeSVG } from 'qrcode.react';
|
|
19
19
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
@@ -525,8 +525,12 @@ var ConfiguratorStructureHandler = /*#__PURE__*/function () {
|
|
|
525
525
|
this.curTabGroup = newTabGroup;
|
|
526
526
|
var newOption = newTabGroup.options.get(this.curConfigStep.option);
|
|
527
527
|
if (newOption) {
|
|
528
|
+
var _newOption$configStep;
|
|
528
529
|
this.curOption = newOption;
|
|
529
|
-
|
|
530
|
+
//a configure can re-key the option's steps (checkForMergableSelectionModes flips ALL <-> BasketId keys when the
|
|
531
|
+
//selection-mode mix of the tab group changes) - fall back to the option's first step so curConfigStep never
|
|
532
|
+
//points to a step that no longer exists in the current tree
|
|
533
|
+
var newConfigStep = (_newOption$configStep = newOption.configSteps.get(this.curConfigStep.key)) !== null && _newOption$configStep !== void 0 ? _newOption$configStep : newOption.configSteps.values().next().value;
|
|
530
534
|
if (newConfigStep) this.curConfigStep = newConfigStep;
|
|
531
535
|
}
|
|
532
536
|
}
|
|
@@ -3077,22 +3081,29 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3077
3081
|
return _clickedOnAccessoirePalette.apply(this, arguments);
|
|
3078
3082
|
}
|
|
3079
3083
|
return clickedOnAccessoirePalette;
|
|
3080
|
-
}()
|
|
3084
|
+
}() /** `armAutoPlace: false` = select-only, no `autoPlaceDrag` auto-placement (palette single click). */
|
|
3081
3085
|
}, {
|
|
3082
3086
|
key: "selectShelfAccessorie",
|
|
3083
|
-
value: function () {
|
|
3087
|
+
value: (function () {
|
|
3084
3088
|
var _selectShelfAccessorie = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(articleCodex, basketId) {
|
|
3085
|
-
var
|
|
3089
|
+
var armAutoPlace,
|
|
3090
|
+
grids,
|
|
3091
|
+
_grids$find,
|
|
3092
|
+
accessoire,
|
|
3093
|
+
stepOfAccessoire,
|
|
3094
|
+
_args13 = arguments;
|
|
3086
3095
|
return _regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
3087
3096
|
while (1) switch (_context13.prev = _context13.next) {
|
|
3088
3097
|
case 0:
|
|
3089
|
-
|
|
3098
|
+
armAutoPlace = _args13.length > 2 && _args13[2] !== undefined ? _args13[2] : true;
|
|
3099
|
+
grids = this.shelfItem.Grids; // Must stay before the awaits — overlapping click/dblclick calls resolve out of order.
|
|
3100
|
+
this.settingsState.setArmedAccessory(armAutoPlace && articleCodex !== undefined && basketId === undefined ? articleCodex : undefined);
|
|
3090
3101
|
if (!(grids !== null && grids !== void 0 && grids.length)) {
|
|
3091
|
-
_context13.next =
|
|
3102
|
+
_context13.next = 15;
|
|
3092
3103
|
break;
|
|
3093
3104
|
}
|
|
3094
3105
|
if (!basketId) {
|
|
3095
|
-
_context13.next =
|
|
3106
|
+
_context13.next = 13;
|
|
3096
3107
|
break;
|
|
3097
3108
|
}
|
|
3098
3109
|
accessoire = (_grids$find = grids.find(function (g) {
|
|
@@ -3100,24 +3111,24 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3100
3111
|
})) === null || _grids$find === void 0 ? void 0 : _grids$find.getAccessoireByBasketId(basketId);
|
|
3101
3112
|
stepOfAccessoire = accessoire === null || accessoire === void 0 ? void 0 : accessoire.relatedToConfigStep;
|
|
3102
3113
|
if (!(stepOfAccessoire && !this.configuratorStructureHandler.configStepKeyIsActive(stepOfAccessoire))) {
|
|
3103
|
-
_context13.next =
|
|
3114
|
+
_context13.next = 13;
|
|
3104
3115
|
break;
|
|
3105
3116
|
}
|
|
3106
3117
|
this.configuratorStructureHandler.navigateToConfigStepByConfigStepKey(stepOfAccessoire);
|
|
3107
3118
|
//TODO after navigation select the accessorie again
|
|
3108
|
-
_context13.next =
|
|
3119
|
+
_context13.next = 11;
|
|
3109
3120
|
return this.updateCurPaletteData(true);
|
|
3110
|
-
case
|
|
3121
|
+
case 11:
|
|
3111
3122
|
this.selectShelfAccessorie(articleCodex, basketId);
|
|
3112
3123
|
return _context13.abrupt("return");
|
|
3113
|
-
case 11:
|
|
3114
|
-
_context13.next = 13;
|
|
3115
|
-
return this.clickedOnShelfAccessorie(grids, articleCodex, basketId);
|
|
3116
3124
|
case 13:
|
|
3125
|
+
_context13.next = 15;
|
|
3126
|
+
return this.clickedOnShelfAccessorie(grids, articleCodex, basketId);
|
|
3127
|
+
case 15:
|
|
3117
3128
|
this.settingsState.setSelectedShelfAccessoire(basketId);
|
|
3118
3129
|
this.updateCurPaletteData(true);
|
|
3119
3130
|
if (this.settingsState.activeSnapPointIndex == 3) this.settingsState.setActiveSnapPointIndex(2);
|
|
3120
|
-
case
|
|
3131
|
+
case 18:
|
|
3121
3132
|
case "end":
|
|
3122
3133
|
return _context13.stop();
|
|
3123
3134
|
}
|
|
@@ -3127,31 +3138,73 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3127
3138
|
return _selectShelfAccessorie.apply(this, arguments);
|
|
3128
3139
|
}
|
|
3129
3140
|
return selectShelfAccessorie;
|
|
3130
|
-
}()
|
|
3141
|
+
}() /** Palette tile dragstart: select the article and push its free cells, without arming auto-place. */)
|
|
3142
|
+
}, {
|
|
3143
|
+
key: "startShelfAccessorieDrag",
|
|
3144
|
+
value: (function () {
|
|
3145
|
+
var _startShelfAccessorieDrag = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14(articleCodex) {
|
|
3146
|
+
var _this$settingsState$i, _this$settingsState$i2;
|
|
3147
|
+
var grids, configStepKey;
|
|
3148
|
+
return _regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
3149
|
+
while (1) switch (_context14.prev = _context14.next) {
|
|
3150
|
+
case 0:
|
|
3151
|
+
this.settingsState.setArmedAccessory(undefined);
|
|
3152
|
+
this.settingsState.setDraggedAccessory(articleCodex);
|
|
3153
|
+
this.divaWebPlanner.setIncludeFamilyInFreePlaces(true);
|
|
3154
|
+
grids = this.shelfItem.Grids;
|
|
3155
|
+
if (!(grids !== null && grids !== void 0 && grids.length)) {
|
|
3156
|
+
_context14.next = 7;
|
|
3157
|
+
break;
|
|
3158
|
+
}
|
|
3159
|
+
_context14.next = 7;
|
|
3160
|
+
return this.clickedOnShelfAccessorie(grids, articleCodex);
|
|
3161
|
+
case 7:
|
|
3162
|
+
configStepKey = (_this$settingsState$i = (_this$settingsState$i2 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i2 === void 0 ? void 0 : _this$settingsState$i2.configStepKey) !== null && _this$settingsState$i !== void 0 ? _this$settingsState$i : this.configuratorStructureHandler.curConfigStepKey;
|
|
3163
|
+
_context14.next = 10;
|
|
3164
|
+
return this.updateFreePlacesOnGrids(configStepKey, 'palette drag', true);
|
|
3165
|
+
case 10:
|
|
3166
|
+
this.updateCurPaletteData(true);
|
|
3167
|
+
case 11:
|
|
3168
|
+
case "end":
|
|
3169
|
+
return _context14.stop();
|
|
3170
|
+
}
|
|
3171
|
+
}, _callee14, this);
|
|
3172
|
+
}));
|
|
3173
|
+
function startShelfAccessorieDrag(_x26) {
|
|
3174
|
+
return _startShelfAccessorieDrag.apply(this, arguments);
|
|
3175
|
+
}
|
|
3176
|
+
return startShelfAccessorieDrag;
|
|
3177
|
+
}())
|
|
3178
|
+
}, {
|
|
3179
|
+
key: "endShelfAccessorieDrag",
|
|
3180
|
+
value: function endShelfAccessorieDrag() {
|
|
3181
|
+
this.settingsState.setDraggedAccessory(undefined);
|
|
3182
|
+
this.divaWebPlanner.setIncludeFamilyInFreePlaces(false);
|
|
3183
|
+
}
|
|
3131
3184
|
}, {
|
|
3132
3185
|
key: "clickedOnShelfAccessorie",
|
|
3133
3186
|
value: function () {
|
|
3134
|
-
var _clickedOnShelfAccessorie = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3135
|
-
var _this$settingsState$
|
|
3187
|
+
var _clickedOnShelfAccessorie = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(grids, itemCodex, basketId, triggerUpdate) {
|
|
3188
|
+
var _this$settingsState$i3;
|
|
3136
3189
|
var targetArticles, configStepKey;
|
|
3137
|
-
return _regeneratorRuntime.wrap(function
|
|
3138
|
-
while (1) switch (
|
|
3190
|
+
return _regeneratorRuntime.wrap(function _callee15$(_context15) {
|
|
3191
|
+
while (1) switch (_context15.prev = _context15.next) {
|
|
3139
3192
|
case 0:
|
|
3140
3193
|
targetArticles = grids.map(function (g) {
|
|
3141
3194
|
return g.basketId;
|
|
3142
3195
|
});
|
|
3143
|
-
configStepKey = (_this$settingsState$
|
|
3196
|
+
configStepKey = (_this$settingsState$i3 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i3 === void 0 ? void 0 : _this$settingsState$i3.configStepKey;
|
|
3144
3197
|
this.divaWebPlanner.selectShelfAccArticle(configStepKey !== null && configStepKey !== void 0 ? configStepKey : this.configuratorStructureHandler.curConfigStepKey, targetArticles, itemCodex);
|
|
3145
3198
|
if (itemCodex === undefined) this.settingsState.setFreePlacesOnGrids([]);
|
|
3146
3199
|
if (this.productState.shelfPlannerRTV) this.productState.onChangePlannerView('RTV');
|
|
3147
3200
|
if (triggerUpdate) this.updateCurPaletteData(true);
|
|
3148
3201
|
case 6:
|
|
3149
3202
|
case "end":
|
|
3150
|
-
return
|
|
3203
|
+
return _context15.stop();
|
|
3151
3204
|
}
|
|
3152
|
-
},
|
|
3205
|
+
}, _callee15, this);
|
|
3153
3206
|
}));
|
|
3154
|
-
function clickedOnShelfAccessorie(
|
|
3207
|
+
function clickedOnShelfAccessorie(_x27, _x28, _x29, _x30) {
|
|
3155
3208
|
return _clickedOnShelfAccessorie.apply(this, arguments);
|
|
3156
3209
|
}
|
|
3157
3210
|
return clickedOnShelfAccessorie;
|
|
@@ -3159,21 +3212,33 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3159
3212
|
}, {
|
|
3160
3213
|
key: "updateFreePlacesOnGrids",
|
|
3161
3214
|
value: function () {
|
|
3162
|
-
var _updateFreePlacesOnGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3163
|
-
var
|
|
3164
|
-
|
|
3165
|
-
|
|
3215
|
+
var _updateFreePlacesOnGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(shelfId, from) {
|
|
3216
|
+
var includeFamily,
|
|
3217
|
+
_yield$this$divaWebPl,
|
|
3218
|
+
freeShelfGrids,
|
|
3219
|
+
noFreeSpace,
|
|
3220
|
+
_this$shelfItem,
|
|
3221
|
+
_this$shelfItem$getAl,
|
|
3222
|
+
_this$uiState$i18nIns,
|
|
3223
|
+
_this$uiState$i18nIns2,
|
|
3224
|
+
selectedAcc,
|
|
3225
|
+
selectedShelAccessoire,
|
|
3226
|
+
msg,
|
|
3227
|
+
_args16 = arguments;
|
|
3228
|
+
return _regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
3229
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
3166
3230
|
case 0:
|
|
3231
|
+
includeFamily = _args16.length > 2 && _args16[2] !== undefined ? _args16[2] : false;
|
|
3167
3232
|
if (this.productState.shelfPlannerRTV) {
|
|
3168
|
-
|
|
3233
|
+
_context16.next = 3;
|
|
3169
3234
|
break;
|
|
3170
3235
|
}
|
|
3171
|
-
return
|
|
3172
|
-
case
|
|
3173
|
-
|
|
3174
|
-
return this.divaWebPlanner.getFreePlacesOnGrids(shelfId, from);
|
|
3175
|
-
case
|
|
3176
|
-
_yield$this$divaWebPl =
|
|
3236
|
+
return _context16.abrupt("return");
|
|
3237
|
+
case 3:
|
|
3238
|
+
_context16.next = 5;
|
|
3239
|
+
return this.divaWebPlanner.getFreePlacesOnGrids(shelfId, from, includeFamily);
|
|
3240
|
+
case 5:
|
|
3241
|
+
_yield$this$divaWebPl = _context16.sent;
|
|
3177
3242
|
freeShelfGrids = _yield$this$divaWebPl.freeShelfGrids;
|
|
3178
3243
|
noFreeSpace = freeShelfGrids && !freeShelfGrids.find(function (a) {
|
|
3179
3244
|
return Object.values(a.grids).find(function (g) {
|
|
@@ -3194,13 +3259,13 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3194
3259
|
} else {
|
|
3195
3260
|
this.updatePlannerMsgContainer('SHELFPLANNER_MSG', false, 'INFO', '', false);
|
|
3196
3261
|
}
|
|
3197
|
-
case
|
|
3262
|
+
case 9:
|
|
3198
3263
|
case "end":
|
|
3199
|
-
return
|
|
3264
|
+
return _context16.stop();
|
|
3200
3265
|
}
|
|
3201
|
-
},
|
|
3266
|
+
}, _callee16, this);
|
|
3202
3267
|
}));
|
|
3203
|
-
function updateFreePlacesOnGrids(
|
|
3268
|
+
function updateFreePlacesOnGrids(_x31, _x32) {
|
|
3204
3269
|
return _updateFreePlacesOnGrids.apply(this, arguments);
|
|
3205
3270
|
}
|
|
3206
3271
|
return updateFreePlacesOnGrids;
|
|
@@ -3208,15 +3273,15 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3208
3273
|
}, {
|
|
3209
3274
|
key: "clickedOnConfigPalette",
|
|
3210
3275
|
value: function () {
|
|
3211
|
-
var _clickedOnConfigPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3276
|
+
var _clickedOnConfigPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee17(item, from, paletteId) {
|
|
3212
3277
|
var _item$ocd,
|
|
3213
3278
|
_palette$configStepKe,
|
|
3214
3279
|
_palette$configAllMod,
|
|
3215
3280
|
_this4 = this,
|
|
3216
3281
|
_item$contentItemId;
|
|
3217
3282
|
var op, codex, palette, configStepKey, myValues, targetArticles, notifications, _this$configuratorStr, _this$configuratorStr2, _this$configuratorStr3, groupValCodex, groupOptionCodex;
|
|
3218
|
-
return _regeneratorRuntime.wrap(function
|
|
3219
|
-
while (1) switch (
|
|
3283
|
+
return _regeneratorRuntime.wrap(function _callee17$(_context17) {
|
|
3284
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
3220
3285
|
case 0:
|
|
3221
3286
|
op = (item.parentOptionCodex ? item.parentOptionCodex + '.' : '') + item.op;
|
|
3222
3287
|
codex = (_item$ocd = item.ocd) !== null && _item$ocd !== void 0 ? _item$ocd : item.codex;
|
|
@@ -3234,14 +3299,14 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3234
3299
|
|
|
3235
3300
|
//show freeText Dialog
|
|
3236
3301
|
if (!(!!item.isFreeText && from != 'inputbox')) {
|
|
3237
|
-
|
|
3302
|
+
_context17.next = 11;
|
|
3238
3303
|
break;
|
|
3239
3304
|
}
|
|
3240
3305
|
this.settingsState.updateInputBoxValues(true, item);
|
|
3241
|
-
return
|
|
3306
|
+
return _context17.abrupt("return");
|
|
3242
3307
|
case 11:
|
|
3243
3308
|
if (!(from !== 'notification')) {
|
|
3244
|
-
|
|
3309
|
+
_context17.next = 16;
|
|
3245
3310
|
break;
|
|
3246
3311
|
}
|
|
3247
3312
|
notifications = this.divaWebPlanner.checkNotificationRules(targetArticles, this.configuratorStructureHandler.visitedOptions, {
|
|
@@ -3252,27 +3317,27 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3252
3317
|
}
|
|
3253
3318
|
});
|
|
3254
3319
|
if (!(notifications !== null && notifications !== void 0 && notifications.length)) {
|
|
3255
|
-
|
|
3320
|
+
_context17.next = 16;
|
|
3256
3321
|
break;
|
|
3257
3322
|
}
|
|
3258
3323
|
this.manageNotifications(notifications, function () {
|
|
3259
3324
|
_this4.clickedOnConfigPalette(item, 'notification', paletteId);
|
|
3260
3325
|
});
|
|
3261
|
-
return
|
|
3326
|
+
return _context17.abrupt("return");
|
|
3262
3327
|
case 16:
|
|
3263
3328
|
if (!item.disabledByConstructionRule) {
|
|
3264
|
-
|
|
3329
|
+
_context17.next = 19;
|
|
3265
3330
|
break;
|
|
3266
3331
|
}
|
|
3267
3332
|
this.updatePlannerMsgContainer('DISABLED_BY_CONSTRUCTION', true, 'INFO', item.disabledByConstructionRule, true);
|
|
3268
|
-
return
|
|
3333
|
+
return _context17.abrupt("return");
|
|
3269
3334
|
case 19:
|
|
3270
3335
|
if (((_item$contentItemId = item.contentItemId) !== null && _item$contentItemId !== void 0 ? _item$contentItemId : item.groupContentItemId) || this.settingsState.conetentItemOfOPVOpen) {
|
|
3271
3336
|
if (item.groupContentItemId) this.settingsState.setContentItemId(item.groupContentItemId, true, item.groupName + (item.parentName ? '_' + item.parentName : ''));else if (item.contentItemId) this.settingsState.setContentItemId(item.contentItemId, true, item.codex);
|
|
3272
3337
|
}
|
|
3273
3338
|
if (item.isMultiSelect) codex = this.handleMultiselectCodex(codex, item, palette);
|
|
3274
3339
|
if (!(op && targetArticles)) {
|
|
3275
|
-
|
|
3340
|
+
_context17.next = 30;
|
|
3276
3341
|
break;
|
|
3277
3342
|
}
|
|
3278
3343
|
myValues[op] = codex;
|
|
@@ -3289,7 +3354,7 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3289
3354
|
myValues[groupOptionCodex] = groupValCodex;
|
|
3290
3355
|
}
|
|
3291
3356
|
}
|
|
3292
|
-
|
|
3357
|
+
_context17.next = 27;
|
|
3293
3358
|
return this.divaWebPlanner.doConfigure(myValues, targetArticles);
|
|
3294
3359
|
case 27:
|
|
3295
3360
|
this.doDefineOptions(myValues, targetArticles);
|
|
@@ -3309,11 +3374,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3309
3374
|
}
|
|
3310
3375
|
case 32:
|
|
3311
3376
|
case "end":
|
|
3312
|
-
return
|
|
3377
|
+
return _context17.stop();
|
|
3313
3378
|
}
|
|
3314
|
-
},
|
|
3379
|
+
}, _callee17, this);
|
|
3315
3380
|
}));
|
|
3316
|
-
function clickedOnConfigPalette(
|
|
3381
|
+
function clickedOnConfigPalette(_x33, _x34, _x35) {
|
|
3317
3382
|
return _clickedOnConfigPalette.apply(this, arguments);
|
|
3318
3383
|
}
|
|
3319
3384
|
return clickedOnConfigPalette;
|
|
@@ -3402,11 +3467,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3402
3467
|
}, {
|
|
3403
3468
|
key: "onFreeTextLangChanged",
|
|
3404
3469
|
value: function () {
|
|
3405
|
-
var _onFreeTextLangChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3470
|
+
var _onFreeTextLangChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee18(lang, text, item, paletteId) {
|
|
3406
3471
|
var _item$freeTextLang$DE, _item$freeTextLang, _item$freeTextLang$FR, _item$freeTextLang2, _item$freeTextLang$IT, _item$freeTextLang3;
|
|
3407
3472
|
var op, palette, configStepKey, targetArticles, value, myValues;
|
|
3408
|
-
return _regeneratorRuntime.wrap(function
|
|
3409
|
-
while (1) switch (
|
|
3473
|
+
return _regeneratorRuntime.wrap(function _callee18$(_context18) {
|
|
3474
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
3410
3475
|
case 0:
|
|
3411
3476
|
op = item.op;
|
|
3412
3477
|
palette = paletteId ? this.settingsState.itemPalettes.get(paletteId) : undefined;
|
|
@@ -3417,17 +3482,17 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3417
3482
|
targetArticles = this.configuratorStructureHandler.getActiveArticlesOfTabGroup(configStepKey, this.settingsState.doConfigSingle);
|
|
3418
3483
|
value = (lang == 'DE' ? text : (_item$freeTextLang$DE = (_item$freeTextLang = item.freeTextLang) === null || _item$freeTextLang === void 0 ? void 0 : _item$freeTextLang['DE']) !== null && _item$freeTextLang$DE !== void 0 ? _item$freeTextLang$DE : '') + '##' + (lang == 'FR' ? text : (_item$freeTextLang$FR = (_item$freeTextLang2 = item.freeTextLang) === null || _item$freeTextLang2 === void 0 ? void 0 : _item$freeTextLang2['FR']) !== null && _item$freeTextLang$FR !== void 0 ? _item$freeTextLang$FR : '') + '##' + (lang == 'IT' ? text : (_item$freeTextLang$IT = (_item$freeTextLang3 = item.freeTextLang) === null || _item$freeTextLang3 === void 0 ? void 0 : _item$freeTextLang3['IT']) !== null && _item$freeTextLang$IT !== void 0 ? _item$freeTextLang$IT : '');
|
|
3419
3484
|
myValues = _defineProperty({}, op, value);
|
|
3420
|
-
|
|
3485
|
+
_context18.next = 9;
|
|
3421
3486
|
return this.divaWebPlanner.doConfigure(myValues, targetArticles);
|
|
3422
3487
|
case 9:
|
|
3423
3488
|
this.updateCurPaletteData(false, configStepKey);
|
|
3424
3489
|
case 10:
|
|
3425
3490
|
case "end":
|
|
3426
|
-
return
|
|
3491
|
+
return _context18.stop();
|
|
3427
3492
|
}
|
|
3428
|
-
},
|
|
3493
|
+
}, _callee18, this);
|
|
3429
3494
|
}));
|
|
3430
|
-
function onFreeTextLangChanged(
|
|
3495
|
+
function onFreeTextLangChanged(_x36, _x37, _x38, _x39) {
|
|
3431
3496
|
return _onFreeTextLangChanged.apply(this, arguments);
|
|
3432
3497
|
}
|
|
3433
3498
|
return onFreeTextLangChanged;
|
|
@@ -3444,26 +3509,26 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3444
3509
|
}, {
|
|
3445
3510
|
key: "changeOnCheckoutConfig",
|
|
3446
3511
|
value: function () {
|
|
3447
|
-
var _changeOnCheckoutConfig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3512
|
+
var _changeOnCheckoutConfig = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee19(myValues) {
|
|
3448
3513
|
var targetArticles,
|
|
3449
|
-
|
|
3450
|
-
return _regeneratorRuntime.wrap(function
|
|
3451
|
-
while (1) switch (
|
|
3514
|
+
_args19 = arguments;
|
|
3515
|
+
return _regeneratorRuntime.wrap(function _callee19$(_context19) {
|
|
3516
|
+
while (1) switch (_context19.prev = _context19.next) {
|
|
3452
3517
|
case 0:
|
|
3453
|
-
targetArticles =
|
|
3518
|
+
targetArticles = _args19.length > 1 && _args19[1] !== undefined ? _args19[1] : Object.values(this.settingsState.articleInfos).map(function (a) {
|
|
3454
3519
|
return a.basketId;
|
|
3455
3520
|
});
|
|
3456
|
-
|
|
3521
|
+
_context19.next = 3;
|
|
3457
3522
|
return this.divaWebPlanner.doConfigure(myValues, targetArticles);
|
|
3458
3523
|
case 3:
|
|
3459
3524
|
this.updateCurPaletteData(false);
|
|
3460
3525
|
case 4:
|
|
3461
3526
|
case "end":
|
|
3462
|
-
return
|
|
3527
|
+
return _context19.stop();
|
|
3463
3528
|
}
|
|
3464
|
-
},
|
|
3529
|
+
}, _callee19, this);
|
|
3465
3530
|
}));
|
|
3466
|
-
function changeOnCheckoutConfig(
|
|
3531
|
+
function changeOnCheckoutConfig(_x40) {
|
|
3467
3532
|
return _changeOnCheckoutConfig.apply(this, arguments);
|
|
3468
3533
|
}
|
|
3469
3534
|
return changeOnCheckoutConfig;
|
|
@@ -3471,11 +3536,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3471
3536
|
}, {
|
|
3472
3537
|
key: "onRangeClickChange",
|
|
3473
3538
|
value: function () {
|
|
3474
|
-
var _onRangeClickChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3539
|
+
var _onRangeClickChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee20(palette, item, value, onSlide) {
|
|
3475
3540
|
var _freeText, _freeText2;
|
|
3476
3541
|
var freeText, myValues, configStepKey, targetArticles;
|
|
3477
|
-
return _regeneratorRuntime.wrap(function
|
|
3478
|
-
while (1) switch (
|
|
3542
|
+
return _regeneratorRuntime.wrap(function _callee20$(_context20) {
|
|
3543
|
+
while (1) switch (_context20.prev = _context20.next) {
|
|
3479
3544
|
case 0:
|
|
3480
3545
|
freeText = value;
|
|
3481
3546
|
myValues = {};
|
|
@@ -3485,18 +3550,18 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3485
3550
|
freeText = (_freeText = freeText) === null || _freeText === void 0 ? void 0 : _freeText.toString();
|
|
3486
3551
|
myValues[item.op + '_val'] = (_freeText2 = freeText) !== null && _freeText2 !== void 0 ? _freeText2 : '';
|
|
3487
3552
|
this.visitStepsHandler.defineOptionOfConfigStepKey(configStepKey);
|
|
3488
|
-
|
|
3553
|
+
_context20.next = 10;
|
|
3489
3554
|
return this.divaWebPlanner.doConfigure(myValues, targetArticles, onSlide);
|
|
3490
3555
|
case 10:
|
|
3491
3556
|
if (!onSlide) this.updateCurPaletteData(false, configStepKey);
|
|
3492
3557
|
this.settingsState.ConfigDidChange();
|
|
3493
3558
|
case 12:
|
|
3494
3559
|
case "end":
|
|
3495
|
-
return
|
|
3560
|
+
return _context20.stop();
|
|
3496
3561
|
}
|
|
3497
|
-
},
|
|
3562
|
+
}, _callee20, this);
|
|
3498
3563
|
}));
|
|
3499
|
-
function onRangeClickChange(
|
|
3564
|
+
function onRangeClickChange(_x41, _x42, _x43, _x44) {
|
|
3500
3565
|
return _onRangeClickChange.apply(this, arguments);
|
|
3501
3566
|
}
|
|
3502
3567
|
return onRangeClickChange;
|
|
@@ -3504,11 +3569,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3504
3569
|
}, {
|
|
3505
3570
|
key: "clickedOnFavIcon",
|
|
3506
3571
|
value: function () {
|
|
3507
|
-
var _clickedOnFavIcon = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3572
|
+
var _clickedOnFavIcon = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee21(item) {
|
|
3508
3573
|
var _item$ocd3;
|
|
3509
3574
|
var remove, myValues, groupValCodex, groupOptionCodex, _key;
|
|
3510
|
-
return _regeneratorRuntime.wrap(function
|
|
3511
|
-
while (1) switch (
|
|
3575
|
+
return _regeneratorRuntime.wrap(function _callee21$(_context21) {
|
|
3576
|
+
while (1) switch (_context21.prev = _context21.next) {
|
|
3512
3577
|
case 0:
|
|
3513
3578
|
remove = item.isFav;
|
|
3514
3579
|
myValues = {};
|
|
@@ -3526,11 +3591,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3526
3591
|
}
|
|
3527
3592
|
case 5:
|
|
3528
3593
|
case "end":
|
|
3529
|
-
return
|
|
3594
|
+
return _context21.stop();
|
|
3530
3595
|
}
|
|
3531
|
-
},
|
|
3596
|
+
}, _callee21, this);
|
|
3532
3597
|
}));
|
|
3533
|
-
function clickedOnFavIcon(
|
|
3598
|
+
function clickedOnFavIcon(_x45) {
|
|
3534
3599
|
return _clickedOnFavIcon.apply(this, arguments);
|
|
3535
3600
|
}
|
|
3536
3601
|
return clickedOnFavIcon;
|
|
@@ -3538,24 +3603,24 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3538
3603
|
}, {
|
|
3539
3604
|
key: "clickedOnSummaryPalette",
|
|
3540
3605
|
value: function () {
|
|
3541
|
-
var _clickedOnSummaryPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3542
|
-
return _regeneratorRuntime.wrap(function
|
|
3543
|
-
while (1) switch (
|
|
3606
|
+
var _clickedOnSummaryPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee22(item) {
|
|
3607
|
+
return _regeneratorRuntime.wrap(function _callee22$(_context22) {
|
|
3608
|
+
while (1) switch (_context22.prev = _context22.next) {
|
|
3544
3609
|
case 0:
|
|
3545
3610
|
this.divaWebPlanner.setActSet(item.setId);
|
|
3546
3611
|
this.configuratorStructureHandler.setActStepByPosNrFromSummary(item.posNr);
|
|
3547
3612
|
this.updateConfiguratorState(true);
|
|
3548
|
-
|
|
3613
|
+
_context22.next = 5;
|
|
3549
3614
|
return DivaUtils.Sleep(200);
|
|
3550
3615
|
case 5:
|
|
3551
3616
|
this.scrollToConfigStepByPosNr(item.posNr, true);
|
|
3552
3617
|
case 6:
|
|
3553
3618
|
case "end":
|
|
3554
|
-
return
|
|
3619
|
+
return _context22.stop();
|
|
3555
3620
|
}
|
|
3556
|
-
},
|
|
3621
|
+
}, _callee22, this);
|
|
3557
3622
|
}));
|
|
3558
|
-
function clickedOnSummaryPalette(
|
|
3623
|
+
function clickedOnSummaryPalette(_x46) {
|
|
3559
3624
|
return _clickedOnSummaryPalette.apply(this, arguments);
|
|
3560
3625
|
}
|
|
3561
3626
|
return clickedOnSummaryPalette;
|
|
@@ -3563,9 +3628,9 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3563
3628
|
}, {
|
|
3564
3629
|
key: "clickedOnStaticRoomPalette",
|
|
3565
3630
|
value: function () {
|
|
3566
|
-
var _clickedOnStaticRoomPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3567
|
-
return _regeneratorRuntime.wrap(function
|
|
3568
|
-
while (1) switch (
|
|
3631
|
+
var _clickedOnStaticRoomPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee23(item, dontUpdateView) {
|
|
3632
|
+
return _regeneratorRuntime.wrap(function _callee23$(_context23) {
|
|
3633
|
+
while (1) switch (_context23.prev = _context23.next) {
|
|
3569
3634
|
case 0:
|
|
3570
3635
|
// temporally hide the orbit cube. This variable will later be set to the correct value
|
|
3571
3636
|
this.productState.setPlannerRenderingIsStaticBG(true);
|
|
@@ -3582,11 +3647,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3582
3647
|
});
|
|
3583
3648
|
case 4:
|
|
3584
3649
|
case "end":
|
|
3585
|
-
return
|
|
3650
|
+
return _context23.stop();
|
|
3586
3651
|
}
|
|
3587
|
-
},
|
|
3652
|
+
}, _callee23, this);
|
|
3588
3653
|
}));
|
|
3589
|
-
function clickedOnStaticRoomPalette(
|
|
3654
|
+
function clickedOnStaticRoomPalette(_x47, _x48) {
|
|
3590
3655
|
return _clickedOnStaticRoomPalette.apply(this, arguments);
|
|
3591
3656
|
}
|
|
3592
3657
|
return clickedOnStaticRoomPalette;
|
|
@@ -3594,9 +3659,9 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3594
3659
|
}, {
|
|
3595
3660
|
key: "clickedOnStaticVPPalette",
|
|
3596
3661
|
value: function () {
|
|
3597
|
-
var _clickedOnStaticVPPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3598
|
-
return _regeneratorRuntime.wrap(function
|
|
3599
|
-
while (1) switch (
|
|
3662
|
+
var _clickedOnStaticVPPalette = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee24(item, dontUpdateView) {
|
|
3663
|
+
return _regeneratorRuntime.wrap(function _callee24$(_context24) {
|
|
3664
|
+
while (1) switch (_context24.prev = _context24.next) {
|
|
3600
3665
|
case 0:
|
|
3601
3666
|
//Viewpointlist
|
|
3602
3667
|
if (item.M == 'Orbit') this.divaWebPlanner.handle3DVisualizationChanged('StaticVP', {
|
|
@@ -3611,11 +3676,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3611
3676
|
this.loadStaticRoomListItems(dontUpdateView);
|
|
3612
3677
|
case 2:
|
|
3613
3678
|
case "end":
|
|
3614
|
-
return
|
|
3679
|
+
return _context24.stop();
|
|
3615
3680
|
}
|
|
3616
|
-
},
|
|
3681
|
+
}, _callee24, this);
|
|
3617
3682
|
}));
|
|
3618
|
-
function clickedOnStaticVPPalette(
|
|
3683
|
+
function clickedOnStaticVPPalette(_x49, _x50) {
|
|
3619
3684
|
return _clickedOnStaticVPPalette.apply(this, arguments);
|
|
3620
3685
|
}
|
|
3621
3686
|
return clickedOnStaticVPPalette;
|
|
@@ -3623,7 +3688,7 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3623
3688
|
}, {
|
|
3624
3689
|
key: "clickAddAccessorieOnShelfPlanner",
|
|
3625
3690
|
value: function () {
|
|
3626
|
-
var _clickAddAccessorieOnShelfPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3691
|
+
var _clickAddAccessorieOnShelfPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee25(grid, cellIndex) {
|
|
3627
3692
|
var _this6 = this,
|
|
3628
3693
|
_this$uiState$i18nIns4,
|
|
3629
3694
|
_this$uiState$i18nIns5,
|
|
@@ -3632,14 +3697,14 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3632
3697
|
_this$uiState$i18nIns8,
|
|
3633
3698
|
_this$uiState$i18nIns9,
|
|
3634
3699
|
_this$uiState$i18nIns10;
|
|
3635
|
-
var selCell, ret, _this$settingsState$
|
|
3636
|
-
return _regeneratorRuntime.wrap(function
|
|
3637
|
-
while (1) switch (
|
|
3700
|
+
var selCell, ret, _this$settingsState$i4, _this$settingsState$i5, partlistCodex, _this$shelfItem$AccIt, _this$uiState$i18nIns3, msg, count, cellsMsg, i, articleNames, _i;
|
|
3701
|
+
return _regeneratorRuntime.wrap(function _callee25$(_context25) {
|
|
3702
|
+
while (1) switch (_context25.prev = _context25.next) {
|
|
3638
3703
|
case 0:
|
|
3639
3704
|
selCell = grid.Cells[cellIndex];
|
|
3640
3705
|
ret = false;
|
|
3641
3706
|
if (!(!selCell.IsDisabled && selCell.InUse == -1)) {
|
|
3642
|
-
|
|
3707
|
+
_context25.next = 11;
|
|
3643
3708
|
break;
|
|
3644
3709
|
}
|
|
3645
3710
|
partlistCodex = undefined;
|
|
@@ -3651,12 +3716,12 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3651
3716
|
return pCodex.toLowerCase() == ((_this6$shelfItem$getA = _this6.shelfItem.getActSearchFitlerText()) === null || _this6$shelfItem$getA === void 0 ? void 0 : _this6$shelfItem$getA.toLowerCase());
|
|
3652
3717
|
});
|
|
3653
3718
|
}
|
|
3654
|
-
|
|
3655
|
-
return this.divaWebPlanner.addAccessorieOnShelfPlanner(this.shelfItem.currentPaletteId, grid.ShelfIndex, cellIndex, grid.basketId, (_this$settingsState$
|
|
3719
|
+
_context25.next = 7;
|
|
3720
|
+
return this.divaWebPlanner.addAccessorieOnShelfPlanner(this.shelfItem.currentPaletteId, grid.ShelfIndex, cellIndex, grid.basketId, (_this$settingsState$i4 = (_this$settingsState$i5 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i5 === void 0 ? void 0 : _this$settingsState$i5.configStepKey) !== null && _this$settingsState$i4 !== void 0 ? _this$settingsState$i4 : this.configuratorStructureHandler.curConfigStepKey, partlistCodex);
|
|
3656
3721
|
case 7:
|
|
3657
|
-
ret =
|
|
3722
|
+
ret = _context25.sent;
|
|
3658
3723
|
this.settingsState.ConfigDidChange();
|
|
3659
|
-
|
|
3724
|
+
_context25.next = 13;
|
|
3660
3725
|
break;
|
|
3661
3726
|
case 11:
|
|
3662
3727
|
//select the clicked article
|
|
@@ -3669,14 +3734,14 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3669
3734
|
}
|
|
3670
3735
|
case 13:
|
|
3671
3736
|
if (!(ret !== false)) {
|
|
3672
|
-
|
|
3737
|
+
_context25.next = 35;
|
|
3673
3738
|
break;
|
|
3674
3739
|
}
|
|
3675
3740
|
if (ret.accessoire) {
|
|
3676
3741
|
this.selectShelfAccessorie(ret.accessoire.articleCodex, ret.accessoire.basketId);
|
|
3677
3742
|
}
|
|
3678
|
-
|
|
3679
|
-
|
|
3743
|
+
_context25.t0 = ret.type;
|
|
3744
|
+
_context25.next = _context25.t0 === 'notAllowedByParentRule' ? 18 : _context25.t0 === 'notAllowedByMaxQuantityReached' ? 24 : _context25.t0 === 'doesNotFit' ? 26 : _context25.t0 === 'fitsOnParentRuleButOriginalNotAllowed' ? 28 : _context25.t0 === 'notAllowedByAccessoireRule' ? 30 : 35;
|
|
3680
3745
|
break;
|
|
3681
3746
|
case 18:
|
|
3682
3747
|
count = ret.canOnlyFitOn.length;
|
|
@@ -3689,16 +3754,16 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3689
3754
|
}
|
|
3690
3755
|
cellsMsg = cellsMsg + ' ';
|
|
3691
3756
|
this.updatePlannerMsgContainer('SHELFPLANNER_MSG', true, 'WARNING', ((_this$uiState$i18nIns4 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns4 === void 0 ? void 0 : _this$uiState$i18nIns4.t('configurator.CAN_ONLY_FIT_ON_RH_1')) + cellsMsg + ((_this$uiState$i18nIns5 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns5 === void 0 ? void 0 : _this$uiState$i18nIns5.t('configurator.CAN_ONLY_FIT_ON_RH_2')), true);
|
|
3692
|
-
return
|
|
3757
|
+
return _context25.abrupt("break", 35);
|
|
3693
3758
|
case 24:
|
|
3694
3759
|
this.updatePlannerMsgContainer('SHELFPLANNER_MSG', true, 'WARNING', (_this$uiState$i18nIns6 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns6 === void 0 ? void 0 : _this$uiState$i18nIns6.t('configurator.maxQuantityReached'), true);
|
|
3695
|
-
return
|
|
3760
|
+
return _context25.abrupt("break", 35);
|
|
3696
3761
|
case 26:
|
|
3697
3762
|
this.updatePlannerMsgContainer('SHELFPLANNER_MSG', true, 'WARNING', ((_this$uiState$i18nIns7 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns7 === void 0 ? void 0 : _this$uiState$i18nIns7.t('configurator.REGALPLANER_NO_SPACE_1')) + ' ' + ret.size.toString() + ' ' + ((_this$uiState$i18nIns8 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns8 === void 0 ? void 0 : _this$uiState$i18nIns8.t('configurator.REGALPLANER_NO_SPACE_2')), true);
|
|
3698
|
-
return
|
|
3763
|
+
return _context25.abrupt("break", 35);
|
|
3699
3764
|
case 28:
|
|
3700
3765
|
this.updatePlannerMsgContainer('SHELFPLANNER_MSG', true, 'INFO', (_this$uiState$i18nIns9 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns9 === void 0 ? void 0 : _this$uiState$i18nIns9.t('configurator.REGALPLANER_PLACED_ON_OTHER_RH'), true);
|
|
3701
|
-
return
|
|
3766
|
+
return _context25.abrupt("break", 35);
|
|
3702
3767
|
case 30:
|
|
3703
3768
|
articleNames = '';
|
|
3704
3769
|
if (ret.canOnlyFitOn) for (_i = 0; _i < ret.canOnlyFitOn.length; _i++) {
|
|
@@ -3706,16 +3771,16 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3706
3771
|
}
|
|
3707
3772
|
articleNames = articleNames.substring(0, articleNames.length - 2);
|
|
3708
3773
|
this.updatePlannerMsgContainer('SHELFPLANNER_MSG', true, 'WARNING', ((_this$uiState$i18nIns10 = this.uiState.i18nInstance) === null || _this$uiState$i18nIns10 === void 0 ? void 0 : _this$uiState$i18nIns10.t('configurator.NOT_ALLOWED_BY_ON_ACCESSOIRE_RULE')) + articleNames, true);
|
|
3709
|
-
return
|
|
3774
|
+
return _context25.abrupt("break", 35);
|
|
3710
3775
|
case 35:
|
|
3711
3776
|
this.updateFreePlacesOnGrids(grid.gridGroup, 'click add accessorie');
|
|
3712
3777
|
case 36:
|
|
3713
3778
|
case "end":
|
|
3714
|
-
return
|
|
3779
|
+
return _context25.stop();
|
|
3715
3780
|
}
|
|
3716
|
-
},
|
|
3781
|
+
}, _callee25, this);
|
|
3717
3782
|
}));
|
|
3718
|
-
function clickAddAccessorieOnShelfPlanner(
|
|
3783
|
+
function clickAddAccessorieOnShelfPlanner(_x51, _x52) {
|
|
3719
3784
|
return _clickAddAccessorieOnShelfPlanner.apply(this, arguments);
|
|
3720
3785
|
}
|
|
3721
3786
|
return clickAddAccessorieOnShelfPlanner;
|
|
@@ -3723,30 +3788,41 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3723
3788
|
}, {
|
|
3724
3789
|
key: "addAccessorieOnShelfPlannerView",
|
|
3725
3790
|
value: function () {
|
|
3726
|
-
var _addAccessorieOnShelfPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3727
|
-
var _this$settingsState$
|
|
3728
|
-
var configStepKey, result;
|
|
3729
|
-
return _regeneratorRuntime.wrap(function
|
|
3730
|
-
while (1) switch (
|
|
3791
|
+
var _addAccessorieOnShelfPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26(gridIndex, cellIndex, parentBasketId, articleCodex) {
|
|
3792
|
+
var _this$settingsState$i6, _this$settingsState$i7, _this$shelfItem2, _this$shelfItem$Grids;
|
|
3793
|
+
var configStepKey, currentCodex, result;
|
|
3794
|
+
return _regeneratorRuntime.wrap(function _callee26$(_context26) {
|
|
3795
|
+
while (1) switch (_context26.prev = _context26.next) {
|
|
3731
3796
|
case 0:
|
|
3732
|
-
configStepKey = (_this$settingsState$
|
|
3733
|
-
|
|
3797
|
+
configStepKey = (_this$settingsState$i6 = (_this$settingsState$i7 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i7 === void 0 ? void 0 : _this$settingsState$i7.configStepKey) !== null && _this$settingsState$i6 !== void 0 ? _this$settingsState$i6 : this.configuratorStructureHandler.curConfigStepKey; // Variant-family drop: the target cell expects a family sibling — switch the active accessory
|
|
3798
|
+
// to that variant first, then the regular add places it.
|
|
3799
|
+
currentCodex = (_this$shelfItem2 = this.shelfItem) === null || _this$shelfItem2 === void 0 || (_this$shelfItem2 = _this$shelfItem2.Grids) === null || _this$shelfItem2 === void 0 || (_this$shelfItem2 = _this$shelfItem2.find(function (g) {
|
|
3800
|
+
return g.ActAccessoire;
|
|
3801
|
+
})) === null || _this$shelfItem2 === void 0 ? void 0 : _this$shelfItem2.ActAccessoire;
|
|
3802
|
+
if (!(articleCodex && articleCodex !== currentCodex && (_this$shelfItem$Grids = this.shelfItem.Grids) !== null && _this$shelfItem$Grids !== void 0 && _this$shelfItem$Grids.length)) {
|
|
3803
|
+
_context26.next = 5;
|
|
3804
|
+
break;
|
|
3805
|
+
}
|
|
3806
|
+
_context26.next = 5;
|
|
3807
|
+
return this.clickedOnShelfAccessorie(this.shelfItem.Grids, articleCodex);
|
|
3808
|
+
case 5:
|
|
3809
|
+
_context26.next = 7;
|
|
3734
3810
|
return this.divaWebPlanner.addAccessorieOnShelfPlanner(this.shelfItem.currentPaletteId, gridIndex, cellIndex, parentBasketId, configStepKey);
|
|
3735
|
-
case
|
|
3736
|
-
result =
|
|
3811
|
+
case 7:
|
|
3812
|
+
result = _context26.sent;
|
|
3737
3813
|
if (result !== false && result.accessoire) {
|
|
3738
3814
|
this.settingsState.setSelectedShelfAccessoire(result.accessoire.basketId);
|
|
3739
3815
|
} else {
|
|
3740
3816
|
if (this.shelfItem.Grids) this.updateFreePlacesOnGrids(configStepKey, 'add_accessoire');
|
|
3741
3817
|
}
|
|
3742
3818
|
this.settingsState.ConfigDidChange();
|
|
3743
|
-
case
|
|
3819
|
+
case 10:
|
|
3744
3820
|
case "end":
|
|
3745
|
-
return
|
|
3821
|
+
return _context26.stop();
|
|
3746
3822
|
}
|
|
3747
|
-
},
|
|
3823
|
+
}, _callee26, this);
|
|
3748
3824
|
}));
|
|
3749
|
-
function addAccessorieOnShelfPlannerView(
|
|
3825
|
+
function addAccessorieOnShelfPlannerView(_x53, _x54, _x55, _x56) {
|
|
3750
3826
|
return _addAccessorieOnShelfPlannerView.apply(this, arguments);
|
|
3751
3827
|
}
|
|
3752
3828
|
return addAccessorieOnShelfPlannerView;
|
|
@@ -3754,30 +3830,30 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3754
3830
|
}, {
|
|
3755
3831
|
key: "deleteAccessorieOnShelfPlannerView",
|
|
3756
3832
|
value: function () {
|
|
3757
|
-
var _deleteAccessorieOnShelfPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3758
|
-
var _this$settingsState$
|
|
3833
|
+
var _deleteAccessorieOnShelfPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee27(gridIndex, cellIndex, parentBasketId) {
|
|
3834
|
+
var _this$settingsState$i8, _this$settingsState$i9;
|
|
3759
3835
|
var configStepKey;
|
|
3760
|
-
return _regeneratorRuntime.wrap(function
|
|
3761
|
-
while (1) switch (
|
|
3836
|
+
return _regeneratorRuntime.wrap(function _callee27$(_context27) {
|
|
3837
|
+
while (1) switch (_context27.prev = _context27.next) {
|
|
3762
3838
|
case 0:
|
|
3763
|
-
configStepKey = (_this$settingsState$
|
|
3764
|
-
|
|
3839
|
+
configStepKey = (_this$settingsState$i8 = (_this$settingsState$i9 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i9 === void 0 ? void 0 : _this$settingsState$i9.configStepKey) !== null && _this$settingsState$i8 !== void 0 ? _this$settingsState$i8 : this.configuratorStructureHandler.curConfigStepKey;
|
|
3840
|
+
_context27.next = 3;
|
|
3765
3841
|
return this.divaWebPlanner.deleteAccessorieOnShelfPlanner(this.shelfItem.currentPaletteId, gridIndex, cellIndex, parentBasketId, configStepKey);
|
|
3766
3842
|
case 3:
|
|
3767
3843
|
if (this.shelfItem.Grids) {
|
|
3768
|
-
|
|
3844
|
+
_context27.next = 5;
|
|
3769
3845
|
break;
|
|
3770
3846
|
}
|
|
3771
|
-
return
|
|
3847
|
+
return _context27.abrupt("return");
|
|
3772
3848
|
case 5:
|
|
3773
3849
|
this.settingsState.ConfigDidChange();
|
|
3774
3850
|
case 6:
|
|
3775
3851
|
case "end":
|
|
3776
|
-
return
|
|
3852
|
+
return _context27.stop();
|
|
3777
3853
|
}
|
|
3778
|
-
},
|
|
3854
|
+
}, _callee27, this);
|
|
3779
3855
|
}));
|
|
3780
|
-
function deleteAccessorieOnShelfPlannerView(
|
|
3856
|
+
function deleteAccessorieOnShelfPlannerView(_x57, _x58, _x59) {
|
|
3781
3857
|
return _deleteAccessorieOnShelfPlannerView.apply(this, arguments);
|
|
3782
3858
|
}
|
|
3783
3859
|
return deleteAccessorieOnShelfPlannerView;
|
|
@@ -3785,23 +3861,23 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3785
3861
|
}, {
|
|
3786
3862
|
key: "shelfItemMoved",
|
|
3787
3863
|
value: function () {
|
|
3788
|
-
var _shelfItemMoved = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3789
|
-
var _this$settingsState$
|
|
3790
|
-
return _regeneratorRuntime.wrap(function
|
|
3791
|
-
while (1) switch (
|
|
3864
|
+
var _shelfItemMoved = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee28(grid, initialIndex, finalIndex) {
|
|
3865
|
+
var _this$settingsState$i10, _this$settingsState$i11;
|
|
3866
|
+
return _regeneratorRuntime.wrap(function _callee28$(_context28) {
|
|
3867
|
+
while (1) switch (_context28.prev = _context28.next) {
|
|
3792
3868
|
case 0:
|
|
3793
|
-
|
|
3794
|
-
return this.divaWebPlanner.moveShelfItem(this.shelfItem.currentPaletteId, grid, initialIndex, finalIndex, (_this$settingsState$
|
|
3869
|
+
_context28.next = 2;
|
|
3870
|
+
return this.divaWebPlanner.moveShelfItem(this.shelfItem.currentPaletteId, grid, initialIndex, finalIndex, (_this$settingsState$i10 = (_this$settingsState$i11 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i11 === void 0 ? void 0 : _this$settingsState$i11.configStepKey) !== null && _this$settingsState$i10 !== void 0 ? _this$settingsState$i10 : this.configuratorStructureHandler.curConfigStepKey);
|
|
3795
3871
|
case 2:
|
|
3796
3872
|
this.updateFreePlacesOnGrids(grid.gridGroup, 'move');
|
|
3797
3873
|
this.updateConfigStepOfProduct();
|
|
3798
3874
|
case 4:
|
|
3799
3875
|
case "end":
|
|
3800
|
-
return
|
|
3876
|
+
return _context28.stop();
|
|
3801
3877
|
}
|
|
3802
|
-
},
|
|
3878
|
+
}, _callee28, this);
|
|
3803
3879
|
}));
|
|
3804
|
-
function shelfItemMoved(
|
|
3880
|
+
function shelfItemMoved(_x60, _x61, _x62) {
|
|
3805
3881
|
return _shelfItemMoved.apply(this, arguments);
|
|
3806
3882
|
}
|
|
3807
3883
|
return shelfItemMoved;
|
|
@@ -3809,23 +3885,23 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
3809
3885
|
}, {
|
|
3810
3886
|
key: "clickDeleteAccessorieOnShelfPlanner",
|
|
3811
3887
|
value: function () {
|
|
3812
|
-
var _clickDeleteAccessorieOnShelfPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
3813
|
-
var _this$settingsState$
|
|
3814
|
-
return _regeneratorRuntime.wrap(function
|
|
3815
|
-
while (1) switch (
|
|
3888
|
+
var _clickDeleteAccessorieOnShelfPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee29(grid, cellIndex) {
|
|
3889
|
+
var _this$settingsState$i12, _this$settingsState$i13;
|
|
3890
|
+
return _regeneratorRuntime.wrap(function _callee29$(_context29) {
|
|
3891
|
+
while (1) switch (_context29.prev = _context29.next) {
|
|
3816
3892
|
case 0:
|
|
3817
|
-
|
|
3818
|
-
return this.divaWebPlanner.deleteAccessorieOnShelfPlanner(this.shelfItem.currentPaletteId, grid.ShelfIndex, cellIndex, grid.basketId, (_this$settingsState$
|
|
3893
|
+
_context29.next = 2;
|
|
3894
|
+
return this.divaWebPlanner.deleteAccessorieOnShelfPlanner(this.shelfItem.currentPaletteId, grid.ShelfIndex, cellIndex, grid.basketId, (_this$settingsState$i12 = (_this$settingsState$i13 = this.settingsState.itemPalettes.get(this.shelfItem.currentPaletteId)) === null || _this$settingsState$i13 === void 0 ? void 0 : _this$settingsState$i13.configStepKey) !== null && _this$settingsState$i12 !== void 0 ? _this$settingsState$i12 : this.configuratorStructureHandler.curConfigStepKey);
|
|
3819
3895
|
case 2:
|
|
3820
3896
|
this.settingsState.ConfigDidChange();
|
|
3821
3897
|
this.updateFreePlacesOnGrids(grid.gridGroup, 'delete shelf accessoire');
|
|
3822
3898
|
case 4:
|
|
3823
3899
|
case "end":
|
|
3824
|
-
return
|
|
3900
|
+
return _context29.stop();
|
|
3825
3901
|
}
|
|
3826
|
-
},
|
|
3902
|
+
}, _callee29, this);
|
|
3827
3903
|
}));
|
|
3828
|
-
function clickDeleteAccessorieOnShelfPlanner(
|
|
3904
|
+
function clickDeleteAccessorieOnShelfPlanner(_x63, _x64) {
|
|
3829
3905
|
return _clickDeleteAccessorieOnShelfPlanner.apply(this, arguments);
|
|
3830
3906
|
}
|
|
3831
3907
|
return clickDeleteAccessorieOnShelfPlanner;
|
|
@@ -4013,79 +4089,83 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4013
4089
|
}, {
|
|
4014
4090
|
key: "updateCurPaletteData",
|
|
4015
4091
|
value: (function () {
|
|
4016
|
-
var _updateCurPaletteData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
4017
|
-
var _this$
|
|
4092
|
+
var _updateCurPaletteData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee30(wasNaviagtion) {
|
|
4093
|
+
var _this$shelfItem3;
|
|
4018
4094
|
var configStepKey,
|
|
4019
4095
|
curState,
|
|
4020
4096
|
configSKey,
|
|
4021
|
-
|
|
4022
|
-
return _regeneratorRuntime.wrap(function
|
|
4023
|
-
while (1) switch (
|
|
4097
|
+
_args30 = arguments;
|
|
4098
|
+
return _regeneratorRuntime.wrap(function _callee30$(_context30) {
|
|
4099
|
+
while (1) switch (_context30.prev = _context30.next) {
|
|
4024
4100
|
case 0:
|
|
4025
|
-
configStepKey =
|
|
4026
|
-
curState = this.getState();
|
|
4101
|
+
configStepKey = _args30.length > 1 && _args30[1] !== undefined ? _args30[1] : this.configuratorStructureHandler.curConfigStepKey;
|
|
4102
|
+
curState = this.getState(); //a configure can re-key config steps (checkForMergableSelectionModes), so a key captured before the rebuild may no
|
|
4103
|
+
//longer exist - without this fallback loadConfigItemsOfTabGroup would silently do nothing and the palettes stay stale
|
|
4104
|
+
if (curState == 'OPTION' && !this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) {
|
|
4105
|
+
configStepKey = this.configuratorStructureHandler.curConfigStepKey;
|
|
4106
|
+
}
|
|
4027
4107
|
this.settingsState.updateConfigSingle(false);
|
|
4028
4108
|
this.settingsState.setDoShowActElementInfo(['ACC', 'ACC_PLANNER', 'OPTION', 'SHELFPLANNER', 'DOORPLANNER', 'STATICROOMLIST'].includes(curState));
|
|
4029
|
-
|
|
4109
|
+
_context30.next = 7;
|
|
4030
4110
|
return this.divaWebPlanner.setActSetCurConfigStepKey(configStepKey);
|
|
4031
|
-
case
|
|
4032
|
-
|
|
4033
|
-
|
|
4111
|
+
case 7:
|
|
4112
|
+
_context30.t0 = curState;
|
|
4113
|
+
_context30.next = _context30.t0 === 'PLANNER' ? 10 : _context30.t0 === 'PLANNER_2.0' ? 12 : _context30.t0 === 'PRODUCTS' ? 14 : _context30.t0 === 'PROMOTED' ? 16 : _context30.t0 === 'ACC' ? 18 : _context30.t0 === 'ACC_PLANNER' ? 18 : _context30.t0 === 'OPTION' ? 21 : _context30.t0 === 'SUMMARY' ? 24 : _context30.t0 === 'STYLE_CONSULTANT' ? 27 : _context30.t0 === 'STATICROOMLIST' ? 29 : _context30.t0 === 'SHELFPLANNER' ? 31 : _context30.t0 === 'DOORPLANNER' ? 34 : 36;
|
|
4034
4114
|
break;
|
|
4035
|
-
case
|
|
4115
|
+
case 10:
|
|
4036
4116
|
this.loadPlannerItems(!wasNaviagtion);
|
|
4037
|
-
return
|
|
4038
|
-
case
|
|
4117
|
+
return _context30.abrupt("break", 38);
|
|
4118
|
+
case 12:
|
|
4039
4119
|
this.loadPlanner2Dot0Items(!wasNaviagtion);
|
|
4040
|
-
return
|
|
4041
|
-
case
|
|
4120
|
+
return _context30.abrupt("break", 38);
|
|
4121
|
+
case 14:
|
|
4042
4122
|
this.loadProducts();
|
|
4043
|
-
return
|
|
4044
|
-
case
|
|
4123
|
+
return _context30.abrupt("break", 38);
|
|
4124
|
+
case 16:
|
|
4045
4125
|
this.loadPromoted();
|
|
4046
|
-
return
|
|
4047
|
-
case
|
|
4048
|
-
|
|
4126
|
+
return _context30.abrupt("break", 38);
|
|
4127
|
+
case 18:
|
|
4128
|
+
_context30.next = 20;
|
|
4049
4129
|
return this.loadAccessoiresOfActArticles();
|
|
4050
|
-
case 19:
|
|
4051
|
-
return _context29.abrupt("break", 37);
|
|
4052
4130
|
case 20:
|
|
4053
|
-
|
|
4131
|
+
return _context30.abrupt("break", 38);
|
|
4132
|
+
case 21:
|
|
4133
|
+
_context30.next = 23;
|
|
4054
4134
|
return this.loadConfigItemsOfTabGroup(configStepKey, wasNaviagtion ? 'byNavigation' : 'doConfigure');
|
|
4055
|
-
case 22:
|
|
4056
|
-
return _context29.abrupt("break", 37);
|
|
4057
4135
|
case 23:
|
|
4136
|
+
return _context30.abrupt("break", 38);
|
|
4137
|
+
case 24:
|
|
4058
4138
|
//Set in the plannerHandler all elements not selected
|
|
4059
4139
|
if (!this.divaWebPlanner.doAllowSetPlanner()) this.updateElementSelectionPlanner([], false);
|
|
4060
4140
|
this.loadSummaryItems();
|
|
4061
|
-
return
|
|
4062
|
-
case
|
|
4141
|
+
return _context30.abrupt("break", 38);
|
|
4142
|
+
case 27:
|
|
4063
4143
|
this.loadStyleConsultantItems();
|
|
4064
|
-
return
|
|
4065
|
-
case
|
|
4144
|
+
return _context30.abrupt("break", 38);
|
|
4145
|
+
case 29:
|
|
4066
4146
|
this.loadStaticRoomListItems();
|
|
4067
|
-
return
|
|
4068
|
-
case
|
|
4069
|
-
configSKey = configStepKey.startsWith('SHELFARTICLE_') ? configStepKey : (_this$
|
|
4147
|
+
return _context30.abrupt("break", 38);
|
|
4148
|
+
case 31:
|
|
4149
|
+
configSKey = configStepKey.startsWith('SHELFARTICLE_') ? configStepKey : (_this$shelfItem3 = this.shelfItem) === null || _this$shelfItem3 === void 0 || (_this$shelfItem3 = _this$shelfItem3.Grids) === null || _this$shelfItem3 === void 0 ? void 0 : _this$shelfItem3[0].gridGroup;
|
|
4070
4150
|
this.loadShelfPlannerItems(1, configSKey);
|
|
4071
|
-
return
|
|
4072
|
-
case
|
|
4151
|
+
return _context30.abrupt("break", 38);
|
|
4152
|
+
case 34:
|
|
4073
4153
|
this.loadDoorPlannerItems(configStepKey);
|
|
4074
|
-
return
|
|
4075
|
-
case
|
|
4154
|
+
return _context30.abrupt("break", 38);
|
|
4155
|
+
case 36:
|
|
4076
4156
|
LOG$f.error(new DivaError('tabgroup Type: ' + curState + ' not implemented', {
|
|
4077
4157
|
code: 'WC_0011'
|
|
4078
4158
|
}));
|
|
4079
|
-
return
|
|
4080
|
-
case 37:
|
|
4081
|
-
if (wasNaviagtion) this.updateContentItemAfterNavigation();
|
|
4159
|
+
return _context30.abrupt("break", 38);
|
|
4082
4160
|
case 38:
|
|
4161
|
+
if (wasNaviagtion) this.updateContentItemAfterNavigation();
|
|
4162
|
+
case 39:
|
|
4083
4163
|
case "end":
|
|
4084
|
-
return
|
|
4164
|
+
return _context30.stop();
|
|
4085
4165
|
}
|
|
4086
|
-
},
|
|
4166
|
+
}, _callee30, this);
|
|
4087
4167
|
}));
|
|
4088
|
-
function updateCurPaletteData(
|
|
4168
|
+
function updateCurPaletteData(_x65) {
|
|
4089
4169
|
return _updateCurPaletteData.apply(this, arguments);
|
|
4090
4170
|
}
|
|
4091
4171
|
return updateCurPaletteData;
|
|
@@ -4198,9 +4278,9 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4198
4278
|
}, {
|
|
4199
4279
|
key: "loadAccessoiresOfActArticles",
|
|
4200
4280
|
value: (function () {
|
|
4201
|
-
var _loadAccessoiresOfActArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
4202
|
-
return _regeneratorRuntime.wrap(function
|
|
4203
|
-
while (1) switch (
|
|
4281
|
+
var _loadAccessoiresOfActArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee31() {
|
|
4282
|
+
return _regeneratorRuntime.wrap(function _callee31$(_context31) {
|
|
4283
|
+
while (1) switch (_context31.prev = _context31.next) {
|
|
4204
4284
|
case 0:
|
|
4205
4285
|
this.divaWebPlanner.loadAccessoiresOfArticles(this.configuratorStructureHandler.actTargetArticles);
|
|
4206
4286
|
|
|
@@ -4209,9 +4289,9 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4209
4289
|
this.actGroupedConfigSteps = [];
|
|
4210
4290
|
case 3:
|
|
4211
4291
|
case "end":
|
|
4212
|
-
return
|
|
4292
|
+
return _context31.stop();
|
|
4213
4293
|
}
|
|
4214
|
-
},
|
|
4294
|
+
}, _callee31, this);
|
|
4215
4295
|
}));
|
|
4216
4296
|
function loadAccessoiresOfActArticles() {
|
|
4217
4297
|
return _loadAccessoiresOfActArticles.apply(this, arguments);
|
|
@@ -4231,15 +4311,15 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4231
4311
|
}, {
|
|
4232
4312
|
key: "loadConfigItemsOfTabGroup",
|
|
4233
4313
|
value: (function () {
|
|
4234
|
-
var _loadConfigItemsOfTabGroup = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
4314
|
+
var _loadConfigItemsOfTabGroup = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee32(curConfigStepKey, calledFrom) {
|
|
4235
4315
|
var newGroupedConfigSteps, configStepWasAlreadyLoaded, i, j, isVisited, itemPalette, stepsNotRenderdCount, _i2, configStep, _this$configuratorStr5, _this$getSelectedElem4, optionName, visible;
|
|
4236
|
-
return _regeneratorRuntime.wrap(function
|
|
4237
|
-
while (1) switch (
|
|
4316
|
+
return _regeneratorRuntime.wrap(function _callee32$(_context32) {
|
|
4317
|
+
while (1) switch (_context32.prev = _context32.next) {
|
|
4238
4318
|
case 0:
|
|
4239
4319
|
this.paletteWasLoadedFrom = calledFrom;
|
|
4240
4320
|
newGroupedConfigSteps = this.configuratorStructureHandler.getConifgStepsToGroup(curConfigStepKey); //Alle selektierbar
|
|
4241
4321
|
if (!(newGroupedConfigSteps != null)) {
|
|
4242
|
-
|
|
4322
|
+
_context32.next = 47;
|
|
4243
4323
|
break;
|
|
4244
4324
|
}
|
|
4245
4325
|
this.settingsState.hideNotUsedPalettes(newGroupedConfigSteps.length);
|
|
@@ -4255,7 +4335,7 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4255
4335
|
i = 0;
|
|
4256
4336
|
case 8:
|
|
4257
4337
|
if (!(i < newGroupedConfigSteps.length)) {
|
|
4258
|
-
|
|
4338
|
+
_context32.next = 26;
|
|
4259
4339
|
break;
|
|
4260
4340
|
}
|
|
4261
4341
|
if (!this.configSteps[i]) {
|
|
@@ -4266,18 +4346,18 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4266
4346
|
j = 0;
|
|
4267
4347
|
case 13:
|
|
4268
4348
|
if (!(j < this.actGroupedConfigSteps.length)) {
|
|
4269
|
-
|
|
4349
|
+
_context32.next = 20;
|
|
4270
4350
|
break;
|
|
4271
4351
|
}
|
|
4272
4352
|
if (!(this.actGroupedConfigSteps[j].key == newGroupedConfigSteps[i].key)) {
|
|
4273
|
-
|
|
4353
|
+
_context32.next = 17;
|
|
4274
4354
|
break;
|
|
4275
4355
|
}
|
|
4276
4356
|
configStepWasAlreadyLoaded[i] = true;
|
|
4277
|
-
return
|
|
4357
|
+
return _context32.abrupt("break", 20);
|
|
4278
4358
|
case 17:
|
|
4279
4359
|
j++;
|
|
4280
|
-
|
|
4360
|
+
_context32.next = 13;
|
|
4281
4361
|
break;
|
|
4282
4362
|
case 20:
|
|
4283
4363
|
//alle Schritte auf Visited false setzten falls es kein Update ist, oder neue Schritte dazugekommen sind
|
|
@@ -4292,53 +4372,53 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4292
4372
|
}
|
|
4293
4373
|
case 23:
|
|
4294
4374
|
i++;
|
|
4295
|
-
|
|
4375
|
+
_context32.next = 8;
|
|
4296
4376
|
break;
|
|
4297
4377
|
case 26:
|
|
4298
4378
|
stepsNotRenderdCount = 0;
|
|
4299
4379
|
_i2 = 0;
|
|
4300
4380
|
case 28:
|
|
4301
4381
|
if (!(_i2 < newGroupedConfigSteps.length)) {
|
|
4302
|
-
|
|
4382
|
+
_context32.next = 46;
|
|
4303
4383
|
break;
|
|
4304
4384
|
}
|
|
4305
4385
|
configStep = newGroupedConfigSteps[_i2]; //die einzelnen ConfigPaletten laden. Evtl. können es auch andere arten von Paletten sein (Regalplanner oder Accessoires)
|
|
4306
4386
|
if (!configStep.differentTabgroupType) {
|
|
4307
|
-
|
|
4387
|
+
_context32.next = 34;
|
|
4308
4388
|
break;
|
|
4309
4389
|
}
|
|
4310
4390
|
this.divaWebPlanner.loadShelfPlannerItems(_i2 + 1 - stepsNotRenderdCount, configStep.key, 'loadShelfPlannerItemsLogic');
|
|
4311
|
-
|
|
4391
|
+
_context32.next = 43;
|
|
4312
4392
|
break;
|
|
4313
4393
|
case 34:
|
|
4314
4394
|
if (!(configStep.option == 'OPTPLANNERSWITCH')) {
|
|
4315
|
-
|
|
4395
|
+
_context32.next = 39;
|
|
4316
4396
|
break;
|
|
4317
4397
|
}
|
|
4318
4398
|
optionName = (_this$configuratorStr5 = this.configuratorStructureHandler.getConfigStepByKey(configStep.key)) === null || _this$configuratorStr5 === void 0 ? void 0 : _this$configuratorStr5.optionStep.title;
|
|
4319
4399
|
this.divaWebPlanner.loadCatalogPlannerArticles(_i2 + 1 - stepsNotRenderdCount, false, 'PLANNERSWITCH', '', optionName, 'PLANNER', (_this$getSelectedElem4 = this.getSelectedElementsArr()[0]) === null || _this$getSelectedElem4 === void 0 ? void 0 : _this$getSelectedElem4.getArticleCodex());
|
|
4320
|
-
|
|
4400
|
+
_context32.next = 43;
|
|
4321
4401
|
break;
|
|
4322
4402
|
case 39:
|
|
4323
4403
|
visible = true;
|
|
4324
4404
|
if (this.uiState.ViewConfig.hideFirstStepWhenSingleOPVOnly && configStep.singleOPVOnly && _i2 === 0 || this.uiState.ViewConfig.hideSingleOPVOnlyAlways && configStep.singleOPVOnly) {
|
|
4325
4405
|
visible = false;
|
|
4326
4406
|
}
|
|
4327
|
-
|
|
4407
|
+
_context32.next = 43;
|
|
4328
4408
|
return this.divaWebPlanner.loadConfigItemsOfOptions(configStep.key, _i2 + 1 - stepsNotRenderdCount, configStepWasAlreadyLoaded[_i2], visible);
|
|
4329
4409
|
case 43:
|
|
4330
4410
|
_i2++;
|
|
4331
|
-
|
|
4411
|
+
_context32.next = 28;
|
|
4332
4412
|
break;
|
|
4333
4413
|
case 46:
|
|
4334
4414
|
this.actGroupedConfigSteps = _toConsumableArray(newGroupedConfigSteps);
|
|
4335
4415
|
case 47:
|
|
4336
4416
|
case "end":
|
|
4337
|
-
return
|
|
4417
|
+
return _context32.stop();
|
|
4338
4418
|
}
|
|
4339
|
-
},
|
|
4419
|
+
}, _callee32, this);
|
|
4340
4420
|
}));
|
|
4341
|
-
function loadConfigItemsOfTabGroup(
|
|
4421
|
+
function loadConfigItemsOfTabGroup(_x66, _x67) {
|
|
4342
4422
|
return _loadConfigItemsOfTabGroup.apply(this, arguments);
|
|
4343
4423
|
}
|
|
4344
4424
|
return loadConfigItemsOfTabGroup;
|
|
@@ -4450,10 +4530,10 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4450
4530
|
}, {
|
|
4451
4531
|
key: "configSingleIsChanged",
|
|
4452
4532
|
value: (function () {
|
|
4453
|
-
var _configSingleIsChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
4533
|
+
var _configSingleIsChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee33() {
|
|
4454
4534
|
var groupedConfigOptions, allArticlesOfTabGroup, i, configStepKey;
|
|
4455
|
-
return _regeneratorRuntime.wrap(function
|
|
4456
|
-
while (1) switch (
|
|
4535
|
+
return _regeneratorRuntime.wrap(function _callee33$(_context33) {
|
|
4536
|
+
while (1) switch (_context33.prev = _context33.next) {
|
|
4457
4537
|
case 0:
|
|
4458
4538
|
groupedConfigOptions = [];
|
|
4459
4539
|
allArticlesOfTabGroup = this.configuratorStructureHandler.getAllArticlesOfTabGroup(this.configuratorStructureHandler.curConfigStepKey);
|
|
@@ -4467,17 +4547,17 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4467
4547
|
groupedConfigOptionsCount: groupedConfigOptions.length,
|
|
4468
4548
|
allArticlesOfTabGroupCount: allArticlesOfTabGroup === null || allArticlesOfTabGroup === void 0 ? void 0 : allArticlesOfTabGroup.length
|
|
4469
4549
|
});
|
|
4470
|
-
|
|
4550
|
+
_context33.next = 6;
|
|
4471
4551
|
return this.divaWebPlanner.configSingleIsChanged(!this.settingsState.doConfigSingle, this.configuratorStructureHandler.curConfigStepKey, groupedConfigOptions, allArticlesOfTabGroup, this.configuratorStructureHandler.curOptionCodex, this.configuratorStructureHandler.curTabgroupKey);
|
|
4472
4552
|
case 6:
|
|
4473
|
-
configStepKey =
|
|
4553
|
+
configStepKey = _context33.sent;
|
|
4474
4554
|
this.configuratorStructureHandler.navigateToConfigStepByConfigStepKey(configStepKey);
|
|
4475
4555
|
this.loadConfigItemsOfTabGroup(configStepKey, 'configSingleIsChanged');
|
|
4476
4556
|
case 9:
|
|
4477
4557
|
case "end":
|
|
4478
|
-
return
|
|
4558
|
+
return _context33.stop();
|
|
4479
4559
|
}
|
|
4480
|
-
},
|
|
4560
|
+
}, _callee33, this);
|
|
4481
4561
|
}));
|
|
4482
4562
|
function configSingleIsChanged() {
|
|
4483
4563
|
return _configSingleIsChanged.apply(this, arguments);
|
|
@@ -4671,12 +4751,12 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4671
4751
|
var acc = accessoires[i];
|
|
4672
4752
|
if (acc.configStepKeys) {
|
|
4673
4753
|
for (var j = 0; j < acc.configStepKeys.length; j++) {
|
|
4674
|
-
var _this$settingsState$
|
|
4754
|
+
var _this$settingsState$i14;
|
|
4675
4755
|
var stepKey = acc.configStepKeys[j];
|
|
4676
4756
|
count++;
|
|
4677
4757
|
if (!this.configSteps[count]) this.configSteps[count] = new ConfigItems(count);
|
|
4678
4758
|
stepKey.id = count;
|
|
4679
|
-
var isUpdate = ((_this$settingsState$
|
|
4759
|
+
var isUpdate = ((_this$settingsState$i14 = this.settingsState.itemPalettes.get(stepKey.id)) === null || _this$settingsState$i14 === void 0 ? void 0 : _this$settingsState$i14.configStepKey) == stepKey.key;
|
|
4680
4760
|
this.divaWebPlanner.loadConfigItemsOfOptions(stepKey.key, count, isUpdate, true);
|
|
4681
4761
|
}
|
|
4682
4762
|
}
|
|
@@ -4704,11 +4784,11 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4704
4784
|
}
|
|
4705
4785
|
var count = 2;
|
|
4706
4786
|
for (var _i3 = 0; _i3 < configSteps.length; _i3++) {
|
|
4707
|
-
var _this$settingsState$
|
|
4787
|
+
var _this$settingsState$i15;
|
|
4708
4788
|
var configstep = configSteps[_i3];
|
|
4709
4789
|
count++;
|
|
4710
4790
|
if (!this.configSteps[count]) this.configSteps[count] = new ConfigItems(count);
|
|
4711
|
-
var isUpdate = ((_this$settingsState$
|
|
4791
|
+
var isUpdate = ((_this$settingsState$i15 = this.settingsState.itemPalettes.get(count)) === null || _this$settingsState$i15 === void 0 ? void 0 : _this$settingsState$i15.configStepKey) == configstep.key;
|
|
4712
4792
|
this.divaWebPlanner.loadConfigItemsOfOptions(configstep.key, count, isUpdate, true);
|
|
4713
4793
|
}
|
|
4714
4794
|
this.settingsState.hideNotUsedPalettes(count);
|
|
@@ -4987,6 +5067,10 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
4987
5067
|
if (itemPalette.type == 'SHELFPLANNER') {
|
|
4988
5068
|
itemPalette.shelfPlannerGrids = this.shelfItem.Grids;
|
|
4989
5069
|
}
|
|
5070
|
+
if (itemPalette.type == 'RANGE') {
|
|
5071
|
+
var _items$;
|
|
5072
|
+
itemPalette.measureUnit = (_items$ = items[0]) === null || _items$ === void 0 ? void 0 : _items$.measureUnit;
|
|
5073
|
+
}
|
|
4990
5074
|
this.settingsState.updateItemPalette(paletteId, itemPalette);
|
|
4991
5075
|
if (!(curItems instanceof ConfigItems)) {
|
|
4992
5076
|
this.visitActVisibleSteps();
|
|
@@ -5091,30 +5175,30 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
5091
5175
|
}, {
|
|
5092
5176
|
key: "rerenderPaletteWithConfigSingeIfOPVsDontMatch",
|
|
5093
5177
|
value: function () {
|
|
5094
|
-
var _rerenderPaletteWithConfigSingeIfOPVsDontMatch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
5178
|
+
var _rerenderPaletteWithConfigSingeIfOPVsDontMatch = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee34() {
|
|
5095
5179
|
var i;
|
|
5096
|
-
return _regeneratorRuntime.wrap(function
|
|
5097
|
-
while (1) switch (
|
|
5180
|
+
return _regeneratorRuntime.wrap(function _callee34$(_context34) {
|
|
5181
|
+
while (1) switch (_context34.prev = _context34.next) {
|
|
5098
5182
|
case 0:
|
|
5099
5183
|
i = 0;
|
|
5100
5184
|
case 1:
|
|
5101
5185
|
if (!(!this.checkIfAllItemsAreRendered() && i < 50)) {
|
|
5102
|
-
|
|
5186
|
+
_context34.next = 7;
|
|
5103
5187
|
break;
|
|
5104
5188
|
}
|
|
5105
|
-
|
|
5189
|
+
_context34.next = 4;
|
|
5106
5190
|
return DivaUtils.Sleep(20);
|
|
5107
5191
|
case 4:
|
|
5108
5192
|
i++;
|
|
5109
|
-
|
|
5193
|
+
_context34.next = 1;
|
|
5110
5194
|
break;
|
|
5111
5195
|
case 7:
|
|
5112
5196
|
this.configSingleIsChanged();
|
|
5113
5197
|
case 8:
|
|
5114
5198
|
case "end":
|
|
5115
|
-
return
|
|
5199
|
+
return _context34.stop();
|
|
5116
5200
|
}
|
|
5117
|
-
},
|
|
5201
|
+
}, _callee34, this);
|
|
5118
5202
|
}));
|
|
5119
5203
|
function rerenderPaletteWithConfigSingeIfOPVsDontMatch() {
|
|
5120
5204
|
return _rerenderPaletteWithConfigSingeIfOPVsDontMatch.apply(this, arguments);
|
|
@@ -5124,30 +5208,30 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
5124
5208
|
}, {
|
|
5125
5209
|
key: "resetConfigSingeIfOPVsMatchAgain",
|
|
5126
5210
|
value: function () {
|
|
5127
|
-
var _resetConfigSingeIfOPVsMatchAgain = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
5211
|
+
var _resetConfigSingeIfOPVsMatchAgain = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee35() {
|
|
5128
5212
|
var i;
|
|
5129
|
-
return _regeneratorRuntime.wrap(function
|
|
5130
|
-
while (1) switch (
|
|
5213
|
+
return _regeneratorRuntime.wrap(function _callee35$(_context35) {
|
|
5214
|
+
while (1) switch (_context35.prev = _context35.next) {
|
|
5131
5215
|
case 0:
|
|
5132
5216
|
i = 0;
|
|
5133
5217
|
case 1:
|
|
5134
5218
|
if (!(!this.checkIfAllItemsAreRendered() && i < 50)) {
|
|
5135
|
-
|
|
5219
|
+
_context35.next = 7;
|
|
5136
5220
|
break;
|
|
5137
5221
|
}
|
|
5138
|
-
|
|
5222
|
+
_context35.next = 4;
|
|
5139
5223
|
return DivaUtils.Sleep(20);
|
|
5140
5224
|
case 4:
|
|
5141
5225
|
i++;
|
|
5142
|
-
|
|
5226
|
+
_context35.next = 1;
|
|
5143
5227
|
break;
|
|
5144
5228
|
case 7:
|
|
5145
5229
|
this.configSingleIsChanged();
|
|
5146
5230
|
case 8:
|
|
5147
5231
|
case "end":
|
|
5148
|
-
return
|
|
5232
|
+
return _context35.stop();
|
|
5149
5233
|
}
|
|
5150
|
-
},
|
|
5234
|
+
}, _callee35, this);
|
|
5151
5235
|
}));
|
|
5152
5236
|
function resetConfigSingeIfOPVsMatchAgain() {
|
|
5153
5237
|
return _resetConfigSingeIfOPVsMatchAgain.apply(this, arguments);
|
|
@@ -5162,8 +5246,8 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
5162
5246
|
key: "getPaletteNameOfPaletteId",
|
|
5163
5247
|
value: function getPaletteNameOfPaletteId(paletteId, filterType, actStepName, visible) {
|
|
5164
5248
|
var firstVisiblePaletteId = 1;
|
|
5165
|
-
while (paletteId >= firstVisiblePaletteId && !(visible && paletteId == firstVisiblePaletteId || (_this$settingsState$
|
|
5166
|
-
var _this$settingsState$
|
|
5249
|
+
while (paletteId >= firstVisiblePaletteId && !(visible && paletteId == firstVisiblePaletteId || (_this$settingsState$i16 = this.settingsState.itemPalettes.get(firstVisiblePaletteId)) !== null && _this$settingsState$i16 !== void 0 && _this$settingsState$i16.visible && paletteId !== firstVisiblePaletteId)) {
|
|
5250
|
+
var _this$settingsState$i16;
|
|
5167
5251
|
firstVisiblePaletteId++;
|
|
5168
5252
|
}
|
|
5169
5253
|
var paletteName = paletteId.toString();
|
|
@@ -5203,8 +5287,8 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
5203
5287
|
if (!visible) return false;
|
|
5204
5288
|
var i = 1;
|
|
5205
5289
|
while (i < paletteId) {
|
|
5206
|
-
var _this$settingsState$
|
|
5207
|
-
if ((_this$settingsState$
|
|
5290
|
+
var _this$settingsState$i17;
|
|
5291
|
+
if ((_this$settingsState$i17 = this.settingsState.itemPalettes.get(i)) !== null && _this$settingsState$i17 !== void 0 && _this$settingsState$i17.visible) return false;
|
|
5208
5292
|
i++;
|
|
5209
5293
|
}
|
|
5210
5294
|
if (!['DROPDOWN_TEXT', 'TOGGLE', 'TOGGLE_NAME', 'MULTI_TOGGLE', 'MULTI_TOGGLE_ROUND'].includes(itemPalette.type)) return true;
|
|
@@ -5303,56 +5387,56 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
5303
5387
|
}, {
|
|
5304
5388
|
key: "scrollToConfigStepByPosNr",
|
|
5305
5389
|
value: (function () {
|
|
5306
|
-
var _scrollToConfigStepByPosNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
5390
|
+
var _scrollToConfigStepByPosNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee36(posNr, withDelay) {
|
|
5307
5391
|
var i, ret, j;
|
|
5308
|
-
return _regeneratorRuntime.wrap(function
|
|
5309
|
-
while (1) switch (
|
|
5392
|
+
return _regeneratorRuntime.wrap(function _callee36$(_context36) {
|
|
5393
|
+
while (1) switch (_context36.prev = _context36.next) {
|
|
5310
5394
|
case 0:
|
|
5311
5395
|
ret = this.configuratorStructureHandler.getConfigStepByPosNr(posNr);
|
|
5312
5396
|
i = 0;
|
|
5313
5397
|
case 2:
|
|
5314
5398
|
if (!(i < this.configuratorStructureHandler.actGroupedConfigStepsCount)) {
|
|
5315
|
-
|
|
5399
|
+
_context36.next = 8;
|
|
5316
5400
|
break;
|
|
5317
5401
|
}
|
|
5318
5402
|
if (!(this.configSteps[i].ConfigStepKey == (ret === null || ret === void 0 ? void 0 : ret.configStep.key))) {
|
|
5319
|
-
|
|
5403
|
+
_context36.next = 5;
|
|
5320
5404
|
break;
|
|
5321
5405
|
}
|
|
5322
|
-
return
|
|
5406
|
+
return _context36.abrupt("break", 8);
|
|
5323
5407
|
case 5:
|
|
5324
5408
|
i++;
|
|
5325
|
-
|
|
5409
|
+
_context36.next = 2;
|
|
5326
5410
|
break;
|
|
5327
5411
|
case 8:
|
|
5328
5412
|
j = 0;
|
|
5329
5413
|
case 9:
|
|
5330
5414
|
if (!(!this.checkIfAllItemsAreRendered() && j < 100)) {
|
|
5331
|
-
|
|
5415
|
+
_context36.next = 15;
|
|
5332
5416
|
break;
|
|
5333
5417
|
}
|
|
5334
5418
|
j++;
|
|
5335
|
-
|
|
5419
|
+
_context36.next = 13;
|
|
5336
5420
|
return DivaUtils.Sleep(50);
|
|
5337
5421
|
case 13:
|
|
5338
|
-
|
|
5422
|
+
_context36.next = 9;
|
|
5339
5423
|
break;
|
|
5340
5424
|
case 15:
|
|
5341
5425
|
if (!withDelay) {
|
|
5342
|
-
|
|
5426
|
+
_context36.next = 18;
|
|
5343
5427
|
break;
|
|
5344
5428
|
}
|
|
5345
|
-
|
|
5429
|
+
_context36.next = 18;
|
|
5346
5430
|
return DivaUtils.Sleep(400);
|
|
5347
5431
|
case 18:
|
|
5348
5432
|
this.scrollToConfigStep(i + 1);
|
|
5349
5433
|
case 19:
|
|
5350
5434
|
case "end":
|
|
5351
|
-
return
|
|
5435
|
+
return _context36.stop();
|
|
5352
5436
|
}
|
|
5353
|
-
},
|
|
5437
|
+
}, _callee36, this);
|
|
5354
5438
|
}));
|
|
5355
|
-
function scrollToConfigStepByPosNr(
|
|
5439
|
+
function scrollToConfigStepByPosNr(_x68, _x69) {
|
|
5356
5440
|
return _scrollToConfigStepByPosNr.apply(this, arguments);
|
|
5357
5441
|
}
|
|
5358
5442
|
return scrollToConfigStepByPosNr;
|
|
@@ -5394,10 +5478,10 @@ var PaletteViewHandler = /*#__PURE__*/function () {
|
|
|
5394
5478
|
}, {
|
|
5395
5479
|
key: "focusSearch",
|
|
5396
5480
|
value: function focusSearch(paletteId) {
|
|
5397
|
-
var _this$settingsState$
|
|
5398
|
-
var palette = paletteId !== undefined ? this.settingsState.itemPalettes.get(paletteId) : (_this$settingsState$
|
|
5481
|
+
var _this$settingsState$i18;
|
|
5482
|
+
var palette = paletteId !== undefined ? this.settingsState.itemPalettes.get(paletteId) : (_this$settingsState$i18 = this.settingsState.itemPaletteArr.find(function (i) {
|
|
5399
5483
|
return i[1].visible;
|
|
5400
|
-
})) === null || _this$settingsState$
|
|
5484
|
+
})) === null || _this$settingsState$i18 === void 0 ? void 0 : _this$settingsState$i18[1];
|
|
5401
5485
|
if (!(palette !== null && palette !== void 0 && palette.htmlInputElement)) return false;
|
|
5402
5486
|
palette.htmlInputElement.focus();
|
|
5403
5487
|
return true;
|
|
@@ -5769,6 +5853,8 @@ var PlannerUI = /*#__PURE__*/function () {
|
|
|
5769
5853
|
function _createForOfIteratorHelper$3(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$3(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
5770
5854
|
function _unsupportedIterableToArray$3(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$3(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$3(r, a) : void 0; } }
|
|
5771
5855
|
function _arrayLikeToArray$3(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5856
|
+
/** Tab-group contexts that count as a planner selection step (as opposed to a config step). */
|
|
5857
|
+
var PLANNER_SELECTION_CONTEXTS = ['PLANNER', 'PRODUCTS', 'PROMOTED', 'ACC_PLANNER', 'PLANNER_2.0'];
|
|
5772
5858
|
var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
5773
5859
|
function ViewPlannerHandler(onElemSelectionChanged, getConfiguratorState, productState, aiState, forceViewToEnterPlannerMode, getOrbitInteractionAPI, getPosNrByBasketId, updateExternalPlannerState) {
|
|
5774
5860
|
var _this = this;
|
|
@@ -5849,6 +5935,16 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5849
5935
|
_defineProperty(this, "onElementDeleted", function (setId, elementId) {
|
|
5850
5936
|
_this.deletePlannerElement(setId, elementId);
|
|
5851
5937
|
});
|
|
5938
|
+
/**
|
|
5939
|
+
* Deletes the currently selected element (keyboard Del / Entf). Gated to the same
|
|
5940
|
+
* planner-selection contexts as onClearElementSelection so it does not fire in config steps.
|
|
5941
|
+
*/
|
|
5942
|
+
_defineProperty(this, "deleteSelectedElement", function () {
|
|
5943
|
+
if (!_this.isPlannerSelectionContext) return;
|
|
5944
|
+
var selected = _this.getSelectedElementsArr(true)[0];
|
|
5945
|
+
if (!selected) return;
|
|
5946
|
+
_this.onElementDeleted(selected.getSetId(), selected.getElementId());
|
|
5947
|
+
});
|
|
5852
5948
|
/**
|
|
5853
5949
|
* This function is called when the user selects manually a new element in the planner.
|
|
5854
5950
|
* The UI is updated and the configurator is informed
|
|
@@ -5896,8 +5992,14 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5896
5992
|
//delete the selected docking point if it is not the new selected element
|
|
5897
5993
|
if (_this.selectedDockingPoint && _this.selectedDockingPoint.ElementId != elementId) _this.selectedDockingPoint = undefined;
|
|
5898
5994
|
}
|
|
5899
|
-
if (!_this.setAllElementsSelectable && !_this.selectableElementsDict.has(setId)) return;
|
|
5900
5995
|
if (notEffects) return;
|
|
5996
|
+
|
|
5997
|
+
// Mirrors `selectedElementsDict` above, so it has to be set even when the selectability guard
|
|
5998
|
+
// below skips the UI/configurator effects — otherwise the RTV canvas paints a stale selection.
|
|
5999
|
+
// Selection must NOT force a camera focus — the viewer owns focus (click an already-selected
|
|
6000
|
+
// element to fly in). Forcing `rtvFocusElementId` here made every single click focus.
|
|
6001
|
+
_this.productState.setRtvSelectedElementId(elementId);
|
|
6002
|
+
if (!_this.setAllElementsSelectable && !_this.selectableElementsDict.has(setId)) return;
|
|
5901
6003
|
_this.updateUI();
|
|
5902
6004
|
_this.informViewElemSelectionChanged(_this.selectedElementsDict.get(setId), _this.selectedDockingPoint);
|
|
5903
6005
|
_this.updateExternalPlannerState();
|
|
@@ -5914,7 +6016,7 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5914
6016
|
* This function should be called if no element is selected
|
|
5915
6017
|
*/
|
|
5916
6018
|
_defineProperty(this, "onClearElementSelection", function () {
|
|
5917
|
-
if (
|
|
6019
|
+
if (_this.isPlannerSelectionContext && _this.selectedElementsDict.size > 0) {
|
|
5918
6020
|
//If in planner mode clear Element Selection
|
|
5919
6021
|
_this.selectedElementsDict.clear();
|
|
5920
6022
|
_this.setAllElementsSelectable = true;
|
|
@@ -5922,6 +6024,8 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5922
6024
|
_this.updateUI();
|
|
5923
6025
|
_this.informViewElemSelectionChanged([]);
|
|
5924
6026
|
_this.updateExternalPlannerState();
|
|
6027
|
+
_this.productState.setRtvFocusElementId(null);
|
|
6028
|
+
_this.productState.setRtvSelectedElementId(null);
|
|
5925
6029
|
}
|
|
5926
6030
|
});
|
|
5927
6031
|
/**
|
|
@@ -6263,6 +6367,11 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6263
6367
|
});
|
|
6264
6368
|
_this.updateUI();
|
|
6265
6369
|
_this.updateExternalPlannerState();
|
|
6370
|
+
var firstSelectedId = null;
|
|
6371
|
+
_this.selectedElementsDict.forEach(function (elements) {
|
|
6372
|
+
if (firstSelectedId == null && elements.length > 0) firstSelectedId = elements[0].getElementId();
|
|
6373
|
+
});
|
|
6374
|
+
_this.productState.setRtvSelectedElementId(firstSelectedId);
|
|
6266
6375
|
});
|
|
6267
6376
|
/**
|
|
6268
6377
|
* This function is called from the logic when the logic decides a new element has to be selected.
|
|
@@ -6311,6 +6420,7 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6311
6420
|
// }
|
|
6312
6421
|
|
|
6313
6422
|
if (somethingChanged) {
|
|
6423
|
+
var _allSelectedElements$, _allSelectedElements$2;
|
|
6314
6424
|
_this.selectedElementsDict.clear();
|
|
6315
6425
|
var allSelectedElements = [];
|
|
6316
6426
|
for (var i = 0; i < selectedElementSetIds.length; i++) {
|
|
@@ -6341,8 +6451,10 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6341
6451
|
_this.selectedDockingPoint = undefined;
|
|
6342
6452
|
_this.updateUI();
|
|
6343
6453
|
_this.informViewElemSelectionChanged(allSelectedElements);
|
|
6454
|
+
_this.productState.setRtvSelectedElementId((_allSelectedElements$ = (_allSelectedElements$2 = allSelectedElements[0]) === null || _allSelectedElements$2 === void 0 ? void 0 : _allSelectedElements$2.getElementId()) !== null && _allSelectedElements$ !== void 0 ? _allSelectedElements$ : null);
|
|
6344
6455
|
} else if (selectedElementIds.length == 0 && _this.allPlannedElementsDict.size == 0) {
|
|
6345
6456
|
_this.informViewElemSelectionChanged([]);
|
|
6457
|
+
_this.productState.setRtvSelectedElementId(null);
|
|
6346
6458
|
}
|
|
6347
6459
|
});
|
|
6348
6460
|
/**
|
|
@@ -6425,12 +6537,12 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6425
6537
|
this.initPlannerMode = plannerMode;
|
|
6426
6538
|
this.updatePlannerView = updatePlannerView;
|
|
6427
6539
|
_context3.next = 9;
|
|
6428
|
-
return import('./Planner3DImage-
|
|
6540
|
+
return import('./Planner3DImage-16aca072.js');
|
|
6429
6541
|
case 9:
|
|
6430
6542
|
_yield$import = _context3.sent;
|
|
6431
6543
|
Planner3DImage = _yield$import["default"];
|
|
6432
6544
|
_context3.next = 13;
|
|
6433
|
-
return import('./Planner2DGrid-
|
|
6545
|
+
return import('./Planner2DGrid-3b70b230.js');
|
|
6434
6546
|
case 13:
|
|
6435
6547
|
_yield$import2 = _context3.sent;
|
|
6436
6548
|
Planner2DGrid = _yield$import2["default"];
|
|
@@ -6451,12 +6563,16 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6451
6563
|
return initPlannerView;
|
|
6452
6564
|
}())
|
|
6453
6565
|
}, {
|
|
6454
|
-
key: "
|
|
6455
|
-
|
|
6566
|
+
key: "plannedElementsDict",
|
|
6567
|
+
get: function get() {
|
|
6568
|
+
return this.allPlannedElementsDict;
|
|
6569
|
+
}
|
|
6456
6570
|
/**
|
|
6457
6571
|
* This function calls the update UI function in the currently displaying planner mode.
|
|
6458
6572
|
*/
|
|
6459
|
-
|
|
6573
|
+
}, {
|
|
6574
|
+
key: "updateUI",
|
|
6575
|
+
value: function updateUI() {
|
|
6460
6576
|
var _this$planner3DImageH5, _this$planner2DGridHa7;
|
|
6461
6577
|
//DAS MÜSSEN DIE KOMPONENTEN ENTSCHEIDEN this.plannerUIHandler.clearUI();
|
|
6462
6578
|
|
|
@@ -6504,6 +6620,13 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6504
6620
|
}
|
|
6505
6621
|
this.curPlannerMode = mode;
|
|
6506
6622
|
}
|
|
6623
|
+
|
|
6624
|
+
/** True while the configurator is in a planner selection step (not a config step). */
|
|
6625
|
+
}, {
|
|
6626
|
+
key: "isPlannerSelectionContext",
|
|
6627
|
+
get: function get() {
|
|
6628
|
+
return PLANNER_SELECTION_CONTEXTS.includes(this.getConfiguratorState());
|
|
6629
|
+
}
|
|
6507
6630
|
}, {
|
|
6508
6631
|
key: "PlannerUIHandler",
|
|
6509
6632
|
get: function get() {
|
|
@@ -7356,6 +7479,42 @@ var UIState = /*#__PURE__*/function () {
|
|
|
7356
7479
|
}]);
|
|
7357
7480
|
}();
|
|
7358
7481
|
|
|
7482
|
+
/**
|
|
7483
|
+
* `?rtv-next` URL param: mounts the rtv-next viewer instead of the old RTV / 3DCOMB / 2D grid stack,
|
|
7484
|
+
* anywhere, for testing — the real switch is the `DIVA3D_USE_RTV_NEXT` catalog property.
|
|
7485
|
+
*
|
|
7486
|
+
* It does NOT touch the RTV use case: `ProductCenter` mounts rtv-next on this flag directly and
|
|
7487
|
+
* never consults `getAllowRTV()`, so no AR/RTV catalog configuration is required or implied.
|
|
7488
|
+
*/
|
|
7489
|
+
var rtvNextParamActive = typeof window !== 'undefined' && new URLSearchParams(window.location.search).has('rtv-next');
|
|
7490
|
+
|
|
7491
|
+
/** Live rtv-next viewers on this page (module-level: all planner instances share one bundle). */
|
|
7492
|
+
var liveRtvNextViewers = 0;
|
|
7493
|
+
|
|
7494
|
+
/**
|
|
7495
|
+
* Registers a visible planner instance that runs the rtv-next viewer; returns the unregister.
|
|
7496
|
+
* While any is live, {@link rtvNextActiveOnPage} makes hidden sibling planners defer their boot.
|
|
7497
|
+
*/
|
|
7498
|
+
function registerRtvNextViewer() {
|
|
7499
|
+
liveRtvNextViewers += 1;
|
|
7500
|
+
var released = false;
|
|
7501
|
+
return function () {
|
|
7502
|
+
if (released) return;
|
|
7503
|
+
released = true;
|
|
7504
|
+
liveRtvNextViewers -= 1;
|
|
7505
|
+
};
|
|
7506
|
+
}
|
|
7507
|
+
|
|
7508
|
+
/**
|
|
7509
|
+
* True while an rtv-next viewer is (or will be) live on this page. The catalog switch
|
|
7510
|
+
* (`DIVA3D_USE_RTV_NEXT`) only resolves after the visible planner's catalog load, so a hidden
|
|
7511
|
+
* planner that mounts in the same instant still boots — this covers the `?rtv-next` boots and
|
|
7512
|
+
* every instance mounted after the visible viewer is up.
|
|
7513
|
+
*/
|
|
7514
|
+
function rtvNextActiveOnPage() {
|
|
7515
|
+
return rtvNextParamActive || liveRtvNextViewers > 0;
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7359
7518
|
function ownKeys$i(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; }
|
|
7360
7519
|
function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7361
7520
|
var LOG$d = getLogger('Planner', 'Product');
|
|
@@ -7469,6 +7628,8 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7469
7628
|
_defineProperty(this, "GridImageURL", '');
|
|
7470
7629
|
//RTV Real Time Viewer
|
|
7471
7630
|
_defineProperty(this, "allowRTV", false);
|
|
7631
|
+
/** Catalog opted into the rtv-next viewer (`DIVA3D_USE_RTV_NEXT`) — see `ProductCenter`. */
|
|
7632
|
+
_defineProperty(this, "useRtvNext", false);
|
|
7472
7633
|
_defineProperty(this, "allowQRCodeAR", false);
|
|
7473
7634
|
_defineProperty(this, "doShowRTV", false);
|
|
7474
7635
|
_defineProperty(this, "allow3DComb", false);
|
|
@@ -7538,6 +7699,11 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7538
7699
|
if (!_this.allowRendering && !_this.allowRTV && !_this.allow3DComb && !_this.allowGrid) return;
|
|
7539
7700
|
type = _this.allowRendering ? '3D' : _this.allowRTV ? 'RTV' : _this.allow3DComb ? '3DCOMB' : '2D';
|
|
7540
7701
|
}
|
|
7702
|
+
|
|
7703
|
+
// With `?rtv-next` the rtv-next viewer takes the place of the rendered 3D image instead of
|
|
7704
|
+
// becoming a footer option of its own, so the 3D view drives the RTV state it renders on.
|
|
7705
|
+
// Alternate renderings stay on the image path — they are server renderings.
|
|
7706
|
+
if ((_this.useRtvNext || rtvNextParamActive) && type === '3D' && alternateRendering === undefined) type = 'RTV';
|
|
7541
7707
|
switch (type) {
|
|
7542
7708
|
case '3DCOMB':
|
|
7543
7709
|
_this.doShowRenderImage = false;
|
|
@@ -7667,6 +7833,22 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7667
7833
|
_defineProperty(this, "setIsARIframeVisible", function (val) {
|
|
7668
7834
|
_this.isARIframeVisible = val;
|
|
7669
7835
|
});
|
|
7836
|
+
_defineProperty(this, "rtvFocusElementId", null);
|
|
7837
|
+
_defineProperty(this, "setRtvFocusElementId", function (id) {
|
|
7838
|
+
_this.rtvFocusElementId = id;
|
|
7839
|
+
});
|
|
7840
|
+
/**
|
|
7841
|
+
* Single source of truth for "which element is selected on the RTV canvas".
|
|
7842
|
+
* Driven by ViewPlannerHandler — kept in lockstep with `selectedElementsDict`
|
|
7843
|
+
* across canvas-side selection (`onElementSelected` / `onClearElementSelection`)
|
|
7844
|
+
* and configurator-driven selection (`updateElementSelectionConfig`). Distinct
|
|
7845
|
+
* from `rtvFocusElementId` (camera focus / scroll-to) so the two can diverge
|
|
7846
|
+
* if needed later. Read by PlannerRTVNext as the `selectedElementId` prop.
|
|
7847
|
+
*/
|
|
7848
|
+
_defineProperty(this, "rtvSelectedElementId", null);
|
|
7849
|
+
_defineProperty(this, "setRtvSelectedElementId", function (id) {
|
|
7850
|
+
_this.rtvSelectedElementId = id;
|
|
7851
|
+
});
|
|
7670
7852
|
_defineProperty(this, "setArCodeWasVisibleOnce", function () {
|
|
7671
7853
|
var _this$showArQrCode$co, _this$showArQrCode;
|
|
7672
7854
|
_this.arCodeWasVisibleOnce = true;
|
|
@@ -7710,6 +7892,7 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7710
7892
|
doShow3DComb: observable,
|
|
7711
7893
|
doShowAIRoom: observable,
|
|
7712
7894
|
allowRTV: observable,
|
|
7895
|
+
useRtvNext: observable,
|
|
7713
7896
|
allow3DComb: observable,
|
|
7714
7897
|
allowQRCodeAR: observable,
|
|
7715
7898
|
shelfPlannerRTV: observable,
|
|
@@ -7717,6 +7900,8 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7717
7900
|
allowRendering: observable,
|
|
7718
7901
|
setAllowRendering: action,
|
|
7719
7902
|
footerVisible: computed,
|
|
7903
|
+
is3DViewActive: computed,
|
|
7904
|
+
showRtvFooterEntry: computed,
|
|
7720
7905
|
doShowRenderImage: observable,
|
|
7721
7906
|
diva3dImgSrc: observable,
|
|
7722
7907
|
setDiva3dImgSrc: action,
|
|
@@ -7773,7 +7958,11 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7773
7958
|
loadRTVForAr: observable,
|
|
7774
7959
|
glbUrl: observable,
|
|
7775
7960
|
isARIframeVisible: observable,
|
|
7776
|
-
setIsARIframeVisible: action
|
|
7961
|
+
setIsARIframeVisible: action,
|
|
7962
|
+
rtvFocusElementId: observable,
|
|
7963
|
+
setRtvFocusElementId: action,
|
|
7964
|
+
rtvSelectedElementId: observable,
|
|
7965
|
+
setRtvSelectedElementId: action
|
|
7777
7966
|
});
|
|
7778
7967
|
}
|
|
7779
7968
|
return _createClass(ProductState, [{
|
|
@@ -7880,6 +8069,30 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7880
8069
|
return visibleFooter[f];
|
|
7881
8070
|
});
|
|
7882
8071
|
}
|
|
8072
|
+
|
|
8073
|
+
/**
|
|
8074
|
+
* True while the 3D view is the active one: the rendered 3D image, or the rtv-next viewer that
|
|
8075
|
+
* replaces it with `?rtv-next`.
|
|
8076
|
+
*/
|
|
8077
|
+
}, {
|
|
8078
|
+
key: "is3DViewActive",
|
|
8079
|
+
get: function get() {
|
|
8080
|
+
// rtv-next renders in the RTV slot, so "3D is on screen" means `doShowRTV` there — but only
|
|
8081
|
+
// when rtv-next is actually the active viewer, via the same switch `ProductCenter` uses.
|
|
8082
|
+
return this.doShowRenderImage || (this.useRtvNext || rtvNextParamActive) && this.doShowRTV;
|
|
8083
|
+
}
|
|
8084
|
+
|
|
8085
|
+
/**
|
|
8086
|
+
* Whether the footer should carry its own RTV entry. rtv-next renders in the RTV slot as the 3D
|
|
8087
|
+
* view (see {@link is3DViewActive}), so alongside a 3D entry it would be a second button for the
|
|
8088
|
+
* same viewer — and `doShowRTV` would light both at once. Hide it whenever the 3D entry exists;
|
|
8089
|
+
* keep it when there is none (forceRTV / RTViewer mode), where it is the only way into the viewer.
|
|
8090
|
+
*/
|
|
8091
|
+
}, {
|
|
8092
|
+
key: "showRtvFooterEntry",
|
|
8093
|
+
get: function get() {
|
|
8094
|
+
return this.allowRTV && !((this.useRtvNext || rtvNextParamActive) && this.allowRendering);
|
|
8095
|
+
}
|
|
7883
8096
|
}, {
|
|
7884
8097
|
key: "setRTVActivateAR",
|
|
7885
8098
|
value: function setRTVActivateAR(isArCompatible, activateAR) {
|
|
@@ -7932,7 +8145,7 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7932
8145
|
* this function tells the View if only 2D is avabile or 3D and 2D or neither of those
|
|
7933
8146
|
*/
|
|
7934
8147
|
function initConfiguratorMode(plannerMode) {
|
|
7935
|
-
var _this$divaWebPlanner14, _this$divaWebPlanner15, _this$divaWebPlanner16, _this$divaWebPlanner17, _this$divaWebPlanner23, _this$divaWebPlanner24, _this$divaWebPlanner25, _this$divaWebPlanner26, _this$divaWebPlanner27, _this$divaWebPlanner28, _this$divaWebPlanner29, _this$divaWebPlanner30, _this$divaWebPlanner31;
|
|
8148
|
+
var _this$divaWebPlanner14, _this$divaWebPlanner15, _this$divaWebPlanner16, _this$divaWebPlanner17, _this$divaWebPlanner23, _this$divaWebPlanner24, _this$divaWebPlanner25, _this$divaWebPlanner26, _this$divaWebPlanner27, _this$divaWebPlanner28, _this$divaWebPlanner29, _this$divaWebPlanner30, _this$divaWebPlanner31, _this$divaWebPlanner32;
|
|
7936
8149
|
this.plannerMode = plannerMode;
|
|
7937
8150
|
this.isBoxPlanner = plannerMode === 'BoxPlanner';
|
|
7938
8151
|
this.doEnableToShow3DDimensionLines = !!((_this$divaWebPlanner14 = this.divaWebPlanner) !== null && _this$divaWebPlanner14 !== void 0 && _this$divaWebPlanner14.doShow3DDimensionLines());
|
|
@@ -7951,11 +8164,12 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7951
8164
|
this.pricePreview = (_this$divaWebPlanner24 = this.divaWebPlanner) === null || _this$divaWebPlanner24 === void 0 ? void 0 : _this$divaWebPlanner24.getPricePreview();
|
|
7952
8165
|
this.hide2DPlanner = (_this$divaWebPlanner25 = this.divaWebPlanner) === null || _this$divaWebPlanner25 === void 0 ? void 0 : _this$divaWebPlanner25.hide2DPlanner();
|
|
7953
8166
|
this.allowRTV = !!((_this$divaWebPlanner26 = this.divaWebPlanner) !== null && _this$divaWebPlanner26 !== void 0 && _this$divaWebPlanner26.getAllowRTV());
|
|
7954
|
-
this.
|
|
7955
|
-
this.
|
|
7956
|
-
this.
|
|
7957
|
-
|
|
7958
|
-
if ((_this$divaWebPlanner31 = this.divaWebPlanner) !== null && _this$divaWebPlanner31 !== void 0 && _this$divaWebPlanner31.
|
|
8167
|
+
this.useRtvNext = !!((_this$divaWebPlanner27 = this.divaWebPlanner) !== null && _this$divaWebPlanner27 !== void 0 && _this$divaWebPlanner27.getUseRtvNext());
|
|
8168
|
+
this.allow3DComb = !!((_this$divaWebPlanner28 = this.divaWebPlanner) !== null && _this$divaWebPlanner28 !== void 0 && _this$divaWebPlanner28.getEnableUnityRtvKombi());
|
|
8169
|
+
this.allowQRCodeAR = !!((_this$divaWebPlanner29 = this.divaWebPlanner) !== null && _this$divaWebPlanner29 !== void 0 && _this$divaWebPlanner29.getAllowQRCodeAR());
|
|
8170
|
+
this.shelfPlannerRTV = !!((_this$divaWebPlanner30 = this.divaWebPlanner) !== null && _this$divaWebPlanner30 !== void 0 && _this$divaWebPlanner30.getShelfPlannerRTV());
|
|
8171
|
+
if (this.shelfPlannerRTV || (_this$divaWebPlanner31 = this.divaWebPlanner) !== null && _this$divaWebPlanner31 !== void 0 && _this$divaWebPlanner31.getForceRTV()) this.plannerMode = 'RTViewer';
|
|
8172
|
+
if ((_this$divaWebPlanner32 = this.divaWebPlanner) !== null && _this$divaWebPlanner32 !== void 0 && _this$divaWebPlanner32.getEnableUnityRtvKombi()) this.plannerMode = '3DCOMB';
|
|
7959
8173
|
this.plannerRenderingIsStaticBG = this.plannerMode == '3DCOMB' ? false : this.plannerRenderingIsStaticBG;
|
|
7960
8174
|
this.initPlannerViewMode(this.plannerMode);
|
|
7961
8175
|
this.doShowAIRoom = false;
|
|
@@ -8039,6 +8253,13 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
8039
8253
|
this.doShow3DZoom = false;
|
|
8040
8254
|
break;
|
|
8041
8255
|
}
|
|
8256
|
+
|
|
8257
|
+
// Modes that start in the rendered 3D image start in the rtv-next viewer instead — same
|
|
8258
|
+
// substitution the 3D view does in onChangePlannerView.
|
|
8259
|
+
if ((this.useRtvNext || rtvNextParamActive) && this.doShowRenderImage) {
|
|
8260
|
+
this.doShowRenderImage = false;
|
|
8261
|
+
this.doShowRTV = true;
|
|
8262
|
+
}
|
|
8042
8263
|
}
|
|
8043
8264
|
}, {
|
|
8044
8265
|
key: "setProductElement",
|
|
@@ -8096,9 +8317,17 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
8096
8317
|
|
|
8097
8318
|
function ownKeys$h(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; }
|
|
8098
8319
|
function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8320
|
+
// Single source of truth mapping a mobile drawer snap point index to the product (3D view) height.
|
|
8321
|
+
var PRODUCT_HEIGHT_BY_SNAP_POINT = {
|
|
8322
|
+
0: 'calc(100% - 36px)',
|
|
8323
|
+
1: '70%',
|
|
8324
|
+
2: '45%',
|
|
8325
|
+
3: '45%'
|
|
8326
|
+
};
|
|
8099
8327
|
var SettingsState = /*#__PURE__*/function () {
|
|
8100
8328
|
function SettingsState(updateExternalPlannerState) {
|
|
8101
|
-
var _this = this
|
|
8329
|
+
var _this = this,
|
|
8330
|
+
_PRODUCT_HEIGHT_BY_SN;
|
|
8102
8331
|
_classCallCheck(this, SettingsState);
|
|
8103
8332
|
this.updateExternalPlannerState = updateExternalPlannerState;
|
|
8104
8333
|
_defineProperty(this, "scrollToCurTabgroupHorizontal", void 0);
|
|
@@ -8162,6 +8391,16 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8162
8391
|
_this.plannedPlacesOnGrids = planned;
|
|
8163
8392
|
});
|
|
8164
8393
|
_defineProperty(this, "selectedShelfAccessoire", undefined);
|
|
8394
|
+
// Dedicated "armed to place" signal for the RTV `autoPlaceDrag` mode: codex + nonce. Bumped only
|
|
8395
|
+
// when an article is armed from the palette (distinct from `selectedShelfAccessoire`, which also
|
|
8396
|
+
// changes on placement) so the viewer auto-places exactly once per arm. The nonce makes arming
|
|
8397
|
+
// the same article twice produce a new token (re-trigger).
|
|
8398
|
+
_defineProperty(this, "armedAccessoryNonce", 0);
|
|
8399
|
+
_defineProperty(this, "armedAccessoryToken", undefined);
|
|
8400
|
+
// Palette-tile drag in progress: the dragged article's codex (set on dragstart, cleared on dragend).
|
|
8401
|
+
_defineProperty(this, "draggedAccessoryCodex", undefined);
|
|
8402
|
+
// True while the drag targets a drop cell in the viewer — the palette hides its drag ghost then.
|
|
8403
|
+
_defineProperty(this, "draggedAccessoryHasTarget", false);
|
|
8165
8404
|
_defineProperty(this, "autoOpenContentItems", false);
|
|
8166
8405
|
_defineProperty(this, "contentItemId", undefined);
|
|
8167
8406
|
_defineProperty(this, "clickedFrom", undefined);
|
|
@@ -8187,6 +8426,10 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8187
8426
|
_this.plannerReplaceModeAutoSwitch = false;
|
|
8188
8427
|
_this.contentItemId = undefined;
|
|
8189
8428
|
_this.contentItemVisible = false;
|
|
8429
|
+
// Accessory interaction state is a live viewer input — a re-init must not leave an armed
|
|
8430
|
+
// auto-place token or an in-flight drag behind (see PlannerRTVNext's armed/dragged props).
|
|
8431
|
+
_this.setArmedAccessory();
|
|
8432
|
+
_this.setDraggedAccessory();
|
|
8190
8433
|
});
|
|
8191
8434
|
_defineProperty(this, "partlistArticlesInOverview", {});
|
|
8192
8435
|
// planner2Dot0 state
|
|
@@ -8199,7 +8442,8 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8199
8442
|
_defineProperty(this, "lastesScrollPosition", 0);
|
|
8200
8443
|
_defineProperty(this, "isMicroScrollingDown", undefined);
|
|
8201
8444
|
_defineProperty(this, "activeSnapPointIndex", 2);
|
|
8202
|
-
|
|
8445
|
+
// Derived from the initial activeSnapPointIndex so the product height stays in sync with the drawer's starting snap point.
|
|
8446
|
+
_defineProperty(this, "productHeight", (_PRODUCT_HEIGHT_BY_SN = PRODUCT_HEIGHT_BY_SNAP_POINT[this.activeSnapPointIndex]) !== null && _PRODUCT_HEIGHT_BY_SN !== void 0 ? _PRODUCT_HEIGHT_BY_SN : '45%');
|
|
8203
8447
|
_defineProperty(this, "generalPlanningState", {});
|
|
8204
8448
|
_defineProperty(this, "promotedGroups", []);
|
|
8205
8449
|
_defineProperty(this, "promotedOptimisticProductId", null);
|
|
@@ -8272,6 +8516,12 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8272
8516
|
setGridsData: action,
|
|
8273
8517
|
selectedShelfAccessoire: observable,
|
|
8274
8518
|
setSelectedShelfAccessoire: action,
|
|
8519
|
+
armedAccessoryToken: observable,
|
|
8520
|
+
setArmedAccessory: action,
|
|
8521
|
+
draggedAccessoryCodex: observable,
|
|
8522
|
+
setDraggedAccessory: action,
|
|
8523
|
+
draggedAccessoryHasTarget: observable,
|
|
8524
|
+
setDraggedAccessoryHasTarget: action,
|
|
8275
8525
|
//contentItem
|
|
8276
8526
|
contentItemId: observable,
|
|
8277
8527
|
setContentItemId: action,
|
|
@@ -8530,6 +8780,7 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8530
8780
|
key: "initForUpdate",
|
|
8531
8781
|
value: function initForUpdate() {
|
|
8532
8782
|
this.infoBoxContent = undefined;
|
|
8783
|
+
if (this.selectedShelfAccessoire) this.setSelectedShelfAccessoire(undefined);
|
|
8533
8784
|
}
|
|
8534
8785
|
}, {
|
|
8535
8786
|
key: "selectedArticles",
|
|
@@ -8590,6 +8841,22 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8590
8841
|
value: function setSelectedShelfAccessoire(basketId) {
|
|
8591
8842
|
this.selectedShelfAccessoire = basketId;
|
|
8592
8843
|
}
|
|
8844
|
+
}, {
|
|
8845
|
+
key: "setArmedAccessory",
|
|
8846
|
+
value: function setArmedAccessory(articleCodex) {
|
|
8847
|
+
this.armedAccessoryToken = articleCodex === undefined ? undefined : "".concat(articleCodex, "#").concat(++this.armedAccessoryNonce);
|
|
8848
|
+
}
|
|
8849
|
+
}, {
|
|
8850
|
+
key: "setDraggedAccessory",
|
|
8851
|
+
value: function setDraggedAccessory(articleCodex) {
|
|
8852
|
+
this.draggedAccessoryCodex = articleCodex;
|
|
8853
|
+
this.draggedAccessoryHasTarget = false;
|
|
8854
|
+
}
|
|
8855
|
+
}, {
|
|
8856
|
+
key: "setDraggedAccessoryHasTarget",
|
|
8857
|
+
value: function setDraggedAccessoryHasTarget(hasTarget) {
|
|
8858
|
+
this.draggedAccessoryHasTarget = hasTarget;
|
|
8859
|
+
}
|
|
8593
8860
|
}, {
|
|
8594
8861
|
key: "setDontReopenAutomatically",
|
|
8595
8862
|
value: function setDontReopenAutomatically(val) {
|
|
@@ -8672,7 +8939,8 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8672
8939
|
}, {
|
|
8673
8940
|
key: "setActiveSnapPointIndex",
|
|
8674
8941
|
value: function setActiveSnapPointIndex(activeSnapPointIndex, force) {
|
|
8675
|
-
var _this2 = this
|
|
8942
|
+
var _this2 = this,
|
|
8943
|
+
_PRODUCT_HEIGHT_BY_SN2;
|
|
8676
8944
|
if (!force && this.contentItemVisible && this.contentItemId) return;
|
|
8677
8945
|
this.activeSnapPointIndex = activeSnapPointIndex;
|
|
8678
8946
|
|
|
@@ -8683,8 +8951,7 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8683
8951
|
(_this2$scrollToCurTab = _this2.scrollToCurTabgroupHorizontal) === null || _this2$scrollToCurTab === void 0 || _this2$scrollToCurTab.call(_this2);
|
|
8684
8952
|
(_this2$updatePlannerV = _this2.updatePlannerView) === null || _this2$updatePlannerV === void 0 || _this2$updatePlannerV.call(_this2, 'SNAP_POINT_CHANGED');
|
|
8685
8953
|
}, 200);
|
|
8686
|
-
|
|
8687
|
-
if (activeSnapPointIndex == 1) this.setProductHeight('70%');else if (activeSnapPointIndex == 2) this.setProductHeight('45%');else if (activeSnapPointIndex == 3) this.setProductHeight('45%');
|
|
8954
|
+
this.setProductHeight((_PRODUCT_HEIGHT_BY_SN2 = PRODUCT_HEIGHT_BY_SNAP_POINT[activeSnapPointIndex]) !== null && _PRODUCT_HEIGHT_BY_SN2 !== void 0 ? _PRODUCT_HEIGHT_BY_SN2 : '45%');
|
|
8688
8955
|
}
|
|
8689
8956
|
}, {
|
|
8690
8957
|
key: "setProductHeight",
|
|
@@ -9157,6 +9424,8 @@ var ConfigState = /*#__PURE__*/function () {
|
|
|
9157
9424
|
_defineProperty(this, "setId", undefined);
|
|
9158
9425
|
_defineProperty(this, "loginMode", void 0);
|
|
9159
9426
|
_defineProperty(this, "initMode", void 0);
|
|
9427
|
+
_defineProperty(this, "createImageConfig", void 0);
|
|
9428
|
+
_defineProperty(this, "orderlineVariantValues", void 0);
|
|
9160
9429
|
_defineProperty(this, "opt", void 0);
|
|
9161
9430
|
_defineProperty(this, "configStepKey", void 0);
|
|
9162
9431
|
_defineProperty(this, "initEmptyPlanner", void 0);
|
|
@@ -9245,6 +9514,8 @@ var ConfigState = /*#__PURE__*/function () {
|
|
|
9245
9514
|
this.jwt = val.jwt;
|
|
9246
9515
|
this.keepCache = val.keepCache;
|
|
9247
9516
|
this.initMode = val.initMode;
|
|
9517
|
+
this.createImageConfig = val.createImageConfig;
|
|
9518
|
+
this.orderlineVariantValues = val.orderlineVariantValues;
|
|
9248
9519
|
this.opt = val.opt;
|
|
9249
9520
|
this.initEmptyPlanner = val.initEmptyPlanner;
|
|
9250
9521
|
this.assignNewDivaNr = val.assignNewDivaNr;
|
|
@@ -14378,8 +14649,8 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14378
14649
|
}
|
|
14379
14650
|
}, {
|
|
14380
14651
|
key: "initialize",
|
|
14381
|
-
value: function initialize(firstTime, plannerConfig) {
|
|
14382
|
-
var _this$actions6, _this$divaWebPlanner;
|
|
14652
|
+
value: function initialize(firstTime, plannerConfig, adoptPlanner) {
|
|
14653
|
+
var _this$actions6, _this$actions6$onPlan, _this$actions7, _this$divaWebPlanner;
|
|
14383
14654
|
DivaUtils.startSpanOfApm('initialize Configurator');
|
|
14384
14655
|
this.uiState.setIsLoading(true);
|
|
14385
14656
|
this.uiState.setIsLogicLoading(true);
|
|
@@ -14405,21 +14676,23 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14405
14676
|
return;
|
|
14406
14677
|
}
|
|
14407
14678
|
}
|
|
14408
|
-
|
|
14409
|
-
this.
|
|
14679
|
+
var adopted = !!adoptPlanner && firstTime;
|
|
14680
|
+
this.divaWebPlanner = adopted ? adoptPlanner : new DivaWebPlanner(this.configState);
|
|
14681
|
+
(_this$actions6 = this.actions) === null || _this$actions6 === void 0 || (_this$actions6$onPlan = _this$actions6.onPlannerInstance) === null || _this$actions6$onPlan === void 0 || _this$actions6$onPlan.call(_this$actions6, this.divaWebPlanner);
|
|
14682
|
+
this.aiState.initFunctions(this.divaWebPlanner, (_this$actions7 = this.actions) === null || _this$actions7 === void 0 ? void 0 : _this$actions7.subscribeEvents);
|
|
14410
14683
|
this.tabGroupState.initFunctions(this.divaWebPlanner);
|
|
14411
14684
|
this.settingsState.initFunctions(this.tabGroupState.scrollToCurTabgroupHorizontal.bind(this.tabGroupState), this.divaWebPlanner.updatePlannerView.bind(this.divaWebPlanner), this.uiState);
|
|
14412
14685
|
this.paletteViewHandler = new PaletteViewHandler(this.settingsState, this.productState, this.uiState, this.configuratorStructureHandler, this.getState, this.updateConfiguratorState, this.viewPlannerHandler.getSelectedElementsArr, this.viewPlannerHandler.getSelectedDockingPoint, this.viewPlannerHandler.updateElementSelectionPlanner, this.viewPlannerHandler.getElementById, this.divaWebPlanner, this.actionButtonState.onClickConfiguratorSettingsForth.bind(this.actionButtonState), this.getPlanningIsInCompleteOrEmpty);
|
|
14413
14686
|
this.viewPlannerHandler.initFunctions(this.paletteViewHandler.deletePlannerElement.bind(this.paletteViewHandler), this.paletteViewHandler.copyPlannerElement.bind(this.paletteViewHandler), this.settingsState.setBBox.bind(this.settingsState));
|
|
14414
14687
|
this.actionButtonState.initFunctions(this.divaWebPlanner, this.paletteViewHandler);
|
|
14415
14688
|
this.uiState.initFunctions(this.divaWebPlanner.updatePlannerView.bind(this.divaWebPlanner), this.paletteViewHandler.visitActVisibleSteps.bind(this.paletteViewHandler), this.tabGroupState.updateCurTabGroupType.bind(this.tabGroupState), this.settingsState, this.divaWebPlanner.getReturnTo, this.divaWebPlanner.getFilterForCheckoutButtons.bind(this.divaWebPlanner));
|
|
14416
|
-
if (plannerConfig == true || !(plannerConfig !== null && plannerConfig !== void 0 && plannerConfig.keepCache)) (_this$divaWebPlanner = this.divaWebPlanner) === null || _this$divaWebPlanner === void 0 || _this$divaWebPlanner.clearCache();
|
|
14689
|
+
if (!adopted && (plannerConfig == true || !(plannerConfig !== null && plannerConfig !== void 0 && plannerConfig.keepCache))) (_this$divaWebPlanner = this.divaWebPlanner) === null || _this$divaWebPlanner === void 0 || _this$divaWebPlanner.clearCache();
|
|
14417
14690
|
this.productState.initialize(this.divaWebPlanner, this.settingsState, this.wysiwygDebugState, this.viewPlannerHandler.setCurPlannerViewMode.bind(this.viewPlannerHandler), this.viewPlannerHandler.initPlannerViewMode.bind(this.viewPlannerHandler), this.actionButtonState.onClickAddToBasket.bind(this.actionButtonState));
|
|
14418
14691
|
this.uiState.reset();
|
|
14419
14692
|
this.aiState.reset();
|
|
14420
14693
|
this.settingsState.reset();
|
|
14421
14694
|
this.registerFunctions();
|
|
14422
|
-
this.initializeLogic(cache);
|
|
14695
|
+
if (adopted) this.attachAdoptedLogic();else this.initializeLogic(cache);
|
|
14423
14696
|
//TabgroupViewHandler erstellen dieser Kümmert sich umm alle Click events usw.
|
|
14424
14697
|
|
|
14425
14698
|
this.plannerHelper.initialize(this.paletteViewHandler, this.configuratorStructureHandler, this.divaWebPlanner, this.productState, this.tabGroupState, this.settingsState);
|
|
@@ -14431,24 +14704,65 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14431
14704
|
this.productState.plannerMessages = new Map();
|
|
14432
14705
|
}
|
|
14433
14706
|
}, {
|
|
14434
|
-
key: "
|
|
14707
|
+
key: "attachAdoptedLogic",
|
|
14435
14708
|
value: function () {
|
|
14436
|
-
var
|
|
14437
|
-
var _this$
|
|
14438
|
-
var _this$
|
|
14709
|
+
var _attachAdoptedLogic = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
14710
|
+
var _this$actions8;
|
|
14711
|
+
var _this$actions9;
|
|
14439
14712
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
14440
14713
|
while (1) switch (_context.prev = _context.next) {
|
|
14441
14714
|
case 0:
|
|
14442
|
-
(_this$
|
|
14715
|
+
(_this$actions8 = this.actions) === null || _this$actions8 === void 0 || _this$actions8.toggleLoading('init_planner_logic', false, true, undefined, true);
|
|
14443
14716
|
_context.prev = 1;
|
|
14444
14717
|
_context.next = 4;
|
|
14445
14718
|
return waitForNextPaint();
|
|
14446
14719
|
case 4:
|
|
14720
|
+
_context.next = 6;
|
|
14721
|
+
return this.divaWebPlanner.reattachView();
|
|
14722
|
+
case 6:
|
|
14723
|
+
this.uiState.setIsLogicLoading(false);
|
|
14724
|
+
_context.next = 13;
|
|
14725
|
+
break;
|
|
14726
|
+
case 9:
|
|
14727
|
+
_context.prev = 9;
|
|
14728
|
+
_context.t0 = _context["catch"](1);
|
|
14729
|
+
LOG$1.error(_context.t0);
|
|
14730
|
+
this.initializedWithErrors = true;
|
|
14731
|
+
case 13:
|
|
14732
|
+
_context.prev = 13;
|
|
14733
|
+
(_this$actions9 = this.actions) === null || _this$actions9 === void 0 || _this$actions9.toggleLoading('init_planner_logic', false, false);
|
|
14734
|
+
return _context.finish(13);
|
|
14735
|
+
case 16:
|
|
14736
|
+
case "end":
|
|
14737
|
+
return _context.stop();
|
|
14738
|
+
}
|
|
14739
|
+
}, _callee, this, [[1, 9, 13, 16]]);
|
|
14740
|
+
}));
|
|
14741
|
+
function attachAdoptedLogic() {
|
|
14742
|
+
return _attachAdoptedLogic.apply(this, arguments);
|
|
14743
|
+
}
|
|
14744
|
+
return attachAdoptedLogic;
|
|
14745
|
+
}()
|
|
14746
|
+
}, {
|
|
14747
|
+
key: "initializeLogic",
|
|
14748
|
+
value: function () {
|
|
14749
|
+
var _initializeLogic = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(cache) {
|
|
14750
|
+
var _this$actions10;
|
|
14751
|
+
var _this$getI18nInstance2, _this$getI18nInstance3, _this$configState, _this$configState2, _this$actions11;
|
|
14752
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
14753
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
14754
|
+
case 0:
|
|
14755
|
+
bootMark('view: initializeLogic');
|
|
14756
|
+
(_this$actions10 = this.actions) === null || _this$actions10 === void 0 || _this$actions10.toggleLoading('init_planner_logic', false, true, undefined, true);
|
|
14757
|
+
_context2.prev = 2;
|
|
14758
|
+
_context2.next = 5;
|
|
14759
|
+
return waitForNextPaint();
|
|
14760
|
+
case 5:
|
|
14447
14761
|
LOG$1.debug('Start divaWebPlanner.initialize after spinner paint wait');
|
|
14448
|
-
|
|
14762
|
+
_context2.next = 8;
|
|
14449
14763
|
return this.divaWebPlanner.initialize(cache);
|
|
14450
|
-
case
|
|
14451
|
-
this.initializedWithErrors = !
|
|
14764
|
+
case 8:
|
|
14765
|
+
this.initializedWithErrors = !_context2.sent;
|
|
14452
14766
|
this.uiState.setIsLogicLoading(false);
|
|
14453
14767
|
LOG$1.successTransaction('ON_OPEN_PLANNER', {
|
|
14454
14768
|
divaNr: this.divaWebPlanner.divaNr,
|
|
@@ -14457,34 +14771,34 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14457
14771
|
artNr: JSON.stringify(this.configState.articleCodexes),
|
|
14458
14772
|
lang: (_this$getI18nInstance2 = this.getI18nInstance()) === null || _this$getI18nInstance2 === void 0 ? void 0 : _this$getI18nInstance2.language
|
|
14459
14773
|
});
|
|
14460
|
-
|
|
14774
|
+
_context2.next = 18;
|
|
14461
14775
|
break;
|
|
14462
|
-
case
|
|
14463
|
-
|
|
14464
|
-
|
|
14465
|
-
if (
|
|
14776
|
+
case 13:
|
|
14777
|
+
_context2.prev = 13;
|
|
14778
|
+
_context2.t0 = _context2["catch"](2);
|
|
14779
|
+
if (_context2.t0.message.includes('does not exist in the Catalog:')) {
|
|
14466
14780
|
if ((_this$configState = this.configState) !== null && _this$configState !== void 0 && _this$configState.articleCodexes && ((_this$configState2 = this.configState) === null || _this$configState2 === void 0 ? void 0 : _this$configState2.articleCodexes.length) > 0) {
|
|
14467
14781
|
this.uiState.setConfiguratorHidden(true);
|
|
14468
14782
|
alert('Something went wrong. Please try again or contact support');
|
|
14469
14783
|
}
|
|
14470
14784
|
}
|
|
14471
|
-
LOG$1.error(
|
|
14472
|
-
LOG$1.errorTransaction('ON_OPEN_PLANNER', 'WC_0007',
|
|
14785
|
+
LOG$1.error(_context2.t0);
|
|
14786
|
+
LOG$1.errorTransaction('ON_OPEN_PLANNER', 'WC_0007', _context2.t0.message, {
|
|
14473
14787
|
divaNr: this.divaWebPlanner.divaNr,
|
|
14474
14788
|
productId: this.configState.productId,
|
|
14475
14789
|
cat: this.divaWebPlanner.getCurCatalogCodex(),
|
|
14476
14790
|
artNr: JSON.stringify(this.configState.articleCodexes),
|
|
14477
14791
|
lang: (_this$getI18nInstance3 = this.getI18nInstance()) === null || _this$getI18nInstance3 === void 0 ? void 0 : _this$getI18nInstance3.language
|
|
14478
14792
|
});
|
|
14479
|
-
case
|
|
14480
|
-
|
|
14481
|
-
(_this$
|
|
14482
|
-
return
|
|
14483
|
-
case
|
|
14793
|
+
case 18:
|
|
14794
|
+
_context2.prev = 18;
|
|
14795
|
+
(_this$actions11 = this.actions) === null || _this$actions11 === void 0 || _this$actions11.toggleLoading('init_planner_logic', false, false);
|
|
14796
|
+
return _context2.finish(18);
|
|
14797
|
+
case 21:
|
|
14484
14798
|
case "end":
|
|
14485
|
-
return
|
|
14799
|
+
return _context2.stop();
|
|
14486
14800
|
}
|
|
14487
|
-
},
|
|
14801
|
+
}, _callee2, this, [[2, 13, 18, 21]]);
|
|
14488
14802
|
}));
|
|
14489
14803
|
function initializeLogic(_x) {
|
|
14490
14804
|
return _initializeLogic.apply(this, arguments);
|
|
@@ -14585,9 +14899,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14585
14899
|
}, {
|
|
14586
14900
|
key: "addProduct",
|
|
14587
14901
|
value: function () {
|
|
14588
|
-
var _addProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14589
|
-
return _regeneratorRuntime.wrap(function
|
|
14590
|
-
while (1) switch (
|
|
14902
|
+
var _addProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(productId) {
|
|
14903
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
14904
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
14591
14905
|
case 0:
|
|
14592
14906
|
if (this.divaWebPlanner.getPlannerMode() == 'ProductList') {
|
|
14593
14907
|
//first time click on productlist in an empty planner
|
|
@@ -14595,9 +14909,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14595
14909
|
}
|
|
14596
14910
|
case 1:
|
|
14597
14911
|
case "end":
|
|
14598
|
-
return
|
|
14912
|
+
return _context3.stop();
|
|
14599
14913
|
}
|
|
14600
|
-
},
|
|
14914
|
+
}, _callee3, this);
|
|
14601
14915
|
}));
|
|
14602
14916
|
function addProduct(_x2) {
|
|
14603
14917
|
return _addProduct.apply(this, arguments);
|
|
@@ -14607,17 +14921,17 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14607
14921
|
}, {
|
|
14608
14922
|
key: "loadProduct",
|
|
14609
14923
|
value: function () {
|
|
14610
|
-
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14611
|
-
return _regeneratorRuntime.wrap(function
|
|
14612
|
-
while (1) switch (
|
|
14924
|
+
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(productId) {
|
|
14925
|
+
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
14926
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
14613
14927
|
case 0:
|
|
14614
14928
|
this.configState.productId = productId;
|
|
14615
14929
|
this.initialize(false, this.configState);
|
|
14616
14930
|
case 2:
|
|
14617
14931
|
case "end":
|
|
14618
|
-
return
|
|
14932
|
+
return _context4.stop();
|
|
14619
14933
|
}
|
|
14620
|
-
},
|
|
14934
|
+
}, _callee4, this);
|
|
14621
14935
|
}));
|
|
14622
14936
|
function loadProduct(_x3) {
|
|
14623
14937
|
return _loadProduct.apply(this, arguments);
|
|
@@ -14627,19 +14941,19 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14627
14941
|
}, {
|
|
14628
14942
|
key: "addDivaNrToSet",
|
|
14629
14943
|
value: function () {
|
|
14630
|
-
var _addDivaNrToSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14631
|
-
return _regeneratorRuntime.wrap(function
|
|
14632
|
-
while (1) switch (
|
|
14944
|
+
var _addDivaNrToSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(divaNr) {
|
|
14945
|
+
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
14946
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
14633
14947
|
case 0:
|
|
14634
|
-
|
|
14948
|
+
_context5.next = 2;
|
|
14635
14949
|
return this.divaWebPlanner.addSetToActPlanningByDivaNr(divaNr);
|
|
14636
14950
|
case 2:
|
|
14637
14951
|
this.updateConfiguratorState(true);
|
|
14638
14952
|
case 3:
|
|
14639
14953
|
case "end":
|
|
14640
|
-
return
|
|
14954
|
+
return _context5.stop();
|
|
14641
14955
|
}
|
|
14642
|
-
},
|
|
14956
|
+
}, _callee5, this);
|
|
14643
14957
|
}));
|
|
14644
14958
|
function addDivaNrToSet(_x4) {
|
|
14645
14959
|
return _addDivaNrToSet.apply(this, arguments);
|
|
@@ -14668,6 +14982,28 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14668
14982
|
var posNr = (_this$configuratorStr = this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) === null || _this$configuratorStr === void 0 ? void 0 : _this$configuratorStr.configStep.posNr;
|
|
14669
14983
|
if (posNr) this.paletteViewHandler.scrollToConfigStepByPosNr(posNr, true);
|
|
14670
14984
|
}
|
|
14985
|
+
|
|
14986
|
+
/**
|
|
14987
|
+
* Scroll the palette to one option value inside a config step. Registered into
|
|
14988
|
+
* the logic (registerScrollToOptionValue) so logic-side callers — e.g. the diva
|
|
14989
|
+
* agent's revealConfigStepInView — can steer the view without a react dependency.
|
|
14990
|
+
*/
|
|
14991
|
+
}, {
|
|
14992
|
+
key: "scrollToOptionValue",
|
|
14993
|
+
value: function scrollToOptionValue(configStepKey, optionValueCodex) {
|
|
14994
|
+
var _this$configuratorStr2,
|
|
14995
|
+
_this2 = this;
|
|
14996
|
+
var posNr = (_this$configuratorStr2 = this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) === null || _this$configuratorStr2 === void 0 ? void 0 : _this$configuratorStr2.configStep.posNr;
|
|
14997
|
+
if (!posNr) return;
|
|
14998
|
+
// The navigated step's palette needs a tick to render before we can scroll to a value inside it.
|
|
14999
|
+
setTimeout(function () {
|
|
15000
|
+
try {
|
|
15001
|
+
_this2.paletteViewHandler.scrollToOPV(posNr, optionValueCodex);
|
|
15002
|
+
} catch (_unused) {
|
|
15003
|
+
/* scroll target may not be rendered */
|
|
15004
|
+
}
|
|
15005
|
+
}, 300);
|
|
15006
|
+
}
|
|
14671
15007
|
}, {
|
|
14672
15008
|
key: "setWebConifguratorTitle",
|
|
14673
15009
|
value:
|
|
@@ -14693,15 +15029,15 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14693
15029
|
}, {
|
|
14694
15030
|
key: "initApiDependencies",
|
|
14695
15031
|
value: (function () {
|
|
14696
|
-
var _initApiDependencies = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14697
|
-
var config, _this$
|
|
14698
|
-
return _regeneratorRuntime.wrap(function
|
|
14699
|
-
while (1) switch (
|
|
15032
|
+
var _initApiDependencies = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
15033
|
+
var config, _this$actions12, _this$configState$cur, _this$configState$cur2;
|
|
15034
|
+
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
15035
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
14700
15036
|
case 0:
|
|
14701
15037
|
config = this.divaWebPlanner.getAllConfig();
|
|
14702
15038
|
if (config) {
|
|
14703
15039
|
this.uiState.initFromConfig(config);
|
|
14704
|
-
this.uiState.initTemplateConfig(this.divaWebPlanner.getTemplateConfig(), (_this$
|
|
15040
|
+
this.uiState.initTemplateConfig(this.divaWebPlanner.getTemplateConfig(), (_this$actions12 = this.actions) === null || _this$actions12 === void 0 ? void 0 : _this$actions12.userHasPermission('advancedconfigurator'));
|
|
14705
15041
|
this.settingsState.setForceSettingsHeaderInScrollContainer(config.viewConfig.forceSettingsHeaderInScrollContainer);
|
|
14706
15042
|
this.productState.initViewConfig(config.viewConfig.doShowFunctions, !!this.divaWebPlanner.userIsLoggedIn, (_this$configState$cur = this.configState.currentOrganization) !== null && _this$configState$cur !== void 0 && (_this$configState$cur = _this$configState$cur.settings) !== null && _this$configState$cur !== void 0 && _this$configState$cur.enableAR ? this.getViewConfig().arQrCodeConfig ? this.getViewConfig().arQrCodeConfig : {
|
|
14707
15043
|
doAutoShow: false
|
|
@@ -14713,9 +15049,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14713
15049
|
}
|
|
14714
15050
|
case 2:
|
|
14715
15051
|
case "end":
|
|
14716
|
-
return
|
|
15052
|
+
return _context6.stop();
|
|
14717
15053
|
}
|
|
14718
|
-
},
|
|
15054
|
+
}, _callee6, this);
|
|
14719
15055
|
}));
|
|
14720
15056
|
function initApiDependencies() {
|
|
14721
15057
|
return _initApiDependencies.apply(this, arguments);
|
|
@@ -14736,35 +15072,35 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14736
15072
|
}, {
|
|
14737
15073
|
key: "initPlannerView",
|
|
14738
15074
|
value: function () {
|
|
14739
|
-
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14740
|
-
var _this$divaWebPlanner$3, _this$
|
|
14741
|
-
return _regeneratorRuntime.wrap(function
|
|
14742
|
-
while (1) switch (
|
|
15075
|
+
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
15076
|
+
var _this$divaWebPlanner$3, _this$actions13;
|
|
15077
|
+
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
15078
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
14743
15079
|
case 0:
|
|
14744
15080
|
if (!this.uiState.ViewConfig) {
|
|
14745
|
-
|
|
15081
|
+
_context7.next = 9;
|
|
14746
15082
|
break;
|
|
14747
15083
|
}
|
|
14748
15084
|
case 1:
|
|
14749
15085
|
if (this.viewIsReady) {
|
|
14750
|
-
|
|
15086
|
+
_context7.next = 6;
|
|
14751
15087
|
break;
|
|
14752
15088
|
}
|
|
14753
|
-
|
|
15089
|
+
_context7.next = 4;
|
|
14754
15090
|
return DivaUtils.Sleep(20);
|
|
14755
15091
|
case 4:
|
|
14756
|
-
|
|
15092
|
+
_context7.next = 1;
|
|
14757
15093
|
break;
|
|
14758
15094
|
case 6:
|
|
14759
|
-
|
|
15095
|
+
_context7.next = 8;
|
|
14760
15096
|
return this.viewPlannerHandler.initPlannerView(this.uiState.ViewConfig, this.productState, this.aiState, this.settingsState, this.divaWebPlanner.updatePlannerTrans, this.divaWebPlanner.updatePlannerView, (_this$divaWebPlanner$3 = this.divaWebPlanner.actSet()) === null || _this$divaWebPlanner$3 === void 0 ? void 0 : _this$divaWebPlanner$3.CatalogData.PlannerPaletteViewInfo);
|
|
14761
15097
|
case 8:
|
|
14762
|
-
(_this$
|
|
15098
|
+
(_this$actions13 = this.actions) === null || _this$actions13 === void 0 || _this$actions13.toggleLoading('Planner_Loading', false, false);
|
|
14763
15099
|
case 9:
|
|
14764
15100
|
case "end":
|
|
14765
|
-
return
|
|
15101
|
+
return _context7.stop();
|
|
14766
15102
|
}
|
|
14767
|
-
},
|
|
15103
|
+
}, _callee7, this);
|
|
14768
15104
|
}));
|
|
14769
15105
|
function initPlannerView() {
|
|
14770
15106
|
return _initPlannerView.apply(this, arguments);
|
|
@@ -14785,22 +15121,22 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14785
15121
|
this.productState.setFormatedPrices(newTotalPrice, newCurSetPrice, bruttoPrice, customDimensions, priceFormat);
|
|
14786
15122
|
this.aiState.setSetHash(setHash);
|
|
14787
15123
|
if ((_this$getViewConfig = this.getViewConfig()) !== null && _this$getViewConfig !== void 0 && _this$getViewConfig.renderPriceInFrameworkHeader && !this.uiState.hidePrices) {
|
|
14788
|
-
var _this$uiState$i18nIns, _this$productState$fo, _this$
|
|
15124
|
+
var _this$uiState$i18nIns, _this$productState$fo, _this$actions14;
|
|
14789
15125
|
var priceInfo = (_this$uiState$i18nIns = this.uiState.i18nInstance) === null || _this$uiState$i18nIns === void 0 ? void 0 : _this$uiState$i18nIns.t('configurator.PRICE_INFO_HEADER');
|
|
14790
15126
|
var price = DivaUtils.formatPrice((_this$productState$fo = this.productState.formatedTotalPrice) !== null && _this$productState$fo !== void 0 ? _this$productState$fo : 0, this.productState.priceFormat);
|
|
14791
|
-
(_this$
|
|
15127
|
+
(_this$actions14 = this.actions) === null || _this$actions14 === void 0 || _this$actions14.updateCustomHeaderElement(['DIVA_WEBPLANNER'], function () {
|
|
14792
15128
|
return FrameworkPrice(priceInfo, price);
|
|
14793
15129
|
});
|
|
14794
15130
|
} else {
|
|
14795
|
-
var _this$
|
|
14796
|
-
(_this$
|
|
15131
|
+
var _this$actions15;
|
|
15132
|
+
(_this$actions15 = this.actions) === null || _this$actions15 === void 0 || _this$actions15.updateCustomHeaderElement(['DIVA_WEBPLANNER'], undefined);
|
|
14797
15133
|
}
|
|
14798
15134
|
}
|
|
14799
15135
|
}, {
|
|
14800
15136
|
key: "clearPrice",
|
|
14801
15137
|
value: function clearPrice() {
|
|
14802
|
-
var _this$
|
|
14803
|
-
(_this$
|
|
15138
|
+
var _this$actions16;
|
|
15139
|
+
(_this$actions16 = this.actions) === null || _this$actions16 === void 0 || _this$actions16.updateCustomHeaderElement(['DIVA_WEBPLANNER'], undefined);
|
|
14804
15140
|
}
|
|
14805
15141
|
|
|
14806
15142
|
/**
|
|
@@ -14835,13 +15171,13 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14835
15171
|
var image = "url('" + rendering.getImageForSrc() + "')";
|
|
14836
15172
|
this.divaWebPlanner.callEvent('onWebPlanerZoomClick', image);
|
|
14837
15173
|
if (!this.eventIsManagedByClient('onWebPlanerZoomClick')) {
|
|
14838
|
-
var _this$
|
|
14839
|
-
(_this$
|
|
15174
|
+
var _this$actions17, _this$actions18;
|
|
15175
|
+
(_this$actions17 = this.actions) === null || _this$actions17 === void 0 || _this$actions17.openFullscreen({
|
|
14840
15176
|
content: Fullscreen({
|
|
14841
15177
|
image: image
|
|
14842
15178
|
})
|
|
14843
15179
|
});
|
|
14844
|
-
(_this$
|
|
15180
|
+
(_this$actions18 = this.actions) === null || _this$actions18 === void 0 || _this$actions18.toggleLoading('Planner_Rendering', false, false);
|
|
14845
15181
|
}
|
|
14846
15182
|
this.logAnalytics('onFullScreen', 'Click on Zoom Button'); //pfister specific
|
|
14847
15183
|
}
|
|
@@ -14945,6 +15281,11 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14945
15281
|
value: function setHQRenderScript(hqRenderScript) {
|
|
14946
15282
|
this.hqRenderScript = hqRenderScript;
|
|
14947
15283
|
}
|
|
15284
|
+
}, {
|
|
15285
|
+
key: "downloadHQRenderScriptDebugFile",
|
|
15286
|
+
value: function downloadHQRenderScriptDebugFile() {
|
|
15287
|
+
this.divaWebPlanner.downloadHQRenderScriptDebugFile();
|
|
15288
|
+
}
|
|
14948
15289
|
}, {
|
|
14949
15290
|
key: "setCamInfo",
|
|
14950
15291
|
value: function setCamInfo(camInfo) {
|
|
@@ -14957,49 +15298,52 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14957
15298
|
}
|
|
14958
15299
|
}, {
|
|
14959
15300
|
key: "registerFunctions",
|
|
14960
|
-
value:
|
|
14961
|
-
|
|
15301
|
+
value: /** Attach this view handler to the logic as ONE PlannerViewApi (initial mount or adoption of an existing instance). */
|
|
15302
|
+
function registerFunctions() {
|
|
14962
15303
|
this.divaWebPlanner.setI18n(this.getI18nInstance.bind(this));
|
|
14963
|
-
this.divaWebPlanner.
|
|
14964
|
-
|
|
14965
|
-
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
|
-
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
|
|
14995
|
-
|
|
14996
|
-
|
|
14997
|
-
|
|
14998
|
-
|
|
14999
|
-
|
|
15000
|
-
|
|
15001
|
-
|
|
15002
|
-
|
|
15304
|
+
this.divaWebPlanner.attachView({
|
|
15305
|
+
initPlannerView: this.initPlannerView.bind(this),
|
|
15306
|
+
initConfiguratorMode: this.productState.initConfiguratorMode.bind(this.productState),
|
|
15307
|
+
initConfiguratorStructure: this.initConfiguratorStructure.bind(this),
|
|
15308
|
+
updateConfiguratorStructure: this.updateConfiguratorStructure.bind(this),
|
|
15309
|
+
navigateToTabGroup: this.navigateToTabGroup.bind(this),
|
|
15310
|
+
navigateToConfigStep: this.navigateToConfigStep.bind(this),
|
|
15311
|
+
scrollToOptionValueInView: this.scrollToOptionValue.bind(this),
|
|
15312
|
+
updateCatalogPlannerArticles: this.updateCatalogPlannerArticles.bind(this),
|
|
15313
|
+
updateCatalogPlanner2Dot0Articles: this.updateCatalogPlanner2Dot0Articles.bind(this),
|
|
15314
|
+
updateAccessoiresPalette: this.updateAccessoiresPalette.bind(this),
|
|
15315
|
+
setWebConifguratorTitle: this.setWebConifguratorTitle.bind(this),
|
|
15316
|
+
onBasketInitialized: this.onBasketInitialized.bind(this),
|
|
15317
|
+
updateConfigItems: this.updateConfigItems.bind(this),
|
|
15318
|
+
updatePaletteInfos: this.updatePaletteInfos.bind(this),
|
|
15319
|
+
updateBBox: this.updateBBox.bind(this),
|
|
15320
|
+
updateViewPlannerElements: this.viewPlannerHandler.updatePlannerElements.bind(this.viewPlannerHandler),
|
|
15321
|
+
updateElementSelectionConfig: this.viewPlannerHandler.updateElementSelectionConfig.bind(this.viewPlannerHandler),
|
|
15322
|
+
updateElementSelectionPlanner: this.viewPlannerHandler.updateElementSelectionPlanner.bind(this.viewPlannerHandler),
|
|
15323
|
+
getCurPlannerViewMode: this.viewPlannerHandler.getCurPlannerViewMode.bind(this.viewPlannerHandler),
|
|
15324
|
+
getInitPlannerViewMode: this.viewPlannerHandler.getInitPlannerViewMode.bind(this.viewPlannerHandler),
|
|
15325
|
+
updatePlanner3DImage: this.viewPlannerHandler.updatePlanner3DImage.bind(this.viewPlannerHandler),
|
|
15326
|
+
setRotationOrbitCube: this.viewPlannerHandler.setRotationOfOrbitCube.bind(this.viewPlannerHandler),
|
|
15327
|
+
getCanvas2DAsJPG: this.viewPlannerHandler.get2DPlanning2DAsJPG.bind(this),
|
|
15328
|
+
updatePlannerMsgContainer: this.productState.updatePlannerMsgContainer.bind(this.productState),
|
|
15329
|
+
updateFullscreenRendering: this.updateFullscreenRendering.bind(this),
|
|
15330
|
+
updateSetImage: this.productState.updateSetImage.bind(this.productState),
|
|
15331
|
+
getDoShow3DDimensionLines: this.productState.getDoShow3DDimensionLines.bind(this.productState),
|
|
15332
|
+
getCurrentAlternativRendering: this.getCurrentAlternativRendering.bind(this),
|
|
15333
|
+
updatePlanner2DGrid: this.viewPlannerHandler.updatePlanner2DGrid.bind(this.viewPlannerHandler),
|
|
15334
|
+
getPlannerRenderingSize: this.productState.getPlannerRenderingSize.bind(this.productState),
|
|
15335
|
+
updateSummaryItems: this.updateSummaryItems.bind(this),
|
|
15336
|
+
updateStaticRoomListItems: this.updateStaticRoomListItems.bind(this),
|
|
15337
|
+
updateShelfPlannerItems: this.updateShelfPlannerItems.bind(this),
|
|
15338
|
+
updateFreePlacesOnGrids: this.updateFreePlacesOnGrids.bind(this),
|
|
15339
|
+
updateDoorPlannerItems: this.updateDoorPlannerItems.bind(this),
|
|
15340
|
+
updatePrice: this.updatePrice.bind(this),
|
|
15341
|
+
onClickAddToBasket: this.actionButtonState.onClickAddToBasket.bind(this.actionButtonState),
|
|
15342
|
+
updateViewButtonsDependigOnConfigStructure: this.actionButtonState.initForUpdate.bind(this.actionButtonState),
|
|
15343
|
+
initViewApiDependencies: this.initApiDependencies.bind(this),
|
|
15344
|
+
setHQRenderScript: this.setHQRenderScript.bind(this),
|
|
15345
|
+
setCamInfo: this.setCamInfo.bind(this)
|
|
15346
|
+
});
|
|
15003
15347
|
}
|
|
15004
15348
|
}]);
|
|
15005
15349
|
}();
|
|
@@ -15044,18 +15388,59 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15044
15388
|
if (!isVisible && isFullscreenComponent && (plannerConfig === null || plannerConfig === void 0 || (_plannerConfig$settin = plannerConfig.settings) === null || _plannerConfig$settin === void 0 ? void 0 : _plannerConfig$settin.applicationEnvironment) == 'WEB') {
|
|
15045
15389
|
isVisible = true;
|
|
15046
15390
|
}
|
|
15391
|
+
|
|
15392
|
+
// Set when a hidden instance skipped its boot (see below) — the visibility effect then re-arms
|
|
15393
|
+
// the boot effect exactly once, on the first transition to visible.
|
|
15394
|
+
var bootDeferredRef = useRef(false);
|
|
15395
|
+
var _useState5 = useState(0),
|
|
15396
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15397
|
+
deferredBootTick = _useState6[0],
|
|
15398
|
+
setDeferredBootTick = _useState6[1];
|
|
15047
15399
|
useEffect(function () {
|
|
15400
|
+
if (!isVisible || !bootDeferredRef.current) return;
|
|
15401
|
+
bootDeferredRef.current = false;
|
|
15402
|
+
setDeferredBootTick(function (tick) {
|
|
15403
|
+
return tick + 1;
|
|
15404
|
+
});
|
|
15405
|
+
}, [isVisible]);
|
|
15406
|
+
useEffect(function () {
|
|
15407
|
+
var _plannerConfig$action, _plannerConfig$action2;
|
|
15408
|
+
// Instance adoption: the host may hand over an already-initialized planner logic instance
|
|
15409
|
+
// (e.g. one the backoffice DIVA agent created headless) — the view then attaches to it
|
|
15410
|
+
// instead of re-initializing from scratch.
|
|
15411
|
+
var adoptPlanner = (_plannerConfig$action = plannerConfig.actions) === null || _plannerConfig$action === void 0 || (_plannerConfig$action2 = _plannerConfig$action.resolveAdoptablePlanner) === null || _plannerConfig$action2 === void 0 ? void 0 : _plannerConfig$action2.call(_plannerConfig$action);
|
|
15412
|
+
|
|
15413
|
+
// While an rtv-next viewer is live on this page, a hidden planner defers its whole logic boot
|
|
15414
|
+
// (engine, catalog fetch, SignalR/media sockets) until first shown — the visible rtv-next
|
|
15415
|
+
// planner needs the memory headroom (tablet context loss), and nothing reads a hidden
|
|
15416
|
+
// planner's state meanwhile. CREATE_IMAGE instances are the capture source and stay hidden by
|
|
15417
|
+
// design, so they always boot.
|
|
15418
|
+
if (!isVisible && !adoptPlanner && plannerConfig.initMode !== 'CREATE_IMAGE' && rtvNextActiveOnPage()) {
|
|
15419
|
+
bootDeferredRef.current = true;
|
|
15420
|
+
return;
|
|
15421
|
+
}
|
|
15048
15422
|
if (plannerConfig.addDivaNr) {
|
|
15049
15423
|
plannerConfig.divaNr = plannerConfig.addDivaNr;
|
|
15050
15424
|
setAddDivaNr(plannerConfig.addDivaNr);
|
|
15051
15425
|
}
|
|
15052
15426
|
var newViewHandler = new DivaViewHandler(plannerConfig, isVisible);
|
|
15053
|
-
newViewHandler.initialize(true);
|
|
15427
|
+
newViewHandler.initialize(true, undefined, adoptPlanner);
|
|
15054
15428
|
if (plannerConfig.productId) {
|
|
15055
15429
|
newViewHandler.configState.currentInitializedProductId = plannerConfig.productId;
|
|
15056
15430
|
}
|
|
15057
15431
|
setViewHandler(newViewHandler);
|
|
15058
|
-
|
|
15432
|
+
return function () {
|
|
15433
|
+
var _newViewHandler$divaW, _plannerConfig$action3, _plannerConfig$action4;
|
|
15434
|
+
// A superseded or unmounted planner must not stay live — its SignalR + media sockets and
|
|
15435
|
+
// event subscriptions otherwise leak per re-init. An adopted instance stays with its owner.
|
|
15436
|
+
// Destroy BEFORE telling the host: the host may pool the reported instance for re-adoption
|
|
15437
|
+
// (backoffice WebplannerInstanceStore) and must be able to see it is already destroyed —
|
|
15438
|
+
// pooling and later adopting a destroyed instance crashes reattachView.
|
|
15439
|
+
if (!adoptPlanner) (_newViewHandler$divaW = newViewHandler.divaWebPlanner) === null || _newViewHandler$divaW === void 0 || _newViewHandler$divaW.destroyWebPlanner();
|
|
15440
|
+
// Tell the host the instance handed out via onPlannerInstance is gone (planner unmounts or re-creates its handler).
|
|
15441
|
+
(_plannerConfig$action3 = plannerConfig.actions) === null || _plannerConfig$action3 === void 0 || (_plannerConfig$action4 = _plannerConfig$action3.onPlannerInstance) === null || _plannerConfig$action4 === void 0 || _plannerConfig$action4.call(_plannerConfig$action3, undefined);
|
|
15442
|
+
};
|
|
15443
|
+
}, [user, deferredBootTick]);
|
|
15059
15444
|
var keyDownFunction = useCallback(function (e) {
|
|
15060
15445
|
if (!viewHandler) return;
|
|
15061
15446
|
if (e.key === 'Enter' && viewHandler.getViewConfig().navigateOnEnter) {
|
|
@@ -15068,7 +15453,16 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15068
15453
|
//focus on search
|
|
15069
15454
|
if (viewHandler.paletteViewHandler.focusSearch()) e.preventDefault();
|
|
15070
15455
|
}
|
|
15071
|
-
|
|
15456
|
+
if (e.key === 'Delete' || e.key === 'Backspace') {
|
|
15457
|
+
// A hidden planner must not delete anything from keys pressed elsewhere on the host page.
|
|
15458
|
+
if (!isVisible) return;
|
|
15459
|
+
// Don't hijack the key while the user is typing in an input / editable field.
|
|
15460
|
+
var active = document.activeElement;
|
|
15461
|
+
var tag = active === null || active === void 0 ? void 0 : active.tagName;
|
|
15462
|
+
if (tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT' || active !== null && active !== void 0 && active.isContentEditable) return;
|
|
15463
|
+
viewHandler.viewPlannerHandler.deleteSelectedElement();
|
|
15464
|
+
}
|
|
15465
|
+
}, [viewHandler, isVisible]);
|
|
15072
15466
|
useEffect(function () {
|
|
15073
15467
|
document.addEventListener('keydown', keyDownFunction, false);
|
|
15074
15468
|
return function () {
|
|
@@ -15085,7 +15479,7 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15085
15479
|
var initConfigurator = /*#__PURE__*/function () {
|
|
15086
15480
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15087
15481
|
var _viewHandler$divaWebP;
|
|
15088
|
-
var initReasons, _viewHandler$divaWebP2, _plannerConfig$varian, _plannerConfig$varian2, _plannerConfig$varian3, articles, article, isUiShellReady, waitRetries, MAX_WAIT_RETRIES, _viewHandler$divaWebP3, _viewHandler$settings3, _viewHandler$settings4, _viewHandler$configur2, _viewHandler$divaWebP4, articlesAfterReset, articleAfterReset, options, _plannerConfig$
|
|
15482
|
+
var initReasons, _viewHandler$divaWebP2, _plannerConfig$varian, _plannerConfig$varian2, _plannerConfig$varian3, articles, article, isUiShellReady, waitRetries, MAX_WAIT_RETRIES, _viewHandler$divaWebP3, _viewHandler$settings3, _viewHandler$settings4, _viewHandler$configur2, _viewHandler$divaWebP4, articlesAfterReset, articleAfterReset, options, _plannerConfig$action5, _ref3, otherInternals;
|
|
15089
15483
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
15090
15484
|
while (1) switch (_context.prev = _context.next) {
|
|
15091
15485
|
case 0:
|
|
@@ -15260,7 +15654,7 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15260
15654
|
if (plannerConfig.forceReload != undefined && plannerConfig.actions) {
|
|
15261
15655
|
// reset forceReload
|
|
15262
15656
|
_ref3 = plannerConfig.internal || {}, _ref3.forceReload, otherInternals = _objectWithoutProperties(_ref3, _excluded2);
|
|
15263
|
-
(_plannerConfig$
|
|
15657
|
+
(_plannerConfig$action5 = plannerConfig.actions) === null || _plannerConfig$action5 === void 0 || _plannerConfig$action5.openComponent({
|
|
15264
15658
|
type: 'DIVA_WEBPLANNER',
|
|
15265
15659
|
parameters: plannerConfig === null || plannerConfig === void 0 ? void 0 : plannerConfig.parameters,
|
|
15266
15660
|
internal: otherInternals
|
|
@@ -15440,49 +15834,49 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
15440
15834
|
switch (path) {
|
|
15441
15835
|
case '../components/GlobalElements/HeightAnimator.tsx': return Promise.resolve().then(function () { return HeightAnimator$1; });
|
|
15442
15836
|
case '../components/Layout/index.tsx': return Promise.resolve().then(function () { return index$o; });
|
|
15443
|
-
case '../components/Settings/index.tsx': return import('./index-
|
|
15444
|
-
case '../components/TabGroup/index.tsx': return import('./index-
|
|
15445
|
-
case '../components/Action/BasketMobile/index.tsx': return import('./index-
|
|
15446
|
-
case '../components/Action/Navigation/index.tsx': return import('./index-
|
|
15447
|
-
case '../components/GlobalElements/Affiliate/index.tsx': return import('./index-
|
|
15448
|
-
case '../components/GlobalElements/AiRoomsSelection/index.tsx': return import('./index-
|
|
15449
|
-
case '../components/GlobalElements/ArticleOverviewSlider/index.tsx': return import('./index-
|
|
15837
|
+
case '../components/Settings/index.tsx': return import('./index-b3190f74.js');
|
|
15838
|
+
case '../components/TabGroup/index.tsx': return import('./index-4caf63e2.js');
|
|
15839
|
+
case '../components/Action/BasketMobile/index.tsx': return import('./index-ad538c23.js');
|
|
15840
|
+
case '../components/Action/Navigation/index.tsx': return import('./index-c0f5b05f.js');
|
|
15841
|
+
case '../components/GlobalElements/Affiliate/index.tsx': return import('./index-eb04c499.js');
|
|
15842
|
+
case '../components/GlobalElements/AiRoomsSelection/index.tsx': return import('./index-fb5ad92a.js');
|
|
15843
|
+
case '../components/GlobalElements/ArticleOverviewSlider/index.tsx': return import('./index-c5dc047b.js');
|
|
15450
15844
|
case '../components/GlobalElements/Checkout/index.tsx': return Promise.resolve().then(function () { return index$9; });
|
|
15451
15845
|
case '../components/GlobalElements/FrameworkPrice/index.tsx': return Promise.resolve().then(function () { return index$7; });
|
|
15452
15846
|
case '../components/GlobalElements/Fullscreen/index.tsx': return Promise.resolve().then(function () { return index$6; });
|
|
15453
|
-
case '../components/Layout/classification/index.tsx': return import('./index-
|
|
15454
|
-
case '../components/Layout/gold/index.tsx': return import('./index-
|
|
15455
|
-
case '../components/Layout/ralph/index.tsx': return import('./index-
|
|
15456
|
-
case '../components/Layout/serious/index.tsx': return import('./index-
|
|
15457
|
-
case '../components/Layout/seriousRight/index.tsx': return import('./index-
|
|
15458
|
-
case '../components/Layout/standard/index.tsx': return import('./index-
|
|
15459
|
-
case '../components/Layout/wysiwyg/index.tsx': return import('./index-
|
|
15460
|
-
case '../components/Product/ContentItemWrapper/index.tsx': return import('./index-
|
|
15461
|
-
case '../components/Product/Product/index.tsx': return import('./index-
|
|
15462
|
-
case '../components/Product/ProductCenter/index.tsx': return import('./index-
|
|
15463
|
-
case '../components/Product/ProductFooter/index.tsx': return import('./index-
|
|
15464
|
-
case '../components/Product/ProductInfo/index.tsx': return import('./index-
|
|
15465
|
-
case '../components/Product/ProductSettings/index.tsx': return import('./index-
|
|
15466
|
-
case '../components/Settings/SettingsDrawer/index.tsx': return import('./index-
|
|
15467
|
-
case '../components/Settings/SettingsExpanderButtons/index.tsx': return import('./index-
|
|
15468
|
-
case '../components/Settings/SettingsHeaderContainer/index.tsx': return import('./index-
|
|
15469
|
-
case '../components/Settings/SettingsScroller/index.tsx': return import('./index-
|
|
15470
|
-
case '../components/Settings/SettingsSwiper/index.tsx': return import('./index-
|
|
15471
|
-
case '../components/TabGroup/ProgressBar/index.tsx': return import('./index-
|
|
15472
|
-
case '../components/TabGroup/Search/index.tsx': return import('./index-
|
|
15473
|
-
case '../components/TabGroup/TabGroupHorizontal/index.tsx': return import('./index-
|
|
15474
|
-
case '../components/TabGroup/TabGroupVertical/index.tsx': return import('./index-
|
|
15475
|
-
case '../components/Action/Basket/gold/index.tsx': return import('./index-
|
|
15476
|
-
case '../components/Action/Basket/ralph/index.tsx': return import('./index-
|
|
15477
|
-
case '../components/Action/Basket/serious/index.tsx': return import('./index-
|
|
15478
|
-
case '../components/Action/Basket/standard/index.tsx': return import('./index-
|
|
15479
|
-
case '../components/Action/Navigation/blue/index.tsx': return import('./index-
|
|
15480
|
-
case '../components/Action/Navigation/gold/index.tsx': return import('./index-
|
|
15481
|
-
case '../components/Action/Navigation/ralph/index.tsx': return import('./index-
|
|
15482
|
-
case '../components/Action/Navigation/standard/index.tsx': return import('./index-
|
|
15483
|
-
case '../components/Action/Navigation/wysiwyg/index.tsx': return import('./index-
|
|
15847
|
+
case '../components/Layout/classification/index.tsx': return import('./index-ba277d00.js');
|
|
15848
|
+
case '../components/Layout/gold/index.tsx': return import('./index-ad3c0744.js');
|
|
15849
|
+
case '../components/Layout/ralph/index.tsx': return import('./index-8982ae55.js');
|
|
15850
|
+
case '../components/Layout/serious/index.tsx': return import('./index-65b4502b.js');
|
|
15851
|
+
case '../components/Layout/seriousRight/index.tsx': return import('./index-ac653455.js');
|
|
15852
|
+
case '../components/Layout/standard/index.tsx': return import('./index-7acdf790.js');
|
|
15853
|
+
case '../components/Layout/wysiwyg/index.tsx': return import('./index-0b541524.js');
|
|
15854
|
+
case '../components/Product/ContentItemWrapper/index.tsx': return import('./index-f3dbb8a8.js');
|
|
15855
|
+
case '../components/Product/Product/index.tsx': return import('./index-5525cf8e.js');
|
|
15856
|
+
case '../components/Product/ProductCenter/index.tsx': return import('./index-808e18ba.js');
|
|
15857
|
+
case '../components/Product/ProductFooter/index.tsx': return import('./index-848d06bb.js');
|
|
15858
|
+
case '../components/Product/ProductInfo/index.tsx': return import('./index-b3ea90eb.js');
|
|
15859
|
+
case '../components/Product/ProductSettings/index.tsx': return import('./index-79fb2538.js');
|
|
15860
|
+
case '../components/Settings/SettingsDrawer/index.tsx': return import('./index-faf18f89.js');
|
|
15861
|
+
case '../components/Settings/SettingsExpanderButtons/index.tsx': return import('./index-e1488382.js');
|
|
15862
|
+
case '../components/Settings/SettingsHeaderContainer/index.tsx': return import('./index-aed0302d.js');
|
|
15863
|
+
case '../components/Settings/SettingsScroller/index.tsx': return import('./index-5e7e2829.js');
|
|
15864
|
+
case '../components/Settings/SettingsSwiper/index.tsx': return import('./index-a168b203.js');
|
|
15865
|
+
case '../components/TabGroup/ProgressBar/index.tsx': return import('./index-849b1cb8.js');
|
|
15866
|
+
case '../components/TabGroup/Search/index.tsx': return import('./index-3b029782.js');
|
|
15867
|
+
case '../components/TabGroup/TabGroupHorizontal/index.tsx': return import('./index-ecd9cf50.js');
|
|
15868
|
+
case '../components/TabGroup/TabGroupVertical/index.tsx': return import('./index-52b241c4.js');
|
|
15869
|
+
case '../components/Action/Basket/gold/index.tsx': return import('./index-40224a79.js');
|
|
15870
|
+
case '../components/Action/Basket/ralph/index.tsx': return import('./index-e94760fa.js');
|
|
15871
|
+
case '../components/Action/Basket/serious/index.tsx': return import('./index-6bc51931.js');
|
|
15872
|
+
case '../components/Action/Basket/standard/index.tsx': return import('./index-7388fdf0.js');
|
|
15873
|
+
case '../components/Action/Navigation/blue/index.tsx': return import('./index-e8038337.js');
|
|
15874
|
+
case '../components/Action/Navigation/gold/index.tsx': return import('./index-cf742449.js');
|
|
15875
|
+
case '../components/Action/Navigation/ralph/index.tsx': return import('./index-499e3899.js');
|
|
15876
|
+
case '../components/Action/Navigation/standard/index.tsx': return import('./index-93bddffa.js');
|
|
15877
|
+
case '../components/Action/Navigation/wysiwyg/index.tsx': return import('./index-6d13fb6e.js');
|
|
15484
15878
|
case '../components/GlobalElements/AiRoomsSelection/LeadKeyModal/index.tsx': return Promise.resolve().then(function () { return index$8; });
|
|
15485
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/index.tsx': return import('./index-
|
|
15879
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/index.tsx': return import('./index-842cd6e1.js');
|
|
15486
15880
|
case '../components/GlobalElements/Checkout/AGB/index.tsx': return Promise.resolve().then(function () { return index$n; });
|
|
15487
15881
|
case '../components/GlobalElements/Checkout/ClickToCall/index.tsx': return Promise.resolve().then(function () { return index$a; });
|
|
15488
15882
|
case '../components/GlobalElements/Checkout/CreateAppointment/index.tsx': return Promise.resolve().then(function () { return index$l; });
|
|
@@ -15493,201 +15887,202 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
15493
15887
|
case '../components/GlobalElements/Checkout/Save/index.tsx': return Promise.resolve().then(function () { return index$d; });
|
|
15494
15888
|
case '../components/GlobalElements/Checkout/SavePDF/index.tsx': return Promise.resolve().then(function () { return index$b; });
|
|
15495
15889
|
case '../components/GlobalElements/Checkout/Share/index.tsx': return Promise.resolve().then(function () { return index$f; });
|
|
15496
|
-
case '../components/GlobalElements/PopupWindows/Inputbox/index.tsx': return import('./index-
|
|
15497
|
-
case '../components/Layout/wysiwyg/Toolbar/index.tsx': return import('./index-
|
|
15498
|
-
case '../components/Product/ContentItemWrapper/dontReopenAutomatically/index.tsx': return import('./index-
|
|
15499
|
-
case '../components/Product/Product/catalog/index.tsx': return import('./index-
|
|
15500
|
-
case '../components/Product/Product/serious/index.tsx': return import('./index-
|
|
15501
|
-
case '../components/Product/Product/standard/index.tsx': return import('./index-
|
|
15502
|
-
case '../components/Product/ProductCenter/MobileNavIcons/index.tsx': return import('./index-
|
|
15503
|
-
case '../components/Product/ProductCenter/Planner2DGird/index.tsx': return import('./index-
|
|
15504
|
-
case '../components/Product/ProductCenter/Planner3D/index.tsx': return import('./index-
|
|
15505
|
-
case '../components/Product/ProductCenter/Planner3DImage/index.tsx': return import('./index-
|
|
15506
|
-
case '../components/Product/ProductCenter/PlannerAIRoom/index.tsx': return import('./index-
|
|
15507
|
-
case '../components/Product/ProductCenter/PlannerMsgContainer/index.tsx': return import('./index-
|
|
15508
|
-
case '../components/Product/ProductCenter/PlannerRTV/index.tsx': return import('./index-
|
|
15509
|
-
case '../components/Product/ProductCenter/
|
|
15510
|
-
case '../components/Product/ProductCenter/
|
|
15511
|
-
case '../components/Product/ProductCenter/
|
|
15512
|
-
case '../components/Product/
|
|
15513
|
-
case '../components/Product/ProductFooter/
|
|
15514
|
-
case '../components/Product/ProductFooter/
|
|
15515
|
-
case '../components/Product/
|
|
15516
|
-
case '../components/Product/ProductHeader/
|
|
15517
|
-
case '../components/
|
|
15518
|
-
case '../components/Settings/SettingsScroller/
|
|
15519
|
-
case '../components/Settings/SettingsScroller/
|
|
15520
|
-
case '../components/Settings/
|
|
15521
|
-
case '../components/
|
|
15522
|
-
case '../components/TabGroup/
|
|
15523
|
-
case '../components/
|
|
15524
|
-
case '../components/
|
|
15525
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/
|
|
15526
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/
|
|
15890
|
+
case '../components/GlobalElements/PopupWindows/Inputbox/index.tsx': return import('./index-2a9cffc5.js');
|
|
15891
|
+
case '../components/Layout/wysiwyg/Toolbar/index.tsx': return import('./index-2ebf61bf.js');
|
|
15892
|
+
case '../components/Product/ContentItemWrapper/dontReopenAutomatically/index.tsx': return import('./index-b74d30dc.js');
|
|
15893
|
+
case '../components/Product/Product/catalog/index.tsx': return import('./index-e70db1e2.js');
|
|
15894
|
+
case '../components/Product/Product/serious/index.tsx': return import('./index-f29d6478.js');
|
|
15895
|
+
case '../components/Product/Product/standard/index.tsx': return import('./index-b2851261.js');
|
|
15896
|
+
case '../components/Product/ProductCenter/MobileNavIcons/index.tsx': return import('./index-5f1dd6a7.js');
|
|
15897
|
+
case '../components/Product/ProductCenter/Planner2DGird/index.tsx': return import('./index-5ce33fb4.js');
|
|
15898
|
+
case '../components/Product/ProductCenter/Planner3D/index.tsx': return import('./index-bc39fc91.js');
|
|
15899
|
+
case '../components/Product/ProductCenter/Planner3DImage/index.tsx': return import('./index-ed0585b3.js').then(function (n) { return n.b; });
|
|
15900
|
+
case '../components/Product/ProductCenter/PlannerAIRoom/index.tsx': return import('./index-0b268c9b.js');
|
|
15901
|
+
case '../components/Product/ProductCenter/PlannerMsgContainer/index.tsx': return import('./index-afdfaef1.js');
|
|
15902
|
+
case '../components/Product/ProductCenter/PlannerRTV/index.tsx': return import('./index-5de91577.js');
|
|
15903
|
+
case '../components/Product/ProductCenter/PlannerRTVNext/index.tsx': return import('./index-949a8ec9.js');
|
|
15904
|
+
case '../components/Product/ProductCenter/PlannerUI/index.tsx': return import('./index-3a55222a.js');
|
|
15905
|
+
case '../components/Product/ProductCenter/RoomListSelection/index.tsx': return import('./index-dc47ea1c.js');
|
|
15906
|
+
case '../components/Product/ProductCenter/RotateInfo/index.tsx': return import('./index-b9475dd7.js');
|
|
15907
|
+
case '../components/Product/ProductFooter/gold/index.tsx': return import('./index-34d65310.js');
|
|
15908
|
+
case '../components/Product/ProductFooter/ralph/index.tsx': return import('./index-50b88c4e.js');
|
|
15909
|
+
case '../components/Product/ProductFooter/standard/index.tsx': return import('./index-a64c460e.js');
|
|
15910
|
+
case '../components/Product/ProductHeader/Functions/index.tsx': return import('./index-93574f39.js');
|
|
15911
|
+
case '../components/Product/ProductHeader/ProductHeader/index.tsx': return import('./index-0cb1cf07.js');
|
|
15912
|
+
case '../components/Settings/SettingsScroller/SettingsItem/index.tsx': return import('./index-37e5ce26.js').then(function (n) { return n.d; });
|
|
15913
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/index.tsx': return import('./index-121eb2e0.js');
|
|
15914
|
+
case '../components/Settings/SettingsScroller/SubTabGroup/index.tsx': return import('./index-43c63bd9.js');
|
|
15915
|
+
case '../components/Settings/SettingsSwiper/NavForwardButton/index.tsx': return import('./index-19aad45c.js');
|
|
15916
|
+
case '../components/TabGroup/TabGroupHorizontal/item/index.tsx': return import('./index-b097d13b.js');
|
|
15917
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/index.tsx': return import('./index-5086e312.js');
|
|
15918
|
+
case '../components/Action/Basket/ralph/PriceSumm/index.tsx': return import('./index-8b4a5d38.js');
|
|
15919
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/CustomInput/index.tsx': return import('./index-feee64ae.js');
|
|
15920
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/InfoBanner/index.tsx': return import('./index-66899cad.js');
|
|
15921
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/index.tsx': return import('./index-d1d8267a.js');
|
|
15527
15922
|
case '../components/GlobalElements/Checkout/Share/CreatignQrCode/index.tsx': return Promise.resolve().then(function () { return index$j; });
|
|
15528
15923
|
case '../components/GlobalElements/Checkout/Share/LoadingButton/index.tsx': return Promise.resolve().then(function () { return index$m; });
|
|
15529
15924
|
case '../components/GlobalElements/Checkout/Share/MultiToggleSwitch/index.tsx': return Promise.resolve().then(function () { return index$k; });
|
|
15530
15925
|
case '../components/GlobalElements/Checkout/Share/ShareViaEmail/index.tsx': return Promise.resolve().then(function () { return index$g; });
|
|
15531
15926
|
case '../components/GlobalElements/Checkout/Share/ShareViaSocialMedias/index.tsx': return Promise.resolve().then(function () { return index$h; });
|
|
15532
15927
|
case '../components/GlobalElements/Checkout/Share/ShareViaUrl/index.tsx': return Promise.resolve().then(function () { return index$i; });
|
|
15533
|
-
case '../components/Layout/wysiwyg/Toolbar/FloatingWindow/index.tsx': return import('./index-
|
|
15534
|
-
case '../components/Layout/wysiwyg/Toolbar/ToolContainer/index.tsx': return import('./index-
|
|
15535
|
-
case '../components/Product/Product/catalog/Sidebar/index.tsx': return import('./index-
|
|
15536
|
-
case '../components/Product/Product/serious/CheckoutForm/index.tsx': return import('./index-
|
|
15537
|
-
case '../components/Product/ProductCenter/Planner3DImage/Logo/index.tsx': return import('./index-
|
|
15538
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/index.tsx': return import('./index-
|
|
15539
|
-
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/index.tsx': return import('./index-
|
|
15928
|
+
case '../components/Layout/wysiwyg/Toolbar/FloatingWindow/index.tsx': return import('./index-ec3af8ef.js');
|
|
15929
|
+
case '../components/Layout/wysiwyg/Toolbar/ToolContainer/index.tsx': return import('./index-debdf6bf.js');
|
|
15930
|
+
case '../components/Product/Product/catalog/Sidebar/index.tsx': return import('./index-ed819eda.js');
|
|
15931
|
+
case '../components/Product/Product/serious/CheckoutForm/index.tsx': return import('./index-4edd4580.js');
|
|
15932
|
+
case '../components/Product/ProductCenter/Planner3DImage/Logo/index.tsx': return import('./index-7ba645fb.js');
|
|
15933
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/index.tsx': return import('./index-1e8c31a9.js');
|
|
15934
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/index.tsx': return import('./index-00c131c0.js');
|
|
15540
15935
|
case '../components/Product/ProductCenter/PlannerMsgContainer/PlannerMsgItem/index.tsx': return Promise.resolve().then(function () { return index$4; });
|
|
15541
|
-
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/index.tsx': return import('./index-
|
|
15542
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/index.tsx': return import('./index-
|
|
15543
|
-
case '../components/Product/ProductCenter/RoomListSelection/serious/index.tsx': return import('./index-
|
|
15544
|
-
case '../components/Product/ProductCenter/RoomListSelection/standard/index.tsx': return import('./index-
|
|
15545
|
-
case '../components/Product/ProductHeader/Functions/StyleIndicator/index.tsx': return import('./index-
|
|
15546
|
-
case '../components/Product/ProductHeader/ProductHeader/blue/index.tsx': return import('./index-
|
|
15547
|
-
case '../components/Product/ProductHeader/ProductHeader/gold/index.tsx': return import('./index-
|
|
15548
|
-
case '../components/Product/ProductHeader/ProductHeader/ralph/index.tsx': return import('./index-
|
|
15549
|
-
case '../components/Product/ProductHeader/ProductHeader/standard/index.tsx': return import('./index-
|
|
15550
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/DockFilter/index.tsx': return import('./index-
|
|
15551
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/index.tsx': return import('./index-
|
|
15552
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/Searchbar/index.tsx': return import('./index-
|
|
15936
|
+
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/index.tsx': return import('./index-dd7dedf5.js');
|
|
15937
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/index.tsx': return import('./index-7c912878.js');
|
|
15938
|
+
case '../components/Product/ProductCenter/RoomListSelection/serious/index.tsx': return import('./index-96d5f28f.js');
|
|
15939
|
+
case '../components/Product/ProductCenter/RoomListSelection/standard/index.tsx': return import('./index-0cfafdbc.js');
|
|
15940
|
+
case '../components/Product/ProductHeader/Functions/StyleIndicator/index.tsx': return import('./index-55086d15.js');
|
|
15941
|
+
case '../components/Product/ProductHeader/ProductHeader/blue/index.tsx': return import('./index-4af1b9dd.js');
|
|
15942
|
+
case '../components/Product/ProductHeader/ProductHeader/gold/index.tsx': return import('./index-be598dea.js');
|
|
15943
|
+
case '../components/Product/ProductHeader/ProductHeader/ralph/index.tsx': return import('./index-59222d93.js');
|
|
15944
|
+
case '../components/Product/ProductHeader/ProductHeader/standard/index.tsx': return import('./index-4efd0824.js');
|
|
15945
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/DockFilter/index.tsx': return import('./index-d7d6eb3a.js');
|
|
15946
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/index.tsx': return import('./index-43bfd796.js');
|
|
15947
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/Searchbar/index.tsx': return import('./index-2216713d.js');
|
|
15553
15948
|
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/index.tsx': return Promise.resolve().then(function () { return index$3; });
|
|
15554
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsConfigSingle/index.tsx': return import('./index-
|
|
15555
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/index.tsx': return import('./index-
|
|
15556
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ComponentMap/index.tsx': return import('./index-
|
|
15557
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemWrapper/index.tsx': return import('./index-
|
|
15558
|
-
case '../components/Settings/SettingsScroller/SettingsItem/StepInfo/index.tsx': return import('./index-
|
|
15559
|
-
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/ContentItemTeaser/index.tsx': return import('./index-
|
|
15560
|
-
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/SettingsItemsGroup/index.tsx': return import('./index-
|
|
15561
|
-
case '../components/Settings/SettingsScroller/SubTabGroup/SubTabGroupHeader/index.tsx': return import('./index-
|
|
15562
|
-
case '../components/TabGroup/TabGroupHorizontal/item/gold/index.tsx': return import('./index-
|
|
15563
|
-
case '../components/TabGroup/TabGroupHorizontal/item/inspiration/index.tsx': return import('./index-
|
|
15564
|
-
case '../components/TabGroup/TabGroupHorizontal/item/ralph/index.tsx': return import('./index-
|
|
15565
|
-
case '../components/TabGroup/TabGroupHorizontal/item/standard/index.tsx': return import('./index-
|
|
15566
|
-
case '../components/TabGroup/TabGroupHorizontal/item/wysiwyg/index.tsx': return import('./index-
|
|
15567
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/index.tsx': return import('./index-
|
|
15568
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/free/index.tsx': return import('./index-
|
|
15569
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/mountain/index.tsx': return import('./index-
|
|
15570
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/serious/index.tsx': return import('./index-
|
|
15571
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/standard/index.tsx': return import('./index-
|
|
15572
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/UploadItem/index.tsx': return import('./index-
|
|
15573
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/gold/index.tsx': return import('./index-
|
|
15574
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/serious/index.tsx': return import('./index-
|
|
15575
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/index.tsx': return import('./index-
|
|
15576
|
-
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/serious/index.tsx': return import('./index-
|
|
15577
|
-
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/standard/index.tsx': return import('./index-
|
|
15578
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Outline/index.tsx': return import('./index-
|
|
15579
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Outline3D/index.tsx': return import('./index-
|
|
15580
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/PosNr/index.tsx': return import('./index-
|
|
15581
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Trash/index.tsx': return import('./index-
|
|
15582
|
-
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/ItemsDPAccContainer/index.tsx': return import('./index-
|
|
15583
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/gold/index.tsx': return import('./index-
|
|
15584
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/hidden/index.tsx': return import('./index-
|
|
15585
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/standard/index.tsx': return import('./index-
|
|
15586
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/index.tsx': return import('./index-
|
|
15587
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/index.tsx': return import('./index-
|
|
15588
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/serious/index.tsx': return import('./index-
|
|
15589
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/index.tsx': return import('./index-
|
|
15590
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/SettingsPosNr/index.tsx': return import('./index-
|
|
15591
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/ConceptFilter/index.tsx': return import('./index-
|
|
15592
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/HorizontalGroup/index.tsx': return import('./index-
|
|
15593
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/index.tsx': return import('./index-
|
|
15594
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroupDropdown/index.tsx': return import('./index-
|
|
15595
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/index.tsx': return import('./index-
|
|
15596
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/DoorPlanner/index.tsx': return import('./index-
|
|
15597
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/index.tsx': return import('./index-
|
|
15598
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Promoted/index.tsx': return import('./index-
|
|
15599
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/index.tsx': return import('./index-
|
|
15600
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.tsx': return import('./UnlockCard-
|
|
15601
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/index.tsx': return import('./index-
|
|
15602
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/Header/index.tsx': return import('./index-
|
|
15603
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/configstep/index.tsx': return import('./index-
|
|
15604
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/index.tsx': return import('./index-
|
|
15605
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/BoxCopy/index.tsx': return import('./index-
|
|
15606
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/ElementCopy/index.tsx': return import('./index-
|
|
15607
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Dimension/DistanceToGround/index.tsx': return import('./index-
|
|
15608
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVL/index.tsx': return import('./index-
|
|
15609
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVR/index.tsx': return import('./index-
|
|
15610
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/DPACC/index.tsx': return import('./index-
|
|
15611
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationClockwise/index.tsx': return import('./index-
|
|
15612
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationCounterClockwise/index.tsx': return import('./index-
|
|
15613
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/Arrow/index.tsx': return import('./index-
|
|
15614
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/FilterItem/index.tsx': return import('./index-
|
|
15615
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/InfoButton/index.tsx': return import('./index-
|
|
15616
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/NumberInput/index.tsx': return import('./index-
|
|
15617
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/PDFButton/index.tsx': return import('./index-
|
|
15618
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/index.tsx': return import('./index-
|
|
15619
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SummaryVariantButton/index.tsx': return import('./index-
|
|
15620
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/index.tsx': return import('./index-
|
|
15621
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/index.tsx': return import('./index-
|
|
15622
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/serious/index.tsx': return import('./index-
|
|
15623
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/standard/index.tsx': return import('./index-
|
|
15624
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ArticleOverviewWrapper/index.tsx': return import('./index-
|
|
15625
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Default/index.tsx': return import('./index-
|
|
15626
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Facelift/index.tsx': return import('./index-
|
|
15627
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/index.tsx': return import('./index-
|
|
15628
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerSwitch/index.tsx': return import('./index-
|
|
15629
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ReplaceSwitch/index.tsx': return import('./index-
|
|
15630
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/index.tsx': return import('./index-
|
|
15631
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/InfoIcon/index.tsx': return import('./index-
|
|
15632
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/MetaData/index.tsx': return import('./index-
|
|
15949
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsConfigSingle/index.tsx': return import('./index-738b8c53.js');
|
|
15950
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/index.tsx': return import('./index-c6374599.js');
|
|
15951
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ComponentMap/index.tsx': return import('./index-f518becc.js');
|
|
15952
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemWrapper/index.tsx': return import('./index-37e5ce26.js').then(function (n) { return n.b; });
|
|
15953
|
+
case '../components/Settings/SettingsScroller/SettingsItem/StepInfo/index.tsx': return import('./index-e9be3388.js');
|
|
15954
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/ContentItemTeaser/index.tsx': return import('./index-15cd5e0b.js');
|
|
15955
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/SettingsItemsGroup/index.tsx': return import('./index-65fbcb58.js');
|
|
15956
|
+
case '../components/Settings/SettingsScroller/SubTabGroup/SubTabGroupHeader/index.tsx': return import('./index-9cc2d354.js');
|
|
15957
|
+
case '../components/TabGroup/TabGroupHorizontal/item/gold/index.tsx': return import('./index-562f626d.js');
|
|
15958
|
+
case '../components/TabGroup/TabGroupHorizontal/item/inspiration/index.tsx': return import('./index-488c6b05.js');
|
|
15959
|
+
case '../components/TabGroup/TabGroupHorizontal/item/ralph/index.tsx': return import('./index-ae0c4240.js');
|
|
15960
|
+
case '../components/TabGroup/TabGroupHorizontal/item/standard/index.tsx': return import('./index-7e04fc44.js');
|
|
15961
|
+
case '../components/TabGroup/TabGroupHorizontal/item/wysiwyg/index.tsx': return import('./index-798bd86b.js');
|
|
15962
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/index.tsx': return import('./index-a84bacc7.js');
|
|
15963
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/free/index.tsx': return import('./index-aabe0ff6.js');
|
|
15964
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/mountain/index.tsx': return import('./index-9937cbad.js');
|
|
15965
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/serious/index.tsx': return import('./index-484cf5d3.js');
|
|
15966
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/standard/index.tsx': return import('./index-1cc3323b.js');
|
|
15967
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/UploadItem/index.tsx': return import('./index-63f8ed90.js');
|
|
15968
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/gold/index.tsx': return import('./index-f2529b66.js');
|
|
15969
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/serious/index.tsx': return import('./index-b82d96fc.js');
|
|
15970
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/index.tsx': return import('./index-3a74cfbb.js');
|
|
15971
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/serious/index.tsx': return import('./index-545ca188.js');
|
|
15972
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/standard/index.tsx': return import('./index-d409ea8c.js');
|
|
15973
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Outline/index.tsx': return import('./index-e6ce187d.js');
|
|
15974
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Outline3D/index.tsx': return import('./index-55e07173.js');
|
|
15975
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/PosNr/index.tsx': return import('./index-d65e17d1.js');
|
|
15976
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Trash/index.tsx': return import('./index-bf716481.js');
|
|
15977
|
+
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/ItemsDPAccContainer/index.tsx': return import('./index-44edb0b8.js').then(function (n) { return n.i; });
|
|
15978
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/gold/index.tsx': return import('./index-f235e5ea.js');
|
|
15979
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/hidden/index.tsx': return import('./index-474fbb26.js');
|
|
15980
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/standard/index.tsx': return import('./index-c26c16a1.js');
|
|
15981
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/index.tsx': return import('./index-a3d346c5.js');
|
|
15982
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/index.tsx': return import('./index-f210fdf9.js');
|
|
15983
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/serious/index.tsx': return import('./index-f03b9032.js');
|
|
15984
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/index.tsx': return import('./index-9fa1c1f7.js');
|
|
15985
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/SettingsPosNr/index.tsx': return import('./index-f1b5a2e5.js').then(function (n) { return n.i; });
|
|
15986
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/ConceptFilter/index.tsx': return import('./index-c7428334.js');
|
|
15987
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/HorizontalGroup/index.tsx': return import('./index-37e5ce26.js').then(function (n) { return n.i; });
|
|
15988
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/index.tsx': return import('./index-7148722b.js');
|
|
15989
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroupDropdown/index.tsx': return import('./index-51379c7d.js');
|
|
15990
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/index.tsx': return import('./index-03564b85.js');
|
|
15991
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/DoorPlanner/index.tsx': return import('./index-04b501b0.js');
|
|
15992
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/index.tsx': return import('./index-104f542f.js');
|
|
15993
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Promoted/index.tsx': return import('./index-9f4f4a99.js');
|
|
15994
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/index.tsx': return import('./index-a327585a.js');
|
|
15995
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.tsx': return import('./UnlockCard-6c291115.js').then(function (n) { return n.M; });
|
|
15996
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/index.tsx': return import('./index-b95c75a5.js');
|
|
15997
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/Header/index.tsx': return import('./index-c6cfe557.js');
|
|
15998
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/configstep/index.tsx': return import('./index-995c6a1f.js');
|
|
15999
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/index.tsx': return import('./index-e5168f88.js');
|
|
16000
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/BoxCopy/index.tsx': return import('./index-d3dd9857.js');
|
|
16001
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/ElementCopy/index.tsx': return import('./index-ab57d244.js');
|
|
16002
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Dimension/DistanceToGround/index.tsx': return import('./index-d0678eb7.js');
|
|
16003
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVL/index.tsx': return import('./index-f8223213.js');
|
|
16004
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVR/index.tsx': return import('./index-120bd7a4.js');
|
|
16005
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/DPACC/index.tsx': return import('./index-583f8fa5.js');
|
|
16006
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationClockwise/index.tsx': return import('./index-684bae3d.js');
|
|
16007
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationCounterClockwise/index.tsx': return import('./index-bf5912d1.js');
|
|
16008
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/Arrow/index.tsx': return import('./index-0841d78b.js');
|
|
16009
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/FilterItem/index.tsx': return import('./index-053fdaab.js');
|
|
16010
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/InfoButton/index.tsx': return import('./index-821100f3.js');
|
|
16011
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/NumberInput/index.tsx': return import('./index-cdde3559.js');
|
|
16012
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/PDFButton/index.tsx': return import('./index-f6d73b5f.js');
|
|
16013
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/index.tsx': return import('./index-c1d93c2d.js');
|
|
16014
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SummaryVariantButton/index.tsx': return import('./index-11715177.js');
|
|
16015
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/index.tsx': return import('./index-8e9f79fd.js');
|
|
16016
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/index.tsx': return import('./index-f2d4a8eb.js');
|
|
16017
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/serious/index.tsx': return import('./index-965264f8.js');
|
|
16018
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/standard/index.tsx': return import('./index-0efead1c.js');
|
|
16019
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ArticleOverviewWrapper/index.tsx': return import('./index-37e5ce26.js').then(function (n) { return n.a; });
|
|
16020
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Default/index.tsx': return import('./index-2f37f4be.js');
|
|
16021
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Facelift/index.tsx': return import('./index-a9d4a0b4.js');
|
|
16022
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/index.tsx': return import('./index-56ff2642.js');
|
|
16023
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerSwitch/index.tsx': return import('./index-d9137f8b.js');
|
|
16024
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ReplaceSwitch/index.tsx': return import('./index-01af1d2d.js');
|
|
16025
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/index.tsx': return import('./index-be6667e8.js');
|
|
16026
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/InfoIcon/index.tsx': return import('./index-70a779ba.js');
|
|
16027
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/MetaData/index.tsx': return import('./index-268bf50c.js');
|
|
15633
16028
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/PriceCounter/index.tsx': return Promise.resolve().then(function () { return index$2; });
|
|
15634
16029
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/PricePreview/index.tsx': return Promise.resolve().then(function () { return index$1; });
|
|
15635
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ReverseCheck/index.tsx': return import('./index-
|
|
16030
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ReverseCheck/index.tsx': return import('./index-634deca6.js');
|
|
15636
16031
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/Tooltip/index.tsx': return Promise.resolve().then(function () { return index; });
|
|
15637
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/index.tsx': return import('./index-
|
|
15638
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/TextBox/index.tsx': return import('./index-
|
|
15639
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Gallery/index.tsx': return import('./index-
|
|
15640
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText/index.tsx': return import('./index-
|
|
15641
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText2/index.tsx': return import('./index-
|
|
15642
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/index.tsx': return import('./index-
|
|
15643
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/Search/index.tsx': return import('./index-
|
|
15644
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/index.tsx': return import('./index-
|
|
15645
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/SelectedAcc/index.tsx': return import('./index-
|
|
15646
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoires/index.tsx': return import('./index-
|
|
15647
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoiresOld/index.tsx': return import('./index-
|
|
15648
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Articles/index.tsx': return import('./index-
|
|
15649
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/index.tsx': return import('./index-
|
|
15650
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/index.tsx': return import('./index-
|
|
15651
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/TotalPrice/index.tsx': return import('./index-
|
|
15652
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Variants/index.tsx': return import('./index-
|
|
16032
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/index.tsx': return import('./index-f470e596.js');
|
|
16033
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/TextBox/index.tsx': return import('./index-7a41789c.js');
|
|
16034
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Gallery/index.tsx': return import('./index-8b4a9dda.js');
|
|
16035
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText/index.tsx': return import('./index-c3012ad1.js');
|
|
16036
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText2/index.tsx': return import('./index-8061cd95.js');
|
|
16037
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/index.tsx': return import('./index-09fed747.js');
|
|
16038
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/Search/index.tsx': return import('./index-a1ad1a4d.js');
|
|
16039
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/index.tsx': return import('./index-55810e79.js');
|
|
16040
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/SelectedAcc/index.tsx': return import('./index-ccec4070.js').then(function (n) { return n.j; });
|
|
16041
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoires/index.tsx': return import('./index-8d362875.js');
|
|
16042
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoiresOld/index.tsx': return import('./index-b991fb18.js');
|
|
16043
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Articles/index.tsx': return import('./index-0bfc7267.js');
|
|
16044
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/index.tsx': return import('./index-a7be4864.js');
|
|
16045
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/index.tsx': return import('./index-071c84a2.js');
|
|
16046
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/TotalPrice/index.tsx': return import('./index-ba66849c.js');
|
|
16047
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Variants/index.tsx': return import('./index-62857517.js');
|
|
15653
16048
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleElement/index.tsx': return Promise.resolve().then(function () { return index$5; });
|
|
15654
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleHeader/index.tsx': return import('./index-
|
|
15655
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleName/index.tsx': return import('./index-
|
|
15656
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleOption/index.tsx': return import('./index-
|
|
15657
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/FullscreenAr/index.tsx': return import('./index-
|
|
15658
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/Tooltip/index.tsx': return import('./index-
|
|
15659
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/Item/index.tsx': return import('./index-
|
|
15660
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/group/index.tsx': return import('./index-
|
|
15661
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/Group/index.tsx': return import('./index-
|
|
15662
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/addElement/index.tsx': return import('./index-
|
|
15663
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/CollapsibleTrigger/index.tsx': return import('./index-
|
|
15664
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/ConceptItem/index.tsx': return import('./index-
|
|
15665
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/InfoBanner/index.tsx': return import('./index-
|
|
15666
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/serious/index.tsx': return import('./index-
|
|
15667
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/index.tsx': return import('./index-
|
|
15668
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/index.tsx': return import('./index-
|
|
15669
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/index.tsx': return import('./index-
|
|
15670
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/NumberBox/index.tsx': return import('./index-
|
|
15671
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Radio/index.tsx': return import('./index-
|
|
15672
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Range/index.tsx': return import('./index-
|
|
15673
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Slider/index.tsx': return import('./index-
|
|
15674
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/standard/index.tsx': return import('./index-
|
|
15675
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/DeleteButton/index.tsx': return import('./index-
|
|
15676
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/serious/index.tsx': return import('./index-
|
|
15677
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/index.tsx': return import('./index-
|
|
15678
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.tsx': return import('./index-
|
|
15679
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/Confetti/index.tsx': return import('./index-
|
|
15680
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/SummaryHeader/index.tsx': return import('./index-
|
|
15681
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/MobileDropdown/index.tsx': return import('./index-
|
|
15682
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/jungle/index.tsx': return import('./index-
|
|
15683
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/standard/index.tsx': return import('./index-
|
|
15684
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/MultiToggleSwitch/index.tsx': return import('./index-
|
|
15685
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/index.tsx': return import('./index-
|
|
15686
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/ViewPoint/index.tsx': return import('./index-
|
|
15687
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/OptionItem/index.tsx': return import('./index-
|
|
15688
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/round/index.tsx': return import('./index-
|
|
15689
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/serious/index.tsx': return import('./index-
|
|
15690
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/standard/index.tsx': return import('./index-
|
|
16049
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleHeader/index.tsx': return import('./index-85c249b4.js');
|
|
16050
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleName/index.tsx': return import('./index-e19b57e2.js');
|
|
16051
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleOption/index.tsx': return import('./index-2bacb676.js');
|
|
16052
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/FullscreenAr/index.tsx': return import('./index-c8245908.js');
|
|
16053
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/Tooltip/index.tsx': return import('./index-168b0767.js');
|
|
16054
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/Item/index.tsx': return import('./index-e1f9516a.js');
|
|
16055
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/group/index.tsx': return import('./index-3c2d93de.js');
|
|
16056
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/Group/index.tsx': return import('./index-7512667f.js');
|
|
16057
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/addElement/index.tsx': return import('./index-c38ba0fb.js').then(function (n) { return n.g; });
|
|
16058
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/CollapsibleTrigger/index.tsx': return import('./index-338bd87a.js');
|
|
16059
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/ConceptItem/index.tsx': return import('./index-b5184c36.js');
|
|
16060
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/InfoBanner/index.tsx': return import('./index-975fa179.js');
|
|
16061
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/serious/index.tsx': return import('./index-d34ae5da.js');
|
|
16062
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/index.tsx': return import('./index-89e77b0c.js');
|
|
16063
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/index.tsx': return import('./index-e6e84f80.js');
|
|
16064
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/index.tsx': return import('./index-93439923.js');
|
|
16065
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/NumberBox/index.tsx': return import('./index-bc7df7d1.js');
|
|
16066
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Radio/index.tsx': return import('./index-58c09633.js');
|
|
16067
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Range/index.tsx': return import('./index-05a3a4b1.js');
|
|
16068
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Slider/index.tsx': return import('./index-fb21e66a.js');
|
|
16069
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/standard/index.tsx': return import('./index-f250330c.js');
|
|
16070
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/DeleteButton/index.tsx': return import('./index-3d81c149.js');
|
|
16071
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/serious/index.tsx': return import('./index-21858b1f.js');
|
|
16072
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/index.tsx': return import('./index-eecce5fb.js');
|
|
16073
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.tsx': return import('./index-88756581.js');
|
|
16074
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/Confetti/index.tsx': return import('./index-1fbf6ae1.js');
|
|
16075
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/SummaryHeader/index.tsx': return import('./index-5c636feb.js');
|
|
16076
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/MobileDropdown/index.tsx': return import('./index-77a75d88.js');
|
|
16077
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/jungle/index.tsx': return import('./index-26cb172f.js');
|
|
16078
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/standard/index.tsx': return import('./index-806852ef.js');
|
|
16079
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/MultiToggleSwitch/index.tsx': return import('./index-9a89d03c.js');
|
|
16080
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/index.tsx': return import('./index-a72b6a5c.js');
|
|
16081
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/ViewPoint/index.tsx': return import('./index-87f36cb0.js');
|
|
16082
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/OptionItem/index.tsx': return import('./index-74a3ac2f.js').then(function (n) { return n.i; });
|
|
16083
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/round/index.tsx': return import('./index-499b6e94.js');
|
|
16084
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/serious/index.tsx': return import('./index-abfcb3a3.js');
|
|
16085
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/standard/index.tsx': return import('./index-3675eed5.js');
|
|
15691
16086
|
default: return new Promise(function(resolve, reject) {
|
|
15692
16087
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
|
15693
16088
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
|
@@ -15730,17 +16125,25 @@ var DivaWebPlannerMain = observer(function () {
|
|
|
15730
16125
|
});
|
|
15731
16126
|
|
|
15732
16127
|
var analyzerComponentsContext = /*#__PURE__*/createContext({});
|
|
16128
|
+
var rtvAnalyzerContext = /*#__PURE__*/createContext({});
|
|
15733
16129
|
var AnalyzerComponentsProvider = function AnalyzerComponentsProvider(_ref) {
|
|
15734
16130
|
var components = _ref.components,
|
|
16131
|
+
rtvAnalyzerComponents = _ref.rtvAnalyzerComponents,
|
|
15735
16132
|
children = _ref.children;
|
|
15736
16133
|
return /*#__PURE__*/jsx(analyzerComponentsContext.Provider, {
|
|
15737
16134
|
value: components,
|
|
15738
|
-
children:
|
|
16135
|
+
children: /*#__PURE__*/jsx(rtvAnalyzerContext.Provider, {
|
|
16136
|
+
value: rtvAnalyzerComponents !== null && rtvAnalyzerComponents !== void 0 ? rtvAnalyzerComponents : {},
|
|
16137
|
+
children: children
|
|
16138
|
+
})
|
|
15739
16139
|
});
|
|
15740
16140
|
};
|
|
15741
16141
|
var useAnalyzerComponents = function useAnalyzerComponents() {
|
|
15742
16142
|
return useContext(analyzerComponentsContext);
|
|
15743
16143
|
};
|
|
16144
|
+
var useRTVAnalyzerComponentsFromPlanner = function useRTVAnalyzerComponentsFromPlanner() {
|
|
16145
|
+
return useContext(rtvAnalyzerContext);
|
|
16146
|
+
};
|
|
15744
16147
|
var MissingAnalyzerComponent = function MissingAnalyzerComponent(_ref2) {
|
|
15745
16148
|
var name = _ref2.name;
|
|
15746
16149
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -15822,7 +16225,11 @@ var wcPlannerInfoContainerCollapsed = "wcPlanner_InfoContainerCollapsed-xs0DF";
|
|
|
15822
16225
|
var css_248z$2 = ".wcPlanner_MsgContainerParent-AxGJ2 {\n position: absolute;\n top: 9%;\n left: 50%;\n max-width: 80%;\n z-index: 10000;\n}\n\n.wcPlanner_MsgContainerParent-AxGJ2.mobile-t5h8e {\n top: 20%;\n}\n\n.expanded-C67RJ.wcPlanner_MsgContainerParent-AxGJ2 {\n left: 27%;\n max-width: 30%;\n}\n.wcPlanner_MsgContainer-l83YW {\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n min-height: 35px;\n transform: translate(-50%, 0);\n background-color: rgba(255, 255, 255, 0.7);\n padding: 16px;\n transition: opacity 0.3s ease-in-out;\n opacity: 1;\n}\n\n.mobile-t5h8e.wcPlanner_MsgContainer-l83YW {\n padding: 12px 12px 12px 16px;\n}\n\n.mobile-t5h8e .wcPlanner_MsgText-L2Tn8 {\n font-size: 14px;\n line-height: 16px;\n min-width: 250px;\n}\n\n.wcPlannerMsgContainerHide-EiDKG {\n opacity: 0;\n}\n\n.wcPlanner_InfoContainer-PrkSv {\n border: 1px solid #3792cb;\n float: left;\n}\n.wcPlanner_WarningContainer-qDqGO {\n margin-bottom: 16px;\n border: 1px solid #dfdfdf;\n}\n\n.wcPlanner_msgImg-Qx2Pc {\n height: 30px;\n width: 30px;\n background-repeat: no-repeat;\n background-size: contain;\n top: calc(50% - 15px);\n left: 10px;\n position: absolute;\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2226%22 height%3D%2226%22 viewBox%3D%220 0 26 26%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle cx%3D%2213.0412%22 cy%3D%2213.2417%22 r%3D%2211.7995%22 stroke%3D%22%23A81E1E%22%2F%3E%3Cpath d%3D%22M13.041 14.9186L13.041 7.09164%22 stroke%3D%22%23A81E1E%22 stroke-linecap%3D%22round%22%2F%3E%3Ccircle cx%3D%2213.0409%22 cy%3D%2218.6145%22 r%3D%220.77696%22 transform%3D%22rotate(-180 13.0409 18.6145)%22 fill%3D%22%23A81E1E%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.wcPlanner_InfoImg-Jxwkc {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 22.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Ebene_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 26 26%22 style%3D%22enable-background%3Anew 0 0 26 26%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill%3Anone%3Bstroke%3A%23000000%3B%7D%09.st1%7Bfill%3Anone%3Bstroke%3A%23000000%3Bstroke-linecap%3Around%3B%7D%3C%2Fstyle%3E%3Ccircle class%3D%22st0%22 cx%3D%2213%22 cy%3D%2213.2%22 r%3D%2211.8%22%2F%3E%3Cpath class%3D%22st1%22 d%3D%22M13%2C11.6v7.8%22%2F%3E%3Ccircle cx%3D%2213%22 cy%3D%227.9%22 r%3D%220.8%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.wcPlanner_WarningImg-pqPKt {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2226%22 height%3D%2226%22 viewBox%3D%220 0 26 26%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle cx%3D%2213.0412%22 cy%3D%2213.2417%22 r%3D%2211.7995%22 stroke%3D%22%23A81E1E%22%2F%3E%3Cpath d%3D%22M13.041 14.9186L13.041 7.09164%22 stroke%3D%22%23A81E1E%22 stroke-linecap%3D%22round%22%2F%3E%3Ccircle cx%3D%2213.0409%22 cy%3D%2218.6145%22 r%3D%220.77696%22 transform%3D%22rotate(-180 13.0409 18.6145)%22 fill%3D%22%23A81E1E%22%2F%3E%3C%2Fsvg%3E\");\n}\n.wcPlanner_MsgText-L2Tn8 {\n font-size: 17px;\n line-height: 20px;\n word-break: break-word;\n margin-left: 30px;\n -webkit-text-stroke: 0.3px;\n max-height: 200px;\n overflow: auto;\n}\n\n.wcConfigurator-is-mobile-landscape-CfCm1 .wcPlanner_MsgText-L2Tn8,\n.wcConfigurator-is-mobile-portrait-5132m .wcPlanner_MsgText-L2Tn8 {\n max-height: 70px;\n overflow: auto;\n}\n\n.wcPlanner_WarningText-5OPNX {\n color: var(--primaryColor);\n}\n.wcPlanner_InfoText-y-0KQ {\n color: black;\n}\n\n.wcPlanner_MsgContainerParent-AxGJ2 .wcClose-0CJR7 {\n position: absolute;\n top: 20px;\n right: 10px;\n color: #747474;\n width: 20px;\n height: calc(100% - 40px);\n cursor: pointer;\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2213%22 height%3D%2238%22 viewBox%3D%220 0 13 38%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M12 1L0.999998 19.1818L12 37%22 stroke%3D%22%234B4B4B%22 stroke-width%3D%221.2%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\");\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 70%;\n}\n\n.wcPlanner_InfoContainerCollapsed-xs0DF .wcClose-0CJR7 {\n transform: rotate(180deg);\n}\n\n.wcPlanner_InfoContainerCollapsed-xs0DF {\n width: 10px;\n}\n\n.wcPlanner_InfoContainerCollapsed-xs0DF .wcPlanner_InfoText-y-0KQ {\n display: none;\n}\n\n/* pfister style */\n.wcPlanner_MsgContainerParent-AxGJ2 .wcClose-0CJR7 {\n display: none;\n}\n";
|
|
15823
16226
|
styleInject(css_248z$2);
|
|
15824
16227
|
|
|
16228
|
+
var CONFIGURATOR_MSG_FALLBACK = {
|
|
16229
|
+
THREE_D_CATALOG_UNAVAILABLE: '3D view is currently unavailable because the product catalog was not loaded. Planning in 2D still works.'
|
|
16230
|
+
};
|
|
15825
16231
|
var PlannerMsgItem = function PlannerMsgItem(_ref) {
|
|
16232
|
+
var _CONFIGURATOR_MSG_FAL;
|
|
15826
16233
|
var item = _ref.item,
|
|
15827
16234
|
codex = _ref.codex;
|
|
15828
16235
|
var viewHandler = useViewHandler();
|
|
@@ -15849,7 +16256,9 @@ var PlannerMsgItem = function PlannerMsgItem(_ref) {
|
|
|
15849
16256
|
}), /*#__PURE__*/jsx("div", {
|
|
15850
16257
|
className: classnames(wcPlannerMsgText, item.type == 'INFO' ? wcPlannerInfoText : undefined, item.type == 'WARNING' ? wcPlannerWarningText : undefined),
|
|
15851
16258
|
dangerouslySetInnerHTML: typeof item.content == 'string' ? {
|
|
15852
|
-
__html: t('configurator.' + item.content,
|
|
16259
|
+
__html: t('configurator.' + item.content, {
|
|
16260
|
+
defaultValue: (_CONFIGURATOR_MSG_FAL = CONFIGURATOR_MSG_FALLBACK[codex]) !== null && _CONFIGURATOR_MSG_FAL !== void 0 ? _CONFIGURATOR_MSG_FAL : item.content
|
|
16261
|
+
})
|
|
15853
16262
|
} : undefined
|
|
15854
16263
|
}), typeof item.content != 'string' && item.content]
|
|
15855
16264
|
});
|
|
@@ -16115,7 +16524,8 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16115
16524
|
settings = _ref.settings,
|
|
16116
16525
|
internal = _ref.internal,
|
|
16117
16526
|
isVisible = _ref.isVisible,
|
|
16118
|
-
analyzerComponents = _ref.analyzerComponents
|
|
16527
|
+
analyzerComponents = _ref.analyzerComponents,
|
|
16528
|
+
rtvAnalyzerComponents = _ref.rtvAnalyzerComponents;
|
|
16119
16529
|
var _useDivaCore = useDivaCore(),
|
|
16120
16530
|
state = _useDivaCore.state,
|
|
16121
16531
|
actions = _useDivaCore.actions,
|
|
@@ -16155,6 +16565,7 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16155
16565
|
}
|
|
16156
16566
|
return /*#__PURE__*/jsx(AnalyzerComponentsProvider, {
|
|
16157
16567
|
components: analyzerComponents !== null && analyzerComponents !== void 0 ? analyzerComponents : {},
|
|
16568
|
+
rtvAnalyzerComponents: rtvAnalyzerComponents,
|
|
16158
16569
|
children: /*#__PURE__*/jsx(ViewHandlerProvider, {
|
|
16159
16570
|
isVisible: isVisible || false,
|
|
16160
16571
|
plannerConfig: _objectSpread(_objectSpread({}, initObject), {}, {
|
|
@@ -16189,9 +16600,25 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16189
16600
|
})
|
|
16190
16601
|
});
|
|
16191
16602
|
};
|
|
16603
|
+
|
|
16604
|
+
/**
|
|
16605
|
+
* Parameter that may arrive as an object (host component parameters / JSON preset) or as a JSON
|
|
16606
|
+
* string (URL). Invalid or empty JSON yields `undefined` instead of throwing during render — this
|
|
16607
|
+
* runs inside `useMemo` above the error boundary, so a throw here blanks the whole component.
|
|
16608
|
+
*/
|
|
16609
|
+
function parseObjectParam(value) {
|
|
16610
|
+
if (value == null || value === '') return undefined;
|
|
16611
|
+
if (typeof value !== 'string') return value;
|
|
16612
|
+
try {
|
|
16613
|
+
return JSON.parse(value);
|
|
16614
|
+
} catch (err) {
|
|
16615
|
+
LOG.warn('Ignoring parameter with invalid JSON', err);
|
|
16616
|
+
return undefined;
|
|
16617
|
+
}
|
|
16618
|
+
}
|
|
16192
16619
|
function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters, internal, organizationId) {
|
|
16193
16620
|
return useMemo(function () {
|
|
16194
|
-
var _parameters$accountGu, _internal$accountSess, _internal$no3DConnect, _parameters$divaNr, _parameters$DivaNR, _parameters$divanr, _parameters$addDivaNr, _parameters$startDiva, _parameters$initProdu;
|
|
16621
|
+
var _parameters$accountGu, _internal$accountSess, _internal$no3DConnect, _internal$orderlineVa, _parameters$divaNr, _parameters$DivaNR, _parameters$divanr, _internal$createImage, _parameters$addDivaNr, _parameters$startDiva, _parameters$initProdu;
|
|
16195
16622
|
return {
|
|
16196
16623
|
eventSubscriber: eventSubscriber,
|
|
16197
16624
|
eventUnsubscriber: eventUnsubscriber,
|
|
@@ -16204,6 +16631,7 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16204
16631
|
smSupplierNr: parameters === null || parameters === void 0 ? void 0 : parameters.smSupplierNr,
|
|
16205
16632
|
catalogMask: internal === null || internal === void 0 ? void 0 : internal.catalogMask,
|
|
16206
16633
|
no3DConnection: (_internal$no3DConnect = internal === null || internal === void 0 ? void 0 : internal.no3DConnection) !== null && _internal$no3DConnect !== void 0 ? _internal$no3DConnect : (parameters === null || parameters === void 0 ? void 0 : parameters.no3DConnection) == 'true',
|
|
16634
|
+
suppressErrorModals: internal === null || internal === void 0 ? void 0 : internal.suppressErrorModals,
|
|
16207
16635
|
catalogCodex: parameters !== null && parameters !== void 0 && parameters.catalogCodex ? parameters.catalogCodex.toString() : undefined,
|
|
16208
16636
|
catalogGuid: parameters === null || parameters === void 0 ? void 0 : parameters.catalogGuid,
|
|
16209
16637
|
isIDMData: parameters === null || parameters === void 0 ? void 0 : parameters.isIDMData,
|
|
@@ -16211,6 +16639,10 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16211
16639
|
serieId: parameters === null || parameters === void 0 ? void 0 : parameters.serieId,
|
|
16212
16640
|
articleCodexes: parameters !== null && parameters !== void 0 && parameters.articleCodexes ? parameters.articleCodexes.split(';') : undefined,
|
|
16213
16641
|
variantValues: parameters !== null && parameters !== void 0 && parameters.variantValues ? JSON.parse(parameters.variantValues) : undefined,
|
|
16642
|
+
// `internal` is the typed home for structured values (like basketData / supplierColors below);
|
|
16643
|
+
// `parameters` is declared string-only, so a URL still delivers it as JSON text. Same
|
|
16644
|
+
// internal-first-then-parameters shape as `accountSessionGuid` and `no3DConnection`.
|
|
16645
|
+
orderlineVariantValues: parseObjectParam((_internal$orderlineVa = internal === null || internal === void 0 ? void 0 : internal.orderlineVariantValues) !== null && _internal$orderlineVa !== void 0 ? _internal$orderlineVa : parameters === null || parameters === void 0 ? void 0 : parameters.orderlineVariantValues),
|
|
16214
16646
|
differentOptions: parameters !== null && parameters !== void 0 && parameters.differentOptions ? JSON.parse(parameters.differentOptions) : undefined,
|
|
16215
16647
|
eventKey: parameters === null || parameters === void 0 ? void 0 : parameters.eventKey,
|
|
16216
16648
|
resetArticle: parameters !== null && parameters !== void 0 && parameters.resetArticle ? Number(parameters === null || parameters === void 0 ? void 0 : parameters.resetArticle) : undefined,
|
|
@@ -16220,6 +16652,8 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16220
16652
|
productId: parameters === null || parameters === void 0 ? void 0 : parameters.productId,
|
|
16221
16653
|
customProductId: parameters === null || parameters === void 0 ? void 0 : parameters.customProductId,
|
|
16222
16654
|
initMode: (parameters === null || parameters === void 0 ? void 0 : parameters.initMode) || (parameters === null || parameters === void 0 ? void 0 : parameters.InitMode) || settings.initMode,
|
|
16655
|
+
// See `orderlineVariantValues` above: object through `internal`, JSON text through the URL.
|
|
16656
|
+
createImageConfig: parseObjectParam((_internal$createImage = internal === null || internal === void 0 ? void 0 : internal.createImageConfig) !== null && _internal$createImage !== void 0 ? _internal$createImage : parameters === null || parameters === void 0 ? void 0 : parameters.createImageConfig),
|
|
16223
16657
|
opt: (parameters === null || parameters === void 0 ? void 0 : parameters.opt) || (parameters === null || parameters === void 0 ? void 0 : parameters.OPT),
|
|
16224
16658
|
opv: (parameters === null || parameters === void 0 ? void 0 : parameters.opv) || (parameters === null || parameters === void 0 ? void 0 : parameters.OPV),
|
|
16225
16659
|
configStepKey: parameters === null || parameters === void 0 ? void 0 : parameters.configStepKey,
|
|
@@ -16233,11 +16667,11 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16233
16667
|
configuratorSessionId: internal === null || internal === void 0 ? void 0 : internal.configuratorSessionId,
|
|
16234
16668
|
settings: settings
|
|
16235
16669
|
};
|
|
16236
|
-
}, [internal === null || internal === void 0 ? void 0 : internal.accountSessionGuid, parameters === null || parameters === void 0 ? void 0 : parameters.accountSessionGuid, parameters === null || parameters === void 0 ? void 0 : parameters.setId, parameters === null || parameters === void 0 ? void 0 : parameters.accountId, parameters === null || parameters === void 0 ? void 0 : parameters.accountGuid, parameters === null || parameters === void 0 ? void 0 : parameters.catalogCodex, parameters === null || parameters === void 0 ? void 0 : parameters.catalogGuid, parameters === null || parameters === void 0 ? void 0 : parameters.articleCodexes, parameters === null || parameters === void 0 ? void 0 : parameters.variantValues, parameters === null || parameters === void 0 ? void 0 : parameters.differentOptions, parameters === null || parameters === void 0 ? void 0 : parameters.resetArticle, parameters === null || parameters === void 0 ? void 0 : parameters.smSupplierNr, parameters === null || parameters === void 0 ? void 0 : parameters.divaNr, parameters === null || parameters === void 0 ? void 0 : parameters.DivaNR, parameters === null || parameters === void 0 ? void 0 : parameters.divanr, parameters === null || parameters === void 0 ? void 0 : parameters.isIDMData, parameters === null || parameters === void 0 ? void 0 : parameters.packageId, parameters === null || parameters === void 0 ? void 0 : parameters.serieId, parameters === null || parameters === void 0 ? void 0 : parameters.productId, parameters === null || parameters === void 0 ? void 0 : parameters.customProductId, parameters === null || parameters === void 0 ? void 0 : parameters.initMode, parameters === null || parameters === void 0 ? void 0 : parameters.InitMode, parameters === null || parameters === void 0 ? void 0 : parameters.opt, parameters === null || parameters === void 0 ? void 0 : parameters.opv, parameters === null || parameters === void 0 ? void 0 : parameters.OPT, parameters === null || parameters === void 0 ? void 0 : parameters.configStepKey, parameters === null || parameters === void 0 ? void 0 : parameters.configuratorTitle, parameters === null || parameters === void 0 ? void 0 : parameters.ProductName, parameters === null || parameters === void 0 ? void 0 : parameters.productName, parameters === null || parameters === void 0 ? void 0 : parameters.assignNewDivaNr, parameters === null || parameters === void 0 ? void 0 : parameters.initEmptyPlanner, parameters === null || parameters === void 0 ? void 0 : parameters.addDivaNr, parameters === null || parameters === void 0 ? void 0 : parameters.initProductFolded, internal === null || internal === void 0 ? void 0 : internal.basketData, internal === null || internal === void 0 ? void 0 : internal.forceReload, internal === null || internal === void 0 ? void 0 : internal.keepCache, internal === null || internal === void 0 ? void 0 : internal.configuratorSessionId, eventSubscriber, eventUnsubscriber, settings, organizationId]);
|
|
16670
|
+
}, [internal === null || internal === void 0 ? void 0 : internal.accountSessionGuid, parameters === null || parameters === void 0 ? void 0 : parameters.accountSessionGuid, parameters === null || parameters === void 0 ? void 0 : parameters.setId, parameters === null || parameters === void 0 ? void 0 : parameters.accountId, parameters === null || parameters === void 0 ? void 0 : parameters.accountGuid, parameters === null || parameters === void 0 ? void 0 : parameters.catalogCodex, parameters === null || parameters === void 0 ? void 0 : parameters.catalogGuid, parameters === null || parameters === void 0 ? void 0 : parameters.articleCodexes, parameters === null || parameters === void 0 ? void 0 : parameters.variantValues, parameters === null || parameters === void 0 ? void 0 : parameters.orderlineVariantValues, parameters === null || parameters === void 0 ? void 0 : parameters.differentOptions, parameters === null || parameters === void 0 ? void 0 : parameters.resetArticle, parameters === null || parameters === void 0 ? void 0 : parameters.smSupplierNr, parameters === null || parameters === void 0 ? void 0 : parameters.divaNr, parameters === null || parameters === void 0 ? void 0 : parameters.DivaNR, parameters === null || parameters === void 0 ? void 0 : parameters.divanr, parameters === null || parameters === void 0 ? void 0 : parameters.isIDMData, parameters === null || parameters === void 0 ? void 0 : parameters.packageId, parameters === null || parameters === void 0 ? void 0 : parameters.serieId, parameters === null || parameters === void 0 ? void 0 : parameters.productId, parameters === null || parameters === void 0 ? void 0 : parameters.customProductId, parameters === null || parameters === void 0 ? void 0 : parameters.initMode, parameters === null || parameters === void 0 ? void 0 : parameters.InitMode, parameters === null || parameters === void 0 ? void 0 : parameters.createImageConfig, parameters === null || parameters === void 0 ? void 0 : parameters.opt, parameters === null || parameters === void 0 ? void 0 : parameters.opv, parameters === null || parameters === void 0 ? void 0 : parameters.OPT, parameters === null || parameters === void 0 ? void 0 : parameters.configStepKey, parameters === null || parameters === void 0 ? void 0 : parameters.configuratorTitle, parameters === null || parameters === void 0 ? void 0 : parameters.ProductName, parameters === null || parameters === void 0 ? void 0 : parameters.productName, parameters === null || parameters === void 0 ? void 0 : parameters.assignNewDivaNr, parameters === null || parameters === void 0 ? void 0 : parameters.initEmptyPlanner, parameters === null || parameters === void 0 ? void 0 : parameters.addDivaNr, parameters === null || parameters === void 0 ? void 0 : parameters.initProductFolded, internal === null || internal === void 0 ? void 0 : internal.basketData, internal === null || internal === void 0 ? void 0 : internal.forceReload, internal === null || internal === void 0 ? void 0 : internal.keepCache, internal === null || internal === void 0 ? void 0 : internal.configuratorSessionId, eventSubscriber, eventUnsubscriber, settings, organizationId]);
|
|
16237
16671
|
}
|
|
16238
16672
|
var componentConfig = {
|
|
16239
16673
|
name: 'DIVA_WEBPLANNER',
|
|
16240
16674
|
renderFunction: WebPlannerReact
|
|
16241
16675
|
};
|
|
16242
16676
|
|
|
16243
|
-
export { AnalyzerComponentsProvider as A, Checkout as C, GenericToolTip as G, Icon as I, MissingAnalyzerComponent as M, PricePreview as P, SettingsHeader as S, Toggle as T, ViewHandlerProvider as V, WebPlannerReact as W, _onClickCheckout as _, useAnalyzerComponents as a, PriceCounter$1 as b, usePlannerUIHandler as c, expanded as d, evalVisible as e, PlannerMsgItem$1 as f,
|
|
16677
|
+
export { AnalyzerComponentsProvider as A, Checkout as C, GenericToolTip as G, Icon as I, MissingAnalyzerComponent as M, PricePreview as P, SettingsHeader as S, Toggle as T, ViewHandlerProvider as V, WebPlannerReact as W, _onClickCheckout as _, useAnalyzerComponents as a, PriceCounter$1 as b, usePlannerUIHandler as c, expanded as d, evalVisible as e, PlannerMsgItem$1 as f, useRTVAnalyzerComponentsFromPlanner as g, registerRtvNextViewer as h, b as i, componentConfig as j, mobile$1 as m, rtvNextParamActive as r, styleInject as s, useViewHandler as u, wcPlannerMsgContainerParent as w };
|