@ubnt/store.core 9.40.0-alpha.5 → 9.40.0-alpha.6
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/CHANGELOG.md +4 -0
- package/lib/assets/ai-dslr.jpg +0 -0
- package/lib/assets/ai-dslr2.jpg +0 -0
- package/lib/assets/ai-theta.jpg +0 -0
- package/lib/assets/ai-theta2.jpg +0 -0
- package/lib/assets/ai-turret.jpg +0 -0
- package/lib/assets/ai-turret2.jpg +0 -0
- package/lib/assets/arrow-icon-tertiary.svg +3 -0
- package/lib/assets/building-bridge-xg.jpg +0 -0
- package/lib/assets/building-bridge-xg2.jpg +0 -0
- package/lib/assets/building-bridge.jpg +0 -0
- package/lib/assets/building-bridge2.jpg +0 -0
- package/lib/assets/compact.svg +2 -2
- package/lib/assets/compact2.svg +2 -2
- package/lib/assets/g4-instant.jpg +0 -0
- package/lib/assets/g4-instant2.jpg +0 -0
- package/lib/assets/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus2.svg +22 -4
- package/lib/assets/plus3.svg +4 -22
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/plus7.svg +9 -9
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +22 -2
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.mjs +22 -3
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.d.ts +8 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js +36 -2
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.mjs +34 -3
- package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/VisualTopology/assets/arrow-icon-tertiary.svg.js +27 -0
- package/lib/components/MicrositeHeader/components/VisualTopology/assets/arrow-icon-tertiary.svg.js.map +1 -0
- package/lib/components/MicrositeHeader/components/VisualTopology/assets/arrow-icon-tertiary.svg.mjs +3 -0
- package/lib/components/MicrositeHeader/components/VisualTopology/assets/arrow-icon-tertiary.svg.mjs.map +1 -0
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/ProductWizard/ProductWizard.js +1 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/compact.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/compact.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/compact.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/compact.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/gateways-enterprise.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/gateways-enterprise.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/gateways-large-scale.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/gateways-large-scale.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/gateways-wifi-integrated.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/gateways-wifi-integrated.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-building-bridge.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-building-bridge.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-flagship.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-flagship.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-outdoor.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-outdoor.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-wall.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/wifi-wall.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/buildingBridge.js +2 -2
- package/lib/constants/modelCompareData/data/products/buildingBridge.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/buildingBridgeXG.js +2 -2
- package/lib/constants/modelCompareData/data/products/buildingBridgeXG.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.js +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/theta.js +2 -2
- package/lib/constants/modelCompareData/data/products/theta.mjs +2 -2
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js +2 -0
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs +2 -0
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 9.40.0-alpha.6
|
|
10
|
+
|
|
11
|
+
- [Feat] [MIC-417](https://ubiquiti.atlassian.net/browse/MIC-417) Collapse Topology by default and allow expanding it
|
|
12
|
+
|
|
9
13
|
### 9.40.0-alpha.5
|
|
10
14
|
|
|
11
15
|
- [Feat] [MIC-417](https://ubiquiti.atlassian.net/browse/MIC-417) Update Sitemap to latest design
|
package/lib/assets/ai-dslr.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-dslr2.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-theta.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-theta2.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-turret.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="4" viewBox="0 0 8 4" fill="none">
|
|
2
|
+
<path d="M0 0.49985C-1.62133e-09 0.635851 0.0549998 0.77185 0.164 0.87085L3.303 3.71785C3.69 4.09485 4.31 4.09485 4.697 3.71785L7.836 0.870851C8.04 0.68485 8.056 0.368851 7.87 0.164851C7.685 -0.0401493 7.368 -0.0551491 7.164 0.130851L4 2.99985L3.982 2.98285L0.836 0.129851C0.631 -0.0561496 0.315001 -0.0401493 0.130001 0.16385C0.0430002 0.25985 1.41952e-09 0.38085 0 0.49985Z" fill="#006FFF"/>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/compact.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="16" height="21" viewBox="0 0 16 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.0179 1.55078C2.79895 1.55078 1 3.34953 1 5.56877V14.4578C1.10691 14.4635 1.2428 14.4695 1.4139 14.4758C2.03838 14.4982 3.13187 14.5204 5.00645 14.5204C6.26667 14.5204 7.17385 14.5105 7.82286 14.4971V11.175C7.82286 10.0669 8.28853 9.07029 9.03581 8.35652V5.56877C9.03581 3.34953 7.23682 1.55078 5.0179 1.55078ZM5.00645 14.6641C6.26534 14.6641 7.17273 14.6539 7.82286 14.6405V16.8972C7.82286 17.8901 8.29307 18.769 9.02303 19.3403C8.91955 19.369 8.14056 19.5508 5.0179 19.5508C1.62752 19.5508 1 19.3366 1 19.3366V14.6014C1.06285 14.6046 1.13533 14.6081 1.21857 14.6116C1.27662 14.6141 1.33991 14.6166 1.40878 14.619C1.8075 14.6333 2.39578 14.6476 3.25396 14.6562C3.47392 14.6583 3.7116 14.6601 3.96836 14.6615C4.28462 14.6631 4.62983 14.6641 5.00645 14.6641ZM5.01394 2.19146C3.18625 2.19146 1.70454 3.67311 1.70454 5.50077V6.56587C1.70454 8.17681 3.01024 9.48245 4.62104 9.48245H5.40682C7.01762 9.48245 8.32331 8.17681 8.32331 6.56587V5.50077C8.32331 3.67311 6.8416 2.19146 5.01394 2.19146ZM6.73212 5.8669C6.73212 6.81566 5.9629 7.58494 5.01394 7.58494C4.06495 7.58494 3.29574 6.81566 3.29574 5.8669C3.29574 4.91792 4.06495 4.14864 5.01394 4.14864C5.9629 4.14864 6.73212 4.91792 6.73212 5.8669ZM5.82074 5.8669C5.82074 6.31237 5.45958 6.67365 5.01394 6.67365C4.56827 6.67365 4.20714 6.31237 4.20714 5.8669C4.20714 5.42121 4.56827 5.05993 5.01394 5.05993C5.45958 5.05993 5.82074 5.42121 5.82074 5.8669ZM5.08602 8.0614C5.06746 8.07967 5.04201 8.091 5.01394 8.091C4.95719 8.091 4.91122 8.0452 4.91122 7.98831C4.91122 7.93164 4.95719 7.88561 5.01394 7.88561C5.07067 7.88561 5.11663 7.93164 5.11663 7.98831C5.11663 8.01699 5.10493 8.04289 5.08602 8.0614ZM5.01394 3.8778C5.04164 3.8778 5.06676 3.86693 5.08521 3.84912C5.10458 3.83039 5.11663 3.80402 5.11663 3.77511C5.11663 3.75984 5.11334 3.7455 5.10741 3.73255C5.09122 3.69716 5.05546 3.67241 5.01394 3.67241C4.99781 3.67241 4.98254 3.67612 4.96898 3.68282C4.94993 3.69207 4.93418 3.70711 4.92397 3.72561C4.91585 3.74018 4.91122 3.75707 4.91122 3.77511C4.91122 3.83177 4.95719 3.8778 5.01394 3.8778ZM8.29654 11.175C8.29654 9.26064 9.8871 7.70868 11.8492 7.70868C13.8112 7.70868 15.4018 9.26064 15.4018 11.175V16.8972C15.4018 18.3626 14.1841 19.5508 12.6821 19.5508H11.0163C9.5142 19.5508 8.29654 18.3626 8.29654 16.8972V11.175ZM9.79664 11.2539C9.79664 10.1479 10.7156 9.25116 11.8492 9.25116C12.9828 9.25116 13.9017 10.1479 13.9017 11.2539V13.1197C13.9017 14.2258 12.9828 15.1225 11.8492 15.1225C10.7156 15.1225 9.79664 14.2258 9.79664 13.1197V11.2539ZM11.8492 16.8639C11.7741 16.8639 11.7132 16.9233 11.7132 16.9966V18.0166C11.7132 18.0899 11.7741 18.1494 11.8492 18.1494C11.9243 18.1494 11.9852 18.0899 11.9852 18.0166V16.9966C11.9852 16.9233 11.9243 16.8639 11.8492 16.8639ZM13.1155 11.2497C13.1155 11.9321 12.5486 12.4853 11.8492 12.4853C11.1498 12.4853 10.5828 11.9321 10.5828 11.2497C10.5828 10.5672 11.1498 10.0142 11.8492 10.0142C12.5486 10.0142 13.1155 10.5672 13.1155 11.2497Z" fill="#808893"/>
|
|
3
3
|
</svg>
|
package/lib/assets/compact2.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="48" height="38" viewBox="0 0 48 38" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.6854 0C12.0009 0 8.20312 3.79736 8.20312 8.48242V27.248C8.42883 27.2603 8.7157 27.2729 9.0769 27.2861C10.3953 27.3335 12.7037 27.3804 16.6612 27.3804C19.3217 27.3804 21.2368 27.3594 22.6069 27.3311V20.3179C22.6069 17.9785 23.59 15.8745 25.1676 14.3677V8.48242C25.1676 3.79736 21.3698 0 16.6854 0ZM16.6612 27.6836C19.3188 27.6836 21.2344 27.6621 22.6069 27.6338V32.3979C22.6069 34.4941 23.5996 36.3496 25.1406 37.5557C24.9222 37.6162 23.2776 38 16.6854 38C9.52789 38 8.20312 37.5479 8.20312 37.5479V27.5513C8.33582 27.5581 8.48883 27.5654 8.66455 27.5728C8.78711 27.5781 8.92072 27.5835 9.0661 27.5884C9.90784 27.6187 11.1498 27.6489 12.9615 27.667C13.4258 27.6714 13.9276 27.6753 14.4697 27.6782C15.1373 27.6816 15.8661 27.6836 16.6612 27.6836ZM16.677 1.35254C12.8185 1.35254 9.69049 4.48047 9.69049 8.33887V10.5874C9.69049 13.9883 12.447 16.7446 15.8475 16.7446H17.5064C20.907 16.7446 23.6635 13.9883 23.6635 10.5874V8.33887C23.6635 4.48047 20.5354 1.35254 16.677 1.35254ZM20.3043 9.11182C20.3043 11.1147 18.6804 12.7388 16.677 12.7388C14.6736 12.7388 13.0497 11.1147 13.0497 9.11182C13.0497 7.1084 14.6736 5.48438 16.677 5.48438C18.6804 5.48438 20.3043 7.1084 20.3043 9.11182ZM18.3802 9.11182C18.3802 10.0522 17.6178 10.8149 16.677 10.8149C15.7361 10.8149 14.9738 10.0522 14.9738 9.11182C14.9738 8.1709 15.7361 7.4082 16.677 7.4082C17.6178 7.4082 18.3802 8.1709 18.3802 9.11182ZM16.8292 13.7446C16.79 13.7832 16.7363 13.8071 16.677 13.8071C16.5572 13.8071 16.4601 13.7104 16.4601 13.5903C16.4601 13.4707 16.5572 13.3735 16.677 13.3735C16.7968 13.3735 16.8938 13.4707 16.8938 13.5903C16.8938 13.6509 16.8691 13.7056 16.8292 13.7446ZM16.677 4.9126C16.7355 4.9126 16.7885 4.88965 16.8275 4.85205C16.8683 4.8125 16.8938 4.75684 16.8938 4.6958C16.8938 4.66357 16.8868 4.6333 16.8743 4.60596C16.8401 4.53125 16.7646 4.479 16.677 4.479C16.6429 4.479 16.6107 4.48682 16.5821 4.50098C16.5419 4.52051 16.5086 4.55225 16.4871 4.59131C16.4699 4.62207 16.4601 4.65771 16.4601 4.6958C16.4601 4.81543 16.5572 4.9126 16.677 4.9126ZM23.6069 20.3179C23.6069 16.2764 26.9648 13 31.1069 13C35.2491 13 38.6069 16.2764 38.6069 20.3179V32.3979C38.6069 35.4917 36.0363 38 32.8653 38H29.3486C26.1776 38 23.6069 35.4917 23.6069 32.3979V20.3179ZM26.7738 20.4844C26.7738 18.1494 28.7138 16.2563 31.1069 16.2563C33.5001 16.2563 35.4401 18.1494 35.4401 20.4844V24.4233C35.4401 26.7583 33.5001 28.6514 31.1069 28.6514C28.7138 28.6514 26.7738 26.7583 26.7738 24.4233V20.4844ZM31.1069 32.3276C30.9484 32.3276 30.8198 32.4531 30.8198 32.6079V34.7612C30.8198 34.916 30.9484 35.0415 31.1069 35.0415C31.2655 35.0415 31.394 34.916 31.394 34.7612V32.6079C31.394 32.4531 31.2655 32.3276 31.1069 32.3276ZM33.7804 20.4756C33.7804 21.916 32.5834 23.084 31.1069 23.084C29.6304 23.084 28.4335 21.916 28.4335 20.4756C28.4335 19.0347 29.6304 17.8672 31.1069 17.8672C32.5834 17.8672 33.7804 19.0347 33.7804 20.4756Z" fill="#8E8E8E"/>
|
|
3
3
|
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../
|
|
2
|
-
export { default } from "../../
|
|
1
|
+
export * from "../../plus2.svg";
|
|
2
|
+
export { default } from "../../plus2.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
package/lib/assets/minus4.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_406)">
|
|
4
|
+
<path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_658_406)">
|
|
8
|
+
<rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_658_406">
|
|
12
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/minus5.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15898)">
|
|
4
|
+
<path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_426_15898)">
|
|
8
|
+
<rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_426_15898">
|
|
12
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/pause.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<rect x="
|
|
3
|
-
<rect x="
|
|
1
|
+
<svg width="13" height="17" viewBox="0 0 13 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.232422" width="4" height="17" rx="2" fill="#393A3F"/>
|
|
3
|
+
<rect x="8.23242" width="4" height="17" rx="2" fill="#393A3F"/>
|
|
4
4
|
</svg>
|
package/lib/assets/pause2.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<rect x="
|
|
3
|
-
<rect x="
|
|
1
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="6" y="3" width="3" height="16" rx="1.5" fill="#393A3F"/>
|
|
3
|
+
<rect x="12" y="3" width="3" height="16" rx="1.5" fill="#393A3F"/>
|
|
4
4
|
</svg>
|
package/lib/assets/plus2.svg
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<svg
|
|
2
|
+
width="10"
|
|
3
|
+
height="10"
|
|
4
|
+
viewBox="0 0 10 10"
|
|
5
|
+
fill="none"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<rect
|
|
9
|
+
y="4.5"
|
|
10
|
+
width="10"
|
|
11
|
+
height="1"
|
|
12
|
+
fill="#838691"
|
|
13
|
+
/>
|
|
14
|
+
<rect
|
|
15
|
+
x="4.5"
|
|
16
|
+
y="10"
|
|
17
|
+
width="10"
|
|
18
|
+
height="1"
|
|
19
|
+
transform="rotate(-90 4.5 10)"
|
|
20
|
+
fill="#838691"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
package/lib/assets/plus3.svg
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
fill="none"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
>
|
|
8
|
-
<rect
|
|
9
|
-
y="4.5"
|
|
10
|
-
width="10"
|
|
11
|
-
height="1"
|
|
12
|
-
fill="#838691"
|
|
13
|
-
/>
|
|
14
|
-
<rect
|
|
15
|
-
x="4.5"
|
|
16
|
-
y="10"
|
|
17
|
-
width="10"
|
|
18
|
-
height="1"
|
|
19
|
-
transform="rotate(-90 4.5 10)"
|
|
20
|
-
fill="#838691"
|
|
21
|
-
/>
|
|
22
|
-
</svg>
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C8 0.453333 7.54667 0 7 0C6.45333 0 6 0.453333 6 1V6H1C0.453333 6 0 6.45333 0 7C0 7.54667 0.453333 8 1 8H6V13C6 13.5467 6.45333 14 7 14C7.54667 14 8 13.5467 8 13V8H13C13.5467 8 14 7.54667 14 7C14 6.45333 13.5467 6 13 6H8V1Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
package/lib/assets/plus6.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_411)">
|
|
4
|
+
<path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
|
|
5
|
+
<path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_658_411)">
|
|
9
|
+
<rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_658_411">
|
|
13
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/plus7.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15903)">
|
|
4
|
+
<path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
|
|
5
|
+
<path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_426_15903)">
|
|
9
|
+
<rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_426_15903">
|
|
13
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
|
@@ -5,7 +5,7 @@ require('../../StyleableSvgImage/index.js');
|
|
|
5
5
|
require('../assets/plus.svg.js');
|
|
6
6
|
var AllFeaturesButton_styles = require('./AllFeaturesButton.styles.js');
|
|
7
7
|
var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
|
|
8
|
-
var PlusIcon = require("../../../assets/
|
|
8
|
+
var PlusIcon = require("../../../assets/plus3.svg");
|
|
9
9
|
function _interopDefault(e) {
|
|
10
10
|
return e && e.__esModule ? e : {
|
|
11
11
|
default: e
|
|
@@ -3,7 +3,7 @@ import '../../StyleableSvgImage/index.mjs';
|
|
|
3
3
|
import '../assets/plus.svg.mjs';
|
|
4
4
|
import { StyledButton, InnerWrap } from './AllFeaturesButton.styles.mjs';
|
|
5
5
|
import { StyleableSvgImage } from '../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
6
|
-
import PlusIcon__default from "../../../assets/
|
|
6
|
+
import PlusIcon__default from "../../../assets/plus3.svg";
|
|
7
7
|
"use strict";
|
|
8
8
|
const AllFeaturesButton = ({
|
|
9
9
|
className,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/plus3.svg";
|
|
2
|
+
export { default } from "../../../assets/plus3.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
|
@@ -8,11 +8,15 @@ require('../../../../contexts/MenuContext/index.js');
|
|
|
8
8
|
require('../../../../contexts/MicrositeMenuContext/index.js');
|
|
9
9
|
var mapping = require('../../../../contexts/MicrositeMenuContext/mapping.js');
|
|
10
10
|
var translations = require('../../../../contexts/MicrositeMenuContext/translations.js');
|
|
11
|
+
require('../../../Button/index.js');
|
|
12
|
+
require('./assets/arrow-icon-tertiary.svg.js');
|
|
11
13
|
var LinePaths = require('./LinePaths.js');
|
|
12
14
|
var Topology_config = require('./Topology.config.js');
|
|
13
15
|
var VisualTopology_styles = require('./VisualTopology.styles.js');
|
|
14
16
|
var context = require('../../../../contexts/MicrositeMenuContext/context.js');
|
|
15
17
|
var context$1 = require('../../../../contexts/MenuContext/context.js');
|
|
18
|
+
var Button = require('../../../Button/Button.js');
|
|
19
|
+
var ArrowIconTertiary = require("../../../../assets/arrow-icon-tertiary.svg");
|
|
16
20
|
var _externalAssets_D$Ulf_i_ = require("../../../../assets/minus3.svg");
|
|
17
21
|
var _externalAssets_Bq7Yumgn = require("../../../../assets/plus4.svg");
|
|
18
22
|
function _interopDefault(e) {
|
|
@@ -20,6 +24,7 @@ function _interopDefault(e) {
|
|
|
20
24
|
default: e
|
|
21
25
|
};
|
|
22
26
|
}
|
|
27
|
+
var ArrowIconTertiary__default = /*#__PURE__*/_interopDefault(ArrowIconTertiary);
|
|
23
28
|
var _externalAssets_D$Ulf_i___default = /*#__PURE__*/_interopDefault(_externalAssets_D$Ulf_i_);
|
|
24
29
|
var _externalAssets_Bq7Yumgn__default = /*#__PURE__*/_interopDefault(_externalAssets_Bq7Yumgn);
|
|
25
30
|
"use strict";
|
|
@@ -70,6 +75,7 @@ const VisualTopology = ({
|
|
|
70
75
|
const containerRef = React.useRef(null);
|
|
71
76
|
const elementsRef = React.useRef({});
|
|
72
77
|
const categoryRef = React.useRef({});
|
|
78
|
+
const [isTopologyExpanded, setIsTopologyExpanded] = React.useState(false);
|
|
73
79
|
const [activeSubmenu, setActiveSubmenu] = React.useState(null);
|
|
74
80
|
const filteredNavigation = React.useMemo(() => {
|
|
75
81
|
return items.filter(({
|
|
@@ -91,9 +97,23 @@ const VisualTopology = ({
|
|
|
91
97
|
}
|
|
92
98
|
}, [filteredNavigation]);
|
|
93
99
|
return /* @__PURE__ */jsxRuntime.jsxs(VisualTopology_styles.RootTopologyContainer, {
|
|
94
|
-
children: [/* @__PURE__ */jsxRuntime.
|
|
95
|
-
children:
|
|
100
|
+
children: [/* @__PURE__ */jsxRuntime.jsxs(VisualTopology_styles.TopologyHeader, {
|
|
101
|
+
children: [/* @__PURE__ */jsxRuntime.jsx(VisualTopology_styles.SectionTitle, {
|
|
102
|
+
children: formatMessage("menu.topology.title")
|
|
103
|
+
}), /* @__PURE__ */jsxRuntime.jsxs(Button.Button, {
|
|
104
|
+
variant: "link",
|
|
105
|
+
onClick: () => setIsTopologyExpanded(!isTopologyExpanded),
|
|
106
|
+
children: [/* @__PURE__ */jsxRuntime.jsx(VisualTopology_styles.ButtonLabel, {
|
|
107
|
+
children: isTopologyExpanded ? formatMessage("commons.hide") : formatMessage("commons.show")
|
|
108
|
+
}), /* @__PURE__ */jsxRuntime.jsx(VisualTopology_styles.StyledArrowIcon, {
|
|
109
|
+
src: ArrowIconTertiary__default["default"],
|
|
110
|
+
width: 8,
|
|
111
|
+
height: 8,
|
|
112
|
+
$isOpen: isTopologyExpanded
|
|
113
|
+
})]
|
|
114
|
+
})]
|
|
96
115
|
}), /* @__PURE__ */jsxRuntime.jsxs(VisualTopology_styles.ItemsContainer, {
|
|
116
|
+
$isVisible: isTopologyExpanded,
|
|
97
117
|
children: [/* @__PURE__ */jsxRuntime.jsxs(VisualTopology_styles.ContentWrapper, {
|
|
98
118
|
ref: containerRef,
|
|
99
119
|
children: [Topology_config.rootConfig.map(({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualTopology.js","sources":["../../../../../src/components/MicrositeHeader/components/VisualTopology/VisualTopology.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport type React from \"react\";\nimport { useEffect, useMemo, useRef, useState } from \"react\";\n\nimport { generic } from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport type { SiteUrl } from \"../../../../contexts/MenuContext/mapping\";\nimport { useMicrositeMenu } from \"../../../../contexts/MicrositeMenuContext\";\nimport { MenuCategoryId } from \"../../../../contexts/MicrositeMenuContext/mapping\";\nimport { useMicrositeMenuTranslations } from \"../../../../contexts/MicrositeMenuContext/translations\";\nimport type { MicrositeHeaderItem } from \"../../../../contexts/MicrositeMenuContext/types\";\nimport { LinePaths } from \"./LinePaths\";\nimport { rootConfig } from \"./Topology.config\";\nimport * as S from \"./VisualTopology.styles\";\nimport type { IVisualTopologyProps } from \"./VisualTopology.types\";\n\nconst HIDDEN_ITEMS = [MenuCategoryId.CloudGateways, MenuCategoryId.Switching];\n\nconst ROOT_SVG_ANIMATION_CONFIG = [\n { id: \"blueParticlesRoot\", color: \"#006FFF\" },\n { id: \"purpleParticlesRoot\", color: \"#A252E3\" },\n { id: \"blurContainerRoot\", color: \"#e5f1ff\" },\n];\n\nconst PARENT_SVG_ANIMATION_CONFIG = [\n { id: \"blueParticlesParent\", color: \"#006FFF\" },\n { id: \"purpleParticlesParent\", color: \"#A252E3\" },\n { id: \"blurContainerParent\", color: \"#e5f1ff\" },\n];\n\nconst SVG_ANIMATION_CONFIG = [\n { id: \"blueParticles\", color: \"#006FFF\" },\n { id: \"purpleParticles\", color: \"#A252E3\" },\n { id: \"blurContainer\", color: \"#e5f1ff\" },\n];\n\nexport const VisualTopology: React.FC<Readonly<IVisualTopologyProps>> = ({\n items,\n onLinkClick,\n}) => {\n const { language } = useMicrositeMenu();\n const { formatMessage } = useMicrositeMenuTranslations(language);\n const { createSiteUrl } = useMenu();\n\n const containerRef = useRef<HTMLDivElement | null>(null);\n const elementsRef = useRef<Record<string, HTMLButtonElement | null>>({});\n const categoryRef = useRef<Record<string, HTMLButtonElement | null>>({});\n\n const [activeSubmenu, setActiveSubmenu] =\n useState<MicrositeHeaderItem | null>(null);\n\n const filteredNavigation = useMemo(() => {\n return items.filter(\n ({ id }) => !HIDDEN_ITEMS.includes(id as MenuCategoryId),\n );\n }, [items]);\n\n const filteredActiveSubmenu = useMemo(() => {\n return (activeSubmenu?.items ?? []).filter(({ isOverview }) => !isOverview);\n }, [activeSubmenu]);\n\n useEffect(() => {\n if (!filteredNavigation?.length) {\n return;\n }\n\n const [wifi] = filteredNavigation;\n\n if (wifi) {\n setActiveSubmenu(wifi);\n }\n }, [filteredNavigation]);\n\n return (\n <S.RootTopologyContainer>\n <S.SectionTitle>{formatMessage(\"menu.topology.title\")}</S.SectionTitle>\n <S.ItemsContainer>\n <S.ContentWrapper ref={containerRef}>\n {rootConfig.map(({ id, label, url, isExternal, icon }, index) => (\n <S.Item\n key={`${id}-${index}`}\n as={url ? \"a\" : \"span\"}\n {...(url\n ? {\n href: isExternal ? url : createSiteUrl(url),\n target: isExternal ? \"_blank\" : \"_self\",\n }\n : {})}\n >\n {!!icon && (\n <S.IconWrapper>\n <S.ItemIcon\n id={id}\n src={icon.src as string}\n $width={icon.width}\n $height={icon.height}\n />\n </S.IconWrapper>\n )}\n\n {!!label && <S.ItemLabel>{formatMessage(label)}</S.ItemLabel>}\n </S.Item>\n ))}\n\n <S.RootSvgContainer>\n {ROOT_SVG_ANIMATION_CONFIG.map(({ id, color }, index) => (\n <svg\n id={id}\n key={id}\n width={ROOT_SVG_ANIMATION_CONFIG.length - 1 === index ? 6 : 2}\n height=\"182\"\n viewBox=\"0 0 2 182\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{\n position: \"absolute\",\n zIndex: 5 - index,\n }}\n >\n <path d=\"M1 182L2 0\" stroke={color} />\n </svg>\n ))}\n </S.RootSvgContainer>\n </S.ContentWrapper>\n\n <S.RelativeContentContainer>\n <S.TopologyMainContainer style={{ paddingTop: \"48px\" }}>\n {filteredNavigation.map((item, itemIndex) => (\n <S.TopologyNavItem\n key={`${item.id}-${itemIndex}`}\n id={item.id}\n ref={(element) => (categoryRef.current[itemIndex] = element)}\n style={{ zIndex: 15 }}\n onClick={() => setActiveSubmenu(item)}\n >\n {!!item?.icon?.src && (\n <S.NavIcon\n src={item.icon.src as string}\n width={78}\n height={38}\n />\n )}\n <S.ItemLabel>{formatMessage(item.label)}</S.ItemLabel>\n <S.ExpandButton>\n <S.StyledIcon\n src={generic.minus}\n width={10}\n height={10}\n $isVisible={activeSubmenu?.id === item.id}\n />\n <S.StyledIcon\n src={generic.plus}\n width={10}\n height={10}\n $isVisible={activeSubmenu?.id !== item.id}\n />\n </S.ExpandButton>\n </S.TopologyNavItem>\n ))}\n\n {PARENT_SVG_ANIMATION_CONFIG.map(({ id, color }, index) => (\n <LinePaths\n key={id}\n id={id}\n zIndex={1 - index}\n parentId=\"poe-plus-plus\"\n items={filteredNavigation}\n elementsRef={categoryRef}\n strokeColor={color}\n />\n ))}\n </S.TopologyMainContainer>\n\n <S.SubNavigationTopologyContainer $isVisible>\n {SVG_ANIMATION_CONFIG.map(({ id, color }, index) => (\n <LinePaths\n key={id}\n id={id}\n zIndex={1 - index}\n items={filteredActiveSubmenu}\n parentId={activeSubmenu?.id as string}\n elementsRef={elementsRef}\n strokeColor={color}\n />\n ))}\n\n {filteredActiveSubmenu.map((item, elementIndex) => (\n <Tooltip\n motif=\"light\"\n key={`product-${item.id}`}\n cursorType=\"pointer\"\n className=\"product-tooltip\"\n position=\"bottom\"\n width={156}\n offset={10}\n description={\n item.description && (\n <S.TooltipLabel\n dangerouslySetInnerHTML={{\n __html: formatMessage(item.description),\n }}\n />\n )\n }\n >\n <S.TopologyNavItem\n $withHover\n ref={(element) =>\n (elementsRef.current[elementIndex] = element)\n }\n onClick={(event) =>\n onLinkClick(event, createSiteUrl(item.url as SiteUrl))\n }\n >\n {!!item?.icon?.src && (\n <S.NavIcon\n src={item.icon.src as string}\n height={38}\n width={38}\n />\n )}\n <S.ItemLabel>{formatMessage(item.label)}</S.ItemLabel>\n </S.TopologyNavItem>\n </Tooltip>\n ))}\n </S.SubNavigationTopologyContainer>\n </S.RelativeContentContainer>\n </S.ItemsContainer>\n <S.TooltipStyles />\n </S.RootTopologyContainer>\n );\n};\n"],"names":["HIDDEN_ITEMS","MenuCategoryId","CloudGateways","Switching","ROOT_SVG_ANIMATION_CONFIG","id","color","PARENT_SVG_ANIMATION_CONFIG","SVG_ANIMATION_CONFIG","VisualTopology","items","onLinkClick","language","useMicrositeMenu","formatMessage","useMicrositeMenuTranslations","createSiteUrl","useMenu","containerRef","useRef","elementsRef","categoryRef","activeSubmenu","setActiveSubmenu","useState","filteredNavigation","useMemo","filter","includes","filteredActiveSubmenu","isOverview","useEffect","length","wifi","jsxs","S.RootTopologyContainer","children","jsx","S.SectionTitle","SectionTitle","S.ItemsContainer","S.ContentWrapper","ref","rootConfig","map","label","url","isExternal","icon","index","S.Item","Item","as","href","target","S.IconWrapper","S.ItemIcon","ItemIcon","src","$width","width","$height","height","S.ItemLabel","ItemLabel","S.RootSvgContainer","RootSvgContainer","viewBox","xmlns","style","position","zIndex","d","stroke","S.RelativeContentContainer","S.TopologyMainContainer","TopologyMainContainer","paddingTop","item","itemIndex","S.TopologyNavItem","TopologyNavItem","element","current","onClick","S.NavIcon","NavIcon","S.ExpandButton","S.StyledIcon","StyledIcon","generic.minus","$isVisible","generic.plus","LinePaths","parentId","strokeColor","S.SubNavigationTopologyContainer","elementIndex","Tooltip","motif","cursorType","className","offset","description","S.TooltipLabel","TooltipLabel","dangerouslySetInnerHTML","__html","$withHover","event","S.TooltipStyles","TooltipStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,YAAe,GAAA,CAACC,OAAe,CAAAA,cAAA,CAAAC,aAAA,EAAeD,uBAAeE,SAAS,CAAA;AAE5E,MAAMC,yBAA4B,GAAA,CAChC;EAAEC,EAAA,EAAI,mBAAqB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC5C;EAAED,EAAA,EAAI,qBAAuB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC9C;EAAED,EAAA,EAAI,mBAAqB;EAAAC,KAAA,EAAO;AAAU,CAAA,CAC9C;AAEA,MAAMC,2BAA8B,GAAA,CAClC;EAAEF,EAAA,EAAI,qBAAuB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC9C;EAAED,EAAA,EAAI,uBAAyB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAChD;EAAED,EAAA,EAAI,qBAAuB;EAAAC,KAAA,EAAO;AAAU,CAAA,CAChD;AAEA,MAAME,oBAAuB,GAAA,CAC3B;EAAEH,EAAA,EAAI,eAAiB;EAAAC,KAAA,EAAO;AAAU,CAAA,EACxC;EAAED,EAAA,EAAI,iBAAmB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC1C;EAAED,EAAA,EAAI,eAAiB;EAAAC,KAAA,EAAO;AAAU,CAAA,CAC1C;AAEO,MAAMG,iBAA2DA,CAAC;EACvEC,KAAA;EACAC;AACF,CAAM,KAAA;EACE,MAAA;IAAEC;GAAS,GAAIC,OAAAA,CAAAA,gBAAiB,EAAA;EACtC,MAAM;IAAEC;EAAA,CAAkB,GAAAC,YAAA,CAAAA,4BAAA,CAA6BH,QAAQ,CAAA;EACzD,MAAA;IAAEI;GAAc,GAAIC,SAAAA,CAAAA,OAAQ,EAAA;EAE5B,MAAAC,YAAA,GAAeC,aAA8B,IAAI,CAAA;EACjD,MAAA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gBACRF,KAAO,EAAA;cAAA,CACT,CAAA,EAAA,8BAEDG,qBAAE,CAAAC,SAAA,EAAF;gBAAa5B,QAAc,EAAAtB,aAAA,CAAAgE,IAAA,CAAKjC,KAAK;eAAE,CAAA;YAAA,CAC1C;UAAA,CAAA,EAjCK,WAAWiC,KAAKzE,EAAE,EAAA,CAmC1B,CAAA;SACH,CAAA;OACF,CAAA;KACF,CAAA,EAAA,eACAgC,UAAA,CAAAA,GAAA,CAACyE,qBAAE,CAAAC,aAAA,EAAF,EAAgB,CAAA;EACnB,CAAA,CAAA;AAEJ,CAAA;"}
|
|
1
|
+
{"version":3,"file":"VisualTopology.js","sources":["../../../../../src/components/MicrositeHeader/components/VisualTopology/VisualTopology.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport type React from \"react\";\nimport { useEffect, useMemo, useRef, useState } from \"react\";\n\nimport { generic } from \"../../../../constants/icons\";\nimport { useMenu } from \"../../../../contexts/MenuContext\";\nimport type { SiteUrl } from \"../../../../contexts/MenuContext/mapping\";\nimport { useMicrositeMenu } from \"../../../../contexts/MicrositeMenuContext\";\nimport { MenuCategoryId } from \"../../../../contexts/MicrositeMenuContext/mapping\";\nimport { useMicrositeMenuTranslations } from \"../../../../contexts/MicrositeMenuContext/translations\";\nimport type { MicrositeHeaderItem } from \"../../../../contexts/MicrositeMenuContext/types\";\nimport { Button } from \"../../../Button\";\nimport ArrowIconTertiary from \"./assets/arrow-icon-tertiary.svg\";\nimport { LinePaths } from \"./LinePaths\";\nimport { rootConfig } from \"./Topology.config\";\nimport * as S from \"./VisualTopology.styles\";\nimport type { IVisualTopologyProps } from \"./VisualTopology.types\";\n\nconst HIDDEN_ITEMS = [MenuCategoryId.CloudGateways, MenuCategoryId.Switching];\n\nconst ROOT_SVG_ANIMATION_CONFIG = [\n { id: \"blueParticlesRoot\", color: \"#006FFF\" },\n { id: \"purpleParticlesRoot\", color: \"#A252E3\" },\n { id: \"blurContainerRoot\", color: \"#e5f1ff\" },\n];\n\nconst PARENT_SVG_ANIMATION_CONFIG = [\n { id: \"blueParticlesParent\", color: \"#006FFF\" },\n { id: \"purpleParticlesParent\", color: \"#A252E3\" },\n { id: \"blurContainerParent\", color: \"#e5f1ff\" },\n];\n\nconst SVG_ANIMATION_CONFIG = [\n { id: \"blueParticles\", color: \"#006FFF\" },\n { id: \"purpleParticles\", color: \"#A252E3\" },\n { id: \"blurContainer\", color: \"#e5f1ff\" },\n];\n\nexport const VisualTopology: React.FC<Readonly<IVisualTopologyProps>> = ({\n items,\n onLinkClick,\n}) => {\n const { language } = useMicrositeMenu();\n const { formatMessage } = useMicrositeMenuTranslations(language);\n const { createSiteUrl } = useMenu();\n\n const containerRef = useRef<HTMLDivElement | null>(null);\n const elementsRef = useRef<Record<string, HTMLButtonElement | null>>({});\n const categoryRef = useRef<Record<string, HTMLButtonElement | null>>({});\n\n const [isTopologyExpanded, setIsTopologyExpanded] = useState(false);\n const [activeSubmenu, setActiveSubmenu] =\n useState<MicrositeHeaderItem | null>(null);\n\n const filteredNavigation = useMemo(() => {\n return items.filter(\n ({ id }) => !HIDDEN_ITEMS.includes(id as MenuCategoryId),\n );\n }, [items]);\n\n const filteredActiveSubmenu = useMemo(() => {\n return (activeSubmenu?.items ?? []).filter(({ isOverview }) => !isOverview);\n }, [activeSubmenu]);\n\n useEffect(() => {\n if (!filteredNavigation?.length) {\n return;\n }\n\n const [wifi] = filteredNavigation;\n\n if (wifi) {\n setActiveSubmenu(wifi);\n }\n }, [filteredNavigation]);\n\n return (\n <S.RootTopologyContainer>\n <S.TopologyHeader>\n <S.SectionTitle>{formatMessage(\"menu.topology.title\")}</S.SectionTitle>\n <Button\n variant=\"link\"\n onClick={() => setIsTopologyExpanded(!isTopologyExpanded)}\n >\n <S.ButtonLabel>\n {isTopologyExpanded\n ? formatMessage(\"commons.hide\")\n : formatMessage(\"commons.show\")}\n </S.ButtonLabel>\n\n <S.StyledArrowIcon\n src={ArrowIconTertiary}\n width={8}\n height={8}\n $isOpen={isTopologyExpanded}\n />\n </Button>\n </S.TopologyHeader>\n\n <S.ItemsContainer $isVisible={isTopologyExpanded}>\n <S.ContentWrapper ref={containerRef}>\n {rootConfig.map(({ id, label, url, isExternal, icon }, index) => (\n <S.Item\n key={`${id}-${index}`}\n as={url ? \"a\" : \"span\"}\n {...(url\n ? {\n href: isExternal ? url : createSiteUrl(url),\n target: isExternal ? \"_blank\" : \"_self\",\n }\n : {})}\n >\n {!!icon && (\n <S.IconWrapper>\n <S.ItemIcon\n id={id}\n src={icon.src as string}\n $width={icon.width}\n $height={icon.height}\n />\n </S.IconWrapper>\n )}\n\n {!!label && <S.ItemLabel>{formatMessage(label)}</S.ItemLabel>}\n </S.Item>\n ))}\n\n <S.RootSvgContainer>\n {ROOT_SVG_ANIMATION_CONFIG.map(({ id, color }, index) => (\n <svg\n id={id}\n key={id}\n width={ROOT_SVG_ANIMATION_CONFIG.length - 1 === index ? 6 : 2}\n height=\"182\"\n viewBox=\"0 0 2 182\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{\n position: \"absolute\",\n zIndex: 5 - index,\n }}\n >\n <path d=\"M1 182L2 0\" stroke={color} />\n </svg>\n ))}\n </S.RootSvgContainer>\n </S.ContentWrapper>\n\n <S.RelativeContentContainer>\n <S.TopologyMainContainer style={{ paddingTop: \"48px\" }}>\n {filteredNavigation.map((item, itemIndex) => (\n <S.TopologyNavItem\n key={`${item.id}-${itemIndex}`}\n id={item.id}\n ref={(element) => (categoryRef.current[itemIndex] = element)}\n style={{ zIndex: 15 }}\n onClick={() => setActiveSubmenu(item)}\n >\n {!!item?.icon?.src && (\n <S.NavIcon\n src={item.icon.src as string}\n width={78}\n height={38}\n />\n )}\n <S.ItemLabel>{formatMessage(item.label)}</S.ItemLabel>\n <S.ExpandButton>\n <S.StyledIcon\n src={generic.minus}\n width={10}\n height={10}\n $isVisible={activeSubmenu?.id === item.id}\n />\n <S.StyledIcon\n src={generic.plus}\n width={10}\n height={10}\n $isVisible={activeSubmenu?.id !== item.id}\n />\n </S.ExpandButton>\n </S.TopologyNavItem>\n ))}\n\n {PARENT_SVG_ANIMATION_CONFIG.map(({ id, color }, index) => (\n <LinePaths\n key={id}\n id={id}\n zIndex={1 - index}\n parentId=\"poe-plus-plus\"\n items={filteredNavigation}\n elementsRef={categoryRef}\n strokeColor={color}\n />\n ))}\n </S.TopologyMainContainer>\n\n <S.SubNavigationTopologyContainer $isVisible>\n {SVG_ANIMATION_CONFIG.map(({ id, color }, index) => (\n <LinePaths\n key={id}\n id={id}\n zIndex={1 - index}\n items={filteredActiveSubmenu}\n parentId={activeSubmenu?.id as string}\n elementsRef={elementsRef}\n strokeColor={color}\n />\n ))}\n\n {filteredActiveSubmenu.map((item, elementIndex) => (\n <Tooltip\n motif=\"light\"\n key={`product-${item.id}`}\n cursorType=\"pointer\"\n className=\"product-tooltip\"\n position=\"bottom\"\n width={156}\n offset={10}\n description={\n item.description && (\n <S.TooltipLabel\n dangerouslySetInnerHTML={{\n __html: formatMessage(item.description),\n }}\n />\n )\n }\n >\n <S.TopologyNavItem\n $withHover\n ref={(element) =>\n (elementsRef.current[elementIndex] = element)\n }\n onClick={(event) =>\n onLinkClick(event, createSiteUrl(item.url as SiteUrl))\n }\n >\n {!!item?.icon?.src && (\n <S.NavIcon\n src={item.icon.src as string}\n height={38}\n width={38}\n />\n )}\n <S.ItemLabel>{formatMessage(item.label)}</S.ItemLabel>\n </S.TopologyNavItem>\n </Tooltip>\n ))}\n </S.SubNavigationTopologyContainer>\n </S.RelativeContentContainer>\n </S.ItemsContainer>\n <S.TooltipStyles />\n </S.RootTopologyContainer>\n );\n};\n"],"names":["HIDDEN_ITEMS","MenuCategoryId","CloudGateways","Switching","ROOT_SVG_ANIMATION_CONFIG","id","color","PARENT_SVG_ANIMATION_CONFIG","SVG_ANIMATION_CONFIG","VisualTopology","items","onLinkClick","language","useMicrositeMenu","formatMessage","useMicrositeMenuTranslations","createSiteUrl","useMenu","containerRef","useRef","elementsRef","categoryRef","isTopologyExpanded","setIsTopologyExpanded","useState","activeSubmenu","setActiveSubmenu","filteredNavigation","useMemo","filter","includes","filteredActiveSubmenu","isOverview","useEffect","length","wifi","jsxs","S.RootTopologyContainer","children","S.TopologyHeader","jsx","S.SectionTitle","SectionTitle","Button","variant","onClick","S.ButtonLabel","S.StyledArrowIcon","StyledArrowIcon","src","ArrowIconTertiary","width","height","$isOpen","S.ItemsContainer","$isVisible","S.ContentWrapper","ref","rootConfig","map","label","url","isExternal","icon","index","S.Item","Item","as","href","target","S.IconWrapper","S.ItemIcon","ItemIcon","$width","$height","S.ItemLabel","ItemLabel","S.RootSvgContainer","RootSvgContainer","viewBox","xmlns","style","position","zIndex","d","stroke","S.RelativeContentContainer","S.TopologyMainContainer","TopologyMainContainer","paddingTop","item","itemIndex","S.TopologyNavItem","TopologyNavItem","element","current","S.NavIcon","NavIcon","S.ExpandButton","S.StyledIcon","StyledIcon","generic.minus","generic.plus","LinePaths","parentId","strokeColor","S.SubNavigationTopologyContainer","elementIndex","Tooltip","motif","cursorType","className","offset","description","S.TooltipLabel","TooltipLabel","dangerouslySetInnerHTML","__html","$withHover","event","S.TooltipStyles","TooltipStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAMA,YAAe,GAAA,CAACC,OAAe,CAAAA,cAAA,CAAAC,aAAA,EAAeD,uBAAeE,SAAS,CAAA;AAE5E,MAAMC,yBAA4B,GAAA,CAChC;EAAEC,EAAA,EAAI,mBAAqB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC5C;EAAED,EAAA,EAAI,qBAAuB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC9C;EAAED,EAAA,EAAI,mBAAqB;EAAAC,KAAA,EAAO;AAAU,CAAA,CAC9C;AAEA,MAAMC,2BAA8B,GAAA,CAClC;EAAEF,EAAA,EAAI,qBAAuB;EAAAC,KAAA,EAAO;AAAU,CAAA,EAC9C;EAAED,EAAA,EAAI,uBAAyB;EA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GACb,mBAAAT,UAAA,CAAAA,GAAA,CAACwD,qBAAE,CAAAC,OAAA,EAAF;gBACChD,GAAA,EAAKyC,KAAK3B,IAAK,CAAAd,GAAA;gBACfG,MAAQ,EAAA,EAAA;gBACRD,KAAO,EAAA;cAAA,CACT,CAAA,EAAA,8BAEDwB,qBAAE,CAAAC,SAAA,EAAF;gBAAatC,QAAc,EAAAxB,aAAA,CAAA4E,IAAA,CAAK9B,KAAK;eAAE,CAAA;YAAA,CAC1C;UAAA,CAAA,EAjCK,WAAW8B,KAAKrF,EAAE,EAAA,CAmC1B,CAAA;SACH,CAAA;OACF,CAAA;KACF,CAAA,EAAA,eACAmC,UAAA,CAAAA,GAAA,CAACgF,qBAAE,CAAAC,aAAA,EAAF,EAAgB,CAAA;EACnB,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -6,11 +6,15 @@ import '../../../../contexts/MenuContext/index.mjs';
|
|
|
6
6
|
import '../../../../contexts/MicrositeMenuContext/index.mjs';
|
|
7
7
|
import { MenuCategoryId } from '../../../../contexts/MicrositeMenuContext/mapping.mjs';
|
|
8
8
|
import { useMicrositeMenuTranslations } from '../../../../contexts/MicrositeMenuContext/translations.mjs';
|
|
9
|
+
import '../../../Button/index.mjs';
|
|
10
|
+
import './assets/arrow-icon-tertiary.svg.mjs';
|
|
9
11
|
import { LinePaths } from './LinePaths.mjs';
|
|
10
12
|
import { rootConfig } from './Topology.config.mjs';
|
|
11
|
-
import { RootTopologyContainer, SectionTitle, ItemsContainer, ContentWrapper, Item, IconWrapper, ItemIcon, ItemLabel, RootSvgContainer, RelativeContentContainer, TopologyMainContainer, TopologyNavItem, NavIcon, ExpandButton, StyledIcon, SubNavigationTopologyContainer, TooltipLabel, TooltipStyles } from './VisualTopology.styles.mjs';
|
|
13
|
+
import { RootTopologyContainer, TopologyHeader, SectionTitle, ButtonLabel, StyledArrowIcon, ItemsContainer, ContentWrapper, Item, IconWrapper, ItemIcon, ItemLabel, RootSvgContainer, RelativeContentContainer, TopologyMainContainer, TopologyNavItem, NavIcon, ExpandButton, StyledIcon, SubNavigationTopologyContainer, TooltipLabel, TooltipStyles } from './VisualTopology.styles.mjs';
|
|
12
14
|
import { useMicrositeMenu } from '../../../../contexts/MicrositeMenuContext/context.mjs';
|
|
13
15
|
import { useMenu } from '../../../../contexts/MenuContext/context.mjs';
|
|
16
|
+
import { Button } from '../../../Button/Button.mjs';
|
|
17
|
+
import ArrowIconTertiary__default from "../../../../assets/arrow-icon-tertiary.svg";
|
|
14
18
|
import _externalAssets_D$Ulf_i___default from "../../../../assets/minus3.svg";
|
|
15
19
|
import _externalAssets_Bq7Yumgn__default from "../../../../assets/plus4.svg";
|
|
16
20
|
"use strict";
|
|
@@ -61,6 +65,7 @@ const VisualTopology = ({
|
|
|
61
65
|
const containerRef = useRef(null);
|
|
62
66
|
const elementsRef = useRef({});
|
|
63
67
|
const categoryRef = useRef({});
|
|
68
|
+
const [isTopologyExpanded, setIsTopologyExpanded] = useState(false);
|
|
64
69
|
const [activeSubmenu, setActiveSubmenu] = useState(null);
|
|
65
70
|
const filteredNavigation = useMemo(() => {
|
|
66
71
|
return items.filter(({
|
|
@@ -82,9 +87,23 @@ const VisualTopology = ({
|
|
|
82
87
|
}
|
|
83
88
|
}, [filteredNavigation]);
|
|
84
89
|
return /* @__PURE__ */jsxs(RootTopologyContainer, {
|
|
85
|
-
children: [/* @__PURE__ */
|
|
86
|
-
children:
|
|
90
|
+
children: [/* @__PURE__ */jsxs(TopologyHeader, {
|
|
91
|
+
children: [/* @__PURE__ */jsx(SectionTitle, {
|
|
92
|
+
children: formatMessage("menu.topology.title")
|
|
93
|
+
}), /* @__PURE__ */jsxs(Button, {
|
|
94
|
+
variant: "link",
|
|
95
|
+
onClick: () => setIsTopologyExpanded(!isTopologyExpanded),
|
|
96
|
+
children: [/* @__PURE__ */jsx(ButtonLabel, {
|
|
97
|
+
children: isTopologyExpanded ? formatMessage("commons.hide") : formatMessage("commons.show")
|
|
98
|
+
}), /* @__PURE__ */jsx(StyledArrowIcon, {
|
|
99
|
+
src: ArrowIconTertiary__default,
|
|
100
|
+
width: 8,
|
|
101
|
+
height: 8,
|
|
102
|
+
$isOpen: isTopologyExpanded
|
|
103
|
+
})]
|
|
104
|
+
})]
|
|
87
105
|
}), /* @__PURE__ */jsxs(ItemsContainer, {
|
|
106
|
+
$isVisible: isTopologyExpanded,
|
|
88
107
|
children: [/* @__PURE__ */jsxs(ContentWrapper, {
|
|
89
108
|
ref: containerRef,
|
|
90
109
|
children: [rootConfig.map(({
|