@crystaldesign/diva-web-planner-react 26.11.0-beta.3 → 26.11.0-beta.31
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-2b75d076.js} +196 -49
- package/build/esm/{Planner3DImage-8f21be56.js → Planner3DImage-1227ae4d.js} +1 -1
- package/build/esm/{UnlockCard-3fb76e70.js → UnlockCard-d453caf5.js} +1 -1
- package/build/esm/{index-94eb5a0b.js → index-02bf80c2.js} +19 -19
- package/build/esm/{index-854179de.js → index-0333c640.js} +1 -1
- package/build/esm/{index-624149c8.js → index-03f331f1.js} +2 -2
- package/build/esm/{index-345aba6b.js → index-0853f3bb.js} +65 -65
- package/build/esm/{index-e7790e24.js → index-0c2e994b.js} +5 -5
- package/build/esm/index-0db38456.js +965 -0
- package/build/esm/{index-3c925a9c.js → index-1072cce1.js} +2 -2
- package/build/esm/{index-a01e0683.js → index-10c55954.js} +1 -1
- package/build/esm/{index-61b4ebd3.js → index-10c77efd.js} +1 -1
- package/build/esm/{index-882e9781.js → index-10eb429e.js} +1 -1
- package/build/esm/{index-2b748074.js → index-16180e43.js} +1 -1
- package/build/esm/{index-180189d9.js → index-18691afe.js} +70 -70
- package/build/esm/{index-e484cb4b.js → index-194db4dd.js} +3 -3
- package/build/esm/{index-369fda13.js → index-19924394.js} +2 -2
- package/build/esm/{index-031864a2.js → index-1a1d9d49.js} +1 -1
- package/build/esm/{index-57f6aec3.js → index-1b0f4452.js} +1 -1
- package/build/esm/{index-aecb9e6f.js → index-1c06aee7.js} +6 -6
- package/build/esm/{index-e660d80c.js → index-1cda158b.js} +1 -1
- package/build/esm/{index-c5945db2.js → index-206543ad.js} +2 -4
- package/build/esm/{index-765505ab.js → index-2404c1a5.js} +3 -3
- package/build/esm/{index-e6d39b9d.js → index-2464d448.js} +18 -18
- package/build/esm/{index-23cd98ff.js → index-2487bbcd.js} +4 -4
- package/build/esm/{index-fbd3287b.js → index-271b050d.js} +5 -5
- package/build/esm/{index-9a249b74.js → index-272fbc41.js} +1 -1
- package/build/esm/{index-1e8d1616.js → index-27d63749.js} +66 -66
- package/build/esm/{index-84f83c67.js → index-28e8c543.js} +1 -1
- package/build/esm/{index-c7d3af7e.js → index-29152556.js} +73 -73
- package/build/esm/{index-fdf86798.js → index-299dd1d7.js} +91 -91
- package/build/esm/{index-24df5db1.js → index-2b222904.js} +3 -3
- package/build/esm/{index-fcb72e7d.js → index-2b311736.js} +89 -87
- package/build/esm/{index-83d6bb83.js → index-2b816cbb.js} +1 -1
- package/build/esm/{index-dc3778bc.js → index-2cae4848.js} +1 -1
- package/build/esm/{index-1e23c982.js → index-2cf7b7c7.js} +1 -1
- package/build/esm/{index-69650205.js → index-2e37ec62.js} +5 -5
- package/build/esm/{index-8b0a3174.js → index-2ed702ed.js} +1 -1
- package/build/esm/{index-a52f90e6.js → index-2f6a6006.js} +2 -2
- package/build/esm/{index-6092fed5.js → index-2f9f8710.js} +8 -8
- package/build/esm/{index-4a1aeedd.js → index-3258f83f.js} +20 -20
- package/build/esm/{index-73c75e94.js → index-32ce6566.js} +4 -4
- package/build/esm/{index-45ae8ca7.js → index-3320c27f.js} +1 -1
- package/build/esm/{index-34149b78.js → index-338ca5e6.js} +5 -5
- package/build/esm/{index-b48334cf.js → index-33eb7ce7.js} +10 -1
- package/build/esm/{index-7c7b6fc7.js → index-358782f0.js} +1 -1
- package/build/esm/{index-f3c7eafa.js → index-379178ce.js} +1 -1
- package/build/esm/{index-89fd7133.js → index-37992051.js} +1 -1
- package/build/esm/{index-0b387613.js → index-3850649b.js} +90 -90
- package/build/esm/{index-8839bff1.js → index-391a1ec3.js} +6 -6
- package/build/esm/{index-938c8c26.js → index-3a045c84.js} +2 -2
- package/build/esm/{index-7e78bbac.js → index-3c161268.js} +76 -76
- package/build/esm/{index-1ddf1648.js → index-3c381642.js} +1 -1
- package/build/esm/{index-0e80abeb.js → index-3dc757b3.js} +1 -1
- package/build/esm/{index-10cd9e60.js → index-3f715701.js} +7 -7
- package/build/esm/{index-1010faf1.js → index-3f7ecb08.js} +3 -3
- package/build/esm/{index-6c6b3de5.js → index-3fdc60c5.js} +13 -13
- package/build/esm/{index-52eb8599.js → index-3fe0571a.js} +1 -1
- package/build/esm/{index-00e54c23.js → index-400d2ad9.js} +1 -1
- package/build/esm/{index-7176a968.js → index-40a7066f.js} +3 -3
- package/build/esm/{index-959f5aa0.js → index-40ca64b7.js} +22 -22
- package/build/esm/{index-15d52408.js → index-414bc9db.js} +1 -1
- package/build/esm/{index-0908ac1e.js → index-422b59cb.js} +3 -3
- package/build/esm/{index-8b6d1b2c.js → index-45153c84.js} +4 -4
- package/build/esm/{index-4d855034.js → index-48709d20.js} +6 -4
- package/build/esm/{index-37df8f9a.js → index-4a8a4ca9.js} +1 -1
- package/build/esm/index-4bb61877.js +99 -0
- package/build/esm/{index-661042a0.js → index-4cbc4390.js} +2 -2
- package/build/esm/{index-bb42994c.js → index-5008e5b3.js} +89 -89
- package/build/esm/{index-f1c2ec32.js → index-5119923c.js} +1 -1
- package/build/esm/{index-42b71e75.js → index-52b3d317.js} +101 -101
- package/build/esm/{index-ef5f8f90.js → index-547fbb34.js} +1 -1
- package/build/esm/{index-33722dfd.js → index-55098080.js} +1 -1
- package/build/esm/{index-e8eb5116.js → index-556e0a0d.js} +2 -2
- package/build/esm/{index-2e12b9e1.js → index-57eef9cd.js} +1 -1
- package/build/esm/{index-415fbe83.js → index-59ab02a8.js} +1 -1
- package/build/esm/{index-b6397dbb.js → index-5bad73d3.js} +1 -1
- package/build/esm/{index-45b6610c.js → index-5e2f0c6a.js} +69 -69
- package/build/esm/{index-dca10eb4.js → index-5f7f6732.js} +1 -1
- package/build/esm/{index-1ff0dfac.js → index-6039a611.js} +17 -17
- package/build/esm/{index-b85db3a5.js → index-616c60b0.js} +2 -2
- package/build/esm/{index-84657f6d.js → index-641d330b.js} +1 -1
- package/build/esm/{index-5ad09ef7.js → index-6451eefd.js} +1 -1
- package/build/esm/{index-46e9d390.js → index-64c00abe.js} +2 -2
- package/build/esm/{index-bc988fdf.js → index-662eb542.js} +1 -1
- package/build/esm/{index-9663c0f2.js → index-669f8a5e.js} +1 -1
- package/build/esm/{index-9562a9d8.js → index-67dafeb1.js} +1 -1
- package/build/esm/{index-985d0ac1.js → index-67fd43fc.js} +1 -1
- package/build/esm/{index-b9739a43.js → index-68aac09d.js} +85 -85
- package/build/esm/{index-d6856cc5.js → index-690d4a89.js} +2 -2
- package/build/esm/{index-d8f30b62.js → index-694817c3.js} +1 -1
- package/build/esm/{index-ff020436.js → index-6a7c9333.js} +1 -1
- package/build/esm/{index-47939b53.js → index-6a8751d6.js} +1 -1
- package/build/esm/{index-69436c25.js → index-6b77bd94.js} +3 -3
- package/build/esm/{index-181ff2a0.js → index-6c60ca58.js} +2 -2
- package/build/esm/{index-a0e22978.js → index-6d2016bc.js} +1 -1
- package/build/esm/{index-e56bf428.js → index-6e47a0c6.js} +1 -1
- package/build/esm/{index-0c7b8562.js → index-6f763a0d.js} +1 -1
- package/build/esm/{index-efa06494.js → index-7073f1d4.js} +3 -3
- package/build/esm/{index-01e167be.js → index-7236a7cb.js} +1 -1
- package/build/esm/{index-315a6526.js → index-75224a75.js} +7 -3
- package/build/esm/{index-bd8d0479.js → index-77d97795.js} +5 -5
- package/build/esm/{index-8a26a858.js → index-7847734a.js} +141 -76
- package/build/esm/{index-08d97746.js → index-79f86b9d.js} +25 -25
- package/build/esm/{index-f74add7e.js → index-7acb06b8.js} +5 -5
- package/build/esm/{index-f45ab225.js → index-7af6bd59.js} +1 -1
- package/build/esm/{index-1f095fe3.js → index-7b297c46.js} +1 -1
- package/build/esm/{index-869d65ec.js → index-7b53cb6f.js} +8 -8
- package/build/esm/{index-102ef56e.js → index-7c6580b8.js} +1 -1
- package/build/esm/{index-f930afa0.js → index-7e9f924b.js} +6 -6
- package/build/esm/{index-606a110b.js → index-7fe3a425.js} +1 -1
- package/build/esm/{index-9eccf0e1.js → index-8060c2a2.js} +71 -71
- package/build/esm/{index-17bcc39b.js → index-8061e6bf.js} +14 -3
- package/build/esm/{index-5665b09a.js → index-83047454.js} +1 -1
- package/build/esm/{index-c87402ba.js → index-8331fe6e.js} +2 -2
- package/build/esm/{index-74d46a1a.js → index-833cefe9.js} +1 -1
- package/build/esm/{index-555b281e.js → index-8463c6a5.js} +3 -3
- package/build/esm/{index-892ffe4d.js → index-8499494f.js} +1 -1
- package/build/esm/{index-e46ca62c.js → index-85481862.js} +4 -4
- package/build/esm/{index-40ca5eeb.js → index-887c29b3.js} +1 -1
- package/build/esm/{index-0895f2f3.js → index-8b6c72e9.js} +3 -3
- package/build/esm/{index-9e661597.js → index-8d0b4891.js} +1 -1
- package/build/esm/{index-eee225cf.js → index-8d4146a2.js} +2 -2
- package/build/esm/{index-b692e521.js → index-8d7257ee.js} +1 -1
- package/build/esm/{index-1d481484.js → index-8e185186.js} +90 -90
- package/build/esm/{index-8ce6adb9.js → index-8f5fa9b4.js} +2 -2
- package/build/esm/{index-8f8d141b.js → index-908bce4f.js} +3 -3
- package/build/esm/{index-048552f0.js → index-9165b357.js} +1 -1
- package/build/esm/{index-bf19aa67.js → index-91ad05f6.js} +1 -1
- package/build/esm/{index-3e454946.js → index-92417bd8.js} +68 -68
- package/build/esm/{index-2a46675e.js → index-93f74e2c.js} +66 -66
- package/build/esm/{index-347c80d9.js → index-946da47d.js} +1 -1
- package/build/esm/{index-f8660916.js → index-94d86bd9.js} +1 -1
- package/build/esm/{index-d4be771b.js → index-9575339b.js} +1 -1
- package/build/esm/{index-6b55f02e.js → index-96514191.js} +1 -1
- package/build/esm/{index-fdd2f2b6.js → index-98e4cdc7.js} +3 -3
- package/build/esm/{index-b9ea263d.js → index-9a895999.js} +1 -1
- package/build/esm/{index-0e05b6b9.js → index-9b6a85c0.js} +1 -1
- package/build/esm/{index-e2678bc3.js → index-9c36655a.js} +1 -1
- package/build/esm/{index-149ee0c3.js → index-9d20e056.js} +1 -1
- package/build/esm/{index-cdb372f1.js → index-9f13b7ff.js} +2 -2
- package/build/esm/{index-9e2ca930.js → index-9f80fe18.js} +18 -18
- package/build/esm/{index-87345a21.js → index-a271c87b.js} +2 -2
- package/build/esm/{index-5c1c1b31.js → index-a3ee4fb5.js} +2 -2
- package/build/esm/{index-2ad23b0d.js → index-a52784b9.js} +1 -1
- package/build/esm/{index-337b35af.js → index-a7227654.js} +2 -2
- package/build/esm/{index-8d2f95c8.js → index-a89b343c.js} +1 -1
- package/build/esm/{index-3ee68248.js → index-a8c57af9.js} +2 -2
- package/build/esm/{index-b011252f.js → index-a9073adb.js} +7 -7
- package/build/esm/{index-17ba7b38.js → index-aaa125d1.js} +5 -5
- package/build/esm/{index-ff3db23f.js → index-ab54b2e5.js} +5 -5
- package/build/esm/{index-56d95f56.js → index-ab8dc8e0.js} +21 -21
- package/build/esm/{index-85269def.js → index-ac1c2f4d.js} +8 -8
- package/build/esm/{index-07075961.js → index-aea56c2a.js} +1 -1
- package/build/esm/{index-5d29eff3.js → index-b39ee00c.js} +4 -4
- package/build/esm/{index-da2a2a8b.js → index-b3b30d08.js} +18 -18
- package/build/esm/{index-5dce3fc8.js → index-b3de81d6.js} +1 -1
- package/build/esm/{index-5b795c7b.js → index-b83c7ccf.js} +1 -1
- package/build/esm/{index-c45f18fe.js → index-b8763b90.js} +1 -1
- package/build/esm/{index-bdf5827b.js → index-b9802779.js} +5 -5
- package/build/esm/{index-eb30bc4d.js → index-b9c5ddd0.js} +1 -1
- package/build/esm/{index-0ec473cc.js → index-ba7e105d.js} +1 -1
- package/build/esm/{index-e5e0e394.js → index-be32a2e2.js} +5 -5
- package/build/esm/{index-f3bca3be.js → index-c0027e7d.js} +1 -1
- package/build/esm/{index-c1bf3a44.js → index-c0eee176.js} +1 -1
- package/build/esm/{index-af4148a4.js → index-c176f45a.js} +2 -2
- package/build/esm/{index-03a0fdc9.js → index-c4c5a8a3.js} +1 -1
- package/build/esm/{index-be4baeb9.js → index-c703f557.js} +2 -2
- package/build/esm/{index-16fe405b.js → index-c73d78e9.js} +3 -3
- package/build/esm/{index-4be1fee3.js → index-c79424f1.js} +2 -2
- package/build/esm/{index-8d52e836.js → index-c883c4df.js} +3 -3
- package/build/esm/{index-70bf7fb6.js → index-c8b29988.js} +2 -2
- package/build/esm/{index-36c018f3.js → index-c8cae97b.js} +99 -9
- package/build/esm/{index-0029288b.js → index-c9846514.js} +1 -1
- package/build/esm/{index-0db57583.js → index-caa3b342.js} +1 -1
- package/build/esm/{index-899b8922.js → index-cb3f6a27.js} +1122 -664
- package/build/esm/{index-26dda831.js → index-cb9081ef.js} +65 -65
- package/build/esm/{index-5ec0c2dc.js → index-cbd560c7.js} +1 -1
- package/build/esm/{index-fedccb21.js → index-cd273297.js} +100 -100
- package/build/esm/{index-c46b6740.js → index-cdeee431.js} +1 -1
- package/build/esm/{index-5db7e072.js → index-ce0d2469.js} +5 -5
- package/build/esm/{index-1d2d7fb6.js → index-cf02d8ed.js} +1 -1
- package/build/esm/{index-1487d493.js → index-cf1ece86.js} +2 -2
- package/build/esm/{index-5ad9fa64.js → index-cf2be7df.js} +1 -1
- package/build/esm/{index-b6aaff5c.js → index-cf741bb6.js} +3 -3
- package/build/esm/{index-5ec31db5.js → index-d1328d1a.js} +2 -2
- package/build/esm/{index-e260a81a.js → index-d1f0b856.js} +2 -2
- package/build/esm/{index-6fe3ff14.js → index-d40b4ce1.js} +1 -1
- package/build/esm/{index-06656766.js → index-d4eab021.js} +1 -1
- package/build/esm/{index-93284a2c.js → index-d4ec5318.js} +3 -3
- package/build/esm/{index-618fdc08.js → index-d52c9f36.js} +39 -21
- package/build/esm/{index-faafc31d.js → index-d75c35b5.js} +2 -2
- package/build/esm/{index-08994c71.js → index-d9da042a.js} +1 -1
- package/build/esm/{index-7488e2e2.js → index-dc237063.js} +84 -84
- package/build/esm/{index-afe33b8f.js → index-dc8c8574.js} +1 -1
- package/build/esm/{index-74d5ee8b.js → index-dcd6a0ea.js} +1 -1
- package/build/esm/{index-73463d9f.js → index-dd8ec79f.js} +1 -1
- package/build/esm/{index-bc8576ec.js → index-ddda70a5.js} +1 -1
- package/build/esm/{index-a7de9a70.js → index-df8e375c.js} +3 -3
- package/build/esm/{index-82a28d6e.js → index-dff2807c.js} +1 -1
- package/build/esm/{index-8cef9ec1.js → index-e07e8f93.js} +68 -68
- package/build/esm/{index-5abf6852.js → index-e18c00bd.js} +15 -15
- package/build/esm/{index-4daa80c5.js → index-e1c75dfc.js} +1 -1
- package/build/esm/{index-43d382c8.js → index-e2aeaa39.js} +3 -3
- package/build/esm/{index-895e928a.js → index-e2e6dcb6.js} +1 -1
- package/build/esm/{index-c8de3993.js → index-eaf1a6ef.js} +1 -1
- package/build/esm/{index-a1680ef5.js → index-ebf38440.js} +2 -2
- package/build/esm/{index-ada3c152.js → index-ed1206ec.js} +1 -1
- package/build/esm/{index-ac5a2704.js → index-ed7bf98f.js} +3 -3
- package/build/esm/{index-a784e48f.js → index-f07c90dd.js} +1 -1
- package/build/esm/{index-34a1419b.js → index-f330506c.js} +1 -1
- package/build/esm/{index-581409b8.js → index-f450f41e.js} +2 -2
- package/build/esm/{index-e0900a31.js → index-f716563e.js} +1 -1
- package/build/esm/{index-a01842a6.js → index-f717b58f.js} +1 -1
- package/build/esm/{index-4e4215ad.js → index-f755ce67.js} +1 -1
- package/build/esm/{index-e424ab5b.js → index-f89aa898.js} +2 -2
- package/build/esm/{index-5bd398a7.js → index-f8c8fae6.js} +1 -1
- package/build/esm/{index-99c94447.js → index-f8d7c164.js} +3 -3
- package/build/esm/{index-cfc0389d.js → index-fcd58621.js} +70 -70
- package/build/esm/{index-7ae6b393.js → index-fd1c9763.js} +67 -67
- package/build/esm/{index-71c05fb2.js → index-fe3494ee.js} +1 -1
- package/build/esm/{index-ead3c18e.js → index-ff1065a1.js} +2 -2
- package/build/esm/{index-a366d35e.js → index-ff268b26.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.module-ce9cbd44.js → index.module-1cc8ad31.js} +1 -1
- package/build/esm/{index.module-efce36dc.js → index.module-3f8bfc0b.js} +1 -1
- package/build/esm/{index.module-d13df9cf.js → index.module-4cc34c00.js} +1 -1
- package/build/esm/{index.module-41cf846f.js → index.module-4ecae8d9.js} +1 -1
- package/build/esm/{index.module-15c22604.js → index.module-78232b3d.js} +1 -1
- package/build/esm/{index.module-76c17bd6.js → index.module-b5b7f250.js} +1 -1
- package/build/esm/{index.module-25cdca01.js → index.module-e90b0636.js} +1 -1
- package/build/esm/{index.module-5bcecdc6.js → index.module-ffca26b5.js} +1 -1
- package/build/esm/{useCustomDimensions-f2bb4edd.js → useCustomDimensions-9be96ee7.js} +1 -1
- package/build/esm/{ussIsSticky-6dac519b.js → ussIsSticky-e203c3a2.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 +21 -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/4529.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7020.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7118.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/7118.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/7442.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7909.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/7909.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/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/9583.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9679.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9715.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +16 -10
- package/build/esm/index-05e1fe0a.js +0 -99
- 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-1227ae4d.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-2b75d076.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,42 @@ 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
|
+
|
|
7491
|
+
/** Live rtv-next viewers on this page (module-level: all planner instances share one bundle). */
|
|
7492
|
+
var liveRtvNextViewers = 0;
|
|
7493
|
+
|
|
7494
|
+
/**
|
|
7495
|
+
* Registers a visible planner instance that runs the rtv-next viewer; returns the unregister.
|
|
7496
|
+
* While any is live, {@link rtvNextActiveOnPage} makes hidden sibling planners defer their boot.
|
|
7497
|
+
*/
|
|
7498
|
+
function registerRtvNextViewer() {
|
|
7499
|
+
liveRtvNextViewers += 1;
|
|
7500
|
+
var released = false;
|
|
7501
|
+
return function () {
|
|
7502
|
+
if (released) return;
|
|
7503
|
+
released = true;
|
|
7504
|
+
liveRtvNextViewers -= 1;
|
|
7505
|
+
};
|
|
7506
|
+
}
|
|
7507
|
+
|
|
7508
|
+
/**
|
|
7509
|
+
* True while an rtv-next viewer is (or will be) live on this page. The catalog switch
|
|
7510
|
+
* (`DIVA3D_USE_RTV_NEXT`) only resolves after the visible planner's catalog load, so a hidden
|
|
7511
|
+
* planner that mounts in the same instant still boots — this covers the `?rtv-next` boots and
|
|
7512
|
+
* every instance mounted after the visible viewer is up.
|
|
7513
|
+
*/
|
|
7514
|
+
function rtvNextActiveOnPage() {
|
|
7515
|
+
return rtvNextParamActive || liveRtvNextViewers > 0;
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7332
7518
|
function ownKeys$i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7333
7519
|
function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7334
7520
|
var LOG$d = getLogger('Planner', 'Product');
|
|
@@ -7442,6 +7628,8 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7442
7628
|
_defineProperty(this, "GridImageURL", '');
|
|
7443
7629
|
//RTV Real Time Viewer
|
|
7444
7630
|
_defineProperty(this, "allowRTV", false);
|
|
7631
|
+
/** Catalog opted into the rtv-next viewer (`DIVA3D_USE_RTV_NEXT`) — see `ProductCenter`. */
|
|
7632
|
+
_defineProperty(this, "useRtvNext", false);
|
|
7445
7633
|
_defineProperty(this, "allowQRCodeAR", false);
|
|
7446
7634
|
_defineProperty(this, "doShowRTV", false);
|
|
7447
7635
|
_defineProperty(this, "allow3DComb", false);
|
|
@@ -7511,6 +7699,11 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7511
7699
|
if (!_this.allowRendering && !_this.allowRTV && !_this.allow3DComb && !_this.allowGrid) return;
|
|
7512
7700
|
type = _this.allowRendering ? '3D' : _this.allowRTV ? 'RTV' : _this.allow3DComb ? '3DCOMB' : '2D';
|
|
7513
7701
|
}
|
|
7702
|
+
|
|
7703
|
+
// With `?rtv-next` the rtv-next viewer takes the place of the rendered 3D image instead of
|
|
7704
|
+
// becoming a footer option of its own, so the 3D view drives the RTV state it renders on.
|
|
7705
|
+
// Alternate renderings stay on the image path — they are server renderings.
|
|
7706
|
+
if ((_this.useRtvNext || rtvNextParamActive) && type === '3D' && alternateRendering === undefined) type = 'RTV';
|
|
7514
7707
|
switch (type) {
|
|
7515
7708
|
case '3DCOMB':
|
|
7516
7709
|
_this.doShowRenderImage = false;
|
|
@@ -7640,6 +7833,22 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7640
7833
|
_defineProperty(this, "setIsARIframeVisible", function (val) {
|
|
7641
7834
|
_this.isARIframeVisible = val;
|
|
7642
7835
|
});
|
|
7836
|
+
_defineProperty(this, "rtvFocusElementId", null);
|
|
7837
|
+
_defineProperty(this, "setRtvFocusElementId", function (id) {
|
|
7838
|
+
_this.rtvFocusElementId = id;
|
|
7839
|
+
});
|
|
7840
|
+
/**
|
|
7841
|
+
* Single source of truth for "which element is selected on the RTV canvas".
|
|
7842
|
+
* Driven by ViewPlannerHandler — kept in lockstep with `selectedElementsDict`
|
|
7843
|
+
* across canvas-side selection (`onElementSelected` / `onClearElementSelection`)
|
|
7844
|
+
* and configurator-driven selection (`updateElementSelectionConfig`). Distinct
|
|
7845
|
+
* from `rtvFocusElementId` (camera focus / scroll-to) so the two can diverge
|
|
7846
|
+
* if needed later. Read by PlannerRTVNext as the `selectedElementId` prop.
|
|
7847
|
+
*/
|
|
7848
|
+
_defineProperty(this, "rtvSelectedElementId", null);
|
|
7849
|
+
_defineProperty(this, "setRtvSelectedElementId", function (id) {
|
|
7850
|
+
_this.rtvSelectedElementId = id;
|
|
7851
|
+
});
|
|
7643
7852
|
_defineProperty(this, "setArCodeWasVisibleOnce", function () {
|
|
7644
7853
|
var _this$showArQrCode$co, _this$showArQrCode;
|
|
7645
7854
|
_this.arCodeWasVisibleOnce = true;
|
|
@@ -7683,6 +7892,7 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7683
7892
|
doShow3DComb: observable,
|
|
7684
7893
|
doShowAIRoom: observable,
|
|
7685
7894
|
allowRTV: observable,
|
|
7895
|
+
useRtvNext: observable,
|
|
7686
7896
|
allow3DComb: observable,
|
|
7687
7897
|
allowQRCodeAR: observable,
|
|
7688
7898
|
shelfPlannerRTV: observable,
|
|
@@ -7690,6 +7900,8 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7690
7900
|
allowRendering: observable,
|
|
7691
7901
|
setAllowRendering: action,
|
|
7692
7902
|
footerVisible: computed,
|
|
7903
|
+
is3DViewActive: computed,
|
|
7904
|
+
showRtvFooterEntry: computed,
|
|
7693
7905
|
doShowRenderImage: observable,
|
|
7694
7906
|
diva3dImgSrc: observable,
|
|
7695
7907
|
setDiva3dImgSrc: action,
|
|
@@ -7746,7 +7958,11 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7746
7958
|
loadRTVForAr: observable,
|
|
7747
7959
|
glbUrl: observable,
|
|
7748
7960
|
isARIframeVisible: observable,
|
|
7749
|
-
setIsARIframeVisible: action
|
|
7961
|
+
setIsARIframeVisible: action,
|
|
7962
|
+
rtvFocusElementId: observable,
|
|
7963
|
+
setRtvFocusElementId: action,
|
|
7964
|
+
rtvSelectedElementId: observable,
|
|
7965
|
+
setRtvSelectedElementId: action
|
|
7750
7966
|
});
|
|
7751
7967
|
}
|
|
7752
7968
|
return _createClass(ProductState, [{
|
|
@@ -7853,6 +8069,30 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7853
8069
|
return visibleFooter[f];
|
|
7854
8070
|
});
|
|
7855
8071
|
}
|
|
8072
|
+
|
|
8073
|
+
/**
|
|
8074
|
+
* True while the 3D view is the active one: the rendered 3D image, or the rtv-next viewer that
|
|
8075
|
+
* replaces it with `?rtv-next`.
|
|
8076
|
+
*/
|
|
8077
|
+
}, {
|
|
8078
|
+
key: "is3DViewActive",
|
|
8079
|
+
get: function get() {
|
|
8080
|
+
// rtv-next renders in the RTV slot, so "3D is on screen" means `doShowRTV` there — but only
|
|
8081
|
+
// when rtv-next is actually the active viewer, via the same switch `ProductCenter` uses.
|
|
8082
|
+
return this.doShowRenderImage || (this.useRtvNext || rtvNextParamActive) && this.doShowRTV;
|
|
8083
|
+
}
|
|
8084
|
+
|
|
8085
|
+
/**
|
|
8086
|
+
* Whether the footer should carry its own RTV entry. rtv-next renders in the RTV slot as the 3D
|
|
8087
|
+
* view (see {@link is3DViewActive}), so alongside a 3D entry it would be a second button for the
|
|
8088
|
+
* same viewer — and `doShowRTV` would light both at once. Hide it whenever the 3D entry exists;
|
|
8089
|
+
* keep it when there is none (forceRTV / RTViewer mode), where it is the only way into the viewer.
|
|
8090
|
+
*/
|
|
8091
|
+
}, {
|
|
8092
|
+
key: "showRtvFooterEntry",
|
|
8093
|
+
get: function get() {
|
|
8094
|
+
return this.allowRTV && !((this.useRtvNext || rtvNextParamActive) && this.allowRendering);
|
|
8095
|
+
}
|
|
7856
8096
|
}, {
|
|
7857
8097
|
key: "setRTVActivateAR",
|
|
7858
8098
|
value: function setRTVActivateAR(isArCompatible, activateAR) {
|
|
@@ -7905,7 +8145,7 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7905
8145
|
* this function tells the View if only 2D is avabile or 3D and 2D or neither of those
|
|
7906
8146
|
*/
|
|
7907
8147
|
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;
|
|
8148
|
+
var _this$divaWebPlanner14, _this$divaWebPlanner15, _this$divaWebPlanner16, _this$divaWebPlanner17, _this$divaWebPlanner23, _this$divaWebPlanner24, _this$divaWebPlanner25, _this$divaWebPlanner26, _this$divaWebPlanner27, _this$divaWebPlanner28, _this$divaWebPlanner29, _this$divaWebPlanner30, _this$divaWebPlanner31, _this$divaWebPlanner32;
|
|
7909
8149
|
this.plannerMode = plannerMode;
|
|
7910
8150
|
this.isBoxPlanner = plannerMode === 'BoxPlanner';
|
|
7911
8151
|
this.doEnableToShow3DDimensionLines = !!((_this$divaWebPlanner14 = this.divaWebPlanner) !== null && _this$divaWebPlanner14 !== void 0 && _this$divaWebPlanner14.doShow3DDimensionLines());
|
|
@@ -7924,11 +8164,12 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
7924
8164
|
this.pricePreview = (_this$divaWebPlanner24 = this.divaWebPlanner) === null || _this$divaWebPlanner24 === void 0 ? void 0 : _this$divaWebPlanner24.getPricePreview();
|
|
7925
8165
|
this.hide2DPlanner = (_this$divaWebPlanner25 = this.divaWebPlanner) === null || _this$divaWebPlanner25 === void 0 ? void 0 : _this$divaWebPlanner25.hide2DPlanner();
|
|
7926
8166
|
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.
|
|
8167
|
+
this.useRtvNext = !!((_this$divaWebPlanner27 = this.divaWebPlanner) !== null && _this$divaWebPlanner27 !== void 0 && _this$divaWebPlanner27.getUseRtvNext());
|
|
8168
|
+
this.allow3DComb = !!((_this$divaWebPlanner28 = this.divaWebPlanner) !== null && _this$divaWebPlanner28 !== void 0 && _this$divaWebPlanner28.getEnableUnityRtvKombi());
|
|
8169
|
+
this.allowQRCodeAR = !!((_this$divaWebPlanner29 = this.divaWebPlanner) !== null && _this$divaWebPlanner29 !== void 0 && _this$divaWebPlanner29.getAllowQRCodeAR());
|
|
8170
|
+
this.shelfPlannerRTV = !!((_this$divaWebPlanner30 = this.divaWebPlanner) !== null && _this$divaWebPlanner30 !== void 0 && _this$divaWebPlanner30.getShelfPlannerRTV());
|
|
8171
|
+
if (this.shelfPlannerRTV || (_this$divaWebPlanner31 = this.divaWebPlanner) !== null && _this$divaWebPlanner31 !== void 0 && _this$divaWebPlanner31.getForceRTV()) this.plannerMode = 'RTViewer';
|
|
8172
|
+
if ((_this$divaWebPlanner32 = this.divaWebPlanner) !== null && _this$divaWebPlanner32 !== void 0 && _this$divaWebPlanner32.getEnableUnityRtvKombi()) this.plannerMode = '3DCOMB';
|
|
7932
8173
|
this.plannerRenderingIsStaticBG = this.plannerMode == '3DCOMB' ? false : this.plannerRenderingIsStaticBG;
|
|
7933
8174
|
this.initPlannerViewMode(this.plannerMode);
|
|
7934
8175
|
this.doShowAIRoom = false;
|
|
@@ -8012,6 +8253,13 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
8012
8253
|
this.doShow3DZoom = false;
|
|
8013
8254
|
break;
|
|
8014
8255
|
}
|
|
8256
|
+
|
|
8257
|
+
// Modes that start in the rendered 3D image start in the rtv-next viewer instead — same
|
|
8258
|
+
// substitution the 3D view does in onChangePlannerView.
|
|
8259
|
+
if ((this.useRtvNext || rtvNextParamActive) && this.doShowRenderImage) {
|
|
8260
|
+
this.doShowRenderImage = false;
|
|
8261
|
+
this.doShowRTV = true;
|
|
8262
|
+
}
|
|
8015
8263
|
}
|
|
8016
8264
|
}, {
|
|
8017
8265
|
key: "setProductElement",
|
|
@@ -8069,9 +8317,17 @@ var ProductState = /*#__PURE__*/function () {
|
|
|
8069
8317
|
|
|
8070
8318
|
function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8071
8319
|
function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8320
|
+
// Single source of truth mapping a mobile drawer snap point index to the product (3D view) height.
|
|
8321
|
+
var PRODUCT_HEIGHT_BY_SNAP_POINT = {
|
|
8322
|
+
0: 'calc(100% - 36px)',
|
|
8323
|
+
1: '70%',
|
|
8324
|
+
2: '45%',
|
|
8325
|
+
3: '45%'
|
|
8326
|
+
};
|
|
8072
8327
|
var SettingsState = /*#__PURE__*/function () {
|
|
8073
8328
|
function SettingsState(updateExternalPlannerState) {
|
|
8074
|
-
var _this = this
|
|
8329
|
+
var _this = this,
|
|
8330
|
+
_PRODUCT_HEIGHT_BY_SN;
|
|
8075
8331
|
_classCallCheck(this, SettingsState);
|
|
8076
8332
|
this.updateExternalPlannerState = updateExternalPlannerState;
|
|
8077
8333
|
_defineProperty(this, "scrollToCurTabgroupHorizontal", void 0);
|
|
@@ -8135,6 +8391,16 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8135
8391
|
_this.plannedPlacesOnGrids = planned;
|
|
8136
8392
|
});
|
|
8137
8393
|
_defineProperty(this, "selectedShelfAccessoire", undefined);
|
|
8394
|
+
// Dedicated "armed to place" signal for the RTV `autoPlaceDrag` mode: codex + nonce. Bumped only
|
|
8395
|
+
// when an article is armed from the palette (distinct from `selectedShelfAccessoire`, which also
|
|
8396
|
+
// changes on placement) so the viewer auto-places exactly once per arm. The nonce makes arming
|
|
8397
|
+
// the same article twice produce a new token (re-trigger).
|
|
8398
|
+
_defineProperty(this, "armedAccessoryNonce", 0);
|
|
8399
|
+
_defineProperty(this, "armedAccessoryToken", undefined);
|
|
8400
|
+
// Palette-tile drag in progress: the dragged article's codex (set on dragstart, cleared on dragend).
|
|
8401
|
+
_defineProperty(this, "draggedAccessoryCodex", undefined);
|
|
8402
|
+
// True while the drag targets a drop cell in the viewer — the palette hides its drag ghost then.
|
|
8403
|
+
_defineProperty(this, "draggedAccessoryHasTarget", false);
|
|
8138
8404
|
_defineProperty(this, "autoOpenContentItems", false);
|
|
8139
8405
|
_defineProperty(this, "contentItemId", undefined);
|
|
8140
8406
|
_defineProperty(this, "clickedFrom", undefined);
|
|
@@ -8160,6 +8426,10 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8160
8426
|
_this.plannerReplaceModeAutoSwitch = false;
|
|
8161
8427
|
_this.contentItemId = undefined;
|
|
8162
8428
|
_this.contentItemVisible = false;
|
|
8429
|
+
// Accessory interaction state is a live viewer input — a re-init must not leave an armed
|
|
8430
|
+
// auto-place token or an in-flight drag behind (see PlannerRTVNext's armed/dragged props).
|
|
8431
|
+
_this.setArmedAccessory();
|
|
8432
|
+
_this.setDraggedAccessory();
|
|
8163
8433
|
});
|
|
8164
8434
|
_defineProperty(this, "partlistArticlesInOverview", {});
|
|
8165
8435
|
// planner2Dot0 state
|
|
@@ -8172,7 +8442,8 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8172
8442
|
_defineProperty(this, "lastesScrollPosition", 0);
|
|
8173
8443
|
_defineProperty(this, "isMicroScrollingDown", undefined);
|
|
8174
8444
|
_defineProperty(this, "activeSnapPointIndex", 2);
|
|
8175
|
-
|
|
8445
|
+
// Derived from the initial activeSnapPointIndex so the product height stays in sync with the drawer's starting snap point.
|
|
8446
|
+
_defineProperty(this, "productHeight", (_PRODUCT_HEIGHT_BY_SN = PRODUCT_HEIGHT_BY_SNAP_POINT[this.activeSnapPointIndex]) !== null && _PRODUCT_HEIGHT_BY_SN !== void 0 ? _PRODUCT_HEIGHT_BY_SN : '45%');
|
|
8176
8447
|
_defineProperty(this, "generalPlanningState", {});
|
|
8177
8448
|
_defineProperty(this, "promotedGroups", []);
|
|
8178
8449
|
_defineProperty(this, "promotedOptimisticProductId", null);
|
|
@@ -8245,6 +8516,12 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8245
8516
|
setGridsData: action,
|
|
8246
8517
|
selectedShelfAccessoire: observable,
|
|
8247
8518
|
setSelectedShelfAccessoire: action,
|
|
8519
|
+
armedAccessoryToken: observable,
|
|
8520
|
+
setArmedAccessory: action,
|
|
8521
|
+
draggedAccessoryCodex: observable,
|
|
8522
|
+
setDraggedAccessory: action,
|
|
8523
|
+
draggedAccessoryHasTarget: observable,
|
|
8524
|
+
setDraggedAccessoryHasTarget: action,
|
|
8248
8525
|
//contentItem
|
|
8249
8526
|
contentItemId: observable,
|
|
8250
8527
|
setContentItemId: action,
|
|
@@ -8503,6 +8780,7 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8503
8780
|
key: "initForUpdate",
|
|
8504
8781
|
value: function initForUpdate() {
|
|
8505
8782
|
this.infoBoxContent = undefined;
|
|
8783
|
+
if (this.selectedShelfAccessoire) this.setSelectedShelfAccessoire(undefined);
|
|
8506
8784
|
}
|
|
8507
8785
|
}, {
|
|
8508
8786
|
key: "selectedArticles",
|
|
@@ -8563,6 +8841,22 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8563
8841
|
value: function setSelectedShelfAccessoire(basketId) {
|
|
8564
8842
|
this.selectedShelfAccessoire = basketId;
|
|
8565
8843
|
}
|
|
8844
|
+
}, {
|
|
8845
|
+
key: "setArmedAccessory",
|
|
8846
|
+
value: function setArmedAccessory(articleCodex) {
|
|
8847
|
+
this.armedAccessoryToken = articleCodex === undefined ? undefined : "".concat(articleCodex, "#").concat(++this.armedAccessoryNonce);
|
|
8848
|
+
}
|
|
8849
|
+
}, {
|
|
8850
|
+
key: "setDraggedAccessory",
|
|
8851
|
+
value: function setDraggedAccessory(articleCodex) {
|
|
8852
|
+
this.draggedAccessoryCodex = articleCodex;
|
|
8853
|
+
this.draggedAccessoryHasTarget = false;
|
|
8854
|
+
}
|
|
8855
|
+
}, {
|
|
8856
|
+
key: "setDraggedAccessoryHasTarget",
|
|
8857
|
+
value: function setDraggedAccessoryHasTarget(hasTarget) {
|
|
8858
|
+
this.draggedAccessoryHasTarget = hasTarget;
|
|
8859
|
+
}
|
|
8566
8860
|
}, {
|
|
8567
8861
|
key: "setDontReopenAutomatically",
|
|
8568
8862
|
value: function setDontReopenAutomatically(val) {
|
|
@@ -8645,7 +8939,8 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8645
8939
|
}, {
|
|
8646
8940
|
key: "setActiveSnapPointIndex",
|
|
8647
8941
|
value: function setActiveSnapPointIndex(activeSnapPointIndex, force) {
|
|
8648
|
-
var _this2 = this
|
|
8942
|
+
var _this2 = this,
|
|
8943
|
+
_PRODUCT_HEIGHT_BY_SN2;
|
|
8649
8944
|
if (!force && this.contentItemVisible && this.contentItemId) return;
|
|
8650
8945
|
this.activeSnapPointIndex = activeSnapPointIndex;
|
|
8651
8946
|
|
|
@@ -8656,8 +8951,7 @@ var SettingsState = /*#__PURE__*/function () {
|
|
|
8656
8951
|
(_this2$scrollToCurTab = _this2.scrollToCurTabgroupHorizontal) === null || _this2$scrollToCurTab === void 0 || _this2$scrollToCurTab.call(_this2);
|
|
8657
8952
|
(_this2$updatePlannerV = _this2.updatePlannerView) === null || _this2$updatePlannerV === void 0 || _this2$updatePlannerV.call(_this2, 'SNAP_POINT_CHANGED');
|
|
8658
8953
|
}, 200);
|
|
8659
|
-
|
|
8660
|
-
if (activeSnapPointIndex == 1) this.setProductHeight('70%');else if (activeSnapPointIndex == 2) this.setProductHeight('45%');else if (activeSnapPointIndex == 3) this.setProductHeight('45%');
|
|
8954
|
+
this.setProductHeight((_PRODUCT_HEIGHT_BY_SN2 = PRODUCT_HEIGHT_BY_SNAP_POINT[activeSnapPointIndex]) !== null && _PRODUCT_HEIGHT_BY_SN2 !== void 0 ? _PRODUCT_HEIGHT_BY_SN2 : '45%');
|
|
8661
8955
|
}
|
|
8662
8956
|
}, {
|
|
8663
8957
|
key: "setProductHeight",
|
|
@@ -9130,6 +9424,8 @@ var ConfigState = /*#__PURE__*/function () {
|
|
|
9130
9424
|
_defineProperty(this, "setId", undefined);
|
|
9131
9425
|
_defineProperty(this, "loginMode", void 0);
|
|
9132
9426
|
_defineProperty(this, "initMode", void 0);
|
|
9427
|
+
_defineProperty(this, "createImageConfig", void 0);
|
|
9428
|
+
_defineProperty(this, "orderlineVariantValues", void 0);
|
|
9133
9429
|
_defineProperty(this, "opt", void 0);
|
|
9134
9430
|
_defineProperty(this, "configStepKey", void 0);
|
|
9135
9431
|
_defineProperty(this, "initEmptyPlanner", void 0);
|
|
@@ -9218,6 +9514,8 @@ var ConfigState = /*#__PURE__*/function () {
|
|
|
9218
9514
|
this.jwt = val.jwt;
|
|
9219
9515
|
this.keepCache = val.keepCache;
|
|
9220
9516
|
this.initMode = val.initMode;
|
|
9517
|
+
this.createImageConfig = val.createImageConfig;
|
|
9518
|
+
this.orderlineVariantValues = val.orderlineVariantValues;
|
|
9221
9519
|
this.opt = val.opt;
|
|
9222
9520
|
this.initEmptyPlanner = val.initEmptyPlanner;
|
|
9223
9521
|
this.assignNewDivaNr = val.assignNewDivaNr;
|
|
@@ -14351,8 +14649,8 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14351
14649
|
}
|
|
14352
14650
|
}, {
|
|
14353
14651
|
key: "initialize",
|
|
14354
|
-
value: function initialize(firstTime, plannerConfig) {
|
|
14355
|
-
var _this$actions6, _this$divaWebPlanner;
|
|
14652
|
+
value: function initialize(firstTime, plannerConfig, adoptPlanner) {
|
|
14653
|
+
var _this$actions6, _this$actions6$onPlan, _this$actions7, _this$divaWebPlanner;
|
|
14356
14654
|
DivaUtils.startSpanOfApm('initialize Configurator');
|
|
14357
14655
|
this.uiState.setIsLoading(true);
|
|
14358
14656
|
this.uiState.setIsLogicLoading(true);
|
|
@@ -14378,21 +14676,23 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14378
14676
|
return;
|
|
14379
14677
|
}
|
|
14380
14678
|
}
|
|
14381
|
-
|
|
14382
|
-
this.
|
|
14679
|
+
var adopted = !!adoptPlanner && firstTime;
|
|
14680
|
+
this.divaWebPlanner = adopted ? adoptPlanner : new DivaWebPlanner(this.configState);
|
|
14681
|
+
(_this$actions6 = this.actions) === null || _this$actions6 === void 0 || (_this$actions6$onPlan = _this$actions6.onPlannerInstance) === null || _this$actions6$onPlan === void 0 || _this$actions6$onPlan.call(_this$actions6, this.divaWebPlanner);
|
|
14682
|
+
this.aiState.initFunctions(this.divaWebPlanner, (_this$actions7 = this.actions) === null || _this$actions7 === void 0 ? void 0 : _this$actions7.subscribeEvents);
|
|
14383
14683
|
this.tabGroupState.initFunctions(this.divaWebPlanner);
|
|
14384
14684
|
this.settingsState.initFunctions(this.tabGroupState.scrollToCurTabgroupHorizontal.bind(this.tabGroupState), this.divaWebPlanner.updatePlannerView.bind(this.divaWebPlanner), this.uiState);
|
|
14385
14685
|
this.paletteViewHandler = new PaletteViewHandler(this.settingsState, this.productState, this.uiState, this.configuratorStructureHandler, this.getState, this.updateConfiguratorState, this.viewPlannerHandler.getSelectedElementsArr, this.viewPlannerHandler.getSelectedDockingPoint, this.viewPlannerHandler.updateElementSelectionPlanner, this.viewPlannerHandler.getElementById, this.divaWebPlanner, this.actionButtonState.onClickConfiguratorSettingsForth.bind(this.actionButtonState), this.getPlanningIsInCompleteOrEmpty);
|
|
14386
14686
|
this.viewPlannerHandler.initFunctions(this.paletteViewHandler.deletePlannerElement.bind(this.paletteViewHandler), this.paletteViewHandler.copyPlannerElement.bind(this.paletteViewHandler), this.settingsState.setBBox.bind(this.settingsState));
|
|
14387
14687
|
this.actionButtonState.initFunctions(this.divaWebPlanner, this.paletteViewHandler);
|
|
14388
14688
|
this.uiState.initFunctions(this.divaWebPlanner.updatePlannerView.bind(this.divaWebPlanner), this.paletteViewHandler.visitActVisibleSteps.bind(this.paletteViewHandler), this.tabGroupState.updateCurTabGroupType.bind(this.tabGroupState), this.settingsState, this.divaWebPlanner.getReturnTo, this.divaWebPlanner.getFilterForCheckoutButtons.bind(this.divaWebPlanner));
|
|
14389
|
-
if (plannerConfig == true || !(plannerConfig !== null && plannerConfig !== void 0 && plannerConfig.keepCache)) (_this$divaWebPlanner = this.divaWebPlanner) === null || _this$divaWebPlanner === void 0 || _this$divaWebPlanner.clearCache();
|
|
14689
|
+
if (!adopted && (plannerConfig == true || !(plannerConfig !== null && plannerConfig !== void 0 && plannerConfig.keepCache))) (_this$divaWebPlanner = this.divaWebPlanner) === null || _this$divaWebPlanner === void 0 || _this$divaWebPlanner.clearCache();
|
|
14390
14690
|
this.productState.initialize(this.divaWebPlanner, this.settingsState, this.wysiwygDebugState, this.viewPlannerHandler.setCurPlannerViewMode.bind(this.viewPlannerHandler), this.viewPlannerHandler.initPlannerViewMode.bind(this.viewPlannerHandler), this.actionButtonState.onClickAddToBasket.bind(this.actionButtonState));
|
|
14391
14691
|
this.uiState.reset();
|
|
14392
14692
|
this.aiState.reset();
|
|
14393
14693
|
this.settingsState.reset();
|
|
14394
14694
|
this.registerFunctions();
|
|
14395
|
-
this.initializeLogic(cache);
|
|
14695
|
+
if (adopted) this.attachAdoptedLogic();else this.initializeLogic(cache);
|
|
14396
14696
|
//TabgroupViewHandler erstellen dieser Kümmert sich umm alle Click events usw.
|
|
14397
14697
|
|
|
14398
14698
|
this.plannerHelper.initialize(this.paletteViewHandler, this.configuratorStructureHandler, this.divaWebPlanner, this.productState, this.tabGroupState, this.settingsState);
|
|
@@ -14404,24 +14704,65 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14404
14704
|
this.productState.plannerMessages = new Map();
|
|
14405
14705
|
}
|
|
14406
14706
|
}, {
|
|
14407
|
-
key: "
|
|
14707
|
+
key: "attachAdoptedLogic",
|
|
14408
14708
|
value: function () {
|
|
14409
|
-
var
|
|
14410
|
-
var _this$
|
|
14411
|
-
var _this$
|
|
14709
|
+
var _attachAdoptedLogic = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
14710
|
+
var _this$actions8;
|
|
14711
|
+
var _this$actions9;
|
|
14412
14712
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
14413
14713
|
while (1) switch (_context.prev = _context.next) {
|
|
14414
14714
|
case 0:
|
|
14415
|
-
(_this$
|
|
14715
|
+
(_this$actions8 = this.actions) === null || _this$actions8 === void 0 || _this$actions8.toggleLoading('init_planner_logic', false, true, undefined, true);
|
|
14416
14716
|
_context.prev = 1;
|
|
14417
14717
|
_context.next = 4;
|
|
14418
14718
|
return waitForNextPaint();
|
|
14419
14719
|
case 4:
|
|
14720
|
+
_context.next = 6;
|
|
14721
|
+
return this.divaWebPlanner.reattachView();
|
|
14722
|
+
case 6:
|
|
14723
|
+
this.uiState.setIsLogicLoading(false);
|
|
14724
|
+
_context.next = 13;
|
|
14725
|
+
break;
|
|
14726
|
+
case 9:
|
|
14727
|
+
_context.prev = 9;
|
|
14728
|
+
_context.t0 = _context["catch"](1);
|
|
14729
|
+
LOG$1.error(_context.t0);
|
|
14730
|
+
this.initializedWithErrors = true;
|
|
14731
|
+
case 13:
|
|
14732
|
+
_context.prev = 13;
|
|
14733
|
+
(_this$actions9 = this.actions) === null || _this$actions9 === void 0 || _this$actions9.toggleLoading('init_planner_logic', false, false);
|
|
14734
|
+
return _context.finish(13);
|
|
14735
|
+
case 16:
|
|
14736
|
+
case "end":
|
|
14737
|
+
return _context.stop();
|
|
14738
|
+
}
|
|
14739
|
+
}, _callee, this, [[1, 9, 13, 16]]);
|
|
14740
|
+
}));
|
|
14741
|
+
function attachAdoptedLogic() {
|
|
14742
|
+
return _attachAdoptedLogic.apply(this, arguments);
|
|
14743
|
+
}
|
|
14744
|
+
return attachAdoptedLogic;
|
|
14745
|
+
}()
|
|
14746
|
+
}, {
|
|
14747
|
+
key: "initializeLogic",
|
|
14748
|
+
value: function () {
|
|
14749
|
+
var _initializeLogic = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(cache) {
|
|
14750
|
+
var _this$actions10;
|
|
14751
|
+
var _this$getI18nInstance2, _this$getI18nInstance3, _this$configState, _this$configState2, _this$actions11;
|
|
14752
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
14753
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
14754
|
+
case 0:
|
|
14755
|
+
bootMark('view: initializeLogic');
|
|
14756
|
+
(_this$actions10 = this.actions) === null || _this$actions10 === void 0 || _this$actions10.toggleLoading('init_planner_logic', false, true, undefined, true);
|
|
14757
|
+
_context2.prev = 2;
|
|
14758
|
+
_context2.next = 5;
|
|
14759
|
+
return waitForNextPaint();
|
|
14760
|
+
case 5:
|
|
14420
14761
|
LOG$1.debug('Start divaWebPlanner.initialize after spinner paint wait');
|
|
14421
|
-
|
|
14762
|
+
_context2.next = 8;
|
|
14422
14763
|
return this.divaWebPlanner.initialize(cache);
|
|
14423
|
-
case
|
|
14424
|
-
this.initializedWithErrors = !
|
|
14764
|
+
case 8:
|
|
14765
|
+
this.initializedWithErrors = !_context2.sent;
|
|
14425
14766
|
this.uiState.setIsLogicLoading(false);
|
|
14426
14767
|
LOG$1.successTransaction('ON_OPEN_PLANNER', {
|
|
14427
14768
|
divaNr: this.divaWebPlanner.divaNr,
|
|
@@ -14430,34 +14771,34 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14430
14771
|
artNr: JSON.stringify(this.configState.articleCodexes),
|
|
14431
14772
|
lang: (_this$getI18nInstance2 = this.getI18nInstance()) === null || _this$getI18nInstance2 === void 0 ? void 0 : _this$getI18nInstance2.language
|
|
14432
14773
|
});
|
|
14433
|
-
|
|
14774
|
+
_context2.next = 18;
|
|
14434
14775
|
break;
|
|
14435
|
-
case
|
|
14436
|
-
|
|
14437
|
-
|
|
14438
|
-
if (
|
|
14776
|
+
case 13:
|
|
14777
|
+
_context2.prev = 13;
|
|
14778
|
+
_context2.t0 = _context2["catch"](2);
|
|
14779
|
+
if (_context2.t0.message.includes('does not exist in the Catalog:')) {
|
|
14439
14780
|
if ((_this$configState = this.configState) !== null && _this$configState !== void 0 && _this$configState.articleCodexes && ((_this$configState2 = this.configState) === null || _this$configState2 === void 0 ? void 0 : _this$configState2.articleCodexes.length) > 0) {
|
|
14440
14781
|
this.uiState.setConfiguratorHidden(true);
|
|
14441
14782
|
alert('Something went wrong. Please try again or contact support');
|
|
14442
14783
|
}
|
|
14443
14784
|
}
|
|
14444
|
-
LOG$1.error(
|
|
14445
|
-
LOG$1.errorTransaction('ON_OPEN_PLANNER', 'WC_0007',
|
|
14785
|
+
LOG$1.error(_context2.t0);
|
|
14786
|
+
LOG$1.errorTransaction('ON_OPEN_PLANNER', 'WC_0007', _context2.t0.message, {
|
|
14446
14787
|
divaNr: this.divaWebPlanner.divaNr,
|
|
14447
14788
|
productId: this.configState.productId,
|
|
14448
14789
|
cat: this.divaWebPlanner.getCurCatalogCodex(),
|
|
14449
14790
|
artNr: JSON.stringify(this.configState.articleCodexes),
|
|
14450
14791
|
lang: (_this$getI18nInstance3 = this.getI18nInstance()) === null || _this$getI18nInstance3 === void 0 ? void 0 : _this$getI18nInstance3.language
|
|
14451
14792
|
});
|
|
14452
|
-
case
|
|
14453
|
-
|
|
14454
|
-
(_this$
|
|
14455
|
-
return
|
|
14456
|
-
case
|
|
14793
|
+
case 18:
|
|
14794
|
+
_context2.prev = 18;
|
|
14795
|
+
(_this$actions11 = this.actions) === null || _this$actions11 === void 0 || _this$actions11.toggleLoading('init_planner_logic', false, false);
|
|
14796
|
+
return _context2.finish(18);
|
|
14797
|
+
case 21:
|
|
14457
14798
|
case "end":
|
|
14458
|
-
return
|
|
14799
|
+
return _context2.stop();
|
|
14459
14800
|
}
|
|
14460
|
-
},
|
|
14801
|
+
}, _callee2, this, [[2, 13, 18, 21]]);
|
|
14461
14802
|
}));
|
|
14462
14803
|
function initializeLogic(_x) {
|
|
14463
14804
|
return _initializeLogic.apply(this, arguments);
|
|
@@ -14558,9 +14899,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14558
14899
|
}, {
|
|
14559
14900
|
key: "addProduct",
|
|
14560
14901
|
value: function () {
|
|
14561
|
-
var _addProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14562
|
-
return _regeneratorRuntime.wrap(function
|
|
14563
|
-
while (1) switch (
|
|
14902
|
+
var _addProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(productId) {
|
|
14903
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
14904
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
14564
14905
|
case 0:
|
|
14565
14906
|
if (this.divaWebPlanner.getPlannerMode() == 'ProductList') {
|
|
14566
14907
|
//first time click on productlist in an empty planner
|
|
@@ -14568,9 +14909,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14568
14909
|
}
|
|
14569
14910
|
case 1:
|
|
14570
14911
|
case "end":
|
|
14571
|
-
return
|
|
14912
|
+
return _context3.stop();
|
|
14572
14913
|
}
|
|
14573
|
-
},
|
|
14914
|
+
}, _callee3, this);
|
|
14574
14915
|
}));
|
|
14575
14916
|
function addProduct(_x2) {
|
|
14576
14917
|
return _addProduct.apply(this, arguments);
|
|
@@ -14580,17 +14921,17 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14580
14921
|
}, {
|
|
14581
14922
|
key: "loadProduct",
|
|
14582
14923
|
value: function () {
|
|
14583
|
-
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14584
|
-
return _regeneratorRuntime.wrap(function
|
|
14585
|
-
while (1) switch (
|
|
14924
|
+
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(productId) {
|
|
14925
|
+
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
14926
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
14586
14927
|
case 0:
|
|
14587
14928
|
this.configState.productId = productId;
|
|
14588
14929
|
this.initialize(false, this.configState);
|
|
14589
14930
|
case 2:
|
|
14590
14931
|
case "end":
|
|
14591
|
-
return
|
|
14932
|
+
return _context4.stop();
|
|
14592
14933
|
}
|
|
14593
|
-
},
|
|
14934
|
+
}, _callee4, this);
|
|
14594
14935
|
}));
|
|
14595
14936
|
function loadProduct(_x3) {
|
|
14596
14937
|
return _loadProduct.apply(this, arguments);
|
|
@@ -14600,19 +14941,19 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14600
14941
|
}, {
|
|
14601
14942
|
key: "addDivaNrToSet",
|
|
14602
14943
|
value: function () {
|
|
14603
|
-
var _addDivaNrToSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14604
|
-
return _regeneratorRuntime.wrap(function
|
|
14605
|
-
while (1) switch (
|
|
14944
|
+
var _addDivaNrToSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(divaNr) {
|
|
14945
|
+
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
14946
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
14606
14947
|
case 0:
|
|
14607
|
-
|
|
14948
|
+
_context5.next = 2;
|
|
14608
14949
|
return this.divaWebPlanner.addSetToActPlanningByDivaNr(divaNr);
|
|
14609
14950
|
case 2:
|
|
14610
14951
|
this.updateConfiguratorState(true);
|
|
14611
14952
|
case 3:
|
|
14612
14953
|
case "end":
|
|
14613
|
-
return
|
|
14954
|
+
return _context5.stop();
|
|
14614
14955
|
}
|
|
14615
|
-
},
|
|
14956
|
+
}, _callee5, this);
|
|
14616
14957
|
}));
|
|
14617
14958
|
function addDivaNrToSet(_x4) {
|
|
14618
14959
|
return _addDivaNrToSet.apply(this, arguments);
|
|
@@ -14641,6 +14982,28 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14641
14982
|
var posNr = (_this$configuratorStr = this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) === null || _this$configuratorStr === void 0 ? void 0 : _this$configuratorStr.configStep.posNr;
|
|
14642
14983
|
if (posNr) this.paletteViewHandler.scrollToConfigStepByPosNr(posNr, true);
|
|
14643
14984
|
}
|
|
14985
|
+
|
|
14986
|
+
/**
|
|
14987
|
+
* Scroll the palette to one option value inside a config step. Registered into
|
|
14988
|
+
* the logic (registerScrollToOptionValue) so logic-side callers — e.g. the diva
|
|
14989
|
+
* agent's revealConfigStepInView — can steer the view without a react dependency.
|
|
14990
|
+
*/
|
|
14991
|
+
}, {
|
|
14992
|
+
key: "scrollToOptionValue",
|
|
14993
|
+
value: function scrollToOptionValue(configStepKey, optionValueCodex) {
|
|
14994
|
+
var _this$configuratorStr2,
|
|
14995
|
+
_this2 = this;
|
|
14996
|
+
var posNr = (_this$configuratorStr2 = this.configuratorStructureHandler.getConfigStepByKey(configStepKey)) === null || _this$configuratorStr2 === void 0 ? void 0 : _this$configuratorStr2.configStep.posNr;
|
|
14997
|
+
if (!posNr) return;
|
|
14998
|
+
// The navigated step's palette needs a tick to render before we can scroll to a value inside it.
|
|
14999
|
+
setTimeout(function () {
|
|
15000
|
+
try {
|
|
15001
|
+
_this2.paletteViewHandler.scrollToOPV(posNr, optionValueCodex);
|
|
15002
|
+
} catch (_unused) {
|
|
15003
|
+
/* scroll target may not be rendered */
|
|
15004
|
+
}
|
|
15005
|
+
}, 300);
|
|
15006
|
+
}
|
|
14644
15007
|
}, {
|
|
14645
15008
|
key: "setWebConifguratorTitle",
|
|
14646
15009
|
value:
|
|
@@ -14666,15 +15029,15 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14666
15029
|
}, {
|
|
14667
15030
|
key: "initApiDependencies",
|
|
14668
15031
|
value: (function () {
|
|
14669
|
-
var _initApiDependencies = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function
|
|
14670
|
-
var config, _this$
|
|
14671
|
-
return _regeneratorRuntime.wrap(function
|
|
14672
|
-
while (1) switch (
|
|
15032
|
+
var _initApiDependencies = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
15033
|
+
var config, _this$actions12, _this$configState$cur, _this$configState$cur2;
|
|
15034
|
+
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
15035
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
14673
15036
|
case 0:
|
|
14674
15037
|
config = this.divaWebPlanner.getAllConfig();
|
|
14675
15038
|
if (config) {
|
|
14676
15039
|
this.uiState.initFromConfig(config);
|
|
14677
|
-
this.uiState.initTemplateConfig(this.divaWebPlanner.getTemplateConfig(), (_this$
|
|
15040
|
+
this.uiState.initTemplateConfig(this.divaWebPlanner.getTemplateConfig(), (_this$actions12 = this.actions) === null || _this$actions12 === void 0 ? void 0 : _this$actions12.userHasPermission('advancedconfigurator'));
|
|
14678
15041
|
this.settingsState.setForceSettingsHeaderInScrollContainer(config.viewConfig.forceSettingsHeaderInScrollContainer);
|
|
14679
15042
|
this.productState.initViewConfig(config.viewConfig.doShowFunctions, !!this.divaWebPlanner.userIsLoggedIn, (_this$configState$cur = this.configState.currentOrganization) !== null && _this$configState$cur !== void 0 && (_this$configState$cur = _this$configState$cur.settings) !== null && _this$configState$cur !== void 0 && _this$configState$cur.enableAR ? this.getViewConfig().arQrCodeConfig ? this.getViewConfig().arQrCodeConfig : {
|
|
14680
15043
|
doAutoShow: false
|
|
@@ -14686,9 +15049,9 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14686
15049
|
}
|
|
14687
15050
|
case 2:
|
|
14688
15051
|
case "end":
|
|
14689
|
-
return
|
|
15052
|
+
return _context6.stop();
|
|
14690
15053
|
}
|
|
14691
|
-
},
|
|
15054
|
+
}, _callee6, this);
|
|
14692
15055
|
}));
|
|
14693
15056
|
function initApiDependencies() {
|
|
14694
15057
|
return _initApiDependencies.apply(this, arguments);
|
|
@@ -14709,35 +15072,35 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14709
15072
|
}, {
|
|
14710
15073
|
key: "initPlannerView",
|
|
14711
15074
|
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 (
|
|
15075
|
+
var _initPlannerView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
15076
|
+
var _this$divaWebPlanner$3, _this$actions13;
|
|
15077
|
+
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
15078
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
14716
15079
|
case 0:
|
|
14717
15080
|
if (!this.uiState.ViewConfig) {
|
|
14718
|
-
|
|
15081
|
+
_context7.next = 9;
|
|
14719
15082
|
break;
|
|
14720
15083
|
}
|
|
14721
15084
|
case 1:
|
|
14722
15085
|
if (this.viewIsReady) {
|
|
14723
|
-
|
|
15086
|
+
_context7.next = 6;
|
|
14724
15087
|
break;
|
|
14725
15088
|
}
|
|
14726
|
-
|
|
15089
|
+
_context7.next = 4;
|
|
14727
15090
|
return DivaUtils.Sleep(20);
|
|
14728
15091
|
case 4:
|
|
14729
|
-
|
|
15092
|
+
_context7.next = 1;
|
|
14730
15093
|
break;
|
|
14731
15094
|
case 6:
|
|
14732
|
-
|
|
15095
|
+
_context7.next = 8;
|
|
14733
15096
|
return this.viewPlannerHandler.initPlannerView(this.uiState.ViewConfig, this.productState, this.aiState, this.settingsState, this.divaWebPlanner.updatePlannerTrans, this.divaWebPlanner.updatePlannerView, (_this$divaWebPlanner$3 = this.divaWebPlanner.actSet()) === null || _this$divaWebPlanner$3 === void 0 ? void 0 : _this$divaWebPlanner$3.CatalogData.PlannerPaletteViewInfo);
|
|
14734
15097
|
case 8:
|
|
14735
|
-
(_this$
|
|
15098
|
+
(_this$actions13 = this.actions) === null || _this$actions13 === void 0 || _this$actions13.toggleLoading('Planner_Loading', false, false);
|
|
14736
15099
|
case 9:
|
|
14737
15100
|
case "end":
|
|
14738
|
-
return
|
|
15101
|
+
return _context7.stop();
|
|
14739
15102
|
}
|
|
14740
|
-
},
|
|
15103
|
+
}, _callee7, this);
|
|
14741
15104
|
}));
|
|
14742
15105
|
function initPlannerView() {
|
|
14743
15106
|
return _initPlannerView.apply(this, arguments);
|
|
@@ -14758,22 +15121,22 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14758
15121
|
this.productState.setFormatedPrices(newTotalPrice, newCurSetPrice, bruttoPrice, customDimensions, priceFormat);
|
|
14759
15122
|
this.aiState.setSetHash(setHash);
|
|
14760
15123
|
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$
|
|
15124
|
+
var _this$uiState$i18nIns, _this$productState$fo, _this$actions14;
|
|
14762
15125
|
var priceInfo = (_this$uiState$i18nIns = this.uiState.i18nInstance) === null || _this$uiState$i18nIns === void 0 ? void 0 : _this$uiState$i18nIns.t('configurator.PRICE_INFO_HEADER');
|
|
14763
15126
|
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$
|
|
15127
|
+
(_this$actions14 = this.actions) === null || _this$actions14 === void 0 || _this$actions14.updateCustomHeaderElement(['DIVA_WEBPLANNER'], function () {
|
|
14765
15128
|
return FrameworkPrice(priceInfo, price);
|
|
14766
15129
|
});
|
|
14767
15130
|
} else {
|
|
14768
|
-
var _this$
|
|
14769
|
-
(_this$
|
|
15131
|
+
var _this$actions15;
|
|
15132
|
+
(_this$actions15 = this.actions) === null || _this$actions15 === void 0 || _this$actions15.updateCustomHeaderElement(['DIVA_WEBPLANNER'], undefined);
|
|
14770
15133
|
}
|
|
14771
15134
|
}
|
|
14772
15135
|
}, {
|
|
14773
15136
|
key: "clearPrice",
|
|
14774
15137
|
value: function clearPrice() {
|
|
14775
|
-
var _this$
|
|
14776
|
-
(_this$
|
|
15138
|
+
var _this$actions16;
|
|
15139
|
+
(_this$actions16 = this.actions) === null || _this$actions16 === void 0 || _this$actions16.updateCustomHeaderElement(['DIVA_WEBPLANNER'], undefined);
|
|
14777
15140
|
}
|
|
14778
15141
|
|
|
14779
15142
|
/**
|
|
@@ -14808,13 +15171,13 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14808
15171
|
var image = "url('" + rendering.getImageForSrc() + "')";
|
|
14809
15172
|
this.divaWebPlanner.callEvent('onWebPlanerZoomClick', image);
|
|
14810
15173
|
if (!this.eventIsManagedByClient('onWebPlanerZoomClick')) {
|
|
14811
|
-
var _this$
|
|
14812
|
-
(_this$
|
|
15174
|
+
var _this$actions17, _this$actions18;
|
|
15175
|
+
(_this$actions17 = this.actions) === null || _this$actions17 === void 0 || _this$actions17.openFullscreen({
|
|
14813
15176
|
content: Fullscreen({
|
|
14814
15177
|
image: image
|
|
14815
15178
|
})
|
|
14816
15179
|
});
|
|
14817
|
-
(_this$
|
|
15180
|
+
(_this$actions18 = this.actions) === null || _this$actions18 === void 0 || _this$actions18.toggleLoading('Planner_Rendering', false, false);
|
|
14818
15181
|
}
|
|
14819
15182
|
this.logAnalytics('onFullScreen', 'Click on Zoom Button'); //pfister specific
|
|
14820
15183
|
}
|
|
@@ -14918,6 +15281,11 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14918
15281
|
value: function setHQRenderScript(hqRenderScript) {
|
|
14919
15282
|
this.hqRenderScript = hqRenderScript;
|
|
14920
15283
|
}
|
|
15284
|
+
}, {
|
|
15285
|
+
key: "downloadHQRenderScriptDebugFile",
|
|
15286
|
+
value: function downloadHQRenderScriptDebugFile() {
|
|
15287
|
+
this.divaWebPlanner.downloadHQRenderScriptDebugFile();
|
|
15288
|
+
}
|
|
14921
15289
|
}, {
|
|
14922
15290
|
key: "setCamInfo",
|
|
14923
15291
|
value: function setCamInfo(camInfo) {
|
|
@@ -14930,49 +15298,52 @@ var DivaViewHandler = /*#__PURE__*/function () {
|
|
|
14930
15298
|
}
|
|
14931
15299
|
}, {
|
|
14932
15300
|
key: "registerFunctions",
|
|
14933
|
-
value:
|
|
14934
|
-
|
|
15301
|
+
value: /** Attach this view handler to the logic as ONE PlannerViewApi (initial mount or adoption of an existing instance). */
|
|
15302
|
+
function registerFunctions() {
|
|
14935
15303
|
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
|
-
|
|
15304
|
+
this.divaWebPlanner.attachView({
|
|
15305
|
+
initPlannerView: this.initPlannerView.bind(this),
|
|
15306
|
+
initConfiguratorMode: this.productState.initConfiguratorMode.bind(this.productState),
|
|
15307
|
+
initConfiguratorStructure: this.initConfiguratorStructure.bind(this),
|
|
15308
|
+
updateConfiguratorStructure: this.updateConfiguratorStructure.bind(this),
|
|
15309
|
+
navigateToTabGroup: this.navigateToTabGroup.bind(this),
|
|
15310
|
+
navigateToConfigStep: this.navigateToConfigStep.bind(this),
|
|
15311
|
+
scrollToOptionValueInView: this.scrollToOptionValue.bind(this),
|
|
15312
|
+
updateCatalogPlannerArticles: this.updateCatalogPlannerArticles.bind(this),
|
|
15313
|
+
updateCatalogPlanner2Dot0Articles: this.updateCatalogPlanner2Dot0Articles.bind(this),
|
|
15314
|
+
updateAccessoiresPalette: this.updateAccessoiresPalette.bind(this),
|
|
15315
|
+
setWebConifguratorTitle: this.setWebConifguratorTitle.bind(this),
|
|
15316
|
+
onBasketInitialized: this.onBasketInitialized.bind(this),
|
|
15317
|
+
updateConfigItems: this.updateConfigItems.bind(this),
|
|
15318
|
+
updatePaletteInfos: this.updatePaletteInfos.bind(this),
|
|
15319
|
+
updateBBox: this.updateBBox.bind(this),
|
|
15320
|
+
updateViewPlannerElements: this.viewPlannerHandler.updatePlannerElements.bind(this.viewPlannerHandler),
|
|
15321
|
+
updateElementSelectionConfig: this.viewPlannerHandler.updateElementSelectionConfig.bind(this.viewPlannerHandler),
|
|
15322
|
+
updateElementSelectionPlanner: this.viewPlannerHandler.updateElementSelectionPlanner.bind(this.viewPlannerHandler),
|
|
15323
|
+
getCurPlannerViewMode: this.viewPlannerHandler.getCurPlannerViewMode.bind(this.viewPlannerHandler),
|
|
15324
|
+
getInitPlannerViewMode: this.viewPlannerHandler.getInitPlannerViewMode.bind(this.viewPlannerHandler),
|
|
15325
|
+
updatePlanner3DImage: this.viewPlannerHandler.updatePlanner3DImage.bind(this.viewPlannerHandler),
|
|
15326
|
+
setRotationOrbitCube: this.viewPlannerHandler.setRotationOfOrbitCube.bind(this.viewPlannerHandler),
|
|
15327
|
+
getCanvas2DAsJPG: this.viewPlannerHandler.get2DPlanning2DAsJPG.bind(this),
|
|
15328
|
+
updatePlannerMsgContainer: this.productState.updatePlannerMsgContainer.bind(this.productState),
|
|
15329
|
+
updateFullscreenRendering: this.updateFullscreenRendering.bind(this),
|
|
15330
|
+
updateSetImage: this.productState.updateSetImage.bind(this.productState),
|
|
15331
|
+
getDoShow3DDimensionLines: this.productState.getDoShow3DDimensionLines.bind(this.productState),
|
|
15332
|
+
getCurrentAlternativRendering: this.getCurrentAlternativRendering.bind(this),
|
|
15333
|
+
updatePlanner2DGrid: this.viewPlannerHandler.updatePlanner2DGrid.bind(this.viewPlannerHandler),
|
|
15334
|
+
getPlannerRenderingSize: this.productState.getPlannerRenderingSize.bind(this.productState),
|
|
15335
|
+
updateSummaryItems: this.updateSummaryItems.bind(this),
|
|
15336
|
+
updateStaticRoomListItems: this.updateStaticRoomListItems.bind(this),
|
|
15337
|
+
updateShelfPlannerItems: this.updateShelfPlannerItems.bind(this),
|
|
15338
|
+
updateFreePlacesOnGrids: this.updateFreePlacesOnGrids.bind(this),
|
|
15339
|
+
updateDoorPlannerItems: this.updateDoorPlannerItems.bind(this),
|
|
15340
|
+
updatePrice: this.updatePrice.bind(this),
|
|
15341
|
+
onClickAddToBasket: this.actionButtonState.onClickAddToBasket.bind(this.actionButtonState),
|
|
15342
|
+
updateViewButtonsDependigOnConfigStructure: this.actionButtonState.initForUpdate.bind(this.actionButtonState),
|
|
15343
|
+
initViewApiDependencies: this.initApiDependencies.bind(this),
|
|
15344
|
+
setHQRenderScript: this.setHQRenderScript.bind(this),
|
|
15345
|
+
setCamInfo: this.setCamInfo.bind(this)
|
|
15346
|
+
});
|
|
14976
15347
|
}
|
|
14977
15348
|
}]);
|
|
14978
15349
|
}();
|
|
@@ -15017,18 +15388,56 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15017
15388
|
if (!isVisible && isFullscreenComponent && (plannerConfig === null || plannerConfig === void 0 || (_plannerConfig$settin = plannerConfig.settings) === null || _plannerConfig$settin === void 0 ? void 0 : _plannerConfig$settin.applicationEnvironment) == 'WEB') {
|
|
15018
15389
|
isVisible = true;
|
|
15019
15390
|
}
|
|
15391
|
+
|
|
15392
|
+
// Set when a hidden instance skipped its boot (see below) — the visibility effect then re-arms
|
|
15393
|
+
// the boot effect exactly once, on the first transition to visible.
|
|
15394
|
+
var bootDeferredRef = useRef(false);
|
|
15395
|
+
var _useState5 = useState(0),
|
|
15396
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
15397
|
+
deferredBootTick = _useState6[0],
|
|
15398
|
+
setDeferredBootTick = _useState6[1];
|
|
15020
15399
|
useEffect(function () {
|
|
15400
|
+
if (!isVisible || !bootDeferredRef.current) return;
|
|
15401
|
+
bootDeferredRef.current = false;
|
|
15402
|
+
setDeferredBootTick(function (tick) {
|
|
15403
|
+
return tick + 1;
|
|
15404
|
+
});
|
|
15405
|
+
}, [isVisible]);
|
|
15406
|
+
useEffect(function () {
|
|
15407
|
+
var _plannerConfig$action, _plannerConfig$action2;
|
|
15408
|
+
// Instance adoption: the host may hand over an already-initialized planner logic instance
|
|
15409
|
+
// (e.g. one the backoffice DIVA agent created headless) — the view then attaches to it
|
|
15410
|
+
// instead of re-initializing from scratch.
|
|
15411
|
+
var adoptPlanner = (_plannerConfig$action = plannerConfig.actions) === null || _plannerConfig$action === void 0 || (_plannerConfig$action2 = _plannerConfig$action.resolveAdoptablePlanner) === null || _plannerConfig$action2 === void 0 ? void 0 : _plannerConfig$action2.call(_plannerConfig$action);
|
|
15412
|
+
|
|
15413
|
+
// While an rtv-next viewer is live on this page, a hidden planner defers its whole logic boot
|
|
15414
|
+
// (engine, catalog fetch, SignalR/media sockets) until first shown — the visible rtv-next
|
|
15415
|
+
// planner needs the memory headroom (tablet context loss), and nothing reads a hidden
|
|
15416
|
+
// planner's state meanwhile. CREATE_IMAGE instances are the capture source and stay hidden by
|
|
15417
|
+
// design, so they always boot.
|
|
15418
|
+
if (!isVisible && !adoptPlanner && plannerConfig.initMode !== 'CREATE_IMAGE' && rtvNextActiveOnPage()) {
|
|
15419
|
+
bootDeferredRef.current = true;
|
|
15420
|
+
return;
|
|
15421
|
+
}
|
|
15021
15422
|
if (plannerConfig.addDivaNr) {
|
|
15022
15423
|
plannerConfig.divaNr = plannerConfig.addDivaNr;
|
|
15023
15424
|
setAddDivaNr(plannerConfig.addDivaNr);
|
|
15024
15425
|
}
|
|
15025
15426
|
var newViewHandler = new DivaViewHandler(plannerConfig, isVisible);
|
|
15026
|
-
newViewHandler.initialize(true);
|
|
15427
|
+
newViewHandler.initialize(true, undefined, adoptPlanner);
|
|
15027
15428
|
if (plannerConfig.productId) {
|
|
15028
15429
|
newViewHandler.configState.currentInitializedProductId = plannerConfig.productId;
|
|
15029
15430
|
}
|
|
15030
15431
|
setViewHandler(newViewHandler);
|
|
15031
|
-
|
|
15432
|
+
return function () {
|
|
15433
|
+
var _plannerConfig$action3, _plannerConfig$action4, _newViewHandler$divaW;
|
|
15434
|
+
// Tell the host the instance handed out via onPlannerInstance is gone (planner unmounts or re-creates its handler).
|
|
15435
|
+
(_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);
|
|
15436
|
+
// A superseded or unmounted planner must not stay live — its SignalR + media sockets and
|
|
15437
|
+
// event subscriptions otherwise leak per re-init. An adopted instance stays with its owner.
|
|
15438
|
+
if (!adoptPlanner) (_newViewHandler$divaW = newViewHandler.divaWebPlanner) === null || _newViewHandler$divaW === void 0 || _newViewHandler$divaW.destroyWebPlanner();
|
|
15439
|
+
};
|
|
15440
|
+
}, [user, deferredBootTick]);
|
|
15032
15441
|
var keyDownFunction = useCallback(function (e) {
|
|
15033
15442
|
if (!viewHandler) return;
|
|
15034
15443
|
if (e.key === 'Enter' && viewHandler.getViewConfig().navigateOnEnter) {
|
|
@@ -15041,7 +15450,16 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15041
15450
|
//focus on search
|
|
15042
15451
|
if (viewHandler.paletteViewHandler.focusSearch()) e.preventDefault();
|
|
15043
15452
|
}
|
|
15044
|
-
|
|
15453
|
+
if (e.key === 'Delete' || e.key === 'Backspace') {
|
|
15454
|
+
// A hidden planner must not delete anything from keys pressed elsewhere on the host page.
|
|
15455
|
+
if (!isVisible) return;
|
|
15456
|
+
// Don't hijack the key while the user is typing in an input / editable field.
|
|
15457
|
+
var active = document.activeElement;
|
|
15458
|
+
var tag = active === null || active === void 0 ? void 0 : active.tagName;
|
|
15459
|
+
if (tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT' || active !== null && active !== void 0 && active.isContentEditable) return;
|
|
15460
|
+
viewHandler.viewPlannerHandler.deleteSelectedElement();
|
|
15461
|
+
}
|
|
15462
|
+
}, [viewHandler, isVisible]);
|
|
15045
15463
|
useEffect(function () {
|
|
15046
15464
|
document.addEventListener('keydown', keyDownFunction, false);
|
|
15047
15465
|
return function () {
|
|
@@ -15058,7 +15476,7 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15058
15476
|
var initConfigurator = /*#__PURE__*/function () {
|
|
15059
15477
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15060
15478
|
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$
|
|
15479
|
+
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
15480
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
15063
15481
|
while (1) switch (_context.prev = _context.next) {
|
|
15064
15482
|
case 0:
|
|
@@ -15233,7 +15651,7 @@ var ViewHandlerProvider = function ViewHandlerProvider(_ref) {
|
|
|
15233
15651
|
if (plannerConfig.forceReload != undefined && plannerConfig.actions) {
|
|
15234
15652
|
// reset forceReload
|
|
15235
15653
|
_ref3 = plannerConfig.internal || {}, _ref3.forceReload, otherInternals = _objectWithoutProperties(_ref3, _excluded2);
|
|
15236
|
-
(_plannerConfig$
|
|
15654
|
+
(_plannerConfig$action5 = plannerConfig.actions) === null || _plannerConfig$action5 === void 0 || _plannerConfig$action5.openComponent({
|
|
15237
15655
|
type: 'DIVA_WEBPLANNER',
|
|
15238
15656
|
parameters: plannerConfig === null || plannerConfig === void 0 ? void 0 : plannerConfig.parameters,
|
|
15239
15657
|
internal: otherInternals
|
|
@@ -15413,49 +15831,49 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
15413
15831
|
switch (path) {
|
|
15414
15832
|
case '../components/GlobalElements/HeightAnimator.tsx': return Promise.resolve().then(function () { return HeightAnimator$1; });
|
|
15415
15833
|
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-
|
|
15834
|
+
case '../components/Settings/index.tsx': return import('./index-3c161268.js');
|
|
15835
|
+
case '../components/TabGroup/index.tsx': return import('./index-7e9f924b.js');
|
|
15836
|
+
case '../components/Action/BasketMobile/index.tsx': return import('./index-887c29b3.js');
|
|
15837
|
+
case '../components/Action/Navigation/index.tsx': return import('./index-eaf1a6ef.js');
|
|
15838
|
+
case '../components/GlobalElements/Affiliate/index.tsx': return import('./index-c4c5a8a3.js');
|
|
15839
|
+
case '../components/GlobalElements/AiRoomsSelection/index.tsx': return import('./index-ac1c2f4d.js');
|
|
15840
|
+
case '../components/GlobalElements/ArticleOverviewSlider/index.tsx': return import('./index-aaa125d1.js');
|
|
15423
15841
|
case '../components/GlobalElements/Checkout/index.tsx': return Promise.resolve().then(function () { return index$9; });
|
|
15424
15842
|
case '../components/GlobalElements/FrameworkPrice/index.tsx': return Promise.resolve().then(function () { return index$7; });
|
|
15425
15843
|
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-
|
|
15844
|
+
case '../components/Layout/classification/index.tsx': return import('./index-dc237063.js');
|
|
15845
|
+
case '../components/Layout/gold/index.tsx': return import('./index-299dd1d7.js');
|
|
15846
|
+
case '../components/Layout/ralph/index.tsx': return import('./index-8e185186.js');
|
|
15847
|
+
case '../components/Layout/serious/index.tsx': return import('./index-cd273297.js');
|
|
15848
|
+
case '../components/Layout/seriousRight/index.tsx': return import('./index-52b3d317.js');
|
|
15849
|
+
case '../components/Layout/standard/index.tsx': return import('./index-3850649b.js');
|
|
15850
|
+
case '../components/Layout/wysiwyg/index.tsx': return import('./index-5008e5b3.js');
|
|
15851
|
+
case '../components/Product/ContentItemWrapper/index.tsx': return import('./index-dcd6a0ea.js');
|
|
15852
|
+
case '../components/Product/Product/index.tsx': return import('./index-414bc9db.js');
|
|
15853
|
+
case '../components/Product/ProductCenter/index.tsx': return import('./index-d52c9f36.js');
|
|
15854
|
+
case '../components/Product/ProductFooter/index.tsx': return import('./index-6f763a0d.js');
|
|
15855
|
+
case '../components/Product/ProductInfo/index.tsx': return import('./index-9b6a85c0.js');
|
|
15856
|
+
case '../components/Product/ProductSettings/index.tsx': return import('./index-e07e8f93.js');
|
|
15857
|
+
case '../components/Settings/SettingsDrawer/index.tsx': return import('./index-d1f0b856.js');
|
|
15858
|
+
case '../components/Settings/SettingsExpanderButtons/index.tsx': return import('./index-a8c57af9.js');
|
|
15859
|
+
case '../components/Settings/SettingsHeaderContainer/index.tsx': return import('./index-f716563e.js');
|
|
15860
|
+
case '../components/Settings/SettingsScroller/index.tsx': return import('./index-18691afe.js');
|
|
15861
|
+
case '../components/Settings/SettingsSwiper/index.tsx': return import('./index-29152556.js');
|
|
15862
|
+
case '../components/TabGroup/ProgressBar/index.tsx': return import('./index-55098080.js');
|
|
15863
|
+
case '../components/TabGroup/Search/index.tsx': return import('./index-669f8a5e.js');
|
|
15864
|
+
case '../components/TabGroup/TabGroupHorizontal/index.tsx': return import('./index-d1328d1a.js');
|
|
15865
|
+
case '../components/TabGroup/TabGroupVertical/index.tsx': return import('./index-690d4a89.js');
|
|
15866
|
+
case '../components/Action/Basket/gold/index.tsx': return import('./index-7073f1d4.js');
|
|
15867
|
+
case '../components/Action/Basket/ralph/index.tsx': return import('./index-a7227654.js');
|
|
15868
|
+
case '../components/Action/Basket/serious/index.tsx': return import('./index-cdeee431.js');
|
|
15869
|
+
case '../components/Action/Basket/standard/index.tsx': return import('./index-9f13b7ff.js');
|
|
15870
|
+
case '../components/Action/Navigation/blue/index.tsx': return import('./index-d4ec5318.js');
|
|
15871
|
+
case '../components/Action/Navigation/gold/index.tsx': return import('./index-194db4dd.js');
|
|
15872
|
+
case '../components/Action/Navigation/ralph/index.tsx': return import('./index-85481862.js');
|
|
15873
|
+
case '../components/Action/Navigation/standard/index.tsx': return import('./index-a3ee4fb5.js');
|
|
15874
|
+
case '../components/Action/Navigation/wysiwyg/index.tsx': return import('./index-b8763b90.js');
|
|
15457
15875
|
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-
|
|
15876
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/index.tsx': return import('./index-3f715701.js');
|
|
15459
15877
|
case '../components/GlobalElements/Checkout/AGB/index.tsx': return Promise.resolve().then(function () { return index$n; });
|
|
15460
15878
|
case '../components/GlobalElements/Checkout/ClickToCall/index.tsx': return Promise.resolve().then(function () { return index$a; });
|
|
15461
15879
|
case '../components/GlobalElements/Checkout/CreateAppointment/index.tsx': return Promise.resolve().then(function () { return index$l; });
|
|
@@ -15466,201 +15884,202 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
15466
15884
|
case '../components/GlobalElements/Checkout/Save/index.tsx': return Promise.resolve().then(function () { return index$d; });
|
|
15467
15885
|
case '../components/GlobalElements/Checkout/SavePDF/index.tsx': return Promise.resolve().then(function () { return index$b; });
|
|
15468
15886
|
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/
|
|
15887
|
+
case '../components/GlobalElements/PopupWindows/Inputbox/index.tsx': return import('./index-dff2807c.js');
|
|
15888
|
+
case '../components/Layout/wysiwyg/Toolbar/index.tsx': return import('./index-8061e6bf.js');
|
|
15889
|
+
case '../components/Product/ContentItemWrapper/dontReopenAutomatically/index.tsx': return import('./index-16180e43.js');
|
|
15890
|
+
case '../components/Product/Product/catalog/index.tsx': return import('./index-2b311736.js');
|
|
15891
|
+
case '../components/Product/Product/serious/index.tsx': return import('./index-02bf80c2.js');
|
|
15892
|
+
case '../components/Product/Product/standard/index.tsx': return import('./index-68aac09d.js');
|
|
15893
|
+
case '../components/Product/ProductCenter/MobileNavIcons/index.tsx': return import('./index-b9802779.js');
|
|
15894
|
+
case '../components/Product/ProductCenter/Planner2DGird/index.tsx': return import('./index-1b0f4452.js');
|
|
15895
|
+
case '../components/Product/ProductCenter/Planner3D/index.tsx': return import('./index-f450f41e.js');
|
|
15896
|
+
case '../components/Product/ProductCenter/Planner3DImage/index.tsx': return import('./index-1072cce1.js').then(function (n) { return n.b; });
|
|
15897
|
+
case '../components/Product/ProductCenter/PlannerAIRoom/index.tsx': return import('./index-7236a7cb.js');
|
|
15898
|
+
case '../components/Product/ProductCenter/PlannerMsgContainer/index.tsx': return import('./index-5bad73d3.js');
|
|
15899
|
+
case '../components/Product/ProductCenter/PlannerRTV/index.tsx': return import('./index-946da47d.js');
|
|
15900
|
+
case '../components/Product/ProductCenter/PlannerRTVNext/index.tsx': return import('./index-0db38456.js');
|
|
15901
|
+
case '../components/Product/ProductCenter/PlannerUI/index.tsx': return import('./index-e18c00bd.js');
|
|
15902
|
+
case '../components/Product/ProductCenter/RoomListSelection/index.tsx': return import('./index-272fbc41.js');
|
|
15903
|
+
case '../components/Product/ProductCenter/RotateInfo/index.tsx': return import('./index-a89b343c.js');
|
|
15904
|
+
case '../components/Product/ProductFooter/gold/index.tsx': return import('./index-cf741bb6.js');
|
|
15905
|
+
case '../components/Product/ProductFooter/ralph/index.tsx': return import('./index-e2aeaa39.js');
|
|
15906
|
+
case '../components/Product/ProductFooter/standard/index.tsx': return import('./index-40a7066f.js');
|
|
15907
|
+
case '../components/Product/ProductHeader/Functions/index.tsx': return import('./index-8331fe6e.js');
|
|
15908
|
+
case '../components/Product/ProductHeader/ProductHeader/index.tsx': return import('./index-cf2be7df.js');
|
|
15909
|
+
case '../components/Settings/SettingsScroller/SettingsItem/index.tsx': return import('./index-3258f83f.js').then(function (n) { return n.d; });
|
|
15910
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/index.tsx': return import('./index-fd1c9763.js');
|
|
15911
|
+
case '../components/Settings/SettingsScroller/SubTabGroup/index.tsx': return import('./index-5e2f0c6a.js');
|
|
15912
|
+
case '../components/Settings/SettingsSwiper/NavForwardButton/index.tsx': return import('./index-0333c640.js');
|
|
15913
|
+
case '../components/TabGroup/TabGroupHorizontal/item/index.tsx': return import('./index-c9846514.js');
|
|
15914
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/index.tsx': return import('./index-833cefe9.js');
|
|
15915
|
+
case '../components/Action/Basket/ralph/PriceSumm/index.tsx': return import('./index-f755ce67.js');
|
|
15916
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/CustomInput/index.tsx': return import('./index-37992051.js');
|
|
15917
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/InfoBanner/index.tsx': return import('./index-7af6bd59.js');
|
|
15918
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/index.tsx': return import('./index-ed7bf98f.js');
|
|
15500
15919
|
case '../components/GlobalElements/Checkout/Share/CreatignQrCode/index.tsx': return Promise.resolve().then(function () { return index$j; });
|
|
15501
15920
|
case '../components/GlobalElements/Checkout/Share/LoadingButton/index.tsx': return Promise.resolve().then(function () { return index$m; });
|
|
15502
15921
|
case '../components/GlobalElements/Checkout/Share/MultiToggleSwitch/index.tsx': return Promise.resolve().then(function () { return index$k; });
|
|
15503
15922
|
case '../components/GlobalElements/Checkout/Share/ShareViaEmail/index.tsx': return Promise.resolve().then(function () { return index$g; });
|
|
15504
15923
|
case '../components/GlobalElements/Checkout/Share/ShareViaSocialMedias/index.tsx': return Promise.resolve().then(function () { return index$h; });
|
|
15505
15924
|
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-
|
|
15925
|
+
case '../components/Layout/wysiwyg/Toolbar/FloatingWindow/index.tsx': return import('./index-10c55954.js');
|
|
15926
|
+
case '../components/Layout/wysiwyg/Toolbar/ToolContainer/index.tsx': return import('./index-48709d20.js');
|
|
15927
|
+
case '../components/Product/Product/catalog/Sidebar/index.tsx': return import('./index-33eb7ce7.js');
|
|
15928
|
+
case '../components/Product/Product/serious/CheckoutForm/index.tsx': return import('./index-19924394.js');
|
|
15929
|
+
case '../components/Product/ProductCenter/Planner3DImage/Logo/index.tsx': return import('./index-a52784b9.js');
|
|
15930
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/index.tsx': return import('./index-59ab02a8.js');
|
|
15931
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/index.tsx': return import('./index-547fbb34.js');
|
|
15513
15932
|
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-
|
|
15933
|
+
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/index.tsx': return import('./index-3fdc60c5.js');
|
|
15934
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/index.tsx': return import('./index-6a7c9333.js');
|
|
15935
|
+
case '../components/Product/ProductCenter/RoomListSelection/serious/index.tsx': return import('./index-d75c35b5.js');
|
|
15936
|
+
case '../components/Product/ProductCenter/RoomListSelection/standard/index.tsx': return import('./index-a271c87b.js');
|
|
15937
|
+
case '../components/Product/ProductHeader/Functions/StyleIndicator/index.tsx': return import('./index-9a895999.js');
|
|
15938
|
+
case '../components/Product/ProductHeader/ProductHeader/blue/index.tsx': return import('./index-be32a2e2.js');
|
|
15939
|
+
case '../components/Product/ProductHeader/ProductHeader/gold/index.tsx': return import('./index-ce0d2469.js');
|
|
15940
|
+
case '../components/Product/ProductHeader/ProductHeader/ralph/index.tsx': return import('./index-338ca5e6.js');
|
|
15941
|
+
case '../components/Product/ProductHeader/ProductHeader/standard/index.tsx': return import('./index-b39ee00c.js');
|
|
15942
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/DockFilter/index.tsx': return import('./index-f717b58f.js');
|
|
15943
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/index.tsx': return import('./index-7acb06b8.js');
|
|
15944
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/Searchbar/index.tsx': return import('./index-3320c27f.js');
|
|
15526
15945
|
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-
|
|
15946
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsConfigSingle/index.tsx': return import('./index-9575339b.js');
|
|
15947
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/index.tsx': return import('./index-75224a75.js');
|
|
15948
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ComponentMap/index.tsx': return import('./index-79f86b9d.js');
|
|
15949
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemWrapper/index.tsx': return import('./index-3258f83f.js').then(function (n) { return n.b; });
|
|
15950
|
+
case '../components/Settings/SettingsScroller/SettingsItem/StepInfo/index.tsx': return import('./index-7c6580b8.js');
|
|
15951
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/ContentItemTeaser/index.tsx': return import('./index-91ad05f6.js');
|
|
15952
|
+
case '../components/Settings/SettingsScroller/SettingsItemsWrapper/SettingsItemsGroup/index.tsx': return import('./index-93f74e2c.js');
|
|
15953
|
+
case '../components/Settings/SettingsScroller/SubTabGroup/SubTabGroupHeader/index.tsx': return import('./index-d4eab021.js');
|
|
15954
|
+
case '../components/TabGroup/TabGroupHorizontal/item/gold/index.tsx': return import('./index-f330506c.js');
|
|
15955
|
+
case '../components/TabGroup/TabGroupHorizontal/item/inspiration/index.tsx': return import('./index-379178ce.js');
|
|
15956
|
+
case '../components/TabGroup/TabGroupHorizontal/item/ralph/index.tsx': return import('./index-5f7f6732.js');
|
|
15957
|
+
case '../components/TabGroup/TabGroupHorizontal/item/standard/index.tsx': return import('./index-1cda158b.js');
|
|
15958
|
+
case '../components/TabGroup/TabGroupHorizontal/item/wysiwyg/index.tsx': return import('./index-8499494f.js');
|
|
15959
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/index.tsx': return import('./index-8463c6a5.js');
|
|
15960
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/free/index.tsx': return import('./index-3a045c84.js');
|
|
15961
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/mountain/index.tsx': return import('./index-c176f45a.js');
|
|
15962
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/serious/index.tsx': return import('./index-8d7257ee.js');
|
|
15963
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/standard/index.tsx': return import('./index-83047454.js');
|
|
15964
|
+
case '../components/GlobalElements/AiRoomsSelection/RoomGallery/RoomItem/UploadItem/index.tsx': return import('./index-64c00abe.js');
|
|
15965
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/gold/index.tsx': return import('./index-391a1ec3.js');
|
|
15966
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/serious/index.tsx': return import('./index-8d4146a2.js');
|
|
15967
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/index.tsx': return import('./index-4bb61877.js');
|
|
15968
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/serious/index.tsx': return import('./index-ebf38440.js');
|
|
15969
|
+
case '../components/Product/ProductCenter/Planner3DImage/OrbitInteraction/standard/index.tsx': return import('./index-3c381642.js');
|
|
15970
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Outline/index.tsx': return import('./index-7b297c46.js');
|
|
15971
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Outline3D/index.tsx': return import('./index-d9da042a.js');
|
|
15972
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/PosNr/index.tsx': return import('./index-206543ad.js');
|
|
15973
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Trash/index.tsx': return import('./index-9c36655a.js');
|
|
15974
|
+
case '../components/Product/ProductCenter/PlannerUI/ItemsContainer/ItemsDPAccContainer/index.tsx': return import('./index-c79424f1.js').then(function (n) { return n.i; });
|
|
15975
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/gold/index.tsx': return import('./index-2464d448.js');
|
|
15976
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/hidden/index.tsx': return import('./index-6039a611.js');
|
|
15977
|
+
case '../components/Product/ProductCenter/PlannerUI/PlannerUIVariants/standard/index.tsx': return import('./index-9f80fe18.js');
|
|
15978
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/index.tsx': return import('./index-03f331f1.js');
|
|
15979
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/index.tsx': return import('./index-ff1065a1.js');
|
|
15980
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/serious/index.tsx': return import('./index-40ca64b7.js');
|
|
15981
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/index.tsx': return import('./index-ab8dc8e0.js');
|
|
15982
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/SettingsPosNrContainer/SettingsPosNr/index.tsx': return import('./index-6d2016bc.js').then(function (n) { return n.i; });
|
|
15983
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/ConceptFilter/index.tsx': return import('./index-1c06aee7.js');
|
|
15984
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/HorizontalGroup/index.tsx': return import('./index-3258f83f.js').then(function (n) { return n.i; });
|
|
15985
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/index.tsx': return import('./index-ed1206ec.js');
|
|
15986
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroupDropdown/index.tsx': return import('./index-7b53cb6f.js');
|
|
15987
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/index.tsx': return import('./index-dc8c8574.js');
|
|
15988
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/DoorPlanner/index.tsx': return import('./index-6e47a0c6.js');
|
|
15989
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/index.tsx': return import('./index-c8b29988.js');
|
|
15990
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Promoted/index.tsx': return import('./index-67fd43fc.js');
|
|
15991
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/index.tsx': return import('./index-7847734a.js');
|
|
15992
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/UnlockCard.tsx': return import('./UnlockCard-d453caf5.js').then(function (n) { return n.M; });
|
|
15993
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/StyleConsultant/index.tsx': return import('./index-8f5fa9b4.js');
|
|
15994
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/Header/index.tsx': return import('./index-662eb542.js');
|
|
15995
|
+
case '../components/TabGroup/TabGroupVertical/ItemVariants/classification/configstep/index.tsx': return import('./index-b3de81d6.js');
|
|
15996
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/index.tsx': return import('./index-f8d7c164.js');
|
|
15997
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/BoxCopy/index.tsx': return import('./index-caa3b342.js');
|
|
15998
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Copy/ElementCopy/index.tsx': return import('./index-400d2ad9.js');
|
|
15999
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Dimension/DistanceToGround/index.tsx': return import('./index-dd8ec79f.js');
|
|
16000
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVL/index.tsx': return import('./index-3dc757b3.js');
|
|
16001
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/AVR/index.tsx': return import('./index-8d0b4891.js');
|
|
16002
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/DockingPoint/DPACC/index.tsx': return import('./index-5119923c.js');
|
|
16003
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationClockwise/index.tsx': return import('./index-96514191.js');
|
|
16004
|
+
case '../components/Product/ProductCenter/PlannerUI/Items/Rotation/RotationCounterClockwise/index.tsx': return import('./index-b83c7ccf.js');
|
|
16005
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/DropdownFilter/Arrow/index.tsx': return import('./index-2cae4848.js');
|
|
16006
|
+
case '../components/Settings/SettingsHeaderContainer/Filter/RALFilter/SlideFilter/FilterItem/index.tsx': return import('./index-fe3494ee.js');
|
|
16007
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/InfoButton/index.tsx': return import('./index-e1c75dfc.js');
|
|
16008
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/NumberInput/index.tsx': return import('./index-f89aa898.js');
|
|
16009
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/PDFButton/index.tsx': return import('./index-ff268b26.js');
|
|
16010
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/index.tsx': return import('./index-6b77bd94.js');
|
|
16011
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SummaryVariantButton/index.tsx': return import('./index-94d86bd9.js');
|
|
16012
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/index.tsx': return import('./index-92417bd8.js');
|
|
16013
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/index.tsx': return import('./index-27d63749.js');
|
|
16014
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/serious/index.tsx': return import('./index-8060c2a2.js');
|
|
16015
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Accessoires/standard/index.tsx': return import('./index-fcd58621.js');
|
|
16016
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ArticleOverviewWrapper/index.tsx': return import('./index-3258f83f.js').then(function (n) { return n.a; });
|
|
16017
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Default/index.tsx': return import('./index-98e4cdc7.js');
|
|
16018
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/Facelift/index.tsx': return import('./index-3f7ecb08.js');
|
|
16019
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/index.tsx': return import('./index-422b59cb.js');
|
|
16020
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerSwitch/index.tsx': return import('./index-df8e375c.js');
|
|
16021
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/ReplaceSwitch/index.tsx': return import('./index-694817c3.js');
|
|
16022
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/index.tsx': return import('./index-ab54b2e5.js');
|
|
16023
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/InfoIcon/index.tsx': return import('./index-4a8a4ca9.js');
|
|
16024
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/MetaData/index.tsx': return import('./index-cf02d8ed.js');
|
|
15606
16025
|
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/PriceCounter/index.tsx': return Promise.resolve().then(function () { return index$2; });
|
|
15607
16026
|
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-
|
|
16027
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ReverseCheck/index.tsx': return import('./index-2b816cbb.js');
|
|
15609
16028
|
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-
|
|
16029
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/index.tsx': return import('./index-f07c90dd.js');
|
|
16030
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/TextBox/index.tsx': return import('./index-28e8c543.js');
|
|
16031
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Gallery/index.tsx': return import('./index-2e37ec62.js');
|
|
16032
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText/index.tsx': return import('./index-77d97795.js');
|
|
16033
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/GalleryText2/index.tsx': return import('./index-0c2e994b.js');
|
|
16034
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/index.tsx': return import('./index-2cf7b7c7.js');
|
|
16035
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ProductList/Search/index.tsx': return import('./index-ddda70a5.js');
|
|
16036
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/index.tsx': return import('./index-c703f557.js');
|
|
16037
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/SelectedAcc/index.tsx': return import('./index-2ed702ed.js').then(function (n) { return n.j; });
|
|
16038
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoires/index.tsx': return import('./index-c8cae97b.js');
|
|
16039
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/ShelfAccessoiresOld/index.tsx': return import('./index-2b222904.js');
|
|
16040
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Articles/index.tsx': return import('./index-10c77efd.js');
|
|
16041
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/index.tsx': return import('./index-6451eefd.js');
|
|
16042
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/index.tsx': return import('./index-b3b30d08.js');
|
|
16043
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/TotalPrice/index.tsx': return import('./index-aea56c2a.js');
|
|
16044
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/Variants/index.tsx': return import('./index-1a1d9d49.js');
|
|
15626
16045
|
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-
|
|
16046
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleHeader/index.tsx': return import('./index-10eb429e.js');
|
|
16047
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleName/index.tsx': return import('./index-32ce6566.js');
|
|
16048
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Toggle/ToggleOption/index.tsx': return import('./index-45153c84.js');
|
|
16049
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/FullscreenAr/index.tsx': return import('./index-b9c5ddd0.js');
|
|
16050
|
+
case '../components/Product/ProductCenter/Planner3DImage/NavBar/standard/ArQrCodeIcon/Tooltip/index.tsx': return import('./index-9165b357.js');
|
|
16051
|
+
case '../components/Settings/SettingsHeaderContainer/SettingsItemHeader/Header/standard/SelectedOpv/Item/index.tsx': return import('./index-6c60ca58.js');
|
|
16052
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/jungle/group/index.tsx': return import('./index-0853f3bb.js');
|
|
16053
|
+
case '../components/Settings/SettingsScroller/SettingsItem/Groups/PaletteGroup/standard/Group/index.tsx': return import('./index-cb9081ef.js');
|
|
16054
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Article/PlannerOverview/addElement/index.tsx': return import('./index-641d330b.js').then(function (n) { return n.g; });
|
|
16055
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/CollapsibleTrigger/index.tsx': return import('./index-c0eee176.js');
|
|
16056
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/ConceptItem/index.tsx': return import('./index-616c60b0.js');
|
|
16057
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/GenericComponents/ConceptGallery/InfoBanner/index.tsx': return import('./index-9d20e056.js');
|
|
16058
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/serious/index.tsx': return import('./index-2404c1a5.js');
|
|
16059
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/index.tsx': return import('./index-271b050d.js');
|
|
16060
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/index.tsx': return import('./index-67dafeb1.js');
|
|
16061
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/index.tsx': return import('./index-c73d78e9.js');
|
|
16062
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/NumberBox/index.tsx': return import('./index-cf1ece86.js');
|
|
16063
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Radio/index.tsx': return import('./index-2f6a6006.js');
|
|
16064
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Range/index.tsx': return import('./index-c0027e7d.js');
|
|
16065
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Slider/index.tsx': return import('./index-57eef9cd.js');
|
|
16066
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/IsActive/standard/index.tsx': return import('./index-e2e6dcb6.js');
|
|
16067
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/ShelfPlanner/Grid/DeleteButton/index.tsx': return import('./index-cbd560c7.js');
|
|
16068
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/serious/index.tsx': return import('./index-f8c8fae6.js');
|
|
16069
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/index.tsx': return import('./index-2487bbcd.js');
|
|
16070
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/AppointmentPreview/index.tsx': return import('./index-3fe0571a.js');
|
|
16071
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/Confetti/index.tsx': return import('./index-358782f0.js');
|
|
16072
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/SummaryOverview/SummaryHeader/index.tsx': return import('./index-ba7e105d.js');
|
|
16073
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/HeaderAndOption/DropDownText/standard/MobileDropdown/index.tsx': return import('./index-4cbc4390.js');
|
|
16074
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/jungle/index.tsx': return import('./index-2f9f8710.js');
|
|
16075
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Default/standard/index.tsx': return import('./index-a9073adb.js');
|
|
16076
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/MultiToggle/MultiToggleSwitch/index.tsx': return import('./index-556e0a0d.js');
|
|
16077
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/index.tsx': return import('./index-d40b4ce1.js');
|
|
16078
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/ViewPoint/index.tsx': return import('./index-c883c4df.js');
|
|
16079
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/standard/OptionItem/index.tsx': return import('./index-8b6c72e9.js').then(function (n) { return n.i; });
|
|
16080
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/round/index.tsx': return import('./index-7fe3a425.js');
|
|
16081
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/serious/index.tsx': return import('./index-6a8751d6.js');
|
|
16082
|
+
case '../components/Settings/SettingsScroller/SettingsItem/ItemPalette/Options/Default/Room/RoomItem/standard/index.tsx': return import('./index-908bce4f.js');
|
|
15664
16083
|
default: return new Promise(function(resolve, reject) {
|
|
15665
16084
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
|
15666
16085
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
|
@@ -15703,17 +16122,25 @@ var DivaWebPlannerMain = observer(function () {
|
|
|
15703
16122
|
});
|
|
15704
16123
|
|
|
15705
16124
|
var analyzerComponentsContext = /*#__PURE__*/createContext({});
|
|
16125
|
+
var rtvAnalyzerContext = /*#__PURE__*/createContext({});
|
|
15706
16126
|
var AnalyzerComponentsProvider = function AnalyzerComponentsProvider(_ref) {
|
|
15707
16127
|
var components = _ref.components,
|
|
16128
|
+
rtvAnalyzerComponents = _ref.rtvAnalyzerComponents,
|
|
15708
16129
|
children = _ref.children;
|
|
15709
16130
|
return /*#__PURE__*/jsx(analyzerComponentsContext.Provider, {
|
|
15710
16131
|
value: components,
|
|
15711
|
-
children:
|
|
16132
|
+
children: /*#__PURE__*/jsx(rtvAnalyzerContext.Provider, {
|
|
16133
|
+
value: rtvAnalyzerComponents !== null && rtvAnalyzerComponents !== void 0 ? rtvAnalyzerComponents : {},
|
|
16134
|
+
children: children
|
|
16135
|
+
})
|
|
15712
16136
|
});
|
|
15713
16137
|
};
|
|
15714
16138
|
var useAnalyzerComponents = function useAnalyzerComponents() {
|
|
15715
16139
|
return useContext(analyzerComponentsContext);
|
|
15716
16140
|
};
|
|
16141
|
+
var useRTVAnalyzerComponentsFromPlanner = function useRTVAnalyzerComponentsFromPlanner() {
|
|
16142
|
+
return useContext(rtvAnalyzerContext);
|
|
16143
|
+
};
|
|
15717
16144
|
var MissingAnalyzerComponent = function MissingAnalyzerComponent(_ref2) {
|
|
15718
16145
|
var name = _ref2.name;
|
|
15719
16146
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -15795,7 +16222,11 @@ var wcPlannerInfoContainerCollapsed = "wcPlanner_InfoContainerCollapsed-xs0DF";
|
|
|
15795
16222
|
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
16223
|
styleInject(css_248z$2);
|
|
15797
16224
|
|
|
16225
|
+
var CONFIGURATOR_MSG_FALLBACK = {
|
|
16226
|
+
THREE_D_CATALOG_UNAVAILABLE: '3D view is currently unavailable because the product catalog was not loaded. Planning in 2D still works.'
|
|
16227
|
+
};
|
|
15798
16228
|
var PlannerMsgItem = function PlannerMsgItem(_ref) {
|
|
16229
|
+
var _CONFIGURATOR_MSG_FAL;
|
|
15799
16230
|
var item = _ref.item,
|
|
15800
16231
|
codex = _ref.codex;
|
|
15801
16232
|
var viewHandler = useViewHandler();
|
|
@@ -15822,7 +16253,9 @@ var PlannerMsgItem = function PlannerMsgItem(_ref) {
|
|
|
15822
16253
|
}), /*#__PURE__*/jsx("div", {
|
|
15823
16254
|
className: classnames(wcPlannerMsgText, item.type == 'INFO' ? wcPlannerInfoText : undefined, item.type == 'WARNING' ? wcPlannerWarningText : undefined),
|
|
15824
16255
|
dangerouslySetInnerHTML: typeof item.content == 'string' ? {
|
|
15825
|
-
__html: t('configurator.' + item.content,
|
|
16256
|
+
__html: t('configurator.' + item.content, {
|
|
16257
|
+
defaultValue: (_CONFIGURATOR_MSG_FAL = CONFIGURATOR_MSG_FALLBACK[codex]) !== null && _CONFIGURATOR_MSG_FAL !== void 0 ? _CONFIGURATOR_MSG_FAL : item.content
|
|
16258
|
+
})
|
|
15826
16259
|
} : undefined
|
|
15827
16260
|
}), typeof item.content != 'string' && item.content]
|
|
15828
16261
|
});
|
|
@@ -16088,7 +16521,8 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16088
16521
|
settings = _ref.settings,
|
|
16089
16522
|
internal = _ref.internal,
|
|
16090
16523
|
isVisible = _ref.isVisible,
|
|
16091
|
-
analyzerComponents = _ref.analyzerComponents
|
|
16524
|
+
analyzerComponents = _ref.analyzerComponents,
|
|
16525
|
+
rtvAnalyzerComponents = _ref.rtvAnalyzerComponents;
|
|
16092
16526
|
var _useDivaCore = useDivaCore(),
|
|
16093
16527
|
state = _useDivaCore.state,
|
|
16094
16528
|
actions = _useDivaCore.actions,
|
|
@@ -16128,6 +16562,7 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16128
16562
|
}
|
|
16129
16563
|
return /*#__PURE__*/jsx(AnalyzerComponentsProvider, {
|
|
16130
16564
|
components: analyzerComponents !== null && analyzerComponents !== void 0 ? analyzerComponents : {},
|
|
16565
|
+
rtvAnalyzerComponents: rtvAnalyzerComponents,
|
|
16131
16566
|
children: /*#__PURE__*/jsx(ViewHandlerProvider, {
|
|
16132
16567
|
isVisible: isVisible || false,
|
|
16133
16568
|
plannerConfig: _objectSpread(_objectSpread({}, initObject), {}, {
|
|
@@ -16162,9 +16597,25 @@ var WebPlannerReact = function WebPlannerReact(_ref) {
|
|
|
16162
16597
|
})
|
|
16163
16598
|
});
|
|
16164
16599
|
};
|
|
16600
|
+
|
|
16601
|
+
/**
|
|
16602
|
+
* Parameter that may arrive as an object (host component parameters / JSON preset) or as a JSON
|
|
16603
|
+
* string (URL). Invalid or empty JSON yields `undefined` instead of throwing during render — this
|
|
16604
|
+
* runs inside `useMemo` above the error boundary, so a throw here blanks the whole component.
|
|
16605
|
+
*/
|
|
16606
|
+
function parseObjectParam(value) {
|
|
16607
|
+
if (value == null || value === '') return undefined;
|
|
16608
|
+
if (typeof value !== 'string') return value;
|
|
16609
|
+
try {
|
|
16610
|
+
return JSON.parse(value);
|
|
16611
|
+
} catch (err) {
|
|
16612
|
+
LOG.warn('Ignoring parameter with invalid JSON', err);
|
|
16613
|
+
return undefined;
|
|
16614
|
+
}
|
|
16615
|
+
}
|
|
16165
16616
|
function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters, internal, organizationId) {
|
|
16166
16617
|
return useMemo(function () {
|
|
16167
|
-
var _parameters$accountGu, _internal$accountSess, _internal$no3DConnect, _parameters$divaNr, _parameters$DivaNR, _parameters$divanr, _parameters$addDivaNr, _parameters$startDiva, _parameters$initProdu;
|
|
16618
|
+
var _parameters$accountGu, _internal$accountSess, _internal$no3DConnect, _internal$orderlineVa, _parameters$divaNr, _parameters$DivaNR, _parameters$divanr, _internal$createImage, _parameters$addDivaNr, _parameters$startDiva, _parameters$initProdu;
|
|
16168
16619
|
return {
|
|
16169
16620
|
eventSubscriber: eventSubscriber,
|
|
16170
16621
|
eventUnsubscriber: eventUnsubscriber,
|
|
@@ -16177,6 +16628,7 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16177
16628
|
smSupplierNr: parameters === null || parameters === void 0 ? void 0 : parameters.smSupplierNr,
|
|
16178
16629
|
catalogMask: internal === null || internal === void 0 ? void 0 : internal.catalogMask,
|
|
16179
16630
|
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',
|
|
16631
|
+
suppressErrorModals: internal === null || internal === void 0 ? void 0 : internal.suppressErrorModals,
|
|
16180
16632
|
catalogCodex: parameters !== null && parameters !== void 0 && parameters.catalogCodex ? parameters.catalogCodex.toString() : undefined,
|
|
16181
16633
|
catalogGuid: parameters === null || parameters === void 0 ? void 0 : parameters.catalogGuid,
|
|
16182
16634
|
isIDMData: parameters === null || parameters === void 0 ? void 0 : parameters.isIDMData,
|
|
@@ -16184,6 +16636,10 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16184
16636
|
serieId: parameters === null || parameters === void 0 ? void 0 : parameters.serieId,
|
|
16185
16637
|
articleCodexes: parameters !== null && parameters !== void 0 && parameters.articleCodexes ? parameters.articleCodexes.split(';') : undefined,
|
|
16186
16638
|
variantValues: parameters !== null && parameters !== void 0 && parameters.variantValues ? JSON.parse(parameters.variantValues) : undefined,
|
|
16639
|
+
// `internal` is the typed home for structured values (like basketData / supplierColors below);
|
|
16640
|
+
// `parameters` is declared string-only, so a URL still delivers it as JSON text. Same
|
|
16641
|
+
// internal-first-then-parameters shape as `accountSessionGuid` and `no3DConnection`.
|
|
16642
|
+
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
16643
|
differentOptions: parameters !== null && parameters !== void 0 && parameters.differentOptions ? JSON.parse(parameters.differentOptions) : undefined,
|
|
16188
16644
|
eventKey: parameters === null || parameters === void 0 ? void 0 : parameters.eventKey,
|
|
16189
16645
|
resetArticle: parameters !== null && parameters !== void 0 && parameters.resetArticle ? Number(parameters === null || parameters === void 0 ? void 0 : parameters.resetArticle) : undefined,
|
|
@@ -16193,6 +16649,8 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16193
16649
|
productId: parameters === null || parameters === void 0 ? void 0 : parameters.productId,
|
|
16194
16650
|
customProductId: parameters === null || parameters === void 0 ? void 0 : parameters.customProductId,
|
|
16195
16651
|
initMode: (parameters === null || parameters === void 0 ? void 0 : parameters.initMode) || (parameters === null || parameters === void 0 ? void 0 : parameters.InitMode) || settings.initMode,
|
|
16652
|
+
// See `orderlineVariantValues` above: object through `internal`, JSON text through the URL.
|
|
16653
|
+
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
16654
|
opt: (parameters === null || parameters === void 0 ? void 0 : parameters.opt) || (parameters === null || parameters === void 0 ? void 0 : parameters.OPT),
|
|
16197
16655
|
opv: (parameters === null || parameters === void 0 ? void 0 : parameters.opv) || (parameters === null || parameters === void 0 ? void 0 : parameters.OPV),
|
|
16198
16656
|
configStepKey: parameters === null || parameters === void 0 ? void 0 : parameters.configStepKey,
|
|
@@ -16206,11 +16664,11 @@ function useInitObject(eventSubscriber, eventUnsubscriber, settings, parameters,
|
|
|
16206
16664
|
configuratorSessionId: internal === null || internal === void 0 ? void 0 : internal.configuratorSessionId,
|
|
16207
16665
|
settings: settings
|
|
16208
16666
|
};
|
|
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]);
|
|
16667
|
+
}, [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
16668
|
}
|
|
16211
16669
|
var componentConfig = {
|
|
16212
16670
|
name: 'DIVA_WEBPLANNER',
|
|
16213
16671
|
renderFunction: WebPlannerReact
|
|
16214
16672
|
};
|
|
16215
16673
|
|
|
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,
|
|
16674
|
+
export { AnalyzerComponentsProvider as A, Checkout as C, GenericToolTip as G, Icon as I, MissingAnalyzerComponent as M, PricePreview as P, SettingsHeader as S, Toggle as T, ViewHandlerProvider as V, WebPlannerReact as W, _onClickCheckout as _, useAnalyzerComponents as a, PriceCounter$1 as b, usePlannerUIHandler as c, expanded as d, evalVisible as e, PlannerMsgItem$1 as f, useRTVAnalyzerComponentsFromPlanner as g, registerRtvNextViewer as h, b as i, componentConfig as j, mobile$1 as m, rtvNextParamActive as r, styleInject as s, useViewHandler as u, wcPlannerMsgContainerParent as w };
|