@crystaldesign/diva-web-planner-react 25.7.0-beta.2 → 25.7.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/{ArticleProperties-b7ea9915.js → ArticleProperties-390c8068.js} +8 -1
- package/build/esm/{CatalogProperties-6e7ca74d.js → CatalogProperties-5778f1ab.js} +8 -1
- package/build/esm/{DecisionVizualizer-17926e8c.js → DecisionVizualizer-814b6aa8.js} +3 -3
- package/build/esm/{IconHandler-bee78647.js → IconHandler-8d0f7608.js} +1 -1
- package/build/esm/{OptionProperties-9a3a2546.js → OptionProperties-51a661df.js} +1 -1
- package/build/esm/{OptionValueProperties-02718d1c.js → OptionValueProperties-2c1d0ae9.js} +1 -1
- package/build/esm/{Planner2DGrid-6af69c47.js → Planner2DGrid-01be6c08.js} +1 -1
- package/build/esm/{Planner3DImage-efcd80ed.js → Planner3DImage-fe820fe2.js} +1 -1
- package/build/esm/{index-d2d69bf9.js → index-02a5355d.js} +3 -3
- package/build/esm/{index-beb9e5fd.js → index-02cd6982.js} +1 -1
- package/build/esm/{index-0af9df8d.js → index-059e7e27.js} +1 -1
- package/build/esm/{index-bf5c3f16.js → index-06bc0e6a.js} +1 -1
- package/build/esm/{index-171248e5.js → index-08b0be6a.js} +43 -43
- package/build/esm/{index-8fc2e974.js → index-08e9c159.js} +3 -3
- package/build/esm/{index-1a5048b6.js → index-0ab8712c.js} +1 -1
- package/build/esm/{index-afbd8f89.js → index-0b3c39a5.js} +1 -1
- package/build/esm/{index-dd8d6b22.js → index-0bb50dbc.js} +44 -44
- package/build/esm/{index-3c65836d.js → index-0bb6d95a.js} +1 -1
- package/build/esm/{index-e8d892ab.js → index-0c3d6b0c.js} +1 -1
- package/build/esm/{index-9674e279.js → index-0d57b025.js} +1 -1
- package/build/esm/{index-fd4e9f46.js → index-0d818b93.js} +1 -1
- package/build/esm/{index-bf3cea20.js → index-102eadf3.js} +7 -7
- package/build/esm/{index-250da920.js → index-139121d6.js} +1 -1
- package/build/esm/{index-a447212b.js → index-13f3106e.js} +3 -3
- package/build/esm/{index-2de8cebf.js → index-178c55dc.js} +2 -2
- package/build/esm/{index-e0ce1a65.js → index-17a7d687.js} +1 -1
- package/build/esm/{index-cfdb0d16.js → index-17f243c4.js} +1 -1
- package/build/esm/{index-442e579d.js → index-18b2b515.js} +1 -1
- package/build/esm/{index-9c013cb4.js → index-1a40d3d5.js} +1 -1
- package/build/esm/{index-c0e69905.js → index-1a724062.js} +2 -2
- package/build/esm/{index-f6b945a4.js → index-1b048825.js} +78 -78
- package/build/esm/{index-d56f662d.js → index-1b67967b.js} +1 -1
- package/build/esm/{index-e8d92223.js → index-1c50c3dc.js} +2 -2
- package/build/esm/{index-1f4b3b8d.js → index-1ca3b26d.js} +1 -1
- package/build/esm/{index-057c3858.js → index-1f7beb0f.js} +3 -3
- package/build/esm/{index-37d0747e.js → index-2106ddb1.js} +1 -1
- package/build/esm/{index-deb4b98c.js → index-222a3d81.js} +1 -1
- package/build/esm/{index-f448c72f.js → index-23ffcd71.js} +1 -1
- package/build/esm/{index-72b1a5e0.js → index-24b2434a.js} +2 -2
- package/build/esm/{index-8fb6c7af.js → index-26037f74.js} +4 -4
- package/build/esm/{index-1df92a2d.js → index-2607970a.js} +1 -1
- package/build/esm/{index-9d8aa332.js → index-26729cf7.js} +5 -5
- package/build/esm/{index-52eb4c15.js → index-27a546ea.js} +2 -2
- package/build/esm/{index-e68364ed.js → index-28037e2b.js} +1 -1
- package/build/esm/{index-fe08bb4a.js → index-28a35890.js} +6 -6
- package/build/esm/{index-b0a7d93b.js → index-29086e40.js} +6 -6
- package/build/esm/{index-8193df83.js → index-29e79867.js} +1 -1
- package/build/esm/{index-b016c08a.js → index-2dcc627f.js} +101 -101
- package/build/esm/{index-9780f736.js → index-2e2eb943.js} +1 -1
- package/build/esm/{index-70f20315.js → index-2e3ceab6.js} +4 -4
- package/build/esm/{index-f09847a7.js → index-310ae262.js} +45 -45
- package/build/esm/{index-0b1e8d30.js → index-318d1748.js} +48 -48
- package/build/esm/{index-2e06ffee.js → index-32468258.js} +1 -1
- package/build/esm/{index-cb0f6a8c.js → index-331a0380.js} +1 -1
- package/build/esm/{index-8e1eb5c0.js → index-331da8a5.js} +1 -1
- package/build/esm/{index-645c6dac.js → index-337a866f.js} +1 -1
- package/build/esm/{index-27ffd353.js → index-345d56ad.js} +1 -1
- package/build/esm/{index-58ce477d.js → index-34864f0c.js} +3 -3
- package/build/esm/{index-49050e5e.js → index-380c4893.js} +1 -1
- package/build/esm/{index-d410ac7a.js → index-384d0b19.js} +4 -4
- package/build/esm/{index-5fb08d6d.js → index-38e02581.js} +1 -1
- package/build/esm/{index-250c374e.js → index-38fde8d6.js} +1 -1
- package/build/esm/{index-d7e3b706.js → index-3910c446.js} +9 -9
- package/build/esm/{index-e2b45892.js → index-39280eae.js} +62 -62
- package/build/esm/{index-f3cfa1bb.js → index-39efb1ac.js} +3 -3
- package/build/esm/{index-57956b95.js → index-3aa9ae93.js} +1 -1
- package/build/esm/{index-b9f314fe.js → index-3de3513b.js} +1 -1
- package/build/esm/{index-d246cb47.js → index-3f8ff4c2.js} +3 -3
- package/build/esm/{index-196639f7.js → index-3fee019d.js} +1 -1
- package/build/esm/{index-93a10e50.js → index-40c91c25.js} +20 -20
- package/build/esm/{index-03c6a6f9.js → index-40e9d5f2.js} +1 -1
- package/build/esm/{index-7fdcfafb.js → index-41545468.js} +1 -1
- package/build/esm/{index-be07fe68.js → index-4207bb4d.js} +1 -1
- package/build/esm/{index-c0b946dc.js → index-4420b095.js} +1 -1
- package/build/esm/{index-42f088af.js → index-46192a00.js} +105 -105
- package/build/esm/{index-705fb477.js → index-488e9239.js} +1 -1
- package/build/esm/{index-7524523c.js → index-49401006.js} +18 -18
- package/build/esm/{index-3e64fd27.js → index-49778860.js} +1 -1
- package/build/esm/{index-e87209c2.js → index-4a4fe1a6.js} +9 -9
- package/build/esm/{index-2d48c089.js → index-4a9405ac.js} +2 -2
- package/build/esm/{index-840fbba4.js → index-4b2649c5.js} +24 -24
- package/build/esm/{index-44c5400e.js → index-4c0a3344.js} +1 -1
- package/build/esm/{index-f3c929f7.js → index-4c0a3a24.js} +1 -1
- package/build/esm/{index-4e0f80e6.js → index-4c1f4dbb.js} +5 -5
- package/build/esm/{index-79ce7ad9.js → index-4f568716.js} +5 -5
- package/build/esm/{index-76405796.js → index-5036ee84.js} +58 -58
- package/build/esm/{index-60c30492.js → index-50c73e62.js} +1 -1
- package/build/esm/{index-1128263a.js → index-5197d5f4.js} +15 -15
- package/build/esm/{index-2ad43f54.js → index-51982b8b.js} +1 -1
- package/build/esm/{index-7090c19a.js → index-51f5a42d.js} +1 -1
- package/build/esm/{index-6e738a8d.js → index-52a9b397.js} +8 -8
- package/build/esm/{index-dcafa922.js → index-52f4ee4d.js} +1 -1
- package/build/esm/{index-a95df504.js → index-53141e4e.js} +1 -1
- package/build/esm/{index-e2f18ad8.js → index-5456e181.js} +2 -2
- package/build/esm/{index-0d8752c0.js → index-55b5d91f.js} +1 -1
- package/build/esm/{index-4a6d8694.js → index-5723cf1f.js} +1 -1
- package/build/esm/{index-bace0ec3.js → index-573f8ddc.js} +1 -1
- package/build/esm/{index-536de631.js → index-57ddce5f.js} +4 -4
- package/build/esm/{index-b37d305f.js → index-58cb3f1b.js} +2 -2
- package/build/esm/{index-32a3ce59.js → index-59afbe5d.js} +2 -2
- package/build/esm/{index-1bd75a77.js → index-5a5450b7.js} +5 -5
- package/build/esm/{index-c7762345.js → index-5b7b04d6.js} +1 -1
- package/build/esm/{index-cec700ce.js → index-5c441950.js} +2 -2
- package/build/esm/{index-9efb7d07.js → index-5d01676d.js} +6 -6
- package/build/esm/{index-ef4d7c77.js → index-5e5dd5ab.js} +3 -3
- package/build/esm/{index-4ebade9b.js → index-5eea5311.js} +19 -19
- package/build/esm/{index-3eb8e401.js → index-64555795.js} +2 -2
- package/build/esm/{index-d6e21ae4.js → index-6613e87e.js} +1 -1
- package/build/esm/{index-5fc7fdb9.js → index-66eafe84.js} +4 -4
- package/build/esm/{index-d410cac6.js → index-68d58efe.js} +1 -1
- package/build/esm/{index-89326dc3.js → index-692d41ff.js} +1 -1
- package/build/esm/{index-a99d5d90.js → index-6ad45395.js} +1 -1
- package/build/esm/{index-367cb344.js → index-6b81680f.js} +3 -3
- package/build/esm/{index-137c9b29.js → index-6c07030f.js} +10 -3
- package/build/esm/{index-c3146e43.js → index-6c44285b.js} +1 -1
- package/build/esm/{index-eef444ed.js → index-6ca4dc66.js} +4 -4
- package/build/esm/{index-2c488d7e.js → index-6d628e74.js} +3 -3
- package/build/esm/{index-76fa20e8.js → index-6e24b862.js} +2 -2
- package/build/esm/{index-556c02a6.js → index-6f1f57be.js} +1 -1
- package/build/esm/{index-0ee9860e.js → index-709dbca5.js} +1 -1
- package/build/esm/{index-c6a4d1be.js → index-70e17828.js} +1 -1
- package/build/esm/{index-d3410a3b.js → index-70e8e2f4.js} +5 -5
- package/build/esm/{index-59658bdd.js → index-716e8c22.js} +3 -3
- package/build/esm/{index-10898d75.js → index-71e69872.js} +3 -3
- package/build/esm/{index-7d19db2c.js → index-734a4023.js} +1 -1
- package/build/esm/{index-6ce8e155.js → index-738b4b52.js} +2 -2
- package/build/esm/{index-34be7a7d.js → index-75c97523.js} +4 -4
- package/build/esm/{index-47a13cc1.js → index-76a23394.js} +1 -1
- package/build/esm/{index-18d63d40.js → index-77a4932e.js} +1 -1
- package/build/esm/{index-7075be49.js → index-792f9d9a.js} +1 -1
- package/build/esm/{index-b44177b7.js → index-7b91f58c.js} +6 -6
- package/build/esm/{index-97db2d3f.js → index-7c537db8.js} +5 -5
- package/build/esm/{index-57ec6df5.js → index-7c7085f5.js} +13 -13
- package/build/esm/{index-4b780f8f.js → index-7db542b3.js} +1 -1
- package/build/esm/{index-9712d651.js → index-7e9b9d47.js} +2 -2
- package/build/esm/{index-4293c69c.js → index-7f1ba52f.js} +3 -3
- package/build/esm/{index-202da70e.js → index-7f38ab0f.js} +1 -1
- package/build/esm/{index-bde55505.js → index-7f753333.js} +4 -4
- package/build/esm/{index-2f80ef80.js → index-808bdd8b.js} +53 -84
- package/build/esm/{index-c2f95b94.js → index-82367198.js} +1 -1
- package/build/esm/{index-516f553d.js → index-844ba1d7.js} +2 -2
- package/build/esm/{index-0bfbfe1b.js → index-852b99b0.js} +1 -1
- package/build/esm/{index-12ca351e.js → index-862acc43.js} +1 -1
- package/build/esm/{index-9adbba4a.js → index-86c28eec.js} +4 -4
- package/build/esm/{index-eb054657.js → index-876d13b3.js} +6 -6
- package/build/esm/{index-bfb6f2d5.js → index-8a806d23.js} +1 -1
- package/build/esm/{index-5d21f231.js → index-8ed7954f.js} +1 -1
- package/build/esm/{index-dbd6aa8a.js → index-90246ba9.js} +4 -4
- package/build/esm/{index-74e4420f.js → index-912fa2eb.js} +1 -1
- package/build/esm/{index-49d1055e.js → index-91abf388.js} +2 -2
- package/build/esm/{index-61fb9949.js → index-920ee6ba.js} +1 -1
- package/build/esm/{index-6dd6145c.js → index-942b934f.js} +1 -1
- package/build/esm/{index-ed0bcaed.js → index-957369e3.js} +9 -9
- package/build/esm/{index-43a72b6f.js → index-96078ce6.js} +17 -17
- package/build/esm/{index-28f9c342.js → index-97b10e34.js} +5 -5
- package/build/esm/{index-fad89ca3.js → index-99a9f940.js} +2 -2
- package/build/esm/{index-d06fefe6.js → index-9bcc8309.js} +1 -1
- package/build/esm/{index-1bfde383.js → index-9cca8bce.js} +3 -3
- package/build/esm/{index-822fa737.js → index-a0d0dfa5.js} +2 -2
- package/build/esm/{index-ec3e384c.js → index-a18921dd.js} +1 -1
- package/build/esm/{index-7c9bda18.js → index-a1930daf.js} +20 -20
- package/build/esm/{index-6355a56f.js → index-a23821a4.js} +1 -1
- package/build/esm/{index-5775d580.js → index-a313f305.js} +1 -1
- package/build/esm/{index-2ebd97b2.js → index-a4728238.js} +2 -2
- package/build/esm/{index-3b33bb3d.js → index-a7038082.js} +2 -2
- package/build/esm/{index-442d3953.js → index-a70cb532.js} +3 -3
- package/build/esm/{index-5043a912.js → index-a7665add.js} +5 -5
- package/build/esm/{index-ef10c67d.js → index-a7dc21f0.js} +1 -1
- package/build/esm/{index-a457886a.js → index-aac550f6.js} +5 -5
- package/build/esm/{index-8b7dc949.js → index-abc9aaf9.js} +42 -42
- package/build/esm/{index-8640015d.js → index-abe81155.js} +2 -2
- package/build/esm/{index-cf312665.js → index-abef5e7e.js} +1 -1
- package/build/esm/{index-aba1e587.js → index-abf7622f.js} +3 -3
- package/build/esm/{index-d41c8283.js → index-ac4bc116.js} +5 -5
- package/build/esm/{index-ca7780d3.js → index-ac4d9aa5.js} +1 -1
- package/build/esm/{index-c96b51c6.js → index-af6adcf6.js} +1 -1
- package/build/esm/{index-9587b1fa.js → index-b2bb47ec.js} +43 -43
- package/build/esm/{index-f3deb3b5.js → index-b2d5eabd.js} +2 -2
- package/build/esm/{index-ee10d185.js → index-b41c8b4e.js} +1 -1
- package/build/esm/{index-5be22c92.js → index-b5580426.js} +2 -2
- package/build/esm/{index-57649d99.js → index-b7d6daf4.js} +7 -7
- package/build/esm/{index-81fb1a0b.js → index-ba4ff8c0.js} +1 -1
- package/build/esm/{index-5dc53560.js → index-bb11892a.js} +1 -1
- package/build/esm/{index-4bcc9fb5.js → index-bbf98638.js} +1 -1
- package/build/esm/{index-22657203.js → index-bc3973ab.js} +62 -62
- package/build/esm/{index-378af6ed.js → index-beb1a765.js} +1 -1
- package/build/esm/{index-312955c0.js → index-c1ac6315.js} +65 -65
- package/build/esm/{index-b7c30035.js → index-c34b5c9e.js} +1 -1
- package/build/esm/{index-32530130.js → index-c40ad416.js} +1 -1
- package/build/esm/{index-5d21c9fd.js → index-c5b66b55.js} +6 -6
- package/build/esm/{index-d103b90c.js → index-c5d0d5a4.js} +2 -2
- package/build/esm/{index-debaeb81.js → index-c87df701.js} +2 -2
- package/build/esm/{index-4622978c.js → index-ca333bb7.js} +2 -2
- package/build/esm/{index-5d10686c.js → index-ca496310.js} +1 -1
- package/build/esm/{index-f21921d2.js → index-cb074dac.js} +1 -1
- package/build/esm/{index-93495363.js → index-ccfe5229.js} +1 -1
- package/build/esm/{index-73c6bba4.js → index-cdf927dc.js} +20 -20
- package/build/esm/{index-027e1caf.js → index-cdf92aa7.js} +79 -79
- package/build/esm/{index-d89e8bc2.js → index-cf304298.js} +1 -1
- package/build/esm/{index-39ea5e08.js → index-cf5b9e9f.js} +7 -7
- package/build/esm/{index-d52cc82d.js → index-cf83a7e3.js} +3 -3
- package/build/esm/{index-ca30f7c6.js → index-cfb8e1cd.js} +3 -3
- package/build/esm/{index-41aea822.js → index-d1258a0d.js} +2 -2
- package/build/esm/{index-4831e232.js → index-d5e9ceef.js} +1 -1
- package/build/esm/{index-74dfd6c0.js → index-d65318ab.js} +2 -2
- package/build/esm/{index-bbdcdeb7.js → index-d67e8e3b.js} +1 -1
- package/build/esm/{index-0d068b7a.js → index-d6a5f36c.js} +1 -1
- package/build/esm/{index-b06d95d9.js → index-d6a679f6.js} +1 -1
- package/build/esm/{index-065ce04e.js → index-d7681298.js} +5 -5
- package/build/esm/{index-b1732c81.js → index-d7e0b238.js} +1 -1
- package/build/esm/{index-5a6480c5.js → index-d857af7d.js} +1 -1
- package/build/esm/{index-ff63bb1a.js → index-dac66244.js} +257 -243
- package/build/esm/{index-46a984d1.js → index-db2fad98.js} +5 -5
- package/build/esm/{index-f8ab5f6e.js → index-db67a141.js} +46 -46
- package/build/esm/{index-99a1a43a.js → index-db9b060c.js} +4 -4
- package/build/esm/{index-e3b2c07f.js → index-de00aa05.js} +50 -50
- package/build/esm/{index-5fa626ac.js → index-de48e9e3.js} +21 -21
- package/build/esm/{index-573fb986.js → index-e11f1b88.js} +2 -2
- package/build/esm/{index-adfb50c1.js → index-e4c1e4c0.js} +2 -2
- package/build/esm/{index-7f537a46.js → index-e4d9514e.js} +1 -1
- package/build/esm/{index-07cebc38.js → index-e58ad040.js} +9 -9
- package/build/esm/{index-289cc2af.js → index-e5eaa0c0.js} +2 -2
- package/build/esm/{index-058c0dd8.js → index-e8162fcd.js} +1 -1
- package/build/esm/{index-3369d518.js → index-e819e455.js} +1 -1
- package/build/esm/{index-c7ab2a21.js → index-e95bdda4.js} +6 -6
- package/build/esm/{index-4d72180f.js → index-ea96727d.js} +21 -21
- package/build/esm/{index-c9982bd3.js → index-ecc5bc68.js} +3 -3
- package/build/esm/{index-3442442a.js → index-ed802e01.js} +1 -1
- package/build/esm/{index-9583a2cc.js → index-f13a5f36.js} +49 -49
- package/build/esm/{index-6cb6be8a.js → index-f2f723f0.js} +2 -2
- package/build/esm/{index-2de5904e.js → index-f401a8a0.js} +2 -2
- package/build/esm/{index-398f6daf.js → index-f5a9a538.js} +3 -3
- package/build/esm/{index-67e478a8.js → index-f7053489.js} +64 -64
- package/build/esm/{index-27bed3f1.js → index-f733d0b0.js} +2 -2
- package/build/esm/{index-1dc5c7cc.js → index-f8ccdf0e.js} +1 -1
- package/build/esm/{index-eb32a926.js → index-fab549c1.js} +6 -6
- package/build/esm/{index-ba0922ee.js → index-fd82098a.js} +1 -1
- package/build/esm/{index-7d9546bb.js → index-ff4d9a76.js} +3 -3
- package/build/esm/index.js +1 -1
- package/build/esm/{index.module-1a32fcd2.js → index.module-0ccc63ea.js} +1 -1
- package/build/esm/{index.module-903d51c9.js → index.module-2ed0a9ef.js} +1 -1
- package/build/esm/{index.module-4bd7b0b4.js → index.module-3ad4d389.js} +1 -1
- package/build/esm/{index.module-a2e1da10.js → index.module-46457f02.js} +1 -1
- package/build/esm/{index.module-af8c7a4e.js → index.module-56598eab.js} +1 -1
- package/build/esm/{index.module-b5380649.js → index.module-8b11a786.js} +1 -1
- package/build/esm/{index.module-4a6b2e2a.js → index.module-9436d9f4.js} +1 -1
- package/build/esm/{index.module-5f7ae981.js → index.module-9e0dc079.js} +1 -1
- package/build/esm/{index.module-b442ca52.js → index.module-ab9bacb7.js} +1 -1
- package/build/esm/{index.module-1653b161.js → index.module-ad4ba251.js} +1 -1
- package/build/esm/{index.module-d239ad58.js → index.module-bed4bfb6.js} +1 -1
- package/build/esm/{index.module-7985ae8a.js → index.module-c738cf8e.js} +1 -1
- package/build/esm/{index.module-72ec5db4.js → index.module-ceedaeb5.js} +1 -1
- package/build/esm/{react-json-viewer-b0e5efc6.js → react-json-viewer-43366188.js} +1 -1
- package/build/types/web-planner-react/src/components/GlobalElements/Checkout/CreateAppointment/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/GlobalElements/Checkout/Save/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/GlobalElements/Checkout/replaceTemplateStrings.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/ContentItemWrapper/index.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/DecisionAnalyzer/DecisionVizualizer.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/PropertiesEditor/Properties/ArticleProperties.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Product/Product/catalog/Components/PropertiesEditor/Properties/CatalogProperties.d.ts.map +1 -1
- package/build/types/web-planner-react/src/components/Settings/SettingsScroller/SettingsItem/ItemPalette/Summary/OptionTree/serious/index.d.ts.map +1 -1
- package/build/umd/1948.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2027.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2185.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/304.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3170.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3222.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4829.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4967.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5115.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5286.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/555.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6158.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/63.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6334.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/658.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6733.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7078.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7266.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7393.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8117.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8327.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8445.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8545.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/8545.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/8701.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9603.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9631.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9874.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9979.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +8 -8
- package/build/umd/8485.diva-web-planner-react.umd.min.js +0 -2
- package/build/umd/8485.diva-web-planner-react.umd.min.js.LICENSE.txt +0 -1
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 5286.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[5286,7801,7348,3525,3090,9290,8938,8117,8445,4580,4829,4723,2352,4516,5115],{37801:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function BoxCopy(e){var t=e.rect,n=e.item,o=e.plannerUIProps,i=e.invertLeftRight;return(0,r.jsx)("div",{onClick:function onClick(){var e;null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),"BoxCopyLeft"==n.type?"LEFT":"BoxCopyRight"==n.type?"RIGHT":"BoxCopyTop"==n.type?"TOP":"STD")},style:{left:t.left+"%",top:100-t.top+"%"},className:l()(o.classes.buttonGeneral,o.classes.copy.BoxPlannerCopy.copyGlobal,"BoxCopyLeft"==n.type?i?o.classes.copy.BoxPlannerCopy.copyRight:o.classes.copy.BoxPlannerCopy.copyLeft:void 0,"BoxCopyTop"==n.type?o.classes.copy.BoxPlannerCopy.copyTop:void 0,"BoxCopyRight"==n.type?i?o.classes.copy.BoxPlannerCopy.copyLeft:o.classes.copy.BoxPlannerCopy.copyRight:void 0)})}))},67348:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function ElementCopy(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps;return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:n.doUseCalc?n.leftCalc:"percentage"==t.position.interpretation?n.left+"%":n.left+"px",top:n.doUseCalc?n.topCalc:"percentage"==t.position.interpretation?n.top+"%":n.top+"px"},className:l()(i.classes.copy.ElementCopy,i.classes.buttonGeneral)})}))},33525:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function DistanceToGround(e){var t=e.item,n=e.plannerUIProps;return(0,r.jsx)("div",{style:{left:t.position.x+"%",top:100-t.position.y+"%"},id:"distanceToGround",className:l()(n.classes.dimension.distanceToGround),children:(0,r.jsx)("div",{children:t.dimensionVal+" cm"})})}))},53090:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=n(91923),c=(n(87363),n(47514));const a=(0,i.Pi)((function AVL(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=(0,r._w)(),s=a.getDPUIISSelected(n),u=(n.rotOfElement?n.rotOfElement:0)+(n.iconRotDeg?n.iconRotDeg:0);return(0,c.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;a.setDPUISelectionChanged(n,!s),null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),n.dpId,!s,void 0)},style:{left:t.left+"px",top:t.top+"px",transform:"rotate("+u+"deg)"},className:l()(i.classes.buttonGeneral,i.classes.dockingPoint.AVL.avl,s?i.classes.dockingPoint.AVL.avlSel:void 0)})}))},59290:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=n(91923),c=(n(87363),n(47514));const a=(0,i.Pi)((function AVR(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=(0,r._w)(),s=a.getDPUIISSelected(n),u=(n.rotOfElement?n.rotOfElement:0)+(n.iconRotDeg?n.iconRotDeg:0);return(0,c.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;a.setDPUISelectionChanged(n,!s),null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),n.dpId,!s,void 0)},style:{left:t.left+"px",top:t.top+"px",transform:"rotate("+u+"deg)"},className:l()(i.classes.buttonGeneral,i.classes.dockingPoint.AVR.avr,s?i.classes.dockingPoint.AVR.avrSel:void 0),children:n.posNr})}))},18938:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=n(91923),c=(n(87363),n(47514));const a=(0,i.Pi)((function DPACC(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=(0,r._w)(),s=a.getDPUIISSelected(n);return(0,c.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;a.setDPUISelectionChanged(n,!s),null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),n.dpId,!s,n.dockToElementId)},style:{left:"percentage"==n.position.interpretation?t.left+"%":t.left+"px",top:"percentage"==n.position.interpretation?t.top+"%":t.top+"px"},className:l()(i.classes.buttonGeneral,"2D"==n.plannerMode?"DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp2DAccDocking:i.classes.dockingPoint.DPACC.dp2DAccNotDocking:void 0,"2D"==n.plannerMode&&s&&"NOT_DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp2DAccNotDockingSel:void 0,"3D"==n.plannerMode?"DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp3DAccDocking:i.classes.dockingPoint.DPACC.dp3DAccNotDocking:void 0,"3D"==n.plannerMode&&s&&"NOT_DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp3DAccNotDockingSel:void 0),children:n.posNr})}))},78117:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(34988),l=n(87363),i=n(65515),r=n.n(i),c=n(90050),a=n(22976),s=n.n(a),u=n(91923),d=n(47514),p=new c.FM(0,0);const f=function Move3DGrid(e){var t=e.item,n=e.plannerUIProps,i=(0,l.useState)(!1),a=(0,o.Z)(i,2),f=a[0],v=a[1],m=(0,l.useRef)(null),h=!1,g=(0,u.NP)();return(0,d.jsx)(s(),{handle:".handle3DMove",nodeRef:m,onStart:function onStart(e){!function onStartDragging(e){h=!0,"mousedown"==e.type?p=new c.FM(e.clientX,e.clientY):"touchstart"==e.type&&(p=new c.FM(e.touches[0].clientX,e.touches[0].clientY))}(e)},onDrag:function onDrag(e){!function onDragging(e){var n;if(h&&!f)v(!0),null===(n=t.onDragStartFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId));else if(f){var o,l,i,r=null!==(o=g.productState.planner3DGridElement)&&void 0!==o&&o.getBoundingClientRect().left?g.productState.planner3DGridElement.getBoundingClientRect().left:0,a=null!==(l=g.productState.planner3DGridElement)&&void 0!==l&&l.getBoundingClientRect().top?g.productState.planner3DGridElement.getBoundingClientRect().top:0;if("mousemove"==e.type)null===(i=t.onDragMoveFunction)||void 0===i||i.call(t,t.setId,Number(t.elementId),new c.FM(e.clientX-r,e.clientY-a)),p.x=e.clientX,p.y=e.clientY;else if("touchmove"==e.type){var s;null===(s=t.onDragMoveFunction)||void 0===s||s.call(t,t.setId,Number(t.elementId),new c.FM(e.touches[0].clientX-r,e.touches[0].clientY-a)),p.x=e.touches[0].clientX,p.y=e.touches[0].clientY}}h=!1}(e)},onStop:function onStop(e){!function onDragEnd(e){var n;f&&(v(!1),null===(n=t.onDragEndFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId))),h=!1}()},children:(0,d.jsx)("div",{ref:m,style:{visibility:f?"hidden":"visible",left:t.position.x+"px",top:t.position.y+"px"},className:r()("handle3DMove",n.classes.buttonGeneral,n.classes.move3DGrid.move3DGrid)})})}},88445:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var o=n(34988),l=n(65515),i=n.n(l),r=n(9420),c=n(87363),a=n(90050),s=n(47514),u=new a.FM(0,0);const d=(0,r.Pi)((function Outline(e){var t,n,l=e.item,r=e.plannerUIProps,d=(0,c.useState)(!1),p=(0,o.Z)(d,2),f=p[0],v=p[1],m=(0,c.useState)(l.position.x),h=(0,o.Z)(m,2),g=h[0],y=h[1],C=(0,c.useState)(l.position.y),x=(0,o.Z)(C,2),I=x[0],P=x[1],D=!1;return(0,s.jsx)("div",{onClick:function onClick(){var e;null===(e=l.clickFunction)||void 0===e||e.call(l,l.setId,Number(l.elementId))},onMouseDown:function onMouseDown(e){D=!0,u=new a.FM(e.clientX,e.clientY)},onTouchStart:function onTouchStart(e){1==e.touches.length&&(D=!0,u=new a.FM(e.touches[0].clientX,e.touches[0].clientY))},onMouseMove:function onMouseMove(e){var t,n;D&&!f&&(v(!0),null===(t=l.onDragStartFunction)||void 0===t||t.call(l,l.setId,Number(l.elementId)));f&&(null===(n=l.onDragMoveFunction)||void 0===n||n.call(l,l.setId,Number(l.elementId),new a.FM(e.clientX-u.x,e.clientY-u.y)),y(g+e.clientX-u.x),P(I+e.clientY-u.y),u.x=e.clientX,u.y=e.clientY);D=!1},onTouchMove:function onTouchMove(e){if(1==e.touches.length){var t,n;if(D&&!f)v(!0),null===(t=l.onDragStartFunction)||void 0===t||t.call(l,l.setId,Number(l.elementId));if(f)null===(n=l.onDragMoveFunction)||void 0===n||n.call(l,l.setId,Number(l.elementId),new a.FM(e.touches[0].clientX-u.x,e.touches[0].clientY-u.y)),y(g+e.touches[0].clientX-u.x),P(I+e.touches[0].clientY-u.y),u.x=e.touches[0].clientX,u.y=e.touches[0].clientY;D=!1}},onMouseUp:function onMouseUp(){var e;f&&(v(!1),null===(e=l.onDragEndFunction)||void 0===e||e.call(l,l.setId,Number(l.elementId)));D=!1},onTouchEnd:function onTouchEnd(){var e;f&&(v(!1),null===(e=l.onDragEndFunction)||void 0===e||e.call(l,l.setId,Number(l.elementId)));D=!1},style:{left:g+"px",top:I+"px",width:(null==l||null===(t=l.size)||void 0===t?void 0:t.x)+"px",height:(null==l||null===(n=l.size)||void 0===n?void 0:n.y)+"px",transform:"rotate("+(null==l?void 0:l.rotOfElement)+"deg)"},className:i()(f?r.classes.outline.outline2D.draggableActive:void 0,"selected"==l.elemState?r.classes.outline.outline2D.draggable:void 0,"selectable"==l.elemState?r.classes.outline.outline2D.selectable:void 0)})}))},24580:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(91923)),c=n(47514);const a=(0,i.Pi)((function PosNr(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=e.hasTrash,s=(0,r.NP)(),u="percentage"==n.position.interpretation?t.top+"%":t.top+"px";return u=a&&t.top<4?"calc("+u+" + 35px + var(--globalSize) / 2)":"calc("+u+" + var(--globalSize) / 2)",(0,c.jsxs)("div",{ref:function ref(e){return o(e)},style:{left:"percentage"==n.position.interpretation?t.left+"%":t.left,top:u,visibility:s.productState.isBoxPlanner?"hidden":"visible"},className:l()(i.classes.buttonGeneral,i.classes.posNr.posNr,n.isDockedAccessoire?i.classes.posNr.posNrAcc:void 0,"selected"==n.elemState?i.classes.posNr.posNrSelected:void 0,"selectable"==n.elemState?i.classes.posNr.posNrSelectable:void 0,"unselectable"==n.elemState?i.classes.posNr.posNrUnSelectable:void 0,n.onHover&&"unselectable"!=n.elemState?i.classes.posNr.posNrOnHover:void 0),children:[n.posNr,(0,c.jsx)("div",{onClick:function onClick(){var e;null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId))},style:{left:"0px",top:"0px",visibility:s.productState.isBoxPlanner?"hidden":"visible"},className:l()("selectable"==n.elemState?i.classes.posNr.posNrSelectableArea:void 0)})]})}))},54829:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(34988),l=n(87363),i=n(65515),r=n.n(i),c=n(90050),a=n(22976),s=n.n(a),u=n(91923),d=n(47514),p=new c.FM(0,0);const f=function Rotation3DGrid(e){var t=e.item,n=e.plannerUIProps,i=(0,u.NP)(),a=(0,l.useState)(!1),f=(0,o.Z)(a,2),v=f[0],m=f[1],h=(0,l.useRef)(null),g=!1;return(0,d.jsx)(s(),{nodeRef:h,handle:".handle3DRotation",onStart:function onStart(e){!function onStartDragging(e){g=!0,"mousedown"==e.type?p=new c.FM(e.clientX,e.clientY):"touchstart"==e.type&&(p=new c.FM(e.touches[0].clientX,e.touches[0].clientY))}(e)},onDrag:function onDrag(e){!function onDragging(e){var n;if(g&&!v)m(!0),null===(n=t.onDragStartFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId));else if(v){var o,l,r,a=null!==(o=i.productState.planner3DGridElement)&&void 0!==o&&o.getBoundingClientRect().left?i.productState.planner3DGridElement.getBoundingClientRect().left:0,s=null!==(l=i.productState.planner3DGridElement)&&void 0!==l&&l.getBoundingClientRect().top?i.productState.planner3DGridElement.getBoundingClientRect().top:0;if("mousemove"==e.type)null===(r=t.onDragMoveFunction)||void 0===r||r.call(t,t.setId,Number(t.elementId),new c.FM(e.clientX-a,e.clientY-s)),p.x=e.clientX,p.y=e.clientY;else if("touchmove"==e.type){var u;null===(u=t.onDragMoveFunction)||void 0===u||u.call(t,t.setId,Number(t.elementId),new c.FM(e.touches[0].clientX-a,e.touches[0].clientY-s)),p.x=e.touches[0].clientX,p.y=e.touches[0].clientY}}g=!1}(e)},onStop:function onStop(e){!function onDragEnd(e){var n;v&&(m(!1),null===(n=t.onDragEndFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId))),g=!1}()},children:(0,d.jsx)("div",{ref:h,style:{visibility:v?"hidden":"visible",left:t.position.x+"px",top:t.position.y+"px"},className:r()("handle3DRotation",n.classes.buttonGeneral,n.classes.rotation.rot3DGrid)})})}},94723:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function RotationClockwise(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps;return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:n.left+"px",top:n.top+"px"},className:l()(i.classes.rotation.rotClock,i.classes.buttonGeneral),children:t.posNr})}))},72352:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function RotationCounterClockwise(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps;return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:n.left+"px",top:n.top+"px"},className:l()(i.classes.rotation.rotCounterClock,i.classes.buttonGeneral),children:t.posNr})}))},54516:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function Trash(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps,c=n.doUseCalc?n.leftCalc:"percentage"==t.position.interpretation?n.left+"%":n.left+"px",a=n.doUseCalc?n.topCalc:"percentage"==t.position.interpretation?"calc("+n.top+"% )":n.top+"px";return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:c,top:a},className:l()(i.classes.trash.trashClass,i.classes.buttonGeneral,"BOX"==t.plannerMode?i.classes.trash.boxplanner:void 0),id:"testDel",children:t.posNr})}))},40053:(e,t,n)=>{n.d(t,{Z:()=>useDockingPointPositioning});var o=n(90050),l=n(91923);function useDockingPointPositioning(e){var t,n,i,r,c=e.dpElement,a=e.item,s=(0,l._w)(),u=null==c?void 0:c.getBoundingClientRect(),d=null!==(t=null==a?void 0:a.position.x)&&void 0!==t?t:0,p=null!==(n=null==a?void 0:a.position.y)&&void 0!==n?n:0;if(u&&a){var f=new o.FM(d,p),v=s.getViewConfig(),m=new o.FM(0,0);if("AVL"==(null==a?void 0:a.type)||"AVR"==(null==a?void 0:a.type)){if("2D"===a.plannerMode)switch(v.posDPIcon2D){case"CORNER":break;case"SIDE_TOP":"AVL"==(null==a?void 0:a.type)&&(m=new o.FM(-u.width,0),null!=a&&a.rotOfElement&&(m=o.FM.rotateOrigin(m,null==a?void 0:a.rotOfElement)),f=new o.FM(d+m.x,p+m.y,"pixel"))}}else"AccDP"==(null==a?void 0:a.type)&&"3D"==(null==a?void 0:a.plannerMode)?f.y=100-f.y:"BoxCopyLeft"==a.type||"BoxCopyRight"==(null==a?void 0:a.type)||null==a||a.type;d=f.x,p=f.y}return{width:null!==(i=null==u?void 0:u.width)&&void 0!==i?i:0,height:null!==(r=null==u?void 0:u.height)&&void 0!==r?r:0,top:p,left:d}}},85115:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(34988),l=n(87363),i=n(18938),r=n(40053),c=n(47514);const a=function ItemsDPAccContainer(e){var t=e.item,n=e.plannerUIProps,a=(0,l.useState)(null),s=(0,o.Z)(a,2),u=s[0],d=s[1],p=(0,r.Z)({item:t,dpElement:u});return(0,c.jsx)(c.Fragment,{children:t&&(0,c.jsx)(i.default,{item:t,rect:p,onElement:d,plannerUIProps:n},null==t?void 0:t.key)})}},5286:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var o=n(34988),l=n(9420),i=n(87363),r=n(53090),c=n(59290),a=n(88445),s=n(94723),u=n(72352),d=n(54516),p=n(40053),f=n(90050),v=n(91923);var m=n(85115),h=n(24580),g=n(37801),y=n(78117),C=n(54829),x=n(88683),I=n(5482),P=(0,x.getLogger)("Planner","CopyElementPositioning");var D=n(67348),w=n(33525),M=n(47514);const E=(0,l.Pi)((function ItemsContainer(e){for(var t=e.items,n=e.plannerUIProps,l=(0,v.NP)(),x=(0,i.useState)(null),E=(0,o.Z)(x,2),N=E[0],R=E[1],k=(0,i.useState)(null),S=(0,o.Z)(k,2),b=S[0],F=S[1],O=(0,i.useState)(null),U=(0,o.Z)(O,2),T=U[0],B=U[1],G=(0,i.useState)(null),A=(0,o.Z)(G,2),j=A[0],Z=(A[1],(0,i.useState)(null)),_=(0,o.Z)(Z,2),X=_[0],L=(_[1],(0,i.useState)(null)),Y=(0,o.Z)(L,2),V=Y[0],K=(Y[1],(0,i.useState)(null)),z=(0,o.Z)(K,2),H=z[0],q=z[1],W=(0,i.useState)(null),J=(0,o.Z)(W,2),Q=J[0],$=J[1],ee=(0,i.useState)(null),te=(0,o.Z)(ee,2),ne=te[0],oe=te[1],le=(0,i.useState)(null),ie=(0,o.Z)(le,2),re=(ie[0],ie[1]),ce=t.find((function(e){return"PosNr"==e.type})),ae=t.find((function(e){return"AVL"==e.type})),se=t.find((function(e){return"AVR"==e.type})),ue=[],de=[],pe=0;pe<t.length;pe++)"AccDP"==t[pe].type?ue.push(t[pe]):"DistanceFromGround"==t[pe].type&&de.push(t[pe]);var fe=t.find((function(e){return"Outline"==e.type})),ve=t.find((function(e){return"TrashIcon"==e.type})),me=t.find((function(e){return"CopyElement"==e.type})),he=t.find((function(e){return"RotateC"==e.type})),ge=t.find((function(e){return"RotateCC"==e.type})),ye=t.find((function(e){return"BoxCopyLeft"==e.type})),Ce=t.find((function(e){return"BoxCopyTop"==e.type})),xe=t.find((function(e){return"BoxCopyRight"==e.type})),Ie=t.find((function(e){return"Move3DGrid"==e.type})),Pe=t.find((function(e){return"Rot3DGrid"==e.type})),De=function usePosNrPositioning(e){var t,n,o,l,i=e.posNrElement,r=e.item,c=(0,v._w)(),a=null==i?void 0:i.getBoundingClientRect(),s=null!==(t=null==r?void 0:r.position.x)&&void 0!==t?t:0,u=null!==(n=null==r?void 0:r.position.y)&&void 0!==n?n:0;if(a){var d=new f.FM(s,u),p=c.getViewConfig(),m=new f.FM(0,0);switch(null==r?void 0:r.plannerMode){case"2D":switch(p.iconPosition2DGrid){case"BORDER":m=new f.FM(a.width,.1*-a.height),null!=r&&r.rotOfElement&&(m=f.FM.rotateOrigin(m,null==r?void 0:r.rotOfElement)),d=new f.FM(s+m.x,u+m.y,"pixel");break;case"OUTSIDE":var h=null!=r&&r.iconZoom?r.iconZoom:1;m=new f.FM(a.width+h,-a.height/2-(a.height/2.5-h)),null!=r&&r.rotOfElement&&(m=f.FM.rotateOrigin(m,null==r?void 0:r.rotOfElement)),d=new f.FM(s+m.x,u+m.y,"pixel")}s=d.x,u=d.y;break;case"3D":(s+=3)<1&&(s=1),(u=100-u-1)<1&&(u=1)}}return{width:null!==(o=null==a?void 0:a.width)&&void 0!==o?o:0,height:null!==(l=null==a?void 0:a.height)&&void 0!==l?l:0,top:u,left:s}}({item:ce,posNrElement:N}),we=(0,p.Z)({item:ae,dpElement:b}),Me=(0,p.Z)({item:se,dpElement:T}),Ee=(0,p.Z)({item:ye,dpElement:j}),Ne=(0,p.Z)({item:Ce,dpElement:X}),Re=(0,p.Z)({item:xe,dpElement:V}),ke=function useTrashPositioning(e){var t,n,o,l,i=e.trashElement,r=e.posNrRect,c=e.boxPlannerCopyLeftRect,a=e.boxPlannerCopyTopRect,s=e.boxPlannerCopyRightRect,u=e.trashItem,d=(0,v._w)(),p=null==i?void 0:i.getBoundingClientRect(),m=d.getViewConfig(),h=null!==(t=null==u?void 0:u.position.x)&&void 0!==t?t:0,g=null!==(n=null==u?void 0:u.position.y)&&void 0!==n?n:0,y="",C="",x=!1;if(p&&r){var I=new f.FM(0,0);switch(m.posTrashRotIcon){case"POSNUM_TOP":"2D"==(null==u?void 0:u.plannerMode)?(I=new f.FM(0,-r.height-p.height/2),null!=u&&u.rotOfElement&&(I=f.FM.rotateOrigin(I,u.rotOfElement)),h=r.left+I.x,g=r.top+I.y):"3D"!=(null==u?void 0:u.plannerMode)&&"BOX"!=(null==u?void 0:u.plannerMode)||(m.enableElementCopy?(x=!0,y="calc("+r.left.toString()+"% - "+r.width/1.8+"px)",C=r.top<4?"calc("+r.top+"% + 30px - var(--globalSize) / 2":"calc("+r.top+"% - (var(--globalSize) + 5px) / 2"):(x=!0,y=r.left.toString()+"%",C=r.top<4?"calc("+r.top+"% + 30px - var(--globalSize) / 2":"calc("+r.top+"% - (var(--globalSize) + 5px) / 2"));break;case"TOP_RIGHT_BACK":if("2D"==(null==u?void 0:u.plannerMode)){var P=null!=u&&u.iconZoom?u.iconZoom:1;I=new f.FM(-p.width/2-(p.width/3+P),-p.height/2-(p.height/3.7-P)),null!=u&&u.rotOfElement&&(I=f.FM.rotateOrigin(I,u.rotOfElement)),h+=I.x,g+=I.y,Math.sqrt(Math.pow(r.left-h,2)+Math.pow(r.top-g,2))<=r.width&&(I=new f.FM(r.width,0),null!=u&&u.rotOfElement&&(I=f.FM.rotateOrigin(I,u.rotOfElement)),h+=I.x,g+=I.y)}else if("3D"==(null==u?void 0:u.plannerMode)||"BOX"==(null==u?void 0:u.plannerMode)){if(c||s||a){var D=!1;c&&(Math.sqrt(Math.pow(c.left-h,2)+Math.pow(c.top-g,2))<9&&(g+=5,D=!0),!D&&s&&Math.sqrt(Math.pow(s.left-h,2)+Math.pow(s.top-g,2))<9&&(g+=5,D=!0),!D&&a&&Math.sqrt(Math.pow(a.left-h,2)+Math.pow(a.top-g,2))<9&&(g+=5,D=!0))}(h-=1)>99&&(h=99),(g=100-g-2)<1&&(g=1)}}}return{width:null!==(o=null==p?void 0:p.width)&&void 0!==o?o:0,height:null!==(l=null==p?void 0:p.height)&&void 0!==l?l:0,top:g,left:h,doUseCalc:x,topCalc:x?C:void 0,leftCalc:x?y:void 0}}({trashItem:ve,posNrRect:De,boxPlannerCopyLeftRect:Ee,boxPlannerCopyTopRect:Ne,boxPlannerCopyRightRect:Re,trashElement:H}),Se=function useCopyElementPositioning(e){var t,n,o=e.copyElement,l=e.posNrRect,i=e.copyElementItem,r=(0,v._w)(),c=null==o?void 0:o.getBoundingClientRect(),a=r.getViewConfig(),s="",u="",d=!1;if(c&&l)switch(new f.FM(0,0),a.posTrashRotIcon){case"POSNUM_TOP":"3D"==(null==i?void 0:i.plannerMode)&&a.enableElementCopy&&(d=!0,s="calc("+l.left.toString()+"% + "+l.width/1.8+"px)",u="calc("+l.top+"% - "+(l.height+2)+"px)");break;case"TOP_RIGHT_BACK":P.error(new I.GE("Do implement copy Element for TOP_RIGHT_BACK Positioning",{code:"WC_0012"}))}return{width:null!==(t=null==c?void 0:c.width)&&void 0!==t?t:0,height:null!==(n=null==c?void 0:c.height)&&void 0!==n?n:0,top:0,left:0,doUseCalc:d,topCalc:d?u:void 0,leftCalc:d?s:void 0}}({copyElementItem:me,posNrRect:De,copyElement:Q}),be=function useRotClockwisePositioning(e){var t,n,o,l,i=e.rotElement,r=e.posNrRect,c=e.trashRect,a=e.rotItem,s=(0,v._w)(),u=null==i?void 0:i.getBoundingClientRect(),d=s.getViewConfig(),p=null!==(t=null==a?void 0:a.position.x)&&void 0!==t?t:0,m=null!==(n=null==a?void 0:a.position.y)&&void 0!==n?n:0;if(u&&r&&c){var h=new f.FM(0,0);switch(d.posTrashRotIcon){case"POSNUM_TOP":p=(r.left+c.left)/2,m=(r.top+c.top)/2,h=new f.FM(-u.width,0),null!=a&&a.rotOfElement&&(h=f.FM.rotateOrigin(h,a.rotOfElement)),p+=h.x,m+=h.y;break;case"TOP_RIGHT_BACK":if(Math.sqrt(Math.pow(r.left-c.left,2)+Math.pow(r.top-c.top,2))<=100){var g=new f.FM(0,-u.height-4);null!=a&&a.rotOfElement&&0!=a.rotOfElement&&(g=f.FM.rotateOrigin(g,a.rotOfElement)),p=(null==c?void 0:c.left)+g.x,m=(null==c?void 0:c.top)+g.y}else{var y=new f.FM(-u.width-4,0);null!=a&&a.rotOfElement&&0!=a.rotOfElement&&(y=f.FM.rotateOrigin(y,a.rotOfElement)),p=(null==c?void 0:c.left)+y.x,m=(null==c?void 0:c.top)+y.y}}}return{width:null!==(o=null==u?void 0:u.width)&&void 0!==o?o:0,height:null!==(l=null==u?void 0:u.height)&&void 0!==l?l:0,top:m,left:p}}({rotItem:he,posNrRect:De,trashRect:ke,rotElement:ne}),Fe=function useRotCounterClockwisePositioning(e){var t,n,o,l,i=e.rotElement,r=e.posNrRect,c=e.trashRect,a=e.rotClockRect,s=e.rotItem,u=(0,v._w)(),d=null==i?void 0:i.getBoundingClientRect(),p=u.getViewConfig(),m=null!==(t=null==s?void 0:s.position.x)&&void 0!==t?t:0,h=null!==(n=null==s?void 0:s.position.y)&&void 0!==n?n:0;if(d&&r&&c&&a){var g=new f.FM(0,0);switch(p.posTrashRotIcon){case"POSNUM_TOP":m=(r.left+c.left)/2,h=(r.top+c.top)/2,g=new f.FM(d.width,0),null!=s&&s.rotOfElement&&(g=f.FM.rotateOrigin(g,s.rotOfElement)),m+=g.x,h+=g.y;break;case"TOP_RIGHT_BACK":Math.sqrt(Math.pow(r.left-c.left,2)+Math.pow(r.top-c.top,2))<=100?(g=new f.FM(0,-d.height-3),null!=s&&s.rotOfElement&&(g=f.FM.rotateOrigin(g,s.rotOfElement)),m=(null==a?void 0:a.left)+g.x,h=(null==a?void 0:a.top)+g.y):(g=new f.FM(-d.width-3,-0),null!=s&&s.rotOfElement&&(g=f.FM.rotateOrigin(g,s.rotOfElement)),m=(null==a?void 0:a.left)+g.x,h=(null==a?void 0:a.top)+g.y)}}return{width:null!==(o=null==d?void 0:d.width)&&void 0!==o?o:0,height:null!==(l=null==d?void 0:d.height)&&void 0!==l?l:0,top:h,left:m}}({rotItem:he,posNrRect:De,trashRect:ke,rotClockRect:be,rotElement:ne});return(0,M.jsxs)(M.Fragment,{children:[ce&&(0,M.jsx)(h.default,{item:ce,rect:De,onElement:R,plannerUIProps:n,hasTrash:!!ve}),fe&&(0,M.jsx)(a.default,{item:fe,plannerUIProps:n},fe.key),ae&&(0,M.jsx)(r.default,{item:ae,rect:we,onElement:F,plannerUIProps:n},null==ae?void 0:ae.key),se&&(0,M.jsx)(c.default,{item:se,rect:Me,onElement:B,plannerUIProps:n},null==se?void 0:se.key),ye&&xe&&(0,M.jsx)(g.default,{item:ye,rect:Ee,invertLeftRight:Re.left<Ee.left,plannerUIProps:n},ye.key),Ce&&(0,M.jsx)(g.default,{item:Ce,rect:Ne,invertLeftRight:!1,plannerUIProps:n},Ce.key),xe&&ye&&(0,M.jsx)(g.default,{item:xe,rect:Re,invertLeftRight:Re.left<Ee.left,plannerUIProps:n},xe.key),ve&&(0,M.jsx)(d.default,{item:ve,rect:ke,onElement:q,plannerUIProps:n}),me&&(0,M.jsx)(D.default,{item:me,rect:Se,onElement:$,plannerUIProps:n}),he&&(0,M.jsx)(s.default,{item:he,rect:be,onElement:oe,plannerUIProps:n}),ge&&(0,M.jsx)(u.default,{item:ge,rect:Fe,onElement:re,plannerUIProps:n}),ue.map((function(e,t){return(0,M.jsx)(m.default,{item:e,plannerUIProps:n},e.key)})),l.productState.getDoShow3DDimensionLines()&&de.map((function(e,t){return(0,M.jsx)(w.default,{item:e,plannerUIProps:n},e.key)})),Ie&&(0,M.jsx)(y.default,{item:Ie,plannerUIProps:n},null==Ie?void 0:Ie.key),Pe&&(0,M.jsx)(C.default,{item:Pe,plannerUIProps:n},null==Pe?void 0:Pe.key)]})}))}}]);
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[5286,7801,7348,3525,3090,9290,8938,8117,8445,4580,4829,4723,2352,4516,5115],{37801:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function BoxCopy(e){var t=e.rect,n=e.item,o=e.plannerUIProps,i=e.invertLeftRight;return(0,r.jsx)("div",{onClick:function onClick(){var e;null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),"BoxCopyLeft"==n.type?"LEFT":"BoxCopyRight"==n.type?"RIGHT":"BoxCopyTop"==n.type?"TOP":"STD")},style:{left:t.left+"%",top:100-t.top+"%"},className:l()(o.classes.buttonGeneral,o.classes.copy.BoxPlannerCopy.copyGlobal,"BoxCopyLeft"==n.type?i?o.classes.copy.BoxPlannerCopy.copyRight:o.classes.copy.BoxPlannerCopy.copyLeft:void 0,"BoxCopyTop"==n.type?o.classes.copy.BoxPlannerCopy.copyTop:void 0,"BoxCopyRight"==n.type?i?o.classes.copy.BoxPlannerCopy.copyLeft:o.classes.copy.BoxPlannerCopy.copyRight:void 0)})}))},67348:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function ElementCopy(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps;return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:n.doUseCalc?n.leftCalc:"percentage"==t.position.interpretation?n.left+"%":n.left+"px",top:n.doUseCalc?n.topCalc:"percentage"==t.position.interpretation?n.top+"%":n.top+"px"},className:l()(i.classes.copy.ElementCopy,i.classes.buttonGeneral)})}))},33525:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function DistanceToGround(e){var t=e.item,n=e.plannerUIProps;return(0,r.jsx)("div",{style:{left:t.position.x+"%",top:100-t.position.y+"%"},id:"distanceToGround",className:l()(n.classes.dimension.distanceToGround),children:(0,r.jsx)("div",{children:t.dimensionVal+" cm"})})}))},53090:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=n(91923),c=(n(87363),n(47514));const a=(0,i.Pi)((function AVL(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=(0,r._w)(),s=a.getDPUIISSelected(n),u=(n.rotOfElement?n.rotOfElement:0)+(n.iconRotDeg?n.iconRotDeg:0);return(0,c.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;a.setDPUISelectionChanged(n,!s),null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),n.dpId,!s,void 0)},style:{left:t.left+"px",top:t.top+"px",transform:"rotate("+u+"deg)"},className:l()(i.classes.buttonGeneral,i.classes.dockingPoint.AVL.avl,s?i.classes.dockingPoint.AVL.avlSel:void 0)})}))},59290:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=n(91923),c=(n(87363),n(47514));const a=(0,i.Pi)((function AVR(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=(0,r._w)(),s=a.getDPUIISSelected(n),u=(n.rotOfElement?n.rotOfElement:0)+(n.iconRotDeg?n.iconRotDeg:0);return(0,c.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;a.setDPUISelectionChanged(n,!s),null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),n.dpId,!s,void 0)},style:{left:t.left+"px",top:t.top+"px",transform:"rotate("+u+"deg)"},className:l()(i.classes.buttonGeneral,i.classes.dockingPoint.AVR.avr,s?i.classes.dockingPoint.AVR.avrSel:void 0),children:n.posNr})}))},18938:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=n(91923),c=(n(87363),n(47514));const a=(0,i.Pi)((function DPACC(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=(0,r._w)(),s=a.getDPUIISSelected(n);return(0,c.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;a.setDPUISelectionChanged(n,!s),null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId),n.dpId,!s,n.dockToElementId)},style:{left:"percentage"==n.position.interpretation?t.left+"%":t.left+"px",top:"percentage"==n.position.interpretation?t.top+"%":t.top+"px"},className:l()(i.classes.buttonGeneral,"2D"==n.plannerMode?"DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp2DAccDocking:i.classes.dockingPoint.DPACC.dp2DAccNotDocking:void 0,"2D"==n.plannerMode&&s&&"NOT_DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp2DAccNotDockingSel:void 0,"3D"==n.plannerMode?"DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp3DAccDocking:i.classes.dockingPoint.DPACC.dp3DAccNotDocking:void 0,"3D"==n.plannerMode&&s&&"NOT_DOCKING"==n.dockingInfo?i.classes.dockingPoint.DPACC.dp3DAccNotDockingSel:void 0),children:n.posNr})}))},78117:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(34988),l=n(87363),i=n(65515),r=n.n(i),c=n(18696),a=n(22976),s=n.n(a),u=n(91923),d=n(47514),p=new c.FM(0,0);const f=function Move3DGrid(e){var t=e.item,n=e.plannerUIProps,i=(0,l.useState)(!1),a=(0,o.Z)(i,2),f=a[0],v=a[1],m=(0,l.useRef)(null),h=!1,g=(0,u.NP)();return(0,d.jsx)(s(),{handle:".handle3DMove",nodeRef:m,onStart:function onStart(e){!function onStartDragging(e){h=!0,"mousedown"==e.type?p=new c.FM(e.clientX,e.clientY):"touchstart"==e.type&&(p=new c.FM(e.touches[0].clientX,e.touches[0].clientY))}(e)},onDrag:function onDrag(e){!function onDragging(e){var n;if(h&&!f)v(!0),null===(n=t.onDragStartFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId));else if(f){var o,l,i,r=null!==(o=g.productState.planner3DGridElement)&&void 0!==o&&o.getBoundingClientRect().left?g.productState.planner3DGridElement.getBoundingClientRect().left:0,a=null!==(l=g.productState.planner3DGridElement)&&void 0!==l&&l.getBoundingClientRect().top?g.productState.planner3DGridElement.getBoundingClientRect().top:0;if("mousemove"==e.type)null===(i=t.onDragMoveFunction)||void 0===i||i.call(t,t.setId,Number(t.elementId),new c.FM(e.clientX-r,e.clientY-a)),p.x=e.clientX,p.y=e.clientY;else if("touchmove"==e.type){var s;null===(s=t.onDragMoveFunction)||void 0===s||s.call(t,t.setId,Number(t.elementId),new c.FM(e.touches[0].clientX-r,e.touches[0].clientY-a)),p.x=e.touches[0].clientX,p.y=e.touches[0].clientY}}h=!1}(e)},onStop:function onStop(e){!function onDragEnd(e){var n;f&&(v(!1),null===(n=t.onDragEndFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId))),h=!1}()},children:(0,d.jsx)("div",{ref:m,style:{visibility:f?"hidden":"visible",left:t.position.x+"px",top:t.position.y+"px"},className:r()("handle3DMove",n.classes.buttonGeneral,n.classes.move3DGrid.move3DGrid)})})}},88445:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var o=n(34988),l=n(65515),i=n.n(l),r=n(9420),c=n(87363),a=n(18696),s=n(47514),u=new a.FM(0,0);const d=(0,r.Pi)((function Outline(e){var t,n,l=e.item,r=e.plannerUIProps,d=(0,c.useState)(!1),p=(0,o.Z)(d,2),f=p[0],v=p[1],m=(0,c.useState)(l.position.x),h=(0,o.Z)(m,2),g=h[0],y=h[1],C=(0,c.useState)(l.position.y),x=(0,o.Z)(C,2),I=x[0],P=x[1],D=!1;return(0,s.jsx)("div",{onClick:function onClick(){var e;null===(e=l.clickFunction)||void 0===e||e.call(l,l.setId,Number(l.elementId))},onMouseDown:function onMouseDown(e){D=!0,u=new a.FM(e.clientX,e.clientY)},onTouchStart:function onTouchStart(e){1==e.touches.length&&(D=!0,u=new a.FM(e.touches[0].clientX,e.touches[0].clientY))},onMouseMove:function onMouseMove(e){var t,n;D&&!f&&(v(!0),null===(t=l.onDragStartFunction)||void 0===t||t.call(l,l.setId,Number(l.elementId)));f&&(null===(n=l.onDragMoveFunction)||void 0===n||n.call(l,l.setId,Number(l.elementId),new a.FM(e.clientX-u.x,e.clientY-u.y)),y(g+e.clientX-u.x),P(I+e.clientY-u.y),u.x=e.clientX,u.y=e.clientY);D=!1},onTouchMove:function onTouchMove(e){if(1==e.touches.length){var t,n;if(D&&!f)v(!0),null===(t=l.onDragStartFunction)||void 0===t||t.call(l,l.setId,Number(l.elementId));if(f)null===(n=l.onDragMoveFunction)||void 0===n||n.call(l,l.setId,Number(l.elementId),new a.FM(e.touches[0].clientX-u.x,e.touches[0].clientY-u.y)),y(g+e.touches[0].clientX-u.x),P(I+e.touches[0].clientY-u.y),u.x=e.touches[0].clientX,u.y=e.touches[0].clientY;D=!1}},onMouseUp:function onMouseUp(){var e;f&&(v(!1),null===(e=l.onDragEndFunction)||void 0===e||e.call(l,l.setId,Number(l.elementId)));D=!1},onTouchEnd:function onTouchEnd(){var e;f&&(v(!1),null===(e=l.onDragEndFunction)||void 0===e||e.call(l,l.setId,Number(l.elementId)));D=!1},style:{left:g+"px",top:I+"px",width:(null==l||null===(t=l.size)||void 0===t?void 0:t.x)+"px",height:(null==l||null===(n=l.size)||void 0===n?void 0:n.y)+"px",transform:"rotate("+(null==l?void 0:l.rotOfElement)+"deg)"},className:i()(f?r.classes.outline.outline2D.draggableActive:void 0,"selected"==l.elemState?r.classes.outline.outline2D.draggable:void 0,"selectable"==l.elemState?r.classes.outline.outline2D.selectable:void 0)})}))},24580:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(91923)),c=n(47514);const a=(0,i.Pi)((function PosNr(e){var t=e.rect,n=e.item,o=e.onElement,i=e.plannerUIProps,a=e.hasTrash,s=(0,r.NP)(),u="percentage"==n.position.interpretation?t.top+"%":t.top+"px";return u=a&&t.top<4?"calc("+u+" + 35px + var(--globalSize) / 2)":"calc("+u+" + var(--globalSize) / 2)",(0,c.jsxs)("div",{ref:function ref(e){return o(e)},style:{left:"percentage"==n.position.interpretation?t.left+"%":t.left,top:u,visibility:s.productState.isBoxPlanner?"hidden":"visible"},className:l()(i.classes.buttonGeneral,i.classes.posNr.posNr,n.isDockedAccessoire?i.classes.posNr.posNrAcc:void 0,"selected"==n.elemState?i.classes.posNr.posNrSelected:void 0,"selectable"==n.elemState?i.classes.posNr.posNrSelectable:void 0,"unselectable"==n.elemState?i.classes.posNr.posNrUnSelectable:void 0,n.onHover&&"unselectable"!=n.elemState?i.classes.posNr.posNrOnHover:void 0),children:[n.posNr,(0,c.jsx)("div",{onClick:function onClick(){var e;null===(e=n.clickFunction)||void 0===e||e.call(n,n.setId,Number(n.elementId))},style:{left:"0px",top:"0px",visibility:s.productState.isBoxPlanner?"hidden":"visible"},className:l()("selectable"==n.elemState?i.classes.posNr.posNrSelectableArea:void 0)})]})}))},54829:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(34988),l=n(87363),i=n(65515),r=n.n(i),c=n(18696),a=n(22976),s=n.n(a),u=n(91923),d=n(47514),p=new c.FM(0,0);const f=function Rotation3DGrid(e){var t=e.item,n=e.plannerUIProps,i=(0,u.NP)(),a=(0,l.useState)(!1),f=(0,o.Z)(a,2),v=f[0],m=f[1],h=(0,l.useRef)(null),g=!1;return(0,d.jsx)(s(),{nodeRef:h,handle:".handle3DRotation",onStart:function onStart(e){!function onStartDragging(e){g=!0,"mousedown"==e.type?p=new c.FM(e.clientX,e.clientY):"touchstart"==e.type&&(p=new c.FM(e.touches[0].clientX,e.touches[0].clientY))}(e)},onDrag:function onDrag(e){!function onDragging(e){var n;if(g&&!v)m(!0),null===(n=t.onDragStartFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId));else if(v){var o,l,r,a=null!==(o=i.productState.planner3DGridElement)&&void 0!==o&&o.getBoundingClientRect().left?i.productState.planner3DGridElement.getBoundingClientRect().left:0,s=null!==(l=i.productState.planner3DGridElement)&&void 0!==l&&l.getBoundingClientRect().top?i.productState.planner3DGridElement.getBoundingClientRect().top:0;if("mousemove"==e.type)null===(r=t.onDragMoveFunction)||void 0===r||r.call(t,t.setId,Number(t.elementId),new c.FM(e.clientX-a,e.clientY-s)),p.x=e.clientX,p.y=e.clientY;else if("touchmove"==e.type){var u;null===(u=t.onDragMoveFunction)||void 0===u||u.call(t,t.setId,Number(t.elementId),new c.FM(e.touches[0].clientX-a,e.touches[0].clientY-s)),p.x=e.touches[0].clientX,p.y=e.touches[0].clientY}}g=!1}(e)},onStop:function onStop(e){!function onDragEnd(e){var n;v&&(m(!1),null===(n=t.onDragEndFunction)||void 0===n||n.call(t,t.setId,Number(t.elementId))),g=!1}()},children:(0,d.jsx)("div",{ref:h,style:{visibility:v?"hidden":"visible",left:t.position.x+"px",top:t.position.y+"px"},className:r()("handle3DRotation",n.classes.buttonGeneral,n.classes.rotation.rot3DGrid)})})}},94723:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function RotationClockwise(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps;return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:n.left+"px",top:n.top+"px"},className:l()(i.classes.rotation.rotClock,i.classes.buttonGeneral),children:t.posNr})}))},72352:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function RotationCounterClockwise(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps;return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:n.left+"px",top:n.top+"px"},className:l()(i.classes.rotation.rotCounterClock,i.classes.buttonGeneral),children:t.posNr})}))},54516:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var o=n(65515),l=n.n(o),i=n(9420),r=(n(87363),n(47514));const c=(0,i.Pi)((function Trash(e){var t=e.item,n=e.rect,o=e.onElement,i=e.plannerUIProps,c=n.doUseCalc?n.leftCalc:"percentage"==t.position.interpretation?n.left+"%":n.left+"px",a=n.doUseCalc?n.topCalc:"percentage"==t.position.interpretation?"calc("+n.top+"% )":n.top+"px";return(0,r.jsx)("div",{ref:function ref(e){return o(e)},onClick:function onClick(){var e;null===(e=t.clickFunction)||void 0===e||e.call(t,t.setId,Number(t.elementId))},style:{left:c,top:a},className:l()(i.classes.trash.trashClass,i.classes.buttonGeneral,"BOX"==t.plannerMode?i.classes.trash.boxplanner:void 0),id:"testDel",children:t.posNr})}))},40053:(e,t,n)=>{n.d(t,{Z:()=>useDockingPointPositioning});var o=n(18696),l=n(91923);function useDockingPointPositioning(e){var t,n,i,r,c=e.dpElement,a=e.item,s=(0,l._w)(),u=null==c?void 0:c.getBoundingClientRect(),d=null!==(t=null==a?void 0:a.position.x)&&void 0!==t?t:0,p=null!==(n=null==a?void 0:a.position.y)&&void 0!==n?n:0;if(u&&a){var f=new o.FM(d,p),v=s.getViewConfig(),m=new o.FM(0,0);if("AVL"==(null==a?void 0:a.type)||"AVR"==(null==a?void 0:a.type)){if("2D"===a.plannerMode)switch(v.posDPIcon2D){case"CORNER":break;case"SIDE_TOP":"AVL"==(null==a?void 0:a.type)&&(m=new o.FM(-u.width,0),null!=a&&a.rotOfElement&&(m=o.FM.rotateOrigin(m,null==a?void 0:a.rotOfElement)),f=new o.FM(d+m.x,p+m.y,"pixel"))}}else"AccDP"==(null==a?void 0:a.type)&&"3D"==(null==a?void 0:a.plannerMode)?f.y=100-f.y:"BoxCopyLeft"==a.type||"BoxCopyRight"==(null==a?void 0:a.type)||null==a||a.type;d=f.x,p=f.y}return{width:null!==(i=null==u?void 0:u.width)&&void 0!==i?i:0,height:null!==(r=null==u?void 0:u.height)&&void 0!==r?r:0,top:p,left:d}}},85115:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var o=n(34988),l=n(87363),i=n(18938),r=n(40053),c=n(47514);const a=function ItemsDPAccContainer(e){var t=e.item,n=e.plannerUIProps,a=(0,l.useState)(null),s=(0,o.Z)(a,2),u=s[0],d=s[1],p=(0,r.Z)({item:t,dpElement:u});return(0,c.jsx)(c.Fragment,{children:t&&(0,c.jsx)(i.default,{item:t,rect:p,onElement:d,plannerUIProps:n},null==t?void 0:t.key)})}},5286:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var o=n(34988),l=n(9420),i=n(87363),r=n(53090),c=n(59290),a=n(88445),s=n(94723),u=n(72352),d=n(54516),p=n(40053),f=n(18696),v=n(91923);var m=n(85115),h=n(24580),g=n(37801),y=n(78117),C=n(54829),x=n(88683),I=n(5482),P=(0,x.getLogger)("Planner","CopyElementPositioning");var D=n(67348),w=n(33525),M=n(47514);const E=(0,l.Pi)((function ItemsContainer(e){for(var t=e.items,n=e.plannerUIProps,l=(0,v.NP)(),x=(0,i.useState)(null),E=(0,o.Z)(x,2),N=E[0],R=E[1],k=(0,i.useState)(null),S=(0,o.Z)(k,2),b=S[0],F=S[1],O=(0,i.useState)(null),U=(0,o.Z)(O,2),T=U[0],B=U[1],G=(0,i.useState)(null),A=(0,o.Z)(G,2),j=A[0],Z=(A[1],(0,i.useState)(null)),_=(0,o.Z)(Z,2),X=_[0],L=(_[1],(0,i.useState)(null)),Y=(0,o.Z)(L,2),V=Y[0],K=(Y[1],(0,i.useState)(null)),z=(0,o.Z)(K,2),H=z[0],q=z[1],W=(0,i.useState)(null),J=(0,o.Z)(W,2),Q=J[0],$=J[1],ee=(0,i.useState)(null),te=(0,o.Z)(ee,2),ne=te[0],oe=te[1],le=(0,i.useState)(null),ie=(0,o.Z)(le,2),re=(ie[0],ie[1]),ce=t.find((function(e){return"PosNr"==e.type})),ae=t.find((function(e){return"AVL"==e.type})),se=t.find((function(e){return"AVR"==e.type})),ue=[],de=[],pe=0;pe<t.length;pe++)"AccDP"==t[pe].type?ue.push(t[pe]):"DistanceFromGround"==t[pe].type&&de.push(t[pe]);var fe=t.find((function(e){return"Outline"==e.type})),ve=t.find((function(e){return"TrashIcon"==e.type})),me=t.find((function(e){return"CopyElement"==e.type})),he=t.find((function(e){return"RotateC"==e.type})),ge=t.find((function(e){return"RotateCC"==e.type})),ye=t.find((function(e){return"BoxCopyLeft"==e.type})),Ce=t.find((function(e){return"BoxCopyTop"==e.type})),xe=t.find((function(e){return"BoxCopyRight"==e.type})),Ie=t.find((function(e){return"Move3DGrid"==e.type})),Pe=t.find((function(e){return"Rot3DGrid"==e.type})),De=function usePosNrPositioning(e){var t,n,o,l,i=e.posNrElement,r=e.item,c=(0,v._w)(),a=null==i?void 0:i.getBoundingClientRect(),s=null!==(t=null==r?void 0:r.position.x)&&void 0!==t?t:0,u=null!==(n=null==r?void 0:r.position.y)&&void 0!==n?n:0;if(a){var d=new f.FM(s,u),p=c.getViewConfig(),m=new f.FM(0,0);switch(null==r?void 0:r.plannerMode){case"2D":switch(p.iconPosition2DGrid){case"BORDER":m=new f.FM(a.width,.1*-a.height),null!=r&&r.rotOfElement&&(m=f.FM.rotateOrigin(m,null==r?void 0:r.rotOfElement)),d=new f.FM(s+m.x,u+m.y,"pixel");break;case"OUTSIDE":var h=null!=r&&r.iconZoom?r.iconZoom:1;m=new f.FM(a.width+h,-a.height/2-(a.height/2.5-h)),null!=r&&r.rotOfElement&&(m=f.FM.rotateOrigin(m,null==r?void 0:r.rotOfElement)),d=new f.FM(s+m.x,u+m.y,"pixel")}s=d.x,u=d.y;break;case"3D":(s+=3)<1&&(s=1),(u=100-u-1)<1&&(u=1)}}return{width:null!==(o=null==a?void 0:a.width)&&void 0!==o?o:0,height:null!==(l=null==a?void 0:a.height)&&void 0!==l?l:0,top:u,left:s}}({item:ce,posNrElement:N}),we=(0,p.Z)({item:ae,dpElement:b}),Me=(0,p.Z)({item:se,dpElement:T}),Ee=(0,p.Z)({item:ye,dpElement:j}),Ne=(0,p.Z)({item:Ce,dpElement:X}),Re=(0,p.Z)({item:xe,dpElement:V}),ke=function useTrashPositioning(e){var t,n,o,l,i=e.trashElement,r=e.posNrRect,c=e.boxPlannerCopyLeftRect,a=e.boxPlannerCopyTopRect,s=e.boxPlannerCopyRightRect,u=e.trashItem,d=(0,v._w)(),p=null==i?void 0:i.getBoundingClientRect(),m=d.getViewConfig(),h=null!==(t=null==u?void 0:u.position.x)&&void 0!==t?t:0,g=null!==(n=null==u?void 0:u.position.y)&&void 0!==n?n:0,y="",C="",x=!1;if(p&&r){var I=new f.FM(0,0);switch(m.posTrashRotIcon){case"POSNUM_TOP":"2D"==(null==u?void 0:u.plannerMode)?(I=new f.FM(0,-r.height-p.height/2),null!=u&&u.rotOfElement&&(I=f.FM.rotateOrigin(I,u.rotOfElement)),h=r.left+I.x,g=r.top+I.y):"3D"!=(null==u?void 0:u.plannerMode)&&"BOX"!=(null==u?void 0:u.plannerMode)||(m.enableElementCopy?(x=!0,y="calc("+r.left.toString()+"% - "+r.width/1.8+"px)",C=r.top<4?"calc("+r.top+"% + 30px - var(--globalSize) / 2":"calc("+r.top+"% - (var(--globalSize) + 5px) / 2"):(x=!0,y=r.left.toString()+"%",C=r.top<4?"calc("+r.top+"% + 30px - var(--globalSize) / 2":"calc("+r.top+"% - (var(--globalSize) + 5px) / 2"));break;case"TOP_RIGHT_BACK":if("2D"==(null==u?void 0:u.plannerMode)){var P=null!=u&&u.iconZoom?u.iconZoom:1;I=new f.FM(-p.width/2-(p.width/3+P),-p.height/2-(p.height/3.7-P)),null!=u&&u.rotOfElement&&(I=f.FM.rotateOrigin(I,u.rotOfElement)),h+=I.x,g+=I.y,Math.sqrt(Math.pow(r.left-h,2)+Math.pow(r.top-g,2))<=r.width&&(I=new f.FM(r.width,0),null!=u&&u.rotOfElement&&(I=f.FM.rotateOrigin(I,u.rotOfElement)),h+=I.x,g+=I.y)}else if("3D"==(null==u?void 0:u.plannerMode)||"BOX"==(null==u?void 0:u.plannerMode)){if(c||s||a){var D=!1;c&&(Math.sqrt(Math.pow(c.left-h,2)+Math.pow(c.top-g,2))<9&&(g+=5,D=!0),!D&&s&&Math.sqrt(Math.pow(s.left-h,2)+Math.pow(s.top-g,2))<9&&(g+=5,D=!0),!D&&a&&Math.sqrt(Math.pow(a.left-h,2)+Math.pow(a.top-g,2))<9&&(g+=5,D=!0))}(h-=1)>99&&(h=99),(g=100-g-2)<1&&(g=1)}}}return{width:null!==(o=null==p?void 0:p.width)&&void 0!==o?o:0,height:null!==(l=null==p?void 0:p.height)&&void 0!==l?l:0,top:g,left:h,doUseCalc:x,topCalc:x?C:void 0,leftCalc:x?y:void 0}}({trashItem:ve,posNrRect:De,boxPlannerCopyLeftRect:Ee,boxPlannerCopyTopRect:Ne,boxPlannerCopyRightRect:Re,trashElement:H}),Se=function useCopyElementPositioning(e){var t,n,o=e.copyElement,l=e.posNrRect,i=e.copyElementItem,r=(0,v._w)(),c=null==o?void 0:o.getBoundingClientRect(),a=r.getViewConfig(),s="",u="",d=!1;if(c&&l)switch(new f.FM(0,0),a.posTrashRotIcon){case"POSNUM_TOP":"3D"==(null==i?void 0:i.plannerMode)&&a.enableElementCopy&&(d=!0,s="calc("+l.left.toString()+"% + "+l.width/1.8+"px)",u="calc("+l.top+"% - "+(l.height+2)+"px)");break;case"TOP_RIGHT_BACK":P.error(new I.GE("Do implement copy Element for TOP_RIGHT_BACK Positioning",{code:"WC_0012"}))}return{width:null!==(t=null==c?void 0:c.width)&&void 0!==t?t:0,height:null!==(n=null==c?void 0:c.height)&&void 0!==n?n:0,top:0,left:0,doUseCalc:d,topCalc:d?u:void 0,leftCalc:d?s:void 0}}({copyElementItem:me,posNrRect:De,copyElement:Q}),be=function useRotClockwisePositioning(e){var t,n,o,l,i=e.rotElement,r=e.posNrRect,c=e.trashRect,a=e.rotItem,s=(0,v._w)(),u=null==i?void 0:i.getBoundingClientRect(),d=s.getViewConfig(),p=null!==(t=null==a?void 0:a.position.x)&&void 0!==t?t:0,m=null!==(n=null==a?void 0:a.position.y)&&void 0!==n?n:0;if(u&&r&&c){var h=new f.FM(0,0);switch(d.posTrashRotIcon){case"POSNUM_TOP":p=(r.left+c.left)/2,m=(r.top+c.top)/2,h=new f.FM(-u.width,0),null!=a&&a.rotOfElement&&(h=f.FM.rotateOrigin(h,a.rotOfElement)),p+=h.x,m+=h.y;break;case"TOP_RIGHT_BACK":if(Math.sqrt(Math.pow(r.left-c.left,2)+Math.pow(r.top-c.top,2))<=100){var g=new f.FM(0,-u.height-4);null!=a&&a.rotOfElement&&0!=a.rotOfElement&&(g=f.FM.rotateOrigin(g,a.rotOfElement)),p=(null==c?void 0:c.left)+g.x,m=(null==c?void 0:c.top)+g.y}else{var y=new f.FM(-u.width-4,0);null!=a&&a.rotOfElement&&0!=a.rotOfElement&&(y=f.FM.rotateOrigin(y,a.rotOfElement)),p=(null==c?void 0:c.left)+y.x,m=(null==c?void 0:c.top)+y.y}}}return{width:null!==(o=null==u?void 0:u.width)&&void 0!==o?o:0,height:null!==(l=null==u?void 0:u.height)&&void 0!==l?l:0,top:m,left:p}}({rotItem:he,posNrRect:De,trashRect:ke,rotElement:ne}),Fe=function useRotCounterClockwisePositioning(e){var t,n,o,l,i=e.rotElement,r=e.posNrRect,c=e.trashRect,a=e.rotClockRect,s=e.rotItem,u=(0,v._w)(),d=null==i?void 0:i.getBoundingClientRect(),p=u.getViewConfig(),m=null!==(t=null==s?void 0:s.position.x)&&void 0!==t?t:0,h=null!==(n=null==s?void 0:s.position.y)&&void 0!==n?n:0;if(d&&r&&c&&a){var g=new f.FM(0,0);switch(p.posTrashRotIcon){case"POSNUM_TOP":m=(r.left+c.left)/2,h=(r.top+c.top)/2,g=new f.FM(d.width,0),null!=s&&s.rotOfElement&&(g=f.FM.rotateOrigin(g,s.rotOfElement)),m+=g.x,h+=g.y;break;case"TOP_RIGHT_BACK":Math.sqrt(Math.pow(r.left-c.left,2)+Math.pow(r.top-c.top,2))<=100?(g=new f.FM(0,-d.height-3),null!=s&&s.rotOfElement&&(g=f.FM.rotateOrigin(g,s.rotOfElement)),m=(null==a?void 0:a.left)+g.x,h=(null==a?void 0:a.top)+g.y):(g=new f.FM(-d.width-3,-0),null!=s&&s.rotOfElement&&(g=f.FM.rotateOrigin(g,s.rotOfElement)),m=(null==a?void 0:a.left)+g.x,h=(null==a?void 0:a.top)+g.y)}}return{width:null!==(o=null==d?void 0:d.width)&&void 0!==o?o:0,height:null!==(l=null==d?void 0:d.height)&&void 0!==l?l:0,top:h,left:m}}({rotItem:he,posNrRect:De,trashRect:ke,rotClockRect:be,rotElement:ne});return(0,M.jsxs)(M.Fragment,{children:[ce&&(0,M.jsx)(h.default,{item:ce,rect:De,onElement:R,plannerUIProps:n,hasTrash:!!ve}),fe&&(0,M.jsx)(a.default,{item:fe,plannerUIProps:n},fe.key),ae&&(0,M.jsx)(r.default,{item:ae,rect:we,onElement:F,plannerUIProps:n},null==ae?void 0:ae.key),se&&(0,M.jsx)(c.default,{item:se,rect:Me,onElement:B,plannerUIProps:n},null==se?void 0:se.key),ye&&xe&&(0,M.jsx)(g.default,{item:ye,rect:Ee,invertLeftRight:Re.left<Ee.left,plannerUIProps:n},ye.key),Ce&&(0,M.jsx)(g.default,{item:Ce,rect:Ne,invertLeftRight:!1,plannerUIProps:n},Ce.key),xe&&ye&&(0,M.jsx)(g.default,{item:xe,rect:Re,invertLeftRight:Re.left<Ee.left,plannerUIProps:n},xe.key),ve&&(0,M.jsx)(d.default,{item:ve,rect:ke,onElement:q,plannerUIProps:n}),me&&(0,M.jsx)(D.default,{item:me,rect:Se,onElement:$,plannerUIProps:n}),he&&(0,M.jsx)(s.default,{item:he,rect:be,onElement:oe,plannerUIProps:n}),ge&&(0,M.jsx)(u.default,{item:ge,rect:Fe,onElement:re,plannerUIProps:n}),ue.map((function(e,t){return(0,M.jsx)(m.default,{item:e,plannerUIProps:n},e.key)})),l.productState.getDoShow3DDimensionLines()&&de.map((function(e,t){return(0,M.jsx)(w.default,{item:e,plannerUIProps:n},e.key)})),Ie&&(0,M.jsx)(y.default,{item:Ie,plannerUIProps:n},null==Ie?void 0:Ie.key),Pe&&(0,M.jsx)(C.default,{item:Pe,plannerUIProps:n},null==Pe?void 0:Pe.key)]})}))}}]);
|
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 555.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[555,7020,3170],{57020:(n,e,t)=>{t.r(e),t.d(e,{default:()=>r});var i=t(80248),o=(t(87363),t(2765)),d=t(47514);function ownKeys(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function _objectSpread(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}const r=function ProductHeaderFunction(n){return(0,d.jsx)(o.ZP,_objectSpread(_objectSpread({},n),{},{componentName:"Product/ProductHeader/Functions"}))}},50555:(n,e,t)=>{t.r(e),t.d(e,{default:()=>b});var i=t(83170),o=t(93379),d=t.n(o),r=t(7795),a=t.n(r),s=t(90569),l=t.n(s),u=t(3565),x=t.n(u),c=t(19216),m=t.n(c),p=t(44589),f=t.n(p),h=t(46718),g={};g.styleTagTransform=f(),g.setAttributes=x(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=m();d()(h.Z,g);h.Z&&h.Z.locals&&h.Z.locals;t(87363);var v=t(47514);const b=function ProductHeaderBlue(n){return(0,v.jsx)(i.default,{productClass:h.I})}},83170:(n,e,t)=>{t.r(e),t.d(e,{default:()=>I});var i=t(34988),o=t(65515),d=t.n(o),r=t(91923),a=t(9420),s=t(87363),l=t(88683),u=t(57020),x=t(93379),c=t.n(x),m=t(7795),p=t.n(m),f=t(90569),h=t.n(f),g=t(3565),v=t.n(g),b=t(19216),w=t.n(b),P=t(44589),j=t.n(P),S=t(26876),y={};y.styleTagTransform=j(),y.setAttributes=v(),y.insert=h().bind(null,"head"),y.domAPI=p(),y.insertStyleElement=w();c()(S.ZP,y);S.ZP&&S.ZP.locals&&S.ZP.locals;var z=t(6937),H=t(78485),D=t(47514);const I=(0,a.Pi)((function ProductHeader(n){var e=n.hidePrice,t=n.productClass,o=(0,r.NP)(),a=(0,l.useTranslation)().t,x=(0,l.useDivaCore)().state,c=x.hidePrices,m=x.dimensions,p=m.isMobile,f=m.isTablet,h=o.getViewConfig().productHeaderContentBox,g=(0,s.useState)(),v=(0,i.Z)(g,2),b=v[0],w=v[1],P=(0,s.useState)(!1),j=(0,i.Z)(P,2),y=j[0],I=j[1],C=o.getViewConfig().hideWebConfiguratorTitle||o.getViewConfig().hideWebConfiguratorTitleInMobile&&o.getIsInMobileView();return(0,s.useEffect)((function(){var n;p&&!f||!o.divaWebPlanner.actSet()||null===(n=o.productState.customDimensions)||void 0===n||n.then((function(n){w(n);var e=n.reduce((function(n,e){return n[e.dimensionId]?n[e.dimensionId].includes(e.dimension)||n[e.dimensionId].push(e.dimension):n[e.dimensionId]=[e.dimension],n}),{});I(!Object.values(e).find((function(n){return n.length>1})))}))}),[o.divaWebPlanner.actSet(),o.settingsState.configChanged]),(0,D.jsxs)("div",{className:d()(S.YS,t,o.uiState.isMobileLandscape?S.rK:void 0,o.uiState.isMobilePortrait?S.tW:void 0,o.uiState.configSettingsIsExpanded?S.zh:void 0,o.uiState.configSettingsIsMaxExpanded?S.Zk:void 0,o.productState.plannerRenderingIsStaticBG?S.Li:void 0,S.Gr),children:[(0,D.jsxs)("div",{className:S.gU,"data-test-id":"configProductHeader",children:[!C&&(0,D.jsx)("h1",{"data-test-id":"productHeaderTitle",children:o.productState.webConifguratorTitle}),(0,D.jsxs)("div",{className:S.NG,children:[!c&&!e&&(0,D.jsxs)("div",{children:[(0,D.jsxs)("span",{className:S.Bm,"data-test-id":"productHeaderPriceInfo",children:[" ",a("configurator.PRICE_INFO"),":"]}),(0,D.jsxs)("span",{className:S.GO,"data-test-id":"productHeaderFormattedPrice",children:[" ",o.productState.formatedCurSetPrice]}),o.productState.formatedBruttoPrice&&!o.getViewConfig().hideRabattPrice&&(0,D.jsxs)("span",{className:S.xk,"data-test-id":"productHeaderFormattedBruttoPrice",children:[" ",o.productState.formatedBruttoPrice]})]}),!(null==b||!b.length)&&b.map((function(n){var e,t;return(0,D.jsxs)("div",{children:[(0,D.jsxs)("span",{className:S.Bm,children:[null!==(e=n.text)&&void 0!==e?e:a("configurator.headerdimension."+n.dimensionId),!y&&" ("+n.posNrs.join(",")+")",":"," "]}),(0,D.jsxs)("span",{className:S.GO,children:[null!==(t=n.dimension)&&void 0!==t?t:0," ",n.unit]})]})}))]})]}),(0,D.jsx)("div",{className:S.AJ,children:(0,D.jsx)(u.default,{})}),!o.uiState.isMobileLandscape&&o.productState.currentBanner&&(0,D.jsx)("div",{className:S.az,children:(0,D.jsx)(H.default,{noWrapper:!0,id:o.productState.currentBanner.contentItemId})}),h&&!o.uiState.isMobileLandscape&&!o.productState.currentBanner&&(0,D.jsx)("div",{className:S.az,children:(0,D.jsx)(z.p,{settings:{contentBoxProps:h}})})]})}))},46718:(n,e,t)=>{t.d(e,{I:()=>a,Z:()=>s});var i=t(8081),o=t.n(i),d=t(23645),r=t.n(d)()(o());r.push([n.id,".index-module--xNNVT {\n font-weight: 300 !important;\n}\n",""]);var a="index-module--xNNVT";const s=r},26876:(n,e,t)=>{t.d(e,{AJ:()=>x,Bm:()=>h,GO:()=>g,Gr:()=>b,Li:()=>w,NG:()=>f,YS:()=>a,ZP:()=>P,Zk:()=>p,az:()=>m,gU:()=>s,rK:()=>c,tW:()=>l,xk:()=>v,zh:()=>u});var i=t(8081),o=t.n(i),d=t(23645),r=t.n(d)()(o());r.push([n.id,"/* Productdaten */\n\n.index-module--HKQKa {\n display: flex;\n flex-direction: row;\n height: 70px;\n z-index: 112;\n transition:\n width 0.2s ease-in-out,\n opacity 0.5s ease-in-out;\n opacity: 1;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.index-module--vRGHL {\n flex-basis: 50%;\n justify-self: flex-start;\n z-index: 300;\n margin: 16px 0 16px 16px;\n pointer-events: none;\n}\n.index-module--f5D1B .index-module--vRGHL {\n margin: 12px 0 16px 16px;\n}\n\n.index-module--gHGCU .index-module--vRGHL {\n flex-basis: 100%;\n}\n.index-module--MvVu6 {\n flex-basis: 50%;\n}\n\n.index-module--MvVu6 {\n flex-basis: 100%;\n position: relative;\n z-index: 112;\n margin: 16px;\n}\n.index-module--f5D1B .index-module--MvVu6 {\n margin: 6px 12px;\n}\n\n.index-module--DePmU .index-module--MvVu6 {\n margin: 8px 12px 0px 0px;\n}\n\n.index-module--lRnbu {\n z-index: 112;\n}\n\n.index-module--gHGCU.index-module--HKQKa {\n width: calc(55% - 40px - 24px);\n}\n\n.index-module--aRkML.index-module--HKQKa,\n.index-module--Dq9vA.index-module--HKQKa {\n opacity: 0;\n}\n\n.index-module--HKQKa h1 {\n font-weight: 300;\n font-size: 24px;\n line-height: 27.2px;\n text-transform: uppercase;\n letter-spacing: 0.2px;\n color: var(--secondaryColor);\n margin: 0 0 10px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n white-space: nowrap;\n\n border-radius: 100px;\n width: -moz-fit-content;\n width: fit-content;\n}\n.index-module--cN5ML {\n border-radius: 0px 0px 12px 0px;\n padding: 0px 12px 6px 16px;\n position: absolute;\n width: -moz-fit-content;\n width: fit-content;\n white-space: nowrap;\n left: 0px;\n}\n\n.index-module--f5D1B .index-module--cN5ML {\n margin-top: 5px;\n\n background-color: transparent;\n}\n\n.index-module--gHGCU.index-module--HKQKa h1 {\n max-width: 300px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.index-module--nPYHz {\n color: var(--secondaryColor);\n font-size: 14px;\n font-size: var(--priceInfoFontSize, 14px);\n font-weight: 300;\n -webkit-text-stroke: 0.4px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.index-module--vYIA1 {\n color: var(--secondaryColor);\n font-size: 14px;\n font-size: var(--priceInfoFontSize, 14px);\n -webkit-text-stroke: 0.4px;\n margin: 0px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.index-module--uuqou {\n position: relative;\n color: var(--secondaryColor);\n font-size: 14px;\n font-size: var(--priceInfoFontSize, 14px);\n -webkit-text-stroke: 0.4px;\n margin: 0px 10px;\n}\n\n.index-module--uuqou:before {\n position: absolute;\n content: '';\n left: 0;\n top: 50%;\n right: 0;\n border-top: 1px solid;\n border-color: inherit;\n\n transform: rotate(5deg);\n}\n\n.index-module--DePmU.index-module--HKQKa {\n margin-left: 2rem;\n width: calc(100% - 1rem);\n height: 54.4px;\n}\n\n.index-module--Jnc8i.index-module--DePmU.index-module--HKQKa {\n left: 50px;\n top: 0px;\n margin-left: 0.5rem;\n margin-top: 4px;\n width: calc(100% - 1rem);\n height: 24.4px;\n}\n\n.index-module--DePmU h1 {\n margin: 0px;\n margin-top: 14.4px;\n font-size: 22.4px;\n line-height: 18px;\n width: 67%;\n}\n.index-module--DePmU h2 {\n margin: 0;\n margin: initial;\n font-weight: 100;\n width: 67%;\n line-height: 0.65;\n -webkit-text-stroke: 0.3px;\n}\n.index-module--DePmU .index-module--nPYHz {\n font-size: 15.6px;\n}\n\n.index-module--DePmU .index-module--vYIA1 {\n font-size: 15.6px;\n}\n\n.index-module--f5D1B.index-module--HKQKa {\n height: 54.4px;\n width: calc(100% - 4px);\n}\n\n.index-module--f5D1B h1 {\n margin: 0px;\n font-size: 17px;\n line-height: 20px;\n}\n\n.index-module--f5D1B.index-module--v_hgu h1,\n.index-module--DePmU.index-module--Jnc8i.index-module--v_hgu h1 {\n color: var(--secondaryColor);\n text-shadow: 3px 4px 15px #000000;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n}\n\n.index-module--f5D1B.index-module--v_hgu .index-module--nPYHz,\n.index-module--DePmU.index-module--Jnc8i.index-module--v_hgu .index-module--nPYHz,\n.index-module--f5D1B.index-module--v_hgu .index-module--vYIA1,\n.index-module--DePmU.index-module--Jnc8i.index-module--v_hgu .index-module--vYIA1 {\n color: white;\n}\n\n.index-module--f5D1B h2 {\n margin: 0;\n margin: initial;\n font-weight: 100;\n width: 67%;\n line-height: 0.65;\n}\n",""]);var a="index-module--HKQKa",s="index-module--vRGHL",l="index-module--f5D1B",u="index-module--gHGCU",x="index-module--MvVu6",c="index-module--DePmU",m="index-module--lRnbu",p="index-module--aRkML",f="index-module--cN5ML",h="index-module--nPYHz",g="index-module--vYIA1",v="index-module--uuqou",b="index-module--Jnc8i",w="index-module--v_hgu";const P=r}}]);
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[555,7020,3170],{57020:(n,e,t)=>{t.r(e),t.d(e,{default:()=>r});var i=t(80248),o=(t(87363),t(2765)),d=t(47514);function ownKeys(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function _objectSpread(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}const r=function ProductHeaderFunction(n){return(0,d.jsx)(o.ZP,_objectSpread(_objectSpread({},n),{},{componentName:"Product/ProductHeader/Functions"}))}},50555:(n,e,t)=>{t.r(e),t.d(e,{default:()=>b});var i=t(83170),o=t(93379),d=t.n(o),r=t(7795),a=t.n(r),s=t(90569),l=t.n(s),u=t(3565),x=t.n(u),c=t(19216),m=t.n(c),p=t(44589),f=t.n(p),h=t(46718),g={};g.styleTagTransform=f(),g.setAttributes=x(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=m();d()(h.Z,g);h.Z&&h.Z.locals&&h.Z.locals;t(87363);var v=t(47514);const b=function ProductHeaderBlue(n){return(0,v.jsx)(i.default,{productClass:h.I})}},83170:(n,e,t)=>{t.r(e),t.d(e,{default:()=>I});var i=t(34988),o=t(65515),d=t.n(o),r=t(91923),a=t(9420),s=t(87363),l=t(88683),u=t(57020),x=t(93379),c=t.n(x),m=t(7795),p=t.n(m),f=t(90569),h=t.n(f),g=t(3565),v=t.n(g),b=t(19216),w=t.n(b),P=t(44589),j=t.n(P),S=t(26876),y={};y.styleTagTransform=j(),y.setAttributes=v(),y.insert=h().bind(null,"head"),y.domAPI=p(),y.insertStyleElement=w();c()(S.ZP,y);S.ZP&&S.ZP.locals&&S.ZP.locals;var z=t(6937),H=t(48545),D=t(47514);const I=(0,a.Pi)((function ProductHeader(n){var e=n.hidePrice,t=n.productClass,o=(0,r.NP)(),a=(0,l.useTranslation)().t,x=(0,l.useDivaCore)().state,c=x.hidePrices,m=x.dimensions,p=m.isMobile,f=m.isTablet,h=o.getViewConfig().productHeaderContentBox,g=(0,s.useState)(),v=(0,i.Z)(g,2),b=v[0],w=v[1],P=(0,s.useState)(!1),j=(0,i.Z)(P,2),y=j[0],I=j[1],C=o.getViewConfig().hideWebConfiguratorTitle||o.getViewConfig().hideWebConfiguratorTitleInMobile&&o.getIsInMobileView();return(0,s.useEffect)((function(){var n;p&&!f||!o.divaWebPlanner.actSet()||null===(n=o.productState.customDimensions)||void 0===n||n.then((function(n){w(n);var e=n.reduce((function(n,e){return n[e.dimensionId]?n[e.dimensionId].includes(e.dimension)||n[e.dimensionId].push(e.dimension):n[e.dimensionId]=[e.dimension],n}),{});I(!Object.values(e).find((function(n){return n.length>1})))}))}),[o.divaWebPlanner.actSet(),o.settingsState.configChanged]),(0,D.jsxs)("div",{className:d()(S.YS,t,o.uiState.isMobileLandscape?S.rK:void 0,o.uiState.isMobilePortrait?S.tW:void 0,o.uiState.configSettingsIsExpanded?S.zh:void 0,o.uiState.configSettingsIsMaxExpanded?S.Zk:void 0,o.productState.plannerRenderingIsStaticBG?S.Li:void 0,S.Gr),children:[(0,D.jsxs)("div",{className:S.gU,"data-test-id":"configProductHeader",children:[!C&&(0,D.jsx)("h1",{"data-test-id":"productHeaderTitle",children:o.productState.webConifguratorTitle}),(0,D.jsxs)("div",{className:S.NG,children:[!c&&!e&&(0,D.jsxs)("div",{children:[(0,D.jsxs)("span",{className:S.Bm,"data-test-id":"productHeaderPriceInfo",children:[" ",a("configurator.PRICE_INFO"),":"]}),(0,D.jsxs)("span",{className:S.GO,"data-test-id":"productHeaderFormattedPrice",children:[" ",o.productState.formatedCurSetPrice]}),o.productState.formatedBruttoPrice&&!o.getViewConfig().hideRabattPrice&&(0,D.jsxs)("span",{className:S.xk,"data-test-id":"productHeaderFormattedBruttoPrice",children:[" ",o.productState.formatedBruttoPrice]})]}),!(null==b||!b.length)&&b.map((function(n){var e,t;return(0,D.jsxs)("div",{children:[(0,D.jsxs)("span",{className:S.Bm,children:[null!==(e=n.text)&&void 0!==e?e:a("configurator.headerdimension."+n.dimensionId),!y&&" ("+n.posNrs.join(",")+")",":"," "]}),(0,D.jsxs)("span",{className:S.GO,children:[null!==(t=n.dimension)&&void 0!==t?t:0," ",n.unit]})]})}))]})]}),(0,D.jsx)("div",{className:S.AJ,children:(0,D.jsx)(u.default,{})}),!o.uiState.isMobileLandscape&&o.productState.currentBanner&&(0,D.jsx)("div",{className:S.az,children:(0,D.jsx)(H.default,{noWrapper:!0,id:o.productState.currentBanner.contentItemId})}),h&&!o.uiState.isMobileLandscape&&!o.productState.currentBanner&&(0,D.jsx)("div",{className:S.az,children:(0,D.jsx)(z.p,{settings:{contentBoxProps:h}})})]})}))},46718:(n,e,t)=>{t.d(e,{I:()=>a,Z:()=>s});var i=t(8081),o=t.n(i),d=t(23645),r=t.n(d)()(o());r.push([n.id,".index-module--xNNVT {\n font-weight: 300 !important;\n}\n",""]);var a="index-module--xNNVT";const s=r},26876:(n,e,t)=>{t.d(e,{AJ:()=>x,Bm:()=>h,GO:()=>g,Gr:()=>b,Li:()=>w,NG:()=>f,YS:()=>a,ZP:()=>P,Zk:()=>p,az:()=>m,gU:()=>s,rK:()=>c,tW:()=>l,xk:()=>v,zh:()=>u});var i=t(8081),o=t.n(i),d=t(23645),r=t.n(d)()(o());r.push([n.id,"/* Productdaten */\n\n.index-module--HKQKa {\n display: flex;\n flex-direction: row;\n height: 70px;\n z-index: 112;\n transition:\n width 0.2s ease-in-out,\n opacity 0.5s ease-in-out;\n opacity: 1;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.index-module--vRGHL {\n flex-basis: 50%;\n justify-self: flex-start;\n z-index: 300;\n margin: 16px 0 16px 16px;\n pointer-events: none;\n}\n.index-module--f5D1B .index-module--vRGHL {\n margin: 12px 0 16px 16px;\n}\n\n.index-module--gHGCU .index-module--vRGHL {\n flex-basis: 100%;\n}\n.index-module--MvVu6 {\n flex-basis: 50%;\n}\n\n.index-module--MvVu6 {\n flex-basis: 100%;\n position: relative;\n z-index: 112;\n margin: 16px;\n}\n.index-module--f5D1B .index-module--MvVu6 {\n margin: 6px 12px;\n}\n\n.index-module--DePmU .index-module--MvVu6 {\n margin: 8px 12px 0px 0px;\n}\n\n.index-module--lRnbu {\n z-index: 112;\n}\n\n.index-module--gHGCU.index-module--HKQKa {\n width: calc(55% - 40px - 24px);\n}\n\n.index-module--aRkML.index-module--HKQKa,\n.index-module--Dq9vA.index-module--HKQKa {\n opacity: 0;\n}\n\n.index-module--HKQKa h1 {\n font-weight: 300;\n font-size: 24px;\n line-height: 27.2px;\n text-transform: uppercase;\n letter-spacing: 0.2px;\n color: var(--secondaryColor);\n margin: 0 0 10px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n white-space: nowrap;\n\n border-radius: 100px;\n width: -moz-fit-content;\n width: fit-content;\n}\n.index-module--cN5ML {\n border-radius: 0px 0px 12px 0px;\n padding: 0px 12px 6px 16px;\n position: absolute;\n width: -moz-fit-content;\n width: fit-content;\n white-space: nowrap;\n left: 0px;\n}\n\n.index-module--f5D1B .index-module--cN5ML {\n margin-top: 5px;\n\n background-color: transparent;\n}\n\n.index-module--gHGCU.index-module--HKQKa h1 {\n max-width: 300px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.index-module--nPYHz {\n color: var(--secondaryColor);\n font-size: 14px;\n font-size: var(--priceInfoFontSize, 14px);\n font-weight: 300;\n -webkit-text-stroke: 0.4px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.index-module--vYIA1 {\n color: var(--secondaryColor);\n font-size: 14px;\n font-size: var(--priceInfoFontSize, 14px);\n -webkit-text-stroke: 0.4px;\n margin: 0px;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n.index-module--uuqou {\n position: relative;\n color: var(--secondaryColor);\n font-size: 14px;\n font-size: var(--priceInfoFontSize, 14px);\n -webkit-text-stroke: 0.4px;\n margin: 0px 10px;\n}\n\n.index-module--uuqou:before {\n position: absolute;\n content: '';\n left: 0;\n top: 50%;\n right: 0;\n border-top: 1px solid;\n border-color: inherit;\n\n transform: rotate(5deg);\n}\n\n.index-module--DePmU.index-module--HKQKa {\n margin-left: 2rem;\n width: calc(100% - 1rem);\n height: 54.4px;\n}\n\n.index-module--Jnc8i.index-module--DePmU.index-module--HKQKa {\n left: 50px;\n top: 0px;\n margin-left: 0.5rem;\n margin-top: 4px;\n width: calc(100% - 1rem);\n height: 24.4px;\n}\n\n.index-module--DePmU h1 {\n margin: 0px;\n margin-top: 14.4px;\n font-size: 22.4px;\n line-height: 18px;\n width: 67%;\n}\n.index-module--DePmU h2 {\n margin: 0;\n margin: initial;\n font-weight: 100;\n width: 67%;\n line-height: 0.65;\n -webkit-text-stroke: 0.3px;\n}\n.index-module--DePmU .index-module--nPYHz {\n font-size: 15.6px;\n}\n\n.index-module--DePmU .index-module--vYIA1 {\n font-size: 15.6px;\n}\n\n.index-module--f5D1B.index-module--HKQKa {\n height: 54.4px;\n width: calc(100% - 4px);\n}\n\n.index-module--f5D1B h1 {\n margin: 0px;\n font-size: 17px;\n line-height: 20px;\n}\n\n.index-module--f5D1B.index-module--v_hgu h1,\n.index-module--DePmU.index-module--Jnc8i.index-module--v_hgu h1 {\n color: var(--secondaryColor);\n text-shadow: 3px 4px 15px #000000;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n}\n\n.index-module--f5D1B.index-module--v_hgu .index-module--nPYHz,\n.index-module--DePmU.index-module--Jnc8i.index-module--v_hgu .index-module--nPYHz,\n.index-module--f5D1B.index-module--v_hgu .index-module--vYIA1,\n.index-module--DePmU.index-module--Jnc8i.index-module--v_hgu .index-module--vYIA1 {\n color: white;\n}\n\n.index-module--f5D1B h2 {\n margin: 0;\n margin: initial;\n font-weight: 100;\n width: 67%;\n line-height: 0.65;\n}\n",""]);var a="index-module--HKQKa",s="index-module--vRGHL",l="index-module--f5D1B",u="index-module--gHGCU",x="index-module--MvVu6",c="index-module--DePmU",m="index-module--lRnbu",p="index-module--aRkML",f="index-module--cN5ML",h="index-module--nPYHz",g="index-module--vYIA1",v="index-module--uuqou",b="index-module--Jnc8i",w="index-module--v_hgu";const P=r}}]);
|
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 6158.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6158],{76158:(e,n,t)=>{t.r(n),t.d(n,{default:()=>r});t(87363);var a=t(47514);const r=[{catalogKey:"diva3dRoom",codex:"DIVA3D_ROOM",desc:(0,a.jsx)(a.Fragment,{children:"Starte 3D Ansicht mit diesem raum"}),type:"boolean"},{catalogKey:"has3dModels",codex:"DIVA3D_RENDERING",desc:(0,a.jsx)(a.Fragment,{children:"Das Modell ist in 3D "}),type:"boolean"},{catalogKey:"roomList3DStaticBGImage",codex:"DIVA3D_STATIC_BG_IMAGE_ROOMLIST",desc:(0,a.jsx)(a.Fragment,{children:"The list with the room names of the background images."}),type:"complicated"},{catalogKey:"diva3dStandardWhiteroom",codex:"3D_STANDARD_WHITEROOM",startsWithLogic:!0,desc:(0,a.jsx)(a.Fragment,{children:"Starts with 3D_STANDARD_WHITEROOM "}),type:"string"},{catalogKey:"diva3dCompatibleWithImageCache",codex:"3D_COMPATIBLE_WITH_IMAGE_CACHE",desc:(0,a.jsx)(a.Fragment,{children:"???"}),type:"boolean",deprecated:!0},{catalogKey:"doShow3DDimensionLines",codex:"ENABLE_DO_SHOW_3DDIMENSIONS",desc:(0,a.jsx)(a.Fragment,{children:"Set do show dimensionLines is per default already true. Can be overwritten and deactivated by WebConfig"}),type:"boolean"},{catalogKey:"defaultDimensionsActive",codex:"DEFAULT_DO_SHOW_3DDIMENSIONS",desc:(0,a.jsx)(a.Fragment,{children:" start with dimensions visible in 3D"}),type:"boolean"},{catalogKey:"isIDM3DCat",codex:"IS_IDM3D_CAT",desc:(0,a.jsx)(a.Fragment,{children:"xxx"}),type:"boolean"},{catalogKey:"IDM3DCatCodex",codex:"IDM3DCatCodex",desc:(0,a.jsx)(a.Fragment,{children:"xxx"}),type:"boolean"},{catalogKey:"arReady",codex:"DIVA3D_AR_READY",desc:(0,a.jsx)(a.Fragment,{children:"Diva3D Catalog is AR Ready"}),type:"boolean"},{catalogKey:"forceRTV",codex:"DIVA3D_AR_FORCERTV",desc:(0,a.jsx)(a.Fragment,{children:"Diva3D Force RTV"}),type:"boolean"},{catalogKey:"dontShowBasePrice",codex:"DONTCALCBASEPRICE",desc:(0,a.jsx)(a.Fragment,{children:"wenn true - dann sollte Preis Ab im Planner nicht angezeigt werden"}),type:"boolean"},{catalogKey:"divaPlanerDigits",codex:"DIVA3D_PLANER_DIGITS",desc:(0,a.jsx)(a.Fragment,{children:"Anzahl der Kommastellen bei Masslinien im Planer (Jutzler mit mm)"}),type:"number"},{catalogKey:"diva3dPlanerShowArticleAsSvg",codex:"DIVA3D_PLANER_SHOW_ARTICLE_SVG",desc:(0,a.jsx)(a.Fragment,{children:"beim Planer werden die planung svgs als Artikel Previewes angezeigt"}),type:"boolean"},{catalogKey:"showTypeNrInPlanner",codex:"SHOWTYPENRINPLANNER",desc:(0,a.jsx)(a.Fragment,{children:"die TypeNr wird im Planer bei der Artikelbeschreibung mit () dazugeschrieben"}),type:"boolean"},{catalogKey:"startFilterParams",codex:"STARTFILTERPARAMS",desc:(0,a.jsx)(a.Fragment,{children:"ist Breistrichgetrennt und gibt an mit welchen Filter der Planer initialisiert wird. z.B. 1,2,3 = Links- Zwischen und Rehcte Anbauelemente (1=links,2=Zwischen,3=Rechts,4=Solo,5=Accessoires)"}),type:"string"},{catalogKey:"startHideArticles",codex:"STARTHIDEARTICLES",desc:(0,a.jsx)(a.Fragment,{children:"ist ein array mit articlesCodexes welche zu beginn im planner ausgeblendet werden"}),type:"Array"},{catalogKey:"useGlobalSVGScale",codex:"USEGLOBALSVGSCALE",desc:(0,a.jsx)(a.Fragment,{children:"SVG größe wird abhängig von den Artikelmaße gestreckt"}),type:"boolean"},{catalogKey:"useBoxPlanner",codex:"USEBOXPLANNER",desc:(0,a.jsx)(a.Fragment,{children:"Boxplanner wird verwendet"}),type:"boolean"},{catalogKey:"plannerType",codex:"PLANNERTYPE",desc:(0,a.jsxs)(a.Fragment,{children:["der plannerType kann hier angegeben werden: Folgende werte sind möglich: 'PLANNER' = normaler usecase, ",(0,a.jsx)("br",{}),"'PRODUCTS' = alter usecase von GuF,",(0,a.jsx)("br",{}),"'PROMOTED' = usecase für Lück, ",(0,a.jsx)("br",{}),"'PROMOTED;PRODUCTS' weiterer usecase von Lück,",(0,a.jsx)("br",{}),"'NONE' = planner wird ausgeblendet, ",(0,a.jsx)("br",{}),"'CUSTOMER_OPTIMIZED_PLANNER' = alte pfisterwebshop verbesserungen, ",(0,a.jsx)("br",{}),"'JUMP_OVER_PLANNER' = planner wird bei start übersrungen"]}),type:"string"},{catalogKey:"startPlannerArticle",codex:"START_PLANNER_ARTICLE",desc:(0,a.jsx)(a.Fragment,{children:"Start article that is loaded after starting the planner. used for boxplanner"}),type:"string"},{catalogKey:"hide2DPlanner",codex:"HIDE_2D_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"Hide 2D grid / planner if possible"}),type:"boolean"},{catalogKey:"accessorieStepAsPlanner",codex:"ACCESSOIRE_STEP_AS_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"the accessorie step has all the planner capabilities"}),type:"boolean"},{catalogKey:"dontSaveAlternativeRenderings",codex:"DONT_SAVE_ALTERNATIVERENDERINGS",desc:(0,a.jsx)(a.Fragment,{children:"alternative Rendering dont get saved and added to basket and pdf"}),type:"boolean"},{catalogKey:"showAllItemsInPlanner",codex:"SHOW_ALL_ITEMS_IN_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"All elements are shown in the planner palette"}),type:"boolean"},{catalogKey:"doCheckConstructionWarnings",codex:"HIDECONSTRUCTIONWARNING",desc:(0,a.jsx)(a.Fragment,{children:"konstruktionswarnungen können mit diesem Flag ausgeblendet werden (Rolf Benz)"}),type:"boolean"},{catalogKey:"forceConstructionWarningForArticles",codex:"FORCECONSTRUCTIONWARNINGARTICLES",desc:(0,a.jsx)(a.Fragment,{children:"Bestimmte artikel werden trotzdem noch, falls constructions oder compltness warnungen ausgestellt sind, geprüfut und ggf warnungen ausgegeben"}),type:"boolean"},{catalogKey:"hideCompletenessWarning",codex:"HIDECOMPLETENESSWARNING",desc:(0,a.jsx)(a.Fragment,{children:"unvollständigkeitswarnung wird ignoriert"}),type:"boolean"},{catalogKey:"reconfigAfterArticleDocked",codex:"RECONFIG_AFTER_ARTICLE_DOCKED",desc:(0,a.jsx)(a.Fragment,{children:"updates the configuration when something at the dockingpoints changed."}),type:"boolean"},{catalogKey:"useDiomexConfigLogic",codex:"USE_DIOMEX_CONFIG_LOGIC",desc:(0,a.jsx)(a.Fragment,{children:"configurationslogik von diomex wird angewannt. Diese erlaubt dass optionen auch keinen wert aktuell gewählt haben. hier wird nicht standardmäßig der erste wert selektiert, falls der alter wert nicht miehr gültig ist."}),type:"boolean"},{catalogKey:"ignoreLayerAVC",codex:"IGNORELAYERAVC",desc:(0,a.jsx)(a.Fragment,{children:"AVC docken nun auch, wenn auf demselben Layer sind"}),type:"boolean"},{catalogKey:"ignoreLayerAVOAVU",codex:"IGNORELAYERAVOAVU",desc:(0,a.jsx)(a.Fragment,{children:"AVOAVU auch docken, wenn auf demselben Layer"}),type:"boolean"},{catalogKey:"ignoreLayerAVNAVS",codex:"IGNORELAYERAVNAVS",desc:(0,a.jsx)(a.Fragment,{children:"AVNAVS auch docken, wenn auf demselben Layer"}),type:"boolean"},{catalogKey:"dockAccOnAvoOnly",codex:"DOCKACCONAVOONLY",desc:(0,a.jsx)(a.Fragment,{children:"ist bei Küssnacht dass Acc nicht an nach unten schauenden Dockingpoints angedockt werden können sondern immer nur oben drauf verplant werden können"}),type:"boolean"},{catalogKey:"showAccOnDpOnly",codex:"SHOWACCONDPONLY",desc:(0,a.jsx)(a.Fragment,{children:"Acc werden wur im Planer zum verplanen angezeigt falls man den plassenden Dockingpoint in 2D oder 3D selektiert hat"}),type:"boolean"},{catalogKey:"replaceModeActive",codex:"PLANNER_REPLACE_MODE",desc:(0,a.jsx)(a.Fragment,{children:'tauschfunktion activ. ist Default auf "1" gesetzt. Kann mit diesem Flag deaktiviert werden. Dass die Tauschfunktion im UI auftaucht muss der Katalog min 1 artikel mit AVL-AVR haben und die Tauschfunktion in der Webconfig aktiviert sein "showReplaceFunctionInPlanner": true'}),type:"boolean"},{catalogKey:"hidePlannerUiIcons",codex:"HIDE_PLANNER_UI_ICONS",desc:(0,a.jsx)(a.Fragment,{children:"alle Planner UI ICONs werden ausgeblendet, wir PosNr und Rot Icon"}),type:"boolean"},{catalogKey:"dontSetPosNrFromPlanner",codex:"DONT_SET_POSNR_FROM_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"disables the logic that sets the posNr of the elements from the planner left to right"}),type:"boolean"},{catalogKey:"hideAVButtons",codex:"HIDE_AV_BUTTONS",desc:(0,a.jsx)(a.Fragment,{children:'is a string that can define which DPs are hidden. semicolon splitted eg: "AVC;AVR"'}),type:"Array"},{catalogKey:"UsePrgAsOpvArticleNr",codex:"USEPRGASOPVARTICLENR",desc:(0,a.jsx)(a.Fragment,{children:"spezielle Lösung für Jutzler - bei Zubehösets ist die Artikelnummer nicht der SubArticleCodex sondern der Codex der Preisgruppe"}),type:"boolean"},{catalogKey:"articleConfigSingle",codex:"ARTICLECONFIGSINGLE",desc:(0,a.jsx)(a.Fragment,{children:"Bei Konfiguratorschritte mit HeaderPosVarationType = K können alle gemeinsam oder einzeln konfiguriert werden. Ist dieser Flag true wird initialisiert mit der einstellung einzeln Konfigurieren"}),type:"boolean"},{catalogKey:"articleConfigAll",codex:"ARTICLECONFIGALL",desc:(0,a.jsx)(a.Fragment,{children:'Bei Konfiguratorschritte mit HeaderPosVarationType = K können alle gemeinsam oder einzeln konfiguriert werden. Ist dieser Flag true wird wie bereits standardmäsig auf alle Konfiguriert. Doch es gibt eine Regel welche: "wenn sich die OPVs von verschiedener Artikeln unterscheiden automatisch auf einzeln springt". Diese Regel wird hiermit unterbunden'}),type:"boolean"},{catalogKey:"autoOpenContentItem",codex:"AUTO_OPEN_CONTENTITEM",desc:(0,a.jsx)(a.Fragment,{children:'werden beim 1. mal navigieren in eine Tabgroup automatisch geöffnet. kann auch so: "AL;BE" spezifisch nur auf bestimmte optionen beschränkt werden'}),type:"boolean"},{catalogKey:"defaultGroupsClosed",codex:"DEFAULT_GROUPS_CLOSED",desc:(0,a.jsx)(a.Fragment,{children:'gruppen bei Optionen sind standardmässig geschlossen. Ist entwerder true - also "1" oder "0" immer alles geschlossen oder ein Array aus betroffenen OptionCodexe'}),type:"Array"},{catalogKey:"dontHideOption",codex:"DONTHIDEOPTION",desc:(0,a.jsx)(a.Fragment,{children:"ist ein Array aus OPTs welche nicht versteckt werden auch wenn sie nur eine OPV zur auswahl haben"}),type:"Array"},{catalogKey:"showAccessioreOnLastTab",codex:"SHOWACCESSOIREONLASTTAB",desc:(0,a.jsx)(a.Fragment,{children:"der Schritt der Accessoires wird an letzter stelle gesetzt"}),type:"boolean"},{catalogKey:"hidePriceGroupsOfOPGs",codex:"HIDE_PRICE_GROUPS_OF_OPGS",desc:(0,a.jsx)(a.Fragment,{children:"versteckt den Preisgruppetext bei OPG's bei zB. der Bezugsauswahl"}),type:"boolean"},{catalogKey:"forceConfigAllAccessoires",codex:"FORCE_CONFIG_ALL_ACCESSOIRES",desc:(0,a.jsx)(a.Fragment,{children:"accessoires werden forciert gemeinsam configuriert"}),type:"boolean"},{catalogKey:"configAccessoires",codex:"CONFIG_ACCESSOIRES",desc:(0,a.jsx)(a.Fragment,{children:"accessories sind direkt configurierbar im Accessorie Schritt. kommen aber trozdem auch im Optionsbaum raus"}),type:"boolean"},{catalogKey:"configOnlyAccessoires",codex:"CONFIG_ONLY_ACCESSOIRES",desc:(0,a.jsx)(a.Fragment,{children:"accessories sind direkt configurierbar nur im Accessoires Schritt"}),type:"boolean"},{catalogKey:"ignoreArticleRelations",codex:"IGNORE_ARTICLERELATIONS",desc:(0,a.jsx)(a.Fragment,{children:"Articlerelations werden im gesammten katalog ignoriert"}),type:"boolean"},{catalogKey:"repairVariantValues",codex:"REPAIR_VARIANT_VALUES",desc:(0,a.jsx)(a.Fragment,{children:"Mapping von OPT und OPV um beim öffnen von BK's die variantValues zu updaten"}),type:"complicated"},{catalogKey:"showPricePreviewOnlyOnOptions",codex:"SHOW_PRICEPREVIEW_ON_OPTIONS",desc:(0,a.jsx)(a.Fragment,{children:"mit diesem Feld kann man die Sichtbarkeit der PricePreviews auf nur bestimmten optionen steuern"}),type:"Array"},{catalogKey:"hidePricePreviewOnlyOnOptions",codex:"HIDE_PRICEPREVIEW_ON_OPTIONS",desc:(0,a.jsx)(a.Fragment,{children:"mit diesem Feld kann man die Sichtbarkeit der PricePreviews auf nur bestimmten optionen ausblenden"}),type:"Array"},{catalogKey:"forceConfigSingle",codex:"FORCE_CONFIG_SINGLE",desc:(0,a.jsx)(a.Fragment,{children:"das einzeln konfigurieren wird in diesem Katalog gezwungen"}),type:"boolean"},{catalogKey:"initOptionTreeTwice",codex:"INIT_OPTIONTREE_TWICE",desc:(0,a.jsx)(a.Fragment,{children:"Felher bei Cotta IDM wird somit ausgebes"}),type:"boolean"},{catalogKey:"dontShowAccStep",codex:"DONT_SHOW_ACC_STEP",desc:(0,a.jsx)(a.Fragment,{children:'Tabgroup "Zubehör" mit den ArticleRelations (Kissen usw.) wird ausgeblendet'}),type:"boolean"},{catalogKey:"useTypeNrAsArticleNrEKText",codex:"USE_TYPENR_AS_ARTICLENR_EKTEXT",desc:(0,a.jsx)(a.Fragment,{children:"fix für Hasena"}),type:"boolean"},{catalogKey:"addNewLineBeforRuleDesc",codex:"ADD_NEW_LINE_BEFOR_RULEDESC",desc:(0,a.jsx)(a.Fragment,{children:"für Kirchner neue zeile im Checkout vor der Klanner und der RuleCes von den Partlistarticles"}),type:"boolean"},{catalogKey:"useEdoArticlesOnOpvs",codex:"ADD_PA_ON_EDO",desc:(0,a.jsx)(a.Fragment,{children:"EDO = EachDifferetOPV für jede unterscchiedliche OPV wird ein bestimmter Artikel geladen (MAB Modelle). Dieses Array enthält ein Array von Gruppierte OPVs, die wenn in Set verplant Zusatzartikel hinzugefügt werden müssen."}),type:"complicated"},{catalogKey:"useShelfPlannerRTV",codex:"USE_SHELFPLANNER_RTV",desc:(0,a.jsx)(a.Fragment,{children:"shelfplanner with selection in RTV (first time with Biohort)"}),type:"boolean"},{catalogKey:"summaryTabGroupPosition",codex:"SUMMARY_TABGROUP_POSITION",desc:(0,a.jsx)(a.Fragment,{children:"Reihenfoge für Lück zusammenfassung"}),type:"Array"},{catalogKey:"onConfigSingleDontGeneralize",codex:"ONCONFIG_SINGLE_DONT_GENERALIZE",desc:(0,a.jsx)(a.Fragment,{children:"For Boxplanner when switching to config all dont generalize the current configuration automatically and let the elements have different configs"}),type:"boolean"},{catalogKey:"bannerRules",codex:"BANNER",desc:(0,a.jsx)(a.Fragment,{children:"Banner shown (contentItemId) if rule is true ect."}),type:"complicated"},{catalogKey:"ignoreMaxPriceAsBP",codex:"IGNORE_MAX_PRICE_AS_BASEPRICE",desc:(0,a.jsx)(a.Fragment,{children:"???"}),type:"boolean",deprecated:!0},{catalogKey:"dontUseVCodexInBasket",codex:"DONT_USE_VCODEX_FOR_BASKET",desc:(0,a.jsx)(a.Fragment,{children:"https://app.asana.com/0/1202950885998065/1202784374573245"}),type:"boolean"},{catalogKey:"usePosCountValue",codex:"USEPOSCOUNTVALUE",desc:(0,a.jsx)(a.Fragment,{children:"alter tag"}),type:"boolean",deprecated:!0},{catalogKey:"useDecisionPosCountValue",codex:"USE_DECISION_POS_COUNT_VALUE",desc:(0,a.jsx)(a.Fragment,{children:"neuer tag. Wird automatisch beim import von stücklistentabelle und bei IDM import gesetzt. Muss also in zukunft nichtmehr händisch gepflegt werden"}),type:"boolean"},{catalogKey:"ignoreIsDefinedCheck",codex:"IGNORE_ISDEFINED_CHECK",desc:(0,a.jsx)(a.Fragment,{children:"if true, on summary click does not check and show the dialob that some articles have options that were not visited"}),type:"boolean"},{catalogKey:"mergeOptionsToSameOption",codex:"MERGE_OPTIONS_TO_SAME_OPTION",desc:(0,a.jsx)(a.Fragment,{children:"usecase Amalfi Options OPTBE & OPTZUBEHOER are technically the same so they should be merged if possible"}),type:"complicated"},{catalogKey:"bundleRules",codex:"BUNDLE_RULES",desc:(0,a.jsx)(a.Fragment,{children:"crazy logic!"}),type:"complicated"}]}}]);
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6158],{76158:(e,n,t)=>{t.r(n),t.d(n,{default:()=>r});t(87363);var a=t(47514);const r=[{catalogKey:"diva3dRoom",codex:"DIVA3D_ROOM",desc:(0,a.jsx)(a.Fragment,{children:"Starte 3D Ansicht mit diesem raum"}),type:"boolean"},{catalogKey:"has3dModels",codex:"DIVA3D_RENDERING",desc:(0,a.jsx)(a.Fragment,{children:"Das Modell ist in 3D "}),type:"boolean"},{catalogKey:"roomList3DStaticBGImage",codex:"DIVA3D_STATIC_BG_IMAGE_ROOMLIST",desc:(0,a.jsx)(a.Fragment,{children:"The list with the room names of the background images."}),type:"complicated"},{catalogKey:"diva3dStandardWhiteroom",codex:"3D_STANDARD_WHITEROOM",startsWithLogic:!0,desc:(0,a.jsx)(a.Fragment,{children:"Starts with 3D_STANDARD_WHITEROOM "}),type:"string"},{catalogKey:"diva3dCompatibleWithImageCache",codex:"3D_COMPATIBLE_WITH_IMAGE_CACHE",desc:(0,a.jsx)(a.Fragment,{children:"???"}),type:"boolean",deprecated:!0},{catalogKey:"doShow3DDimensionLines",codex:"ENABLE_DO_SHOW_3DDIMENSIONS",desc:(0,a.jsx)(a.Fragment,{children:"Set do show dimensionLines is per default already true. Can be overwritten and deactivated by WebConfig"}),type:"boolean"},{catalogKey:"defaultDimensionsActive",codex:"DEFAULT_DO_SHOW_3DDIMENSIONS",desc:(0,a.jsx)(a.Fragment,{children:" start with dimensions visible in 3D"}),type:"boolean"},{catalogKey:"isIDM3DCat",codex:"IS_IDM3D_CAT",desc:(0,a.jsx)(a.Fragment,{children:"xxx"}),type:"boolean"},{catalogKey:"IDM3DCatCodex",codex:"IDM3DCatCodex",desc:(0,a.jsx)(a.Fragment,{children:"xxx"}),type:"boolean"},{catalogKey:"arReady",codex:"DIVA3D_AR_READY",desc:(0,a.jsx)(a.Fragment,{children:"Diva3D Catalog is AR Ready"}),type:"boolean"},{catalogKey:"forceRTV",codex:"DIVA3D_AR_FORCERTV",desc:(0,a.jsx)(a.Fragment,{children:"Diva3D Force RTV"}),type:"boolean"},{catalogKey:"dontShowBasePrice",codex:"DONTCALCBASEPRICE",desc:(0,a.jsx)(a.Fragment,{children:"wenn true - dann sollte Preis Ab im Planner nicht angezeigt werden"}),type:"boolean"},{catalogKey:"divaPlanerDigits",codex:"DIVA3D_PLANER_DIGITS",desc:(0,a.jsx)(a.Fragment,{children:"Anzahl der Kommastellen bei Masslinien im Planer (Jutzler mit mm)"}),type:"number"},{catalogKey:"diva3dPlanerShowArticleAsSvg",codex:"DIVA3D_PLANER_SHOW_ARTICLE_SVG",desc:(0,a.jsx)(a.Fragment,{children:"beim Planer werden die planung svgs als Artikel Previewes angezeigt"}),type:"boolean"},{catalogKey:"showTypeNrInPlanner",codex:"SHOWTYPENRINPLANNER",desc:(0,a.jsx)(a.Fragment,{children:"die TypeNr wird im Planer bei der Artikelbeschreibung mit () dazugeschrieben"}),type:"boolean"},{catalogKey:"startFilterParams",codex:"STARTFILTERPARAMS",desc:(0,a.jsx)(a.Fragment,{children:"ist Breistrichgetrennt und gibt an mit welchen Filter der Planer initialisiert wird. z.B. 1,2,3 = Links- Zwischen und Rehcte Anbauelemente (1=links,2=Zwischen,3=Rechts,4=Solo,5=Accessoires)"}),type:"string"},{catalogKey:"startHideArticles",codex:"STARTHIDEARTICLES",desc:(0,a.jsx)(a.Fragment,{children:"ist ein array mit articlesCodexes welche zu beginn im planner ausgeblendet werden"}),type:"Array"},{catalogKey:"useGlobalSVGScale",codex:"USEGLOBALSVGSCALE",desc:(0,a.jsx)(a.Fragment,{children:"SVG größe wird abhängig von den Artikelmaße gestreckt"}),type:"boolean"},{catalogKey:"useBoxPlanner",codex:"USEBOXPLANNER",desc:(0,a.jsx)(a.Fragment,{children:"Boxplanner wird verwendet"}),type:"boolean"},{catalogKey:"plannerType",codex:"PLANNERTYPE",desc:(0,a.jsxs)(a.Fragment,{children:["der plannerType kann hier angegeben werden: Folgende werte sind möglich: 'PLANNER' = normaler usecase, ",(0,a.jsx)("br",{}),"'PRODUCTS' = alter usecase von GuF,",(0,a.jsx)("br",{}),"'PROMOTED' = usecase für Lück, ",(0,a.jsx)("br",{}),"'PROMOTED;PRODUCTS' weiterer usecase von Lück,",(0,a.jsx)("br",{}),"'NONE' = planner wird ausgeblendet, ",(0,a.jsx)("br",{}),"'CUSTOMER_OPTIMIZED_PLANNER' = alte pfisterwebshop verbesserungen, ",(0,a.jsx)("br",{}),"'JUMP_OVER_PLANNER' = planner wird bei start übersrungen"]}),type:"string"},{catalogKey:"startPlannerArticle",codex:"START_PLANNER_ARTICLE",desc:(0,a.jsx)(a.Fragment,{children:"Start article that is loaded after starting the planner. used for boxplanner"}),type:"string"},{catalogKey:"hide2DPlanner",codex:"HIDE_2D_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"Hide 2D grid / planner if possible"}),type:"boolean"},{catalogKey:"accessorieStepAsPlanner",codex:"ACCESSOIRE_STEP_AS_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"the accessorie step has all the planner capabilities"}),type:"boolean"},{catalogKey:"dontSaveAlternativeRenderings",codex:"DONT_SAVE_ALTERNATIVERENDERINGS",desc:(0,a.jsx)(a.Fragment,{children:"alternative Rendering dont get saved and added to basket and pdf"}),type:"boolean"},{catalogKey:"showAllItemsInPlanner",codex:"SHOW_ALL_ITEMS_IN_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"All elements are shown in the planner palette"}),type:"boolean"},{catalogKey:"doCheckConstructionWarnings",codex:"HIDECONSTRUCTIONWARNING",desc:(0,a.jsx)(a.Fragment,{children:"konstruktionswarnungen können mit diesem Flag ausgeblendet werden (Rolf Benz)"}),type:"boolean"},{catalogKey:"forceConstructionWarningForArticles",codex:"FORCECONSTRUCTIONWARNINGARTICLES",desc:(0,a.jsx)(a.Fragment,{children:"Bestimmte artikel werden trotzdem noch, falls constructions oder compltness warnungen ausgestellt sind, geprüfut und ggf warnungen ausgegeben"}),type:"boolean"},{catalogKey:"hideCompletenessWarning",codex:"HIDECOMPLETENESSWARNING",desc:(0,a.jsx)(a.Fragment,{children:"unvollständigkeitswarnung wird ignoriert"}),type:"boolean"},{catalogKey:"reconfigAfterArticleDocked",codex:"RECONFIG_AFTER_ARTICLE_DOCKED",desc:(0,a.jsx)(a.Fragment,{children:"updates the configuration when something at the dockingpoints changed."}),type:"boolean"},{catalogKey:"useDiomexConfigLogic",codex:"USE_DIOMEX_CONFIG_LOGIC",desc:(0,a.jsx)(a.Fragment,{children:"configurationslogik von diomex wird angewannt. Diese erlaubt dass optionen auch keinen wert aktuell gewählt haben. hier wird nicht standardmäßig der erste wert selektiert, falls der alter wert nicht miehr gültig ist."}),type:"boolean"},{catalogKey:"ignoreLayerAVC",codex:"IGNORELAYERAVC",desc:(0,a.jsx)(a.Fragment,{children:"AVC docken nun auch, wenn auf demselben Layer sind"}),type:"boolean"},{catalogKey:"ignoreLayerAVOAVU",codex:"IGNORELAYERAVOAVU",desc:(0,a.jsx)(a.Fragment,{children:"AVOAVU auch docken, wenn auf demselben Layer"}),type:"boolean"},{catalogKey:"ignoreLayerAVNAVS",codex:"IGNORELAYERAVNAVS",desc:(0,a.jsx)(a.Fragment,{children:"AVNAVS auch docken, wenn auf demselben Layer"}),type:"boolean"},{catalogKey:"dockAccOnAvoOnly",codex:"DOCKACCONAVOONLY",desc:(0,a.jsx)(a.Fragment,{children:"ist bei Küssnacht dass Acc nicht an nach unten schauenden Dockingpoints angedockt werden können sondern immer nur oben drauf verplant werden können"}),type:"boolean"},{catalogKey:"showAccOnDpOnly",codex:"SHOWACCONDPONLY",desc:(0,a.jsx)(a.Fragment,{children:"Acc werden wur im Planer zum verplanen angezeigt falls man den plassenden Dockingpoint in 2D oder 3D selektiert hat"}),type:"boolean"},{catalogKey:"replaceModeActive",codex:"PLANNER_REPLACE_MODE",desc:(0,a.jsx)(a.Fragment,{children:'tauschfunktion activ. ist Default auf "1" gesetzt. Kann mit diesem Flag deaktiviert werden. Dass die Tauschfunktion im UI auftaucht muss der Katalog min 1 artikel mit AVL-AVR haben und die Tauschfunktion in der Webconfig aktiviert sein "showReplaceFunctionInPlanner": true'}),type:"boolean"},{catalogKey:"hidePlannerUiIcons",codex:"HIDE_PLANNER_UI_ICONS",desc:(0,a.jsx)(a.Fragment,{children:"alle Planner UI ICONs werden ausgeblendet, wir PosNr und Rot Icon"}),type:"boolean"},{catalogKey:"dontSetPosNrFromPlanner",codex:"DONT_SET_POSNR_FROM_PLANNER",desc:(0,a.jsx)(a.Fragment,{children:"disables the logic that sets the posNr of the elements from the planner left to right"}),type:"boolean"},{catalogKey:"hideAVButtons",codex:"HIDE_AV_BUTTONS",desc:(0,a.jsx)(a.Fragment,{children:'is a string that can define which DPs are hidden. semicolon splitted eg: "AVC;AVR"'}),type:"Array"},{catalogKey:"UsePrgAsOpvArticleNr",codex:"USEPRGASOPVARTICLENR",desc:(0,a.jsx)(a.Fragment,{children:"spezielle Lösung für Jutzler - bei Zubehösets ist die Artikelnummer nicht der SubArticleCodex sondern der Codex der Preisgruppe"}),type:"boolean"},{catalogKey:"articleConfigSingle",codex:"ARTICLECONFIGSINGLE",desc:(0,a.jsx)(a.Fragment,{children:"Bei Konfiguratorschritte mit HeaderPosVarationType = K können alle gemeinsam oder einzeln konfiguriert werden. Ist dieser Flag true wird initialisiert mit der einstellung einzeln Konfigurieren"}),type:"boolean"},{catalogKey:"articleConfigAll",codex:"ARTICLECONFIGALL",desc:(0,a.jsx)(a.Fragment,{children:'Bei Konfiguratorschritte mit HeaderPosVarationType = K können alle gemeinsam oder einzeln konfiguriert werden. Ist dieser Flag true wird wie bereits standardmäsig auf alle Konfiguriert. Doch es gibt eine Regel welche: "wenn sich die OPVs von verschiedener Artikeln unterscheiden automatisch auf einzeln springt". Diese Regel wird hiermit unterbunden'}),type:"boolean"},{catalogKey:"autoOpenContentItem",codex:"AUTO_OPEN_CONTENTITEM",desc:(0,a.jsx)(a.Fragment,{children:'werden beim 1. mal navigieren in eine Tabgroup automatisch geöffnet. kann auch so: "AL;BE" spezifisch nur auf bestimmte optionen beschränkt werden'}),type:"boolean"},{catalogKey:"defaultGroupsClosed",codex:"DEFAULT_GROUPS_CLOSED",desc:(0,a.jsx)(a.Fragment,{children:'gruppen bei Optionen sind standardmässig geschlossen. Ist entwerder true - also "1" oder "0" immer alles geschlossen oder ein Array aus betroffenen OptionCodexe'}),type:"Array"},{catalogKey:"dontHideOption",codex:"DONTHIDEOPTION",desc:(0,a.jsx)(a.Fragment,{children:"ist ein Array aus OPTs welche nicht versteckt werden auch wenn sie nur eine OPV zur auswahl haben"}),type:"Array"},{catalogKey:"showAccessioreOnLastTab",codex:"SHOWACCESSOIREONLASTTAB",desc:(0,a.jsx)(a.Fragment,{children:"der Schritt der Accessoires wird an letzter stelle gesetzt"}),type:"boolean"},{catalogKey:"hidePriceGroupsOfOPGs",codex:"HIDE_PRICE_GROUPS_OF_OPGS",desc:(0,a.jsx)(a.Fragment,{children:"versteckt den Preisgruppetext bei OPG's bei zB. der Bezugsauswahl"}),type:"boolean"},{catalogKey:"forceConfigAllAccessoires",codex:"FORCE_CONFIG_ALL_ACCESSOIRES",desc:(0,a.jsx)(a.Fragment,{children:"accessoires werden forciert gemeinsam configuriert"}),type:"boolean"},{catalogKey:"configAccessoires",codex:"CONFIG_ACCESSOIRES",desc:(0,a.jsx)(a.Fragment,{children:"accessories sind direkt configurierbar im Accessorie Schritt. kommen aber trozdem auch im Optionsbaum raus"}),type:"boolean"},{catalogKey:"configOnlyAccessoires",codex:"CONFIG_ONLY_ACCESSOIRES",desc:(0,a.jsx)(a.Fragment,{children:"accessories sind direkt configurierbar nur im Accessoires Schritt"}),type:"boolean"},{catalogKey:"ignoreArticleRelations",codex:"IGNORE_ARTICLERELATIONS",desc:(0,a.jsx)(a.Fragment,{children:"Articlerelations werden im gesammten katalog ignoriert"}),type:"boolean"},{catalogKey:"repairVariantValues",codex:"REPAIR_VARIANT_VALUES",desc:(0,a.jsx)(a.Fragment,{children:"Mapping von OPT und OPV um beim öffnen von BK's die variantValues zu updaten"}),type:"complicated"},{catalogKey:"showPricePreviewOnlyOnOptions",codex:"SHOW_PRICEPREVIEW_ON_OPTIONS",desc:(0,a.jsx)(a.Fragment,{children:"mit diesem Feld kann man die Sichtbarkeit der PricePreviews auf nur bestimmten optionen steuern"}),type:"Array"},{catalogKey:"hidePricePreviewOnlyOnOptions",codex:"HIDE_PRICEPREVIEW_ON_OPTIONS",desc:(0,a.jsx)(a.Fragment,{children:"mit diesem Feld kann man die Sichtbarkeit der PricePreviews auf nur bestimmten optionen ausblenden"}),type:"Array"},{catalogKey:"forceConfigSingle",codex:"FORCE_CONFIG_SINGLE",desc:(0,a.jsx)(a.Fragment,{children:"das einzeln konfigurieren wird in diesem Katalog gezwungen"}),type:"boolean"},{catalogKey:"initOptionTreeTwice",codex:"INIT_OPTIONTREE_TWICE",desc:(0,a.jsx)(a.Fragment,{children:"Felher bei Cotta IDM wird somit ausgebes"}),type:"boolean"},{catalogKey:"dontShowAccStep",codex:"DONT_SHOW_ACC_STEP",desc:(0,a.jsx)(a.Fragment,{children:'Tabgroup "Zubehör" mit den ArticleRelations (Kissen usw.) wird ausgeblendet'}),type:"boolean"},{catalogKey:"useTypeNrAsArticleNrEKText",codex:"USE_TYPENR_AS_ARTICLENR_EKTEXT",desc:(0,a.jsx)(a.Fragment,{children:"fix für Hasena"}),type:"boolean"},{catalogKey:"addNewLineBeforRuleDesc",codex:"ADD_NEW_LINE_BEFOR_RULEDESC",desc:(0,a.jsx)(a.Fragment,{children:"für Kirchner neue zeile im Checkout vor der Klanner und der RuleCes von den Partlistarticles"}),type:"boolean"},{catalogKey:"useEdoArticlesOnOpvs",codex:"ADD_PA_ON_EDO",desc:(0,a.jsx)(a.Fragment,{children:"EDO = EachDifferetOPV für jede unterscchiedliche OPV wird ein bestimmter Artikel geladen (MAB Modelle). Dieses Array enthält ein Array von Gruppierte OPVs, die wenn in Set verplant Zusatzartikel hinzugefügt werden müssen."}),type:"complicated"},{catalogKey:"useShelfPlannerRTV",codex:"USE_SHELFPLANNER_RTV",desc:(0,a.jsx)(a.Fragment,{children:"shelfplanner with selection in RTV (first time with Biohort)"}),type:"boolean"},{catalogKey:"summaryTabGroupPosition",codex:"SUMMARY_TABGROUP_POSITION",desc:(0,a.jsx)(a.Fragment,{children:"Reihenfoge für Lück zusammenfassung"}),type:"Array"},{catalogKey:"onConfigSingleDontGeneralize",codex:"ONCONFIG_SINGLE_DONT_GENERALIZE",desc:(0,a.jsx)(a.Fragment,{children:"For Boxplanner when switching to config all dont generalize the current configuration automatically and let the elements have different configs"}),type:"boolean"},{catalogKey:"bannerRules",codex:"BANNER",desc:(0,a.jsx)(a.Fragment,{children:"Banner shown (contentItemId) if rule is true ect."}),type:"complicated"},{catalogKey:"ignoreMaxPriceAsBP",codex:"IGNORE_MAX_PRICE_AS_BASEPRICE",desc:(0,a.jsx)(a.Fragment,{children:"???"}),type:"boolean",deprecated:!0},{catalogKey:"dontUseVCodexInBasket",codex:"DONT_USE_VCODEX_FOR_BASKET",desc:(0,a.jsx)(a.Fragment,{children:"https://app.asana.com/0/1202950885998065/1202784374573245"}),type:"boolean"},{catalogKey:"usePosCountValue",codex:"USEPOSCOUNTVALUE",desc:(0,a.jsx)(a.Fragment,{children:"alter tag"}),type:"boolean",deprecated:!0},{catalogKey:"useDecisionPosCountValue",codex:"USE_DECISION_POS_COUNT_VALUE",desc:(0,a.jsx)(a.Fragment,{children:"neuer tag. Wird automatisch beim import von stücklistentabelle und bei IDM import gesetzt. Muss also in zukunft nichtmehr händisch gepflegt werden"}),type:"boolean"},{catalogKey:"ignoreIsDefinedCheck",codex:"IGNORE_ISDEFINED_CHECK",desc:(0,a.jsx)(a.Fragment,{children:"if true, on summary click does not check and show the dialob that some articles have options that were not visited"}),type:"boolean"},{catalogKey:"partlistPostFix",codex:"PARTLIST_POSTFIX",desc:(0,a.jsx)(a.Fragment,{children:"ergänzt einen Übersetzbaren string am Ende des Names"}),type:"complicated"},{catalogKey:"mergeOptionsToSameOption",codex:"MERGE_OPTIONS_TO_SAME_OPTION",desc:(0,a.jsx)(a.Fragment,{children:"usecase Amalfi Options OPTBE & OPTZUBEHOER are technically the same so they should be merged if possible"}),type:"complicated"},{catalogKey:"bundleRules",codex:"BUNDLE_RULES",desc:(0,a.jsx)(a.Fragment,{children:"crazy logic!"}),type:"complicated"}]}}]);
|
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 63.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[63],{70063:(n,e,i)=>{i.r(e),i.d(e,{default:()=>
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[63],{70063:(n,e,i)=>{i.r(e),i.d(e,{default:()=>j});var t=i(65515),l=i.n(t),r=i(9420),a=(i(87363),i(93379)),s=i.n(a),d=i(7795),o=i.n(d),m=i(90569),c=i.n(m),u=i(3565),x=i.n(u),p=i(19216),h=i.n(p),g=i(44589),f=i.n(g),P=i(9201),v={};v.styleTagTransform=f(),v.setAttributes=x(),v.insert=c().bind(null,"head"),v.domAPI=o(),v.insertStyleElement=h();s()(P.ZP,v);P.ZP&&P.ZP.locals&&P.ZP.locals;var y=i(88683),z=i(47514);const j=(0,r.Pi)((function OptiontreeSerious(n){var e=n.item,i=(0,y.useDivaCore)().state.hidePrices,t=(0,y.useTranslation)().t,r=e;return r.isTabGroup?(0,z.jsx)("div",{className:P.ug,children:r.title}):(0,z.jsxs)(z.Fragment,{children:[r.isPartlistArticle&&(0,z.jsxs)("div",{className:l()(P.O7,P.CU),children:[(0,z.jsx)("span",{className:l()(P.IS,P.Pk),dangerouslySetInnerHTML:{__html:r.title}}),(0,z.jsx)("span",{className:l()(P.N_),children:(r.quantity&&r.quantity>1?"(x"+r.quantity+") ":"")+(!i&&r.price?y.DivaUtils.formatPrice(r.price):"")})]}),(0,z.jsxs)("div",{className:l()(P.O7,r.isPartlistArticle?P.Tf:void 0),children:[(0,z.jsxs)("span",{className:l()(P.FP,P.Pk),children:[r.isPartlistArticle&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("a",{className:P.T$,children:r.size&&""!==r.size?t("configurator.size"):r.description}),": ",r.size]}),!r.isPartlistArticle&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("a",{className:P.T$,dangerouslySetInnerHTML:{__html:r.title}}),r.description&&(0,z.jsx)("a",{dangerouslySetInnerHTML:{__html:": "+r.description}})]})]}),(0,z.jsx)("span",{className:l()(P.FP,P.N_,P.Ub,P.gr),children:r.codex})]})]})}))},9201:(n,e,i)=>{i.d(e,{CU:()=>o,FP:()=>p,IS:()=>h,N_:()=>u,O7:()=>s,Pk:()=>m,T$:()=>c,Tf:()=>d,Ub:()=>x,ZP:()=>P,gr:()=>g,ug:()=>f});var t=i(8081),l=i.n(t),r=i(23645),a=i.n(r)()(l());a.push([n.id,".index-module--hzSES {\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n font-weight: 300;\n padding-right: 0.9375rem;\n padding-left: 0.9375rem;\n display: flow-root;\n color: #404040;\n}\n.index-module--eOnGi {\n padding-top: 8px;\n}\n\n.index-module--Ct_tW {\n padding-top: 1rem;\n}\n\n.index-module--R6ETR {\n float: left;\n}\n.index-module--R6ETR a.index-module--zzZsM {\n color: var(--primaryColor);\n}\n.index-module--bn7fz {\n float: right;\n text-align: right;\n}\n\n.index-module--L3Bwd {\n color: var(--primaryColor);\n}\n.index-module--jtZpA {\n font-size: 0.8125rem;\n font-weight: normal;\n line-height: 1.1;\n}\n.index-module--FBa7e {\n max-width: 70%;\n}\n\n.index-module--HLipq {\n font-style: italic;\n}\n\n.index-module--SDlLU {\n border-bottom: 1px solid var(--primaryColor);\n font-size: 1.125rem;\n margin: 1.5rem 0 0 0;\n color: var(--primaryColor);\n padding: 0;\n text-align: left;\n text-transform: capitalize;\n font-weight: 300;\n}\n",""]);var s="index-module--hzSES",d="index-module--eOnGi",o="index-module--Ct_tW",m="index-module--R6ETR",c="index-module--zzZsM",u="index-module--bn7fz",x="index-module--L3Bwd",p="index-module--jtZpA",h="index-module--FBa7e",g="index-module--HLipq",f="index-module--SDlLU";const P=a}}]);
|
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 6334.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6334,2142,1707,4060,8692,430],{10304:(t,o,i)=>{o.Z=void 0;var r=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache();if(o&&o.has(t))return o.get(t);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var l=r?Object.getOwnPropertyDescriptor(t,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=t[a]}i.default=t,o&&o.set(t,i);return i}(i(87363)),a=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(i(65515));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return t},t}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _extends(){return _extends=Object.assign||function(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_extends.apply(this,arguments)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,r)}return i}function _defineProperty(t,o,i){return o in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}function _defineProperties(t,o){for(var i=0;i<o.length;i++){var r=o[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _setPrototypeOf(t,o){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(t,o)}var l="Select...",c=function(t){function Dropdown(t){var o;return function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Dropdown),(o=function _possibleConstructorReturn(t,o){return!o||"object"!==_typeof(o)&&"function"!=typeof o?_assertThisInitialized(t):o}(this,_getPrototypeOf(Dropdown).call(this,t))).state={selected:o.parseValue(t.value,t.options)||{label:void 0===t.placeholder?l:t.placeholder,value:""},isOpen:!1},o.dropdownRef=(0,r.createRef)(),o.mounted=!0,o.handleDocumentClick=o.handleDocumentClick.bind(_assertThisInitialized(o)),o.fireChangeEvent=o.fireChangeEvent.bind(_assertThisInitialized(o)),o}return function _inherits(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),o&&_setPrototypeOf(t,o)}(Dropdown,t),function _createClass(t,o,i){return o&&_defineProperties(t.prototype,o),i&&_defineProperties(t,i),t}(Dropdown,[{key:"componentDidUpdate",value:function componentDidUpdate(t){if(this.props.value!==t.value)if(this.props.value){var o=this.parseValue(this.props.value,this.props.options);o!==this.state.selected&&this.setState({selected:o})}else this.setState({selected:{label:void 0===this.props.placeholder?l:this.props.placeholder,value:""}})}},{key:"componentDidMount",value:function componentDidMount(){document.addEventListener("click",this.handleDocumentClick,!1),document.addEventListener("touchend",this.handleDocumentClick,!1)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.mounted=!1,document.removeEventListener("click",this.handleDocumentClick,!1),document.removeEventListener("touchend",this.handleDocumentClick,!1)}},{key:"handleMouseDown",value:function handleMouseDown(t){this.props.onFocus&&"function"==typeof this.props.onFocus&&this.props.onFocus(this.state.isOpen),"mousedown"===t.type&&0!==t.button||(t.stopPropagation(),t.preventDefault(),this.props.disabled||this.setState({isOpen:!this.state.isOpen}))}},{key:"parseValue",value:function parseValue(t,o){var i;if("string"==typeof t)for(var r=0,a=o.length;r<a;r++)if("group"===o[r].type){var l=o[r].items.filter((function(o){return o.value===t}));l.length&&(i=l[0])}else void 0!==o[r].value&&o[r].value===t&&(i=o[r]);return i||t}},{key:"setValue",value:function setValue(t,o){var i={selected:{value:t,label:o},isOpen:!1};this.fireChangeEvent(i),this.setState(i)}},{key:"fireChangeEvent",value:function fireChangeEvent(t){t.selected!==this.state.selected&&this.props.onChange&&this.props.onChange(t.selected)}},{key:"renderOption",value:function renderOption(t){var o,i=t.value;void 0===i&&(i=t.label||t);var l=t.label||t.value||t,c=i===this.state.selected.value||i===this.state.selected,u=(_defineProperty(o={},"".concat(this.props.baseClassName,"-option"),!0),_defineProperty(o,t.className,!!t.className),_defineProperty(o,"is-selected",c),o),d=(0,a.default)(u),p=Object.keys(t.data||{}).reduce((function(o,i){return function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(i,!0).forEach((function(o){_defineProperty(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(i).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))}))}return t}({},o,_defineProperty({},"data-".concat(i),t.data[i]))}),{});return r.default.createElement("div",_extends({key:i,className:d,onMouseDown:this.setValue.bind(this,i,l),onClick:this.setValue.bind(this,i,l),role:"option","aria-selected":c?"true":"false"},p),l)}},{key:"buildMenu",value:function buildMenu(){var t=this,o=this.props,i=o.options,a=o.baseClassName,l=i.map((function(o){if("group"===o.type){var i=r.default.createElement("div",{className:"".concat(a,"-title")},o.name),l=o.items.map((function(o){return t.renderOption(o)}));return r.default.createElement("div",{className:"".concat(a,"-group"),key:o.name,role:"listbox",tabIndex:"-1"},i,l)}return t.renderOption(o)}));return l.length?l:r.default.createElement("div",{className:"".concat(a,"-noresults")},"No options found")}},{key:"handleDocumentClick",value:function handleDocumentClick(t){this.mounted&&(this.dropdownRef.current.contains(t.target)||this.state.isOpen&&this.setState({isOpen:!1}))}},{key:"isValueSelected",value:function isValueSelected(){return"string"==typeof this.state.selected||""!==this.state.selected.value}},{key:"render",value:function render(){var t,o,i,l,c,u=this.props,d=u.baseClassName,p=u.controlClassName,f=u.placeholderClassName,y=u.menuClassName,b=u.arrowClassName,v=u.arrowClosed,m=u.arrowOpen,g=u.className,w=this.props.disabled?"Dropdown-disabled":"",k="string"==typeof this.state.selected?this.state.selected:this.state.selected.label,O=(0,a.default)((_defineProperty(t={},"".concat(d,"-root"),!0),_defineProperty(t,g,!!g),_defineProperty(t,"is-open",this.state.isOpen),t)),P=(0,a.default)((_defineProperty(o={},"".concat(d,"-control"),!0),_defineProperty(o,p,!!p),_defineProperty(o,w,!!w),o)),C=(0,a.default)((_defineProperty(i={},"".concat(d,"-placeholder"),!0),_defineProperty(i,f,!!f),_defineProperty(i,"is-selected",this.isValueSelected()),i)),_=(0,a.default)((_defineProperty(l={},"".concat(d,"-menu"),!0),_defineProperty(l,y,!!y),l)),x=(0,a.default)((_defineProperty(c={},"".concat(d,"-arrow"),!0),_defineProperty(c,b,!!b),c)),S=r.default.createElement("div",{className:C},k),D=this.state.isOpen?r.default.createElement("div",{className:_,"aria-expanded":"true"},this.buildMenu()):null;return r.default.createElement("div",{ref:this.dropdownRef,className:O},r.default.createElement("div",{className:P,onMouseDown:this.handleMouseDown.bind(this),onTouchEnd:this.handleMouseDown.bind(this),"aria-haspopup":"listbox"},S,r.default.createElement("div",{className:"".concat(d,"-arrow-wrapper")},m&&v?this.state.isOpen?m:v:r.default.createElement("span",{className:x}))),D)}}]),Dropdown}(r.Component);c.defaultProps={baseClassName:"Dropdown"};var u=c;o.Z=u},48930:(t,o,i)=>{i.r(o),i.d(o,{default:()=>E});var r=i(80248),a=i(72874),l=i(87363),c=i(91923),u=i(9420),d=i(63793),p=i(19715),f=i(93379),y=i.n(f),b=i(7795),v=i.n(b),m=i(90569),g=i.n(m),w=i(3565),k=i.n(w),O=i(19216),P=i.n(O),C=i(44589),_=i.n(C),x=i(23522),S={};S.styleTagTransform=_(),S.setAttributes=k(),S.insert=g().bind(null,"head"),S.domAPI=v(),S.insertStyleElement=P();y()(x.Z,S);x.Z&&x.Z.locals&&x.Z.locals;var D=i(78485),j=i(47514),M=["contentItemStartPos"];function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,r)}return i}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){(0,r.Z)(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))}))}return t}const E=(0,u.Pi)((function Product(t){var o,i=t.contentItemStartPos,r=(0,a.Z)(t,M),u=(0,c.NP)(),f=(0,l.useRef)(null),y=function onClick(){if(f.current){var t=f.current.getBoundingClientRect().height;f.current.scrollTop>100&&(t=0),f.current.scrollTo({top:t,behavior:"smooth"})}};return(0,l.useEffect)((function(){f&&u.productState.setProductElement(f.current)}),[f]),(0,l.useEffect)((function(){var t;!u.uiState.isLoading&&null!==(t=u.configState.paramters)&&void 0!==t&&t.checkout&&y()}),[null===(o=u.configState.paramters)||void 0===o?void 0:o.checkout,u.uiState.isLoading]),(0,j.jsxs)("div",_objectSpread(_objectSpread({ref:f},r),{},{children:[!u.uiState.isLoading&&(0,j.jsx)("div",{className:x.x,onClick:y}),(0,j.jsx)(p.default,{style:{height:"calc(100% - 40px)",width:"calc(100% - 40px)",top:0,margin:"20px"}}),!u.uiState.isLoading&&void 0!==u.divaWebPlanner.getBasket()&&(0,j.jsx)(d.default,{}),u.settingsState.contentItemVisible&&u.settingsState.contentItemId&&(0,j.jsx)(D.default,{id:u.settingsState.contentItemId,startPos:i})]}))}))},32142:(t,o,i)=>{i.r(o),i.d(o,{default:()=>_});var r=i(65515),a=i.n(r),l=(i(87363),i(68692)),c=i(93379),u=i.n(c),d=i(7795),p=i.n(d),f=i(90569),y=i.n(f),b=i(3565),v=i.n(b),m=i(19216),g=i.n(m),w=i(44589),k=i.n(w),O=i(75581),P={};P.styleTagTransform=k(),P.setAttributes=v(),P.insert=y().bind(null,"head"),P.domAPI=p(),P.insertStyleElement=g();u()(O.ZP,P);O.ZP&&O.ZP.locals&&O.ZP.locals;var C=i(47514);const _=function Toggle(t){var o,i=t.onChange,r=t.val,c=t.state,u=t.on,d=t.off,p=t.alwaysActiveColor,f=t.height,y=void 0===f?40:f,b=t.width,v=void 0===b?80:b,m=t.handleDiameter,g=void 0===m?32:m,w=null===(o=getComputedStyle(document.documentElement).getPropertyValue("--primaryColor"))||void 0===o?void 0:o.replace(/ /g,"");return(0,C.jsx)(l.Z,{checkedIcon:u?(0,C.jsx)("div",{className:a()(O.f6,O.co),children:u}):(0,C.jsx)(C.Fragment,{}),uncheckedIcon:d?(0,C.jsx)("div",{className:a()(O.f6,O.no),children:d}):(0,C.jsx)(C.Fragment,{}),onChange:function onChange(){return i(null!=r?r:!c)},checked:c,onColor:w,offColor:p?w:"#CACACA",height:y,width:v,handleDiameter:g})}},23522:(t,o,i)=>{i.d(o,{Z:()=>v,x:()=>b});var r=i(8081),a=i.n(r),l=i(23645),c=i.n(l),u=i(61667),d=i.n(u),p=new URL(i(66993),i.b),f=c()(a()),y=d()(p);f.push([t.id,".index-module--IAoMi {\n bottom: 40px;\n right: 8px;\n position: absolute;\n width: 70px;\n height: 55px;\n transform: rotate(90deg);\n background-image: url("+y+");\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n z-index: 300;\n}\n",""]);var b="index-module--IAoMi";const v=f},75581:(t,o,i)=>{i.d(o,{ZP:()=>f,co:()=>d,f6:()=>u,no:()=>p});var r=i(8081),a=i.n(r),l=i(23645),c=i.n(l)()(a());c.push([t.id,".index-module--lgscn {\n display: flex;\n font-weight: 300;\n line-height: 40px;\n gap: 24px;\n}\n\n.index-module--D7_Ss {\n padding-left: 16px;\n color: white;\n line-height: 40px;\n font-weight: 300;\n}\n\n.index-module--ciLne {\n padding-left: 16px;\n}\n\n.index-module--W1TLd {\n padding-left: 4px;\n}\n",""]);var u="index-module--D7_Ss",d="index-module--ciLne",p="index-module--W1TLd";const f=c},14060:t=>{t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNiAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjcyOSAxLjI1TDguMzAwNDMgOS4yNUwxLjIyOSAxLjI1IiBzdHJva2U9IiM2RjZGNkYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K"},68692:(t,o,i)=>{i.d(o,{Z:()=>c});var r=i(87363);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},s.apply(this,arguments)}var a=r.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},r.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),l=r.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},r.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function h(t){if(7===t.length)return t;for(var o="#",i=1;i<4;i+=1)o+=t[i]+t[i];return o}function e(t,o,i,r,a){return function(t,o,i,r,a){var l=(t-i)/(o-i);if(0===l)return r;if(1===l)return a;for(var c="#",u=1;u<6;u+=2){var d=parseInt(r.substr(u,2),16),p=parseInt(a.substr(u,2),16),f=Math.round((1-l)*d+l*p).toString(16);1===f.length&&(f="0"+f),c+=f}return c}(t,o,i,h(r),h(a))}var c=function(t){function n(o){t.call(this,o);var i=o.height,r=o.width,a=o.checked;this.t=o.handleDiameter||i-2,this.i=Math.max(r-i,r-(i+this.t)/2),this.o=Math.max(0,(i-this.t)/2),this.state={h:a?this.i:this.o},this.l=0,this.u=0,this.p=this.p.bind(this),this.v=this.v.bind(this),this.k=this.k.bind(this),this.m=this.m.bind(this),this.M=this.M.bind(this),this.T=this.T.bind(this),this.$=this.$.bind(this),this.C=this.C.bind(this),this.D=this.D.bind(this),this.O=this.O.bind(this),this.S=this.S.bind(this),this.W=this.W.bind(this)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.componentDidMount=function(){this.I=!0},n.prototype.componentDidUpdate=function(t){t.checked!==this.props.checked&&this.setState({h:this.props.checked?this.i:this.o})},n.prototype.componentWillUnmount=function(){this.I=!1},n.prototype.H=function(t){this.R.focus(),this.setState({j:t,B:!0,L:Date.now()})},n.prototype.N=function(t){var o=this.state,i=o.j,r=o.h,a=(this.props.checked?this.i:this.o)+t-i;o.U||t===i||this.setState({U:!0});var l=Math.min(this.i,Math.max(this.o,a));l!==r&&this.setState({h:l})},n.prototype.A=function(t){var o=this.state,i=o.h,r=o.U,a=o.L,l=this.props.checked,c=(this.i+this.o)/2;this.setState({h:this.props.checked?this.i:this.o});var u=Date.now()-a;(!r||u<250||l&&i<=c||!l&&i>=c)&&this.X(t),this.I&&this.setState({U:!1,B:!1}),this.l=Date.now()},n.prototype.p=function(t){t.preventDefault(),"number"==typeof t.button&&0!==t.button||(this.H(t.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.k))},n.prototype.v=function(t){t.preventDefault(),this.N(t.clientX)},n.prototype.k=function(t){this.A(t),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.k)},n.prototype.m=function(t){this.F=null,this.H(t.touches[0].clientX)},n.prototype.M=function(t){this.N(t.touches[0].clientX)},n.prototype.T=function(t){t.preventDefault(),this.A(t)},n.prototype.C=function(t){Date.now()-this.l>50&&(this.X(t),Date.now()-this.u>50&&this.I&&this.setState({B:!1}))},n.prototype.D=function(){this.u=Date.now()},n.prototype.O=function(){this.setState({B:!0})},n.prototype.S=function(){this.setState({B:!1})},n.prototype.W=function(t){this.R=t},n.prototype.$=function(t){t.preventDefault(),this.R.focus(),this.X(t),this.I&&this.setState({B:!1})},n.prototype.X=function(t){var o=this.props;(0,o.onChange)(!o.checked,t,o.id)},n.prototype.render=function(){var t=this.props,o=t.checked,i=t.disabled,a=t.className,l=t.offColor,c=t.onColor,u=t.offHandleColor,d=t.onHandleColor,p=t.checkedIcon,f=t.uncheckedIcon,y=t.checkedHandleIcon,b=t.uncheckedHandleIcon,v=t.boxShadow,m=t.activeBoxShadow,g=t.height,w=t.width,k=t.borderRadius,O=function(t,o){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&-1===o.indexOf(r)&&(i[r]=t[r]);return i}(t,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),P=this.state,C=P.h,_=P.U,x=P.B,S={position:"relative",display:"inline-block",textAlign:"left",opacity:i?.5:1,direction:"ltr",borderRadius:g/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},D={height:g,width:w,margin:Math.max(0,(this.t-g)/2),position:"relative",background:e(C,this.i,this.o,l,c),borderRadius:"number"==typeof k?k:g/2,cursor:i?"default":"pointer",WebkitTransition:_?null:"background 0.25s",MozTransition:_?null:"background 0.25s",transition:_?null:"background 0.25s"},j={height:g,width:Math.min(1.5*g,w-(this.t+g)/2+1),position:"relative",opacity:(C-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"},M={height:g,width:Math.min(1.5*g,w-(this.t+g)/2+1),position:"absolute",opacity:1-(C-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"},E={height:this.t,width:this.t,background:e(C,this.i,this.o,u,d),display:"inline-block",cursor:i?"default":"pointer",borderRadius:"number"==typeof k?k-1:"50%",position:"absolute",transform:"translateX("+C+"px)",top:Math.max(0,(g-this.t)/2),outline:0,boxShadow:x?m:v,border:0,WebkitTransition:_?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:_?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:_?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},I={height:this.t,width:this.t,opacity:Math.max(2*(1-(C-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"},T={height:this.t,width:this.t,opacity:Math.max(2*((C-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"};return r.createElement("div",{className:a,style:S},r.createElement("div",{className:"react-switch-bg",style:D,onClick:i?null:this.$,onMouseDown:function(t){return t.preventDefault()}},p&&r.createElement("div",{style:j},p),f&&r.createElement("div",{style:M},f)),r.createElement("div",{className:"react-switch-handle",style:E,onClick:function(t){return t.preventDefault()},onMouseDown:i?null:this.p,onTouchStart:i?null:this.m,onTouchMove:i?null:this.M,onTouchEnd:i?null:this.T,onTouchCancel:i?null:this.S},b&&r.createElement("div",{style:I},b),y&&r.createElement("div",{style:T},y)),r.createElement("input",s({},{type:"checkbox",role:"switch","aria-checked":o,checked:o,disabled:i,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},O,{ref:this.W,onFocus:this.O,onBlur:this.S,onKeyUp:this.D,onChange:this.C})))},n}(r.Component);c.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:a,checkedIcon:l,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56}}}]);
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6334,2142,1707,4060,8692,430],{10304:(t,o,i)=>{o.Z=void 0;var r=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;if(null===t||"object"!==_typeof(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache();if(o&&o.has(t))return o.get(t);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var l=r?Object.getOwnPropertyDescriptor(t,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=t[a]}i.default=t,o&&o.set(t,i);return i}(i(87363)),a=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(i(65515));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return t},t}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _extends(){return _extends=Object.assign||function(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_extends.apply(this,arguments)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,r)}return i}function _defineProperty(t,o,i){return o in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}function _defineProperties(t,o){for(var i=0;i<o.length;i++){var r=o[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _setPrototypeOf(t,o){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(t,o)}var l="Select...",c=function(t){function Dropdown(t){var o;return function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Dropdown),(o=function _possibleConstructorReturn(t,o){return!o||"object"!==_typeof(o)&&"function"!=typeof o?_assertThisInitialized(t):o}(this,_getPrototypeOf(Dropdown).call(this,t))).state={selected:o.parseValue(t.value,t.options)||{label:void 0===t.placeholder?l:t.placeholder,value:""},isOpen:!1},o.dropdownRef=(0,r.createRef)(),o.mounted=!0,o.handleDocumentClick=o.handleDocumentClick.bind(_assertThisInitialized(o)),o.fireChangeEvent=o.fireChangeEvent.bind(_assertThisInitialized(o)),o}return function _inherits(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),o&&_setPrototypeOf(t,o)}(Dropdown,t),function _createClass(t,o,i){return o&&_defineProperties(t.prototype,o),i&&_defineProperties(t,i),t}(Dropdown,[{key:"componentDidUpdate",value:function componentDidUpdate(t){if(this.props.value!==t.value)if(this.props.value){var o=this.parseValue(this.props.value,this.props.options);o!==this.state.selected&&this.setState({selected:o})}else this.setState({selected:{label:void 0===this.props.placeholder?l:this.props.placeholder,value:""}})}},{key:"componentDidMount",value:function componentDidMount(){document.addEventListener("click",this.handleDocumentClick,!1),document.addEventListener("touchend",this.handleDocumentClick,!1)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.mounted=!1,document.removeEventListener("click",this.handleDocumentClick,!1),document.removeEventListener("touchend",this.handleDocumentClick,!1)}},{key:"handleMouseDown",value:function handleMouseDown(t){this.props.onFocus&&"function"==typeof this.props.onFocus&&this.props.onFocus(this.state.isOpen),"mousedown"===t.type&&0!==t.button||(t.stopPropagation(),t.preventDefault(),this.props.disabled||this.setState({isOpen:!this.state.isOpen}))}},{key:"parseValue",value:function parseValue(t,o){var i;if("string"==typeof t)for(var r=0,a=o.length;r<a;r++)if("group"===o[r].type){var l=o[r].items.filter((function(o){return o.value===t}));l.length&&(i=l[0])}else void 0!==o[r].value&&o[r].value===t&&(i=o[r]);return i||t}},{key:"setValue",value:function setValue(t,o){var i={selected:{value:t,label:o},isOpen:!1};this.fireChangeEvent(i),this.setState(i)}},{key:"fireChangeEvent",value:function fireChangeEvent(t){t.selected!==this.state.selected&&this.props.onChange&&this.props.onChange(t.selected)}},{key:"renderOption",value:function renderOption(t){var o,i=t.value;void 0===i&&(i=t.label||t);var l=t.label||t.value||t,c=i===this.state.selected.value||i===this.state.selected,u=(_defineProperty(o={},"".concat(this.props.baseClassName,"-option"),!0),_defineProperty(o,t.className,!!t.className),_defineProperty(o,"is-selected",c),o),d=(0,a.default)(u),p=Object.keys(t.data||{}).reduce((function(o,i){return function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(i,!0).forEach((function(o){_defineProperty(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(i).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))}))}return t}({},o,_defineProperty({},"data-".concat(i),t.data[i]))}),{});return r.default.createElement("div",_extends({key:i,className:d,onMouseDown:this.setValue.bind(this,i,l),onClick:this.setValue.bind(this,i,l),role:"option","aria-selected":c?"true":"false"},p),l)}},{key:"buildMenu",value:function buildMenu(){var t=this,o=this.props,i=o.options,a=o.baseClassName,l=i.map((function(o){if("group"===o.type){var i=r.default.createElement("div",{className:"".concat(a,"-title")},o.name),l=o.items.map((function(o){return t.renderOption(o)}));return r.default.createElement("div",{className:"".concat(a,"-group"),key:o.name,role:"listbox",tabIndex:"-1"},i,l)}return t.renderOption(o)}));return l.length?l:r.default.createElement("div",{className:"".concat(a,"-noresults")},"No options found")}},{key:"handleDocumentClick",value:function handleDocumentClick(t){this.mounted&&(this.dropdownRef.current.contains(t.target)||this.state.isOpen&&this.setState({isOpen:!1}))}},{key:"isValueSelected",value:function isValueSelected(){return"string"==typeof this.state.selected||""!==this.state.selected.value}},{key:"render",value:function render(){var t,o,i,l,c,u=this.props,d=u.baseClassName,p=u.controlClassName,f=u.placeholderClassName,y=u.menuClassName,b=u.arrowClassName,v=u.arrowClosed,m=u.arrowOpen,g=u.className,w=this.props.disabled?"Dropdown-disabled":"",k="string"==typeof this.state.selected?this.state.selected:this.state.selected.label,O=(0,a.default)((_defineProperty(t={},"".concat(d,"-root"),!0),_defineProperty(t,g,!!g),_defineProperty(t,"is-open",this.state.isOpen),t)),P=(0,a.default)((_defineProperty(o={},"".concat(d,"-control"),!0),_defineProperty(o,p,!!p),_defineProperty(o,w,!!w),o)),C=(0,a.default)((_defineProperty(i={},"".concat(d,"-placeholder"),!0),_defineProperty(i,f,!!f),_defineProperty(i,"is-selected",this.isValueSelected()),i)),_=(0,a.default)((_defineProperty(l={},"".concat(d,"-menu"),!0),_defineProperty(l,y,!!y),l)),x=(0,a.default)((_defineProperty(c={},"".concat(d,"-arrow"),!0),_defineProperty(c,b,!!b),c)),S=r.default.createElement("div",{className:C},k),D=this.state.isOpen?r.default.createElement("div",{className:_,"aria-expanded":"true"},this.buildMenu()):null;return r.default.createElement("div",{ref:this.dropdownRef,className:O},r.default.createElement("div",{className:P,onMouseDown:this.handleMouseDown.bind(this),onTouchEnd:this.handleMouseDown.bind(this),"aria-haspopup":"listbox"},S,r.default.createElement("div",{className:"".concat(d,"-arrow-wrapper")},m&&v?this.state.isOpen?m:v:r.default.createElement("span",{className:x}))),D)}}]),Dropdown}(r.Component);c.defaultProps={baseClassName:"Dropdown"};var u=c;o.Z=u},48930:(t,o,i)=>{i.r(o),i.d(o,{default:()=>E});var r=i(80248),a=i(72874),l=i(87363),c=i(91923),u=i(9420),d=i(63793),p=i(19715),f=i(93379),y=i.n(f),b=i(7795),v=i.n(b),m=i(90569),g=i.n(m),w=i(3565),k=i.n(w),O=i(19216),P=i.n(O),C=i(44589),_=i.n(C),x=i(23522),S={};S.styleTagTransform=_(),S.setAttributes=k(),S.insert=g().bind(null,"head"),S.domAPI=v(),S.insertStyleElement=P();y()(x.Z,S);x.Z&&x.Z.locals&&x.Z.locals;var D=i(48545),j=i(47514),M=["contentItemStartPos"];function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,r)}return i}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){(0,r.Z)(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))}))}return t}const E=(0,u.Pi)((function Product(t){var o,i=t.contentItemStartPos,r=(0,a.Z)(t,M),u=(0,c.NP)(),f=(0,l.useRef)(null),y=function onClick(){if(f.current){var t=f.current.getBoundingClientRect().height;f.current.scrollTop>100&&(t=0),f.current.scrollTo({top:t,behavior:"smooth"})}};return(0,l.useEffect)((function(){f&&u.productState.setProductElement(f.current)}),[f]),(0,l.useEffect)((function(){var t;!u.uiState.isLoading&&null!==(t=u.configState.paramters)&&void 0!==t&&t.checkout&&y()}),[null===(o=u.configState.paramters)||void 0===o?void 0:o.checkout,u.uiState.isLoading]),(0,j.jsxs)("div",_objectSpread(_objectSpread({ref:f},r),{},{children:[!u.uiState.isLoading&&(0,j.jsx)("div",{className:x.x,onClick:y}),(0,j.jsx)(p.default,{style:{height:"calc(100% - 40px)",width:"calc(100% - 40px)",top:0,margin:"20px"}}),!u.uiState.isLoading&&void 0!==u.divaWebPlanner.getBasket()&&(0,j.jsx)(d.default,{}),u.settingsState.contentItemVisible&&u.settingsState.contentItemId&&(0,j.jsx)(D.default,{id:u.settingsState.contentItemId,startPos:i})]}))}))},32142:(t,o,i)=>{i.r(o),i.d(o,{default:()=>_});var r=i(65515),a=i.n(r),l=(i(87363),i(68692)),c=i(93379),u=i.n(c),d=i(7795),p=i.n(d),f=i(90569),y=i.n(f),b=i(3565),v=i.n(b),m=i(19216),g=i.n(m),w=i(44589),k=i.n(w),O=i(75581),P={};P.styleTagTransform=k(),P.setAttributes=v(),P.insert=y().bind(null,"head"),P.domAPI=p(),P.insertStyleElement=g();u()(O.ZP,P);O.ZP&&O.ZP.locals&&O.ZP.locals;var C=i(47514);const _=function Toggle(t){var o,i=t.onChange,r=t.val,c=t.state,u=t.on,d=t.off,p=t.alwaysActiveColor,f=t.height,y=void 0===f?40:f,b=t.width,v=void 0===b?80:b,m=t.handleDiameter,g=void 0===m?32:m,w=null===(o=getComputedStyle(document.documentElement).getPropertyValue("--primaryColor"))||void 0===o?void 0:o.replace(/ /g,"");return(0,C.jsx)(l.Z,{checkedIcon:u?(0,C.jsx)("div",{className:a()(O.f6,O.co),children:u}):(0,C.jsx)(C.Fragment,{}),uncheckedIcon:d?(0,C.jsx)("div",{className:a()(O.f6,O.no),children:d}):(0,C.jsx)(C.Fragment,{}),onChange:function onChange(){return i(null!=r?r:!c)},checked:c,onColor:w,offColor:p?w:"#CACACA",height:y,width:v,handleDiameter:g})}},23522:(t,o,i)=>{i.d(o,{Z:()=>v,x:()=>b});var r=i(8081),a=i.n(r),l=i(23645),c=i.n(l),u=i(61667),d=i.n(u),p=new URL(i(66993),i.b),f=c()(a()),y=d()(p);f.push([t.id,".index-module--IAoMi {\n bottom: 40px;\n right: 8px;\n position: absolute;\n width: 70px;\n height: 55px;\n transform: rotate(90deg);\n background-image: url("+y+");\n background-repeat: no-repeat;\n background-position: center center;\n background-size: contain;\n z-index: 300;\n}\n",""]);var b="index-module--IAoMi";const v=f},75581:(t,o,i)=>{i.d(o,{ZP:()=>f,co:()=>d,f6:()=>u,no:()=>p});var r=i(8081),a=i.n(r),l=i(23645),c=i.n(l)()(a());c.push([t.id,".index-module--lgscn {\n display: flex;\n font-weight: 300;\n line-height: 40px;\n gap: 24px;\n}\n\n.index-module--D7_Ss {\n padding-left: 16px;\n color: white;\n line-height: 40px;\n font-weight: 300;\n}\n\n.index-module--ciLne {\n padding-left: 16px;\n}\n\n.index-module--W1TLd {\n padding-left: 4px;\n}\n",""]);var u="index-module--D7_Ss",d="index-module--ciLne",p="index-module--W1TLd";const f=c},14060:t=>{t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNiAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjcyOSAxLjI1TDguMzAwNDMgOS4yNUwxLjIyOSAxLjI1IiBzdHJva2U9IiM2RjZGNkYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K"},68692:(t,o,i)=>{i.d(o,{Z:()=>c});var r=i(87363);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},s.apply(this,arguments)}var a=r.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},r.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),l=r.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},r.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function h(t){if(7===t.length)return t;for(var o="#",i=1;i<4;i+=1)o+=t[i]+t[i];return o}function e(t,o,i,r,a){return function(t,o,i,r,a){var l=(t-i)/(o-i);if(0===l)return r;if(1===l)return a;for(var c="#",u=1;u<6;u+=2){var d=parseInt(r.substr(u,2),16),p=parseInt(a.substr(u,2),16),f=Math.round((1-l)*d+l*p).toString(16);1===f.length&&(f="0"+f),c+=f}return c}(t,o,i,h(r),h(a))}var c=function(t){function n(o){t.call(this,o);var i=o.height,r=o.width,a=o.checked;this.t=o.handleDiameter||i-2,this.i=Math.max(r-i,r-(i+this.t)/2),this.o=Math.max(0,(i-this.t)/2),this.state={h:a?this.i:this.o},this.l=0,this.u=0,this.p=this.p.bind(this),this.v=this.v.bind(this),this.k=this.k.bind(this),this.m=this.m.bind(this),this.M=this.M.bind(this),this.T=this.T.bind(this),this.$=this.$.bind(this),this.C=this.C.bind(this),this.D=this.D.bind(this),this.O=this.O.bind(this),this.S=this.S.bind(this),this.W=this.W.bind(this)}return t&&(n.__proto__=t),(n.prototype=Object.create(t&&t.prototype)).constructor=n,n.prototype.componentDidMount=function(){this.I=!0},n.prototype.componentDidUpdate=function(t){t.checked!==this.props.checked&&this.setState({h:this.props.checked?this.i:this.o})},n.prototype.componentWillUnmount=function(){this.I=!1},n.prototype.H=function(t){this.R.focus(),this.setState({j:t,B:!0,L:Date.now()})},n.prototype.N=function(t){var o=this.state,i=o.j,r=o.h,a=(this.props.checked?this.i:this.o)+t-i;o.U||t===i||this.setState({U:!0});var l=Math.min(this.i,Math.max(this.o,a));l!==r&&this.setState({h:l})},n.prototype.A=function(t){var o=this.state,i=o.h,r=o.U,a=o.L,l=this.props.checked,c=(this.i+this.o)/2;this.setState({h:this.props.checked?this.i:this.o});var u=Date.now()-a;(!r||u<250||l&&i<=c||!l&&i>=c)&&this.X(t),this.I&&this.setState({U:!1,B:!1}),this.l=Date.now()},n.prototype.p=function(t){t.preventDefault(),"number"==typeof t.button&&0!==t.button||(this.H(t.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.k))},n.prototype.v=function(t){t.preventDefault(),this.N(t.clientX)},n.prototype.k=function(t){this.A(t),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.k)},n.prototype.m=function(t){this.F=null,this.H(t.touches[0].clientX)},n.prototype.M=function(t){this.N(t.touches[0].clientX)},n.prototype.T=function(t){t.preventDefault(),this.A(t)},n.prototype.C=function(t){Date.now()-this.l>50&&(this.X(t),Date.now()-this.u>50&&this.I&&this.setState({B:!1}))},n.prototype.D=function(){this.u=Date.now()},n.prototype.O=function(){this.setState({B:!0})},n.prototype.S=function(){this.setState({B:!1})},n.prototype.W=function(t){this.R=t},n.prototype.$=function(t){t.preventDefault(),this.R.focus(),this.X(t),this.I&&this.setState({B:!1})},n.prototype.X=function(t){var o=this.props;(0,o.onChange)(!o.checked,t,o.id)},n.prototype.render=function(){var t=this.props,o=t.checked,i=t.disabled,a=t.className,l=t.offColor,c=t.onColor,u=t.offHandleColor,d=t.onHandleColor,p=t.checkedIcon,f=t.uncheckedIcon,y=t.checkedHandleIcon,b=t.uncheckedHandleIcon,v=t.boxShadow,m=t.activeBoxShadow,g=t.height,w=t.width,k=t.borderRadius,O=function(t,o){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&-1===o.indexOf(r)&&(i[r]=t[r]);return i}(t,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),P=this.state,C=P.h,_=P.U,x=P.B,S={position:"relative",display:"inline-block",textAlign:"left",opacity:i?.5:1,direction:"ltr",borderRadius:g/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},D={height:g,width:w,margin:Math.max(0,(this.t-g)/2),position:"relative",background:e(C,this.i,this.o,l,c),borderRadius:"number"==typeof k?k:g/2,cursor:i?"default":"pointer",WebkitTransition:_?null:"background 0.25s",MozTransition:_?null:"background 0.25s",transition:_?null:"background 0.25s"},j={height:g,width:Math.min(1.5*g,w-(this.t+g)/2+1),position:"relative",opacity:(C-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"},M={height:g,width:Math.min(1.5*g,w-(this.t+g)/2+1),position:"absolute",opacity:1-(C-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"},E={height:this.t,width:this.t,background:e(C,this.i,this.o,u,d),display:"inline-block",cursor:i?"default":"pointer",borderRadius:"number"==typeof k?k-1:"50%",position:"absolute",transform:"translateX("+C+"px)",top:Math.max(0,(g-this.t)/2),outline:0,boxShadow:x?m:v,border:0,WebkitTransition:_?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:_?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:_?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},I={height:this.t,width:this.t,opacity:Math.max(2*(1-(C-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"},T={height:this.t,width:this.t,opacity:Math.max(2*((C-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:_?null:"opacity 0.25s",MozTransition:_?null:"opacity 0.25s",transition:_?null:"opacity 0.25s"};return r.createElement("div",{className:a,style:S},r.createElement("div",{className:"react-switch-bg",style:D,onClick:i?null:this.$,onMouseDown:function(t){return t.preventDefault()}},p&&r.createElement("div",{style:j},p),f&&r.createElement("div",{style:M},f)),r.createElement("div",{className:"react-switch-handle",style:E,onClick:function(t){return t.preventDefault()},onMouseDown:i?null:this.p,onTouchStart:i?null:this.m,onTouchMove:i?null:this.M,onTouchEnd:i?null:this.T,onTouchCancel:i?null:this.S},b&&r.createElement("div",{style:I},b),y&&r.createElement("div",{style:T},y)),r.createElement("input",s({},{type:"checkbox",role:"switch","aria-checked":o,checked:o,disabled:i,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},O,{ref:this.W,onFocus:this.O,onBlur:this.S,onKeyUp:this.D,onChange:this.C})))},n}(r.Component);c.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:a,checkedIcon:l,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56}}}]);
|
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 658.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[658,3222,8291],{59165:(e,n,t)=>{t.d(n,{_l:()=>l,gc:()=>JsonView});var o=t(87363);const isDate=e=>!!e&&e instanceof Date;function quoteString(e,n){return void 0===n&&(n=!1),!e||n?`"${e}"`:e}function ExpandableObject(e){let{field:n,value:t,data:i,lastElement:r,openBracket:l,closeBracket:a,level:s,style:d,shouldExpandNode:c,clickToExpandNode:u,outerRef:p}=e;const x=(0,o.useRef)(!1),[m,g,f]=function useBool(e){const[n,t]=(0,o.useState)(e());return[n,()=>t((e=>!e)),t]}((()=>c(s,t,n))),h=(0,o.useRef)(null);(0,o.useEffect)((()=>{x.current?f(c(s,t,n)):x.current=!0}),[c]);const b=m?d.collapseIcon:d.expandIcon,N=m?"collapse JSON":"expand JSON",j=(0,o.useId)(),v=s+1,y=i.length-1,onKeyDown=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),f("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const n="ArrowUp"===e.key?-1:1;if(!p.current)return;const t=p.current.querySelectorAll("[role=button]");let o=-1;for(let e=0;e<t.length;e++)if(0===t[e].tabIndex){o=e;break}if(o<0)return;const i=(o+n+t.length)%t.length;t[o].tabIndex=-1,t[i].tabIndex=0,t[i].focus()}},onClick=()=>{var e;g();const n=h.current;if(!n)return;const t=null===(e=p.current)||void 0===e?void 0:e.querySelector('[role=button][tabindex="0"]');t&&(t.tabIndex=-1),n.tabIndex=0,n.focus()};return(0,o.createElement)("div",{className:d.basicChildStyle,role:"treeitem","aria-expanded":m,"aria-selected":void 0},(0,o.createElement)("span",{className:b,onClick,onKeyDown,role:"button","aria-label":N,"aria-expanded":m,"aria-controls":m?j:void 0,ref:h,tabIndex:0===s?0:-1}),(n||""===n)&&(u?(0,o.createElement)("span",{className:d.clickableLabel,onClick,onKeyDown},quoteString(n,d.quotesForFieldNames),":"):(0,o.createElement)("span",{className:d.label},quoteString(n,d.quotesForFieldNames),":")),(0,o.createElement)("span",{className:d.punctuation},l),m?(0,o.createElement)("ul",{id:j,role:"group"},i.map(((e,n)=>(0,o.createElement)(DataRender,{key:e[0]||n,field:e[0],value:e[1],style:d,lastElement:n===y,level:v,shouldExpandNode:c,clickToExpandNode:u,outerRef:p})))):(0,o.createElement)("span",{className:d.collapsedContent,onClick,onKeyDown}),(0,o.createElement)("span",{className:d.punctuation},a),!r&&(0,o.createElement)("span",{className:d.punctuation},","))}function EmptyObject(e){let{field:n,openBracket:t,closeBracket:i,lastElement:r,style:l}=e;return(0,o.createElement)("div",{className:l.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,o.createElement)("span",{className:l.label},quoteString(n,l.quotesForFieldNames),":"),(0,o.createElement)("span",{className:l.punctuation},t),(0,o.createElement)("span",{className:l.punctuation},i),!r&&(0,o.createElement)("span",{className:l.punctuation},","))}function JsonObject(e){let{field:n,value:t,style:o,lastElement:i,shouldExpandNode:r,clickToExpandNode:l,level:a,outerRef:s}=e;return 0===Object.keys(t).length?EmptyObject({field:n,openBracket:"{",closeBracket:"}",lastElement:i,style:o}):ExpandableObject({field:n,value:t,lastElement:i||!1,level:a,openBracket:"{",closeBracket:"}",style:o,shouldExpandNode:r,clickToExpandNode:l,data:Object.keys(t).map((e=>[e,t[e]])),outerRef:s})}function JsonArray(e){let{field:n,value:t,style:o,lastElement:i,level:r,shouldExpandNode:l,clickToExpandNode:a,outerRef:s}=e;return 0===t.length?EmptyObject({field:n,openBracket:"[",closeBracket:"]",lastElement:i,style:o}):ExpandableObject({field:n,value:t,lastElement:i||!1,level:r,openBracket:"[",closeBracket:"]",style:o,shouldExpandNode:l,clickToExpandNode:a,data:t.map((e=>[void 0,e])),outerRef:s})}function JsonPrimitiveValue(e){let n,{field:t,value:i,style:r,lastElement:l}=e,a=r.otherValue;var s;return null===i?(n="null",a=r.nullValue):void 0===i?(n="undefined",a=r.undefinedValue):"string"==typeof(s=i)||s instanceof String?(n=quoteString(i,!r.noQuotesForStringValues),a=r.stringValue):(e=>"boolean"==typeof e||e instanceof Boolean)(i)?(n=i?"true":"false",a=r.booleanValue):(e=>"number"==typeof e||e instanceof Number)(i)?(n=i.toString(),a=r.numberValue):(e=>"bigint"==typeof e||e instanceof BigInt)(i)?(n=`${i.toString()}n`,a=r.numberValue):n=isDate(i)?i.toISOString():i.toString(),(0,o.createElement)("div",{className:r.basicChildStyle,role:"treeitem","aria-selected":void 0},(t||""===t)&&(0,o.createElement)("span",{className:r.label},quoteString(t,r.quotesForFieldNames),":"),(0,o.createElement)("span",{className:a},n),!l&&(0,o.createElement)("span",{className:r.punctuation},","))}function DataRender(e){const n=e.value;return t=n,Array.isArray(t)?(0,o.createElement)(JsonArray,Object.assign({},e)):(e=>e instanceof Object&&null!==e)(n)&&!isDate(n)?(0,o.createElement)(JsonObject,Object.assign({},e)):(0,o.createElement)(JsonPrimitiveValue,Object.assign({},e));var t}var i="_2bkNM";const r={container:"_2IvMF _GzYRV",basicChildStyle:i,label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},l={container:"_11RoI _GzYRV",basicChildStyle:i,label:"_2bSDX",clickableLabel:"_1RQEj _2bSDX _1MFti",nullValue:"_LaAZe",undefinedValue:"_GTKgm",stringValue:"_Chy1W",booleanValue:"_2vRm-",numberValue:"_2bveF",otherValue:"_1prJR",punctuation:"_gsbQL _3eOF8",collapseIcon:"_3QHg2 _f10Tu _1MFti _1LId0",expandIcon:"_17H2C _f10Tu _1MFti _1UmXx",collapsedContent:"_3fDAz _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},allExpanded=()=>!0,JsonView=e=>{let{data:n,style:t=r,shouldExpandNode:i=allExpanded,clickToExpandNode:l=!1,...a}=e;const s=(0,o.useRef)(null);return(0,o.createElement)("div",Object.assign({"aria-label":"JSON view"},a,{className:t.container,ref:s,role:"tree"}),(0,o.createElement)(DataRender,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:i,clickToExpandNode:l,outerRef:s}))}},13222:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var o=t(34988),i=t(87363),r=t(36115),l=t(59165),a=t(65515),s=t.n(a),d=t(22976),c=t.n(d),u=t(47514);const p=function DecisionVisualization(e){var n=e.decision,t=e.snapshots,a=e.matchingOptions,d=void 0===a?{}:a,p=e.anyData,x=e.onClose,m=(0,i.useRef)(null),g=(0,i.useState)(),f=(0,o.Z)(g,2),h=f[0],b=f[1],N=function renderIfDefined(e,n){return null!=e&&""!==e?(0,u.jsxs)("p",{children:[(0,u.jsxs)("strong",{children:[n,n?":":""]}),Array.isArray(e)?e.join(", "):e]}):null};(0,i.useEffect)((function(){if(t){var e={},n=function _loop(){var n=t.before[o],i=t.after[o];e[o]={after:i,before:n,removedOpvs:n.visibleOPVs.filter((function(e){return!i.visibleOPVs.includes(e)}))}};for(var o in t.before)n();b(e)}else b(void 0)}),[t]);var j=function isExpanded(e,n,t){var o=t;return!(void 0!==t&&!["removedOpvs","after","before"].includes(t))||!!(h&&o&&h[o]&&JSON.stringify(h[o].before)!==JSON.stringify(h[o].after))};if(void 0!==n.priceFeatureGroupNo){var v,y,D=n;return(0,u.jsx)(c(),{nodeRef:m,handle:".handle",bounds:"parent",defaultPosition:void 0,children:(0,u.jsxs)("div",{className:r.ii,ref:m,children:[(0,u.jsxs)("h2",{className:s()(r.uR,"handle"),children:["PriceFeatureGroup #",D.priceFeatureGroupNo]}),(0,u.jsx)("div",{className:r.UF,onClick:function onClick(){return null==x?void 0:x()}}),(0,u.jsxs)("div",{children:[N(D.catalogId,"Catalog ID"),N(D._id,"priceFeatureGroup ID"),N(null===(v=D.priceFeatureGroupText)||void 0===v?void 0:v.DE,"priceFeatureGroupText"),N(D.percentageSurcharges,"percentageSurcharges"),N(D.isPercentage,"isPercentage"),N(D.comment,"comment"),N(D.featureNos,"Feature References"),N(D.additionalPrice,"Additional Price"),N(D.activeCombination,"Active Combination Seqence")]}),(0,u.jsx)("h3",{className:r.dY,children:"Option Combinations"}),(0,u.jsxs)("table",{className:r.ao,children:[(0,u.jsx)("thead",{children:(0,u.jsxs)("tr",{children:[(0,u.jsx)("th",{children:"Sequence"}),(0,u.jsx)("th",{children:"condition"}),(0,u.jsx)("th",{children:"priceField"})]})}),(0,u.jsx)("tbody",{children:null===(y=D.finishes)||void 0===y?void 0:y.map((function(e){return(0,u.jsxs)("tr",{className:s()(e.sequence===D.activeCombination?r.Se:void 0),children:[(0,u.jsx)("td",{children:e.sequence}),(0,u.jsx)("td",{children:JSON.stringify(e.optionsSetRefs)}),(0,u.jsxs)("td",{children:["PRFG",D.priceFeatureGroupNo+"_"+e.priceField]})]},e._id)}))})]}),(0,u.jsx)("br",{}),!!Object.values(d).length&&(0,u.jsxs)(u.Fragment,{children:["matching conditions",Object.keys(d).map((function(e){return N(e+": "+d[e],"")})),(0,u.jsx)("br",{})]}),!!h&&(0,u.jsxs)(u.Fragment,{children:["snapshot",(0,u.jsx)(l.gc,{shouldExpandNode:j,data:h,style:l._l})]}),!!p&&(0,u.jsx)(l.gc,{data:p,style:l._l})]})})}if(void 0!==n.Number){var O=n;return(0,u.jsx)(c(),{nodeRef:m,handle:".handle",bounds:"parent",defaultPosition:void 0,children:(0,u.jsxs)("div",{ref:m,style:{userSelect:"text"},children:[(0,u.jsx)("div",{className:r.UF,onClick:function onClick(){return null==x?void 0:x()}}),(0,u.jsxs)("h2",{className:"handle",children:[" Decision Details ",N(O.Number,"Number")]}),N(O.Type,"Type"),N(O.Prio,"Priority"),N(O.Options,"Options"),N(O.enabled?"Yes":"No","Enabled"),N(O.Number,"Decision Number"),N(O.activeCombination,"Active Combination Index"),N(O.disableHistory,"Disabled History"),O.DOC&&O.DOC.length>0&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("h3",{children:"Decision Option Combinations:"}),O.DOC.map((function(e,n){var t;return(0,u.jsxs)("div",{className:"decision-option-combination",children:[N(n,"doc Index"),N(e.JsFormula,"Formula"),Object.values(null!==(t=e.Row)&&void 0!==t?t:{}).map((function(e){return(0,u.jsx)(u.Fragment,{children:N(e.join(";"),"Doc Row")})})),e.DA&&e.DA.length>0&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h6",{children:"Decision Actions:"}),(0,u.jsx)("ul",{children:e.DA.map((function(e,n){return(0,u.jsxs)("li",{children:[N(e.Type,"Action Type"),N(e.FeatureRef,"Feature Ref"),N(e.OptionCodex,"OptionCodex"),N(e.OptionRef,"OptionRef"),N(e.OptionRefCodex,"OptionRefCodex"),N(e.OptionValueRefCodex,"OptionValueRefCodex"),N(e.DecisionNr,"DecisionNr")]},n)}))})]}),N(e.ValidOptionValues,"Valid Option Values"),N(e.ValidOptions,"Valid Options")]},n)}))]}),N(O.disableHistory,"Disabled History"),(0,u.jsx)("strong",{children:"Is Valid DOC:"})," ",O.DOC&&O.DOC.length>0?"Yes":"No",(0,u.jsx)("br",{}),!!Object.values(d).length&&(0,u.jsxs)(u.Fragment,{children:["matching conditions",Object.keys(d).map((function(e){return N(e+": "+d[e],"")})),(0,u.jsx)("br",{})]}),!!h&&(0,u.jsxs)(u.Fragment,{children:["snapshot",(0,u.jsx)(l.gc,{shouldExpandNode:j,data:h,style:l._l})]}),!!p&&(0,u.jsx)(l.gc,{data:p,style:l._l})]})})}var w,_=n;return(0,u.jsx)(c(),{nodeRef:m,handle:".handle",bounds:"parent",defaultPosition:void 0,children:(0,u.jsxs)("div",{ref:m,className:r.ii,children:[(0,u.jsx)("div",{className:r.UF,onClick:function onClick(){return null==x?void 0:x()}}),(0,u.jsxs)("h2",{className:s()(r.uR,"handle"),children:["Decision #",_.decisionNo]}),(0,u.jsxs)("div",{children:[N(_.catalogId,"Catalog ID"),N(_._id,"Decision ID"),N(_.prio,"Priority"),N(_.decisionType,"Decision Type"),N(_.enabled?"Enabled":"Disabled","Status"),N(_.deleted?"Yes":"No","Deleted"),N(_.featureRefs,"Feature References"),N(_.disableHistory,"Disable History"),N(_.activeCombination,"Active Combination Seqence")]}),(0,u.jsx)("h3",{className:r.dY,children:"Option Combinations"}),(0,u.jsxs)("table",{className:r.ao,children:[(0,u.jsx)("thead",{children:(0,u.jsxs)("tr",{children:[(0,u.jsx)("th",{children:"Sequence"}),(0,u.jsx)("th",{children:"Actions"}),(0,u.jsx)("th",{children:"Options Set References"})]})}),(0,u.jsx)("tbody",{children:null===(w=_.optionCombinations)||void 0===w?void 0:w.map((function(e){return(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:e.sequence}),(0,u.jsx)("td",{children:e.actions.join(", ")}),(0,u.jsx)("td",{children:JSON.stringify(e.optionsSetRefs)})]},e._id)}))})]}),(0,u.jsx)("br",{}),!!Object.values(d).length&&(0,u.jsxs)(u.Fragment,{children:["matching conditions",Object.keys(d).map((function(e){return N(e+": "+d[e],"")})),(0,u.jsx)("br",{})]}),!!h&&(0,u.jsxs)(u.Fragment,{children:["snapshot",(0,u.jsx)(l.gc,{shouldExpandNode:j,data:h,style:l._l})]}),!!p&&(0,u.jsx)(l.gc,{data:p,style:l._l})]})})}},70658:(e,n,t)=>{t.r(n),t.d(n,{default:()=>z});var o=t(80248),i=t(84658),r=t(34988),l=t(88291),a=t(50747),s=t.n(a),d=t(87363),c=t(51203),u=t(93379),p=t.n(u),x=t(7795),m=t.n(x),g=t(90569),f=t.n(g),h=t(3565),b=t.n(h),N=t(19216),j=t.n(N),v=t(44589),y=t.n(v),D=t(69288),O={};O.styleTagTransform=y(),O.setAttributes=b(),O.insert=f().bind(null,"head"),O.domAPI=m(),O.insertStyleElement=j();p()(D.ZP,O);D.ZP&&D.ZP.locals&&D.ZP.locals;var w=t(91923),_=t(9420),S=t(65515),E=t.n(S),k=t(88683),A=(t(76839),t(13222)),M=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const z=(0,_.Pi)((function PriceAnalyzer(e){var n=Object.assign({},((0,l.Z)(e),e)),t=(0,w.NP)(),o=t.divaWebPlanner.getDivaArticles(),a=(0,d.useState)(!1),u=(0,r.Z)(a,2),p=u[0],x=u[1];(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.DivaUtils.Sleep(1e3);case 2:x(!p);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[t.tabGroupState.allTabGroups]),(0,d.useEffect)((function(){var e=t.divaWebPlanner.actSet();return e&&!e.logDecisions&&(e.logDecisions=!0),function(){var e=t.divaWebPlanner.actSet();e&&(e.logDecisions=!1)}}),[t.uiState.isLoading]);var m=Object.values(null!=o?o:{}).find((function(e){return 1==e.posNr})),g=(0,d.useState)(),f=(0,r.Z)(g,2),h=f[0],b=f[1],N=(0,d.useState)(),j=(0,r.Z)(N,2),v=j[0],y=j[1];if(!m)return(0,M.jsx)("div",_objectSpread(_objectSpread({},n),{},{className:E()(n.className,D.fm),style:{zIndex:800},children:(0,M.jsx)("a",{className:D.Fs,children:"Price analyzer - plann article"})}));var O=m.CatalogData.isIDMFormat,_=Object.values(m.decisionDebugStacks).findLast((function(e){return e})),S=null==_?void 0:_.prices;if(!S)return(0,M.jsx)("div",_objectSpread(_objectSpread({},n),{},{className:E()(n.className,D.fm),style:{zIndex:800},children:(0,M.jsx)("a",{className:D.Fs,children:"Price analyzer - change config"})}));return O?S?(0,M.jsxs)("div",_objectSpread(_objectSpread({},n),{},{className:E()(n.className,D.fm,t.uiState.configSettingsIsExpanded?c.NF:void 0),children:[(0,M.jsxs)("a",{className:D.Fs,children:["Price history",(0,M.jsx)("input",{value:v,onChange:function onChange(e){return y(e.target.value)},placeholder:"filter option ohne OPT",className:D.hX})]}),(0,M.jsxs)("div",{children:[(0,M.jsxs)("table",{className:D.Kz,children:[(0,M.jsx)("thead",{children:(0,M.jsx)("tr",{className:D.$Q,children:(0,M.jsx)("th",{children:1})})}),(0,M.jsx)("tbody",{children:S.map((function(e,n){return(0,M.jsx)("tr",{className:D.$Q,children:(0,M.jsx)("th",{onClick:function onClick(){return function onClick(e,n){var t;e==(null==h||null===(t=h.priceFeatureGroup)||void 0===t?void 0:t.priceFeatureGroupNo)?b(void 0):b(n)}(e.nr,e)},children:e.text})},n)}))})]}),h&&(0,M.jsx)("div",{className:D.EC,children:(0,M.jsx)(A.default,{decision:h.priceFeatureGroup,anyData:{prices:m.catalogArticle.idmPrices,variantData:h.variantValues},onClose:function onClose(){return b(void 0)}})})]})]})):(0,M.jsx)(M.Fragment,{children:" "}):(0,M.jsx)(M.Fragment,{children:"only implemented for IDM enricher data"})}))},33981:(e,n,t)=>{t.d(n,{$Q:()=>x,EC:()=>N,Fs:()=>b,Kz:()=>p,Se:()=>m,UF:()=>f,ZP:()=>O,ao:()=>D,dY:()=>y,fm:()=>h,hX:()=>g,ii:()=>j,uR:()=>v});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r),a=t(61667),s=t.n(a),d=new URL(t(76380),t.b),c=l()(i()),u=s()(d);c.push([e.id,".index-module--sS9Y_ {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--sS9Y_ thead {\n font-weight: bold !important;\n}\n.index-module--sS9Y_ thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--O5GJU {\n text-align: left;\n}\n.index-module--O5GJU:first-child {\n height: 20px;\n}\n.index-module--xNfvC {\n font-weight: bold;\n}\n.index-module--oALcg {\n height: 12px;\n font-size: 10px;\n}\n\n.index-module--HpoCh {\n position: absolute;\n right: 12px;\n top: 12px;\n z-index: 1002;\n width: -moz-max-content;\n width: max-content;\n width: 36px;\n height: 36px;\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 28%;\n background-image: url("+u+");\n transition: background-size 100ms ease-in;\n cursor: pointer;\n}\n.index-module--O5GJU th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--bBk4P {\n overflow: auto;\n left: 50px;\n}\n.index-module--sBWMs {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n}\n\n.index-module--XrXfq {\n z-index: 100;\n position: fixed;\n top: 60px;\n left: 500px;\n z-index: 100000;\n width: calc(100vw - 500px);\n pointer-events: none;\n height: calc(100vh - 60px);\n overflow: auto;\n}\n\n.index-module--uzZoJ {\n padding: 16px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n border: 1px solid #ddd;\n border-radius: 8px;\n pointer-events: all;\n background-color: #fff;\n width: 600px;\n}\n\n.index-module--uzZoJ h2 {\n cursor: move;\n}\n\n.index-module--wrmAf {\n font-size: 1.5em;\n font-weight: bold;\n}\n\n.index-module--GsJQn {\n margin-top: 16px;\n font-size: 1.2em;\n font-weight: bold;\n}\n\n.index-module--gf_Q8 {\n width: 100%;\n border-collapse: collapse;\n margin-top: 8px;\n}\n\n.index-module--gf_Q8 th,\n.index-module--gf_Q8 td {\n border: 1px solid #ddd;\n padding: 8px;\n text-align: left;\n line-break: anywhere;\n}\n\n.index-module--gf_Q8 th {\n background-color: #f2f2f2;\n}\n",""]);var p="index-module--sS9Y_",x="index-module--O5GJU",m="index-module--xNfvC",g="index-module--oALcg",f="index-module--HpoCh",h="index-module--bBk4P",b="index-module--sBWMs",N="index-module--XrXfq",j="index-module--uzZoJ",v="index-module--wrmAf",y="index-module--GsJQn",D="index-module--gf_Q8";const O=c},69288:(e,n,t)=>{t.d(n,{$Q:()=>d,EC:()=>p,Fs:()=>u,Kz:()=>a,ZP:()=>x,fm:()=>c,hX:()=>s});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r)()(i());l.push([e.id,".index-module--TMuWx {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--YulNJ {\n height: 12px;\n font-size: 10px;\n}\n\n.index-module--TMuWx thead {\n font-weight: bold !important;\n}\n\n.index-module--TMuWx thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--aAXou {\n text-align: left;\n}\n.index-module--aAXou:first-child {\n height: 20px;\n}\n\n.index-module--aAXou th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--gR4ES {\n overflow: auto;\n left: 50px;\n height: 100%;\n}\n.index-module--E6gUV {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n}\n\n.index-module--FCFmD {\n z-index: 100;\n position: fixed;\n top: 60px;\n left: 500px;\n z-index: 100000;\n width: calc(100vw - 500px);\n pointer-events: none;\n height: calc(100vh - 60px);\n overflow: auto;\n}\n\n.index-module--aeMhl {\n padding: 16px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n border: 1px solid #ddd;\n border-radius: 8px;\n}\n\n.index-module--NUFfA {\n font-size: 1.5em;\n font-weight: bold;\n}\n\n.index-module--sd0v0 {\n margin-top: 16px;\n font-size: 1.2em;\n font-weight: bold;\n}\n\n.index-module--YZIPe {\n width: 100%;\n border-collapse: collapse;\n margin-top: 8px;\n}\n\n.index-module--YZIPe th,\n.index-module--YZIPe td {\n border: 1px solid #ddd;\n padding: 8px;\n text-align: left;\n line-break: anywhere;\n}\n\n.index-module--YZIPe th {\n background-color: #f2f2f2;\n}\n",""]);var a="index-module--TMuWx",s="index-module--YulNJ",d="index-module--aAXou",c="index-module--gR4ES",u="index-module--E6gUV",p="index-module--FCFmD";const x=l},89965:(e,n,t)=>{t.d(n,{NF:()=>s,ZP:()=>c,ec:()=>a,pb:()=>d});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r)()(i());l.push([e.id,".index-module--NA4Nc {\n position: absolute;\n margin-left: 50px;\n height: 92%;\n background-color: var(--settingsBackgroundColor);\n padding-left: 5px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n box-shadow: inset 0px 4px 40px 1px rgba(0, 0, 0, 0.1);\n border-right: 2px solid;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--zxgl3 {\n width: calc(25.5%) !important;\n}\n.index-module--zxgl3 {\n background-color: white;\n}\n.index-module--WGNyK {\n z-index: 590;\n background-color: rgba(250, 250, 250, 0.5);\n width: calc(63% - 50px);\n /*width: calc(69% - 50px); pfister*/\n}\n",""]);var a="index-module--NA4Nc",s="index-module--zxgl3",d="index-module--WGNyK";const c=l},72035:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r)()(i());l.push([e.id,"/* base styles */\n\n._GzYRV {\n line-height: 1.2;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n}\n\n._3eOF8 {\n margin-right: 5px;\n font-weight: bold;\n}\n\n._3eOF8 + ._3eOF8 {\n margin-left: -5px;\n}\n\n._1MFti {\n cursor: pointer;\n}\n\n._f10Tu {\n font-size: 1.2em;\n margin-right: 5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n._1UmXx::after {\n content: '\\25B8';\n}\n\n._1LId0::after {\n content: '\\25BE';\n}\n\n._1pNG9 {\n margin-right: 5px;\n}\n\n._1pNG9::after {\n content: '...';\n font-size: 0.8em;\n}\n\n._2IvMF {\n background: #eee;\n}\n\n._2bkNM {\n margin: 0 10px;\n padding: 0;\n}\n\n._2bkNM > ul {\n margin: 0;\n padding: 0;\n}\n\n/* default light style */\n._1MGIk {\n font-weight: 600;\n margin-right: 5px;\n color: #000000;\n}\n\n._2YKJg {\n}\n\n._3uHL6 {\n color: #000000;\n}\n\n._2T6PJ {\n color: #df113a;\n}\n\n._1Gho6 {\n color: #df113a;\n}\n\n._vGjyY {\n color: rgb(42, 63, 60);\n}\n\n._1bQdo {\n color: #0b75f5;\n}\n\n._3zQKs {\n color: rgb(70, 144, 56);\n}\n\n._1xvuR {\n color: #43413d;\n}\n\n._oLqym {\n color: #000000;\n}\n\n._2AXVT {\n color: #000000;\n}\n\n._2KJWg {\n color: #000000;\n}\n\n/* default dark style */\n._11RoI {\n background: rgb(0, 43, 54);\n}\n\n._17H2C {\n color: rgb(253, 246, 227);\n}\n\n._3QHg2 {\n color: rgb(253, 246, 227);\n}\n\n._3fDAz {\n color: rgb(253, 246, 227);\n}\n\n._2bSDX {\n font-weight: bolder;\n margin-right: 5px;\n color: rgb(253, 246, 227);\n}\n\n._1RQEj {\n}\n\n._gsbQL {\n color: rgb(253, 246, 227);\n}\n\n._LaAZe {\n color: rgb(129, 181, 172);\n}\n\n._GTKgm {\n color: rgb(129, 181, 172);\n}\n\n._Chy1W {\n color: rgb(203, 75, 22);\n}\n\n._2bveF {\n color: rgb(211, 54, 130);\n}\n\n._2vRm- {\n color: rgb(174, 129, 255);\n}\n\n._1prJR {\n color: rgb(38, 139, 210);\n}\n",""]);const a=l},36115:(e,n,t)=>{t.d(n,{$Q:()=>g.$Q,EC:()=>g.EC,Fs:()=>g.Fs,Kz:()=>g.Kz,Se:()=>g.Se,UF:()=>g.UF,ao:()=>g.ao,dY:()=>g.dY,fm:()=>g.fm,hX:()=>g.hX,ii:()=>g.ii,uR:()=>g.uR});var o=t(93379),i=t.n(o),r=t(7795),l=t.n(r),a=t(90569),s=t.n(a),d=t(3565),c=t.n(d),u=t(19216),p=t.n(u),x=t(44589),m=t.n(x),g=t(33981),f={};f.styleTagTransform=m(),f.setAttributes=c(),f.insert=s().bind(null,"head"),f.domAPI=l(),f.insertStyleElement=p();i()(g.ZP,f),g.ZP&&g.ZP.locals&&g.ZP.locals},51203:(e,n,t)=>{t.d(n,{NF:()=>g.NF,ec:()=>g.ec,pb:()=>g.pb});var o=t(93379),i=t.n(o),r=t(7795),l=t.n(r),a=t(90569),s=t.n(a),d=t(3565),c=t.n(d),u=t(19216),p=t.n(u),x=t(44589),m=t.n(x),g=t(89965),f={};f.styleTagTransform=m(),f.setAttributes=c(),f.insert=s().bind(null,"head"),f.domAPI=l(),f.insertStyleElement=p();i()(g.ZP,f),g.ZP&&g.ZP.locals&&g.ZP.locals},76839:(e,n,t)=>{var o=t(93379),i=t.n(o),r=t(7795),l=t.n(r),a=t(90569),s=t.n(a),d=t(3565),c=t.n(d),u=t(19216),p=t.n(u),x=t(44589),m=t.n(x),g=t(72035),f={};f.styleTagTransform=m(),f.setAttributes=c(),f.insert=s().bind(null,"head"),f.domAPI=l(),f.insertStyleElement=p();i()(g.Z,f),g.Z&&g.Z.locals&&g.Z.locals},76380:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuMzUzNTUgMC42NDY0NDdDMS4xNTgyOSAwLjQ1MTE4NCAwLjg0MTcwOSAwLjQ1MTE4NCAwLjY0NjQ0NyAwLjY0NjQ0N0MwLjQ1MTE4NCAwLjg0MTcwOSAwLjQ1MTE4NCAxLjE1ODI5IDAuNjQ2NDQ3IDEuMzUzNTVMMS4zNTM1NSAwLjY0NjQ0N1pNOC42NDY0NSA5LjM1MzU1QzguODQxNzEgOS41NDg4MiA5LjE1ODI5IDkuNTQ4ODIgOS4zNTM1NSA5LjM1MzU1QzkuNTQ4ODIgOS4xNTgyOSA5LjU0ODgyIDguODQxNzEgOS4zNTM1NSA4LjY0NjQ1TDguNjQ2NDUgOS4zNTM1NVpNOS4zNTM1NSAxLjM1MzU1QzkuNTQ4ODIgMS4xNTgyOSA5LjU0ODgyIDAuODQxNzA5IDkuMzUzNTUgMC42NDY0NDdDOS4xNTgyOSAwLjQ1MTE4NCA4Ljg0MTcxIDAuNDUxMTg0IDguNjQ2NDUgMC42NDY0NDdMOS4zNTM1NSAxLjM1MzU1Wk0wLjY0NjQ0NyA4LjY0NjQ1QzAuNDUxMTg1IDguODQxNzEgMC40NTExODUgOS4xNTgyOSAwLjY0NjQ0NyA5LjM1MzU1QzAuODQxNzA5IDkuNTQ4ODEgMS4xNTgyOSA5LjU0ODgxIDEuMzUzNTUgOS4zNTM1NUwwLjY0NjQ0NyA4LjY0NjQ1Wk0wLjY0NjQ0NyAxLjM1MzU1TDguNjQ2NDUgOS4zNTM1NUw5LjM1MzU1IDguNjQ2NDVMMS4zNTM1NSAwLjY0NjQ0N0wwLjY0NjQ0NyAxLjM1MzU1Wk04LjY0NjQ1IDAuNjQ2NDQ3TDAuNjQ2NDQ3IDguNjQ2NDVMMS4zNTM1NSA5LjM1MzU1TDkuMzUzNTUgMS4zNTM1NUw4LjY0NjQ1IDAuNjQ2NDQ3WiIgZmlsbD0iIzRGNEY0RiIvPgo8L3N2Zz4K"},88291:(e,n,t)=>{function _objectDestructuringEmpty(e){if(null==e)throw new TypeError("Cannot destructure "+e)}t.d(n,{Z:()=>_objectDestructuringEmpty})}}]);
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[658,3222,8291],{59165:(e,n,t)=>{t.d(n,{_l:()=>l,gc:()=>JsonView});var o=t(87363);const isDate=e=>!!e&&e instanceof Date;function quoteString(e,n){return void 0===n&&(n=!1),!e||n?`"${e}"`:e}function ExpandableObject(e){let{field:n,value:t,data:i,lastElement:r,openBracket:l,closeBracket:a,level:s,style:d,shouldExpandNode:c,clickToExpandNode:u,outerRef:p}=e;const x=(0,o.useRef)(!1),[m,f,g]=function useBool(e){const[n,t]=(0,o.useState)(e());return[n,()=>t((e=>!e)),t]}((()=>c(s,t,n))),h=(0,o.useRef)(null);(0,o.useEffect)((()=>{x.current?g(c(s,t,n)):x.current=!0}),[c]);const b=m?d.collapseIcon:d.expandIcon,N=m?"collapse JSON":"expand JSON",j=(0,o.useId)(),v=s+1,y=i.length-1,onKeyDown=e=>{if("ArrowRight"===e.key||"ArrowLeft"===e.key)e.preventDefault(),g("ArrowRight"===e.key);else if("ArrowUp"===e.key||"ArrowDown"===e.key){e.preventDefault();const n="ArrowUp"===e.key?-1:1;if(!p.current)return;const t=p.current.querySelectorAll("[role=button]");let o=-1;for(let e=0;e<t.length;e++)if(0===t[e].tabIndex){o=e;break}if(o<0)return;const i=(o+n+t.length)%t.length;t[o].tabIndex=-1,t[i].tabIndex=0,t[i].focus()}},onClick=()=>{var e;f();const n=h.current;if(!n)return;const t=null===(e=p.current)||void 0===e?void 0:e.querySelector('[role=button][tabindex="0"]');t&&(t.tabIndex=-1),n.tabIndex=0,n.focus()};return(0,o.createElement)("div",{className:d.basicChildStyle,role:"treeitem","aria-expanded":m,"aria-selected":void 0},(0,o.createElement)("span",{className:b,onClick,onKeyDown,role:"button","aria-label":N,"aria-expanded":m,"aria-controls":m?j:void 0,ref:h,tabIndex:0===s?0:-1}),(n||""===n)&&(u?(0,o.createElement)("span",{className:d.clickableLabel,onClick,onKeyDown},quoteString(n,d.quotesForFieldNames),":"):(0,o.createElement)("span",{className:d.label},quoteString(n,d.quotesForFieldNames),":")),(0,o.createElement)("span",{className:d.punctuation},l),m?(0,o.createElement)("ul",{id:j,role:"group"},i.map(((e,n)=>(0,o.createElement)(DataRender,{key:e[0]||n,field:e[0],value:e[1],style:d,lastElement:n===y,level:v,shouldExpandNode:c,clickToExpandNode:u,outerRef:p})))):(0,o.createElement)("span",{className:d.collapsedContent,onClick,onKeyDown}),(0,o.createElement)("span",{className:d.punctuation},a),!r&&(0,o.createElement)("span",{className:d.punctuation},","))}function EmptyObject(e){let{field:n,openBracket:t,closeBracket:i,lastElement:r,style:l}=e;return(0,o.createElement)("div",{className:l.basicChildStyle,role:"treeitem","aria-selected":void 0},(n||""===n)&&(0,o.createElement)("span",{className:l.label},quoteString(n,l.quotesForFieldNames),":"),(0,o.createElement)("span",{className:l.punctuation},t),(0,o.createElement)("span",{className:l.punctuation},i),!r&&(0,o.createElement)("span",{className:l.punctuation},","))}function JsonObject(e){let{field:n,value:t,style:o,lastElement:i,shouldExpandNode:r,clickToExpandNode:l,level:a,outerRef:s}=e;return 0===Object.keys(t).length?EmptyObject({field:n,openBracket:"{",closeBracket:"}",lastElement:i,style:o}):ExpandableObject({field:n,value:t,lastElement:i||!1,level:a,openBracket:"{",closeBracket:"}",style:o,shouldExpandNode:r,clickToExpandNode:l,data:Object.keys(t).map((e=>[e,t[e]])),outerRef:s})}function JsonArray(e){let{field:n,value:t,style:o,lastElement:i,level:r,shouldExpandNode:l,clickToExpandNode:a,outerRef:s}=e;return 0===t.length?EmptyObject({field:n,openBracket:"[",closeBracket:"]",lastElement:i,style:o}):ExpandableObject({field:n,value:t,lastElement:i||!1,level:r,openBracket:"[",closeBracket:"]",style:o,shouldExpandNode:l,clickToExpandNode:a,data:t.map((e=>[void 0,e])),outerRef:s})}function JsonPrimitiveValue(e){let n,{field:t,value:i,style:r,lastElement:l}=e,a=r.otherValue;var s;return null===i?(n="null",a=r.nullValue):void 0===i?(n="undefined",a=r.undefinedValue):"string"==typeof(s=i)||s instanceof String?(n=quoteString(i,!r.noQuotesForStringValues),a=r.stringValue):(e=>"boolean"==typeof e||e instanceof Boolean)(i)?(n=i?"true":"false",a=r.booleanValue):(e=>"number"==typeof e||e instanceof Number)(i)?(n=i.toString(),a=r.numberValue):(e=>"bigint"==typeof e||e instanceof BigInt)(i)?(n=`${i.toString()}n`,a=r.numberValue):n=isDate(i)?i.toISOString():i.toString(),(0,o.createElement)("div",{className:r.basicChildStyle,role:"treeitem","aria-selected":void 0},(t||""===t)&&(0,o.createElement)("span",{className:r.label},quoteString(t,r.quotesForFieldNames),":"),(0,o.createElement)("span",{className:a},n),!l&&(0,o.createElement)("span",{className:r.punctuation},","))}function DataRender(e){const n=e.value;return t=n,Array.isArray(t)?(0,o.createElement)(JsonArray,Object.assign({},e)):(e=>e instanceof Object&&null!==e)(n)&&!isDate(n)?(0,o.createElement)(JsonObject,Object.assign({},e)):(0,o.createElement)(JsonPrimitiveValue,Object.assign({},e));var t}var i="_2bkNM";const r={container:"_2IvMF _GzYRV",basicChildStyle:i,label:"_1MGIk",clickableLabel:"_2YKJg _1MGIk _1MFti",nullValue:"_2T6PJ",undefinedValue:"_1Gho6",stringValue:"_vGjyY",booleanValue:"_3zQKs",numberValue:"_1bQdo",otherValue:"_1xvuR",punctuation:"_3uHL6 _3eOF8",collapseIcon:"_oLqym _f10Tu _1MFti _1LId0",expandIcon:"_2AXVT _f10Tu _1MFti _1UmXx",collapsedContent:"_2KJWg _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},l={container:"_11RoI _GzYRV",basicChildStyle:i,label:"_2bSDX",clickableLabel:"_1RQEj _2bSDX _1MFti",nullValue:"_LaAZe",undefinedValue:"_GTKgm",stringValue:"_Chy1W",booleanValue:"_2vRm-",numberValue:"_2bveF",otherValue:"_1prJR",punctuation:"_gsbQL _3eOF8",collapseIcon:"_3QHg2 _f10Tu _1MFti _1LId0",expandIcon:"_17H2C _f10Tu _1MFti _1UmXx",collapsedContent:"_3fDAz _1pNG9 _1MFti",noQuotesForStringValues:!1,quotesForFieldNames:!1},allExpanded=()=>!0,JsonView=e=>{let{data:n,style:t=r,shouldExpandNode:i=allExpanded,clickToExpandNode:l=!1,...a}=e;const s=(0,o.useRef)(null);return(0,o.createElement)("div",Object.assign({"aria-label":"JSON view"},a,{className:t.container,ref:s,role:"tree"}),(0,o.createElement)(DataRender,{value:n,style:t,lastElement:!0,level:0,shouldExpandNode:i,clickToExpandNode:l,outerRef:s}))}},13222:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var o=t(34988),i=t(87363),r=t(36115),l=t(59165),a=t(65515),s=t.n(a),d=t(22976),c=t.n(d),u=t(47514);const p=function DecisionVisualization(e){var n=e.decision,t=e.snapshots,a=e.matchingOptions,d=void 0===a?{}:a,p=e.anyData,x=e.onClose,m=(0,i.useRef)(null),f=(0,i.useState)(),g=(0,o.Z)(f,2),h=g[0],b=g[1],N=function renderIfDefined(e,n){return null!=e&&""!==e?(0,u.jsxs)("p",{children:[(0,u.jsxs)("strong",{children:[n,n?":":""]}),Array.isArray(e)?e.join(", "):e]}):null};(0,i.useEffect)((function(){if(t){var e={},n=function _loop(){var n=t.before[o],i=t.after[o];e[o]={after:i,before:n,removedOpvs:n.visibleOPVs.filter((function(e){return!i.visibleOPVs.includes(e)}))}};for(var o in t.before)n();b(e)}else b(void 0)}),[t]);var j=function isExpanded(e,n,t){var o=t;return!(void 0!==t&&!["removedOpvs","after","before"].includes(t))||!!(h&&o&&h[o]&&JSON.stringify(h[o].before)!==JSON.stringify(h[o].after))};if(void 0!==n.priceFeatureGroupNo){var v,y,D=n;return(0,u.jsx)(c(),{nodeRef:m,handle:".handle",bounds:"parent",defaultPosition:void 0,children:(0,u.jsxs)("div",{className:r.ii,ref:m,children:[(0,u.jsxs)("h2",{className:s()(r.uR,"handle"),children:["PriceFeatureGroup #",D.priceFeatureGroupNo]}),(0,u.jsx)("div",{className:r.UF,onClick:function onClick(){return null==x?void 0:x()}}),(0,u.jsxs)("div",{children:[N(D.catalogId,"Catalog ID"),N(D._id,"priceFeatureGroup ID"),N(null===(v=D.priceFeatureGroupText)||void 0===v?void 0:v.DE,"priceFeatureGroupText"),N(D.percentageSurcharges,"percentageSurcharges"),N(D.isPercentage,"isPercentage"),N(D.comment,"comment"),N(D.featureNos,"Feature References"),N(D.additionalPrice,"Additional Price"),N(D.activeCombination,"Active Combination Seqence")]}),(0,u.jsx)("h3",{className:r.dY,children:"Option Combinations"}),(0,u.jsxs)("table",{className:r.ao,children:[(0,u.jsx)("thead",{children:(0,u.jsxs)("tr",{children:[(0,u.jsx)("th",{children:"Sequence"}),(0,u.jsx)("th",{children:"condition"}),(0,u.jsx)("th",{children:"priceField"})]})}),(0,u.jsx)("tbody",{children:null===(y=D.finishes)||void 0===y?void 0:y.map((function(e){return(0,u.jsxs)("tr",{className:s()(e.sequence===D.activeCombination?r.Se:void 0),children:[(0,u.jsx)("td",{children:e.sequence}),(0,u.jsx)("td",{children:JSON.stringify(e.optionsSetRefs)}),(0,u.jsxs)("td",{children:["PRFG",D.priceFeatureGroupNo+"_"+e.priceField]})]},e._id)}))})]}),(0,u.jsx)("br",{}),!!Object.values(d).length&&(0,u.jsxs)(u.Fragment,{children:["matching conditions",Object.keys(d).map((function(e){return N(e+": "+d[e],"")})),(0,u.jsx)("br",{})]}),!!h&&(0,u.jsxs)(u.Fragment,{children:["snapshot",(0,u.jsx)(l.gc,{shouldExpandNode:j,data:h,style:l._l})]}),!!p&&(0,u.jsx)(l.gc,{data:p,style:l._l})]})})}if(void 0!==n.Number){var O=n;return(0,u.jsx)(c(),{nodeRef:m,handle:".handle",bounds:"parent",defaultPosition:void 0,children:(0,u.jsxs)("div",{ref:m,style:{userSelect:"text"},children:[(0,u.jsx)("div",{className:r.UF,onClick:function onClick(){return null==x?void 0:x()}}),(0,u.jsxs)("h2",{className:"handle",children:[" Decision Details ",N(O.Number,"Number")]}),N(O.Type,"Type"),N(O.Prio,"Priority"),N(O.Options,"Options"),N(O.enabled?"Yes":"No","Enabled"),N(O.Number,"Decision Number"),N(O.activeCombination,"Active Combination Index"),N(O.disableHistory,"Disabled History"),O.DOC&&O.DOC.length>0&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("h3",{children:"Decision Option Combinations:"}),O.DOC.map((function(e,n){var t;return(0,u.jsxs)("div",{className:"decision-option-combination",children:[N(n,"doc Index"),N(e.JsFormula,"Formula"),Object.values(null!==(t=e.Row)&&void 0!==t?t:{}).map((function(e){return(0,u.jsx)(u.Fragment,{children:N(e.join(";"),"Doc Row")})})),e.DA&&e.DA.length>0&&(0,u.jsxs)("div",{children:[(0,u.jsx)("h6",{children:"Decision Actions:"}),(0,u.jsx)("ul",{children:e.DA.map((function(e,n){return(0,u.jsxs)("li",{children:[N(e.Type,"Action Type"),N(e.FeatureRef,"Feature Ref"),N(e.OptionCodex,"OptionCodex"),N(e.OptionRef,"OptionRef"),N(e.OptionRefCodex,"OptionRefCodex"),N(e.OptionValueRefCodex,"OptionValueRefCodex"),N(e.DecisionNr,"DecisionNr")]},n)}))})]}),N(e.ValidOptionValues,"Valid Option Values"),N(e.RefLevel,"RefLevel"),N(e.ValidOptions,"Valid Options")]},n)}))]}),N(O.disableHistory,"Disabled History"),(0,u.jsx)("strong",{children:"Is Valid DOC:"})," ",O.DOC&&O.DOC.length>0?"Yes":"No",(0,u.jsx)("br",{}),!!Object.values(d).length&&(0,u.jsxs)(u.Fragment,{children:["matching conditions",Object.keys(d).map((function(e){return N(e+": "+d[e],"")})),(0,u.jsx)("br",{})]}),!!h&&(0,u.jsxs)(u.Fragment,{children:["snapshot",(0,u.jsx)(l.gc,{shouldExpandNode:j,data:h,style:l._l})]}),!!p&&(0,u.jsx)(l.gc,{data:p,style:l._l})]})})}var _,w=n;return(0,u.jsx)(c(),{nodeRef:m,handle:".handle",bounds:"parent",defaultPosition:void 0,children:(0,u.jsxs)("div",{ref:m,className:r.ii,children:[(0,u.jsx)("div",{className:r.UF,onClick:function onClick(){return null==x?void 0:x()}}),(0,u.jsxs)("h2",{className:s()(r.uR,"handle"),children:["Decision #",w.decisionNo]}),(0,u.jsxs)("div",{children:[N(w.catalogId,"Catalog ID"),N(w._id,"Decision ID"),N(w.prio,"Priority"),N(w.decisionType,"Decision Type"),N(w.enabled?"Enabled":"Disabled","Status"),N(w.deleted?"Yes":"No","Deleted"),N(w.featureRefs,"Feature References"),N(w.disableHistory,"Disable History"),N(w.activeCombination,"Active Combination Seqence")]}),(0,u.jsx)("h3",{className:r.dY,children:"Option Combinations"}),(0,u.jsxs)("table",{className:r.ao,children:[(0,u.jsx)("thead",{children:(0,u.jsxs)("tr",{children:[(0,u.jsx)("th",{children:"Sequence"}),(0,u.jsx)("th",{children:"Actions"}),(0,u.jsx)("th",{children:"Options Set References"})]})}),(0,u.jsx)("tbody",{children:null===(_=w.optionCombinations)||void 0===_?void 0:_.map((function(e){return(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{children:e.sequence}),(0,u.jsx)("td",{children:e.actions.join(", ")}),(0,u.jsx)("td",{children:JSON.stringify(e.optionsSetRefs)})]},e._id)}))})]}),(0,u.jsx)("br",{}),!!Object.values(d).length&&(0,u.jsxs)(u.Fragment,{children:["matching conditions",Object.keys(d).map((function(e){return N(e+": "+d[e],"")})),(0,u.jsx)("br",{})]}),!!h&&(0,u.jsxs)(u.Fragment,{children:["snapshot",(0,u.jsx)(l.gc,{shouldExpandNode:j,data:h,style:l._l})]}),!!p&&(0,u.jsx)(l.gc,{data:p,style:l._l})]})})}},70658:(e,n,t)=>{t.r(n),t.d(n,{default:()=>z});var o=t(80248),i=t(84658),r=t(34988),l=t(88291),a=t(50747),s=t.n(a),d=t(87363),c=t(51203),u=t(93379),p=t.n(u),x=t(7795),m=t.n(x),f=t(90569),g=t.n(f),h=t(3565),b=t.n(h),N=t(19216),j=t.n(N),v=t(44589),y=t.n(v),D=t(69288),O={};O.styleTagTransform=y(),O.setAttributes=b(),O.insert=g().bind(null,"head"),O.domAPI=m(),O.insertStyleElement=j();p()(D.ZP,O);D.ZP&&D.ZP.locals&&D.ZP.locals;var _=t(91923),w=t(9420),S=t(65515),E=t.n(S),k=t(88683),A=(t(76839),t(13222)),M=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const z=(0,w.Pi)((function PriceAnalyzer(e){var n=Object.assign({},((0,l.Z)(e),e)),t=(0,_.NP)(),o=t.divaWebPlanner.getDivaArticles(),a=(0,d.useState)(!1),u=(0,r.Z)(a,2),p=u[0],x=u[1];(0,d.useEffect)((function(){var e=function(){var e=(0,i.Z)(s().mark((function _callee(){return s().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.DivaUtils.Sleep(1e3);case 2:x(!p);case 3:case"end":return e.stop()}}),_callee)})));return function asyncFunct(){return e.apply(this,arguments)}}();e()}),[t.tabGroupState.allTabGroups]),(0,d.useEffect)((function(){var e=t.divaWebPlanner.actSet();return e&&!e.logDecisions&&(e.logDecisions=!0),function(){var e=t.divaWebPlanner.actSet();e&&(e.logDecisions=!1)}}),[t.uiState.isLoading]);var m=Object.values(null!=o?o:{}).find((function(e){return 1==e.posNr})),f=(0,d.useState)(),g=(0,r.Z)(f,2),h=g[0],b=g[1],N=(0,d.useState)(),j=(0,r.Z)(N,2),v=j[0],y=j[1];if(!m)return(0,M.jsx)("div",_objectSpread(_objectSpread({},n),{},{className:E()(n.className,D.fm),style:{zIndex:800},children:(0,M.jsx)("a",{className:D.Fs,children:"Price analyzer - plann article"})}));var O=m.CatalogData.isIDMFormat,w=Object.values(m.decisionDebugStacks).findLast((function(e){return e})),S=null==w?void 0:w.prices;if(!S)return(0,M.jsx)("div",_objectSpread(_objectSpread({},n),{},{className:E()(n.className,D.fm),style:{zIndex:800},children:(0,M.jsx)("a",{className:D.Fs,children:"Price analyzer - change config"})}));return O?S?(0,M.jsxs)("div",_objectSpread(_objectSpread({},n),{},{className:E()(n.className,D.fm,t.uiState.configSettingsIsExpanded?c.NF:void 0),children:[(0,M.jsxs)("a",{className:D.Fs,children:["Price history",(0,M.jsx)("input",{value:v,onChange:function onChange(e){return y(e.target.value)},placeholder:"filter option ohne OPT",className:D.hX})]}),(0,M.jsxs)("div",{children:[(0,M.jsxs)("table",{className:D.Kz,children:[(0,M.jsx)("thead",{children:(0,M.jsx)("tr",{className:D.$Q,children:(0,M.jsx)("th",{children:1})})}),(0,M.jsx)("tbody",{children:S.map((function(e,n){return(0,M.jsx)("tr",{className:D.$Q,children:(0,M.jsx)("th",{onClick:function onClick(){return function onClick(e,n){var t;e==(null==h||null===(t=h.priceFeatureGroup)||void 0===t?void 0:t.priceFeatureGroupNo)?b(void 0):b(n)}(e.nr,e)},children:e.text})},n)}))})]}),h&&(0,M.jsx)("div",{className:D.EC,children:(0,M.jsx)(A.default,{decision:h.priceFeatureGroup,anyData:{prices:m.catalogArticle.idmPrices,variantData:h.variantValues},onClose:function onClose(){return b(void 0)}})})]})]})):(0,M.jsx)(M.Fragment,{children:" "}):(0,M.jsx)(M.Fragment,{children:"only implemented for IDM enricher data"})}))},33981:(e,n,t)=>{t.d(n,{$Q:()=>x,EC:()=>N,Fs:()=>b,Kz:()=>p,Se:()=>m,UF:()=>g,ZP:()=>O,ao:()=>D,dY:()=>y,fm:()=>h,hX:()=>f,ii:()=>j,uR:()=>v});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r),a=t(61667),s=t.n(a),d=new URL(t(76380),t.b),c=l()(i()),u=s()(d);c.push([e.id,".index-module--sS9Y_ {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--sS9Y_ thead {\n font-weight: bold !important;\n}\n.index-module--sS9Y_ thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--O5GJU {\n text-align: left;\n}\n.index-module--O5GJU:first-child {\n height: 20px;\n}\n.index-module--xNfvC {\n font-weight: bold;\n}\n.index-module--oALcg {\n height: 12px;\n font-size: 10px;\n}\n\n.index-module--HpoCh {\n position: absolute;\n right: 12px;\n top: 12px;\n z-index: 1002;\n width: -moz-max-content;\n width: max-content;\n width: 36px;\n height: 36px;\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 28%;\n background-image: url("+u+");\n transition: background-size 100ms ease-in;\n cursor: pointer;\n}\n.index-module--O5GJU th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--bBk4P {\n overflow: auto;\n left: 50px;\n}\n.index-module--sBWMs {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n}\n\n.index-module--XrXfq {\n z-index: 100;\n position: fixed;\n top: 60px;\n right: 0px;\n z-index: 100000;\n width: 600px;\n height: calc(100vh - 60px);\n background-color: #fff;\n overflow: auto;\n}\n\n.index-module--uzZoJ {\n padding: 16px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n border: 1px solid #ddd;\n border-radius: 8px;\n pointer-events: all;\n background-color: #fff;\n width: 600px;\n}\n\n.index-module--uzZoJ h2 {\n cursor: move;\n}\n\n.index-module--wrmAf {\n font-size: 1.5em;\n font-weight: bold;\n}\n\n.index-module--GsJQn {\n margin-top: 16px;\n font-size: 1.2em;\n font-weight: bold;\n}\n\n.index-module--gf_Q8 {\n width: 100%;\n border-collapse: collapse;\n margin-top: 8px;\n}\n\n.index-module--gf_Q8 th,\n.index-module--gf_Q8 td {\n border: 1px solid #ddd;\n padding: 8px;\n text-align: left;\n line-break: anywhere;\n}\n\n.index-module--gf_Q8 th {\n background-color: #f2f2f2;\n}\n",""]);var p="index-module--sS9Y_",x="index-module--O5GJU",m="index-module--xNfvC",f="index-module--oALcg",g="index-module--HpoCh",h="index-module--bBk4P",b="index-module--sBWMs",N="index-module--XrXfq",j="index-module--uzZoJ",v="index-module--wrmAf",y="index-module--GsJQn",D="index-module--gf_Q8";const O=c},69288:(e,n,t)=>{t.d(n,{$Q:()=>d,EC:()=>p,Fs:()=>u,Kz:()=>a,ZP:()=>x,fm:()=>c,hX:()=>s});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r)()(i());l.push([e.id,".index-module--TMuWx {\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #ffffff;\n border-collapse: collapse;\n border-width: 0px;\n border-color: #e7eaf8;\n border-style: solid;\n color: #000000;\n font-weight: normal;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n overflow-y: auto;\n top: 73px;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.index-module--YulNJ {\n height: 12px;\n font-size: 10px;\n}\n\n.index-module--TMuWx thead {\n font-weight: bold !important;\n}\n\n.index-module--TMuWx thead {\n border-bottom: 1px solid;\n background-color: var(--thirdColor);\n font-size: 16px;\n padding-top: 1%;\n color: white;\n}\n.index-module--aAXou {\n text-align: left;\n}\n.index-module--aAXou:first-child {\n height: 20px;\n}\n\n.index-module--aAXou th {\n border-bottom: 1px solid;\n padding-right: 10px;\n margin-bottom: 1%;\n font-weight: normal;\n}\n.index-module--gR4ES {\n overflow: auto;\n left: 50px;\n height: 100%;\n}\n.index-module--E6gUV {\n height: 8%;\n width: 100%;\n padding-top: 0.7%;\n text-align: center;\n position: absolute;\n background-color: var(--primaryColor);\n font-size: 30px;\n color: white;\n font-weight: 600;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 10px;\n}\n\n.index-module--FCFmD {\n z-index: 100;\n position: fixed;\n top: 60px;\n right: 0px;\n z-index: 100000;\n width: 600px;\n height: calc(100vh - 60px);\n background-color: #fff;\n overflow: auto;\n}\n\n.index-module--aeMhl {\n padding: 16px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n border: 1px solid #ddd;\n border-radius: 8px;\n}\n\n.index-module--NUFfA {\n font-size: 1.5em;\n font-weight: bold;\n}\n\n.index-module--sd0v0 {\n margin-top: 16px;\n font-size: 1.2em;\n font-weight: bold;\n}\n\n.index-module--YZIPe {\n width: 100%;\n border-collapse: collapse;\n margin-top: 8px;\n}\n\n.index-module--YZIPe th,\n.index-module--YZIPe td {\n border: 1px solid #ddd;\n padding: 8px;\n text-align: left;\n line-break: anywhere;\n}\n\n.index-module--YZIPe th {\n background-color: #f2f2f2;\n}\n",""]);var a="index-module--TMuWx",s="index-module--YulNJ",d="index-module--aAXou",c="index-module--gR4ES",u="index-module--E6gUV",p="index-module--FCFmD";const x=l},89965:(e,n,t)=>{t.d(n,{NF:()=>s,ZP:()=>c,ec:()=>a,pb:()=>d});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r)()(i());l.push([e.id,".index-module--NA4Nc {\n position: absolute;\n margin-left: 50px;\n height: 92%;\n background-color: var(--settingsBackgroundColor);\n padding-left: 5px;\n overflow: auto;\n display: flex;\n flex-direction: column;\n box-shadow: inset 0px 4px 40px 1px rgba(0, 0, 0, 0.1);\n border-right: 2px solid;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n.index-module--zxgl3 {\n width: calc(25.5%) !important;\n}\n.index-module--zxgl3 {\n background-color: white;\n}\n.index-module--WGNyK {\n z-index: 590;\n background-color: rgba(250, 250, 250, 0.5);\n width: calc(63% - 50px);\n /*width: calc(69% - 50px); pfister*/\n}\n",""]);var a="index-module--NA4Nc",s="index-module--zxgl3",d="index-module--WGNyK";const c=l},72035:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(8081),i=t.n(o),r=t(23645),l=t.n(r)()(i());l.push([e.id,"/* base styles */\n\n._GzYRV {\n line-height: 1.2;\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n}\n\n._3eOF8 {\n margin-right: 5px;\n font-weight: bold;\n}\n\n._3eOF8 + ._3eOF8 {\n margin-left: -5px;\n}\n\n._1MFti {\n cursor: pointer;\n}\n\n._f10Tu {\n font-size: 1.2em;\n margin-right: 5px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n._1UmXx::after {\n content: '\\25B8';\n}\n\n._1LId0::after {\n content: '\\25BE';\n}\n\n._1pNG9 {\n margin-right: 5px;\n}\n\n._1pNG9::after {\n content: '...';\n font-size: 0.8em;\n}\n\n._2IvMF {\n background: #eee;\n}\n\n._2bkNM {\n margin: 0 10px;\n padding: 0;\n}\n\n._2bkNM > ul {\n margin: 0;\n padding: 0;\n}\n\n/* default light style */\n._1MGIk {\n font-weight: 600;\n margin-right: 5px;\n color: #000000;\n}\n\n._2YKJg {\n}\n\n._3uHL6 {\n color: #000000;\n}\n\n._2T6PJ {\n color: #df113a;\n}\n\n._1Gho6 {\n color: #df113a;\n}\n\n._vGjyY {\n color: rgb(42, 63, 60);\n}\n\n._1bQdo {\n color: #0b75f5;\n}\n\n._3zQKs {\n color: rgb(70, 144, 56);\n}\n\n._1xvuR {\n color: #43413d;\n}\n\n._oLqym {\n color: #000000;\n}\n\n._2AXVT {\n color: #000000;\n}\n\n._2KJWg {\n color: #000000;\n}\n\n/* default dark style */\n._11RoI {\n background: rgb(0, 43, 54);\n}\n\n._17H2C {\n color: rgb(253, 246, 227);\n}\n\n._3QHg2 {\n color: rgb(253, 246, 227);\n}\n\n._3fDAz {\n color: rgb(253, 246, 227);\n}\n\n._2bSDX {\n font-weight: bolder;\n margin-right: 5px;\n color: rgb(253, 246, 227);\n}\n\n._1RQEj {\n}\n\n._gsbQL {\n color: rgb(253, 246, 227);\n}\n\n._LaAZe {\n color: rgb(129, 181, 172);\n}\n\n._GTKgm {\n color: rgb(129, 181, 172);\n}\n\n._Chy1W {\n color: rgb(203, 75, 22);\n}\n\n._2bveF {\n color: rgb(211, 54, 130);\n}\n\n._2vRm- {\n color: rgb(174, 129, 255);\n}\n\n._1prJR {\n color: rgb(38, 139, 210);\n}\n",""]);const a=l},36115:(e,n,t)=>{t.d(n,{$Q:()=>f.$Q,EC:()=>f.EC,Fs:()=>f.Fs,Kz:()=>f.Kz,Se:()=>f.Se,UF:()=>f.UF,ao:()=>f.ao,dY:()=>f.dY,fm:()=>f.fm,hX:()=>f.hX,ii:()=>f.ii,uR:()=>f.uR});var o=t(93379),i=t.n(o),r=t(7795),l=t.n(r),a=t(90569),s=t.n(a),d=t(3565),c=t.n(d),u=t(19216),p=t.n(u),x=t(44589),m=t.n(x),f=t(33981),g={};g.styleTagTransform=m(),g.setAttributes=c(),g.insert=s().bind(null,"head"),g.domAPI=l(),g.insertStyleElement=p();i()(f.ZP,g),f.ZP&&f.ZP.locals&&f.ZP.locals},51203:(e,n,t)=>{t.d(n,{NF:()=>f.NF,ec:()=>f.ec,pb:()=>f.pb});var o=t(93379),i=t.n(o),r=t(7795),l=t.n(r),a=t(90569),s=t.n(a),d=t(3565),c=t.n(d),u=t(19216),p=t.n(u),x=t(44589),m=t.n(x),f=t(89965),g={};g.styleTagTransform=m(),g.setAttributes=c(),g.insert=s().bind(null,"head"),g.domAPI=l(),g.insertStyleElement=p();i()(f.ZP,g),f.ZP&&f.ZP.locals&&f.ZP.locals},76839:(e,n,t)=>{var o=t(93379),i=t.n(o),r=t(7795),l=t.n(r),a=t(90569),s=t.n(a),d=t(3565),c=t.n(d),u=t(19216),p=t.n(u),x=t(44589),m=t.n(x),f=t(72035),g={};g.styleTagTransform=m(),g.setAttributes=c(),g.insert=s().bind(null,"head"),g.domAPI=l(),g.insertStyleElement=p();i()(f.Z,g),f.Z&&f.Z.locals&&f.Z.locals},76380:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuMzUzNTUgMC42NDY0NDdDMS4xNTgyOSAwLjQ1MTE4NCAwLjg0MTcwOSAwLjQ1MTE4NCAwLjY0NjQ0NyAwLjY0NjQ0N0MwLjQ1MTE4NCAwLjg0MTcwOSAwLjQ1MTE4NCAxLjE1ODI5IDAuNjQ2NDQ3IDEuMzUzNTVMMS4zNTM1NSAwLjY0NjQ0N1pNOC42NDY0NSA5LjM1MzU1QzguODQxNzEgOS41NDg4MiA5LjE1ODI5IDkuNTQ4ODIgOS4zNTM1NSA5LjM1MzU1QzkuNTQ4ODIgOS4xNTgyOSA5LjU0ODgyIDguODQxNzEgOS4zNTM1NSA4LjY0NjQ1TDguNjQ2NDUgOS4zNTM1NVpNOS4zNTM1NSAxLjM1MzU1QzkuNTQ4ODIgMS4xNTgyOSA5LjU0ODgyIDAuODQxNzA5IDkuMzUzNTUgMC42NDY0NDdDOS4xNTgyOSAwLjQ1MTE4NCA4Ljg0MTcxIDAuNDUxMTg0IDguNjQ2NDUgMC42NDY0NDdMOS4zNTM1NSAxLjM1MzU1Wk0wLjY0NjQ0NyA4LjY0NjQ1QzAuNDUxMTg1IDguODQxNzEgMC40NTExODUgOS4xNTgyOSAwLjY0NjQ0NyA5LjM1MzU1QzAuODQxNzA5IDkuNTQ4ODEgMS4xNTgyOSA5LjU0ODgxIDEuMzUzNTUgOS4zNTM1NUwwLjY0NjQ0NyA4LjY0NjQ1Wk0wLjY0NjQ0NyAxLjM1MzU1TDguNjQ2NDUgOS4zNTM1NUw5LjM1MzU1IDguNjQ2NDVMMS4zNTM1NSAwLjY0NjQ0N0wwLjY0NjQ0NyAxLjM1MzU1Wk04LjY0NjQ1IDAuNjQ2NDQ3TDAuNjQ2NDQ3IDguNjQ2NDVMMS4zNTM1NSA5LjM1MzU1TDkuMzUzNTUgMS4zNTM1NUw4LjY0NjQ1IDAuNjQ2NDQ3WiIgZmlsbD0iIzRGNEY0RiIvPgo8L3N2Zz4K"},88291:(e,n,t)=>{function _objectDestructuringEmpty(e){if(null==e)throw new TypeError("Cannot destructure "+e)}t.d(n,{Z:()=>_objectDestructuringEmpty})}}]);
|