update protobufs
This commit is contained in:
+20
-20
@@ -23,22 +23,22 @@
|
|||||||
"@emeraldpay/hashicon-react": "^0.5.2",
|
"@emeraldpay/hashicon-react": "^0.5.2",
|
||||||
"@hookform/error-message": "^2.0.1",
|
"@hookform/error-message": "^2.0.1",
|
||||||
"@hookform/resolvers": "^3.3.1",
|
"@hookform/resolvers": "^3.3.1",
|
||||||
"@meshtastic/meshtasticjs": "2.2.4",
|
"@meshtastic/meshtasticjs": "2.2.9-0",
|
||||||
"@preact/signals-react": "^1.3.6",
|
"@preact/signals-react": "^1.3.6",
|
||||||
"@radix-ui/react-accordion": "^1.1.2",
|
"@radix-ui/react-accordion": "^1.1.2",
|
||||||
"@radix-ui/react-checkbox": "^1.0.4",
|
"@radix-ui/react-checkbox": "^1.0.4",
|
||||||
"@radix-ui/react-dialog": "^1.0.4",
|
"@radix-ui/react-dialog": "^1.0.5",
|
||||||
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
||||||
"@radix-ui/react-label": "^2.0.2",
|
"@radix-ui/react-label": "^2.0.2",
|
||||||
"@radix-ui/react-menubar": "^1.0.3",
|
"@radix-ui/react-menubar": "^1.0.4",
|
||||||
"@radix-ui/react-popover": "^1.0.6",
|
"@radix-ui/react-popover": "^1.0.7",
|
||||||
"@radix-ui/react-scroll-area": "^1.0.4",
|
"@radix-ui/react-scroll-area": "^1.0.5",
|
||||||
"@radix-ui/react-select": "^1.2.2",
|
"@radix-ui/react-select": "^2.0.0",
|
||||||
"@radix-ui/react-separator": "^1.0.3",
|
"@radix-ui/react-separator": "^1.0.3",
|
||||||
"@radix-ui/react-switch": "^1.0.3",
|
"@radix-ui/react-switch": "^1.0.3",
|
||||||
"@radix-ui/react-tabs": "^1.0.4",
|
"@radix-ui/react-tabs": "^1.0.4",
|
||||||
"@radix-ui/react-toast": "^1.1.4",
|
"@radix-ui/react-toast": "^1.1.5",
|
||||||
"@radix-ui/react-tooltip": "^1.0.6",
|
"@radix-ui/react-tooltip": "^1.0.7",
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"@turf/turf": "^6.5.0",
|
"@turf/turf": "^6.5.0",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
@@ -56,8 +56,8 @@
|
|||||||
"maplibre-gl": "3.3.1",
|
"maplibre-gl": "3.3.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-hook-form": "^7.46.1",
|
"react-hook-form": "^7.47.0",
|
||||||
"react-map-gl": "7.2.0-beta.1",
|
"react-map-gl": "7.1.6",
|
||||||
"react-qrcode-logo": "^2.9.0",
|
"react-qrcode-logo": "^2.9.0",
|
||||||
"rfc4648": "^1.5.2",
|
"rfc4648": "^1.5.2",
|
||||||
"tailwind-merge": "^1.14.0",
|
"tailwind-merge": "^1.14.0",
|
||||||
@@ -68,16 +68,16 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/forms": "^0.5.6",
|
"@tailwindcss/forms": "^0.5.6",
|
||||||
"@types/chrome": "^0.0.246",
|
"@types/chrome": "^0.0.246",
|
||||||
"@types/geodesy": "^2.2.3",
|
"@types/geodesy": "^2.2.4",
|
||||||
"@types/node": "^20.6.2",
|
"@types/node": "^20.8.0",
|
||||||
"@types/react": "^18.2.21",
|
"@types/react": "^18.2.24",
|
||||||
"@types/react-dom": "^18.2.7",
|
"@types/react-dom": "^18.2.8",
|
||||||
"@types/w3c-web-serial": "^1.0.3",
|
"@types/w3c-web-serial": "^1.0.4",
|
||||||
"@types/web-bluetooth": "^0.0.17",
|
"@types/web-bluetooth": "^0.0.18",
|
||||||
"@vitejs/plugin-react": "^4.0.4",
|
"@vitejs/plugin-react": "^4.1.0",
|
||||||
"autoprefixer": "^10.4.15",
|
"autoprefixer": "^10.4.16",
|
||||||
"gzipper": "^7.2.0",
|
"gzipper": "^7.2.0",
|
||||||
"postcss": "^8.4.29",
|
"postcss": "^8.4.31",
|
||||||
"rollup-plugin-visualizer": "^5.9.2",
|
"rollup-plugin-visualizer": "^5.9.2",
|
||||||
"rome": "^12.1.3",
|
"rome": "^12.1.3",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
|
|||||||
Generated
+901
-939
File diff suppressed because it is too large
Load Diff
@@ -92,6 +92,12 @@ export const Device = (): JSX.Element => {
|
|||||||
label: "Managed",
|
label: "Managed",
|
||||||
description: "Is this device managed by a mesh administator",
|
description: "Is this device managed by a mesh administator",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
name: "disableTripleClick",
|
||||||
|
label: "Disable Triple Click",
|
||||||
|
description: "Disable triple click",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -59,13 +59,19 @@ export const Position = (): JSX.Element => {
|
|||||||
type: "number",
|
type: "number",
|
||||||
name: "rxGpio",
|
name: "rxGpio",
|
||||||
label: "Receive Pin",
|
label: "Receive Pin",
|
||||||
description: "GPS Module RX pin override",
|
description: "GPS module RX pin override",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "number",
|
type: "number",
|
||||||
name: "txGpio",
|
name: "txGpio",
|
||||||
label: "Transmit Pin",
|
label: "Transmit Pin",
|
||||||
description: "GPS Module TX pin override",
|
description: "GPS module TX pin override",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "number",
|
||||||
|
name: "gpsEnGpio",
|
||||||
|
label: "Enable Pin",
|
||||||
|
description: "GPS module enable pin override",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,11 +9,10 @@ const Dialog = DialogPrimitive.Root;
|
|||||||
const DialogTrigger = DialogPrimitive.Trigger;
|
const DialogTrigger = DialogPrimitive.Trigger;
|
||||||
|
|
||||||
const DialogPortal = ({
|
const DialogPortal = ({
|
||||||
className,
|
|
||||||
children,
|
children,
|
||||||
...props
|
...props
|
||||||
}: DialogPrimitive.DialogPortalProps) => (
|
}: DialogPrimitive.DialogPortalProps) => (
|
||||||
<DialogPrimitive.Portal className={cn(className)} {...props}>
|
<DialogPrimitive.Portal {...props}>
|
||||||
<div className="fixed inset-0 z-50 flex items-start justify-center sm:items-center">
|
<div className="fixed inset-0 z-50 flex items-start justify-center sm:items-center">
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
export interface ModalProps {
|
||||||
|
title: string;
|
||||||
|
actions?: JSX.Element[];
|
||||||
|
children: React.ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const Modal = ({
|
||||||
|
title,
|
||||||
|
actions,
|
||||||
|
children,
|
||||||
|
}: ModalProps): JSX.Element => {
|
||||||
|
return (
|
||||||
|
<div className="rounded-md overflow-hidden w-full">
|
||||||
|
<div className="flex h-12 px-3 bg-slate-200 dark:bg-slate-700 justify-between">
|
||||||
|
<h2 className="my-auto font-semibold text-lg">{title}</h2>
|
||||||
|
{actions && (
|
||||||
|
<div className="my-auto">{actions.map((action) => action)}</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<div className="h-full border border-slate-200 dark:border-slate-700">
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
@@ -31,4 +31,7 @@ export class DeviceValidation
|
|||||||
|
|
||||||
@IsBoolean()
|
@IsBoolean()
|
||||||
isManaged: boolean;
|
isManaged: boolean;
|
||||||
|
|
||||||
|
@IsBoolean()
|
||||||
|
disableTripleClick: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,4 +37,7 @@ export class PositionValidation
|
|||||||
|
|
||||||
@IsInt()
|
@IsInt()
|
||||||
broadcastSmartMinimumIntervalSecs: number;
|
broadcastSmartMinimumIntervalSecs: number;
|
||||||
|
|
||||||
|
@IsInt()
|
||||||
|
gpsEnGpio: number;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user