@ubnt/store.core 9.22.0-alpha.0 → 9.22.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- 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/Button/CartButton.d.ts +1 -3
- package/lib/components/Button/CartButton.js +12 -8
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +12 -8
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/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/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 +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- 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/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/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- package/lib/constants/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/package.json +1 -1
package/CHANGELOG.md
CHANGED
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="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>
|
|
@@ -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>
|
package/lib/assets/minus4.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_406)">
|
|
4
|
+
<path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_658_406)">
|
|
8
|
+
<rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_658_406">
|
|
12
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/minus5.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15898)">
|
|
4
|
+
<path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_426_15898)">
|
|
8
|
+
<rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_426_15898">
|
|
12
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/pause.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<rect x="
|
|
3
|
-
<rect x="
|
|
1
|
+
<svg width="13" height="17" viewBox="0 0 13 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.232422" width="4" height="17" rx="2" fill="#393A3F"/>
|
|
3
|
+
<rect x="8.23242" width="4" height="17" rx="2" fill="#393A3F"/>
|
|
4
4
|
</svg>
|
package/lib/assets/pause2.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<rect x="
|
|
3
|
-
<rect x="
|
|
1
|
+
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="6" y="3" width="3" height="16" rx="1.5" fill="#393A3F"/>
|
|
3
|
+
<rect x="12" y="3" width="3" height="16" rx="1.5" fill="#393A3F"/>
|
|
4
4
|
</svg>
|
package/lib/assets/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/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
|
|
@@ -3,7 +3,5 @@ export interface CartButtonProps extends ButtonProps {
|
|
|
3
3
|
icon?: "cart" | "plus";
|
|
4
4
|
hideIcon?: boolean;
|
|
5
5
|
label?: string;
|
|
6
|
-
width?: number;
|
|
7
|
-
height?: number;
|
|
8
6
|
}
|
|
9
|
-
export declare const CartButton: ({ icon, hideIcon, label,
|
|
7
|
+
export declare const CartButton: ({ icon, hideIcon, label, ...props }: CartButtonProps) => JSX.Element;
|
|
@@ -39,16 +39,22 @@ const CartButton = function CartButton2({
|
|
|
39
39
|
icon = "cart",
|
|
40
40
|
hideIcon,
|
|
41
41
|
label,
|
|
42
|
-
width,
|
|
43
|
-
height,
|
|
44
42
|
...props
|
|
45
43
|
}) {
|
|
46
|
-
const
|
|
44
|
+
const iconProps = react.useMemo(() => {
|
|
47
45
|
switch (icon) {
|
|
48
46
|
case "cart":
|
|
49
|
-
return
|
|
47
|
+
return {
|
|
48
|
+
src: CartIcon__default["default"],
|
|
49
|
+
width: 20,
|
|
50
|
+
height: 20
|
|
51
|
+
};
|
|
50
52
|
case "plus":
|
|
51
|
-
return
|
|
53
|
+
return {
|
|
54
|
+
src: CartPlusIcon__default["default"],
|
|
55
|
+
width: 20,
|
|
56
|
+
height: 16
|
|
57
|
+
};
|
|
52
58
|
}
|
|
53
59
|
}, [icon]);
|
|
54
60
|
return /* @__PURE__ */jsxRuntime.jsx(ButtonStyled, {
|
|
@@ -56,9 +62,7 @@ const CartButton = function CartButton2({
|
|
|
56
62
|
label,
|
|
57
63
|
children: /* @__PURE__ */jsxRuntime.jsxs(ButtonInnerWrap, {
|
|
58
64
|
children: [!hideIcon && /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
|
|
59
|
-
|
|
60
|
-
width: width || 20,
|
|
61
|
-
height: height || 16
|
|
65
|
+
...iconProps
|
|
62
66
|
}), !!label && /* @__PURE__ */jsxRuntime.jsx("span", {
|
|
63
67
|
children: label
|
|
64
68
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartButton.js","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n label?: string;\n
|
|
1
|
+
{"version":3,"file":"CartButton.js","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import type { StaticImageData } from \"next/image\";\nimport { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n label?: string;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n label,\n ...props\n}: CartButtonProps) {\n const iconProps = useMemo((): {\n src: string | StaticImageData;\n width: number;\n height: number;\n } => {\n switch (icon) {\n case \"cart\":\n return {\n src: CartIcon,\n width: 20,\n height: 20,\n };\n case \"plus\":\n return {\n src: CartPlusIcon,\n width: 20,\n height: 16,\n };\n }\n }, [icon]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label}>\n <ButtonInnerWrap>\n {!hideIcon && <StyleableSvgImage {...iconProps} />}\n {!!label && <span>{label}</span>}\n </ButtonInnerWrap>\n </ButtonStyled>\n );\n};\n"],"names":["ButtonStyled","styled","Button","label","css","ButtonInnerWrap","div","CartButton","CartButton2","icon","hideIcon","props","iconProps","useMemo","src","CartIcon","width","height","CartPlusIcon","children","jsx","StyleableSvgImage"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,YAAA,GAAeC,eAAAA,CAAAA,SAAAA,EAAOC,MAAAA,CAAAA,MAAM,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK9B,CAAC;EAAEC;AAAA,CACH,KAAA,CAAC,CAACA,KACF,IAAAC,MAAAA,CAAAA,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGL,MAAMC,kBAAkBJ,eAAO,CAAA,SAAA,CAAA,CAAAK,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMlB,MAAAC,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,MAAA;EACPC,QAAA;EACAP,KAAA;EACA,GAAGQ;AACL,CAAoB,EAAA;EACZ,MAAAC,SAAA,GAAYC,KAAAA,CAAAA,QAAQ,MAIrB;IACH,QAAQJ,IAAM;MACZ,KAAK,MAAA;QACI,OAAA;UACLK,GAAK,EAAAC,iBAAA,CAAA,SAAA,CAAA;UACLC,KAAO,EAAA,EAAA;UACPC,MAAQ,EAAA;QAAA,CACV;MACF,KAAK,MAAA;QACI,OAAA;UACLH,GAAK,EAAAI,qBAAA,CAAA,SAAA,CAAA;UACLF,KAAO,EAAA,EAAA;UACPC,MAAQ,EAAA;QAAA,CACV;IACJ;EAAA,CACF,EAAG,CAACR,IAAI,CAAC,CAAA;EAKT,qCACGT,YAAc,EAAA;IAAA,GAAGW,KAAO;IAAAR,KAAA;IACvBgB,yCAACd,eACE,EAAA;MAAAc,QAAA,EAAA,CAAA,CAACT,QAAY,IAAA,eAAAU,UAAA,CAAAA,GAAA,CAACC,iBAAmB,CAAAA,iBAAA,EAAA;QAAA,GAAGT;MAAW,CAAA,CAAA,EAC/C,CAAC,CAACT,KAAS,IAAA,eAAAiB,UAAA,CAAAA,GAAA,CAAC;QAAMD,QAAM,EAAAhB;OAAA,CAAA;IAC3B,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -29,16 +29,22 @@ const CartButton = function CartButton2({
|
|
|
29
29
|
icon = "cart",
|
|
30
30
|
hideIcon,
|
|
31
31
|
label,
|
|
32
|
-
width,
|
|
33
|
-
height,
|
|
34
32
|
...props
|
|
35
33
|
}) {
|
|
36
|
-
const
|
|
34
|
+
const iconProps = useMemo(() => {
|
|
37
35
|
switch (icon) {
|
|
38
36
|
case "cart":
|
|
39
|
-
return
|
|
37
|
+
return {
|
|
38
|
+
src: CartIcon__default,
|
|
39
|
+
width: 20,
|
|
40
|
+
height: 20
|
|
41
|
+
};
|
|
40
42
|
case "plus":
|
|
41
|
-
return
|
|
43
|
+
return {
|
|
44
|
+
src: CartPlusIcon__default,
|
|
45
|
+
width: 20,
|
|
46
|
+
height: 16
|
|
47
|
+
};
|
|
42
48
|
}
|
|
43
49
|
}, [icon]);
|
|
44
50
|
return /* @__PURE__ */jsx(ButtonStyled, {
|
|
@@ -46,9 +52,7 @@ const CartButton = function CartButton2({
|
|
|
46
52
|
label,
|
|
47
53
|
children: /* @__PURE__ */jsxs(ButtonInnerWrap, {
|
|
48
54
|
children: [!hideIcon && /* @__PURE__ */jsx(StyleableSvgImage, {
|
|
49
|
-
|
|
50
|
-
width: width || 20,
|
|
51
|
-
height: height || 16
|
|
55
|
+
...iconProps
|
|
52
56
|
}), !!label && /* @__PURE__ */jsx("span", {
|
|
53
57
|
children: label
|
|
54
58
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartButton.mjs","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n label?: string;\n
|
|
1
|
+
{"version":3,"file":"CartButton.mjs","sources":["../../../src/components/Button/CartButton.tsx"],"sourcesContent":["import type { StaticImageData } from \"next/image\";\nimport { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport CartIcon from \"../../assets/icons/cart.svg\";\nimport CartPlusIcon from \"../../assets/icons/cartPlus.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { Button } from \"./Button\";\nimport type { ButtonProps } from \"./Button.types\";\n\nexport interface CartButtonProps extends ButtonProps {\n icon?: \"cart\" | \"plus\";\n hideIcon?: boolean;\n label?: string;\n}\n\nconst ButtonStyled = styled(Button)<CartButtonProps>`\n padding: 10px 15px;\n width: 40px;\n height: 40px;\n\n ${({ label }) =>\n !!label &&\n css`\n width: auto;\n `}\n`;\n\nconst ButtonInnerWrap = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nexport const CartButton = function CartButton({\n icon = \"cart\",\n hideIcon,\n label,\n ...props\n}: CartButtonProps) {\n const iconProps = useMemo((): {\n src: string | StaticImageData;\n width: number;\n height: number;\n } => {\n switch (icon) {\n case \"cart\":\n return {\n src: CartIcon,\n width: 20,\n height: 20,\n };\n case \"plus\":\n return {\n src: CartPlusIcon,\n width: 20,\n height: 16,\n };\n }\n }, [icon]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <ButtonStyled {...props} label={label}>\n <ButtonInnerWrap>\n {!hideIcon && <StyleableSvgImage {...iconProps} />}\n {!!label && <span>{label}</span>}\n </ButtonInnerWrap>\n </ButtonStyled>\n );\n};\n"],"names":["ButtonStyled","styled","Button","label","css","ButtonInnerWrap","div","CartButton","CartButton2","icon","hideIcon","props","iconProps","useMemo","src","CartIcon","width","height","CartPlusIcon","children","jsx","StyleableSvgImage"],"mappings":";;;;;;;;;;;AAgBA,MAAMA,YAAA,GAAeC,OAAOC,MAAM,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAK9B,CAAC;EAAEC;AAAA,CACH,KAAA,CAAC,CAACA,KACF,IAAAC,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGL,MAAMC,kBAAkBJ,MAAO,CAAAK,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMlB,MAAAC,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,MAAA;EACPC,QAAA;EACAP,KAAA;EACA,GAAGQ;AACL,CAAoB,EAAA;EACZ,MAAAC,SAAA,GAAYC,QAAQ,MAIrB;IACH,QAAQJ,IAAM;MACZ,KAAK,MAAA;QACI,OAAA;UACLK,GAAK,EAAAC,iBAAA;UACLC,KAAO,EAAA,EAAA;UACPC,MAAQ,EAAA;QAAA,CACV;MACF,KAAK,MAAA;QACI,OAAA;UACLH,GAAK,EAAAI,qBAAA;UACLF,KAAO,EAAA,EAAA;UACPC,MAAQ,EAAA;QAAA,CACV;IACJ;EAAA,CACF,EAAG,CAACR,IAAI,CAAC,CAAA;EAKT,0BACGT,YAAc,EAAA;IAAA,GAAGW,KAAO;IAAAR,KAAA;IACvBgB,8BAACd,eACE,EAAA;MAAAc,QAAA,EAAA,CAAA,CAACT,QAAY,IAAA,eAAAU,GAAA,CAACC,iBAAmB,EAAA;QAAA,GAAGT;MAAW,CAAA,CAAA,EAC/C,CAAC,CAACT,KAAS,IAAA,eAAAiB,GAAA,CAAC;QAAMD,QAAM,EAAAhB;OAAA,CAAA;IAC3B,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -5,7 +5,7 @@ export declare const ProductMeta: import("styled-components").StyledComponent<"d
|
|
|
5
5
|
export declare const ProductTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const ProductPrice: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const ProductPriceSmall: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const CartButton: import("styled-components").StyledComponent<({ icon, hideIcon, label,
|
|
8
|
+
export declare const CartButton: import("styled-components").StyledComponent<({ icon, hideIcon, label, ...props }: import("../../../Button").CartButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare const ControlsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
10
|
export declare const ControlsButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
11
11
|
$loading?: boolean;
|
|
@@ -11,7 +11,7 @@ require('./assets/play.svg.js');
|
|
|
11
11
|
var MicrositeVideoSlideshow_styles = require('./MicrositeVideoSlideshow.styles.js');
|
|
12
12
|
var MicrositeSectionWrap = require('../MicrositeSectionWrap/MicrositeSectionWrap.js');
|
|
13
13
|
var PlayIcon = require("../../assets/play.svg");
|
|
14
|
-
var PauseIcon = require("../../assets/
|
|
14
|
+
var PauseIcon = require("../../assets/pause.svg");
|
|
15
15
|
var ActiveIconBox = require("../../assets/active-icon-box.svg");
|
|
16
16
|
function _interopDefault(e) {
|
|
17
17
|
return e && e.__esModule ? e : {
|
|
@@ -9,7 +9,7 @@ import './assets/play.svg.mjs';
|
|
|
9
9
|
import { VideoBlock, Video, VideoControls, VideoInnerWrap, ProgressCircle, PlayIcon, PauseIcon, SlideRow, Slide, FeatureIconWrap, FeatureIconActiveBackground, FeatureIcon, FeatureTitle, MicrositeBuyButton } from './MicrositeVideoSlideshow.styles.mjs';
|
|
10
10
|
import { MicrositeSectionWrap } from '../MicrositeSectionWrap/MicrositeSectionWrap.mjs';
|
|
11
11
|
import PlayIcon__default from "../../assets/play.svg";
|
|
12
|
-
import PauseIcon__default from "../../assets/
|
|
12
|
+
import PauseIcon__default from "../../assets/pause.svg";
|
|
13
13
|
import ActiveIconBox__default from "../../assets/active-icon-box.svg";
|
|
14
14
|
"use strict";
|
|
15
15
|
const MicrositeVideoSlideshow = ({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/pause.svg";
|
|
2
|
+
export { default } from "../../../assets/pause.svg";
|
|
3
3
|
//# sourceMappingURL=pause.svg.mjs.map
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_pESvYnSE = require("../../../../../assets/udmPro.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_pESvYnSE__default = /*#__PURE__*/_interopDefault(_externalAssets_pESvYnSE);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_pESvYnSE__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_pESvYnSE).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_pESvYnSE[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../assets/
|
|
1
|
+
export * from "../../../../../assets/udmPro.jpg";
|
|
2
|
+
export { default } from "../../../../../assets/udmPro.jpg";
|
|
3
3
|
//# sourceMappingURL=udmPro.jpg.mjs.map
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_CmLfPohF = require("../../../../../assets/udmProMax.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_CmLfPohF__default = /*#__PURE__*/_interopDefault(_externalAssets_CmLfPohF);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_CmLfPohF__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_CmLfPohF).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_CmLfPohF[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../assets/
|
|
1
|
+
export * from "../../../../../assets/udmProMax.jpg";
|
|
2
|
+
export { default } from "../../../../../assets/udmProMax.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProMax.jpg.mjs.map
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_BUotdZNw = require("../../../../../assets/udmProSpecial.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_BUotdZNw__default = /*#__PURE__*/_interopDefault(_externalAssets_BUotdZNw);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_BUotdZNw__default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_BUotdZNw).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_BUotdZNw[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../assets/
|
|
1
|
+
export * from "../../../../../assets/udmProSpecial.jpg";
|
|
2
|
+
export { default } from "../../../../../assets/udmProSpecial.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProSpecial.jpg.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../assets/
|
|
2
|
-
export { default } from "../../../../assets/
|
|
1
|
+
export * from "../../../../assets/udmPro2.jpg";
|
|
2
|
+
export { default } from "../../../../assets/udmPro2.jpg";
|
|
3
3
|
//# sourceMappingURL=udmPro.jpg.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../assets/
|
|
2
|
-
export { default } from "../../../../assets/
|
|
1
|
+
export * from "../../../../assets/udmProMax2.jpg";
|
|
2
|
+
export { default } from "../../../../assets/udmProMax2.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProMax.jpg.mjs.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var image = require("../../../../assets/
|
|
6
|
+
var image = require("../../../../assets/udmProSpecial2.jpg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../assets/
|
|
2
|
-
export { default } from "../../../../assets/
|
|
1
|
+
export * from "../../../../assets/udmProSpecial2.jpg";
|
|
2
|
+
export { default } from "../../../../assets/udmProSpecial2.jpg";
|
|
3
3
|
//# sourceMappingURL=udmProSpecial.jpg.mjs.map
|
|
@@ -22,9 +22,9 @@ var throughput = require('./properties/throughput.js');
|
|
|
22
22
|
var unifiAppSuite = require('./properties/unifiAppSuite.js');
|
|
23
23
|
var unifiDevices = require('./properties/unifiDevices.js');
|
|
24
24
|
var wanPorts = require('./properties/wanPorts.js');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
25
|
+
var _externalAssets_CmLfPohF = require("../../../assets/udmProMax.jpg");
|
|
26
|
+
var _externalAssets_pESvYnSE = require("../../../assets/udmPro.jpg");
|
|
27
|
+
var _externalAssets_BUotdZNw = require("../../../assets/udmProSpecial.jpg");
|
|
28
28
|
var image = require("../../../assets/udw2.jpg");
|
|
29
29
|
var _externalAssets_ReJhRoVe = require("../../../assets/ucgMax2.jpg");
|
|
30
30
|
var _externalAssets_sWF40Ihh = require("../../../assets/ucgUltra2.jpg");
|
|
@@ -36,9 +36,9 @@ function _interopDefault(e) {
|
|
|
36
36
|
default: e
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
39
|
+
var _externalAssets_CmLfPohF__default = /*#__PURE__*/_interopDefault(_externalAssets_CmLfPohF);
|
|
40
|
+
var _externalAssets_pESvYnSE__default = /*#__PURE__*/_interopDefault(_externalAssets_pESvYnSE);
|
|
41
|
+
var _externalAssets_BUotdZNw__default = /*#__PURE__*/_interopDefault(_externalAssets_BUotdZNw);
|
|
42
42
|
var image__default = /*#__PURE__*/_interopDefault(image);
|
|
43
43
|
var _externalAssets_ReJhRoVe__default = /*#__PURE__*/_interopDefault(_externalAssets_ReJhRoVe);
|
|
44
44
|
var _externalAssets_sWF40Ihh__default = /*#__PURE__*/_interopDefault(_externalAssets_sWF40Ihh);
|
|
@@ -56,18 +56,18 @@ const efg = {
|
|
|
56
56
|
const udmProMax = {
|
|
57
57
|
...udmProMax$1.udmProMax,
|
|
58
58
|
description: "udmProMax.customDescription",
|
|
59
|
-
image: getImage(
|
|
59
|
+
image: getImage(_externalAssets_CmLfPohF__default["default"])
|
|
60
60
|
};
|
|
61
61
|
const udmPro = {
|
|
62
62
|
...udmPro$1.udmPro,
|
|
63
63
|
description: "udmPro.customDescription",
|
|
64
|
-
image: getImage(
|
|
64
|
+
image: getImage(_externalAssets_pESvYnSE__default["default"])
|
|
65
65
|
};
|
|
66
66
|
const udmProSpecial = {
|
|
67
67
|
...udmProSpecial$1.udmProSpecial,
|
|
68
68
|
title: "udmProSpecial.customTitle",
|
|
69
69
|
description: "udmProSpecial.customDescription",
|
|
70
|
-
image: getImage(
|
|
70
|
+
image: getImage(_externalAssets_BUotdZNw__default["default"])
|
|
71
71
|
};
|
|
72
72
|
const udw = {
|
|
73
73
|
...udw$1.udw,
|