@crystaldesign/diva-web-planner-react 26.11.0-beta.2 → 26.11.0-beta.20
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-be22bf89.js → Planner2DGrid-90b0b2a9.js} +196 -49
- package/build/esm/{Planner3DImage-8f21be56.js → Planner3DImage-28657013.js} +1 -1
- package/build/esm/{UnlockCard-3fb76e70.js → UnlockCard-3f4735b2.js} +1 -1
- package/build/esm/{index-8a26a858.js → index-00d11115.js} +141 -76
- package/build/esm/{index-180189d9.js → index-02d964f2.js} +70 -70
- package/build/esm/{index-a366d35e.js → index-04664096.js} +1 -1
- package/build/esm/{index-da2a2a8b.js → index-05ec5456.js} +18 -18
- package/build/esm/{index-36c018f3.js → index-064a58a8.js} +99 -9
- package/build/esm/{index-892ffe4d.js → index-07de7393.js} +1 -1
- package/build/esm/{index-3c925a9c.js → index-07e3a28c.js} +2 -2
- package/build/esm/{index-87345a21.js → index-0876ef9d.js} +2 -2
- package/build/esm/{index-a0e22978.js → index-0a2fbce8.js} +1 -1
- package/build/esm/{index-0908ac1e.js → index-0a53e583.js} +3 -3
- package/build/esm/{index-f3bca3be.js → index-0c8051ed.js} +1 -1
- package/build/esm/{index-415fbe83.js → index-0da8e4f5.js} +1 -1
- package/build/esm/{index-bdf5827b.js → index-0e3bf26d.js} +5 -5
- package/build/esm/{index-031864a2.js → index-0ec61a56.js} +1 -1
- package/build/esm/{index-2b748074.js → index-106a5856.js} +1 -1
- package/build/esm/{index-c46b6740.js → index-1218ff75.js} +1 -1
- package/build/esm/{index-afe33b8f.js → index-1228f6d8.js} +1 -1
- package/build/esm/{index-e46ca62c.js → index-123ce416.js} +4 -4
- package/build/esm/{index-5c1c1b31.js → index-13908246.js} +2 -2
- package/build/esm/{index-e484cb4b.js → index-13909b62.js} +3 -3
- package/build/esm/{index-102ef56e.js → index-13eba10c.js} +1 -1
- package/build/esm/{index-26dda831.js → index-1744c06c.js} +65 -65
- package/build/esm/{index-5ec31db5.js → index-1835dddc.js} +2 -2
- package/build/esm/{index-b85db3a5.js → index-18556074.js} +2 -2
- package/build/esm/{index-faafc31d.js → index-1d5baa3b.js} +2 -2
- package/build/esm/{index-84657f6d.js → index-1eda72f9.js} +1 -1
- package/build/esm/{index-7e78bbac.js → index-20014561.js} +76 -76
- package/build/esm/{index-e8eb5116.js → index-20a02afb.js} +2 -2
- package/build/esm/{index-37df8f9a.js → index-20bc3775.js} +1 -1
- package/build/esm/{index-be4baeb9.js → index-211856e0.js} +2 -2
- package/build/esm/{index-048552f0.js → index-2198f950.js} +1 -1
- package/build/esm/{index-5665b09a.js → index-22129d0b.js} +1 -1
- package/build/esm/{index-bc8576ec.js → index-22389ed8.js} +1 -1
- package/build/esm/{index-1ff0dfac.js → index-223d941a.js} +17 -17
- package/build/esm/{index-a1680ef5.js → index-24e2c9c9.js} +2 -2
- package/build/esm/{index-1e8d1616.js → index-2504847e.js} +66 -66
- package/build/esm/{index-d6856cc5.js → index-271c9d9c.js} +2 -2
- package/build/esm/{index-83d6bb83.js → index-272415ce.js} +1 -1
- package/build/esm/{index-e0900a31.js → index-2a47f172.js} +1 -1
- package/build/esm/{index-b9ea263d.js → index-2b56d780.js} +1 -1
- package/build/esm/{index-b48334cf.js → index-2cf61d00.js} +10 -1
- package/build/esm/{index-4be1fee3.js → index-2df35005.js} +2 -2
- package/build/esm/{index-fdd2f2b6.js → index-2e4dfaff.js} +3 -3
- package/build/esm/{index-8b6d1b2c.js → index-33ce2722.js} +4 -4
- package/build/esm/{index-b6397dbb.js → index-33f96c00.js} +1 -1
- package/build/esm/{index-b9739a43.js → index-3567cd34.js} +85 -85
- package/build/esm/{index-efa06494.js → index-373b7273.js} +3 -3
- package/build/esm/{index-bf19aa67.js → index-38012daa.js} +1 -1
- package/build/esm/{index-4e4215ad.js → index-39458526.js} +1 -1
- package/build/esm/{index-82a28d6e.js → index-39484e30.js} +1 -1
- package/build/esm/{index-882e9781.js → index-3964358a.js} +1 -1
- package/build/esm/{index-17ba7b38.js → index-3a751e91.js} +5 -5
- package/build/esm/{index-337b35af.js → index-3cb7cf48.js} +2 -2
- package/build/esm/{index-73c75e94.js → index-3d163534.js} +4 -4
- package/build/esm/{index-bd8d0479.js → index-3d1b156f.js} +5 -5
- package/build/esm/{index-e6d39b9d.js → index-3f967ab7.js} +18 -18
- package/build/esm/{index-69650205.js → index-42f2a415.js} +5 -5
- package/build/esm/{index-33722dfd.js → index-433182bc.js} +1 -1
- package/build/esm/{index-5d29eff3.js → index-43998f39.js} +4 -4
- package/build/esm/{index-581409b8.js → index-44b596df.js} +2 -2
- package/build/esm/{index-6092fed5.js → index-49757a8f.js} +8 -8
- package/build/esm/{index-854179de.js → index-49fc16cb.js} +1 -1
- package/build/esm/{index-618fdc08.js → index-4cab5cbf.js} +39 -21
- package/build/esm/{index-5ad9fa64.js → index-4dc2e098.js} +1 -1
- package/build/esm/{index-ada3c152.js → index-4f872377.js} +1 -1
- package/build/esm/{index-a7de9a70.js → index-50a4df67.js} +3 -3
- package/build/esm/{index-8cef9ec1.js → index-50d5f4c5.js} +68 -68
- package/build/esm/{index-606a110b.js → index-549b36e2.js} +1 -1
- package/build/esm/{index-0e80abeb.js → index-57c7e4b5.js} +1 -1
- package/build/esm/{index-9663c0f2.js → index-5831525e.js} +1 -1
- package/build/esm/{index-b692e521.js → index-5993cf4b.js} +1 -1
- package/build/esm/{index-895e928a.js → index-5ba34b19.js} +1 -1
- package/build/esm/{index-5abf6852.js → index-5c0d278a.js} +15 -15
- package/build/esm/{index-9eccf0e1.js → index-5c2d2107.js} +71 -71
- package/build/esm/{index-45ae8ca7.js → index-5ce2f921.js} +1 -1
- package/build/esm/{index-52eb8599.js → index-5da75e9a.js} +1 -1
- package/build/esm/{index-15d52408.js → index-5f5e67be.js} +1 -1
- package/build/esm/{index-661042a0.js → index-5f9f2b96.js} +2 -2
- package/build/esm/{index-ac5a2704.js → index-60ad7ed4.js} +3 -3
- package/build/esm/{index-8d2f95c8.js → index-62f57622.js} +1 -1
- package/build/esm/{index-5dce3fc8.js → index-6485628e.js} +1 -1
- package/build/esm/{index-42b71e75.js → index-65360616.js} +101 -101
- package/build/esm/{index-fbd3287b.js → index-65bed696.js} +5 -5
- package/build/esm/{index-a01842a6.js → index-65f10148.js} +1 -1
- package/build/esm/{index-a01e0683.js → index-66a6a18d.js} +1 -1
- package/build/esm/{index-aecb9e6f.js → index-66de6a0b.js} +6 -6
- package/build/esm/{index-0c7b8562.js → index-67ec2f5b.js} +1 -1
- package/build/esm/{index-149ee0c3.js → index-68993d98.js} +1 -1
- package/build/esm/{index-e660d80c.js → index-6bef7985.js} +1 -1
- package/build/esm/{index-e424ab5b.js → index-705b3b54.js} +2 -2
- package/build/esm/{index-899b8922.js → index-72ee1983.js} +1067 -663
- package/build/esm/{index-315a6526.js → index-73522d77.js} +7 -3
- package/build/esm/{index-08994c71.js → index-73f8600d.js} +1 -1
- package/build/esm/{index-10cd9e60.js → index-73fa2cb7.js} +7 -7
- package/build/esm/{index-3e454946.js → index-73ff216a.js} +68 -68
- package/build/esm/{index-7176a968.js → index-747a1a0d.js} +3 -3
- package/build/esm/{index-1d2d7fb6.js → index-76047a52.js} +1 -1
- package/build/esm/{index-624149c8.js → index-77c705e2.js} +2 -2
- package/build/esm/{index-05e1fe0a.js → index-7821be68.js} +5 -5
- package/build/esm/{index-369fda13.js → index-78c7d4ae.js} +2 -2
- package/build/esm/{index-d8f30b62.js → index-7ed4c41e.js} +1 -1
- package/build/esm/{index-9a249b74.js → index-7f58c94e.js} +1 -1
- package/build/esm/{index-8839bff1.js → index-7f6f1b6b.js} +6 -6
- package/build/esm/{index-23cd98ff.js → index-8063c96d.js} +4 -4
- package/build/esm/{index-cdb372f1.js → index-81925f76.js} +2 -2
- package/build/esm/{index-dc3778bc.js → index-8206408d.js} +1 -1
- package/build/esm/{index-0b387613.js → index-830447ef.js} +90 -90
- package/build/esm/{index-e7790e24.js → index-84b299d6.js} +5 -5
- package/build/esm/{index-17bcc39b.js → index-8573dbf4.js} +14 -3
- package/build/esm/{index-7ae6b393.js → index-859f0bb8.js} +67 -67
- package/build/esm/{index-af4148a4.js → index-85c5d4eb.js} +2 -2
- package/build/esm/{index-57f6aec3.js → index-85e0b5aa.js} +1 -1
- package/build/esm/{index-347c80d9.js → index-8621ba87.js} +1 -1
- package/build/esm/{index-6c6b3de5.js → index-88842a4d.js} +13 -13
- package/build/esm/{index-2e12b9e1.js → index-8888ff80.js} +1 -1
- package/build/esm/{index-0db57583.js → index-88ed1db7.js} +1 -1
- package/build/esm/{index-0ec473cc.js → index-89a5bec9.js} +1 -1
- package/build/esm/{index-0895f2f3.js → index-8a59028d.js} +3 -3
- package/build/esm/{index-e56bf428.js → index-8c957291.js} +1 -1
- package/build/esm/{index-93284a2c.js → index-8c986037.js} +3 -3
- package/build/esm/{index-fdf86798.js → index-8da362e7.js} +91 -91
- package/build/esm/{index-3ee68248.js → index-8e2a4f06.js} +2 -2
- package/build/esm/{index-34149b78.js → index-8ee4175f.js} +5 -5
- package/build/esm/{index-fcb72e7d.js → index-93e88012.js} +89 -87
- package/build/esm/{index-46e9d390.js → index-95d16f7e.js} +2 -2
- package/build/esm/{index-c1bf3a44.js → index-968e5dc1.js} +1 -1
- package/build/esm/{index-9e661597.js → index-97dd4545.js} +1 -1
- package/build/esm/{index-84f83c67.js → index-98a74c16.js} +1 -1
- package/build/esm/{index-8ce6adb9.js → index-9a25ac85.js} +2 -2
- package/build/esm/{index-73463d9f.js → index-9a7d0111.js} +1 -1
- package/build/esm/{index-f1c2ec32.js → index-9aa458c5.js} +1 -1
- package/build/esm/{index-1487d493.js → index-9ad37044.js} +2 -2
- package/build/esm/{index-0029288b.js → index-9cde92a8.js} +1 -1
- package/build/esm/{index-e2678bc3.js → index-9d2e27c1.js} +1 -1
- package/build/esm/{index-2ad23b0d.js → index-9e9f53c2.js} +1 -1
- package/build/esm/{index-f8660916.js → index-9eaa57b1.js} +1 -1
- package/build/esm/{index-7488e2e2.js → index-9f4291ed.js} +84 -84
- package/build/esm/{index-56d95f56.js → index-9f6f568f.js} +21 -21
- package/build/esm/{index-7c7b6fc7.js → index-a037c82b.js} +1 -1
- package/build/esm/{index-1e23c982.js → index-a41aa14b.js} +1 -1
- package/build/esm/{index-74d46a1a.js → index-a4b879c2.js} +1 -1
- package/build/esm/{index-ff3db23f.js → index-a5b09047.js} +5 -5
- package/build/esm/{index-b6aaff5c.js → index-a719f387.js} +3 -3
- package/build/esm/{index-70bf7fb6.js → index-a7496ea1.js} +2 -2
- package/build/esm/{index-c8de3993.js → index-a85ea9d9.js} +1 -1
- package/build/esm/{index-f45ab225.js → index-a91e9654.js} +1 -1
- package/build/esm/{index-24df5db1.js → index-a937a019.js} +3 -3
- package/build/esm/{index-8d52e836.js → index-a9ad56ce.js} +3 -3
- package/build/esm/{index-f3c7eafa.js → index-aae35537.js} +1 -1
- package/build/esm/{index-03a0fdc9.js → index-ab484a17.js} +1 -1
- package/build/esm/{index-bb42994c.js → index-ab4b4cb8.js} +89 -89
- package/build/esm/{index-94eb5a0b.js → index-ab67e0fd.js} +19 -19
- package/build/esm/{index-869d65ec.js → index-ad036a50.js} +8 -8
- package/build/esm/{index-99c94447.js → index-ad13b6fc.js} +3 -3
- package/build/esm/{index-765505ab.js → index-ad6e733c.js} +3 -3
- package/build/esm/{index-47939b53.js → index-ad92fd09.js} +1 -1
- package/build/esm/{index-c87402ba.js → index-afd04cc2.js} +2 -2
- package/build/esm/{index-4daa80c5.js → index-b07c2a2c.js} +1 -1
- package/build/esm/{index-1ddf1648.js → index-b1054a03.js} +1 -1
- package/build/esm/{index-9e2ca930.js → index-b12de26e.js} +18 -18
- package/build/esm/{index-71c05fb2.js → index-b24b2138.js} +1 -1
- package/build/esm/{index-345aba6b.js → index-b2e0a2a1.js} +65 -65
- package/build/esm/{index-07075961.js → index-bb347706.js} +1 -1
- package/build/esm/{index-a52f90e6.js → index-bd23079a.js} +2 -2
- package/build/esm/{index-181ff2a0.js → index-beb68489.js} +2 -2
- package/build/esm/{index-c5945db2.js → index-becc5b76.js} +2 -4
- package/build/esm/{index-555b281e.js → index-c05657b8.js} +3 -3
- package/build/esm/{index-c45f18fe.js → index-c185167d.js} +1 -1
- package/build/esm/{index-45b6610c.js → index-c18aab5c.js} +69 -69
- package/build/esm/{index-16fe405b.js → index-c3198b88.js} +3 -3
- package/build/esm/{index-eb30bc4d.js → index-c6392fa9.js} +1 -1
- package/build/esm/{index-4a1aeedd.js → index-c99d015b.js} +20 -20
- package/build/esm/{index-69436c25.js → index-c99ee01a.js} +3 -3
- package/build/esm/{index-ef5f8f90.js → index-cb5f8635.js} +1 -1
- package/build/esm/{index-f930afa0.js → index-cc14ced5.js} +6 -6
- package/build/esm/{index-61b4ebd3.js → index-d06a14dc.js} +1 -1
- package/build/esm/{index-43d382c8.js → index-d2a71f57.js} +3 -3
- package/build/esm/{index-6fe3ff14.js → index-d5081d20.js} +1 -1
- package/build/esm/{index-01e167be.js → index-d5b82d9f.js} +1 -1
- package/build/esm/{index-5b795c7b.js → index-d63d7688.js} +1 -1
- package/build/esm/{index-a784e48f.js → index-d698061d.js} +1 -1
- package/build/esm/{index-74d5ee8b.js → index-d829c70f.js} +1 -1
- package/build/esm/{index-1d481484.js → index-d83af9ce.js} +90 -90
- package/build/esm/{index-9562a9d8.js → index-d9100a6f.js} +1 -1
- package/build/esm/{index-2a46675e.js → index-d9774535.js} +66 -66
- package/build/esm/{index-5ec0c2dc.js → index-dcd805e9.js} +1 -1
- package/build/esm/{index-8f8d141b.js → index-ddbf8330.js} +3 -3
- package/build/esm/{index-e260a81a.js → index-ddc68a29.js} +2 -2
- package/build/esm/{index-6b55f02e.js → index-df454423.js} +1 -1
- package/build/esm/{index-5db7e072.js → index-df7347d9.js} +5 -5
- package/build/esm/{index-e5e0e394.js → index-e27608a7.js} +5 -5
- package/build/esm/{index-c7d3af7e.js → index-e497d62f.js} +73 -73
- package/build/esm/{index-34a1419b.js → index-e5759f7d.js} +1 -1
- package/build/esm/{index-959f5aa0.js → index-e5e1e1e1.js} +22 -22
- package/build/esm/{index-1010faf1.js → index-e5f412ac.js} +3 -3
- package/build/esm/{index-1f095fe3.js → index-e767e0d1.js} +1 -1
- package/build/esm/{index-40ca5eeb.js → index-e8a4059f.js} +1 -1
- package/build/esm/{index-0e05b6b9.js → index-e8a45d13.js} +1 -1
- package/build/esm/{index-938c8c26.js → index-e971f57c.js} +2 -2
- package/build/esm/{index-4d855034.js → index-e9898803.js} +6 -4
- package/build/esm/{index-89fd7133.js → index-ea08c6de.js} +1 -1
- package/build/esm/{index-dca10eb4.js → index-ed85825f.js} +1 -1
- package/build/esm/{index-06656766.js → index-eddc2d8c.js} +1 -1
- package/build/esm/{index-cfc0389d.js → index-eef9c61f.js} +70 -70
- package/build/esm/{index-bc988fdf.js → index-ef1abce5.js} +1 -1
- package/build/esm/{index-fedccb21.js → index-ef359752.js} +100 -100
- package/build/esm/{index-5ad09ef7.js → index-ef505e6e.js} +1 -1
- package/build/esm/{index-00e54c23.js → index-efd1e97a.js} +1 -1
- package/build/esm/{index-8b0a3174.js → index-f17b5e41.js} +1 -1
- package/build/esm/{index-b011252f.js → index-f32bfafc.js} +7 -7
- package/build/esm/{index-85269def.js → index-f691c6e8.js} +8 -8
- package/build/esm/{index-5bd398a7.js → index-f70555bd.js} +1 -1
- package/build/esm/{index-ead3c18e.js → index-f7feac8d.js} +2 -2
- package/build/esm/{index-985d0ac1.js → index-f9162546.js} +1 -1
- package/build/esm/{index-d4be771b.js → index-fa8ac48e.js} +1 -1
- package/build/esm/{index-ff020436.js → index-fca70154.js} +1 -1
- package/build/esm/{index-eee225cf.js → index-fd3c7294.js} +2 -2
- package/build/esm/index-fd418d94.js +959 -0
- package/build/esm/{index-f74add7e.js → index-fdc1cd3c.js} +5 -5
- package/build/esm/{index-08d97746.js → index-feb5a4a4.js} +25 -25
- package/build/esm/index.js +1 -1
- package/build/esm/{index.module-efce36dc.js → index.module-07458b83.js} +1 -1
- package/build/esm/{index.module-76c17bd6.js → index.module-27f96c80.js} +1 -1
- package/build/esm/{index.module-41cf846f.js → index.module-4bbdd455.js} +1 -1
- package/build/esm/{index.module-ce9cbd44.js → index.module-5128abcd.js} +1 -1
- package/build/esm/{index.module-15c22604.js → index.module-86ecbbdf.js} +1 -1
- package/build/esm/{index.module-d13df9cf.js → index.module-88b6990a.js} +1 -1
- package/build/esm/{index.module-25cdca01.js → index.module-c9d42cc7.js} +1 -1
- package/build/esm/{index.module-5bcecdc6.js → index.module-cf367203.js} +1 -1
- package/build/esm/{useCustomDimensions-f2bb4edd.js → useCustomDimensions-79359314.js} +1 -1
- package/build/esm/{ussIsSticky-6dac519b.js → ussIsSticky-016ed6ab.js} +1 -1
- package/build/types/web-planner-react/src/analyzerComponents.d.ts +5 -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 +11 -1
- package/build/types/web-planner-react/src/model/Planner/ViewPlannerHandler.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/Planner/Viewer/Interface/IViewPlanner2DGrid.d.ts +1 -1
- package/build/types/web-planner-react/src/model/Planner/Viewer/Interface/IViewPlanner2DGrid.d.ts.map +1 -1
- package/build/types/web-planner-react/src/model/Planner/Viewer/Planner2DGrid.d.ts +14 -1
- package/build/types/web-planner-react/src/model/Planner/Viewer/Planner2DGrid.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/tests/planner/articleGeometryFabricParity.test.d.ts +3 -0
- package/build/types/web-planner-react/src/tests/planner/articleGeometryFabricParity.test.d.ts.map +1 -0
- package/build/types/web-planner-react/src/tests/planner/legacy/legacyStretchEngine.d.ts +9 -0
- package/build/types/web-planner-react/src/tests/planner/legacy/legacyStretchEngine.d.ts.map +1 -0
- package/build/types/web-planner-react/src/tests/planner/minBorderFabricParity.test.d.ts +3 -0
- package/build/types/web-planner-react/src/tests/planner/minBorderFabricParity.test.d.ts.map +1 -0
- package/build/types/web-planner-react/src/tests/planner/stretchFabricParity.test.d.ts +3 -0
- package/build/types/web-planner-react/src/tests/planner/stretchFabricParity.test.d.ts.map +1 -0
- package/build/types/web-planner-react/src/utils/rtvNext.d.ts +9 -0
- package/build/types/web-planner-react/src/utils/rtvNext.d.ts.map +1 -0
- package/build/umd/1219.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/1219.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/1316.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1492.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/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/8445.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8616.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8701.diva-web-planner-react.umd.min.js +1 -1
- 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/9446.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 -9
- package/build/umd/8332.diva-web-planner-react.umd.min.js +0 -2
- package/build/umd/8332.diva-web-planner-react.umd.min.js.LICENSE.txt +0 -1
- 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,12 +5853,16 @@ 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;
|
|
5775
5861
|
_classCallCheck(this, ViewPlannerHandler);
|
|
5776
5862
|
_defineProperty(this, "planner3DImageHandler", void 0);
|
|
5777
5863
|
_defineProperty(this, "planner2DGridHandler", void 0);
|
|
5864
|
+
/** In-flight renders that switched the 2D grid on just to capture it. */
|
|
5865
|
+
_defineProperty(this, "temporary2DGridRenders", 0);
|
|
5778
5866
|
_defineProperty(this, "plannerUIHandler", void 0);
|
|
5779
5867
|
_defineProperty(this, "curPlannerMode", void 0);
|
|
5780
5868
|
_defineProperty(this, "initPlannerMode", void 0);
|
|
@@ -5847,6 +5935,16 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5847
5935
|
_defineProperty(this, "onElementDeleted", function (setId, elementId) {
|
|
5848
5936
|
_this.deletePlannerElement(setId, elementId);
|
|
5849
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
|
+
});
|
|
5850
5948
|
/**
|
|
5851
5949
|
* This function is called when the user selects manually a new element in the planner.
|
|
5852
5950
|
* The UI is updated and the configurator is informed
|
|
@@ -5894,8 +5992,14 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5894
5992
|
//delete the selected docking point if it is not the new selected element
|
|
5895
5993
|
if (_this.selectedDockingPoint && _this.selectedDockingPoint.ElementId != elementId) _this.selectedDockingPoint = undefined;
|
|
5896
5994
|
}
|
|
5897
|
-
if (!_this.setAllElementsSelectable && !_this.selectableElementsDict.has(setId)) return;
|
|
5898
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;
|
|
5899
6003
|
_this.updateUI();
|
|
5900
6004
|
_this.informViewElemSelectionChanged(_this.selectedElementsDict.get(setId), _this.selectedDockingPoint);
|
|
5901
6005
|
_this.updateExternalPlannerState();
|
|
@@ -5912,7 +6016,7 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5912
6016
|
* This function should be called if no element is selected
|
|
5913
6017
|
*/
|
|
5914
6018
|
_defineProperty(this, "onClearElementSelection", function () {
|
|
5915
|
-
if (
|
|
6019
|
+
if (_this.isPlannerSelectionContext && _this.selectedElementsDict.size > 0) {
|
|
5916
6020
|
//If in planner mode clear Element Selection
|
|
5917
6021
|
_this.selectedElementsDict.clear();
|
|
5918
6022
|
_this.setAllElementsSelectable = true;
|
|
@@ -5920,6 +6024,8 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
5920
6024
|
_this.updateUI();
|
|
5921
6025
|
_this.informViewElemSelectionChanged([]);
|
|
5922
6026
|
_this.updateExternalPlannerState();
|
|
6027
|
+
_this.productState.setRtvFocusElementId(null);
|
|
6028
|
+
_this.productState.setRtvSelectedElementId(null);
|
|
5923
6029
|
}
|
|
5924
6030
|
});
|
|
5925
6031
|
/**
|
|
@@ -6143,13 +6249,38 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6143
6249
|
/**
|
|
6144
6250
|
* This function is called when the view should update the 2D View
|
|
6145
6251
|
*/
|
|
6146
|
-
_defineProperty(this, "updatePlanner2DGrid", function (
|
|
6147
|
-
var
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6252
|
+
_defineProperty(this, "updatePlanner2DGrid", /*#__PURE__*/function () {
|
|
6253
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(boundingBox) {
|
|
6254
|
+
var showsGridTemporarily, _this$planner2DGridHa5;
|
|
6255
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
6256
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
6257
|
+
case 0:
|
|
6258
|
+
// Evaluated once: the view mode can change while the render awaits, and re-reading it would leave the temporary grid on or hide a foreign one.
|
|
6259
|
+
showsGridTemporarily = !['2DGrid', 'RTViewer'].includes(_this.getCurPlannerViewMode());
|
|
6260
|
+
if (showsGridTemporarily) {
|
|
6261
|
+
_this.temporary2DGridRenders++;
|
|
6262
|
+
_this.productState.doShow2DGridInViewModel(true);
|
|
6263
|
+
}
|
|
6264
|
+
_context2.prev = 2;
|
|
6265
|
+
_context2.next = 5;
|
|
6266
|
+
return (_this$planner2DGridHa5 = _this.planner2DGridHandler) === null || _this$planner2DGridHa5 === void 0 ? void 0 : _this$planner2DGridHa5.updatePlannerView(_this.PlannerUIHandler, _this.allPlannedElementsDict, boundingBox);
|
|
6267
|
+
case 5:
|
|
6268
|
+
_this.updateUI();
|
|
6269
|
+
case 6:
|
|
6270
|
+
_context2.prev = 6;
|
|
6271
|
+
// Only the last concurrent render may hide the grid; an earlier one would unmount the canvas mid-draw and the capture comes back blank.
|
|
6272
|
+
if (showsGridTemporarily && --_this.temporary2DGridRenders === 0) _this.productState.doShow2DGridInViewModel(false);
|
|
6273
|
+
return _context2.finish(6);
|
|
6274
|
+
case 9:
|
|
6275
|
+
case "end":
|
|
6276
|
+
return _context2.stop();
|
|
6277
|
+
}
|
|
6278
|
+
}, _callee2, null, [[2,, 6, 9]]);
|
|
6279
|
+
}));
|
|
6280
|
+
return function (_x4) {
|
|
6281
|
+
return _ref2.apply(this, arguments);
|
|
6282
|
+
};
|
|
6283
|
+
}());
|
|
6153
6284
|
_defineProperty(this, "updatePlannerElements", function (elements, visualizedNotPlannedElements, setId, elementId, notEffects) {
|
|
6154
6285
|
_this.allPlannedElementsDict = elements;
|
|
6155
6286
|
_this.allVisualizedNotPlannedElements = visualizedNotPlannedElements;
|
|
@@ -6236,6 +6367,11 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6236
6367
|
});
|
|
6237
6368
|
_this.updateUI();
|
|
6238
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);
|
|
6239
6375
|
});
|
|
6240
6376
|
/**
|
|
6241
6377
|
* This function is called from the logic when the logic decides a new element has to be selected.
|
|
@@ -6284,6 +6420,7 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6284
6420
|
// }
|
|
6285
6421
|
|
|
6286
6422
|
if (somethingChanged) {
|
|
6423
|
+
var _allSelectedElements$, _allSelectedElements$2;
|
|
6287
6424
|
_this.selectedElementsDict.clear();
|
|
6288
6425
|
var allSelectedElements = [];
|
|
6289
6426
|
for (var i = 0; i < selectedElementSetIds.length; i++) {
|
|
@@ -6314,8 +6451,10 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6314
6451
|
_this.selectedDockingPoint = undefined;
|
|
6315
6452
|
_this.updateUI();
|
|
6316
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);
|
|
6317
6455
|
} else if (selectedElementIds.length == 0 && _this.allPlannedElementsDict.size == 0) {
|
|
6318
6456
|
_this.informViewElemSelectionChanged([]);
|
|
6457
|
+
_this.productState.setRtvSelectedElementId(null);
|
|
6319
6458
|
}
|
|
6320
6459
|
});
|
|
6321
6460
|
/**
|
|
@@ -6377,11 +6516,11 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6377
6516
|
}, {
|
|
6378
6517
|
key: "initPlannerView",
|
|
6379
6518
|
value: (function () {
|
|
6380
|
-
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
6519
|
+
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(viewConfig, productState, aiState, settingsState, updatePlannerTrans, updatePlannerView, plannerPaletteViewInfo) {
|
|
6381
6520
|
var _viewConfig$plannerCo, _productState$planner, _this$planner3DImageH4, _this$planner2DGridHa6;
|
|
6382
6521
|
var plannerMode, _yield$import, Planner3DImage, _yield$import2, Planner2DGrid;
|
|
6383
|
-
return _regeneratorRuntime.wrap(function
|
|
6384
|
-
while (1) switch (
|
|
6522
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
6523
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
6385
6524
|
case 0:
|
|
6386
6525
|
this.planner_view_config = (_viewConfig$plannerCo = viewConfig.plannerConfig) !== null && _viewConfig$plannerCo !== void 0 ? _viewConfig$plannerCo : {
|
|
6387
6526
|
posTrashRotIcon: 'TOP_RIGHT_BACK',
|
|
@@ -6397,15 +6536,15 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6397
6536
|
this.curPlannerMode = plannerMode;
|
|
6398
6537
|
this.initPlannerMode = plannerMode;
|
|
6399
6538
|
this.updatePlannerView = updatePlannerView;
|
|
6400
|
-
|
|
6401
|
-
return import('./Planner3DImage-
|
|
6539
|
+
_context3.next = 9;
|
|
6540
|
+
return import('./Planner3DImage-28657013.js');
|
|
6402
6541
|
case 9:
|
|
6403
|
-
_yield$import =
|
|
6542
|
+
_yield$import = _context3.sent;
|
|
6404
6543
|
Planner3DImage = _yield$import["default"];
|
|
6405
|
-
|
|
6406
|
-
return import('./Planner2DGrid-
|
|
6544
|
+
_context3.next = 13;
|
|
6545
|
+
return import('./Planner2DGrid-90b0b2a9.js');
|
|
6407
6546
|
case 13:
|
|
6408
|
-
_yield$import2 =
|
|
6547
|
+
_yield$import2 = _context3.sent;
|
|
6409
6548
|
Planner2DGrid = _yield$import2["default"];
|
|
6410
6549
|
this.planner3DImageHandler = new Planner3DImage(this.getConfiguratorState, this.productState.setDiva3dImgSrc.bind(this.productState), this.productState.onDoShowNav3DChange.bind(this.productState), plannerPaletteViewInfo, settingsState);
|
|
6411
6550
|
this.planner2DGridHandler = new Planner2DGrid(this.getConfiguratorState, this.getPlannerElementByElemId, this.getPlannerViewConfig, this.forceViewToEnterPlannerMode, plannerPaletteViewInfo, settingsState);
|
|
@@ -6414,22 +6553,26 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6414
6553
|
(_this$planner2DGridHa6 = this.planner2DGridHandler) === null || _this$planner2DGridHa6 === void 0 || _this$planner2DGridHa6.initialize(updatePlannerTrans);
|
|
6415
6554
|
case 20:
|
|
6416
6555
|
case "end":
|
|
6417
|
-
return
|
|
6556
|
+
return _context3.stop();
|
|
6418
6557
|
}
|
|
6419
|
-
},
|
|
6558
|
+
}, _callee3, this);
|
|
6420
6559
|
}));
|
|
6421
|
-
function initPlannerView(
|
|
6560
|
+
function initPlannerView(_x5, _x6, _x7, _x8, _x9, _x10, _x11) {
|
|
6422
6561
|
return _initPlannerView.apply(this, arguments);
|
|
6423
6562
|
}
|
|
6424
6563
|
return initPlannerView;
|
|
6425
6564
|
}())
|
|
6426
6565
|
}, {
|
|
6427
|
-
key: "
|
|
6428
|
-
|
|
6566
|
+
key: "plannedElementsDict",
|
|
6567
|
+
get: function get() {
|
|
6568
|
+
return this.allPlannedElementsDict;
|
|
6569
|
+
}
|
|
6429
6570
|
/**
|
|
6430
6571
|
* This function calls the update UI function in the currently displaying planner mode.
|
|
6431
6572
|
*/
|
|
6432
|
-
|
|
6573
|
+
}, {
|
|
6574
|
+
key: "updateUI",
|
|
6575
|
+
value: function updateUI() {
|
|
6433
6576
|
var _this$planner3DImageH5, _this$planner2DGridHa7;
|
|
6434
6577
|
//DAS MÜSSEN DIE KOMPONENTEN ENTSCHEIDEN this.plannerUIHandler.clearUI();
|
|
6435
6578
|
|
|
@@ -6477,6 +6620,13 @@ var ViewPlannerHandler = /*#__PURE__*/function () {
|
|
|
6477
6620
|
}
|
|
6478
6621
|
this.curPlannerMode = mode;
|
|
6479
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
|
+
}
|
|
6480
6630
|
}, {
|
|
6481
6631
|
key: "PlannerUIHandler",
|
|
6482
6632
|
get: function get() {
|
|
@@ -7329,6 +7479,15 @@ var UIState = /*#__PURE__*/function () {
|
|
|
7329
7479
|
}]);
|
|
7330
7480
|
}();
|
|
7331
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
|
+
|
|
7332
7491
|
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; }
|
|
7333
7492
|
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; }
|
|
7334
7493
|
var LOG$d = getLogger('Planner', 'Product');
|
|
@@ -7442,6 +7601,8 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7442
7601
|
_defineProperty(this, "GridImageURL", '');
|
|
7443
7602
|
//RTV Real Time Viewer
|
|
7444
7603
|
_defineProperty(this, "allowRTV", false);
|
|
7604
|
+
/** Catalog opted into the rtv-next viewer (`DIVA3D_USE_RTV_NEXT`) — see `ProductCenter`. */
|
|
7605
|
+
_defineProperty(this, "useRtvNext", false);
|
|
7445
7606
|
_defineProperty(this, "allowQRCodeAR", false);
|
|
7446
7607
|
_defineProperty(this, "doShowRTV", false);
|
|
7447
7608
|
_defineProperty(this, "allow3DComb", false);
|
|
@@ -7511,6 +7672,11 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7511
7672
|
if (!_this.allowRendering && !_this.allowRTV && !_this.allow3DComb && !_this.allowGrid) return;
|
|
7512
7673
|
type = _this.allowRendering ? '3D' : _this.allowRTV ? 'RTV' : _this.allow3DComb ? '3DCOMB' : '2D';
|
|
7513
7674
|
}
|
|
7675
|
+
|
|
7676
|
+
// With `?rtv-next` the rtv-next viewer takes the place of the rendered 3D image instead of
|
|
7677
|
+
// becoming a footer option of its own, so the 3D view drives the RTV state it renders on.
|
|
7678
|
+
// Alternate renderings stay on the image path — they are server renderings.
|
|
7679
|
+
if ((_this.useRtvNext || rtvNextParamActive) && type === '3D' && alternateRendering === undefined) type = 'RTV';
|
|
7514
7680
|
switch (type) {
|
|
7515
7681
|
case '3DCOMB':
|
|
7516
7682
|
_this.doShowRenderImage = false;
|
|
@@ -7640,6 +7806,22 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7640
7806
|
_defineProperty(this, "setIsARIframeVisible", function (val) {
|
|
7641
7807
|
_this.isARIframeVisible = val;
|
|
7642
7808
|
});
|
|
7809
|
+
_defineProperty(this, "rtvFocusElementId", null);
|
|
7810
|
+
_defineProperty(this, "setRtvFocusElementId", function (id) {
|
|
7811
|
+
_this.rtvFocusElementId = id;
|
|
7812
|
+
});
|
|
7813
|
+
/**
|
|
7814
|
+
* Single source of truth for "which element is selected on the RTV canvas".
|
|
7815
|
+
* Driven by ViewPlannerHandler — kept in lockstep with `selectedElementsDict`
|
|
7816
|
+
* across canvas-side selection (`onElementSelected` / `onClearElementSelection`)
|
|
7817
|
+
* and configurator-driven selection (`updateElementSelectionConfig`). Distinct
|
|
7818
|
+
* from `rtvFocusElementId` (camera focus / scroll-to) so the two can diverge
|
|
7819
|
+
* if needed later. Read by PlannerRTVNext as the `selectedElementId` prop.
|
|
7820
|
+
*/
|
|
7821
|
+
_defineProperty(this, "rtvSelectedElementId", null);
|
|
7822
|
+
_defineProperty(this, "setRtvSelectedElementId", function (id) {
|
|
7823
|
+
_this.rtvSelectedElementId = id;
|
|
7824
|
+
});
|
|
7643
7825
|
_defineProperty(this, "setArCodeWasVisibleOnce", function () {
|
|
7644
7826
|
var _this$showArQrCode$co, _this$showArQrCode;
|
|
7645
7827
|
_this.arCodeWasVisibleOnce = true;
|
|
@@ -7683,6 +7865,7 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7683
7865
|
doShow3DComb: observable,
|
|
7684
7866
|
doShowAIRoom: observable,
|
|
7685
7867
|
allowRTV: observable,
|
|
7868
|
+
useRtvNext: observable,
|
|
7686
7869
|
allow3DComb: observable,
|
|
7687
7870
|
allowQRCodeAR: observable,
|
|
7688
7871
|
shelfPlannerRTV: observable,
|
|
@@ -7690,6 +7873,8 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7690
7873
|
allowRendering: observable,
|
|
7691
7874
|
setAllowRendering: action,
|
|
7692
7875
|
footerVisible: computed,
|
|
7876
|
+
is3DViewActive: computed,
|
|
7877
|
+
showRtvFooterEntry: computed,
|
|
7693
7878
|
doShowRenderImage: observable,
|
|
7694
7879
|
diva3dImgSrc: observable,
|
|
7695
7880
|
setDiva3dImgSrc: action,
|
|
@@ -7746,7 +7931,11 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7746
7931
|
loadRTVForAr: observable,
|
|
7747
7932
|
glbUrl: observable,
|
|
7748
7933
|
isARIframeVisible: observable,
|
|
7749
|
-
setIsARIframeVisible: action
|
|
7934
|
+
setIsARIframeVisible: action,
|
|
7935
|
+
rtvFocusElementId: observable,
|
|
7936
|
+
setRtvFocusElementId: action,
|
|
7937
|
+
rtvSelectedElementId: observable,
|
|
7938
|
+
setRtvSelectedElementId: action
|
|
7750
7939
|
});
|
|
7751
7940
|
}
|
|
7752
7941
|
return _createClass(ProductState, [{
|
|
@@ -7853,6 +8042,30 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7853
8042
|
return visibleFooter[f];
|
|
7854
8043
|
});
|
|
7855
8044
|
}
|
|
8045
|
+
|
|
8046
|
+
/**
|
|
8047
|
+
* True while the 3D view is the active one: the rendered 3D image, or the rtv-next viewer that
|
|
8048
|
+
* replaces it with `?rtv-next`.
|
|
8049
|
+
*/
|
|
8050
|
+
}, {
|
|
8051
|
+
key: "is3DViewActive",
|
|
8052
|
+
get: function get() {
|
|
8053
|
+
// rtv-next renders in the RTV slot, so "3D is on screen" means `doShowRTV` there — but only
|
|
8054
|
+
// when rtv-next is actually the active viewer, via the same switch `ProductCenter` uses.
|
|
8055
|
+
return this.doShowRenderImage || (this.useRtvNext || rtvNextParamActive) && this.doShowRTV;
|
|
8056
|
+
}
|
|
8057
|
+
|
|
8058
|
+
/**
|
|
8059
|
+
* Whether the footer should carry its own RTV entry. rtv-next renders in the RTV slot as the 3D
|
|
8060
|
+
* view (see {@link is3DViewActive}), so alongside a 3D entry it would be a second button for the
|
|
8061
|
+
* same viewer — and `doShowRTV` would light both at once. Hide it whenever the 3D entry exists;
|
|
8062
|
+
* keep it when there is none (forceRTV / RTViewer mode), where it is the only way into the viewer.
|
|
8063
|
+
*/
|
|
8064
|
+
}, {
|
|
8065
|
+
key: "showRtvFooterEntry",
|
|
8066
|
+
get: function get() {
|
|
8067
|
+
return this.allowRTV && !((this.useRtvNext || rtvNextParamActive) && this.allowRendering);
|
|
8068
|
+
}
|
|
7856
8069
|
}, {
|
|
7857
8070
|
key: "setRTVActivateAR",
|
|
7858
8071
|
value: function setRTVActivateAR(isArCompatible, activateAR) {
|
|
@@ -7905,7 +8118,7 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7905
8118
|
* this function tells the View if only 2D is avabile or 3D and 2D or neither of those
|
|
7906
8119
|
*/
|
|
7907
8120
|
function initConfiguratorMode(plannerMode) {
|
|
7908
|
-
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;
|
|
8121
|
+
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;
|
|
7909
8122
|
this.plannerMode = plannerMode;
|
|
7910
8123
|
this.isBoxPlanner = plannerMode === 'BoxPlanner';
|
|
7911
8124
|
this.doEnableToShow3DDimensionLines = !!((_this$divaWebPlanner14 = this.divaWebPlanner) !== null && _this$divaWebPlanner14 !== void 0 && _this$divaWebPlanner14.doShow3DDimensionLines());
|
|
@@ -7924,11 +8137,12 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7924
8137
|
this.pricePreview = (_this$divaWebPlanner24 = this.divaWebPlanner) === null || _this$divaWebPlanner24 === void 0 ? void 0 : _this$divaWebPlanner24.getPricePreview();
|
|
7925
8138
|
this.hide2DPlanner = (_this$divaWebPlanner25 = this.divaWebPlanner) === null || _this$divaWebPlanner25 === void 0 ? void 0 : _this$divaWebPlanner25.hide2DPlanner();
|
|
7926
8139
|
this.allowRTV = !!((_this$divaWebPlanner26 = this.divaWebPlanner) !== null && _this$divaWebPlanner26 !== void 0 && _this$divaWebPlanner26.getAllowRTV());
|
|
7927
|
-
this.
|
|
7928
|
-
this.
|
|
7929
|
-
this.
|
|
7930
|
-
|
|
7931
|
-
if ((_this$divaWebPlanner31 = this.divaWebPlanner) !== null && _this$divaWebPlanner31 !== void 0 && _this$divaWebPlanner31.
|
|
8140
|
+
this.useRtvNext = !!((_this$divaWebPlanner27 = this.divaWebPlanner) !== null && _this$divaWebPlanner27 !== void 0 && _this$divaWebPlanner27.getUseRtvNext());
|
|
8141
|
+
this.allow3DComb = !!((_this$divaWebPlanner28 = this.divaWebPlanner) !== null && _this$divaWebPlanner28 !== void 0 && _this$divaWebPlanner28.getEnableUnityRtvKombi());
|
|
8142
|
+
this.allowQRCodeAR = !!((_this$divaWebPlanner29 = this.divaWebPlanner) !== null && _this$divaWebPlanner29 !== void 0 && _this$divaWebPlanner29.getAllowQRCodeAR());
|
|
8143
|
+
this.shelfPlannerRTV = !!((_this$divaWebPlanner30 = this.divaWebPlanner) !== null && _this$divaWebPlanner30 !== void 0 && _this$divaWebPlanner30.getShelfPlannerRTV());
|
|
8144
|
+
if (this.shelfPlannerRTV || (_this$divaWebPlanner31 = this.divaWebPlanner) !== null && _this$divaWebPlanner31 !== void 0 && _this$divaWebPlanner31.getForceRTV()) this.plannerMode = 'RTViewer';
|
|
8145
|
+
if ((_this$divaWebPlanner32 = this.divaWebPlanner) !== null && _this$divaWebPlanner32 !== void 0 && _this$divaWebPlanner32.getEnableUnityRtvKombi()) this.plannerMode = '3DCOMB';
|
|
7932
8146
|
this.plannerRenderingIsStaticBG = this.plannerMode == '3DCOMB' ? false : this.plannerRenderingIsStaticBG;
|
|
7933
8147
|
this.initPlannerViewMode(this.plannerMode);
|
|
7934
8148
|
this.doShowAIRoom = false;
|
|
@@ -8012,6 +8226,13 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
8012
8226
|
this.doShow3DZoom = false;
|
|
8013
8227
|
break;
|
|
8014
8228
|
}
|
|
8229
|
+
|
|
8230
|
+
// Modes that start in the rendered 3D image start in the rtv-next viewer instead — same
|
|
8231
|
+
// substitution the 3D view does in onChangePlannerView.
|
|
8232
|
+
if ((this.useRtvNext || rtvNextParamActive) && this.doShowRenderImage) {
|
|
8233
|
+
this.doShowRenderImage = false;
|
|
8234
|
+
this.doShowRTV = true;
|
|
8235
|
+
}
|
|
8015
8236
|
}
|
|
8016
8237
|
}, {
|
|
8017
8238
|
key: "setProductElement",
|
|
@@ -8069,9 +8290,17 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
8069
8290
|
|
|
8070
8291
|
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; }
|
|
8071
8292
|
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; }
|
|
8293
|
+
// Single source of truth mapping a mobile drawer snap point index to the product (3D view) height.
|
|
8294
|
+
var PRODUCT_HEIGHT_BY_SNAP_POINT = {
|
|
8295
|
+
0: 'calc(100% - 36px)',
|
|
8296
|
+
1: '70%',
|
|
8297
|
+
2: '45%',
|
|
8298
|
+
3: '45%'
|
|
8299
|
+
};
|
|
8072
8300
|
var SettingsState = /*#__PURE__*/function () {
|
|
8073
8301
|
function SettingsState(updateExternalPlannerState) {
|
|
8074
|
-
var _this = this
|
|
8302
|
+
var _this = this,
|
|
8303
|
+
_PRODUCT_HEIGHT_BY_SN;
|
|
8075
8304
|
_classCallCheck(this, SettingsState);
|
|
8076
8305
|
this.updateExternalPlannerState = updateExternalPlannerState;
|
|
8077
8306
|
_defineProperty(this, "scrollToCurTabgroupHorizontal", void 0);
|
|
@@ -8135,6 +8364,16 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8135
8364
|
_this.plannedPlacesOnGrids = planned;
|
|
8136
8365
|
});
|
|
8137
8366
|
_defineProperty(this, "selectedShelfAccessoire", undefined);
|
|
8367
|
+
// Dedicated "armed to place" signal for the RTV `autoPlaceDrag` mode: codex + nonce. Bumped only
|
|
8368
|
+
// when an article is armed from the palette (distinct from `selectedShelfAccessoire`, which also
|
|
8369
|
+
// changes on placement) so the viewer auto-places exactly once per arm. The nonce makes arming
|
|
8370
|
+
// the same article twice produce a new token (re-trigger).
|
|
8371
|
+
_defineProperty(this, "armedAccessoryNonce", 0);
|
|
8372
|
+
_defineProperty(this, "armedAccessoryToken", undefined);
|
|
8373
|
+
// Palette-tile drag in progress: the dragged article's codex (set on dragstart, cleared on dragend).
|
|
8374
|
+
_defineProperty(this, "draggedAccessoryCodex", undefined);
|
|
8375
|
+
// True while the drag targets a drop cell in the viewer — the palette hides its drag ghost then.
|
|
8376
|
+
_defineProperty(this, "draggedAccessoryHasTarget", false);
|
|
8138
8377
|
_defineProperty(this, "autoOpenContentItems", false);
|
|
8139
8378
|
_defineProperty(this, "contentItemId", undefined);
|
|
8140
8379
|
_defineProperty(this, "clickedFrom", undefined);
|
|
@@ -8160,6 +8399,10 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8160
8399
|
_this.plannerReplaceModeAutoSwitch = false;
|
|
8161
8400
|
_this.contentItemId = undefined;
|
|
8162
8401
|
_this.contentItemVisible = false;
|
|
8402
|
+
// Accessory interaction state is a live viewer input — a re-init must not leave an armed
|
|
8403
|
+
// auto-place token or an in-flight drag behind (see PlannerRTVNext's armed/dragged props).
|
|
8404
|
+
_this.setArmedAccessory();
|
|
8405
|
+
_this.setDraggedAccessory();
|
|
8163
8406
|
});
|
|
8164
8407
|
_defineProperty(this, "partlistArticlesInOverview", {});
|
|
8165
8408
|
// planner2Dot0 state
|
|
@@ -8172,7 +8415,8 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8172
8415
|
_defineProperty(this, "lastesScrollPosition", 0);
|
|
8173
8416
|
_defineProperty(this, "isMicroScrollingDown", undefined);
|
|
8174
8417
|
_defineProperty(this, "activeSnapPointIndex", 2);
|
|
8175
|
-
|
|
8418
|
+
// Derived from the initial activeSnapPointIndex so the product height stays in sync with the drawer's starting snap point.
|
|
8419
|
+
_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%');
|
|
8176
8420
|
_defineProperty(this, "generalPlanningState", {});
|
|
8177
8421
|
_defineProperty(this, "promotedGroups", []);
|
|
8178
8422
|
_defineProperty(this, "promotedOptimisticProductId", null);
|
|
@@ -8245,6 +8489,12 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8245
8489
|
setGridsData: action,
|
|
8246
8490
|
selectedShelfAccessoire: observable,
|
|
8247
8491
|
setSelectedShelfAccessoire: action,
|
|
8492
|
+
armedAccessoryToken: observable,
|
|
8493
|
+
setArmedAccessory: action,
|
|
8494
|
+
draggedAccessoryCodex: observable,
|
|
8495
|
+
setDraggedAccessory: action,
|
|
8496
|
+
draggedAccessoryHasTarget: observable,
|
|
8497
|
+
setDraggedAccessoryHasTarget: action,
|
|
8248
8498
|
//contentItem
|
|
8249
8499
|
contentItemId: observable,
|
|
8250
8500
|
setContentItemId: action,
|
|
@@ -8503,6 +8753,7 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8503
8753
|
key: "initForUpdate",
|
|
8504
8754
|
value: function initForUpdate() {
|
|
8505
8755
|
this.infoBoxContent = undefined;
|
|
8756
|
+
if (this.selectedShelfAccessoire) this.setSelectedShelfAccessoire(undefined);
|
|
8506
8757
|
}
|
|
8507
8758
|
}, {
|
|
8508
8759
|
key: "selectedArticles",
|
|
@@ -8563,6 +8814,22 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8563
8814
|
value: function setSelectedShelfAccessoire(basketId) {
|
|
8564
8815
|
this.selectedShelfAccessoire = basketId;
|
|
8565
8816
|
}
|
|
8817
|
+
}, {
|
|
8818
|
+
key: "setArmedAccessory",
|
|
8819
|
+
value: function setArmedAccessory(articleCodex) {
|
|
8820
|
+
this.armedAccessoryToken = articleCodex === undefined ? undefined : "".concat(articleCodex, "#").concat(++this.armedAccessoryNonce);
|
|
8821
|
+
}
|
|
8822
|
+
}, {
|
|
8823
|
+
key: "setDraggedAccessory",
|
|
8824
|
+
value: function setDraggedAccessory(articleCodex) {
|
|
8825
|
+
this.draggedAccessoryCodex = articleCodex;
|
|
8826
|
+
this.draggedAccessoryHasTarget = false;
|
|
8827
|
+
}
|
|
8828
|
+
}, {
|
|
8829
|
+
key: "setDraggedAccessoryHasTarget",
|
|
8830
|
+
value: function setDraggedAccessoryHasTarget(hasTarget) {
|
|
8831
|
+
this.draggedAccessoryHasTarget = hasTarget;
|
|
8832
|
+
}
|
|
8566
8833
|
}, {
|
|
8567
8834
|
key: "setDontReopenAutomatically",
|
|
8568
8835
|
value: function setDontReopenAutomatically(val) {
|
|
@@ -8645,7 +8912,8 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8645
8912
|
}, {
|
|
8646
8913
|
key: "setActiveSnapPointIndex",
|
|
8647
8914
|
value: function setActiveSnapPointIndex(activeSnapPointIndex, force) {
|
|
8648
|
-
var _this2 = this
|
|
8915
|
+
var _this2 = this,
|
|
8916
|
+
_PRODUCT_HEIGHT_BY_SN2;
|
|
8649
8917
|
if (!force && this.contentItemVisible && this.contentItemId) return;
|
|
8650
8918
|
this.activeSnapPointIndex = activeSnapPointIndex;
|
|
8651
8919
|
|
|
@@ -8656,8 +8924,7 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8656
8924
|
(_this2$scrollToCurTab = _this2.scrollToCurTabgroupHorizontal) === null || _this2$scrollToCurTab === void 0 || _this2$scrollToCurTab.call(_this2);
|
|
8657
8925
|
(_this2$updatePlannerV = _this2.updatePlannerView) === null || _this2$updatePlannerV === void 0 || _this2$updatePlannerV.call(_this2, 'SNAP_POINT_CHANGED');
|
|
8658
8926
|
}, 200);
|
|
8659
|
-
|
|
8660
|
-
if (activeSnapPointIndex == 1) this.setProductHeight('70%');else if (activeSnapPointIndex == 2) this.setProductHeight('45%');else if (activeSnapPointIndex == 3) this.setProductHeight('45%');
|
|
8927
|
+
this.setProductHeight((_PRODUCT_HEIGHT_BY_SN2 = PRODUCT_HEIGHT_BY_SNAP_POINT[activeSnapPointIndex]) !== null && _PRODUCT_HEIGHT_BY_SN2 !== void 0 ? _PRODUCT_HEIGHT_BY_SN2 : '45%');
|
|
8661
8928
|
}
|
|
8662
8929
|
}, {
|
|
8663
8930
|
key: "setProductHeight",
|
|
@@ -9130,6 +9397,8 @@ var ConfigState = /*#__PURE__*/function () {
|
|
|
9130
9397
|
_defineProperty(this, "setId", undefined);
|
|
9131
9398
|
_defineProperty(this, "loginMode", void 0);
|
|
9132
9399
|
_defineProperty(this, "initMode", void 0);
|
|
9400
|
+
_defineProperty(this, "createImageConfig", void 0);
|
|
9401
|
+
_defineProperty(this, "orderlineVariantValues", void 0);
|
|
9133
9402
|
_defineProperty(this, "opt", void 0);
|
|
9134
9403
|
_defineProperty(this, "configStepKey", void 0);
|
|
9135
9404
|
_defineProperty(this, "initEmptyPlanner", void 0);
|
|
@@ -9218,6 +9487,8 @@ var ConfigState = /*#__PURE__*/function () {
|
|
|
9218
9487
|
this.jwt = val.jwt;
|
|
9219
9488
|
this.keepCache = val.keepCache;
|
|
9220
9489
|
this.initMode = val.initMode;
|
|
9490
|
+
this.createImageConfig = val.createImageConfig;
|
|
9491
|
+
this.orderlineVariantValues = val.orderlineVariantValues;
|
|
9221
9492
|
this.opt = val.opt;
|
|
9222
9493
|
this.initEmptyPlanner = val.initEmptyPlanner;
|
|
9223
9494
|
this.assignNewDivaNr = val.assignNewDivaNr;
|
|
@@ -14351,8 +14622,8 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14351
14622
|
}
|
|
14352
14623
|
}, {
|
|
14353
14624
|
key: "initialize",
|
|
14354
|
-
value: function initialize(firstTime, plannerConfig) {
|
|
14355
|
-
var _this$actions6, _this$divaWebPlanner;
|
|
14625
|
+
value: function initialize(firstTime, plannerConfig, adoptPlanner) {
|
|
14626
|
+
var _this$actions6, _this$actions6$onPlan, _this$actions7, _this$divaWebPlanner;
|
|
14356
14627
|
DivaUtils.startSpanOfApm('initialize Configurator');
|
|
14357
14628
|
this.uiState.setIsLoading(true);
|
|
14358
14629
|
this.uiState.setIsLogicLoading(true);
|
|
@@ -14378,21 +14649,23 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14378
14649
|
return;
|
|
14379
14650
|
}
|
|
14380
14651
|
}
|
|
14381
|
-
|
|
14382
|
-
this.
|
|
14652
|
+
var adopted = !!adoptPlanner && firstTime;
|
|
14653
|
+
this.divaWebPlanner = adopted ? adoptPlanner : new DivaWebPlanner(this.configState);
|
|
14654
|
+
(_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);
|
|
14655
|
+
this.aiState.initFunctions(this.divaWebPlanner, (_this$actions7 = this.actions) === null || _this$actions7 === void 0 ? void 0 : _this$actions7.subscribeEvents);
|
|
14383
14656
|
this.tabGroupState.initFunctions(this.divaWebPlanner);
|
|
14384
14657
|
this.settingsState.initFunctions(this.tabGroupState.scrollToCurTabgroupHorizontal.bind(this.tabGroupState), this.divaWebPlanner.updatePlannerView.bind(this.divaWebPlanner), this.uiState);
|
|
14385
14658
|
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);
|
|
14386
14659
|
this.viewPlannerHandler.initFunctions(this.paletteViewHandler.deletePlannerElement.bind(this.paletteViewHandler), this.paletteViewHandler.copyPlannerElement.bind(this.paletteViewHandler), this.settingsState.setBBox.bind(this.settingsState));
|
|
14387
14660
|
this.actionButtonState.initFunctions(this.divaWebPlanner, this.paletteViewHandler);
|
|
14388
14661
|
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));
|
|
14389
|
-
if (plannerConfig == true || !(plannerConfig !== null && plannerConfig !== void 0 && plannerConfig.keepCache)) (_this$divaWebPlanner = this.divaWebPlanner) === null || _this$divaWebPlanner === void 0 || _this$divaWebPlanner.clearCache();
|
|
14662
|
+
if (!adopted && (plannerConfig == true || !(plannerConfig !== null && plannerConfig !== void 0 && plannerConfig.keepCache))) (_this$divaWebPlanner = this.divaWebPlanner) === null || _this$divaWebPlanner === void 0 || _this$divaWebPlanner.clearCache();
|
|
14390
14663
|
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));
|
|
14391
14664
|
this.uiState.reset();
|
|
14392
14665
|
this.aiState.reset();
|
|
14393
14666
|
this.settingsState.reset();
|
|
14394
14667
|
this.registerFunctions();
|
|
14395
|
-
this.initializeLogic(cache);
|
|
14668
|
+
if (adopted) this.attachAdoptedLogic();else this.initializeLogic(cache);
|
|
14396
14669
|
//TabgroupViewHandler erstellen dieser Kümmert sich umm alle Click events usw.
|
|
14397
14670
|
|
|
14398
14671
|
this.plannerHelper.initialize(this.paletteViewHandler, this.configuratorStructureHandler, this.divaWebPlanner, this.productState, this.tabGroupState, this.settingsState);
|
|
@@ -14404,24 +14677,65 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14404
14677
|
this.productState.plannerMessages = new Map();
|
|
14405
14678
|
}
|
|
14406
14679
|
}, {
|
|
14407
|
-
key: "
|
|
14680
|
+
key: "attachAdoptedLogic",
|
|
14408
14681
|
value: function () {
|
|
14409
|
-
var
|
|
14410
|
-
var _this$
|
|
14411
|
-
var _this$
|
|
14682
|
+
var _attachAdoptedLogic = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
14683
|
+
var _this$actions8;
|
|
14684
|
+
var _this$actions9;
|
|
14412
14685
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
14413
14686
|
while (1) switch (_context.prev = _context.next) {
|
|
14414
14687
|
case 0:
|
|
14415
|
-
(_this$
|
|
14688
|
+
(_this$actions8 = this.actions) === null || _this$actions8 === void 0 || _this$actions8.toggleLoading('init_planner_logic', false, true, undefined, true);
|
|
14416
14689
|
_context.prev = 1;
|
|
14417
14690
|
_context.next = 4;
|
|
14418
14691
|
return waitForNextPaint();
|
|
14419
14692
|
case 4:
|
|
14693
|
+
_context.next = 6;
|
|
14694
|
+
return this.divaWebPlanner.reattachView();
|
|
14695
|
+
case 6:
|
|
14696
|
+
this.uiState.setIsLogicLoading(false);
|
|
14697
|
+
_context.next = 13;
|
|
14698
|
+
break;
|
|
14699
|
+
case 9:
|
|
14700
|
+
_context.prev = 9;
|
|
14701
|
+
_context.t0 = _context["catch"](1);
|
|
14702
|
+
LOG$1.error(_context.t0);
|
|
14703
|
+
this.initializedWithErrors = true;
|
|
14704
|
+
case 13:
|
|
14705
|
+
_context.prev = 13;
|
|
14706
|
+
(_this$actions9 = this.actions) === null || _this$actions9 === void 0 || _this$actions9.toggleLoading('init_planner_logic', false, false);
|
|
14707
|
+
return _context.finish(13);
|
|
14708
|
+
case 16:
|
|
14709
|
+
case "end":
|
|
14710
|
+
return _context.stop();
|
|
14711
|
+
}
|
|
14712
|
+
}, _callee, this, [[1, 9, 13, 16]]);
|
|
14713
|
+
}));
|
|
14714
|
+
function attachAdoptedLogic() {
|
|
14715
|
+
return _attachAdoptedLogic.apply(this, arguments);
|
|
14716
|
+
}
|
|
14717
|
+
return attachAdoptedLogic;
|
|
14718
|
+
}()
|
|
14719
|
+
}, {
|
|
14720
|
+
key: "initializeLogic",
|
|
14721
|
+
value: function () {
|
|
14722
|
+
var _initializeLogic = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(cache) {
|
|
14723
|
+
var _this$actions10;
|
|
14724
|
+
var _this$getI18nInstance2, _this$getI18nInstance3, _this$configState, _this$configState2, _this$actions11;
|
|
14725
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
14726
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
14727
|
+
case 0:
|
|
14728
|
+
bootMark('view: initializeLogic');
|
|
14729
|
+
(_this$actions10 = this.actions) === null || _this$actions10 === void 0 || _this$actions10.toggleLoading('init_planner_logic', false, true, undefined, true);
|
|
14730
|
+
_context2.prev = 2;
|
|
14731
|
+
_context2.next = 5;
|
|
14732
|
+
return waitForNextPaint();
|
|
14733
|
+
case 5:
|
|
14420
14734
|
LOG$1.debug('Start divaWebPlanner.initialize after spinner paint wait');
|
|
14421
|
-
|
|
14735
|
+
_context2.next = 8;
|
|
14422
14736
|
return this.divaWebPlanner.initialize(cache);
|
|
14423
|
-
case
|
|
14424
|
-
this.initializedWithErrors = !
|
|
14737
|
+
case 8:
|
|
14738
|
+
this.initializedWithErrors = !_context2.sent;
|
|
14425
14739
|
this.uiState.setIsLogicLoading(false);
|
|
14426
14740
|
LOG$1.successTransaction('ON_OPEN_PLANNER', {
|
|
14427
14741
|
divaNr: this.divaWebPlanner.divaNr,
|
|
@@ -14430,34 +14744,34 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14430
14744
|
artNr: JSON.stringify(this.configState.articleCodexes),
|
|
14431
14745
|
lang: (_this$getI18nInstance2 = this.getI18nInstance()) === null || _this$getI18nInstance2 === void 0 ? void 0 : _this$getI18nInstance2.language
|
|
14432
14746
|
});
|
|
14433
|
-
|
|
14747
|
+
_context2.next = 18;
|
|
14434
14748
|
break;
|
|
14435
|
-
case
|
|
14436
|
-
|
|
14437
|
-
|
|
14438
|
-
if (
|
|
14749
|
+
case 13:
|
|
14750
|
+
_context2.prev = 13;
|
|
14751
|
+
_context2.t0 = _context2["catch"](2);
|
|
14752
|
+
if (_context2.t0.message.includes('does not exist in the Catalog:')) {
|
|
14439
14753
|
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) {
|
|
14440
14754
|
this.uiState.setConfiguratorHidden(true);
|
|
14441
14755
|
alert('Something went wrong. Please try again or contact support');
|
|
14442
14756
|
}
|
|
14443
14757
|
}
|
|
14444
|
-
LOG$1.error(
|
|
14445
|
-
LOG$1.errorTransaction('ON_OPEN_PLANNER', 'WC_0007',
|
|
14758
|
+
LOG$1.error(_context2.t0);
|
|
14759
|
+
LOG$1.errorTransaction('ON_OPEN_PLANNER', 'WC_0007', _context2.t0.message, {
|
|
14446
14760
|
divaNr: this.divaWebPlanner.divaNr,
|
|
14447
14761
|
productId: this.configState.productId,
|
|
14448
14762
|
cat: this.divaWebPlanner.getCurCatalogCodex(),
|
|
14449
14763
|
artNr: JSON.stringify(this.configState.articleCodexes),
|
|
14450
14764
|
lang: (_this$getI18nInstance3 = this.getI18nInstance()) === null || _this$getI18nInstance3 === void 0 ? void 0 : _this$getI18nInstance3.language
|
|
14451
14765
|
});
|
|
14452
|
-
case
|
|
14453
|
-
|
|
14454
|
-
(_this$
|
|
14455
|
-
return
|
|
14456
|
-
case
|
|
14766
|
+
case 18:
|
|
14767
|
+
_context2.prev = 18;
|
|
14768
|
+
(_this$actions11 = this.actions) === null || _this$actions11 === void 0 || _this$actions11.toggleLoading('init_planner_logic', false, false);
|
|
14769
|
+
return _context2.finish(18);
|
|
14770
|
+
case 21:
|
|
14457
14771
|
case "end":
|
|
14458
|
-
return
|
|
14772
|
+
return _context2.stop();
|
|
14459
14773
|
}
|
|
14460
|
-
},
|
|
14774
|
+
}, _callee2, this, [[2, 13, 18, 21]]);
|
|
14461
14775
|
}));
|
|
14462
14776
|
function initializeLogic(_x) {
|
|
14463
14777
|
return _initializeLogic.apply(this, arguments);
|
|
@@ -14558,9 +14872,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14558
14872
|
}, {
|
|
14559
14873
|
key: "addProduct",
|
|
14560
14874
|
value: function () {
|
|
14561
|
-
var _addProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14562
|
-
return _regeneratorRuntime.wrap(function
|
|
14563
|
-
while (1) switch (
|
|
14875
|
+
var _addProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(productId) {
|
|
14876
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
14877
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
14564
14878
|
case 0:
|
|
14565
14879
|
if (this.divaWebPlanner.getPlannerMode() == 'ProductList') {
|
|
14566
14880
|
//first time click on productlist in an empty planner
|
|
@@ -14568,9 +14882,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14568
14882
|
}
|
|
14569
14883
|
case 1:
|
|
14570
14884
|
case "end":
|
|
14571
|
-
return
|
|
14885
|
+
return _context3.stop();
|
|
14572
14886
|
}
|
|
14573
|
-
},
|
|
14887
|
+
}, _callee3, this);
|
|
14574
14888
|
}));
|
|
14575
14889
|
function addProduct(_x2) {
|
|
14576
14890
|
return _addProduct.apply(this, arguments);
|
|
@@ -14580,17 +14894,17 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14580
14894
|
}, {
|
|
14581
14895
|
key: "loadProduct",
|
|
14582
14896
|
value: function () {
|
|
14583
|
-
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14584
|
-
return _regeneratorRuntime.wrap(function
|
|
14585
|
-
while (1) switch (
|
|
14897
|
+
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(productId) {
|
|
14898
|
+
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
14899
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
14586
14900
|
case 0:
|
|
14587
14901
|
this.configState.productId = productId;
|
|
14588
14902
|
this.initialize(false, this.configState);
|
|
14589
14903
|
case 2:
|
|
14590
14904
|
case "end":
|
|
14591
|
-
return
|
|
14905
|
+
return _context4.stop();
|
|
14592
14906
|
}
|
|
14593
|
-
},
|
|
14907
|
+
}, _callee4, this);
|
|
14594
14908
|
}));
|
|
14595
14909
|
function loadProduct(_x3) {
|
|
14596
14910
|
return _loadProduct.apply(this, arguments);
|
|
@@ -14600,19 +14914,19 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14600
14914
|
}, {
|
|
14601
14915
|
key: "addDivaNrToSet",
|
|
14602
14916
|
value: function () {
|
|
14603
|
-
var _addDivaNrToSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14604
|
-
return _regeneratorRuntime.wrap(function
|
|
14605
|
-
while (1) switch (
|
|
14917
|
+
var _addDivaNrToSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(divaNr) {
|
|
14918
|
+
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
14919
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
14606
14920
|
case 0:
|
|
14607
|
-
|
|
14921
|
+
_context5.next = 2;
|
|
14608
14922
|
return this.divaWebPlanner.addSetToActPlanningByDivaNr(divaNr);
|
|
14609
14923
|
case 2:
|
|
14610
14924
|
this.updateConfiguratorState(true);
|
|
14611
14925
|
case 3:
|
|
14612
14926
|
case "end":
|
|
14613
|
-
return
|
|
14927
|
+
return _context5.stop();
|
|
14614
14928
|
}
|
|
14615
|
-
},
|
|
14929
|
+
}, _callee5, this);
|
|
14616
14930
|
}));
|
|
14617
14931
|
function addDivaNrToSet(_x4) {
|
|
14618
14932
|
return _addDivaNrToSet.apply(this, arguments);
|
|
@@ -14641,6 +14955,28 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14641
14955
|
var posNr = (_this$configuratorStr = this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) === null || _this$configuratorStr === void 0 ? void 0 : _this$configuratorStr.configStep.posNr;
|
|
14642
14956
|
if (posNr) this.paletteViewHandler.scrollToConfigStepByPosNr(posNr, true);
|
|
14643
14957
|
}
|
|
14958
|
+
|
|
14959
|
+
/**
|
|
14960
|
+
* Scroll the palette to one option value inside a config step. Registered into
|
|
14961
|
+
* the logic (registerScrollToOptionValue) so logic-side callers — e.g. the diva
|
|
14962
|
+
* agent's revealConfigStepInView — can steer the view without a react dependency.
|
|
14963
|
+
*/
|
|
14964
|
+
}, {
|
|
14965
|
+
key: "scrollToOptionValue",
|
|
14966
|
+
value: function scrollToOptionValue(configStepKey, optionValueCodex) {
|
|
14967
|
+
var _this$configuratorStr2,
|
|
14968
|
+
_this2 = this;
|
|
14969
|
+
var posNr = (_this$configuratorStr2 = this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) === null || _this$configuratorStr2 === void 0 ? void 0 : _this$configuratorStr2.configStep.posNr;
|
|
14970
|
+
if (!posNr) return;
|
|
14971
|
+
// The navigated step's palette needs a tick to render before we can scroll to a value inside it.
|
|
14972
|
+
setTimeout(function () {
|
|
14973
|
+
try {
|
|
14974
|
+
_this2.paletteViewHandler.scrollToOPV(posNr, optionValueCodex);
|
|
14975
|
+
} catch (_unused) {
|
|
14976
|
+
/* scroll target may not be rendered */
|
|
14977
|
+
}
|
|
14978
|
+
}, 300);
|
|
14979
|
+
}
|
|
14644
14980
|
}, {
|
|
14645
14981
|
key: "setWebConifguratorTitle",
|
|
14646
14982
|
value:
|
|
@@ -14666,15 +15002,15 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14666
15002
|
}, {
|
|
14667
15003
|
key: "initApiDependencies",
|
|
14668
15004
|
value: (function () {
|
|
14669
|
-
var _initApiDependencies = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14670
|
-
var config, _this$
|
|
14671
|
-
return _regeneratorRuntime.wrap(function
|
|
14672
|
-
while (1) switch (
|
|
15005
|
+
var _initApiDependencies = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
15006
|
+
var config, _this$actions12, _this$configState$cur, _this$configState$cur2;
|
|
15007
|
+
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
15008
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
14673
15009
|
case 0:
|
|
14674
15010
|
config = this.divaWebPlanner.getAllConfig();
|
|
14675
15011
|
if (config) {
|
|
14676
15012
|
this.uiState.initFromConfig(config);
|
|
14677
|
-
this.uiState.initTemplateConfig(this.divaWebPlanner.getTemplateConfig(), (_this$
|
|
15013
|
+
this.uiState.initTemplateConfig(this.divaWebPlanner.getTemplateConfig(), (_this$actions12 = this.actions) === null || _this$actions12 === void 0 ? void 0 : _this$actions12.userHasPermission('advancedconfigurator'));
|
|
14678
15014
|
this.settingsState.setForceSettingsHeaderInScrollContainer(config.viewConfig.forceSettingsHeaderInScrollContainer);
|
|
14679
15015
|
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 : {
|
|
14680
15016
|
doAutoShow: false
|
|
@@ -14686,9 +15022,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14686
15022
|
}
|
|
14687
15023
|
case 2:
|
|
14688
15024
|
case "end":
|
|
14689
|
-
return
|
|
15025
|
+
return _context6.stop();
|
|
14690
15026
|
}
|
|
14691
|
-
},
|
|
15027
|
+
}, _callee6, this);
|
|
14692
15028
|
}));
|
|
14693
15029
|
function initApiDependencies() {
|
|
14694
15030
|
return _initApiDependencies.apply(this, arguments);
|
|
@@ -14709,35 +15045,35 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14709
15045
|
}, {
|
|
14710
15046
|
key: "initPlannerView",
|
|
14711
15047
|
value: function () {
|
|
14712
|
-
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14713
|
-
var _this$divaWebPlanner$3, _this$
|
|
14714
|
-
return _regeneratorRuntime.wrap(function
|
|
14715
|
-
while (1) switch (
|
|
15048
|
+
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
15049
|
+
var _this$divaWebPlanner$3, _this$actions13;
|
|
15050
|
+
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
15051
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
14716
15052
|
case 0:
|
|
14717
15053
|
if (!this.uiState.ViewConfig) {
|
|
14718
|
-
|
|
15054
|
+
_context7.next = 9;
|
|
14719
15055
|
break;
|
|
14720
15056
|
}
|
|
14721
15057
|
case 1:
|
|
14722
15058
|
if (this.viewIsReady) {
|
|
14723
|
-
|
|
15059
|
+
_context7.next = 6;
|
|
14724
15060
|
break;
|
|
14725
15061
|
}
|
|
14726
|
-
|
|
15062
|
+
_context7.next = 4;
|
|
14727
15063
|
return DivaUtils.Sleep(20);
|
|
14728
15064
|
case 4:
|
|
14729
|
-
|
|
15065
|
+
_context7.next = 1;
|
|
14730
15066
|
break;
|
|
14731
15067
|
case 6:
|
|
14732
|
-
|
|
15068
|
+
_context7.next = 8;
|
|
14733
15069
|
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);
|
|
14734
15070
|
case 8:
|
|
14735
|
-
(_this$
|
|
15071
|
+
(_this$actions13 = this.actions) === null || _this$actions13 === void 0 || _this$actions13.toggleLoading('Planner_Loading', false, false);
|
|
14736
15072
|
case 9:
|
|
14737
15073
|
case "end":
|
|
14738
|
-
return
|
|
15074
|
+
return _context7.stop();
|
|
14739
15075
|
}
|
|
14740
|
-
},
|
|
15076
|
+
}, _callee7, this);
|
|
14741
15077
|
}));
|
|
14742
15078
|
function initPlannerView() {
|
|
14743
15079
|
return _initPlannerView.apply(this, arguments);
|
|
@@ -14758,22 +15094,22 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14758
15094
|
this.productState.setFormatedPrices(newTotalPrice, newCurSetPrice, bruttoPrice, customDimensions, priceFormat);
|
|
14759
15095
|
this.aiState.setSetHash(setHash);
|
|
14760
15096
|
if ((_this$getViewConfig = this.getViewConfig()) !== null && _this$getViewConfig !== void 0 && _this$getViewConfig.renderPriceInFrameworkHeader && !this.uiState.hidePrices) {
|
|
14761
|
-
var _this$uiState$i18nIns, _this$productState$fo, _this$
|
|
15097
|
+
var _this$uiState$i18nIns, _this$productState$fo, _this$actions14;
|
|
14762
15098
|
var priceInfo = (_this$uiState$i18nIns = this.uiState.i18nInstance) === null || _this$uiState$i18nIns === void 0 ? void 0 : _this$uiState$i18nIns.t('configurator.PRICE_INFO_HEADER');
|
|
14763
15099
|
var price = DivaUtils.formatPrice((_this$productState$fo = this.productState.formatedTotalPrice) !== null && _this$productState$fo !== void 0 ? _this$productState$fo : 0, this.productState.priceFormat);
|
|
14764
|
-
(_this$
|
|
15100
|
+
(_this$actions14 = this.actions) === null || _this$actions14 === void 0 || _this$actions14.updateCustomHeaderElement(['DIVA_WEBPLANNER'], function () {
|
|
14765
15101
|
return FrameworkPrice(priceInfo, price);
|
|
14766
15102
|
});
|
|
14767
15103
|
} else {
|
|
14768
|
-
var _this$
|
|
14769
|
-
(_this$
|
|
15104
|
+
var _this$actions15;
|
|
15105
|
+
(_this$actions15 = this.actions) === null || _this$actions15 === void 0 || _this$actions15.updateCustomHeaderElement(['DIVA_WEBPLANNER'], undefined);
|
|
14770
15106
|
}
|
|
14771
15107
|
}
|
|
14772
15108
|
}, {
|
|
14773
15109
|
key: "clearPrice",
|
|
14774
15110
|
value: function clearPrice() {
|
|
14775
|
-
var _this$
|
|
14776
|
-
(_this$
|
|
15111
|
+
var _this$actions16;
|
|
15112
|
+
(_this$actions16 = this.actions) === null || _this$actions16 === void 0 || _this$actions16.updateCustomHeaderElement(['DIVA_WEBPLANNER'], undefined);
|
|
14777
15113
|
}
|
|
14778
15114
|
|
|
14779
15115
|
/**
|
|
@@ -14808,13 +15144,13 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14808
15144
|
var image = "url('" + rendering.getImageForSrc() + "')";
|
|
14809
15145
|
this.divaWebPlanner.callEvent('onWebPlanerZoomClick', image);
|
|
14810
15146
|
if (!this.eventIsManagedByClient('onWebPlanerZoomClick')) {
|
|
14811
|
-
var _this$
|
|
14812
|
-
(_this$
|
|
15147
|
+
var _this$actions17, _this$actions18;
|
|
15148
|
+
(_this$actions17 = this.actions) === null || _this$actions17 === void 0 || _this$actions17.openFullscreen({
|
|
14813
15149
|
content: Fullscreen({
|
|
14814
15150
|
image: image
|
|
14815
15151
|
})
|
|
14816
15152
|
});
|
|
14817
|
-
(_this$
|
|
15153
|
+
(_this$actions18 = this.actions) === null || _this$actions18 === void 0 || _this$actions18.toggleLoading('Planner_Rendering', false, false);
|
|
14818
15154
|
}
|
|
14819
15155
|
this.logAnalytics('onFullScreen', 'Click on Zoom Button'); //pfister specific
|
|
14820
15156
|
}
|
|
@@ -14918,6 +15254,11 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14918
15254
|
value: function setHQRenderScript(hqRenderScript) {
|
|
14919
15255
|
this.hqRenderScript = hqRenderScript;
|
|
14920
15256
|
}
|
|
15257
|
+
}, {
|
|
15258
|
+
key: "downloadHQRenderScriptDebugFile",
|
|
15259
|
+
value: function downloadHQRenderScriptDebugFile() {
|
|
15260
|
+
this.divaWebPlanner.downloadHQRenderScriptDebugFile();
|
|
15261
|
+
}
|
|
14921
15262
|
}, {
|
|
14922
15263
|
key: "setCamInfo",
|
|
14923
15264
|
value: function setCamInfo(camInfo) {
|
|
@@ -14930,49 +15271,52 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14930
15271
|
}
|
|
14931
15272
|
}, {
|
|
14932
15273
|
key: "registerFunctions",
|
|
14933
|
-
value:
|
|
14934
|
-
|
|
15274
|
+
value: /** Attach this view handler to the logic as ONE PlannerViewApi (initial mount or adoption of an existing instance). */
|
|
15275
|
+
function registerFunctions() {
|
|
14935
15276
|
this.divaWebPlanner.setI18n(this.getI18nInstance.bind(this));
|
|
14936
|
-
this.divaWebPlanner.
|
|
14937
|
-
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
-
|
|
14956
|
-
|
|
14957
|
-
|
|
14958
|
-
|
|
14959
|
-
|
|
14960
|
-
|
|
14961
|
-
|
|
14962
|
-
|
|
14963
|
-
|
|
14964
|
-
|
|
14965
|
-
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
14970
|
-
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
|
|
15277
|
+
this.divaWebPlanner.attachView({
|
|
15278
|
+
initPlannerView: this.initPlannerView.bind(this),
|
|
15279
|
+
initConfiguratorMode: this.productState.initConfiguratorMode.bind(this.productState),
|
|
15280
|
+
initConfiguratorStructure: this.initConfiguratorStructure.bind(this),
|
|
15281
|
+
updateConfiguratorStructure: this.updateConfiguratorStructure.bind(this),
|
|
15282
|
+
navigateToTabGroup: this.navigateToTabGroup.bind(this),
|
|
15283
|
+
navigateToConfigStep: this.navigateToConfigStep.bind(this),
|
|
15284
|
+
scrollToOptionValueInView: this.scrollToOptionValue.bind(this),
|
|
15285
|
+
updateCatalogPlannerArticles: this.updateCatalogPlannerArticles.bind(this),
|
|
15286
|
+
updateCatalogPlanner2Dot0Articles: this.updateCatalogPlanner2Dot0Articles.bind(this),
|
|
15287
|
+
updateAccessoiresPalette: this.updateAccessoiresPalette.bind(this),
|
|
15288
|
+
setWebConifguratorTitle: this.setWebConifguratorTitle.bind(this),
|
|
15289
|
+
onBasketInitialized: this.onBasketInitialized.bind(this),
|
|
15290
|
+
updateConfigItems: this.updateConfigItems.bind(this),
|
|
15291
|
+
updatePaletteInfos: this.updatePaletteInfos.bind(this),
|
|
15292
|
+
updateBBox: this.updateBBox.bind(this),
|
|
15293
|
+
updateViewPlannerElements: this.viewPlannerHandler.updatePlannerElements.bind(this.viewPlannerHandler),
|
|
15294
|
+
updateElementSelectionConfig: this.viewPlannerHandler.updateElementSelectionConfig.bind(this.viewPlannerHandler),
|
|
15295
|
+
updateElementSelectionPlanner: this.viewPlannerHandler.updateElementSelectionPlanner.bind(this.viewPlannerHandler),
|
|
15296
|
+
getCurPlannerViewMode: this.viewPlannerHandler.getCurPlannerViewMode.bind(this.viewPlannerHandler),
|
|
15297
|
+
getInitPlannerViewMode: this.viewPlannerHandler.getInitPlannerViewMode.bind(this.viewPlannerHandler),
|
|
15298
|
+
updatePlanner3DImage: this.viewPlannerHandler.updatePlanner3DImage.bind(this.viewPlannerHandler),
|
|
15299
|
+
setRotationOrbitCube: this.viewPlannerHandler.setRotationOfOrbitCube.bind(this.viewPlannerHandler),
|
|
15300
|
+
getCanvas2DAsJPG: this.viewPlannerHandler.get2DPlanning2DAsJPG.bind(this),
|
|
15301
|
+
updatePlannerMsgContainer: this.productState.updatePlannerMsgContainer.bind(this.productState),
|
|
15302
|
+
updateFullscreenRendering: this.updateFullscreenRendering.bind(this),
|
|
15303
|
+
updateSetImage: this.productState.updateSetImage.bind(this.productState),
|
|
15304
|
+
getDoShow3DDimensionLines: this.productState.getDoShow3DDimensionLines.bind(this.productState),
|
|
15305
|
+
getCurrentAlternativRendering: this.getCurrentAlternativRendering.bind(this),
|
|
15306
|
+
updatePlanner2DGrid: this.viewPlannerHandler.updatePlanner2DGrid.bind(this.viewPlannerHandler),
|
|
15307
|
+
getPlannerRenderingSize: this.productState.getPlannerRenderingSize.bind(this.productState),
|
|
15308
|
+
updateSummaryItems: this.updateSummaryItems.bind(this),
|
|
15309
|
+
updateStaticRoomListItems: this.updateStaticRoomListItems.bind(this),
|
|
15310
|
+
updateShelfPlannerItems: this.updateShelfPlannerItems.bind(this),
|
|
15311
|
+
updateFreePlacesOnGrids: this.updateFreePlacesOnGrids.bind(this),
|
|
15312
|
+
updateDoorPlannerItems: this.updateDoorPlannerItems.bind(this),
|
|
15313
|
+
updatePrice: this.updatePrice.bind(this),
|
|
15314
|
+
onClickAddToBasket: this.actionButtonState.onClickAddToBasket.bind(this.actionButtonState),
|
|
15315
|
+
updateViewButtonsDependigOnConfigStructure: this.actionButtonState.initForUpdate.bind(this.actionButtonState),
|
|
15316
|
+
initViewApiDependencies: this.initApiDependencies.bind(this),
|
|
15317
|
+
setHQRenderScript: this.setHQRenderScript.bind(this),
|
|
15318
|
+
setCamInfo: this.setCamInfo.bind(this)
|
|
15319
|
+
});
|
|
14976
15320
|
}
|
|
14977
15321
|
}]);
|
|
14978
15322
|
}();
|
|
@@ -15018,16 +15362,27 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15018
15362
|
isVisible = true;
|
|
15019
15363
|
}
|
|
15020
15364
|
useEffect(function () {
|
|
15365
|
+
var _plannerConfig$action, _plannerConfig$action2;
|
|
15021
15366
|
if (plannerConfig.addDivaNr) {
|
|
15022
15367
|
plannerConfig.divaNr = plannerConfig.addDivaNr;
|
|
15023
15368
|
setAddDivaNr(plannerConfig.addDivaNr);
|
|
15024
15369
|
}
|
|
15370
|
+
|
|
15371
|
+
// Instance adoption: the host may hand over an already-initialized planner logic instance
|
|
15372
|
+
// (e.g. one the backoffice DIVA agent created headless) — the view then attaches to it
|
|
15373
|
+
// instead of re-initializing from scratch.
|
|
15374
|
+
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);
|
|
15025
15375
|
var newViewHandler = new DivaViewHandler(plannerConfig, isVisible);
|
|
15026
|
-
newViewHandler.initialize(true);
|
|
15376
|
+
newViewHandler.initialize(true, undefined, adoptPlanner);
|
|
15027
15377
|
if (plannerConfig.productId) {
|
|
15028
15378
|
newViewHandler.configState.currentInitializedProductId = plannerConfig.productId;
|
|
15029
15379
|
}
|
|
15030
15380
|
setViewHandler(newViewHandler);
|
|
15381
|
+
return function () {
|
|
15382
|
+
var _plannerConfig$action3, _plannerConfig$action4;
|
|
15383
|
+
// Tell the host the instance handed out via onPlannerInstance is gone (planner unmounts or re-creates its handler).
|
|
15384
|
+
(_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);
|
|
15385
|
+
};
|
|
15031
15386
|
}, [user]);
|
|
15032
15387
|
var keyDownFunction = useCallback(function (e) {
|
|
15033
15388
|
if (!viewHandler) return;
|
|
@@ -15041,7 +15396,16 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15041
15396
|
//focus on search
|
|
15042
15397
|
if (viewHandler.paletteViewHandler.focusSearch()) e.preventDefault();
|
|
15043
15398
|
}
|
|
15044
|
-
|
|
15399
|
+
if (e.key === 'Delete' || e.key === 'Backspace') {
|
|
15400
|
+
// A hidden planner must not delete anything from keys pressed elsewhere on the host page.
|
|
15401
|
+
if (!isVisible) return;
|
|
15402
|
+
// Don't hijack the key while the user is typing in an input / editable field.
|
|
15403
|
+
var active = document.activeElement;
|
|
15404
|
+
var tag = active === null || active === void 0 ? void 0 : active.tagName;
|
|
15405
|
+
if (tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT' || active !== null && active !== void 0 && active.isContentEditable) return;
|
|
15406
|
+
viewHandler.viewPlannerHandler.deleteSelectedElement();
|
|
15407
|
+
}
|
|
15408
|
+
}, [viewHandler, isVisible]);
|
|
15045
15409
|
useEffect(function () {
|
|
15046
15410
|
document.addEventListener('keydown', keyDownFunction, false);
|
|
15047
15411
|
return function () {
|
|
@@ -15058,7 +15422,7 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15058
15422
|
var initConfigurator = /*#__PURE__*/function () {
|
|
15059
15423
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15060
15424
|
var _viewHandler$divaWebP;
|
|
15061
|
-
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$
|
|
15425
|
+
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;
|
|
15062
15426
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
15063
15427
|
while (1) switch (_context.prev = _context.next) {
|
|
15064
15428
|
case 0:
|
|
@@ -15233,7 +15597,7 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15233
15597
|
if (plannerConfig.forceReload != undefined && plannerConfig.actions) {
|
|
15234
15598
|
// reset forceReload
|
|
15235
15599
|
_ref3 = plannerConfig.internal || {}, _ref3.forceReload, otherInternals = _objectWithoutProperties(_ref3, _excluded2);
|
|
15236
|
-
(_plannerConfig$
|
|
15600
|
+
(_plannerConfig$action5 = plannerConfig.actions) === null || _plannerConfig$action5 === void 0 || _plannerConfig$action5.openComponent({
|
|
15237
15601
|
type: 'DIVA_WEBPLANNER',
|
|
15238
15602
|
parameters: plannerConfig === null || plannerConfig === void 0 ? void 0 : plannerConfig.parameters,
|
|
15239
15603
|
internal: otherInternals
|
|
@@ -15413,49 +15777,49 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
15413
15777
|
switch (path) {
|
|
15414
15778
|
case '../components/GlobalElements/HeightAnimator.tsx': return Promise.resolve().then(function () { return HeightAnimator$1; });
|
|
15415
15779
|
case '../components/Layout/index.tsx': return Promise.resolve().then(function () { return index$o; });
|
|
15416
|
-
case '../components/Settings/index.tsx': return import('./index-
|
|
15417
|
-
case '../components/TabGroup/index.tsx': return import('./index-
|
|
15418
|
-
case '../components/Action/BasketMobile/index.tsx': return import('./index-
|
|
15419
|
-
case '../components/Action/Navigation/index.tsx': return import('./index-
|
|
15420
|
-
case '../components/GlobalElements/Affiliate/index.tsx': return import('./index-
|
|
15421
|
-
case '../components/GlobalElements/AiRoomsSelection/index.tsx': return import('./index-
|
|
15422
|
-
case '../components/GlobalElements/ArticleOverviewSlider/index.tsx': return import('./index-
|
|
15780
|
+
case '../components/Settings/index.tsx': return import('./index-20014561.js');
|
|
15781
|
+
case '../components/TabGroup/index.tsx': return import('./index-cc14ced5.js');
|
|
15782
|
+
case '../components/Action/BasketMobile/index.tsx': return import('./index-e8a4059f.js');
|
|
15783
|
+
case '../components/Action/Navigation/index.tsx': return import('./index-a85ea9d9.js');
|
|
15784
|
+
case '../components/GlobalElements/Affiliate/index.tsx': return import('./index-ab484a17.js');
|
|
15785
|
+
case '../components/GlobalElements/AiRoomsSelection/index.tsx': return import('./index-f691c6e8.js');
|
|
15786
|
+
case '../components/GlobalElements/ArticleOverviewSlider/index.tsx': return import('./index-3a751e91.js');
|
|
15423
15787
|
case '../components/GlobalElements/Checkout/index.tsx': return Promise.resolve().then(function () { return index$9; });
|
|
15424
15788
|
case '../components/GlobalElements/FrameworkPrice/index.tsx': return Promise.resolve().then(function () { return index$7; });
|
|
15425
15789
|
case '../components/GlobalElements/Fullscreen/index.tsx': return Promise.resolve().then(function () { return index$6; });
|
|
15426
|
-
case '../components/Layout/classification/index.tsx': return import('./index-
|
|
15427
|
-
case '../components/Layout/gold/index.tsx': return import('./index-
|
|
15428
|
-
case '../components/Layout/ralph/index.tsx': return import('./index-
|
|
15429
|
-
case '../components/Layout/serious/index.tsx': return import('./index-
|
|
15430
|
-
case '../components/Layout/seriousRight/index.tsx': return import('./index-
|
|
15431
|
-
case '../components/Layout/standard/index.tsx': return import('./index-
|
|
15432
|
-
case '../components/Layout/wysiwyg/index.tsx': return import('./index-
|
|
15433
|
-
case '../components/Product/ContentItemWrapper/index.tsx': return import('./index-
|
|
15434
|
-
case '../components/Product/Product/index.tsx': return import('./index-
|
|
15435
|
-
case '../components/Product/ProductCenter/index.tsx': return import('./index-
|
|
15436
|
-
case '../components/Product/ProductFooter/index.tsx': return import('./index-
|
|
15437
|
-
case '../components/Product/ProductInfo/index.tsx': return import('./index-
|
|
15438
|
-
case '../components/Product/ProductSettings/index.tsx': return import('./index-
|
|
15439
|
-
case '../components/Settings/SettingsDrawer/index.tsx': return import('./index-
|
|
15440
|
-
case '../components/Settings/SettingsExpanderButtons/index.tsx': return import('./index-
|
|
15441
|
-
case '../components/Settings/SettingsHeaderContainer/index.tsx': return import('./index-
|
|
15442
|
-
case '../components/Settings/SettingsScroller/index.tsx': return import('./index-
|
|
15443
|
-
case '../components/Settings/SettingsSwiper/index.tsx': return import('./index-
|
|
15444
|
-
case '../components/TabGroup/ProgressBar/index.tsx': return import('./index-
|
|
15445
|
-
case '../components/TabGroup/Search/index.tsx': return import('./index-
|
|
15446
|
-
case '../components/TabGroup/TabGroupHorizontal/index.tsx': return import('./index-
|
|
15447
|
-
case '../components/TabGroup/TabGroupVertical/index.tsx': return import('./index-
|
|
15448
|
-
case '../components/Action/Basket/gold/index.tsx': return import('./index-
|
|
15449
|
-
case '../components/Action/Basket/ralph/index.tsx': return import('./index-
|
|
15450
|
-
case '../components/Action/Basket/serious/index.tsx': return import('./index-
|
|
15451
|
-
case '../components/Action/Basket/standard/index.tsx': return import('./index-
|
|
15452
|
-
case '../components/Action/Navigation/blue/index.tsx': return import('./index-
|
|
15453
|
-
case '../components/Action/Navigation/gold/index.tsx': return import('./index-
|
|
15454
|
-
case '../components/Action/Navigation/ralph/index.tsx': return import('./index-
|
|
15455
|
-
case '../components/Action/Navigation/standard/index.tsx': return import('./index-
|
|
15456
|
-
case '../components/Action/Navigation/wysiwyg/index.tsx': return import('./index-
|
|
15790
|
+
case '../components/Layout/classification/index.tsx': return import('./index-9f4291ed.js');
|
|
15791
|
+
case '../components/Layout/gold/index.tsx': return import('./index-8da362e7.js');
|
|
15792
|
+
case '../components/Layout/ralph/index.tsx': return import('./index-d83af9ce.js');
|
|
15793
|
+
case '../components/Layout/serious/index.tsx': return import('./index-ef359752.js');
|
|
15794
|
+
case '../components/Layout/seriousRight/index.tsx': return import('./index-65360616.js');
|
|
15795
|
+
case '../components/Layout/standard/index.tsx': return import('./index-830447ef.js');
|
|
15796
|
+
case '../components/Layout/wysiwyg/index.tsx': return import('./index-ab4b4cb8.js');
|
|
15797
|
+
case '../components/Product/ContentItemWrapper/index.tsx': return import('./index-d829c70f.js');
|
|
15798
|
+
case '../components/Product/Product/index.tsx': return import('./index-5f5e67be.js');
|
|
15799
|
+
case '../components/Product/ProductCenter/index.tsx': return import('./index-4cab5cbf.js');
|
|
15800
|
+
case '../components/Product/ProductFooter/index.tsx': return import('./index-67ec2f5b.js');
|
|
15801
|
+
case '../components/Product/ProductInfo/index.tsx': return import('./index-e8a45d13.js');
|
|
15802
|
+
case '../components/Product/ProductSettings/index.tsx': return import('./index-50d5f4c5.js');
|
|
15803
|
+
case '../components/Settings/SettingsDrawer/index.tsx': return import('./index-ddc68a29.js');
|
|
15804
|
+
case '../components/Settings/SettingsExpanderButtons/index.tsx': return import('./index-8e2a4f06.js');
|
|
15805
|
+
case '../components/Settings/SettingsHeaderContainer/index.tsx': return import('./index-2a47f172.js');
|
|
15806
|
+
case '../components/Settings/SettingsScroller/index.tsx': return import('./index-02d964f2.js');
|
|
15807
|
+
case '../components/Settings/SettingsSwiper/index.tsx': return import('./index-e497d62f.js');
|
|
15808
|
+
case '../components/TabGroup/ProgressBar/index.tsx': return import('./index-433182bc.js');
|
|
15809
|
+
case '../components/TabGroup/Search/index.tsx': return import('./index-5831525e.js');
|
|
15810
|
+
case '../components/TabGroup/TabGroupHorizontal/index.tsx': return import('./index-1835dddc.js');
|
|
15811
|
+
case '../components/TabGroup/TabGroupVertical/index.tsx': return import('./index-271c9d9c.js');
|
|
15812
|
+
case '../components/Action/Basket/gold/index.tsx': return import('./index-373b7273.js');
|
|
15813
|
+
case '../components/Action/Basket/ralph/index.tsx': return import('./index-3cb7cf48.js');
|
|
15814
|
+
case '../components/Action/Basket/serious/index.tsx': return import('./index-1218ff75.js');
|
|
15815
|
+
case '../components/Action/Basket/standard/index.tsx': return import('./index-81925f76.js');
|
|
15816
|
+
case '../components/Action/Navigation/blue/index.tsx': return import('./index-8c986037.js');
|
|
15817
|
+
case '../components/Action/Navigation/gold/index.tsx': return import('./index-13909b62.js');
|
|
15818
|
+
case '../components/Action/Navigation/ralph/index.tsx': return import('./index-123ce416.js');
|
|
15819
|
+
case '../components/Action/Navigation/standard/index.tsx': return import('./index-13908246.js');
|
|
15820
|
+
case '../components/Action/Navigation/wysiwyg/index.tsx': return import('./index-c185167d.js');
|
|
15457
15821
|
case '../components/GlobalElements/AiRoomsSelection/LeadKeyModal/index.tsx': return Promise.resolve().then(function () { return index$8; });
|
|
15458
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/index.tsx': return import('./index-
|
|
15822
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/index.tsx': return import('./index-73fa2cb7.js');
|
|
15459
15823
|
case '../components/GlobalElements/Checkout/AGB/index.tsx': return Promise.resolve().then(function () { return index$n; });
|
|
15460
15824
|
case '../components/GlobalElements/Checkout/ClickToCall/index.tsx': return Promise.resolve().then(function () { return index$a; });
|
|
15461
15825
|
case '../components/GlobalElements/Checkout/CreateAppointment/index.tsx': return Promise.resolve().then(function () { return index$l; });
|
|
@@ -15466,201 +15830,202 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
15466
15830
|
case '../components/GlobalElements/Checkout/Save/index.tsx': return Promise.resolve().then(function () { return index$d; });
|
|
15467
15831
|
case '../components/GlobalElements/Checkout/SavePDF/index.tsx': return Promise.resolve().then(function () { return index$b; });
|
|
15468
15832
|
case '../components/GlobalElements/Checkout/Share/index.tsx': return Promise.resolve().then(function () { return index$f; });
|
|
15469
|
-
case '../components/GlobalElements/PopupWindows/Inputbox/index.tsx': return import('./index-
|
|
15470
|
-
case '../components/Layout/wysiwyg/Toolbar/index.tsx': return import('./index-
|
|
15471
|
-
case '../components/Product/ContentItemWrapper/dontReopenAutomatically/index.tsx': return import('./index-
|
|
15472
|
-
case '../components/Product/Product/catalog/index.tsx': return import('./index-
|
|
15473
|
-
case '../components/Product/Product/serious/index.tsx': return import('./index-
|
|
15474
|
-
case '../components/Product/Product/standard/index.tsx': return import('./index-
|
|
15475
|
-
case '../components/Product/ProductCenter/MobileNavIcons/index.tsx': return import('./index-
|
|
15476
|
-
case '../components/Product/ProductCenter/Planner2DGird/index.tsx': return import('./index-
|
|
15477
|
-
case '../components/Product/ProductCenter/Planner3D/index.tsx': return import('./index-
|
|
15478
|
-
case '../components/Product/ProductCenter/Planner3DImage/index.tsx': return import('./index-
|
|
15479
|
-
case '../components/Product/ProductCenter/PlannerAIRoom/index.tsx': return import('./index-
|
|
15480
|
-
case '../components/Product/ProductCenter/PlannerMsgContainer/index.tsx': return import('./index-
|
|
15481
|
-
case '../components/Product/ProductCenter/PlannerRTV/index.tsx': return import('./index-
|
|
15482
|
-
case '../components/Product/ProductCenter/
|
|
15483
|
-
case '../components/Product/ProductCenter/
|
|
15484
|
-
case '../components/Product/ProductCenter/
|
|
15485
|
-
case '../components/Product/
|
|
15486
|
-
case '../components/Product/ProductFooter/
|
|
15487
|
-
case '../components/Product/ProductFooter/
|
|
15488
|
-
case '../components/Product/
|
|
15489
|
-
case '../components/Product/ProductHeader/
|
|
15490
|
-
case '../components/
|
|
15491
|
-
case '../components/Settings/SettingsScroller/
|
|
15492
|
-
case '../components/Settings/SettingsScroller/
|
|
15493
|
-
case '../components/Settings/
|
|
15494
|
-
case '../components/
|
|
15495
|
-
case '../components/TabGroup/
|
|
15496
|
-
case '../components/
|
|
15497
|
-
case '../components/
|
|
15498
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/
|
|
15499
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/
|
|
15833
|
+
case '../components/GlobalElements/PopupWindows/Inputbox/index.tsx': return import('./index-39484e30.js');
|
|
15834
|
+
case '../components/Layout/wysiwyg/Toolbar/index.tsx': return import('./index-8573dbf4.js');
|
|
15835
|
+
case '../components/Product/ContentItemWrapper/dontReopenAutomatically/index.tsx': return import('./index-106a5856.js');
|
|
15836
|
+
case '../components/Product/Product/catalog/index.tsx': return import('./index-93e88012.js');
|
|
15837
|
+
case '../components/Product/Product/serious/index.tsx': return import('./index-ab67e0fd.js');
|
|
15838
|
+
case '../components/Product/Product/standard/index.tsx': return import('./index-3567cd34.js');
|
|
15839
|
+
case '../components/Product/ProductCenter/MobileNavIcons/index.tsx': return import('./index-0e3bf26d.js');
|
|
15840
|
+
case '../components/Product/ProductCenter/Planner2DGird/index.tsx': return import('./index-85e0b5aa.js');
|
|
15841
|
+
case '../components/Product/ProductCenter/Planner3D/index.tsx': return import('./index-44b596df.js');
|
|
15842
|
+
case '../components/Product/ProductCenter/Planner3DImage/index.tsx': return import('./index-07e3a28c.js').then(function (n) { return n.b; });
|
|
15843
|
+
case '../components/Product/ProductCenter/PlannerAIRoom/index.tsx': return import('./index-d5b82d9f.js');
|
|
15844
|
+
case '../components/Product/ProductCenter/PlannerMsgContainer/index.tsx': return import('./index-33f96c00.js');
|
|
15845
|
+
case '../components/Product/ProductCenter/PlannerRTV/index.tsx': return import('./index-8621ba87.js');
|
|
15846
|
+
case '../components/Product/ProductCenter/PlannerRTVNext/index.tsx': return import('./index-fd418d94.js');
|
|
15847
|
+
case '../components/Product/ProductCenter/PlannerUI/index.tsx': return import('./index-5c0d278a.js');
|
|
15848
|
+
case '../components/Product/ProductCenter/RoomListSelection/index.tsx': return import('./index-7f58c94e.js');
|
|
15849
|
+
case '../components/Product/ProductCenter/RotateInfo/index.tsx': return import('./index-62f57622.js');
|
|
15850
|
+
case '../components/Product/ProductFooter/gold/index.tsx': return import('./index-a719f387.js');
|
|
15851
|
+
case '../components/Product/ProductFooter/ralph/index.tsx': return import('./index-d2a71f57.js');
|
|
15852
|
+
case '../components/Product/ProductFooter/standard/index.tsx': return import('./index-747a1a0d.js');
|
|
15853
|
+
case '../components/Product/ProductHeader/Functions/index.tsx': return import('./index-afd04cc2.js');
|
|
15854
|
+
case '../components/Product/ProductHeader/ProductHeader/index.tsx': return import('./index-4dc2e098.js');
|
|
15855
|
+
case '../components/Settings/SettingsScroller/SettingsItem/index.tsx': return import('./index-c99d015b.js').then(function (n) { return n.d; });
|
|
15856
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/index.tsx': return import('./index-859f0bb8.js');
|
|
15857
|
+
case '../components/Settings/SettingsScroller/SubTabGroup/index.tsx': return import('./index-c18aab5c.js');
|
|
15858
|
+
case '../components/Settings/SettingsSwiper/NavForwardButton/index.tsx': return import('./index-49fc16cb.js');
|
|
15859
|
+
case '../components/TabGroup/TabGroupHorizontal/item/index.tsx': return import('./index-9cde92a8.js');
|
|
15860
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/index.tsx': return import('./index-a4b879c2.js');
|
|
15861
|
+
case '../components/Action/Basket/ralph/PriceSumm/index.tsx': return import('./index-39458526.js');
|
|
15862
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/CustomInput/index.tsx': return import('./index-ea08c6de.js');
|
|
15863
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/InfoBanner/index.tsx': return import('./index-a91e9654.js');
|
|
15864
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/index.tsx': return import('./index-60ad7ed4.js');
|
|
15500
15865
|
case '../components/GlobalElements/Checkout/Share/CreatignQrCode/index.tsx': return Promise.resolve().then(function () { return index$j; });
|
|
15501
15866
|
case '../components/GlobalElements/Checkout/Share/LoadingButton/index.tsx': return Promise.resolve().then(function () { return index$m; });
|
|
15502
15867
|
case '../components/GlobalElements/Checkout/Share/MultiToggleSwitch/index.tsx': return Promise.resolve().then(function () { return index$k; });
|
|
15503
15868
|
case '../components/GlobalElements/Checkout/Share/ShareViaEmail/index.tsx': return Promise.resolve().then(function () { return index$g; });
|
|
15504
15869
|
case '../components/GlobalElements/Checkout/Share/ShareViaSocialMedias/index.tsx': return Promise.resolve().then(function () { return index$h; });
|
|
15505
15870
|
case '../components/GlobalElements/Checkout/Share/ShareViaUrl/index.tsx': return Promise.resolve().then(function () { return index$i; });
|
|
15506
|
-
case '../components/Layout/wysiwyg/Toolbar/FloatingWindow/index.tsx': return import('./index-
|
|
15507
|
-
case '../components/Layout/wysiwyg/Toolbar/ToolContainer/index.tsx': return import('./index-
|
|
15508
|
-
case '../components/Product/Product/catalog/Sidebar/index.tsx': return import('./index-
|
|
15509
|
-
case '../components/Product/Product/serious/CheckoutForm/index.tsx': return import('./index-
|
|
15510
|
-
case '../components/Product/ProductCenter/Planner3DImage/Logo/index.tsx': return import('./index-
|
|
15511
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/index.tsx': return import('./index-
|
|
15512
|
-
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/index.tsx': return import('./index-
|
|
15871
|
+
case '../components/Layout/wysiwyg/Toolbar/FloatingWindow/index.tsx': return import('./index-66a6a18d.js');
|
|
15872
|
+
case '../components/Layout/wysiwyg/Toolbar/ToolContainer/index.tsx': return import('./index-e9898803.js');
|
|
15873
|
+
case '../components/Product/Product/catalog/Sidebar/index.tsx': return import('./index-2cf61d00.js');
|
|
15874
|
+
case '../components/Product/Product/serious/CheckoutForm/index.tsx': return import('./index-78c7d4ae.js');
|
|
15875
|
+
case '../components/Product/ProductCenter/Planner3DImage/Logo/index.tsx': return import('./index-9e9f53c2.js');
|
|
15876
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/index.tsx': return import('./index-0da8e4f5.js');
|
|
15877
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/index.tsx': return import('./index-cb5f8635.js');
|
|
15513
15878
|
case '../components/Product/ProductCenter/PlannerMsgContainer/PlannerMsgItem/index.tsx': return Promise.resolve().then(function () { return index$4; });
|
|
15514
|
-
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/index.tsx': return import('./index-
|
|
15515
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/index.tsx': return import('./index-
|
|
15516
|
-
case '../components/Product/ProductCenter/RoomListSelection/serious/index.tsx': return import('./index-
|
|
15517
|
-
case '../components/Product/ProductCenter/RoomListSelection/standard/index.tsx': return import('./index-
|
|
15518
|
-
case '../components/Product/ProductHeader/Functions/StyleIndicator/index.tsx': return import('./index-
|
|
15519
|
-
case '../components/Product/ProductHeader/ProductHeader/blue/index.tsx': return import('./index-
|
|
15520
|
-
case '../components/Product/ProductHeader/ProductHeader/gold/index.tsx': return import('./index-
|
|
15521
|
-
case '../components/Product/ProductHeader/ProductHeader/ralph/index.tsx': return import('./index-
|
|
15522
|
-
case '../components/Product/ProductHeader/ProductHeader/standard/index.tsx': return import('./index-
|
|
15523
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/DockFilter/index.tsx': return import('./index-
|
|
15524
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/index.tsx': return import('./index-
|
|
15525
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/Searchbar/index.tsx': return import('./index-
|
|
15879
|
+
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/index.tsx': return import('./index-88842a4d.js');
|
|
15880
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/index.tsx': return import('./index-fca70154.js');
|
|
15881
|
+
case '../components/Product/ProductCenter/RoomListSelection/serious/index.tsx': return import('./index-1d5baa3b.js');
|
|
15882
|
+
case '../components/Product/ProductCenter/RoomListSelection/standard/index.tsx': return import('./index-0876ef9d.js');
|
|
15883
|
+
case '../components/Product/ProductHeader/Functions/StyleIndicator/index.tsx': return import('./index-2b56d780.js');
|
|
15884
|
+
case '../components/Product/ProductHeader/ProductHeader/blue/index.tsx': return import('./index-e27608a7.js');
|
|
15885
|
+
case '../components/Product/ProductHeader/ProductHeader/gold/index.tsx': return import('./index-df7347d9.js');
|
|
15886
|
+
case '../components/Product/ProductHeader/ProductHeader/ralph/index.tsx': return import('./index-8ee4175f.js');
|
|
15887
|
+
case '../components/Product/ProductHeader/ProductHeader/standard/index.tsx': return import('./index-43998f39.js');
|
|
15888
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/DockFilter/index.tsx': return import('./index-65f10148.js');
|
|
15889
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/index.tsx': return import('./index-fdc1cd3c.js');
|
|
15890
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/Searchbar/index.tsx': return import('./index-5ce2f921.js');
|
|
15526
15891
|
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/index.tsx': return Promise.resolve().then(function () { return index$3; });
|
|
15527
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsConfigSingle/index.tsx': return import('./index-
|
|
15528
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/index.tsx': return import('./index-
|
|
15529
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ComponentMap/index.tsx': return import('./index-
|
|
15530
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemWrapper/index.tsx': return import('./index-
|
|
15531
|
-
case '../components/Settings/SettingsScroller/SettingsItem/StepInfo/index.tsx': return import('./index-
|
|
15532
|
-
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/ContentItemTeaser/index.tsx': return import('./index-
|
|
15533
|
-
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/SettingsItemsGroup/index.tsx': return import('./index-
|
|
15534
|
-
case '../components/Settings/SettingsScroller/SubTabGroup/SubTabGroupHeader/index.tsx': return import('./index-
|
|
15535
|
-
case '../components/TabGroup/TabGroupHorizontal/item/gold/index.tsx': return import('./index-
|
|
15536
|
-
case '../components/TabGroup/TabGroupHorizontal/item/inspiration/index.tsx': return import('./index-
|
|
15537
|
-
case '../components/TabGroup/TabGroupHorizontal/item/ralph/index.tsx': return import('./index-
|
|
15538
|
-
case '../components/TabGroup/TabGroupHorizontal/item/standard/index.tsx': return import('./index-
|
|
15539
|
-
case '../components/TabGroup/TabGroupHorizontal/item/wysiwyg/index.tsx': return import('./index-
|
|
15540
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/index.tsx': return import('./index-
|
|
15541
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/free/index.tsx': return import('./index-
|
|
15542
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/mountain/index.tsx': return import('./index-
|
|
15543
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/serious/index.tsx': return import('./index-
|
|
15544
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/standard/index.tsx': return import('./index-
|
|
15545
|
-
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/UploadItem/index.tsx': return import('./index-
|
|
15546
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/gold/index.tsx': return import('./index-
|
|
15547
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/serious/index.tsx': return import('./index-
|
|
15548
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/index.tsx': return import('./index-
|
|
15549
|
-
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/serious/index.tsx': return import('./index-
|
|
15550
|
-
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/standard/index.tsx': return import('./index-
|
|
15551
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Outline/index.tsx': return import('./index-
|
|
15552
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Outline3D/index.tsx': return import('./index-
|
|
15553
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/PosNr/index.tsx': return import('./index-
|
|
15554
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Trash/index.tsx': return import('./index-
|
|
15555
|
-
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/ItemsDPAccContainer/index.tsx': return import('./index-
|
|
15556
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/gold/index.tsx': return import('./index-
|
|
15557
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/hidden/index.tsx': return import('./index-
|
|
15558
|
-
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/standard/index.tsx': return import('./index-
|
|
15559
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/index.tsx': return import('./index-
|
|
15560
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/index.tsx': return import('./index-
|
|
15561
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/serious/index.tsx': return import('./index-
|
|
15562
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/index.tsx': return import('./index-
|
|
15563
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/SettingsPosNr/index.tsx': return import('./index-
|
|
15564
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/ConceptFilter/index.tsx': return import('./index-
|
|
15565
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/HorizontalGroup/index.tsx': return import('./index-
|
|
15566
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/index.tsx': return import('./index-
|
|
15567
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroupDropdown/index.tsx': return import('./index-
|
|
15568
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/index.tsx': return import('./index-
|
|
15569
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/DoorPlanner/index.tsx': return import('./index-
|
|
15570
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/index.tsx': return import('./index-
|
|
15571
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Promoted/index.tsx': return import('./index-
|
|
15572
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/index.tsx': return import('./index-
|
|
15573
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.tsx': return import('./UnlockCard-
|
|
15574
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/index.tsx': return import('./index-
|
|
15575
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/Header/index.tsx': return import('./index-
|
|
15576
|
-
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/configstep/index.tsx': return import('./index-
|
|
15577
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/index.tsx': return import('./index-
|
|
15578
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/BoxCopy/index.tsx': return import('./index-
|
|
15579
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/ElementCopy/index.tsx': return import('./index-
|
|
15580
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Dimension/DistanceToGround/index.tsx': return import('./index-
|
|
15581
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVL/index.tsx': return import('./index-
|
|
15582
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVR/index.tsx': return import('./index-
|
|
15583
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/DPACC/index.tsx': return import('./index-
|
|
15584
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationClockwise/index.tsx': return import('./index-
|
|
15585
|
-
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationCounterClockwise/index.tsx': return import('./index-
|
|
15586
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/Arrow/index.tsx': return import('./index-
|
|
15587
|
-
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/FilterItem/index.tsx': return import('./index-
|
|
15588
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/InfoButton/index.tsx': return import('./index-
|
|
15589
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/NumberInput/index.tsx': return import('./index-
|
|
15590
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/PDFButton/index.tsx': return import('./index-
|
|
15591
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/index.tsx': return import('./index-
|
|
15592
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SummaryVariantButton/index.tsx': return import('./index-
|
|
15593
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/index.tsx': return import('./index-
|
|
15594
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/index.tsx': return import('./index-
|
|
15595
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/serious/index.tsx': return import('./index-
|
|
15596
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/standard/index.tsx': return import('./index-
|
|
15597
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ArticleOverviewWrapper/index.tsx': return import('./index-
|
|
15598
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Default/index.tsx': return import('./index-
|
|
15599
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Facelift/index.tsx': return import('./index-
|
|
15600
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/index.tsx': return import('./index-
|
|
15601
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerSwitch/index.tsx': return import('./index-
|
|
15602
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ReplaceSwitch/index.tsx': return import('./index-
|
|
15603
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/index.tsx': return import('./index-
|
|
15604
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/InfoIcon/index.tsx': return import('./index-
|
|
15605
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/MetaData/index.tsx': return import('./index-
|
|
15892
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsConfigSingle/index.tsx': return import('./index-fa8ac48e.js');
|
|
15893
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/index.tsx': return import('./index-73522d77.js');
|
|
15894
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ComponentMap/index.tsx': return import('./index-feb5a4a4.js');
|
|
15895
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemWrapper/index.tsx': return import('./index-c99d015b.js').then(function (n) { return n.b; });
|
|
15896
|
+
case '../components/Settings/SettingsScroller/SettingsItem/StepInfo/index.tsx': return import('./index-13eba10c.js');
|
|
15897
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/ContentItemTeaser/index.tsx': return import('./index-38012daa.js');
|
|
15898
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/SettingsItemsGroup/index.tsx': return import('./index-d9774535.js');
|
|
15899
|
+
case '../components/Settings/SettingsScroller/SubTabGroup/SubTabGroupHeader/index.tsx': return import('./index-eddc2d8c.js');
|
|
15900
|
+
case '../components/TabGroup/TabGroupHorizontal/item/gold/index.tsx': return import('./index-e5759f7d.js');
|
|
15901
|
+
case '../components/TabGroup/TabGroupHorizontal/item/inspiration/index.tsx': return import('./index-aae35537.js');
|
|
15902
|
+
case '../components/TabGroup/TabGroupHorizontal/item/ralph/index.tsx': return import('./index-ed85825f.js');
|
|
15903
|
+
case '../components/TabGroup/TabGroupHorizontal/item/standard/index.tsx': return import('./index-6bef7985.js');
|
|
15904
|
+
case '../components/TabGroup/TabGroupHorizontal/item/wysiwyg/index.tsx': return import('./index-07de7393.js');
|
|
15905
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/index.tsx': return import('./index-c05657b8.js');
|
|
15906
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/free/index.tsx': return import('./index-e971f57c.js');
|
|
15907
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/mountain/index.tsx': return import('./index-85c5d4eb.js');
|
|
15908
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/serious/index.tsx': return import('./index-5993cf4b.js');
|
|
15909
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/standard/index.tsx': return import('./index-22129d0b.js');
|
|
15910
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/UploadItem/index.tsx': return import('./index-95d16f7e.js');
|
|
15911
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/gold/index.tsx': return import('./index-7f6f1b6b.js');
|
|
15912
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/serious/index.tsx': return import('./index-fd3c7294.js');
|
|
15913
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/index.tsx': return import('./index-7821be68.js');
|
|
15914
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/serious/index.tsx': return import('./index-24e2c9c9.js');
|
|
15915
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/standard/index.tsx': return import('./index-b1054a03.js');
|
|
15916
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Outline/index.tsx': return import('./index-e767e0d1.js');
|
|
15917
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Outline3D/index.tsx': return import('./index-73f8600d.js');
|
|
15918
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/PosNr/index.tsx': return import('./index-becc5b76.js');
|
|
15919
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Trash/index.tsx': return import('./index-9d2e27c1.js');
|
|
15920
|
+
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/ItemsDPAccContainer/index.tsx': return import('./index-2df35005.js').then(function (n) { return n.i; });
|
|
15921
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/gold/index.tsx': return import('./index-3f967ab7.js');
|
|
15922
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/hidden/index.tsx': return import('./index-223d941a.js');
|
|
15923
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/standard/index.tsx': return import('./index-b12de26e.js');
|
|
15924
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/index.tsx': return import('./index-77c705e2.js');
|
|
15925
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/index.tsx': return import('./index-f7feac8d.js');
|
|
15926
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/serious/index.tsx': return import('./index-e5e1e1e1.js');
|
|
15927
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/index.tsx': return import('./index-9f6f568f.js');
|
|
15928
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/SettingsPosNr/index.tsx': return import('./index-0a2fbce8.js').then(function (n) { return n.i; });
|
|
15929
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/ConceptFilter/index.tsx': return import('./index-66de6a0b.js');
|
|
15930
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/HorizontalGroup/index.tsx': return import('./index-c99d015b.js').then(function (n) { return n.i; });
|
|
15931
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/index.tsx': return import('./index-4f872377.js');
|
|
15932
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroupDropdown/index.tsx': return import('./index-ad036a50.js');
|
|
15933
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/index.tsx': return import('./index-1228f6d8.js');
|
|
15934
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/DoorPlanner/index.tsx': return import('./index-8c957291.js');
|
|
15935
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/index.tsx': return import('./index-a7496ea1.js');
|
|
15936
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Promoted/index.tsx': return import('./index-f9162546.js');
|
|
15937
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/index.tsx': return import('./index-00d11115.js');
|
|
15938
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.tsx': return import('./UnlockCard-3f4735b2.js').then(function (n) { return n.M; });
|
|
15939
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/index.tsx': return import('./index-9a25ac85.js');
|
|
15940
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/Header/index.tsx': return import('./index-ef1abce5.js');
|
|
15941
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/configstep/index.tsx': return import('./index-6485628e.js');
|
|
15942
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/index.tsx': return import('./index-ad13b6fc.js');
|
|
15943
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/BoxCopy/index.tsx': return import('./index-88ed1db7.js');
|
|
15944
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/ElementCopy/index.tsx': return import('./index-efd1e97a.js');
|
|
15945
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Dimension/DistanceToGround/index.tsx': return import('./index-9a7d0111.js');
|
|
15946
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVL/index.tsx': return import('./index-57c7e4b5.js');
|
|
15947
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVR/index.tsx': return import('./index-97dd4545.js');
|
|
15948
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/DPACC/index.tsx': return import('./index-9aa458c5.js');
|
|
15949
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationClockwise/index.tsx': return import('./index-df454423.js');
|
|
15950
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationCounterClockwise/index.tsx': return import('./index-d63d7688.js');
|
|
15951
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/Arrow/index.tsx': return import('./index-8206408d.js');
|
|
15952
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/FilterItem/index.tsx': return import('./index-b24b2138.js');
|
|
15953
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/InfoButton/index.tsx': return import('./index-b07c2a2c.js');
|
|
15954
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/NumberInput/index.tsx': return import('./index-705b3b54.js');
|
|
15955
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/PDFButton/index.tsx': return import('./index-04664096.js');
|
|
15956
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/index.tsx': return import('./index-c99ee01a.js');
|
|
15957
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SummaryVariantButton/index.tsx': return import('./index-9eaa57b1.js');
|
|
15958
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/index.tsx': return import('./index-73ff216a.js');
|
|
15959
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/index.tsx': return import('./index-2504847e.js');
|
|
15960
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/serious/index.tsx': return import('./index-5c2d2107.js');
|
|
15961
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/standard/index.tsx': return import('./index-eef9c61f.js');
|
|
15962
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ArticleOverviewWrapper/index.tsx': return import('./index-c99d015b.js').then(function (n) { return n.a; });
|
|
15963
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Default/index.tsx': return import('./index-2e4dfaff.js');
|
|
15964
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Facelift/index.tsx': return import('./index-e5f412ac.js');
|
|
15965
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/index.tsx': return import('./index-0a53e583.js');
|
|
15966
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerSwitch/index.tsx': return import('./index-50a4df67.js');
|
|
15967
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ReplaceSwitch/index.tsx': return import('./index-7ed4c41e.js');
|
|
15968
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/index.tsx': return import('./index-a5b09047.js');
|
|
15969
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/InfoIcon/index.tsx': return import('./index-20bc3775.js');
|
|
15970
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/MetaData/index.tsx': return import('./index-76047a52.js');
|
|
15606
15971
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/PriceCounter/index.tsx': return Promise.resolve().then(function () { return index$2; });
|
|
15607
15972
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/PricePreview/index.tsx': return Promise.resolve().then(function () { return index$1; });
|
|
15608
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ReverseCheck/index.tsx': return import('./index-
|
|
15973
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ReverseCheck/index.tsx': return import('./index-272415ce.js');
|
|
15609
15974
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/Tooltip/index.tsx': return Promise.resolve().then(function () { return index; });
|
|
15610
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/index.tsx': return import('./index-
|
|
15611
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/TextBox/index.tsx': return import('./index-
|
|
15612
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Gallery/index.tsx': return import('./index-
|
|
15613
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText/index.tsx': return import('./index-
|
|
15614
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText2/index.tsx': return import('./index-
|
|
15615
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/index.tsx': return import('./index-
|
|
15616
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/Search/index.tsx': return import('./index-
|
|
15617
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/index.tsx': return import('./index-
|
|
15618
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/SelectedAcc/index.tsx': return import('./index-
|
|
15619
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoires/index.tsx': return import('./index-
|
|
15620
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoiresOld/index.tsx': return import('./index-
|
|
15621
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Articles/index.tsx': return import('./index-
|
|
15622
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/index.tsx': return import('./index-
|
|
15623
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/index.tsx': return import('./index-
|
|
15624
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/TotalPrice/index.tsx': return import('./index-
|
|
15625
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Variants/index.tsx': return import('./index-
|
|
15975
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/index.tsx': return import('./index-d698061d.js');
|
|
15976
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/TextBox/index.tsx': return import('./index-98a74c16.js');
|
|
15977
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Gallery/index.tsx': return import('./index-42f2a415.js');
|
|
15978
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText/index.tsx': return import('./index-3d1b156f.js');
|
|
15979
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText2/index.tsx': return import('./index-84b299d6.js');
|
|
15980
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/index.tsx': return import('./index-a41aa14b.js');
|
|
15981
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/Search/index.tsx': return import('./index-22389ed8.js');
|
|
15982
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/index.tsx': return import('./index-211856e0.js');
|
|
15983
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/SelectedAcc/index.tsx': return import('./index-f17b5e41.js').then(function (n) { return n.j; });
|
|
15984
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoires/index.tsx': return import('./index-064a58a8.js');
|
|
15985
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoiresOld/index.tsx': return import('./index-a937a019.js');
|
|
15986
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Articles/index.tsx': return import('./index-d06a14dc.js');
|
|
15987
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/index.tsx': return import('./index-ef505e6e.js');
|
|
15988
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/index.tsx': return import('./index-05ec5456.js');
|
|
15989
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/TotalPrice/index.tsx': return import('./index-bb347706.js');
|
|
15990
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Variants/index.tsx': return import('./index-0ec61a56.js');
|
|
15626
15991
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleElement/index.tsx': return Promise.resolve().then(function () { return index$5; });
|
|
15627
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleHeader/index.tsx': return import('./index-
|
|
15628
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleName/index.tsx': return import('./index-
|
|
15629
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleOption/index.tsx': return import('./index-
|
|
15630
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/FullscreenAr/index.tsx': return import('./index-
|
|
15631
|
-
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/Tooltip/index.tsx': return import('./index-
|
|
15632
|
-
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/Item/index.tsx': return import('./index-
|
|
15633
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/group/index.tsx': return import('./index-
|
|
15634
|
-
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/Group/index.tsx': return import('./index-
|
|
15635
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/addElement/index.tsx': return import('./index-
|
|
15636
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/CollapsibleTrigger/index.tsx': return import('./index-
|
|
15637
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/ConceptItem/index.tsx': return import('./index-
|
|
15638
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/InfoBanner/index.tsx': return import('./index-
|
|
15639
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/serious/index.tsx': return import('./index-
|
|
15640
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/index.tsx': return import('./index-
|
|
15641
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/index.tsx': return import('./index-
|
|
15642
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/index.tsx': return import('./index-
|
|
15643
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/NumberBox/index.tsx': return import('./index-
|
|
15644
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Radio/index.tsx': return import('./index-
|
|
15645
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Range/index.tsx': return import('./index-
|
|
15646
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Slider/index.tsx': return import('./index-
|
|
15647
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/standard/index.tsx': return import('./index-
|
|
15648
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/DeleteButton/index.tsx': return import('./index-
|
|
15649
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/serious/index.tsx': return import('./index-
|
|
15650
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/index.tsx': return import('./index-
|
|
15651
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.tsx': return import('./index-
|
|
15652
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/Confetti/index.tsx': return import('./index-
|
|
15653
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/SummaryHeader/index.tsx': return import('./index-
|
|
15654
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/MobileDropdown/index.tsx': return import('./index-
|
|
15655
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/jungle/index.tsx': return import('./index-
|
|
15656
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/standard/index.tsx': return import('./index-
|
|
15657
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/MultiToggleSwitch/index.tsx': return import('./index-
|
|
15658
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/index.tsx': return import('./index-
|
|
15659
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/ViewPoint/index.tsx': return import('./index-
|
|
15660
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/OptionItem/index.tsx': return import('./index-
|
|
15661
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/round/index.tsx': return import('./index-
|
|
15662
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/serious/index.tsx': return import('./index-
|
|
15663
|
-
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/standard/index.tsx': return import('./index-
|
|
15992
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleHeader/index.tsx': return import('./index-3964358a.js');
|
|
15993
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleName/index.tsx': return import('./index-3d163534.js');
|
|
15994
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleOption/index.tsx': return import('./index-33ce2722.js');
|
|
15995
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/FullscreenAr/index.tsx': return import('./index-c6392fa9.js');
|
|
15996
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/Tooltip/index.tsx': return import('./index-2198f950.js');
|
|
15997
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/Item/index.tsx': return import('./index-beb68489.js');
|
|
15998
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/group/index.tsx': return import('./index-b2e0a2a1.js');
|
|
15999
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/Group/index.tsx': return import('./index-1744c06c.js');
|
|
16000
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/addElement/index.tsx': return import('./index-1eda72f9.js').then(function (n) { return n.g; });
|
|
16001
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/CollapsibleTrigger/index.tsx': return import('./index-968e5dc1.js');
|
|
16002
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/ConceptItem/index.tsx': return import('./index-18556074.js');
|
|
16003
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/InfoBanner/index.tsx': return import('./index-68993d98.js');
|
|
16004
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/serious/index.tsx': return import('./index-ad6e733c.js');
|
|
16005
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/index.tsx': return import('./index-65bed696.js');
|
|
16006
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/index.tsx': return import('./index-d9100a6f.js');
|
|
16007
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/index.tsx': return import('./index-c3198b88.js');
|
|
16008
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/NumberBox/index.tsx': return import('./index-9ad37044.js');
|
|
16009
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Radio/index.tsx': return import('./index-bd23079a.js');
|
|
16010
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Range/index.tsx': return import('./index-0c8051ed.js');
|
|
16011
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Slider/index.tsx': return import('./index-8888ff80.js');
|
|
16012
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/standard/index.tsx': return import('./index-5ba34b19.js');
|
|
16013
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/DeleteButton/index.tsx': return import('./index-dcd805e9.js');
|
|
16014
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/serious/index.tsx': return import('./index-f70555bd.js');
|
|
16015
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/index.tsx': return import('./index-8063c96d.js');
|
|
16016
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.tsx': return import('./index-5da75e9a.js');
|
|
16017
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/Confetti/index.tsx': return import('./index-a037c82b.js');
|
|
16018
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/SummaryHeader/index.tsx': return import('./index-89a5bec9.js');
|
|
16019
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/MobileDropdown/index.tsx': return import('./index-5f9f2b96.js');
|
|
16020
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/jungle/index.tsx': return import('./index-49757a8f.js');
|
|
16021
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/standard/index.tsx': return import('./index-f32bfafc.js');
|
|
16022
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/MultiToggleSwitch/index.tsx': return import('./index-20a02afb.js');
|
|
16023
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/index.tsx': return import('./index-d5081d20.js');
|
|
16024
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/ViewPoint/index.tsx': return import('./index-a9ad56ce.js');
|
|
16025
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/OptionItem/index.tsx': return import('./index-8a59028d.js').then(function (n) { return n.i; });
|
|
16026
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/round/index.tsx': return import('./index-549b36e2.js');
|
|
16027
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/serious/index.tsx': return import('./index-ad92fd09.js');
|
|
16028
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/standard/index.tsx': return import('./index-ddbf8330.js');
|
|
15664
16029
|
default: return new Promise(function(resolve, reject) {
|
|
15665
16030
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
|
15666
16031
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
|
@@ -15703,17 +16068,25 @@ var DivaWebPlannerMain = observer(function () {
|
|
|
15703
16068
|
});
|
|
15704
16069
|
|
|
15705
16070
|
var analyzerComponentsContext = /*#__PURE__*/createContext({});
|
|
16071
|
+
var rtvAnalyzerContext = /*#__PURE__*/createContext({});
|
|
15706
16072
|
var AnalyzerComponentsProvider = function AnalyzerComponentsProvider(_ref) {
|
|
15707
16073
|
var components = _ref.components,
|
|
16074
|
+
rtvAnalyzerComponents = _ref.rtvAnalyzerComponents,
|
|
15708
16075
|
children = _ref.children;
|
|
15709
16076
|
return /*#__PURE__*/jsx(analyzerComponentsContext.Provider, {
|
|
15710
16077
|
value: components,
|
|
15711
|
-
children:
|
|
16078
|
+
children: /*#__PURE__*/jsx(rtvAnalyzerContext.Provider, {
|
|
16079
|
+
value: rtvAnalyzerComponents !== null && rtvAnalyzerComponents !== void 0 ? rtvAnalyzerComponents : {},
|
|
16080
|
+
children: children
|
|
16081
|
+
})
|
|
15712
16082
|
});
|
|
15713
16083
|
};
|
|
15714
16084
|
var useAnalyzerComponents = function useAnalyzerComponents() {
|
|
15715
16085
|
return useContext(analyzerComponentsContext);
|
|
15716
16086
|
};
|
|
16087
|
+
var useRTVAnalyzerComponentsFromPlanner = function useRTVAnalyzerComponentsFromPlanner() {
|
|
16088
|
+
return useContext(rtvAnalyzerContext);
|
|
16089
|
+
};
|
|
15717
16090
|
var MissingAnalyzerComponent = function MissingAnalyzerComponent(_ref2) {
|
|
15718
16091
|
var name = _ref2.name;
|
|
15719
16092
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -15795,7 +16168,11 @@ var wcPlannerInfoContainerCollapsed = "wcPlanner_InfoContainerCollapsed-xs0DF";
|
|
|
15795
16168
|
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";
|
|
15796
16169
|
styleInject(css_248z$2);
|
|
15797
16170
|
|
|
16171
|
+
var CONFIGURATOR_MSG_FALLBACK = {
|
|
16172
|
+
THREE_D_CATALOG_UNAVAILABLE: '3D view is currently unavailable because the product catalog was not loaded. Planning in 2D still works.'
|
|
16173
|
+
};
|
|
15798
16174
|
var PlannerMsgItem = function PlannerMsgItem(_ref) {
|
|
16175
|
+
var _CONFIGURATOR_MSG_FAL;
|
|
15799
16176
|
var item = _ref.item,
|
|
15800
16177
|
codex = _ref.codex;
|
|
15801
16178
|
var viewHandler = useViewHandler();
|
|
@@ -15822,7 +16199,9 @@ var PlannerMsgItem = function PlannerMsgItem(_ref) {
|
|
|
15822
16199
|
}), /*#__PURE__*/jsx("div", {
|
|
15823
16200
|
className: classnames(wcPlannerMsgText, item.type == 'INFO' ? wcPlannerInfoText : undefined, item.type == 'WARNING' ? wcPlannerWarningText : undefined),
|
|
15824
16201
|
dangerouslySetInnerHTML: typeof item.content == 'string' ? {
|
|
15825
|
-
__html: t('configurator.' + item.content,
|
|
16202
|
+
__html: t('configurator.' + item.content, {
|
|
16203
|
+
defaultValue: (_CONFIGURATOR_MSG_FAL = CONFIGURATOR_MSG_FALLBACK[codex]) !== null && _CONFIGURATOR_MSG_FAL !== void 0 ? _CONFIGURATOR_MSG_FAL : item.content
|
|
16204
|
+
})
|
|
15826
16205
|
} : undefined
|
|
15827
16206
|
}), typeof item.content != 'string' && item.content]
|
|
15828
16207
|
});
|
|
@@ -16088,7 +16467,8 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16088
16467
|
settings = _ref.settings,
|
|
16089
16468
|
internal = _ref.internal,
|
|
16090
16469
|
isVisible = _ref.isVisible,
|
|
16091
|
-
analyzerComponents = _ref.analyzerComponents
|
|
16470
|
+
analyzerComponents = _ref.analyzerComponents,
|
|
16471
|
+
rtvAnalyzerComponents = _ref.rtvAnalyzerComponents;
|
|
16092
16472
|
var _useDivaCore = useDivaCore(),
|
|
16093
16473
|
state = _useDivaCore.state,
|
|
16094
16474
|
actions = _useDivaCore.actions,
|
|
@@ -16128,6 +16508,7 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16128
16508
|
}
|
|
16129
16509
|
return /*#__PURE__*/jsx(AnalyzerComponentsProvider, {
|
|
16130
16510
|
components: analyzerComponents !== null && analyzerComponents !== void 0 ? analyzerComponents : {},
|
|
16511
|
+
rtvAnalyzerComponents: rtvAnalyzerComponents,
|
|
16131
16512
|
children: /*#__PURE__*/jsx(ViewHandlerProvider, {
|
|
16132
16513
|
isVisible: isVisible || false,
|
|
16133
16514
|
plannerConfig: _objectSpread(_objectSpread({}, initObject), {}, {
|
|
@@ -16162,9 +16543,25 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16162
16543
|
})
|
|
16163
16544
|
});
|
|
16164
16545
|
};
|
|
16546
|
+
|
|
16547
|
+
/**
|
|
16548
|
+
* Parameter that may arrive as an object (host component parameters / JSON preset) or as a JSON
|
|
16549
|
+
* string (URL). Invalid or empty JSON yields `undefined` instead of throwing during render — this
|
|
16550
|
+
* runs inside `useMemo` above the error boundary, so a throw here blanks the whole component.
|
|
16551
|
+
*/
|
|
16552
|
+
function parseObjectParam(value) {
|
|
16553
|
+
if (value == null || value === '') return undefined;
|
|
16554
|
+
if (typeof value !== 'string') return value;
|
|
16555
|
+
try {
|
|
16556
|
+
return JSON.parse(value);
|
|
16557
|
+
} catch (err) {
|
|
16558
|
+
LOG.warn('Ignoring parameter with invalid JSON', err);
|
|
16559
|
+
return undefined;
|
|
16560
|
+
}
|
|
16561
|
+
}
|
|
16165
16562
|
function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters, internal, organizationId) {
|
|
16166
16563
|
return useMemo(function () {
|
|
16167
|
-
var _parameters$accountGu, _internal$accountSess, _internal$no3DConnect, _parameters$divaNr, _parameters$DivaNR, _parameters$divanr, _parameters$addDivaNr, _parameters$startDiva, _parameters$initProdu;
|
|
16564
|
+
var _parameters$accountGu, _internal$accountSess, _internal$no3DConnect, _internal$orderlineVa, _parameters$divaNr, _parameters$DivaNR, _parameters$divanr, _internal$createImage, _parameters$addDivaNr, _parameters$startDiva, _parameters$initProdu;
|
|
16168
16565
|
return {
|
|
16169
16566
|
eventSubscriber: eventSubscriber,
|
|
16170
16567
|
eventUnsubscriber: eventUnsubscriber,
|
|
@@ -16177,6 +16574,7 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16177
16574
|
smSupplierNr: parameters === null || parameters === void 0 ? void 0 : parameters.smSupplierNr,
|
|
16178
16575
|
catalogMask: internal === null || internal === void 0 ? void 0 : internal.catalogMask,
|
|
16179
16576
|
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',
|
|
16577
|
+
suppressErrorModals: internal === null || internal === void 0 ? void 0 : internal.suppressErrorModals,
|
|
16180
16578
|
catalogCodex: parameters !== null && parameters !== void 0 && parameters.catalogCodex ? parameters.catalogCodex.toString() : undefined,
|
|
16181
16579
|
catalogGuid: parameters === null || parameters === void 0 ? void 0 : parameters.catalogGuid,
|
|
16182
16580
|
isIDMData: parameters === null || parameters === void 0 ? void 0 : parameters.isIDMData,
|
|
@@ -16184,6 +16582,10 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16184
16582
|
serieId: parameters === null || parameters === void 0 ? void 0 : parameters.serieId,
|
|
16185
16583
|
articleCodexes: parameters !== null && parameters !== void 0 && parameters.articleCodexes ? parameters.articleCodexes.split(';') : undefined,
|
|
16186
16584
|
variantValues: parameters !== null && parameters !== void 0 && parameters.variantValues ? JSON.parse(parameters.variantValues) : undefined,
|
|
16585
|
+
// `internal` is the typed home for structured values (like basketData / supplierColors below);
|
|
16586
|
+
// `parameters` is declared string-only, so a URL still delivers it as JSON text. Same
|
|
16587
|
+
// internal-first-then-parameters shape as `accountSessionGuid` and `no3DConnection`.
|
|
16588
|
+
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),
|
|
16187
16589
|
differentOptions: parameters !== null && parameters !== void 0 && parameters.differentOptions ? JSON.parse(parameters.differentOptions) : undefined,
|
|
16188
16590
|
eventKey: parameters === null || parameters === void 0 ? void 0 : parameters.eventKey,
|
|
16189
16591
|
resetArticle: parameters !== null && parameters !== void 0 && parameters.resetArticle ? Number(parameters === null || parameters === void 0 ? void 0 : parameters.resetArticle) : undefined,
|
|
@@ -16193,6 +16595,8 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16193
16595
|
productId: parameters === null || parameters === void 0 ? void 0 : parameters.productId,
|
|
16194
16596
|
customProductId: parameters === null || parameters === void 0 ? void 0 : parameters.customProductId,
|
|
16195
16597
|
initMode: (parameters === null || parameters === void 0 ? void 0 : parameters.initMode) || (parameters === null || parameters === void 0 ? void 0 : parameters.InitMode) || settings.initMode,
|
|
16598
|
+
// See `orderlineVariantValues` above: object through `internal`, JSON text through the URL.
|
|
16599
|
+
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),
|
|
16196
16600
|
opt: (parameters === null || parameters === void 0 ? void 0 : parameters.opt) || (parameters === null || parameters === void 0 ? void 0 : parameters.OPT),
|
|
16197
16601
|
opv: (parameters === null || parameters === void 0 ? void 0 : parameters.opv) || (parameters === null || parameters === void 0 ? void 0 : parameters.OPV),
|
|
16198
16602
|
configStepKey: parameters === null || parameters === void 0 ? void 0 : parameters.configStepKey,
|
|
@@ -16206,11 +16610,11 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16206
16610
|
configuratorSessionId: internal === null || internal === void 0 ? void 0 : internal.configuratorSessionId,
|
|
16207
16611
|
settings: settings
|
|
16208
16612
|
};
|
|
16209
|
-
}, [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]);
|
|
16613
|
+
}, [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]);
|
|
16210
16614
|
}
|
|
16211
16615
|
var componentConfig = {
|
|
16212
16616
|
name: 'DIVA_WEBPLANNER',
|
|
16213
16617
|
renderFunction: WebPlannerReact
|
|
16214
16618
|
};
|
|
16215
16619
|
|
|
16216
|
-
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,
|
|
16620
|
+
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, b as h, componentConfig as i, mobile$1 as m, rtvNextParamActive as r, styleInject as s, useViewHandler as u, wcPlannerMsgContainerParent as w };
|