@ubnt/store.core 9.24.0-alpha.1 → 9.24.0-alpha.11
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 +46 -1
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/bridging.svg +3 -0
- package/lib/assets/clients.svg +9 -2
- package/lib/assets/clients_v2.svg +3 -0
- package/lib/assets/deviceBridge.svg +3 -0
- package/lib/assets/keyFeatures/clients_v2.svg +3 -0
- package/lib/assets/keyFeatures/{clients.svg.js → clients_v2.svg.js} +2 -2
- package/lib/assets/keyFeatures/clients_v2.svg.js.map +1 -0
- package/lib/assets/keyFeatures/clients_v2.svg.mjs +3 -0
- package/lib/assets/keyFeatures/clients_v2.svg.mjs.map +1 -0
- package/lib/assets/keyFeatures/phased_array_v2.svg +3 -0
- package/lib/assets/keyFeatures/{phased_array.svg.js → phased_array_v2.svg.js} +2 -2
- package/lib/assets/keyFeatures/phased_array_v2.svg.js.map +1 -0
- package/lib/assets/keyFeatures/phased_array_v2.svg.mjs +3 -0
- package/lib/assets/keyFeatures/phased_array_v2.svg.mjs.map +1 -0
- package/lib/assets/keyFeatures/poe_plus_plus_plus_outlined.svg +6 -0
- package/lib/assets/keyFeatures/poe_plus_plus_plus_outlined.svg.js +27 -0
- package/lib/assets/keyFeatures/poe_plus_plus_plus_outlined.svg.js.map +1 -0
- package/lib/assets/keyFeatures/poe_plus_plus_plus_outlined.svg.mjs +3 -0
- package/lib/assets/keyFeatures/poe_plus_plus_plus_outlined.svg.mjs.map +1 -0
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/mobileRouting.svg +2 -2
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/poe_plus_plus_plus_outlined.svg +6 -0
- 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/components/Gallery/Gallery.context.js +3 -5
- package/lib/components/Gallery/Gallery.context.js.map +1 -1
- package/lib/components/Gallery/Gallery.context.mjs +3 -5
- package/lib/components/Gallery/Gallery.context.mjs.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.js +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.js.map +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.mjs +1 -1
- package/lib/components/Header/AccountFrame/Mobile/Mobile.mjs.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.js +2 -2
- package/lib/components/Header/Navigation/Carousel/Carousel.js.map +1 -1
- package/lib/components/Header/Navigation/Carousel/Carousel.mjs +2 -2
- package/lib/components/Header/Navigation/Carousel/Carousel.mjs.map +1 -1
- package/lib/components/Hero/Hero.js +1 -1
- package/lib/components/Hero/Hero.js.map +1 -1
- package/lib/components/Hero/Hero.mjs +1 -1
- package/lib/components/Hero/Hero.mjs.map +1 -1
- package/lib/components/LandingPage/LandingPage.js +1 -1
- package/lib/components/LandingPage/LandingPage.js.map +1 -1
- package/lib/components/LandingPage/LandingPage.mjs +1 -1
- package/lib/components/LandingPage/LandingPage.mjs.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.js +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.js.map +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.mjs +1 -1
- package/lib/components/LearnMoreLink/LearnMoreLink.mjs.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.d.ts +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js.map +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js +3 -3
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs +3 -3
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js +6 -0
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs +6 -0
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.d.ts +1 -1
- package/lib/components/Microsites/MicrositeProductPage.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +4 -8
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs +4 -8
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.d.ts +1 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs.map +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/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/clients.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/clients.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/BuildingBridge.js +1 -3
- package/lib/components/ModelCompareV3/data/BuildingBridge.js.map +1 -1
- package/lib/components/ModelCompareV3/data/BuildingBridge.mjs +1 -3
- package/lib/components/ModelCompareV3/data/BuildingBridge.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
- package/lib/components/ModelCompareV3/data/DeviceBridge.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/DeviceBridge.js +22 -0
- package/lib/components/ModelCompareV3/data/DeviceBridge.js.map +1 -0
- package/lib/components/ModelCompareV3/data/DeviceBridge.mjs +20 -0
- package/lib/components/ModelCompareV3/data/DeviceBridge.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/index.d.ts +19 -18
- package/lib/components/ModelCompareV3/data/index.js +39 -36
- package/lib/components/ModelCompareV3/data/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/index.mjs +39 -36
- package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
- 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/umrIndustrial.js +1 -2
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs +1 -2
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrUltra.js +6 -14
- package/lib/components/ModelCompareV3/data/products/umrUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrUltra.mjs +6 -14
- package/lib/components/ModelCompareV3/data/products/umrUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/clientDevices.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/clientDevices.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/connectedDevices.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/connectedDevices.mjs +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.js +9 -2
- package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +9 -2
- package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.js +8 -1
- package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs +8 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.js +7 -0
- package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.mjs +7 -0
- package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +3 -3
- package/lib/components/ModelCompareV3/translations/en.json.mjs +3 -3
- package/lib/components/ModelCompareV3/translations/es.json.js +8 -1
- package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs +8 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js +8 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +8 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.js +8 -1
- package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs +8 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js +8 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +8 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +7 -0
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +7 -0
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +8 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +8 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +9 -2
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +9 -2
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.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/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.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/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.constants.js +56 -56
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.constants.mjs +56 -56
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +4 -3
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +5 -4
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
- 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/VariantSelector/Variant/Variant.js +5 -5
- package/lib/components/VariantSelector/Variant/Variant.js.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.mjs +5 -5
- package/lib/components/VariantSelector/Variant/Variant.mjs.map +1 -1
- package/lib/constants/icons/menu/bridging.svg.js +27 -0
- package/lib/constants/icons/menu/bridging.svg.js.map +1 -0
- package/lib/constants/icons/menu/bridging.svg.mjs +3 -0
- package/lib/constants/icons/menu/bridging.svg.mjs.map +1 -0
- package/lib/constants/icons/menu/deviceBridge.svg.js +27 -0
- package/lib/constants/icons/menu/deviceBridge.svg.js.map +1 -0
- package/lib/constants/icons/menu/deviceBridge.svg.mjs +3 -0
- package/lib/constants/icons/menu/deviceBridge.svg.mjs.map +1 -0
- package/lib/constants/icons/menu/index.d.ts +2 -0
- package/lib/constants/icons/menu/index.js +18 -0
- package/lib/constants/icons/menu/index.js.map +1 -1
- package/lib/constants/icons/menu/index.mjs +4 -0
- package/lib/constants/icons/menu/index.mjs.map +1 -1
- package/lib/constants/keyFeatureIcons.d.ts +1 -0
- package/lib/constants/keyFeatureIcons.js +8 -5
- package/lib/constants/keyFeatureIcons.js.map +1 -1
- package/lib/constants/keyFeatureIcons.mjs +8 -5
- package/lib/constants/keyFeatureIcons.mjs.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.js +16 -12
- package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
- package/lib/constants/shopify/keyFeatureIcons.mjs +15 -12
- package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +1 -0
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +1 -0
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.d.ts +4 -4
- package/lib/contexts/MenuContext/mapping.js +30 -7
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +28 -7
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/utils.d.ts +1 -2
- package/lib/contexts/MenuContext/utils.js +1 -1
- package/lib/contexts/MenuContext/utils.js.map +1 -1
- package/lib/contexts/MenuContext/utils.mjs +1 -1
- package/lib/contexts/MenuContext/utils.mjs.map +1 -1
- package/lib/utils/money/constants.d.ts +7 -0
- package/lib/utils/money/constants.js +9 -1
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +10 -2
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/money/tax.private.d.ts +0 -8
- package/lib/utils/money/tax.private.js +5 -14
- package/lib/utils/money/tax.private.js.map +1 -1
- package/lib/utils/money/tax.private.mjs +8 -16
- package/lib/utils/money/tax.private.mjs.map +1 -1
- package/lib/utils/validations/postalCodeSuperRefinement.js +1 -1
- package/lib/utils/validations/postalCodeSuperRefinement.js.map +1 -1
- package/lib/utils/validations/postalCodeSuperRefinement.mjs +1 -1
- package/lib/utils/validations/postalCodeSuperRefinement.mjs.map +1 -1
- package/lib/utils/wattage.js +1 -1
- package/lib/utils/wattage.js.map +1 -1
- package/lib/utils/wattage.mjs +1 -1
- package/lib/utils/wattage.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/clients2.svg +0 -10
- package/lib/assets/keyFeatures/clients.svg +0 -3
- package/lib/assets/keyFeatures/clients.svg.js.map +0 -1
- package/lib/assets/keyFeatures/clients.svg.mjs +0 -3
- package/lib/assets/keyFeatures/clients.svg.mjs.map +0 -1
- package/lib/assets/keyFeatures/phased_array.svg +0 -3
- package/lib/assets/keyFeatures/phased_array.svg.js.map +0 -1
- package/lib/assets/keyFeatures/phased_array.svg.mjs +0 -3
- package/lib/assets/keyFeatures/phased_array.svg.mjs.map +0 -1
- package/lib/assets/phased_array.svg +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,15 +6,60 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 9.24.0-alpha.11
|
|
10
|
+
|
|
11
|
+
- [Feat] [MIC-435](https://ubiquiti.atlassian.net/browse/MIC-435) Reorganize Building Bridge page in ui.com
|
|
12
|
+
|
|
13
|
+
### 9.24.0-alpha.10
|
|
14
|
+
|
|
15
|
+
- [Feat] [NEP-3799](https://ubiquiti.atlassian.net/browse/NEP-3799) Rename updated icons
|
|
16
|
+
|
|
17
|
+
### 9.24.0-alpha.9
|
|
18
|
+
|
|
19
|
+
- [Feat] [NEP-3799](https://ubiquiti.atlassian.net/browse/NEP-3799) Add PoE+++ key feature icon and update 2 existing ones
|
|
20
|
+
|
|
21
|
+
### 9.24.0-alpha.8
|
|
22
|
+
|
|
23
|
+
- [Feat] Tax Rounding change
|
|
24
|
+
|
|
25
|
+
### 9.24.0-alpha.7
|
|
26
|
+
|
|
27
|
+
- [Feat] [MIC-430](https://ubiquiti.atlassian.net/browse/MIC-430) Update `UMR Ultra` compare content
|
|
28
|
+
|
|
29
|
+
### 9.24.0-alpha.6
|
|
30
|
+
|
|
31
|
+
- [Feat] [MIC-430](https://ubiquiti.atlassian.net/browse/MIC-430) Update `UMR Ultra` compare content
|
|
32
|
+
|
|
33
|
+
### 9.24.0-alpha.5
|
|
34
|
+
|
|
35
|
+
- [Feat] [MIC-430](https://ubiquiti.atlassian.net/browse/MIC-430) Update `UMR Ultra` compare content
|
|
36
|
+
|
|
37
|
+
### 9.24.0-alpha.4
|
|
38
|
+
|
|
39
|
+
- [Feat] [MIC-430](https://ubiquiti.atlassian.net/browse/MIC-430) Add `UMR Ultra` to Model Compare
|
|
40
|
+
|
|
41
|
+
### 9.24.0-alpha.3
|
|
42
|
+
|
|
43
|
+
- [Refactor] Refactor how we calculate tax to have control over rounding and precision!!! Will have output offsets by a up or down!
|
|
44
|
+
|
|
45
|
+
### 9.24.0-alpha.2
|
|
46
|
+
|
|
47
|
+
- [Fix] [MIC-417](https://ubiquiti.atlassian.net/browse/MIC-417) Reserve height for images in subnavigation
|
|
48
|
+
\
|
|
49
|
+
|
|
9
50
|
### 9.24.0-alpha.1
|
|
10
51
|
|
|
11
|
-
- [MIC-417](https://ubiquiti.atlassian.net/browse/MIC-417) Upstream master branch
|
|
52
|
+
- [Chore] [MIC-417](https://ubiquiti.atlassian.net/browse/MIC-417) Upstream master branch
|
|
12
53
|
|
|
13
54
|
### 9.24.0-alpha.0
|
|
14
55
|
|
|
15
56
|
- Upstream master branch
|
|
16
57
|
- [Fix] [MIC-429](https://ubiquiti.atlassian.net/browse/MIC-429) Fix translations
|
|
17
58
|
|
|
59
|
+
### 9.24.0
|
|
60
|
+
|
|
61
|
+
- [Feat] [MIC-430](https://ubiquiti.atlassian.net/browse/MIC-430) Add `UMR Ultra` to Model Compare
|
|
62
|
+
|
|
18
63
|
### 9.23.3
|
|
19
64
|
|
|
20
65
|
- [Feat] [MIC-429](https://ubiquiti.atlassian.net/browse/MIC-429) Add `Gate Hub` to Model Compare
|
package/lib/assets/attention.svg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<circle cx="
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="9" cy="9" r="9" fill="#F7D55E"/>
|
|
3
|
+
<path d="M9.73071 4.64062C9.40595 4.07813 8.59405 4.07812 8.26929 4.64062L4.37218 11.3906C4.04742 11.9531 4.45336 12.6562 5.10288 12.6562H12.8971C13.5466 12.6562 13.9526 11.9531 13.6278 11.3906L9.73071 4.64062Z" stroke="white" stroke-width="0.5625"/>
|
|
4
|
+
<path d="M9.22274 9.12833L9.48295 7.30685C9.52494 7.01295 9.29688 6.75 9 6.75C8.70312 6.75 8.47506 7.01295 8.51705 7.30685L8.77726 9.12833C8.81406 9.3859 9.18594 9.3859 9.22274 9.12833Z" fill="white"/>
|
|
5
|
+
<circle cx="9" cy="10.6875" r="0.5625" fill="#F7D55E"/>
|
|
6
6
|
</svg>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<circle cx="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="8" cy="8" r="8" fill="#A4A7B5"/>
|
|
3
|
+
<path d="M12.1136 10.125L8.64952 4.125C8.36084 3.625 7.63916 3.625 7.35048 4.125L3.88638 10.125C3.5977 10.625 3.95855 11.25 4.5359 11.25H11.4641C12.0415 11.25 12.4023 10.625 12.1136 10.125Z" stroke="white" stroke-width="0.5"/>
|
|
4
|
+
<path d="M8.19799 8.11407L8.42929 6.49497C8.46661 6.23373 8.2639 6 8 6C7.7361 6 7.53339 6.23373 7.57071 6.49497L7.80201 8.11407C7.83472 8.34302 8.16528 8.34303 8.19799 8.11407Z" fill="white"/>
|
|
5
|
+
<circle cx="8" cy="9.5" r="0.5" fill="white"/>
|
|
6
6
|
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="83" height="39" viewBox="0 0 83 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.2227 0.492188C22.8604 0.492188 25.335 1.39185 27.4736 2.96704C21.9717 6.47998 18.3232 12.6399 18.3232 19.652C18.3232 26.5645 21.8682 32.6487 27.2402 36.1855C25.1553 37.6564 22.7646 38.4922 20.2227 38.4922C20.0312 38.4922 19.8408 38.4874 19.6523 38.4781C19.4971 38.4704 19.3428 38.4596 19.1885 38.4457L19.1582 38.4482C11.1992 37.789 4.67773 29.6904 4.67773 19.4922C4.67773 9.29382 11.2002 1.19519 19.1582 0.536011L19.1895 0.538574C19.5303 0.507812 19.875 0.492188 20.2227 0.492188ZM15.0127 0.650879C8.50391 3.28723 3.81348 10.7267 3.81348 19.4922C3.81348 28.2572 8.50391 35.6963 15.0117 38.333C6.74414 37.1225 0.359375 29.1486 0.359375 19.4921C0.359375 9.83508 6.74512 1.86096 15.0127 0.650879ZM63.547 38.4705C63.6562 38.4638 63.7652 38.4555 63.8739 38.4458L63.9041 38.4482C71.8628 37.789 78.3849 29.6904 78.3849 19.4921C78.3849 9.29379 71.8626 1.19517 63.9039 0.536044L63.8732 0.538556C63.5317 0.507815 63.187 0.492188 62.8394 0.492188C58.7449 0.492188 55.0418 2.66131 52.3789 6.16006C54.1208 8.00794 55.5098 10.1922 56.4381 12.6051H59.0903C59.0903 12.2297 59.3946 11.9254 59.77 11.9254H60.7075C61.126 11.9254 61.4653 12.2647 61.4653 12.6832H62.6215L63.12 12.7419C63.3036 12.7635 63.4604 12.8847 63.5275 13.0569L63.5697 13.1654C63.7802 13.7057 63.9113 14.2736 63.9589 14.8515L63.9887 15.2145V35.9723C64.0069 36.6461 63.9222 37.8014 63.547 38.4705ZM79.2485 19.4921C79.2485 10.7266 74.5582 3.28723 68.05 0.650898C76.3174 1.86091 82.7031 9.83512 82.7031 19.492C82.7031 29.1485 76.3179 37.1225 68.051 38.333C74.5587 35.6963 79.2485 28.2572 79.2485 19.4921ZM38.0981 38.4922C43.6613 38.4922 48.6592 36.0727 52.0972 32.2285V16.0598L52.1169 15.1354C52.1305 14.5266 52.2443 13.9239 52.4544 13.352C52.6114 12.9224 53.0158 12.6349 53.4709 12.6252L54.3403 12.6066H55.4797C52.6772 5.76319 45.9506 0.942505 38.0981 0.942505C27.729 0.942505 19.3232 9.3483 19.3232 19.7174C19.3232 30.0864 27.729 38.4922 38.0981 38.4922ZM59.9217 12.7171C59.8563 12.7171 59.8033 12.7701 59.8033 12.8354V13.3992H58.6527H57.64H54.3489L53.4876 13.4176C53.3583 13.4204 53.2434 13.5023 53.1988 13.624C53.0187 14.1141 52.921 14.6308 52.9094 15.1529L52.8898 16.0683V36.1464L52.9361 36.976C52.9515 37.2634 53.0024 37.548 53.0874 37.8231L53.219 38.253C53.2559 38.3728 53.3647 38.4564 53.4899 38.4615L54.2519 38.4922H57.64H58.6527H62.041L62.8028 38.4615C62.928 38.4564 63.0368 38.3728 63.0737 38.253L63.2053 37.8231C63.2903 37.548 63.3412 37.2634 63.3566 36.976L63.4029 36.1464V16.0683L63.3833 15.1529C63.3717 14.6308 63.274 14.1141 63.0938 13.624C63.0493 13.5023 62.9344 13.4204 62.8051 13.4176L61.9438 13.3992H60.8198V12.8354C60.8198 12.8084 60.8107 12.7836 60.7954 12.7637C60.7886 12.7547 60.7805 12.7468 60.7714 12.7401C60.7516 12.7257 60.7274 12.7171 60.7013 12.7171H59.9217ZM58.2107 16.3662C58.1911 16.3815 58.1662 16.3907 58.1397 16.3907C58.1114 16.3907 58.0855 16.3805 58.0652 16.3636C58.0404 16.3425 58.0242 16.3107 58.0242 16.2752C58.0242 16.2114 58.0762 16.1597 58.1397 16.1597C58.2033 16.1597 58.2552 16.2114 58.2552 16.2752C58.2552 16.3122 58.238 16.3451 58.2107 16.3662ZM58.2552 16.8551C58.2552 16.919 58.2033 16.9707 58.1397 16.9707C58.0762 16.9707 58.0242 16.919 58.0242 16.8551C58.0242 16.8442 58.0259 16.8335 58.0288 16.8234C58.0352 16.7995 58.0497 16.7789 58.0687 16.764C58.0884 16.7487 58.1132 16.7396 58.1397 16.7396C58.1679 16.7396 58.194 16.75 58.2142 16.7671C58.2335 16.7836 58.2477 16.8063 58.2529 16.8322C58.2544 16.8396 58.2552 16.8473 58.2552 16.8551ZM58.1956 17.5361C58.231 17.5164 58.2552 17.4785 58.2552 17.435C58.2552 17.3712 58.2033 17.3195 58.1397 17.3195C58.0762 17.3195 58.0242 17.3712 58.0242 17.435C58.0242 17.4688 58.0387 17.4992 58.0617 17.5203C58.0748 17.532 58.0903 17.541 58.1076 17.546C58.1178 17.549 58.1284 17.5506 58.1397 17.5506C58.16 17.5506 58.179 17.5453 58.1956 17.5361ZM58.224 18.0938C58.2029 18.1164 58.173 18.1305 58.1397 18.1305C58.0762 18.1305 58.0242 18.0788 58.0242 18.015C58.0242 18.009 58.0245 18.0031 58.0255 17.9974C58.026 17.9939 58.0267 17.9904 58.0276 17.987C58.0289 17.9816 58.0307 17.9762 58.0329 17.9711C58.0503 17.929 58.0917 17.8994 58.1397 17.8994C58.1702 17.8994 58.1981 17.9113 58.2182 17.9305C58.2254 17.9372 58.2318 17.9449 58.2372 17.9533C58.2486 17.9711 58.2552 17.9923 58.2552 18.015C58.2552 18.0455 58.2434 18.0732 58.224 18.0938ZM58.1397 18.7104C58.2033 18.7104 58.2552 18.6587 58.2552 18.5949C58.2552 18.5311 58.2033 18.4794 58.1397 18.4794C58.0762 18.4794 58.0242 18.5311 58.0242 18.5949C58.0242 18.6252 58.0358 18.6528 58.0547 18.6733C58.0762 18.6961 58.1062 18.7104 58.1397 18.7104ZM58.7796 16.1689H58.5613V18.2876L58.7796 16.1689Z" fill="white"/>
|
|
3
|
+
</svg>
|
package/lib/assets/clients.svg
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
1
|
+
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_5903_35033)">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M26.5508 6.7501C26.5508 5.83883 25.812 5.1001 24.9008 5.1001H5.10078C4.18951 5.1001 3.45078 5.83883 3.45078 6.7501V18.3001H5.10078V6.7501H24.9008V8.4001H26.5508V6.7501ZM28.2008 11.7001C28.2008 10.7888 27.462 10.0501 26.5508 10.0501H19.9508C19.0395 10.0501 18.3008 10.7888 18.3008 11.7001V13.3501H19.9508V11.7001H26.5508V23.2501H24.9008V24.9001H26.5508C27.462 24.9001 28.2008 24.1614 28.2008 23.2501V11.7001ZM16.6508 23.2501H21.6008V16.6501H16.6508V23.2501ZM21.6008 15.0001C22.5121 15.0001 23.2508 15.7388 23.2508 16.6501V23.2501C23.2508 24.1614 22.5121 24.9001 21.6008 24.9001H16.6508C15.7395 24.9001 15.0008 24.1614 15.0008 23.2501V16.6501C15.0008 15.7388 15.7395 15.0001 16.6508 15.0001H21.6008ZM3.03828 19.9501H13.3508V21.6001H3.45078C3.45078 22.5114 4.18951 23.2501 5.10078 23.2501H13.3508V24.9001H5.51328C3.46292 24.9001 1.80078 23.238 1.80078 21.1876C1.80078 20.5041 2.35483 19.9501 3.03828 19.9501Z" fill="#212124"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_5903_35033">
|
|
7
|
+
<rect width="30" height="30" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
3
10
|
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.7002 5.4999C18.7002 4.89239 18.2077 4.3999 17.6002 4.3999H4.4002C3.79268 4.3999 3.3002 4.89239 3.3002 5.4999V13.1999H4.4002V5.4999H17.6002V6.5999H18.7002V5.4999ZM19.8002 8.7999C19.8002 8.19239 19.3077 7.6999 18.7002 7.6999H14.3002C13.6927 7.6999 13.2002 8.19239 13.2002 8.7999V9.8999H14.3002V8.7999H18.7002V16.4999H17.6002V17.5999H18.7002C19.3077 17.5999 19.8002 17.1074 19.8002 16.4999V8.7999ZM12.1002 16.4999H15.4002V12.0999H12.1002V16.4999ZM15.4002 10.9999C16.0077 10.9999 16.5002 11.4924 16.5002 12.0999V16.4999C16.5002 17.1074 16.0077 17.5999 15.4002 17.5999H12.1002C11.4927 17.5999 11.0002 17.1074 11.0002 16.4999V12.0999C11.0002 11.4924 11.4927 10.9999 12.1002 10.9999H15.4002ZM3.0252 14.2999H9.90019V15.3999H3.3002C3.3002 16.0074 3.79268 16.4999 4.4002 16.4999H9.90019V17.5999H4.6752C3.30829 17.5999 2.2002 16.4918 2.2002 15.1249C2.2002 14.6693 2.56956 14.2999 3.0252 14.2999Z" fill="#212124"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="45" height="39" viewBox="0 0 45 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.1928 38.3622C24.756 38.3622 29.7539 35.9427 33.1919 32.0985V15.9298L33.2117 15.0054C33.2252 14.3966 33.339 13.7939 33.5492 13.222C33.7061 12.7924 34.1105 12.5049 34.5656 12.4952L35.4351 12.4765H36.5744C33.7719 5.63318 27.0454 0.8125 19.1928 0.8125C8.82374 0.8125 0.417969 9.21829 0.417969 19.5874C0.417969 29.9564 8.82374 38.3622 19.1928 38.3622ZM41.0164 12.5871C40.951 12.5871 40.898 12.6401 40.898 12.7054V13.2692H39.7474H38.7348H35.4436L34.5823 13.2876C34.453 13.2904 34.3381 13.3722 34.2936 13.494C34.1134 13.9841 34.0157 14.5008 34.0041 15.0229L33.9845 15.9383V36.0164L34.0308 36.846C34.0463 37.1334 34.0972 37.418 34.1821 37.6931L34.3137 38.123C34.3507 38.2428 34.4594 38.3264 34.5846 38.3315L35.3466 38.3622H38.7348H39.7474H43.1357L43.8975 38.3315C44.0227 38.3264 44.1315 38.2428 44.1685 38.123L44.3 37.6931C44.385 37.418 44.4359 37.1334 44.4514 36.846L44.4976 36.0164V15.9383L44.4781 15.0229C44.4665 14.5008 44.3687 13.9841 44.1886 13.494C44.1441 13.3722 44.0291 13.2904 43.8999 13.2876L43.0386 13.2692H41.9145V12.7054C41.9145 12.6784 41.9054 12.6536 41.8901 12.6337C41.8833 12.6247 41.8752 12.6168 41.8661 12.6101C41.8464 12.5957 41.8222 12.5871 41.7961 12.5871H41.0164ZM39.3054 16.2362C39.2859 16.2515 39.2609 16.2607 39.2344 16.2607C39.2062 16.2607 39.1802 16.2505 39.1599 16.2336C39.1351 16.2125 39.1189 16.1807 39.1189 16.1452C39.1189 16.0814 39.1709 16.0297 39.2344 16.0297C39.2981 16.0297 39.3499 16.0814 39.3499 16.1452C39.3499 16.1822 39.3327 16.2151 39.3054 16.2362ZM39.3499 16.7251C39.3499 16.789 39.2981 16.8406 39.2344 16.8406C39.1709 16.8406 39.1189 16.789 39.1189 16.7251C39.1189 16.7142 39.1206 16.7035 39.1235 16.6934C39.1299 16.6695 39.1444 16.6489 39.1634 16.634C39.1831 16.6187 39.2079 16.6096 39.2344 16.6096C39.2627 16.6096 39.2888 16.62 39.3089 16.6371C39.3283 16.6536 39.3424 16.6763 39.3476 16.7022C39.3492 16.7096 39.3499 16.7173 39.3499 16.7251ZM39.2903 17.4061C39.3257 17.3864 39.3499 17.3485 39.3499 17.305C39.3499 17.2412 39.2981 17.1895 39.2344 17.1895C39.1709 17.1895 39.1189 17.2412 39.1189 17.305C39.1189 17.3388 39.1334 17.3692 39.1564 17.3903C39.1696 17.402 39.1851 17.411 39.2023 17.416C39.2125 17.419 39.2232 17.4206 39.2344 17.4206C39.2547 17.4206 39.2737 17.4153 39.2903 17.4061ZM39.3188 17.9638C39.2977 17.9864 39.2677 18.0005 39.2344 18.0005C39.1709 18.0005 39.1189 17.9488 39.1189 17.885C39.1189 17.879 39.1193 17.8731 39.1202 17.8674C39.1216 17.8583 39.1241 17.8494 39.1276 17.8411C39.145 17.799 39.1864 17.7694 39.2344 17.7694C39.265 17.7694 39.2928 17.7813 39.313 17.8005C39.3201 17.8072 39.3265 17.8149 39.3319 17.8233C39.3433 17.8411 39.3499 17.8623 39.3499 17.885C39.3499 17.9155 39.3381 17.9432 39.3188 17.9638ZM39.2344 18.5804C39.2981 18.5804 39.3499 18.5287 39.3499 18.4649C39.3499 18.4011 39.2981 18.3494 39.2344 18.3494C39.1709 18.3494 39.1189 18.4011 39.1189 18.4649C39.1189 18.4952 39.1305 18.5228 39.1495 18.5433C39.1709 18.5661 39.2009 18.5804 39.2344 18.5804ZM39.8743 16.0389H39.6561V18.1576L39.8743 16.0389Z" fill="#212327"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.7002 5.4999C18.7002 4.89239 18.2077 4.3999 17.6002 4.3999H4.4002C3.79268 4.3999 3.3002 4.89239 3.3002 5.4999V13.1999H4.4002V5.4999H17.6002V6.5999H18.7002V5.4999ZM19.8002 8.7999C19.8002 8.19239 19.3077 7.6999 18.7002 7.6999H14.3002C13.6927 7.6999 13.2002 8.19239 13.2002 8.7999V9.8999H14.3002V8.7999H18.7002V16.4999H17.6002V17.5999H18.7002C19.3077 17.5999 19.8002 17.1074 19.8002 16.4999V8.7999ZM12.1002 16.4999H15.4002V12.0999H12.1002V16.4999ZM15.4002 10.9999C16.0077 10.9999 16.5002 11.4924 16.5002 12.0999V16.4999C16.5002 17.1074 16.0077 17.5999 15.4002 17.5999H12.1002C11.4927 17.5999 11.0002 17.1074 11.0002 16.4999V12.0999C11.0002 11.4924 11.4927 10.9999 12.1002 10.9999H15.4002ZM3.0252 14.2999H9.90019V15.3999H3.3002C3.3002 16.0074 3.79268 16.4999 4.4002 16.4999H9.90019V17.5999H4.6752C3.30829 17.5999 2.2002 16.4918 2.2002 15.1249C2.2002 14.6693 2.56956 14.2999 3.0252 14.2999Z" fill="#212124"/>
|
|
3
|
+
</svg>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var clients = require("../
|
|
6
|
+
var clients = require("../clients_v2.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -24,4 +24,4 @@ Object.keys(clients).forEach(function (k) {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=clients_v2.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clients_v2.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clients_v2.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.6129 13.375C15.8267 13.375 16 13.5429 16 13.75C16 14.9926 14.9601 16 13.6774 16C13.4636 16 13.2903 15.8321 13.2903 15.625C13.2903 15.4179 13.4636 15.25 13.6774 15.25C14.5326 15.25 15.2258 14.5784 15.2258 13.75C15.2258 13.5429 15.3991 13.375 15.6129 13.375ZM4.3871 13.375C4.60088 13.375 4.77419 13.5429 4.77419 13.75C4.77419 14.5784 5.46743 15.25 6.32258 15.25C6.53637 15.25 6.70968 15.4179 6.70968 15.625C6.70968 15.8321 6.53637 16 6.32258 16C5.03985 16 4 14.9926 4 13.75C4 13.5429 4.17331 13.375 4.3871 13.375ZM13.6774 13.375C13.8912 13.375 14.0645 13.5429 14.0645 13.75C14.0645 13.9571 13.8912 14.125 13.6774 14.125C13.4636 14.125 13.2903 13.9571 13.2903 13.75C13.2903 13.5429 13.4636 13.375 13.6774 13.375ZM6.32258 13.375C6.53637 13.375 6.70968 13.5429 6.70968 13.75C6.70968 13.9571 6.53637 14.125 6.32258 14.125C6.10879 14.125 5.93548 13.9571 5.93548 13.75C5.93548 13.5429 6.10879 13.375 6.32258 13.375ZM9.80645 6.25C11.9443 6.25 13.6774 7.92893 13.6774 10C13.6774 12.0711 11.9443 13.75 9.80645 13.75C7.66858 13.75 5.93548 12.0711 5.93548 10C5.93548 7.92893 7.66858 6.25 9.80645 6.25ZM9.80645 7C8.09615 7 6.70968 8.34315 6.70968 10C6.70968 11.6569 8.09615 13 9.80645 13C11.5168 13 12.9032 11.6569 12.9032 10C12.9032 8.34315 11.5168 7 9.80645 7ZM9.80645 8.5C10.6616 8.5 11.3548 9.17157 11.3548 10C11.3548 10.8284 10.6616 11.5 9.80645 11.5C8.9513 11.5 8.25806 10.8284 8.25806 10C8.25806 9.17157 8.9513 8.5 9.80645 8.5ZM9.80645 9.25C9.37888 9.25 9.03226 9.58579 9.03226 10C9.03226 10.4142 9.37888 10.75 9.80645 10.75C10.234 10.75 10.5806 10.4142 10.5806 10C10.5806 9.58579 10.234 9.25 9.80645 9.25ZM13.6774 5.875C13.8912 5.875 14.0645 6.04289 14.0645 6.25C14.0645 6.45711 13.8912 6.625 13.6774 6.625C13.4636 6.625 13.2903 6.45711 13.2903 6.25C13.2903 6.04289 13.4636 5.875 13.6774 5.875ZM13.6774 4C14.9601 4 16 5.00736 16 6.25C16 6.45711 15.8267 6.625 15.6129 6.625C15.3991 6.625 15.2258 6.45711 15.2258 6.25C15.2258 5.42157 14.5326 4.75 13.6774 4.75C13.4636 4.75 13.2903 4.58211 13.2903 4.375C13.2903 4.16789 13.4636 4 13.6774 4ZM6.32258 5.875C6.53637 5.875 6.70968 6.04289 6.70968 6.25C6.70968 6.45711 6.53637 6.625 6.32258 6.625C6.10879 6.625 5.93548 6.45711 5.93548 6.25C5.93548 6.04289 6.10879 5.875 6.32258 5.875ZM6.32258 4C6.53637 4 6.70968 4.16789 6.70968 4.375C6.70968 4.58211 6.53637 4.75 6.32258 4.75C5.46743 4.75 4.77419 5.42157 4.77419 6.25C4.77419 6.45711 4.60088 6.625 4.3871 6.625C4.17331 6.625 4 6.45711 4 6.25C4 5.00736 5.03985 4 6.32258 4Z" fill="#212124"/>
|
|
3
|
+
</svg>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var phased_array = require("../
|
|
6
|
+
var phased_array = require("../radio.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -24,4 +24,4 @@ Object.keys(phased_array).forEach(function (k) {
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=phased_array_v2.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phased_array_v2.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phased_array_v2.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.9154 4.87511L10.1459 9.36485L14.0454 9.36058L9.06635 15.1308L9.8045 10.6214L5.95271 10.6267L10.9154 4.87511ZM10.528 3.79336C11.0786 3.15592 12.1415 3.63309 11.9972 4.48289L11.3321 8.36355L14.3921 8.3602C15.1033 8.3602 15.509 9.1973 15.0307 9.74945L9.45863 16.2068C8.91138 16.8409 7.8491 16.3721 7.98883 15.523L8.62723 11.623L5.60713 11.6272C4.89578 11.6272 4.49087 10.7907 4.96669 10.2387L10.528 3.79336Z" fill="#212124"/>
|
|
3
|
+
<path d="M17.2841 17.0678V15.9911H18.3608C18.5417 15.9911 18.6838 15.849 18.6838 15.6681C18.6838 15.4872 18.5417 15.3451 18.3608 15.3451H17.2841V14.2683C17.2841 14.0874 17.142 13.9453 16.9611 13.9453C16.7802 13.9453 16.638 14.0874 16.638 14.2683V15.3451H15.5613C15.3804 15.3451 15.2383 15.4872 15.2383 15.6681C15.2383 15.849 15.3804 15.9911 15.5613 15.9911H16.638V17.0678C16.638 17.2487 16.7802 17.3909 16.9611 17.3909C17.142 17.3909 17.2841 17.2487 17.2841 17.0678Z" fill="#212124"/>
|
|
4
|
+
<path d="M17.2841 11.7495V10.6728H18.3608C18.5417 10.6728 18.6838 10.5306 18.6838 10.3497C18.6838 10.1688 18.5417 10.0267 18.3608 10.0267H17.2841V8.94997C17.2841 8.76908 17.142 8.62695 16.9611 8.62695C16.7802 8.62695 16.638 8.76908 16.638 8.94997V10.0267H15.5613C15.3804 10.0267 15.2383 10.1688 15.2383 10.3497C15.2383 10.5306 15.3804 10.6728 15.5613 10.6728H16.638V11.7495C16.638 11.9304 16.7802 12.0725 16.9611 12.0725C17.142 12.0725 17.2841 11.9304 17.2841 11.7495Z" fill="#212124"/>
|
|
5
|
+
<path d="M17.2841 5.99436V4.91763H18.3608C18.5417 4.91763 18.6838 4.7755 18.6838 4.5946C18.6838 4.41371 18.5417 4.27158 18.3608 4.27158H17.2841V3.19485C17.2841 3.01396 17.142 2.87183 16.9611 2.87183C16.7802 2.87183 16.638 3.01396 16.638 3.19485V4.27158H15.5613C15.3804 4.27158 15.2383 4.41371 15.2383 4.5946C15.2383 4.7755 15.3804 4.91763 15.5613 4.91763H16.638V5.99436C16.638 6.17525 16.7802 6.31738 16.9611 6.31738C17.142 6.31738 17.2841 6.17525 17.2841 5.99436Z" fill="#212124"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var poe_plus_plus_plus_outlined = require("../poe_plus_plus_plus_outlined.svg");
|
|
7
|
+
function _interopDefault(e) {
|
|
8
|
+
return e && e.__esModule ? e : {
|
|
9
|
+
default: e
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
var poe_plus_plus_plus_outlined__default = /*#__PURE__*/_interopDefault(poe_plus_plus_plus_outlined);
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return poe_plus_plus_plus_outlined__default["default"];
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.keys(poe_plus_plus_plus_outlined).forEach(function (k) {
|
|
20
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return poe_plus_plus_plus_outlined[k];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=poe_plus_plus_plus_outlined.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poe_plus_plus_plus_outlined.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poe_plus_plus_plus_outlined.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
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="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/minus5.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>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="34" height="38" viewBox="0 0 34 38" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.13147 0C1.99776 0 1.8893 0.106141 1.88556 0.239309L1.54801 13.1723V13.1945L1.58448 13.1895L1.63123 13.1838C1.70884 13.175 1.80608 13.167 1.9267 13.1605C2.11931 13.1502 2.3699 13.1435 2.69623 13.1435C3.22826 13.1435 3.57235 13.1585 3.78834 13.1775L3.86782 13.1853V13.1723L3.53963 0.239485C3.53589 0.10625 3.42649 0 3.29371 0H2.13147ZM1.54801 15.028V13.4018L1.6546 13.3873C1.84441 13.3659 2.16887 13.3483 2.69623 13.3483C3.22546 13.3483 3.563 13.3632 3.76964 13.3815L3.86782 13.3914V15.028C3.86782 15.0575 3.85473 15.0841 3.8351 15.1028C3.8164 15.1199 3.79208 15.1304 3.76497 15.1304H3.64528V15.6344H7.61262V15.1304H7.4733C7.4172 15.1304 7.37138 15.0846 7.37138 15.028V13.4018L7.47704 13.3873C7.58831 13.3748 7.74446 13.3636 7.96045 13.3565C8.11473 13.3514 8.29893 13.3483 8.5196 13.3483C9.04789 13.3483 9.38637 13.3632 9.59302 13.3815L9.63977 13.3858L9.69119 13.3914V15.028C9.69119 15.0621 9.67436 15.0923 9.64818 15.1109C9.63135 15.1232 9.61078 15.1304 9.58834 15.1304H9.46866V15.6344H13.436V15.1304H13.2967C13.2396 15.1304 13.1938 15.0846 13.1938 15.028V13.4018L13.2294 13.3963L13.3004 13.3873C13.4902 13.3659 13.8147 13.3483 14.343 13.3483C14.5449 13.3483 14.7189 13.3505 14.8685 13.3542C15.1106 13.3602 15.2883 13.3702 15.4164 13.3815L15.4678 13.3864L15.5136 13.3914V15.028C15.5136 15.0589 15.4996 15.0865 15.4781 15.1053C15.4603 15.121 15.437 15.1304 15.4117 15.1304H15.2911V15.6344H16.6216C16.7348 15.6344 16.8264 15.7261 16.8264 15.8392V30.616H0.232422V15.8392C0.232422 15.7261 0.324055 15.6344 0.437194 15.6344H1.78925V15.1304H1.65086C1.59383 15.1304 1.54801 15.0846 1.54801 15.028ZM7.95484 0C7.82113 0 7.71267 0.106141 7.70893 0.239309L7.37138 13.1723V13.1945L7.4546 13.1838C7.65563 13.1611 7.9885 13.1435 8.5196 13.1435C9.0507 13.1435 9.39572 13.1585 9.61078 13.1775L9.69119 13.1853V13.1723L9.36206 0.239485C9.36019 0.167809 9.3284 0.103942 9.27791 0.0602291C9.2349 0.0226818 9.1788 0 9.11708 0H7.95484ZM13.5323 0.239309C13.5351 0.106141 13.6445 0 13.7773 0H14.9395C15.0732 0 15.1817 0.10625 15.1854 0.239485L15.5136 13.1723V13.1853L15.4342 13.1775C15.3444 13.1696 15.2322 13.1624 15.0938 13.1567C14.8993 13.1486 14.6534 13.1435 14.343 13.1435C13.8119 13.1435 13.479 13.1611 13.278 13.1838L13.2434 13.1879L13.1938 13.1945V13.1723L13.5323 0.239309ZM0.232422 30.8208H16.8264V32.4666C16.7769 32.4474 16.7208 32.4306 16.66 32.4157C16.5263 32.3824 16.357 32.3556 16.1541 32.3339C15.7502 32.2905 15.2023 32.266 14.5103 32.2526C13.5435 32.2339 12.2896 32.2365 10.7422 32.2399L8.48033 32.2428L6.42139 32.2399H6.42057C4.8529 32.2366 3.56376 32.2338 2.56252 32.2526C1.84816 32.266 1.27779 32.2905 0.856087 32.3339C0.64477 32.3556 0.468985 32.3823 0.329665 32.4154L0.232422 32.4413V30.8208ZM16.6114 32.6144C16.7133 32.6396 16.7825 32.6665 16.8264 32.6923V35.0946V35.5428C16.8264 36.8999 15.7259 38 14.3692 38H2.68968C1.33295 38 0.232422 36.8999 0.232422 35.5428V35.0946V32.6571C0.270758 32.6428 0.318445 32.6285 0.376417 32.6147C0.503581 32.5844 0.670016 32.5588 0.876658 32.5376C1.28901 32.4951 1.85283 32.4707 2.56626 32.4574C3.56487 32.4386 4.85147 32.4413 6.42139 32.4447L8.37374 32.4476L8.48033 32.4476L8.58692 32.4476L9.66408 32.4466L10.745 32.4446C12.2915 32.4413 13.5417 32.4386 14.5066 32.4574C15.1967 32.4707 15.7371 32.4951 16.1326 32.5375C16.3299 32.5588 16.4889 32.5843 16.6114 32.6144ZM2.6233 16.0071C2.6233 15.947 2.67192 15.8983 2.73176 15.8983C2.75888 15.8983 2.78412 15.9086 2.80376 15.9255C2.8262 15.9455 2.84022 15.9746 2.84022 16.0071V30.1489C2.84022 30.2089 2.7916 30.2576 2.73176 30.2576C2.67192 30.2576 2.6233 30.2089 2.6233 30.1489V16.0071ZM8.06424 27.7644C8.06424 27.6907 8.12408 27.6309 8.19795 27.6309H8.86089C8.93382 27.6309 8.99366 27.6907 8.99366 27.7644C8.99366 27.8382 8.93382 27.898 8.86089 27.898H8.19795C8.16522 27.898 8.13437 27.8861 8.11099 27.8663C8.08201 27.8418 8.06424 27.8053 8.06424 27.7644ZM12.471 15.8983C12.4112 15.8983 12.3626 15.947 12.3626 16.0071V30.1489C12.3626 30.2089 12.4112 30.2576 12.471 30.2576C12.4954 30.2576 12.5178 30.2497 12.5356 30.2362C12.5627 30.2164 12.5795 30.1847 12.5795 30.1489V16.0071C12.5795 15.947 12.5309 15.8983 12.471 15.8983ZM3.57048 16.0071C3.57048 15.947 3.6191 15.8983 3.67895 15.8983C3.73879 15.8983 3.78741 15.947 3.78741 16.0071V30.1489C3.78741 30.2089 3.73879 30.2576 3.67895 30.2576C3.66024 30.2576 3.64248 30.2529 3.62752 30.2445C3.59386 30.226 3.57048 30.1901 3.57048 30.1489V16.0071ZM13.4182 15.8983C13.3584 15.8983 13.3098 15.947 13.3098 16.0071V30.1489C13.3098 30.2089 13.3584 30.2576 13.4182 30.2576C13.4453 30.2576 13.4697 30.2479 13.4884 30.2318C13.5117 30.2118 13.5267 30.1821 13.5267 30.1489V16.0071C13.5267 15.947 13.4781 15.8983 13.4182 15.8983ZM4.51673 16.0071C4.51673 15.947 4.56629 15.8983 4.62613 15.8983C4.68597 15.8983 4.7346 15.947 4.7346 16.0071V30.1489C4.7346 30.2089 4.68597 30.2576 4.62613 30.2576C4.56629 30.2576 4.51673 30.2089 4.51673 30.1489V16.0071ZM14.3654 15.8983C14.3056 15.8983 14.256 15.947 14.256 16.0071V30.1489C14.256 30.2089 14.3056 30.2576 14.3654 30.2576C14.3963 30.2576 14.4243 30.2444 14.444 30.2232C14.4627 30.2038 14.4739 30.1776 14.4739 30.1489V16.0071C14.4739 15.947 14.4253 15.8983 14.3654 15.8983ZM6.83374 34.4138C6.83374 34.3914 6.84028 34.3706 6.85244 34.3535C6.87114 34.3261 6.90293 34.3082 6.9394 34.3082H10.1194C10.1774 34.3082 10.2251 34.3555 10.2251 34.4138C10.2251 34.4721 10.1774 34.5194 10.1194 34.5194H6.9394C6.88049 34.5194 6.83374 34.4721 6.83374 34.4138ZM6.83374 35.0857C6.83374 35.0565 6.84496 35.0302 6.8646 35.0111C6.87114 35.0038 6.87956 34.9976 6.88891 34.9927L6.90293 34.9863C6.91415 34.9823 6.92631 34.9801 6.9394 34.9801H10.1194C10.1774 34.9801 10.2251 35.0274 10.2251 35.0857C10.2251 35.144 10.1774 35.1913 10.1194 35.1913H6.9394C6.88049 35.1913 6.83374 35.144 6.83374 35.0857ZM6.9394 35.652C6.91135 35.652 6.88704 35.6624 6.86834 35.6795C6.84683 35.6988 6.83374 35.7267 6.83374 35.7576C6.83374 35.7968 6.85525 35.8311 6.88704 35.8493C6.902 35.8581 6.91976 35.8632 6.9394 35.8632H10.1194C10.1437 35.8632 10.1671 35.8548 10.1849 35.8407C10.1942 35.8334 10.2017 35.8247 10.2083 35.8147C10.2186 35.7983 10.2251 35.7786 10.2251 35.7576C10.2251 35.6993 10.1774 35.652 10.1194 35.652H6.9394ZM31.2918 4.07202C31.1576 4.07202 31.048 4.179 31.0447 4.31309L30.7311 17.1153V17.2144H33.0133V17.1153L32.6999 4.31311C32.6966 4.17903 32.587 4.07204 32.4528 4.07204L31.2918 4.07202ZM33.0133 17.387H30.7311V18.8484C30.7311 18.9394 30.8049 19.0132 30.8959 19.0132H32.8485C32.9395 19.0132 33.0133 18.9394 33.0133 18.8484V17.387ZM19.4401 19.2201C19.3491 19.2201 19.2754 19.2938 19.2754 19.3848V31.9606C19.2754 32.0516 19.3491 32.1254 19.4401 32.1254H33.6031C33.6941 32.1254 33.7678 32.0516 33.7678 31.9606V19.3848C33.7678 19.2938 33.6941 19.2201 33.6031 19.2201H19.4401ZM19.7162 19.5479H19.8103V31.7286H19.7162V19.5479ZM20.6877 19.5479H20.4118V31.7286H20.6877V19.5479ZM20.8817 19.5479H21.1576V31.7286H20.8817V19.5479ZM21.628 19.548H21.3569V31.7287H21.628V19.548ZM21.8016 19.548H22.0816V31.7287H21.8016V19.548ZM22.5454 19.548H22.2952V31.7287H22.5454V19.548ZM22.7611 19.548H22.9212V31.7287H22.7611V19.548ZM30.2895 19.548H30.1511V31.7287H30.2895V19.548ZM26.2003 28.662C26.1205 28.662 26.0559 28.7267 26.0559 28.8065C26.0559 28.8863 26.1205 28.9509 26.2003 28.9509H26.8437C26.9235 28.9509 26.9882 28.8863 26.9882 28.8065C26.9882 28.7267 26.9235 28.662 26.8437 28.662H26.2003ZM20.1853 19.5479H19.9448V31.7286H20.1853V19.5479ZM30.4874 19.548H30.7721V31.7287H30.4874V19.548ZM31.2467 19.548H30.9966V31.7287H31.2467V19.548ZM31.4108 19.548H31.7037V31.7287H31.4108V19.548ZM32.1952 19.548H31.9023V31.7287H32.1952V19.548ZM32.3858 19.548H32.6786V31.7287H32.3858V19.548ZM33.084 19.548H32.8773V31.7287H33.084V19.548ZM33.2312 19.548H33.3519V31.7287H33.2312V19.548ZM20.3475 4.31309C20.3508 4.179 20.4605 4.07202 20.5946 4.07202L21.7556 4.07204C21.8898 4.07204 21.9994 4.17903 22.0027 4.31311L22.3161 17.1153V17.2144H20.034V17.1153L20.3475 4.31309ZM20.034 17.387H22.3161V18.8484C22.3161 18.9394 22.2423 19.0132 22.1514 19.0132H20.1987C20.1077 19.0132 20.034 18.9394 20.034 18.8484V17.387ZM20.1996 32.272C20.1086 32.272 20.0349 32.3457 20.0349 32.4367L20.0348 33.8074H22.321L22.321 32.4368C22.3211 32.3458 22.2473 32.272 22.1563 32.272H20.1996ZM22.3209 33.9973H20.0348L20.0348 34.2216L20.1154 37.7586C20.1184 37.8928 20.2281 38.0001 20.3624 38.0001H21.9928C22.1271 38.0001 22.2368 37.8929 22.2399 37.7586L22.3209 34.2216L22.3209 33.9973Z" fill="white"/>
|
|
3
3
|
</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="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/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>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.9154 4.87511L10.1459 9.36485L14.0454 9.36058L9.06635 15.1308L9.8045 10.6214L5.95271 10.6267L10.9154 4.87511ZM10.528 3.79336C11.0786 3.15592 12.1415 3.63309 11.9972 4.48289L11.3321 8.36355L14.3921 8.3602C15.1033 8.3602 15.509 9.1973 15.0307 9.74945L9.45863 16.2068C8.91138 16.8409 7.8491 16.3721 7.98883 15.523L8.62723 11.623L5.60713 11.6272C4.89578 11.6272 4.49087 10.7907 4.96669 10.2387L10.528 3.79336Z" fill="#212124"/>
|
|
3
|
+
<path d="M17.2841 17.0678V15.9911H18.3608C18.5417 15.9911 18.6838 15.849 18.6838 15.6681C18.6838 15.4872 18.5417 15.3451 18.3608 15.3451H17.2841V14.2683C17.2841 14.0874 17.142 13.9453 16.9611 13.9453C16.7802 13.9453 16.638 14.0874 16.638 14.2683V15.3451H15.5613C15.3804 15.3451 15.2383 15.4872 15.2383 15.6681C15.2383 15.849 15.3804 15.9911 15.5613 15.9911H16.638V17.0678C16.638 17.2487 16.7802 17.3909 16.9611 17.3909C17.142 17.3909 17.2841 17.2487 17.2841 17.0678Z" fill="#212124"/>
|
|
4
|
+
<path d="M17.2841 11.7495V10.6728H18.3608C18.5417 10.6728 18.6838 10.5306 18.6838 10.3497C18.6838 10.1688 18.5417 10.0267 18.3608 10.0267H17.2841V8.94997C17.2841 8.76908 17.142 8.62695 16.9611 8.62695C16.7802 8.62695 16.638 8.76908 16.638 8.94997V10.0267H15.5613C15.3804 10.0267 15.2383 10.1688 15.2383 10.3497C15.2383 10.5306 15.3804 10.6728 15.5613 10.6728H16.638V11.7495C16.638 11.9304 16.7802 12.0725 16.9611 12.0725C17.142 12.0725 17.2841 11.9304 17.2841 11.7495Z" fill="#212124"/>
|
|
5
|
+
<path d="M17.2841 5.99436V4.91763H18.3608C18.5417 4.91763 18.6838 4.7755 18.6838 4.5946C18.6838 4.41371 18.5417 4.27158 18.3608 4.27158H17.2841V3.19485C17.2841 3.01396 17.142 2.87183 16.9611 2.87183C16.7802 2.87183 16.638 3.01396 16.638 3.19485V4.27158H15.5613C15.3804 4.27158 15.2383 4.41371 15.2383 4.5946C15.2383 4.7755 15.3804 4.91763 15.5613 4.91763H16.638V5.99436C16.638 6.17525 16.7802 6.31738 16.9611 6.31738C17.142 6.31738 17.2841 6.17525 17.2841 5.99436Z" fill="#212124"/>
|
|
6
|
+
</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
|
|
@@ -109,12 +109,10 @@ const GalleryControlsProvider = ({
|
|
|
109
109
|
} else {
|
|
110
110
|
normalisedIndex = visibleSlide % totalNormalised;
|
|
111
111
|
}
|
|
112
|
+
} else if (visibleSlide === totalNormalised) {
|
|
113
|
+
normalisedIndex = totalNormalised;
|
|
112
114
|
} else {
|
|
113
|
-
|
|
114
|
-
normalisedIndex = totalNormalised;
|
|
115
|
-
} else {
|
|
116
|
-
normalisedIndex = visibleSlide + 1;
|
|
117
|
-
}
|
|
115
|
+
normalisedIndex = visibleSlide + 1;
|
|
118
116
|
}
|
|
119
117
|
}
|
|
120
118
|
const paddedCurrentIndex = utils.padNumberToFixedLength(normalisedIndex, totalNormalised);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.context.js","sources":["../../../src/components/Gallery/Gallery.context.tsx"],"sourcesContent":["import {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport type { ReactNode, SetStateAction } from \"react\";\n// import { useHarmonicIntervalFn } from \"react-use\";\n\nimport { GalleryControls } from \"./Gallery.types\";\nimport { padNumberToFixedLength } from \"./utils\";\n\ninterface GalleryContextShape {\n withTransition: boolean;\n showGalleryControls: boolean;\n controlsType: GalleryControls;\n setNext: () => void;\n setPrevious: () => void;\n jumpToSlide: (index: number) => void;\n reset: (total: number) => void;\n setControlsType: (controls: GalleryControls) => void;\n visibleSlide: number;\n resetTransitionState: () => void;\n currentImageLabel: string;\n}\n\nconst defaultGalleryContextState: GalleryContextShape = {\n showGalleryControls: false,\n withTransition: true,\n controlsType: GalleryControls.Inside,\n // Placeholder functions\n setNext: () => {\n // empty\n },\n setPrevious: () => {\n // empty\n },\n jumpToSlide: () => {\n // empty\n },\n reset: () => {\n // empty\n },\n setControlsType: () => {\n // empty\n },\n visibleSlide: 0,\n resetTransitionState: () => {\n // empty\n },\n currentImageLabel: \"0/0\",\n};\n\nconst GalleryContext = createContext<GalleryContextShape>(\n defaultGalleryContextState,\n);\n\nexport const GalleryControlsProvider = ({\n children,\n fade,\n}: {\n children: ReactNode;\n fade?: boolean;\n}) => {\n const [total, setTotal] = useState(0);\n const [controlsType, setControlsType] = useState<GalleryControls>(\n GalleryControls.Inside,\n );\n // const [hasStoppedAutoPlay, setHasStoppedAutoPlay] = useState(false);\n // const [intersectedOnce, setIntersectedOnce] = useState(false);\n\n const showGalleryControls = useMemo<boolean>(() => total > 1, [total]);\n\n const [visibleSlide, setVisibleSlideRaw] = useState(\n defaultGalleryContextState.visibleSlide,\n );\n const [withTransition, setWithTransition] = useState(\n defaultGalleryContextState.withTransition,\n );\n const [controlsDisabled, setControlsDisabled] = useState(false);\n\n const resetTransitionState = useCallback(() => {\n setWithTransition(true);\n setControlsDisabled(false);\n }, []);\n\n const reset = useCallback(\n (newTotal: number) => {\n setTotal(newTotal);\n setVisibleSlideRaw(!fade && newTotal > 1 ? 1 : 0);\n // setHasStoppedAutoPlay(false);\n resetTransitionState();\n },\n [resetTransitionState, fade],\n );\n\n const setVisibleSlide = useCallback(\n (nextVisibleState: SetStateAction<number>): void => {\n setControlsDisabled(true);\n setVisibleSlideRaw(nextVisibleState);\n },\n [],\n );\n\n /**\n * Auto change to next gallery item every N seconds unless user has interacted with the gallery\n * TODO: maybe don't autoplay if gallery not intersecting?!\n */\n // useHarmonicIntervalFn(\n // () => {\n // if (hasStoppedAutoPlay || total <= 1 || controlsDisabled) {\n // return;\n // }\n\n // setVisibleSlide((currVisibleSlide) => currVisibleSlide + 1);\n // },\n // // Start autoplay only if gallery was intersected\n // !intersectedOnce || hasStoppedAutoPlay || total <= 1 ? null : 5000\n // );\n\n /**\n * Reset slider when \"animation\" is finished.\n * When slider reaches the end or start slide, quicky reset (without transition) to either the ACTUAL first or last slide\n */\n useEffect(() => {\n // Ignore effect if animation in progress or there isn't anything to animate or if fade is enabled\n if (fade || controlsDisabled || total <= 1) {\n return;\n }\n\n // End of the carousel\n if (visibleSlide === total - 1) {\n setWithTransition(false);\n /**\n * HACK: right now in React@17 there isn't a way to \"flush\" state changes, so as a hack we wait:\n * 1. To disable the transition\n * 2. To reset the slider to the first slide\n * 3. To re-enable the transition\n */\n requestAnimationFrame(() => {\n setVisibleSlide(1);\n requestAnimationFrame(() => {\n resetTransitionState();\n });\n });\n // Start of the carousel\n } else if (visibleSlide === 0) {\n setWithTransition(false);\n // Same hack as above (see notes above)\n requestAnimationFrame(() => {\n setVisibleSlide(total - 2);\n requestAnimationFrame(() => {\n resetTransitionState();\n });\n });\n }\n // HACK: Only update on visibleSlide\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [visibleSlide, controlsDisabled, total]);\n\n const setPrevious = useCallback(() => {\n if (controlsDisabled) {\n return;\n }\n // setHasStoppedAutoPlay(true);\n if (fade) {\n setVisibleSlide((currVisibleSlide) =>\n currVisibleSlide < 1 ? total - 1 : currVisibleSlide - 1,\n );\n } else {\n setVisibleSlide((currVisibleSlide) => currVisibleSlide - 1);\n }\n }, [controlsDisabled, setVisibleSlide, total, fade]);\n\n const setNext = useCallback(() => {\n if (controlsDisabled) {\n return;\n }\n // setHasStoppedAutoPlay(true);\n if (fade) {\n setVisibleSlide((currVisibleSlide) =>\n currVisibleSlide === total - 1 ? 0 : currVisibleSlide + 1,\n );\n } else {\n setVisibleSlide((currVisibleSlide) => currVisibleSlide + 1);\n }\n }, [controlsDisabled, setVisibleSlide, total, fade]);\n\n const jumpToSlide = useCallback(\n (index: number) => {\n if (controlsDisabled) {\n return;\n }\n\n if (fade) {\n setVisibleSlide(index);\n } else {\n setVisibleSlide(index + 1);\n }\n\n requestAnimationFrame(() => {\n resetTransitionState();\n });\n },\n [controlsDisabled, fade, setVisibleSlide, resetTransitionState],\n );\n\n /**\n * Create a label \"02/15\" for controls\n */\n const currentImageLabel = useMemo(() => {\n const isAnimatable = total > 1;\n\n // Remove first and last copy if needed from total count for math\n const totalNormalised = isAnimatable ? total - (fade ? 0 : 2) : 1; // Use 1 instead of total to solve division of 0\n let normalisedIndex = visibleSlide;\n if (isAnimatable) {\n if (!fade) {\n if (visibleSlide === 0 || visibleSlide === totalNormalised) {\n normalisedIndex = totalNormalised;\n } else {\n normalisedIndex = visibleSlide % totalNormalised;\n }\n } else {\n if (visibleSlide === totalNormalised) {\n normalisedIndex = totalNormalised;\n } else {\n normalisedIndex = visibleSlide + 1;\n }\n }\n }\n\n const paddedCurrentIndex = padNumberToFixedLength(\n normalisedIndex,\n totalNormalised,\n );\n\n return `${paddedCurrentIndex}/${totalNormalised}`;\n }, [visibleSlide, total, fade]);\n\n return (\n <GalleryContext.Provider\n value={{\n setNext,\n setPrevious,\n jumpToSlide,\n reset,\n setControlsType,\n showGalleryControls,\n controlsType,\n withTransition,\n visibleSlide,\n resetTransitionState,\n currentImageLabel,\n }}\n >\n {children}\n </GalleryContext.Provider>\n );\n};\n\nexport const useGalleryControls = () => useContext(GalleryContext);\n"],"names":["defaultGalleryContextState","showGalleryControls","withTransition","controlsType","GalleryControls","Inside","setNext","setPrevious","jumpToSlide","reset","setControlsType","visibleSlide","resetTransitionState","currentImageLabel","GalleryContext","createContext","GalleryControlsProvider","children","fade","total","setTotal","useState","useMemo","setVisibleSlideRaw","setWithTransition","controlsDisabled","setControlsDisabled","useCallback","newTotal","setVisibleSlide","nextVisibleState","useEffect","requestAnimationFrame","currVisibleSlide","index","isAnimatable","totalNormalised","normalisedIndex","paddedCurrentIndex","padNumberToFixedLength","jsx","Provider","value","useGalleryControls","useContext"],"mappings":";;;;;;;AA4BA,MAAMA,0BAAkD,GAAA;EACtDC,mBAAqB,EAAA,KAAA;EACrBC,cAAgB,EAAA,IAAA;EAChBC,cAAcC,aAAgB,CAAAA,eAAA,CAAAC,MAAA;EAAA;EAE9BC,SAASA,CAAA,KAAM,CAEf,CAAA;EACAC,aAAaA,CAAA,KAAM,CAEnB,CAAA;EACAC,aAAaA,CAAA,KAAM,CAEnB,CAAA;EACAC,OAAOA,CAAA,KAAM,CAEb,CAAA;EACAC,iBAAiBA,CAAA,KAAM,CAEvB,CAAA;EACAC,YAAc,EAAA,CAAA;EACdC,sBAAsBA,CAAA,KAAM,CAE5B,CAAA;EACAC,iBAAmB,EAAA;AACrB,CAAA;AAEA,MAAMC,cAAiB,GAAAC,KAAA,CAAAA,aAAA,CACrBf,0BACF,CAAA;AAEO,MAAMgB,0BAA0BA,CAAC;EACtCC,QAAA;EACAC;AACF,CAGM,KAAA;EACJ,MAAM,CAACC,KAAA,EAAOC,QAAQ,CAAA,GAAIC,eAAS,CAAC,CAAA;EAC9B,MAAA,CAAClB,YAAc,EAAAO,eAAe,CAAI,GAAAW,KAAA,CAAAA,QAAA,CACtCjB,aAAAA,C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AAf;IACCC,KAAO,EAAA;MACLpC,OAAA;MACAC,WAAA;MACAC,WAAA;MACAC,KAAA;MACAC,eAAA;MACAT,mBAAA;MACAE,YAAA;MACAD,cAAA;MACAS,YAAA;MACAC,oBAAA;MACAC;IACF,CAAA;IAECI;EAAA,CAAA,CACH;AAEJ,CAAA;AAEa,MAAA0B,kBAAA,GAAqBA,CAAA,KAAMC,KAAAA,CAAAA,UAAA,CAAW9B,cAAc,CAAA;;"}
|
|
1
|
+
{"version":3,"file":"Gallery.context.js","sources":["../../../src/components/Gallery/Gallery.context.tsx"],"sourcesContent":["import {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport type { ReactNode, SetStateAction } from \"react\";\n// import { useHarmonicIntervalFn } from \"react-use\";\n\nimport { GalleryControls } from \"./Gallery.types\";\nimport { padNumberToFixedLength } from \"./utils\";\n\ninterface GalleryContextShape {\n withTransition: boolean;\n showGalleryControls: boolean;\n controlsType: GalleryControls;\n setNext: () => void;\n setPrevious: () => void;\n jumpToSlide: (index: number) => void;\n reset: (total: number) => void;\n setControlsType: (controls: GalleryControls) => void;\n visibleSlide: number;\n resetTransitionState: () => void;\n currentImageLabel: string;\n}\n\nconst defaultGalleryContextState: GalleryContextShape = {\n showGalleryControls: false,\n withTransition: true,\n controlsType: GalleryControls.Inside,\n // Placeholder functions\n setNext: () => {\n // empty\n },\n setPrevious: () => {\n // empty\n },\n jumpToSlide: () => {\n // empty\n },\n reset: () => {\n // empty\n },\n setControlsType: () => {\n // empty\n },\n visibleSlide: 0,\n resetTransitionState: () => {\n // empty\n },\n currentImageLabel: \"0/0\",\n};\n\nconst GalleryContext = createContext<GalleryContextShape>(\n defaultGalleryContextState,\n);\n\nexport const GalleryControlsProvider = ({\n children,\n fade,\n}: {\n children: ReactNode;\n fade?: boolean;\n}) => {\n const [total, setTotal] = useState(0);\n const [controlsType, setControlsType] = useState<GalleryControls>(\n GalleryControls.Inside,\n );\n // const [hasStoppedAutoPlay, setHasStoppedAutoPlay] = useState(false);\n // const [intersectedOnce, setIntersectedOnce] = useState(false);\n\n const showGalleryControls = useMemo<boolean>(() => total > 1, [total]);\n\n const [visibleSlide, setVisibleSlideRaw] = useState(\n defaultGalleryContextState.visibleSlide,\n );\n const [withTransition, setWithTransition] = useState(\n defaultGalleryContextState.withTransition,\n );\n const [controlsDisabled, setControlsDisabled] = useState(false);\n\n const resetTransitionState = useCallback(() => {\n setWithTransition(true);\n setControlsDisabled(false);\n }, []);\n\n const reset = useCallback(\n (newTotal: number) => {\n setTotal(newTotal);\n setVisibleSlideRaw(!fade && newTotal > 1 ? 1 : 0);\n // setHasStoppedAutoPlay(false);\n resetTransitionState();\n },\n [resetTransitionState, fade],\n );\n\n const setVisibleSlide = useCallback(\n (nextVisibleState: SetStateAction<number>): void => {\n setControlsDisabled(true);\n setVisibleSlideRaw(nextVisibleState);\n },\n [],\n );\n\n /**\n * Auto change to next gallery item every N seconds unless user has interacted with the gallery\n * TODO: maybe don't autoplay if gallery not intersecting?!\n */\n // useHarmonicIntervalFn(\n // () => {\n // if (hasStoppedAutoPlay || total <= 1 || controlsDisabled) {\n // return;\n // }\n\n // setVisibleSlide((currVisibleSlide) => currVisibleSlide + 1);\n // },\n // // Start autoplay only if gallery was intersected\n // !intersectedOnce || hasStoppedAutoPlay || total <= 1 ? null : 5000\n // );\n\n /**\n * Reset slider when \"animation\" is finished.\n * When slider reaches the end or start slide, quicky reset (without transition) to either the ACTUAL first or last slide\n */\n useEffect(() => {\n // Ignore effect if animation in progress or there isn't anything to animate or if fade is enabled\n if (fade || controlsDisabled || total <= 1) {\n return;\n }\n\n // End of the carousel\n if (visibleSlide === total - 1) {\n setWithTransition(false);\n /**\n * HACK: right now in React@17 there isn't a way to \"flush\" state changes, so as a hack we wait:\n * 1. To disable the transition\n * 2. To reset the slider to the first slide\n * 3. To re-enable the transition\n */\n requestAnimationFrame(() => {\n setVisibleSlide(1);\n requestAnimationFrame(() => {\n resetTransitionState();\n });\n });\n // Start of the carousel\n } else if (visibleSlide === 0) {\n setWithTransition(false);\n // Same hack as above (see notes above)\n requestAnimationFrame(() => {\n setVisibleSlide(total - 2);\n requestAnimationFrame(() => {\n resetTransitionState();\n });\n });\n }\n // HACK: Only update on visibleSlide\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [visibleSlide, controlsDisabled, total]);\n\n const setPrevious = useCallback(() => {\n if (controlsDisabled) {\n return;\n }\n // setHasStoppedAutoPlay(true);\n if (fade) {\n setVisibleSlide((currVisibleSlide) =>\n currVisibleSlide < 1 ? total - 1 : currVisibleSlide - 1,\n );\n } else {\n setVisibleSlide((currVisibleSlide) => currVisibleSlide - 1);\n }\n }, [controlsDisabled, setVisibleSlide, total, fade]);\n\n const setNext = useCallback(() => {\n if (controlsDisabled) {\n return;\n }\n // setHasStoppedAutoPlay(true);\n if (fade) {\n setVisibleSlide((currVisibleSlide) =>\n currVisibleSlide === total - 1 ? 0 : currVisibleSlide + 1,\n );\n } else {\n setVisibleSlide((currVisibleSlide) => currVisibleSlide + 1);\n }\n }, [controlsDisabled, setVisibleSlide, total, fade]);\n\n const jumpToSlide = useCallback(\n (index: number) => {\n if (controlsDisabled) {\n return;\n }\n\n if (fade) {\n setVisibleSlide(index);\n } else {\n setVisibleSlide(index + 1);\n }\n\n requestAnimationFrame(() => {\n resetTransitionState();\n });\n },\n [controlsDisabled, fade, setVisibleSlide, resetTransitionState],\n );\n\n /**\n * Create a label \"02/15\" for controls\n */\n const currentImageLabel = useMemo(() => {\n const isAnimatable = total > 1;\n\n // Remove first and last copy if needed from total count for math\n const totalNormalised = isAnimatable ? total - (fade ? 0 : 2) : 1; // Use 1 instead of total to solve division of 0\n let normalisedIndex = visibleSlide;\n if (isAnimatable) {\n if (!fade) {\n if (visibleSlide === 0 || visibleSlide === totalNormalised) {\n normalisedIndex = totalNormalised;\n } else {\n normalisedIndex = visibleSlide % totalNormalised;\n }\n } else if (visibleSlide === totalNormalised) {\n normalisedIndex = totalNormalised;\n } else {\n normalisedIndex = visibleSlide + 1;\n }\n }\n\n const paddedCurrentIndex = padNumberToFixedLength(\n normalisedIndex,\n totalNormalised,\n );\n\n return `${paddedCurrentIndex}/${totalNormalised}`;\n }, [visibleSlide, total, fade]);\n\n return (\n <GalleryContext.Provider\n value={{\n setNext,\n setPrevious,\n jumpToSlide,\n reset,\n setControlsType,\n showGalleryControls,\n controlsType,\n withTransition,\n visibleSlide,\n resetTransitionState,\n currentImageLabel,\n }}\n >\n {children}\n </GalleryContext.Provider>\n );\n};\n\nexport const useGalleryControls = () => useContext(GalleryContext);\n"],"names":["defaultGalleryContextState","showGalleryControls","withTransition","controlsType","GalleryControls","Inside","setNext","setPrevious","jumpToSlide","reset","setControlsType","visibleSlide","resetTransitionState","currentImageLabel","GalleryContext","createContext","GalleryControlsProvider","children","fade","total","setTotal","useState","useMemo","setVisibleSlideRaw","setWithTransition","controlsDisabled","setControlsDisabled","useCallback","newTotal","setVisibleSlide","nextVisibleState","useEffect","requestAnimationFrame","currVisibleSlide","index","isAnimatable","totalNormalised","normalisedIndex","paddedCurrentIndex","padNumberToFixedLength","jsx","Provider","value","useGalleryControls","useContext"],"mappings":";;;;;;;AA4BA,MAAMA,0BAAkD,GAAA;EACtDC,mBAAqB,EAAA,KAAA;EACrBC,cAAgB,EAAA,IAAA;EAChBC,cAAcC,aAAgB,CAAAA,eAAA,CAAAC,MAAA;EAAA;EAE9BC,SAASA,CAAA,KAAM,CAEf,CAAA;EACAC,aAAaA,CAAA,KAAM,CAEnB,CAAA;EACAC,aAAaA,CAAA,KAAM,CAEnB,CAAA;EACAC,OAAOA,CAAA,KAAM,CAEb,CAAA;EACAC,iBAAiBA,CAAA,KAAM,CAEvB,CAAA;EACAC,YAAc,EAAA,CAAA;EACdC,sBAAsBA,CAAA,KAAM,CAE5B,CAAA;EACAC,iBAAmB,EAAA;AACrB,CAAA;AAEA,MAAMC,cAAiB,GAAAC,KAAA,CAAAA,aAAA,CACrBf,0BACF,CAAA;AAE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