@ubnt/store.core 9.15.0-alpha.1 → 9.15.0-alpha.3
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 +20 -0
- package/lib/assets/close.svg +3 -1
- package/lib/assets/close2.svg +3 -2
- package/lib/assets/close3.svg +1 -4
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus2.svg +4 -1
- package/lib/assets/plus3.svg +1 -4
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/ucgUltra.jpg +0 -0
- package/lib/assets/ucgUltra2.jpg +0 -0
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/components/CustomImage/CustomImage.js +1 -1
- package/lib/components/CustomImage/CustomImage.mjs +1 -1
- 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/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- 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/GridGallery/GridModal/GridModal.js +1 -1
- package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
- package/lib/components/Header/CartModalV2/CartModal.js +1 -1
- package/lib/components/Header/CartModalV2/CartModal.mjs +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
- package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.mjs +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.d.ts +2 -2
- package/lib/components/LandingPagePro/LandingPagePro.js +31 -11
- package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
- package/lib/components/LandingPagePro/LandingPagePro.mjs +32 -12
- package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +1 -1
- package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +120 -34
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +120 -34
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +16 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +54 -12
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +50 -11
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowLeftPrimary.svg.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowRightPrimary.svg.js +5 -5
- 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/ResourceCalculatorV1/translations/en.json.js +4 -4
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +4 -4
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/Search/Input/Input.js +1 -1
- package/lib/components/Search/Input/Input.mjs +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/constants/icons/generic/close.svg.js +1 -1
- package/lib/constants/icons/generic/close.svg.mjs +2 -2
- package/lib/constants/icons/generic/index.js +4 -4
- package/lib/constants/icons/generic/index.mjs +2 -2
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/contexts/MenuContext/context.js +11 -51
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +12 -46
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.d.ts +9 -45
- package/lib/contexts/MenuContext/mapping.js +41 -1365
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +42 -1353
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/types.d.ts +1 -2
- package/lib/contexts/MenuContext/types.js.map +1 -1
- package/lib/contexts/MenuContext/types.mjs.map +1 -1
- package/lib/contexts/MenuContext/utils.d.ts +1 -3
- package/lib/contexts/MenuContext/utils.js +1 -18
- package/lib/contexts/MenuContext/utils.js.map +1 -1
- package/lib/contexts/MenuContext/utils.mjs +2 -17
- package/lib/contexts/MenuContext/utils.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,26 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 9.15.0-alpha.3
|
|
10
|
+
|
|
11
|
+
- [Feat] [NEP-3479](https://ubiquiti.atlassian.net/browse/NEP-3479)
|
|
12
|
+
- Add scroll helper buttons for device select
|
|
13
|
+
- Force enable network for UCG-Max
|
|
14
|
+
- Remove 0 tb option for UCG-Max
|
|
15
|
+
|
|
16
|
+
### 9.15.0-alpha.2
|
|
17
|
+
|
|
18
|
+
- [Chore] [MIC-389](https://ubiquiti.atlassian.net/browse/MIC-389) Performance improvements:
|
|
19
|
+
- Remove unused data from Menu mapping
|
|
20
|
+
|
|
21
|
+
### 9.14.2
|
|
22
|
+
|
|
23
|
+
- [Fix] [NEP-3641](https://ubiquiti.atlassian.net/browse/NEP-3641) Enable Door Access > Intercoms subcategory in TW store
|
|
24
|
+
|
|
25
|
+
### 9.14.1
|
|
26
|
+
|
|
27
|
+
- [Fix] [NEP-3518](https://ubiquiti.atlassian.net/browse/NEP-3518) Add horizontal padding to input card footer note
|
|
28
|
+
|
|
9
29
|
### 9.15.0-alpha.1
|
|
10
30
|
|
|
11
31
|
- [Fix] [NEP-3518](https://ubiquiti.atlassian.net/browse/NEP-3518) Resource calc add padding to input card footer note
|
package/lib/assets/close.svg
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
1
|
+
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.7175 18.6475C5.4275 18.9375 5.4275 19.4175 5.7175 19.7075C6.0075 19.9975 6.4875 19.9975 6.7775 19.7075L12.9675 13.5175L19.1575 19.7075C19.4475 19.9975 19.9275 19.9975 20.2175 19.7075C20.5075 19.4175 20.5075 18.9375 20.2175 18.6475L14.0275 12.4675L20.2175 6.2775C20.5075 5.9875 20.5075 5.5075 20.2175 5.2175C19.9275 4.9275 19.4475 4.9275 19.1575 5.2175L12.9675 11.4075L6.7775 5.2175C6.4875 4.9275 6.0075 4.9275 5.7175 5.2175C5.4275 5.5075 5.4275 5.9875 5.7175 6.2775L11.9075 12.4675L5.7175 18.6475Z" fill="#36373C"/>
|
|
3
|
+
</svg>
|
package/lib/assets/close2.svg
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
3
4
|
</svg>
|
package/lib/assets/close3.svg
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0.105713" y="12.7274" width="18" height="1.5" rx="0.75" transform="rotate(-45 0.105713 12.7274)" fill="currentColor"/><rect width="18" height="1.5" rx="0.75" transform="matrix(-0.707107 -0.707107 -0.707107 0.707107 13.8943 12.7274)" fill="currentColor"/></svg>
|
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/plus2.svg
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"
|
|
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/plus3.svg
CHANGED
|
@@ -1,4 +1 @@
|
|
|
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>
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 7.49985V13.4998C6.5 13.776 6.72386 13.9998 7 13.9998C7.27614 13.9998 7.5 13.776 7.5 13.4998V7.49985H13.5C13.7761 7.49985 14 7.27599 14 6.99985C14 6.7237 13.7761 6.49985 13.5 6.49985H7.5V0.499847C7.5 0.223705 7.27614 -0.000152588 7 -0.000152588C6.72386 -0.000152588 6.5 0.223705 6.5 0.499847V6.49985H0.5C0.223858 6.49985 0 6.7237 0 6.99985C0 7.27599 0.223857 7.49985 0.5 7.49985H6.5Z" fill="currentColor"/></svg>
|
package/lib/assets/plus5.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/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="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>
|
package/lib/assets/ucgMax.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgMax2.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgUltra.jpg
CHANGED
|
Binary file
|
package/lib/assets/ucgUltra2.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmPro.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmPro2.jpg
CHANGED
|
Binary file
|
package/lib/assets/udmProMax.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -12,7 +12,7 @@ require('../StyleableSvgImage/index.js');
|
|
|
12
12
|
var CustomImage_styles = require('./CustomImage.styles.js');
|
|
13
13
|
var FallbackImageIcon = require("../../assets/fallbackImage.svg");
|
|
14
14
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
15
|
-
var CloseIcon = require("../../assets/
|
|
15
|
+
var CloseIcon = require("../../assets/close3.svg");
|
|
16
16
|
var ZoomInIcon = require("../../assets/zoom-in.svg");
|
|
17
17
|
function _interopDefault(e) {
|
|
18
18
|
return e && e.__esModule ? e : {
|
|
@@ -10,7 +10,7 @@ import '../StyleableSvgImage/index.mjs';
|
|
|
10
10
|
import { ImageWrapOuter, ImageWrap, FallbackImageWrap, ImageSkeletonLoader, FullscreenImageWrap, FullscreenCloseButton, FullscreenButton, ZoomIcon } from './CustomImage.styles.mjs';
|
|
11
11
|
import FallbackImageIcon__default from "../../assets/fallbackImage.svg";
|
|
12
12
|
import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
13
|
-
import CloseIcon__default from "../../assets/
|
|
13
|
+
import CloseIcon__default from "../../assets/close3.svg";
|
|
14
14
|
import ZoomInIcon__default from "../../assets/zoom-in.svg";
|
|
15
15
|
"use strict";
|
|
16
16
|
const isNextImageLoading = imageEl => {
|
|
@@ -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/plus2.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/plus2.svg";
|
|
7
7
|
"use strict";
|
|
8
8
|
const AllFeaturesButton = ({
|
|
9
9
|
className,
|
|
@@ -14,7 +14,7 @@ var FeaturesSection_styles = require('./FeaturesSection.styles.js');
|
|
|
14
14
|
var useLockBodyScrollCustom = require('../../hooks/useLockBodyScrollCustom.js');
|
|
15
15
|
var Container = require('../Container/Container.js');
|
|
16
16
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
17
|
-
var CloseSvg = require("../../assets/
|
|
17
|
+
var CloseSvg = require("../../assets/close2.svg");
|
|
18
18
|
function _interopDefault(e) {
|
|
19
19
|
return e && e.__esModule ? e : {
|
|
20
20
|
default: e
|
|
@@ -12,7 +12,7 @@ import { WrapOuter, OverlayWrap, OverlayClose, Wrap, MetaWrap, SubHeading, Headi
|
|
|
12
12
|
import { useLockBodyScrollCustom } from '../../hooks/useLockBodyScrollCustom.mjs';
|
|
13
13
|
import { Container } from '../Container/Container.mjs';
|
|
14
14
|
import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
15
|
-
import CloseSvg__default from "../../assets/
|
|
15
|
+
import CloseSvg__default from "../../assets/close2.svg";
|
|
16
16
|
"use strict";
|
|
17
17
|
const FEATURES_DEFAULT_PLAYBACK = 500;
|
|
18
18
|
const parseTime = time => parseFloat(time.toFixed(3));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/close2.svg";
|
|
2
|
+
export { default } from "../../../assets/close2.svg";
|
|
3
3
|
//# sourceMappingURL=close.svg.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/plus2.svg";
|
|
2
|
+
export { default } from "../../../assets/plus2.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
|
@@ -8,7 +8,7 @@ var Header_styles = require('../../Header/Header.styles.js');
|
|
|
8
8
|
require('../../StyleableSvgImage/index.js');
|
|
9
9
|
var GridModal_styles = require('./GridModal.styles.js');
|
|
10
10
|
var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
|
|
11
|
-
var CloseIcon = require("../../../assets/
|
|
11
|
+
var CloseIcon = require("../../../assets/close3.svg");
|
|
12
12
|
function _interopDefault(e) {
|
|
13
13
|
return e && e.__esModule ? e : {
|
|
14
14
|
default: e
|
|
@@ -6,7 +6,7 @@ import { HEADER_HEIGHT } from '../../Header/Header.styles.mjs';
|
|
|
6
6
|
import '../../StyleableSvgImage/index.mjs';
|
|
7
7
|
import { Wrap, Container, CloseButton, Video } from './GridModal.styles.mjs';
|
|
8
8
|
import { StyleableSvgImage } from '../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
9
|
-
import CloseIcon__default from "../../../assets/
|
|
9
|
+
import CloseIcon__default from "../../../assets/close3.svg";
|
|
10
10
|
"use strict";
|
|
11
11
|
const GridModal = function CartModal({
|
|
12
12
|
open,
|
|
@@ -9,7 +9,7 @@ var CartModal_styles = require('./CartModal.styles.js');
|
|
|
9
9
|
require('./Item/index.js');
|
|
10
10
|
var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
|
|
11
11
|
var CartIcon = require("../../../assets/cart.svg");
|
|
12
|
-
var CloseIcon = require("../../../assets/
|
|
12
|
+
var CloseIcon = require("../../../assets/close3.svg");
|
|
13
13
|
var Item = require('./Item/Item.js');
|
|
14
14
|
function _interopDefault(e) {
|
|
15
15
|
return e && e.__esModule ? e : {
|
|
@@ -7,7 +7,7 @@ import { Wrap, Container, ContainerInner, Section, SectionHeader, SectionTitle,
|
|
|
7
7
|
import './Item/index.mjs';
|
|
8
8
|
import { StyleableSvgImage } from '../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
9
9
|
import CartIcon__default from "../../../assets/cart.svg";
|
|
10
|
-
import CloseIcon__default from "../../../assets/
|
|
10
|
+
import CloseIcon__default from "../../../assets/close3.svg";
|
|
11
11
|
import { CartModalItem } from './Item/Item.mjs';
|
|
12
12
|
"use strict";
|
|
13
13
|
const CartModal = function CartModal2({
|
|
@@ -9,14 +9,14 @@ var Item_styles = require('./Item.styles.js');
|
|
|
9
9
|
var CustomImage = require('../../../CustomImage/CustomImage.js');
|
|
10
10
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
11
11
|
var _externalAssets_CrL$Ujdd = require("../../../../assets/minus2.svg");
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_CVKiTNEM = require("../../../../assets/plus3.svg");
|
|
13
13
|
function _interopDefault(e) {
|
|
14
14
|
return e && e.__esModule ? e : {
|
|
15
15
|
default: e
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
var _externalAssets_CrL$Ujdd__default = /*#__PURE__*/_interopDefault(_externalAssets_CrL$Ujdd);
|
|
19
|
-
var
|
|
19
|
+
var _externalAssets_CVKiTNEM__default = /*#__PURE__*/_interopDefault(_externalAssets_CVKiTNEM);
|
|
20
20
|
"use strict";
|
|
21
21
|
const CartModalItem = function CartModalItem2({
|
|
22
22
|
renderImage,
|
|
@@ -80,7 +80,7 @@ const CartModalItem = function CartModalItem2({
|
|
|
80
80
|
disabled: item.controls.loading || controlsDisableIncrease,
|
|
81
81
|
children: /* @__PURE__ */jsxRuntime.jsx(Item_styles.ControlsIcon, {
|
|
82
82
|
children: /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
|
|
83
|
-
src:
|
|
83
|
+
src: _externalAssets_CVKiTNEM__default["default"],
|
|
84
84
|
width: 9,
|
|
85
85
|
height: 9
|
|
86
86
|
})
|
|
@@ -7,7 +7,7 @@ import { Wrap, ProductAnchor, ProductImageWrap, ProductMeta, ProductTitle, Produ
|
|
|
7
7
|
import { CustomImage } from '../../../CustomImage/CustomImage.mjs';
|
|
8
8
|
import { StyleableSvgImage } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
9
9
|
import _externalAssets_CrL$Ujdd__default from "../../../../assets/minus2.svg";
|
|
10
|
-
import
|
|
10
|
+
import _externalAssets_CVKiTNEM__default from "../../../../assets/plus3.svg";
|
|
11
11
|
"use strict";
|
|
12
12
|
const CartModalItem = function CartModalItem2({
|
|
13
13
|
renderImage,
|
|
@@ -71,7 +71,7 @@ const CartModalItem = function CartModalItem2({
|
|
|
71
71
|
disabled: item.controls.loading || controlsDisableIncrease,
|
|
72
72
|
children: /* @__PURE__ */jsx(ControlsIcon, {
|
|
73
73
|
children: /* @__PURE__ */jsx(StyleableSvgImage, {
|
|
74
|
-
src:
|
|
74
|
+
src: _externalAssets_CVKiTNEM__default,
|
|
75
75
|
width: 9,
|
|
76
76
|
height: 9
|
|
77
77
|
})
|
|
@@ -35,7 +35,7 @@ var unifi = require('../../constants/proStoreCategories/mapping/unifi.js');
|
|
|
35
35
|
var uisp = require('../../constants/proStoreCategories/mapping/uisp.js');
|
|
36
36
|
var _externalAssets_CtJIOg_A = require("../../assets/account.svg");
|
|
37
37
|
var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
|
|
38
|
-
var CloseIcon = require("../../assets/
|
|
38
|
+
var CloseIcon = require("../../assets/close3.svg");
|
|
39
39
|
var _externalAssets_CzDCu21b = require("../../assets/hamburger.svg");
|
|
40
40
|
var _externalAssets_BPYvPCPi = require("../../assets/logo.svg");
|
|
41
41
|
var _externalAssets_TKrekyEi = require("../../assets/logoUisp.svg");
|
|
@@ -33,7 +33,7 @@ import { UniFiCategorySlug } from '../../constants/proStoreCategories/mapping/un
|
|
|
33
33
|
import { UISPCategorySlug } from '../../constants/proStoreCategories/mapping/uisp.mjs';
|
|
34
34
|
import _externalAssets_CtJIOg_A__default from "../../assets/account.svg";
|
|
35
35
|
import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
36
|
-
import CloseIcon__default from "../../assets/
|
|
36
|
+
import CloseIcon__default from "../../assets/close3.svg";
|
|
37
37
|
import _externalAssets_CzDCu21b__default from "../../assets/hamburger.svg";
|
|
38
38
|
import _externalAssets_BPYvPCPi__default from "../../assets/logo.svg";
|
|
39
39
|
import _externalAssets_TKrekyEi__default from "../../assets/logoUisp.svg";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoreId } from "../../types";
|
|
1
|
+
import type { StoreId } from "../../types";
|
|
2
2
|
import type { RenderImageFn } from "../CustomImage/CustomImage.types";
|
|
3
3
|
import type { LandingPageSearchProps } from "../LandingPageSearch/LandingPageSearch.types";
|
|
4
4
|
import type { CategoriesProps, FiltersProps, ProductTypeProps, SidebarTranslations } from "../LandingPageSidebar/LandingPageSidebar.types";
|
|
@@ -20,5 +20,5 @@ export interface LandingPageProProps {
|
|
|
20
20
|
/**
|
|
21
21
|
* @deprecated This component is deprecated and will be removed in the future.
|
|
22
22
|
*/
|
|
23
|
-
export declare const LandingPagePro: ({
|
|
23
|
+
export declare const LandingPagePro: ({ sidebarProps, productGridProps, searchProps, renderImage, isCartSummaryOpen, }: LandingPageProProps) => JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -6,7 +6,6 @@ var react = require('react');
|
|
|
6
6
|
require('../../contexts/MenuContext/index.js');
|
|
7
7
|
var mapping = require('../../contexts/MenuContext/mapping.js');
|
|
8
8
|
require('../../types/index.js');
|
|
9
|
-
var collectionSlug = require('../../utils/collectionSlug.js');
|
|
10
9
|
var url = require('../../utils/url.js');
|
|
11
10
|
require('../LandingPageSearch/index.js');
|
|
12
11
|
require('../LandingPageSidebar/index.js');
|
|
@@ -22,7 +21,7 @@ var ProductGrid = require('../ProductGrid/ProductGrid.js');
|
|
|
22
21
|
"use strict";
|
|
23
22
|
const maximumPriceFilterLookup = /* @__PURE__ */new Map([[currencies.CAD.code, 7e4], [currencies.EUR.code, 7e4], [currencies.AED.code, 7e4]]);
|
|
24
23
|
const LandingPagePro = ({
|
|
25
|
-
storeId =
|
|
24
|
+
// storeId = StoreId.Us,
|
|
26
25
|
sidebarProps,
|
|
27
26
|
productGridProps,
|
|
28
27
|
searchProps,
|
|
@@ -35,12 +34,13 @@ const LandingPagePro = ({
|
|
|
35
34
|
const isSearchUsed = react.useMemo(() => !!searchProps.searchValue, [searchProps.searchValue]);
|
|
36
35
|
const categories = react.useMemo(() => {
|
|
37
36
|
const navItems = sidebarProps.productTypeBlock.activeType === "unifi" ? navigation.primary.items : navigation.secondary.items;
|
|
38
|
-
const items = navItems.filter(item => item.id !== mapping.NavigationItemId.UnifiIdentity && item.id !== mapping.NavigationItemId.UispSoftware
|
|
37
|
+
const items = navItems.filter(item => item.id !== mapping.NavigationItemId.UnifiIdentity && item.id !== mapping.NavigationItemId.UispSoftware
|
|
39
38
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
!(item.id ===
|
|
39
|
+
* TODO: Hacky way to hide Amplifi from sidebar on US store
|
|
40
|
+
* since we don't pass storePath in `navigation` variable from useMenu()
|
|
41
|
+
*/
|
|
42
|
+
// !(item.id === NavigationItemId.Amplifi && storeId === StoreId.Us),
|
|
43
|
+
).map(item => {
|
|
44
44
|
switch (item.id) {
|
|
45
45
|
case mapping.NavigationItemId.Accessories:
|
|
46
46
|
return {
|
|
@@ -60,7 +60,9 @@ const LandingPagePro = ({
|
|
|
60
60
|
return {
|
|
61
61
|
label: innerItem.label,
|
|
62
62
|
items: innerItem.items,
|
|
63
|
-
slug:
|
|
63
|
+
slug:
|
|
64
|
+
// getCollectionSlugFromPath(innerItem.path) ||
|
|
65
|
+
url.slugify(innerItem.id),
|
|
64
66
|
products: []
|
|
65
67
|
};
|
|
66
68
|
});
|
|
@@ -82,11 +84,29 @@ const LandingPagePro = ({
|
|
|
82
84
|
if (isIncluded) {
|
|
83
85
|
return true;
|
|
84
86
|
}
|
|
85
|
-
return category.items.some(innerItem => innerItem?.items
|
|
87
|
+
return category.items.some(innerItem => innerItem?.items
|
|
88
|
+
// &&
|
|
89
|
+
// innerItem.items.some(
|
|
90
|
+
// (subItem) =>
|
|
91
|
+
// getCollectionSlugFromPath(subItem.path) ===
|
|
92
|
+
// product.defaultCollectionSlug ||
|
|
93
|
+
// getCollectionSlugFromPath(subItem.path) ===
|
|
94
|
+
// product.organizationalCollectionSlug,
|
|
95
|
+
// ),
|
|
96
|
+
);
|
|
86
97
|
});
|
|
87
98
|
if (items[activeCategoryIndex]) {
|
|
88
99
|
items[activeCategoryIndex]?.items[0]?.products?.push(product);
|
|
89
|
-
const activeCategoryInnerIndex = items[activeCategoryIndex]?.items.findIndex(item => item.slug === product.defaultCollectionSlug || item.slug === product.organizationalCollectionSlug
|
|
100
|
+
const activeCategoryInnerIndex = items[activeCategoryIndex]?.items.findIndex(item => item.slug === product.defaultCollectionSlug || item.slug === product.organizationalCollectionSlug
|
|
101
|
+
// ||
|
|
102
|
+
// item.items.some(
|
|
103
|
+
// (subItem) =>
|
|
104
|
+
// getCollectionSlugFromPath(subItem.path) ===
|
|
105
|
+
// product.defaultCollectionSlug ||
|
|
106
|
+
// getCollectionSlugFromPath(subItem.path) ===
|
|
107
|
+
// product.organizationalCollectionSlug,
|
|
108
|
+
// ),
|
|
109
|
+
);
|
|
90
110
|
if (typeof activeCategoryInnerIndex === "number" && items[activeCategoryIndex]?.items[activeCategoryInnerIndex] && activeCategoryInnerIndex !== 0) {
|
|
91
111
|
items[activeCategoryIndex]?.items[activeCategoryInnerIndex]?.products?.push(product);
|
|
92
112
|
}
|
|
@@ -96,7 +116,7 @@ const LandingPagePro = ({
|
|
|
96
116
|
...category,
|
|
97
117
|
items: category.items.filter(item => item?.products?.length)
|
|
98
118
|
}));
|
|
99
|
-
}, [navigation.primary.items, navigation.secondary.items, productGridProps?.products, sidebarProps.productTypeBlock.activeType, sidebarProps.translations.all
|
|
119
|
+
}, [navigation.primary.items, navigation.secondary.items, productGridProps?.products, sidebarProps.productTypeBlock.activeType, sidebarProps.translations.all]);
|
|
100
120
|
const maxPriceFilterAmount = react.useMemo(() => {
|
|
101
121
|
return {
|
|
102
122
|
amount: maximumPriceFilterLookup.get(sidebarProps.filtersBlock?.currency || generated.Currency.Cad) || 7e4,
|