Add CSV export for orders and update UI symbols

Introduces an exportOrdersToCSV function in lib/api-client.ts to allow exporting orders by status as a CSV file. Updates various UI components to use the '•' (bullet) symbol instead of '·' (middle dot) and replaces some emoji/unicode characters for improved consistency and compatibility. Also normalizes the 'use client' directive to include a BOM in many files.
This commit is contained in:
g
2025-12-15 17:57:18 +00:00
parent 07dcaf55c0
commit 0176f89cb7
91 changed files with 232 additions and 136 deletions

View File

@@ -1,4 +1,4 @@
"use client";
"use client";
import { usePathname } from "next/navigation";
import KeepOnline from "@/components/KeepOnline";
@@ -14,4 +14,4 @@ const KeepOnlineWrapper = () => {
return <KeepOnline />;
};
export default KeepOnlineWrapper;
export default KeepOnlineWrapper;

View File

@@ -1,4 +1,4 @@
"use client"
"use client"
import { useState, useEffect } from "react"
import { useTheme } from "next-themes"

View File

@@ -1,4 +1,4 @@
"use client"
"use client"
import Link from "next/link"
import { usePathname } from "next/navigation"
@@ -65,4 +65,4 @@ export const NavItem: React.FC<NavItemProps> = ({ href, icon: Icon, children, on
{children}
</Link>
)
}
}

View File

@@ -1,4 +1,4 @@
"use client"
"use client"
import { useState } from "react"
import Link from "next/link"

View File

@@ -1,4 +1,4 @@
"use client"
"use client"
import { ThemeProvider as NextThemesProvider } from "next-themes"
import type { ThemeProviderProps } from "next-themes"