@luxonis/common-fe-components 1.12.0 → 1.14.0
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/dist/components/custom/BadgeButton.d.ts +11 -0
- package/dist/components/custom/BadgeButton.d.ts.map +1 -0
- package/dist/components/custom/BadgeButton.js +12 -0
- package/dist/components/custom/BadgeButton.js.map +1 -0
- package/dist/components/custom/DropdownMenu.d.ts +5 -5
- package/dist/components/custom/ExternalLink.d.ts +1 -0
- package/dist/components/custom/ExternalLink.d.ts.map +1 -1
- package/dist/components/custom/ExternalLink.js.map +1 -1
- package/dist/components/custom/KpiDisplay.d.ts +1 -0
- package/dist/components/custom/KpiDisplay.d.ts.map +1 -1
- package/dist/components/custom/KpiDisplay.js +2 -2
- package/dist/components/custom/KpiDisplay.js.map +1 -1
- package/dist/components/custom/RadioGroup.d.ts +12 -12
- package/dist/components/custom/Slider.d.ts +14 -12
- package/dist/components/custom/Slider.d.ts.map +1 -1
- package/dist/components/custom/Stepper.d.ts +1 -0
- package/dist/components/custom/Stepper.d.ts.map +1 -1
- package/dist/components/custom/Stepper.js +1 -1
- package/dist/components/custom/Stepper.js.map +1 -1
- package/dist/components/custom/devices/devices-constants.d.ts +13 -0
- package/dist/components/custom/devices/devices-constants.d.ts.map +1 -0
- package/dist/components/custom/devices/devices-constants.js +27 -0
- package/dist/components/custom/devices/devices-constants.js.map +1 -0
- package/dist/components/custom/devices/devices-family.d.ts +11 -0
- package/dist/components/custom/devices/devices-family.d.ts.map +1 -0
- package/dist/components/custom/devices/devices-family.js +26 -0
- package/dist/components/custom/devices/devices-family.js.map +1 -0
- package/dist/components/custom/devices/devices-list.d.ts +17 -0
- package/dist/components/custom/devices/devices-list.d.ts.map +1 -0
- package/dist/components/custom/devices/devices-list.js +71 -0
- package/dist/components/custom/devices/devices-list.js.map +1 -0
- package/dist/components/custom/devices/devices.d.ts +12 -0
- package/dist/components/custom/devices/devices.d.ts.map +1 -0
- package/dist/components/custom/devices/devices.js +82 -0
- package/dist/components/custom/devices/devices.js.map +1 -0
- package/dist/components/custom/devices/index.d.ts +5 -0
- package/dist/components/custom/devices/index.d.ts.map +1 -0
- package/dist/components/custom/devices/index.js +5 -0
- package/dist/components/custom/devices/index.js.map +1 -0
- package/dist/components/custom/index.d.ts +3 -0
- package/dist/components/custom/index.d.ts.map +1 -1
- package/dist/components/custom/index.js +5 -0
- package/dist/components/custom/index.js.map +1 -1
- package/dist/components/custom/oak4/Oak4DeviceCard.d.ts +9 -0
- package/dist/components/custom/oak4/Oak4DeviceCard.d.ts.map +1 -0
- package/dist/components/custom/oak4/Oak4DeviceCard.js +13 -0
- package/dist/components/custom/oak4/Oak4DeviceCard.js.map +1 -0
- package/dist/components/custom/oak4/device-info.d.ts +1 -0
- package/dist/components/custom/oak4/device-info.d.ts.map +1 -0
- package/dist/components/custom/oak4/device-info.js +100 -0
- package/dist/components/custom/oak4/device-info.js.map +1 -0
- package/dist/components/custom/oak4/device-model.d.ts +1 -0
- package/dist/components/custom/oak4/device-model.d.ts.map +1 -0
- package/dist/components/custom/oak4/device-model.js +8 -0
- package/dist/components/custom/oak4/device-model.js.map +1 -0
- package/dist/components/custom/oak4/oak4-device-info.d.ts +13 -0
- package/dist/components/custom/oak4/oak4-device-info.d.ts.map +1 -0
- package/dist/components/custom/oak4/oak4-device-info.js +100 -0
- package/dist/components/custom/oak4/oak4-device-info.js.map +1 -0
- package/dist/components/custom/oak4/oak4-model.d.ts +4 -0
- package/dist/components/custom/oak4/oak4-model.d.ts.map +1 -0
- package/dist/components/custom/oak4/oak4-model.js +3 -0
- package/dist/components/custom/oak4/oak4-model.js.map +1 -0
- package/dist/components/shadow-panda/_Command.d.ts +10 -10
- package/dist/components/shadow-panda/_Slider.d.ts +1 -0
- package/dist/components/shadow-panda/_Slider.d.ts.map +1 -1
- package/dist/components/shadow-panda/_Slider.js +9 -2
- package/dist/components/shadow-panda/_Slider.js.map +1 -1
- package/dist/icons/react-icons.d.ts +4 -2
- package/dist/icons/react-icons.d.ts.map +1 -1
- package/dist/icons/react-icons.js +4 -2
- package/dist/icons/react-icons.js.map +1 -1
- package/dist/panda.buildinfo.json +18 -11
- package/dist/panda.css +38 -12
- package/dist/panda.d.ts.map +1 -1
- package/dist/panda.js +4 -0
- package/dist/panda.js.map +1 -1
- package/dist/styled-system/tokens/index.mjs +8 -0
- package/dist/styled-system/tokens/tokens.d.mts +2 -2
- package/package.json +4 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IconType } from 'react-icons';
|
|
2
|
+
import { type BadgeProps } from './Badge.js';
|
|
3
|
+
type BadgeLineProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
variant?: BadgeProps['variant'];
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
icon?: IconType | null;
|
|
8
|
+
};
|
|
9
|
+
export declare const BadgeButton: (props: BadgeLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=BadgeButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeButton.d.ts","sourceRoot":"","sources":["../../../src/components/custom/BadgeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAEpD,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,cAAc,4CAuBhD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { uuidv4 } from '@luxonis/common-fe-utils';
|
|
3
|
+
import { css } from '../../styled-system/css/css.mjs';
|
|
4
|
+
import { SubLabel } from './Text.js';
|
|
5
|
+
import { Flex } from './Flex.js';
|
|
6
|
+
import { Button } from './Button.js';
|
|
7
|
+
import { Badge } from './Badge.js';
|
|
8
|
+
export const BadgeButton = (props) => {
|
|
9
|
+
const { label, variant, onClick, icon } = props;
|
|
10
|
+
return (_jsx(Badge, { label: _jsxs(Flex, { align: "center", gap: "smaller.xs", className: css({ py: '1' }), children: [_jsx(SubLabel, { text: label, className: css({ paddingLeft: '1' }) }), _jsx(Button, { onClick: onClick, variant: "ghost", icon: icon, size: "sm", colorVariant: "white", width: "icon.xs", height: "icon.xs" })] }), variant: variant }, `${uuidv4()}-badge-button`));
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=BadgeButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeButton.js","sourceRoot":"","sources":["../../../src/components/custom/BadgeButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,KAAK,EAAmB,MAAM,YAAY,CAAC;AASpD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAqB,EAAE,EAAE;IACnD,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhD,OAAO,CACL,KAAC,KAAK,IAEJ,KAAK,EACH,MAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,EAAC,SAAS,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,aAC/D,KAAC,QAAQ,IAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,GAAI,EAC/D,KAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,EAAC,OAAO,EACf,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,IAAI,EACT,YAAY,EAAC,OAAO,EACpB,KAAK,EAAC,SAAS,EACf,MAAM,EAAC,SAAS,GAChB,IACG,EAET,OAAO,EAAE,OAAO,IAfX,GAAG,MAAM,EAAE,eAAe,CAgB/B,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,10 +13,11 @@ export type DropdownMenuItemProps = React.ComponentPropsWithoutRef<typeof _Dropd
|
|
|
13
13
|
export declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export type DropdownMenuContentProps = React.ComponentPropsWithoutRef<typeof _DropdownMenuContent>;
|
|
15
15
|
export declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<{
|
|
16
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
16
17
|
slot?: string | undefined;
|
|
17
18
|
style?: React.CSSProperties | undefined;
|
|
18
19
|
title?: string | undefined;
|
|
19
|
-
|
|
20
|
+
key?: React.Key | null | undefined;
|
|
20
21
|
defaultChecked?: boolean | undefined;
|
|
21
22
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
22
23
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -275,11 +276,11 @@ export declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<{
|
|
|
275
276
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
276
277
|
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
277
278
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
278
|
-
align?: ("center" | "end" | "start") | undefined;
|
|
279
|
-
key?: React.Key | null | undefined;
|
|
280
|
-
loop?: boolean | undefined;
|
|
281
279
|
sticky?: ("partial" | "always") | undefined;
|
|
280
|
+
align?: ("end" | "start" | "center") | undefined;
|
|
281
|
+
loop?: boolean | undefined;
|
|
282
282
|
asChild?: boolean | undefined;
|
|
283
|
+
forceMount?: true | undefined;
|
|
283
284
|
onEscapeKeyDown?: ((event: KeyboardEvent) => void) | undefined;
|
|
284
285
|
onPointerDownOutside?: ((event: CustomEvent<{
|
|
285
286
|
originalEvent: PointerEvent;
|
|
@@ -293,7 +294,6 @@ export declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<{
|
|
|
293
294
|
originalEvent: FocusEvent;
|
|
294
295
|
}>) => void) | undefined;
|
|
295
296
|
onCloseAutoFocus?: ((event: Event) => void) | undefined;
|
|
296
|
-
forceMount?: true | undefined;
|
|
297
297
|
side?: ("top" | "left" | "right" | "bottom") | undefined;
|
|
298
298
|
sideOffset?: number | undefined;
|
|
299
299
|
alignOffset?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../src/components/custom/ExternalLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;CAC3D,CAAC;AAEF,eAAO,MAAM,YAAY,mIAmDxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../src/components/custom/ExternalLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;CAC3D,CAAC;AAEF,eAAO,MAAM,YAAY,mIAmDxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalLink.js","sourceRoot":"","sources":["../../../src/components/custom/ExternalLink.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ExternalLink.js","sourceRoot":"","sources":["../../../src/components/custom/ExternalLink.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE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AC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EACnC,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,aAE3D,CAAC,GAAG,IAAI,CACP,KAAC,MAAM,IAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,KAAM,WAAW,YACzE,QAAQ,GACF,CACV,EACA,GAAG,IAAI,QAAQ,IACd,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KpiDisplay.d.ts","sourceRoot":"","sources":["../../../src/components/custom/KpiDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAEjD,KAAK,eAAe,GAAG,SAAS,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"KpiDisplay.d.ts","sourceRoot":"","sources":["../../../src/components/custom/KpiDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAEjD,KAAK,eAAe,GAAG,SAAS,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,UAAU;YAAW,eAAe,GAAG,GAAG,CAAC,OAAO;;CASvD,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Header, Label } from './Text.js';
|
|
3
3
|
import { Card } from './Card.js';
|
|
4
4
|
const KpiDisplay = (props) => {
|
|
5
|
-
const { label, description, ...rest } = props;
|
|
6
|
-
return (_jsxs(Card, { minWidth: "container.xxs", ...rest, children: [_jsx(Label, { text: description }), _jsx(Header, { text: label })] }));
|
|
5
|
+
const { label, description, labelClassName, ...rest } = props;
|
|
6
|
+
return (_jsxs(Card, { minWidth: "container.xxs", ...rest, children: [_jsx(Label, { text: description, className: labelClassName }), _jsx(Header, { text: label })] }));
|
|
7
7
|
};
|
|
8
8
|
KpiDisplay.displayName = 'KpiDisplay';
|
|
9
9
|
export { KpiDisplay };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KpiDisplay.js","sourceRoot":"","sources":["../../../src/components/custom/KpiDisplay.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAkB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"KpiDisplay.js","sourceRoot":"","sources":["../../../src/components/custom/KpiDisplay.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAkB,MAAM,WAAW,CAAC;AAQjD,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAe,EAAE;IACzD,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE9D,OAAO,CACL,MAAC,IAAI,IAAC,QAAQ,EAAC,eAAe,KAAK,IAAI,aACrC,KAAC,KAAK,IAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,GAAI,EACvD,KAAC,MAAM,IAAC,IAAI,EAAE,KAAK,GAAI,IAClB,CACR,CAAC;AACJ,CAAC,CAAC;AACF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -5,12 +5,13 @@ type RadioItem = {
|
|
|
5
5
|
sublabel?: string | null;
|
|
6
6
|
};
|
|
7
7
|
export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<Omit<{
|
|
8
|
-
slot?: string | undefined;
|
|
9
|
-
style?: React.CSSProperties | undefined;
|
|
10
|
-
title?: string | undefined;
|
|
11
8
|
value?: import("@radix-ui/react-radio-group").RadioGroupContextValue["value"];
|
|
12
9
|
name?: import("@radix-ui/react-radio-group").RadioGroupContextValue["name"];
|
|
13
10
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
11
|
+
slot?: string | undefined;
|
|
12
|
+
style?: React.CSSProperties | undefined;
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
key?: React.Key | null | undefined;
|
|
14
15
|
defaultChecked?: boolean | undefined;
|
|
15
16
|
defaultValue?: string | undefined;
|
|
16
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -270,11 +271,10 @@ export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
|
270
271
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
271
272
|
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
272
273
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
273
|
-
key?: React.Key | null | undefined;
|
|
274
|
-
orientation?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["orientation"];
|
|
275
|
-
loop?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["loop"];
|
|
276
274
|
disabled?: import("@radix-ui/react-primitive").ComponentPropsWithoutRef<typeof import("@radix-ui/react-radio-group").Radio>["disabled"];
|
|
275
|
+
orientation?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["orientation"];
|
|
277
276
|
required?: import("@radix-ui/react-primitive").ComponentPropsWithoutRef<typeof import("@radix-ui/react-radio-group").Radio>["required"];
|
|
277
|
+
loop?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["loop"];
|
|
278
278
|
asChild?: boolean | undefined;
|
|
279
279
|
onValueChange?: import("@radix-ui/react-radio-group").RadioGroupContextValue["onValueChange"] | undefined;
|
|
280
280
|
htmlWidth?: (string | number) | undefined;
|
|
@@ -1090,12 +1090,13 @@ export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
|
1090
1090
|
fullWidth?: boolean | undefined;
|
|
1091
1091
|
}, "ref"> & React.RefAttributes<unknown>>;
|
|
1092
1092
|
export declare const RadioGroupSimple: React.ForwardRefExoticComponent<Omit<Omit<Omit<{
|
|
1093
|
-
slot?: string | undefined;
|
|
1094
|
-
style?: React.CSSProperties | undefined;
|
|
1095
|
-
title?: string | undefined;
|
|
1096
1093
|
value?: import("@radix-ui/react-radio-group").RadioGroupContextValue["value"];
|
|
1097
1094
|
name?: import("@radix-ui/react-radio-group").RadioGroupContextValue["name"];
|
|
1098
1095
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
1096
|
+
slot?: string | undefined;
|
|
1097
|
+
style?: React.CSSProperties | undefined;
|
|
1098
|
+
title?: string | undefined;
|
|
1099
|
+
key?: React.Key | null | undefined;
|
|
1099
1100
|
defaultChecked?: boolean | undefined;
|
|
1100
1101
|
defaultValue?: string | undefined;
|
|
1101
1102
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -1355,11 +1356,10 @@ export declare const RadioGroupSimple: React.ForwardRefExoticComponent<Omit<Omit
|
|
|
1355
1356
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1356
1357
|
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1357
1358
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1358
|
-
key?: React.Key | null | undefined;
|
|
1359
|
-
orientation?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["orientation"];
|
|
1360
|
-
loop?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["loop"];
|
|
1361
1359
|
disabled?: import("@radix-ui/react-primitive").ComponentPropsWithoutRef<typeof import("@radix-ui/react-radio-group").Radio>["disabled"];
|
|
1360
|
+
orientation?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["orientation"];
|
|
1362
1361
|
required?: import("@radix-ui/react-primitive").ComponentPropsWithoutRef<typeof import("@radix-ui/react-radio-group").Radio>["required"];
|
|
1362
|
+
loop?: import("@radix-ui/react-radio-group").RovingFocusGroupProps["loop"];
|
|
1363
1363
|
asChild?: boolean | undefined;
|
|
1364
1364
|
onValueChange?: import("@radix-ui/react-radio-group").RadioGroupContextValue["onValueChange"] | undefined;
|
|
1365
1365
|
htmlWidth?: (string | number) | undefined;
|
|
@@ -5,15 +5,16 @@ export type SliderProps = Omit<React.ComponentPropsWithoutRef<typeof _Slider>, '
|
|
|
5
5
|
onChange?: (value: number) => void;
|
|
6
6
|
};
|
|
7
7
|
export declare const Slider: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
8
|
-
slot?: string | undefined;
|
|
9
|
-
style?: React.CSSProperties | undefined;
|
|
10
|
-
title?: string | undefined;
|
|
11
8
|
step?: number | undefined;
|
|
12
9
|
min?: number | undefined;
|
|
13
10
|
max?: number | undefined;
|
|
14
11
|
value?: number[] | undefined;
|
|
15
12
|
name?: string | undefined;
|
|
16
13
|
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
14
|
+
slot?: string | undefined;
|
|
15
|
+
style?: React.CSSProperties | undefined;
|
|
16
|
+
title?: string | undefined;
|
|
17
|
+
key?: React.Key | null | undefined;
|
|
17
18
|
defaultChecked?: boolean | undefined;
|
|
18
19
|
defaultValue?: number[] | undefined;
|
|
19
20
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -273,15 +274,15 @@ export declare const Slider: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
273
274
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
274
275
|
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
275
276
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
276
|
-
key?: React.Key | null | undefined;
|
|
277
|
-
orientation?: React.AriaAttributes["aria-orientation"];
|
|
278
277
|
disabled?: boolean | undefined;
|
|
278
|
+
orientation?: React.AriaAttributes["aria-orientation"];
|
|
279
279
|
asChild?: boolean | undefined;
|
|
280
|
-
onValueChange?: ((value: number[]) => void) | undefined;
|
|
281
280
|
inverted?: boolean | undefined;
|
|
282
281
|
minStepsBetweenThumbs?: number | undefined;
|
|
282
|
+
onValueChange?: ((value: number[]) => void) | undefined;
|
|
283
283
|
onValueCommit?: ((value: number[]) => void) | undefined;
|
|
284
284
|
showLabels?: boolean | undefined;
|
|
285
|
+
thumbSize?: ("sm" | "lg") | undefined;
|
|
285
286
|
htmlWidth?: (string | number) | undefined;
|
|
286
287
|
htmlHeight?: (string | number) | undefined;
|
|
287
288
|
htmlTranslate?: "yes" | "no" | undefined;
|
|
@@ -1098,15 +1099,16 @@ export type DoubleSliderProps = Omit<React.ComponentPropsWithoutRef<typeof _Slid
|
|
|
1098
1099
|
onChange?: (value: number[]) => void;
|
|
1099
1100
|
};
|
|
1100
1101
|
export declare const DoubleSlider: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
1101
|
-
slot?: string | undefined;
|
|
1102
|
-
style?: React.CSSProperties | undefined;
|
|
1103
|
-
title?: string | undefined;
|
|
1104
1102
|
step?: number | undefined;
|
|
1105
1103
|
min?: number | undefined;
|
|
1106
1104
|
max?: number | undefined;
|
|
1107
1105
|
value?: number[] | undefined;
|
|
1108
1106
|
name?: string | undefined;
|
|
1109
1107
|
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
1108
|
+
slot?: string | undefined;
|
|
1109
|
+
style?: React.CSSProperties | undefined;
|
|
1110
|
+
title?: string | undefined;
|
|
1111
|
+
key?: React.Key | null | undefined;
|
|
1110
1112
|
defaultChecked?: boolean | undefined;
|
|
1111
1113
|
defaultValue?: number[] | undefined;
|
|
1112
1114
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -1366,15 +1368,15 @@ export declare const DoubleSlider: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
1366
1368
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1367
1369
|
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1368
1370
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1369
|
-
key?: React.Key | null | undefined;
|
|
1370
|
-
orientation?: React.AriaAttributes["aria-orientation"];
|
|
1371
1371
|
disabled?: boolean | undefined;
|
|
1372
|
+
orientation?: React.AriaAttributes["aria-orientation"];
|
|
1372
1373
|
asChild?: boolean | undefined;
|
|
1373
|
-
onValueChange?: ((value: number[]) => void) | undefined;
|
|
1374
1374
|
inverted?: boolean | undefined;
|
|
1375
1375
|
minStepsBetweenThumbs?: number | undefined;
|
|
1376
|
+
onValueChange?: ((value: number[]) => void) | undefined;
|
|
1376
1377
|
onValueCommit?: ((value: number[]) => void) | undefined;
|
|
1377
1378
|
showLabels?: boolean | undefined;
|
|
1379
|
+
thumbSize?: ("sm" | "lg") | undefined;
|
|
1378
1380
|
htmlWidth?: (string | number) | undefined;
|
|
1379
1381
|
htmlHeight?: (string | number) | undefined;
|
|
1380
1382
|
htmlTranslate?: "yes" | "no" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAiB,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,KAAK,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,EAC9C,OAAO,GAAG,eAAe,GAAG,UAAU,CACvC,GAAG;IACF,KAAK,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ACA,MAAM;mBACN,MAAM;uBACF,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM;eAC7C,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI;yCAOpC,CAAC"}
|
|
@@ -15,6 +15,7 @@ export type StepperProps = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const FinalStep: React.MemoExoticComponent<(props: {
|
|
17
17
|
active?: boolean;
|
|
18
|
+
dot?: boolean;
|
|
18
19
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
19
20
|
export declare const Stepper: (props: React.PropsWithChildren<StepperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAK3C,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,IAAI,UAAW,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,KAAG,KAAK,CAAC,GAAG,CAAC,OA4C1E,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,oCAAsB;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAK3C,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,IAAI,UAAW,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,KAAG,KAAK,CAAC,GAAG,CAAC,OA4C1E,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,oCAAsB;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,6CAO7E,CAAC;AAEH,eAAO,MAAM,OAAO,UAAW,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,4CAyBnE,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const Step = (props) => {
|
|
|
17
17
|
}
|
|
18
18
|
return (_jsxs(Flex, { gap: "sm", children: [_jsxs(Flex, { direction: "column", align: "center", height: "full", gap: "xs", children: [_jsx(Circle, { label: label, variant: "gray" }), _jsx(Separator, { orientation: "vertical", flexShrink: 1, height: "full" })] }), _jsxs(Flex, { direction: "column", align: "start", marginTop: "xs", gap: "xs", ...flexProps, children: [_jsx(NormalText, { text: title }), children] })] }, `step-${label}`));
|
|
19
19
|
};
|
|
20
|
-
export const FinalStep = React.memo((props) => (_jsx(Circle, { icon: CheckIcon, iconProps: { size: 'sm' }, variant: props.active ? 'active' : 'gray' })));
|
|
20
|
+
export const FinalStep = React.memo((props) => (_jsx(Circle, { dot: props.dot, icon: props.dot ? null : CheckIcon, iconProps: props.dot ? null : { size: 'sm' }, variant: props.active ? 'active' : 'gray' })));
|
|
21
21
|
export const Stepper = (props) => {
|
|
22
22
|
const { children, orientation = 'vertical' } = props;
|
|
23
23
|
const stepNumber = React.useMemo(() => React.Children.count(children), [children]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.js","sourceRoot":"","sources":["../../../src/components/custom/Stepper.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,yBAAyB,GAAG,KAAK,CAAC,aAAa,CAA4B,UAAU,CAAC,CAAC;AAW7F,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,KAAyC,EAAqB,EAAE;IACnF,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,MAAM,GAAG,KAAK,EAAE,OAAO,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAE7G,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;IAEhE,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,mBAAK,CAAC;IACf,CAAC;IAED,IAAI,WAAW,KAA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,EAAE;wBAC/B,KAAK,EAAE,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC;wBACxB,MAAM,EAAE,UAAU,KAAK,KAAK,GAAG,CAAC;qBAC1B,CAAC,CAAC;gBACZ,CAAC;YACH,CAAC,CAAC,GACG,CACR,GACkC,CACtC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type DeviceInformation } from './devices.js';
|
|
3
|
+
export declare const DEVICES_FAMILIES: readonly ["OAK", "RAE", "OAK4"];
|
|
4
|
+
export declare const DevicesFamiliesSchema: z.ZodEnum<["OAK", "RAE", "OAK4"]>;
|
|
5
|
+
export type DevicesFamilies = z.infer<typeof DevicesFamiliesSchema>;
|
|
6
|
+
export declare const DEVICES_MODIFIERS: readonly ["AF", "FF", "CM4", "PoE", "Pro", "Lite", "W", "97", "OV9782"];
|
|
7
|
+
export declare const DevicesModifiersSchema: z.ZodEnum<["AF", "FF", "CM4", "PoE", "Pro", "Lite", "W", "97", "OV9782"]>;
|
|
8
|
+
export type DevicesModifiers = z.infer<typeof DevicesModifiersSchema>;
|
|
9
|
+
export declare const POSSIBLE_DELIMITER: RegExp;
|
|
10
|
+
export declare const DEVICE_IMAGE_PATH = "/images/devices";
|
|
11
|
+
export declare const DEVICE_IMAGES_LINK = "https://static.luxonis.com/images/cameras";
|
|
12
|
+
export declare const emptyDeviceInformation: DeviceInformation;
|
|
13
|
+
//# sourceMappingURL=devices-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices-constants.d.ts","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,gBAAgB,iCAAkC,CAAC;AAChE,eAAO,MAAM,qBAAqB,mCAA2B,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAKpE,eAAO,MAAM,iBAAiB,yEAAoD,CAAC;AACnF,eAAO,MAAM,sBAAsB,2EAA4B,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,kBAAkB,QAAS,CAAC;AAEzC,eAAO,MAAM,iBAAiB,oBAAoB,CAAC;AACnD,eAAO,MAAM,kBAAkB,8CAA8C,CAAC;AAE9E,eAAO,MAAM,sBAAsB,EAAE,iBAepC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const DEVICES_FAMILIES = ['OAK', 'RAE', 'OAK4'];
|
|
3
|
+
export const DevicesFamiliesSchema = z.enum(DEVICES_FAMILIES);
|
|
4
|
+
const FOCUS_MODIFIERS = ['AF', 'FF'];
|
|
5
|
+
const OTHER_MODIFIERS = ['CM4', 'PoE', 'Pro', 'Lite', 'W', '97', 'OV9782'];
|
|
6
|
+
export const DEVICES_MODIFIERS = [...FOCUS_MODIFIERS, ...OTHER_MODIFIERS];
|
|
7
|
+
export const DevicesModifiersSchema = z.enum(DEVICES_MODIFIERS);
|
|
8
|
+
export const POSSIBLE_DELIMITER = /\s|-/;
|
|
9
|
+
export const DEVICE_IMAGE_PATH = '/images/devices';
|
|
10
|
+
export const DEVICE_IMAGES_LINK = 'https://static.luxonis.com/images/cameras';
|
|
11
|
+
export const emptyDeviceInformation = {
|
|
12
|
+
info: {
|
|
13
|
+
product: 'OAK4-S',
|
|
14
|
+
family: 'OAK4',
|
|
15
|
+
id: 'OAK4-S',
|
|
16
|
+
model: 'S',
|
|
17
|
+
modifiers: [],
|
|
18
|
+
},
|
|
19
|
+
deviceName: 'OAK 4 S',
|
|
20
|
+
deviceImageName: 'https://static.luxonis.com/images/cameras/OAK4-S.webp',
|
|
21
|
+
setupSteps: [
|
|
22
|
+
`Connect the PoE/ETH cable to power up the OAK 4 S`,
|
|
23
|
+
`Scan the QR code.`,
|
|
24
|
+
'Scanning the QR code will take a few seconds. Try keeping the camera steady without moving your hands.',
|
|
25
|
+
],
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=devices-constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices-constants.js","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAU,CAAC;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAG9D,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,IAAI,CAAU,CAAC;AAC9C,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,CAAU,CAAC;AAEpF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,GAAG,eAAe,EAAE,GAAG,eAAe,CAAU,CAAC;AACnF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AAGhE,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAEzC,MAAM,CAAC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AACnD,MAAM,CAAC,MAAM,kBAAkB,GAAG,2CAA2C,CAAC;AAE9E,MAAM,CAAC,MAAM,sBAAsB,GAAsB;IACvD,IAAI,EAAE;QACJ,OAAO,EAAE,QAAQ;QACjB,MAAM,EAAE,MAAM;QACd,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,GAAG;QACV,SAAS,EAAE,EAAE;KACd;IACD,UAAU,EAAE,SAAS;IACrB,eAAe,EAAE,uDAAuD;IACxE,UAAU,EAAE;QACV,mDAAmD;QACnD,mBAAmB;QACnB,wGAAwG;KACzG;CACF,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DeviceID, DeviceList } from './devices-list.js';
|
|
2
|
+
import type { DevicesFamilies, DevicesModifiers } from './devices-constants.js';
|
|
3
|
+
export type DeviceFamily = {
|
|
4
|
+
product: DeviceList;
|
|
5
|
+
family: DevicesFamilies;
|
|
6
|
+
id: DeviceID;
|
|
7
|
+
model: string;
|
|
8
|
+
modifiers: DevicesModifiers[];
|
|
9
|
+
};
|
|
10
|
+
export declare const getProductToDeviceProperties: (product: DeviceList) => DeviceFamily;
|
|
11
|
+
//# sourceMappingURL=devices-family.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices-family.d.ts","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices-family.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEhF,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,UAAU,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,EAAE,EAAE,QAAQ,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,4BAA4B,YAAa,UAAU,KAAG,YAalE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DEVICES_FAMILIES, DEVICES_MODIFIERS, POSSIBLE_DELIMITER } from './devices-constants.js';
|
|
2
|
+
export const getProductToDeviceProperties = (product) => {
|
|
3
|
+
const splitProduct = product.split(POSSIBLE_DELIMITER);
|
|
4
|
+
const family = findDeviceProperties(splitProduct, DEVICES_FAMILIES)[0];
|
|
5
|
+
const modifiers = findDeviceProperties(splitProduct, DEVICES_MODIFIERS);
|
|
6
|
+
const { fullModel, shortModel } = findDeviceModel(splitProduct, [family, ...modifiers]);
|
|
7
|
+
return {
|
|
8
|
+
id: `${family}-${shortModel}`,
|
|
9
|
+
product,
|
|
10
|
+
family,
|
|
11
|
+
model: fullModel,
|
|
12
|
+
modifiers,
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
const findDeviceProperties = (splitArr, possibleValuesArr) => {
|
|
16
|
+
const set = new Set(splitArr);
|
|
17
|
+
return possibleValuesArr.filter(element => set.has(element));
|
|
18
|
+
};
|
|
19
|
+
const findDeviceModel = (splitArr, toRemove) => {
|
|
20
|
+
const set = new Set(toRemove);
|
|
21
|
+
const splitFullModel = splitArr.filter(element => !set.has(element));
|
|
22
|
+
const fullModel = splitFullModel.join('-');
|
|
23
|
+
const shortModel = splitFullModel[0];
|
|
24
|
+
return { fullModel, shortModel };
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=devices-family.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices-family.js","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices-family.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAWjG,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,OAAmB,EAAgB,EAAE;IAChF,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACvD,MAAM,MAAM,GAAG,oBAAoB,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAoB,CAAC;IAC1F,MAAM,SAAS,GAAG,oBAAoB,CAAC,YAAY,EAAE,iBAAiB,CAAuB,CAAC;IAC9F,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC,CAAC;IAExF,OAAO;QACL,EAAE,EAAE,GAAG,MAAM,IAAI,UAAU,EAAc;QACzC,OAAO;QACP,MAAM;QACN,KAAK,EAAE,SAAS;QAChB,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAkB,EAAE,iBAAqC,EAAE,EAAE;IACzF,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC9B,OAAO,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAkB,EAAE,QAAkB,EAAE,EAAE;IACjE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC9B,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACrE,MAAM,SAAS,GAAG,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3C,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;IACrC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;AACnC,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const DEVICE_ID: readonly ["RAE", "OAK4-D", "OAK4-D-PRO", "OAK4-S", "OAK4-LR", "OAK4-SR"];
|
|
3
|
+
export declare const RVC2_DEVICES: readonly ["OAK-D S2 AF", "OAK-D S2 FF", "OAK-D-W", "OAK-D-W-97", "OAK-D Pro AF", "OAK-D Pro FF", "OAK-D Pro FF 97", "OAK-D Pro W", "OAK-D Pro W 97", "OAK-D-Lite AF", "OAK-D-Lite FF", "OAK-D", "OAK-D-S2 PoE AF", "OAK-D-S2 PoE FF", "OAK-D W PoE", "OAK-D-W PoE 97", "OAK-D-Pro PoE AF", "OAK-D-Pro PoE FF", "OAK-D-Pro PoE FF 97", "OAK-D-Pro W PoE", "OAK-D-Pro W PoE 97", "OAK-D-PoE", "OAK-1-PoE AF", "OAK-1-PoE FF", "OAK-1 W PoE", "OAK-1 W PoE 97", "OAK-1 AF", "OAK-1 FF", "OAK-1 FF 97", "OAK-1 W", "OAK-1 W 97", "OAK-1 MAX", "OAK-1-Lite AF", "OAK-1-Lite FF", "OAK-1-Lite W", "OAK-D CM4", "OAK-D CM4 PoE", "OAK-D LR", "OAK-D SR", "OAK-D SR PoE"];
|
|
4
|
+
export declare const RVC3_DEVICES: readonly ["RAE"];
|
|
5
|
+
export declare const RVC4_DEVICES: readonly ["OAK4-D", "OAK4-D-AF", "OAK4-D-FF", "OAK4-D-W", "OAK4-D-PRO", "OAK4-D-PRO-AF", "OAK4-D-PRO-FF", "OAK4-D-PRO-W", "OAK4-S", "OAK4-S-AF", "OAK4-S-FF", "OAK4-S-W", "OAK4-LR", "OAK4-SR"];
|
|
6
|
+
export declare const devicesList: readonly ["OAK-D S2 AF", "OAK-D S2 FF", "OAK-D-W", "OAK-D-W-97", "OAK-D Pro AF", "OAK-D Pro FF", "OAK-D Pro FF 97", "OAK-D Pro W", "OAK-D Pro W 97", "OAK-D-Lite AF", "OAK-D-Lite FF", "OAK-D", "OAK-D-S2 PoE AF", "OAK-D-S2 PoE FF", "OAK-D W PoE", "OAK-D-W PoE 97", "OAK-D-Pro PoE AF", "OAK-D-Pro PoE FF", "OAK-D-Pro PoE FF 97", "OAK-D-Pro W PoE", "OAK-D-Pro W PoE 97", "OAK-D-PoE", "OAK-1-PoE AF", "OAK-1-PoE FF", "OAK-1 W PoE", "OAK-1 W PoE 97", "OAK-1 AF", "OAK-1 FF", "OAK-1 FF 97", "OAK-1 W", "OAK-1 W 97", "OAK-1 MAX", "OAK-1-Lite AF", "OAK-1-Lite FF", "OAK-1-Lite W", "OAK-D CM4", "OAK-D CM4 PoE", "OAK-D LR", "OAK-D SR", "OAK-D SR PoE", "RAE", "OAK4-D", "OAK4-D-AF", "OAK4-D-FF", "OAK4-D-W", "OAK4-D-PRO", "OAK4-D-PRO-AF", "OAK4-D-PRO-FF", "OAK4-D-PRO-W", "OAK4-S", "OAK4-S-AF", "OAK4-S-FF", "OAK4-S-W", "OAK4-LR", "OAK4-SR"];
|
|
7
|
+
export declare const RVC2DevicesSchema: z.ZodEnum<["OAK-D S2 AF", "OAK-D S2 FF", "OAK-D-W", "OAK-D-W-97", "OAK-D Pro AF", "OAK-D Pro FF", "OAK-D Pro FF 97", "OAK-D Pro W", "OAK-D Pro W 97", "OAK-D-Lite AF", "OAK-D-Lite FF", "OAK-D", "OAK-D-S2 PoE AF", "OAK-D-S2 PoE FF", "OAK-D W PoE", "OAK-D-W PoE 97", "OAK-D-Pro PoE AF", "OAK-D-Pro PoE FF", "OAK-D-Pro PoE FF 97", "OAK-D-Pro W PoE", "OAK-D-Pro W PoE 97", "OAK-D-PoE", "OAK-1-PoE AF", "OAK-1-PoE FF", "OAK-1 W PoE", "OAK-1 W PoE 97", "OAK-1 AF", "OAK-1 FF", "OAK-1 FF 97", "OAK-1 W", "OAK-1 W 97", "OAK-1 MAX", "OAK-1-Lite AF", "OAK-1-Lite FF", "OAK-1-Lite W", "OAK-D CM4", "OAK-D CM4 PoE", "OAK-D LR", "OAK-D SR", "OAK-D SR PoE"]>;
|
|
8
|
+
export type RVC2Devices = z.infer<typeof RVC2DevicesSchema>;
|
|
9
|
+
export declare const RVC3DevicesSchema: z.ZodEnum<["RAE"]>;
|
|
10
|
+
export type RVC3Devices = z.infer<typeof RVC3DevicesSchema>;
|
|
11
|
+
export declare const RVC4DevicesSchema: z.ZodEnum<["OAK4-D", "OAK4-D-AF", "OAK4-D-FF", "OAK4-D-W", "OAK4-D-PRO", "OAK4-D-PRO-AF", "OAK4-D-PRO-FF", "OAK4-D-PRO-W", "OAK4-S", "OAK4-S-AF", "OAK4-S-FF", "OAK4-S-W", "OAK4-LR", "OAK4-SR"]>;
|
|
12
|
+
export type RVC4Devices = z.infer<typeof RVC4DevicesSchema>;
|
|
13
|
+
export declare const DeviceIDSchema: z.ZodEnum<["RAE", "OAK4-D", "OAK4-D-PRO", "OAK4-S", "OAK4-LR", "OAK4-SR"]>;
|
|
14
|
+
export type DeviceID = z.infer<typeof DeviceIDSchema>;
|
|
15
|
+
export declare const DeviceListSchema: z.ZodEnum<["OAK-D S2 AF", "OAK-D S2 FF", "OAK-D-W", "OAK-D-W-97", "OAK-D Pro AF", "OAK-D Pro FF", "OAK-D Pro FF 97", "OAK-D Pro W", "OAK-D Pro W 97", "OAK-D-Lite AF", "OAK-D-Lite FF", "OAK-D", "OAK-D-S2 PoE AF", "OAK-D-S2 PoE FF", "OAK-D W PoE", "OAK-D-W PoE 97", "OAK-D-Pro PoE AF", "OAK-D-Pro PoE FF", "OAK-D-Pro PoE FF 97", "OAK-D-Pro W PoE", "OAK-D-Pro W PoE 97", "OAK-D-PoE", "OAK-1-PoE AF", "OAK-1-PoE FF", "OAK-1 W PoE", "OAK-1 W PoE 97", "OAK-1 AF", "OAK-1 FF", "OAK-1 FF 97", "OAK-1 W", "OAK-1 W 97", "OAK-1 MAX", "OAK-1-Lite AF", "OAK-1-Lite FF", "OAK-1-Lite W", "OAK-D CM4", "OAK-D CM4 PoE", "OAK-D LR", "OAK-D SR", "OAK-D SR PoE", "RAE", "OAK4-D", "OAK4-D-AF", "OAK4-D-FF", "OAK4-D-W", "OAK4-D-PRO", "OAK4-D-PRO-AF", "OAK4-D-PRO-FF", "OAK4-D-PRO-W", "OAK4-S", "OAK4-S-AF", "OAK4-S-FF", "OAK4-S-W", "OAK4-LR", "OAK4-SR"]>;
|
|
16
|
+
export type DeviceList = z.infer<typeof DeviceListSchema>;
|
|
17
|
+
//# sourceMappingURL=devices-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices-list.d.ts","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,0EAA2E,CAAC;AAGlG,eAAO,MAAM,YAAY,moBAyCf,CAAC;AAGX,eAAO,MAAM,YAAY,kBAAmB,CAAC;AAG7C,eAAO,MAAM,YAAY,iMAef,CAAC;AAEX,eAAO,MAAM,WAAW,g0BAA+D,CAAC;AAExF,eAAO,MAAM,iBAAiB,qoBAAuB,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,oBAAuB,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,mMAAuB,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc,4EAAoB,CAAC;AAChD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,gBAAgB,k0BAAsB,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const DEVICE_ID = ['RAE', 'OAK4-D', 'OAK4-D-PRO', 'OAK4-S', 'OAK4-LR', 'OAK4-SR'];
|
|
3
|
+
// RVC2 devices - NOTE: This is subject to change. Used the values from Product Database which may or may not be the same with DAI values
|
|
4
|
+
export const RVC2_DEVICES = [
|
|
5
|
+
'OAK-D S2 AF',
|
|
6
|
+
'OAK-D S2 FF',
|
|
7
|
+
'OAK-D-W',
|
|
8
|
+
'OAK-D-W-97',
|
|
9
|
+
'OAK-D Pro AF',
|
|
10
|
+
'OAK-D Pro FF',
|
|
11
|
+
'OAK-D Pro FF 97',
|
|
12
|
+
'OAK-D Pro W',
|
|
13
|
+
'OAK-D Pro W 97',
|
|
14
|
+
'OAK-D-Lite AF',
|
|
15
|
+
'OAK-D-Lite FF',
|
|
16
|
+
'OAK-D',
|
|
17
|
+
'OAK-D-S2 PoE AF',
|
|
18
|
+
'OAK-D-S2 PoE FF',
|
|
19
|
+
'OAK-D W PoE',
|
|
20
|
+
'OAK-D-W PoE 97',
|
|
21
|
+
'OAK-D-Pro PoE AF',
|
|
22
|
+
'OAK-D-Pro PoE FF',
|
|
23
|
+
'OAK-D-Pro PoE FF 97',
|
|
24
|
+
'OAK-D-Pro W PoE',
|
|
25
|
+
'OAK-D-Pro W PoE 97',
|
|
26
|
+
'OAK-D-PoE',
|
|
27
|
+
'OAK-1-PoE AF',
|
|
28
|
+
'OAK-1-PoE FF',
|
|
29
|
+
'OAK-1 W PoE',
|
|
30
|
+
'OAK-1 W PoE 97',
|
|
31
|
+
'OAK-1 AF',
|
|
32
|
+
'OAK-1 FF',
|
|
33
|
+
'OAK-1 FF 97',
|
|
34
|
+
'OAK-1 W',
|
|
35
|
+
'OAK-1 W 97',
|
|
36
|
+
'OAK-1 MAX',
|
|
37
|
+
'OAK-1-Lite AF',
|
|
38
|
+
'OAK-1-Lite FF',
|
|
39
|
+
'OAK-1-Lite W',
|
|
40
|
+
'OAK-D CM4',
|
|
41
|
+
'OAK-D CM4 PoE',
|
|
42
|
+
'OAK-D LR',
|
|
43
|
+
'OAK-D SR',
|
|
44
|
+
'OAK-D SR PoE',
|
|
45
|
+
];
|
|
46
|
+
// RVC3 devices
|
|
47
|
+
export const RVC3_DEVICES = ['RAE'];
|
|
48
|
+
// RVC4 devices
|
|
49
|
+
export const RVC4_DEVICES = [
|
|
50
|
+
'OAK4-D',
|
|
51
|
+
'OAK4-D-AF',
|
|
52
|
+
'OAK4-D-FF',
|
|
53
|
+
'OAK4-D-W',
|
|
54
|
+
'OAK4-D-PRO',
|
|
55
|
+
'OAK4-D-PRO-AF',
|
|
56
|
+
'OAK4-D-PRO-FF',
|
|
57
|
+
'OAK4-D-PRO-W',
|
|
58
|
+
'OAK4-S',
|
|
59
|
+
'OAK4-S-AF',
|
|
60
|
+
'OAK4-S-FF',
|
|
61
|
+
'OAK4-S-W',
|
|
62
|
+
'OAK4-LR',
|
|
63
|
+
'OAK4-SR',
|
|
64
|
+
];
|
|
65
|
+
export const devicesList = [...RVC2_DEVICES, ...RVC3_DEVICES, ...RVC4_DEVICES];
|
|
66
|
+
export const RVC2DevicesSchema = z.enum(RVC2_DEVICES);
|
|
67
|
+
export const RVC3DevicesSchema = z.enum(RVC3_DEVICES);
|
|
68
|
+
export const RVC4DevicesSchema = z.enum(RVC4_DEVICES);
|
|
69
|
+
export const DeviceIDSchema = z.enum(DEVICE_ID);
|
|
70
|
+
export const DeviceListSchema = z.enum(devicesList);
|
|
71
|
+
//# sourceMappingURL=devices-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices-list.js","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC;AAElG,yIAAyI;AACzI,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,aAAa;IACb,aAAa;IACb,SAAS;IACT,YAAY;IACZ,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,OAAO;IACP,iB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from './devices-family.js';
|
|
3
|
+
export type DeviceInformation = {
|
|
4
|
+
info: DeviceFamily;
|
|
5
|
+
deviceName: string;
|
|
6
|
+
deviceImageName: string;
|
|
7
|
+
setupSteps: (string | JSX.Element)[];
|
|
8
|
+
};
|
|
9
|
+
export declare function getDeviceInformationByModel(device: DeviceList): DeviceInformation;
|
|
10
|
+
export declare const getDeviceNameByModel: (base: DeviceID) => string;
|
|
11
|
+
export declare const getSetupSteps: (base: DeviceID) => (string | React.JSX.Element)[];
|
|
12
|
+
//# sourceMappingURL=devices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../../../src/components/custom/devices/devices.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAgC,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGtF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,CAAC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;CACtC,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,UAAU,GAAG,iBAAiB,CA4BjF;AAED,eAAO,MAAM,oBAAoB,SAAU,QAAQ,KAAG,MAsBrD,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,QAAQ,KAAG,CAAC,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,EAyB1E,CAAC"}
|