Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

Hide Empty Work Centers (#702)

Brad Barbin14e8c16af3fe
diff --git a/apps/mes/app/components/Kanban/types.ts b/apps/mes/app/components/Kanban/types.ts
index b541743140..98d8d111e5 100644
--- a/apps/mes/app/components/Kanban/types.ts
+++ b/apps/mes/app/components/Kanban/types.ts
@@ -19,6 +19,7 @@ export interface ColumnDragData {
}
export type DisplaySettings = {
+ emptyWorkCenters: boolean;
showCustomer: boolean;
showDescription: boolean;
showDueDate: boolean;
diff --git a/apps/mes/app/routes/x+/operations.tsx b/apps/mes/app/routes/x+/operations.tsx
index f1acd0e4a4..e781b49aac 100644
--- a/apps/mes/app/routes/x+/operations.tsx
+++ b/apps/mes/app/routes/x+/operations.tsx
@@ -9,6 +9,7 @@ import {
Popover,
PopoverContent,
PopoverTrigger,
+ Separator,
SidebarTrigger,
Spinner,
Switch,
@@ -293,6 +294,7 @@ export default function ScheduleRoute() {
}
const defaultDisplaySettings: DisplaySettings = {
+ emptyWorkCenters: true,
showDuration: true,
showCustomer: true,
showDescription: true,
@@ -325,11 +327,28 @@ function KanbanSchedule() {
DISPLAY_SETTINGS_KEY,
defaultDisplaySettings
);
+ const mergedDisplaySettings = useMemo(
+ () => ({ ...defaultDisplaySettings, ...displaySettings }),
+ [displaySettings]
+ );
const sortItems = useCallback((items: Item[]) => {
return items.sort((a, b) => a.priority - b.priority);
}, []);
+ const visibleColumns = useMemo(() => {
+ if (mergedDisplaySettings.emptyWorkCenters) {
+ return columns;
+ }
+
+ const workCenterIdsWithOperations = new Set(
+ items.map((item) => item.columnId)
+ );
+ return columns.filter((column) =>
+ workCenterIdsWithOperations.has(column.id)
+ );
+ }, [columns, items, mergedDisplaySettings.emptyWorkCenters]);
+
const { progressByOperation } = useProgressByOperation(
items,
setItems,
@@ -422,8 +441,34 @@ function KanbanSchedule() {
<Trans>Display</Trans>
</Button>
</PopoverTrigger>
- <PopoverContent className="w-48">
+ <PopoverContent className="w-56">
<VStack>
+ <span className="text-xs font-medium text-muted-foreground">
+ <Trans>Columns</Trans>
+ </span>
+ {[
+ { key: "emptyWorkCenters", label: t`Empty work centers` }
+ ].map(({ key, label }) => (
+ <Switch
+ key={key}
+ variant="small"
+ label={label}
+ checked={
+ mergedDisplaySettings[key as keyof DisplaySettings]
+ }
+ onCheckedChange={(checked) =>
+ setDisplaySettings((prev) => ({
+ ...defaultDisplaySettings,
+ ...prev,
+ [key]: checked
+ }))
+ }
+ />
+ ))}
+ <Separator />
+ <span className="text-xs font-medium text-muted-foreground">
+ <Trans>Cards</Trans>
+ </span>
{[
{ key: "showCustomer", label: t`Customer` },
{ key: "showDescription", label: t`Description` },
@@ -438,9 +483,12 @@ function KanbanSchedule() {
key={key}
variant="small"
label={label}
- checked={displaySettings[key as keyof DisplaySettings]}
+ checked={
+ mergedDisplaySettings[key as keyof DisplaySettings]
+ }
onCheckedChange={(checked) =>
setDisplaySettings((prev) => ({
+ ...defaultDisplaySettings,
...prev,
[key]: checked
}))
@@ -462,9 +510,9 @@ function KanbanSchedule() {
<div className="flex flex-1 min-h-full w-full relative">
{columns.length > 0 ? (
<Kanban
- columns={columns}
+ columns={visibleColumns}
items={items}
- {...displaySettings}
+ {...mergedDisplaySettings}
showEmployee={false}
progressByItemId={progressByOperation}
/>
diff --git a/package.json b/package.json
index 051c2846e9..767b4d65e3 100755
--- a/package.json
+++ b/package.json
@@ -54,7 +54,7 @@
"db:types": "npm run db:types -w @carbon/database",
"deploy": "turbo run deploy",
"dev": "run-p dev:docker dev:jobs dev:jobs-wait",
- "dev:docker": "if docker compose version >/dev/null 2>&1; then docker compose up -d redis; else docker-compose up -d redis; fi",
+ "dev:docker": "docker compose up -d redis || docker-compose up -d redis",
"dev:jobs-wait": "npx wait-on tcp:8288 && run-p dev:erp dev:stripe",
"dev:academy": "turbo run dev --filter=./apps/academy --filter=./packages/",
"dev:erp": "turbo run dev --filter=./apps/erp --filter=./packages/ ",
diff --git a/packages/locale/locales/de/mes.po b/packages/locale/locales/de/mes.po
index 31f02c4ad9..3ffbe2876c 100644
--- a/packages/locale/locales/de/mes.po
+++ b/packages/locale/locales/de/mes.po
@@ -124,7 +124,7 @@ msgstr "Zugewiesen"
msgid "Assigned to Me"
msgstr "Mir zugewiesen"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Zugewiesener"
@@ -190,6 +190,10 @@ msgstr "Abbrechen"
msgid "Carbon Logo"
msgstr "Carbon Logo"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Chat"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Löschen"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Filter zurücksetzen"
@@ -271,6 +275,10 @@ msgstr "Spalte {0} wurde über {1} an Position {2} von {3} verschoben"
msgid "Column: {0}"
msgstr "Spalte: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Unternehmen"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Erstelle {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Kunde"
@@ -336,7 +344,7 @@ msgstr "Zeitkarte löschen ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Beschreibung"
@@ -348,7 +356,7 @@ msgstr "Details"
msgid "Dispatch not found"
msgstr "Einsatz nicht gefunden"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Anzeige"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Fällig {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Fälligkeitsdatum"
@@ -394,7 +402,7 @@ msgstr "Doppelte Chargennummer"
msgid "Duplicate serial number"
msgstr "Doppelte Seriennummer"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Dauer"
@@ -407,6 +415,10 @@ msgstr "Bearbeiten"
msgid "Email Address"
msgstr "E-Mail-Adresse"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "Keine kürzlichen Arbeitsgänge"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Keine Ergebnisse"
@@ -800,7 +812,7 @@ msgstr "Keine Zeiteinträge für diese Woche"
msgid "No work centers are blocked"
msgstr "Keine Arbeitsplätze sind blockiert"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "Keine Arbeitsplätze vorhanden"
@@ -902,7 +914,7 @@ msgstr "Priorität"
msgid "Procedure"
msgstr "Verfahren"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Prozess"
@@ -910,11 +922,11 @@ msgstr "Prozess"
msgid "Process Parameters"
msgstr "Prozessparameter"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Prozesse"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Fortschritt"
@@ -967,7 +979,7 @@ msgstr "Bestand entfernen"
msgid "Remove part"
msgstr "Teil entfernen"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Kundenauftrag"
@@ -988,7 +1000,7 @@ msgstr "Seriennummer scannen oder eingeben"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Zeitplan"
@@ -1004,7 +1016,7 @@ msgstr "Ausschuss"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Suchen"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Station: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Status"
@@ -1206,7 +1218,7 @@ msgstr "Unterstützung erforderlich"
msgid "Switch Operator"
msgstr "Bediener wechseln"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Tag"
@@ -1219,7 +1231,7 @@ msgstr "Die abgeschlossene Menge für diesen Arbeitsgang ist geringer als die er
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "Es gibt serien- oder chargenverfolgte Materialien in der Stückliste, die noch nicht vollständig ausgegeben wurden. Ein Abschluss ohne Ausgabe kann zu fehlerhaften Rückverfolgbarkeitsdaten führen."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Vorschaubild"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Arbeitsplatz"
diff --git a/packages/locale/locales/en/mes.po b/packages/locale/locales/en/mes.po
index 76eecec39d..dbafa0c933 100644
--- a/packages/locale/locales/en/mes.po
+++ b/packages/locale/locales/en/mes.po
@@ -124,7 +124,7 @@ msgstr "Assigned"
msgid "Assigned to Me"
msgstr "Assigned to Me"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Assignee"
@@ -190,6 +190,10 @@ msgstr "Cancel"
msgid "Carbon Logo"
msgstr "Carbon Logo"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr "Cards"
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Chat"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Clear"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Clear Filters"
@@ -271,6 +275,10 @@ msgstr "Column {0} was moved over {1} at position {2} of {3}"
msgid "Column: {0}"
msgstr "Column: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr "Columns"
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Company"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Create {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Customer"
@@ -336,7 +344,7 @@ msgstr "Delete Timecard ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Description"
@@ -348,7 +356,7 @@ msgstr "Details"
msgid "Dispatch not found"
msgstr "Dispatch not found"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Display"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Due {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Due Date"
@@ -394,7 +402,7 @@ msgstr "Duplicate batch number"
msgid "Duplicate serial number"
msgstr "Duplicate serial number"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Duration"
@@ -407,6 +415,10 @@ msgstr "Edit"
msgid "Email Address"
msgstr "Email Address"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr "Empty work centers"
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "No recent operations"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "No results"
@@ -800,7 +812,7 @@ msgstr "No time entries for this week"
msgid "No work centers are blocked"
msgstr "No work centers are blocked"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "No work centers exist"
@@ -902,7 +914,7 @@ msgstr "Priority"
msgid "Procedure"
msgstr "Procedure"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Process"
@@ -910,11 +922,11 @@ msgstr "Process"
msgid "Process Parameters"
msgstr "Process Parameters"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Processes"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Progress"
@@ -967,7 +979,7 @@ msgstr "Remove Inventory"
msgid "Remove part"
msgstr "Remove part"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Sales Order"
@@ -988,7 +1000,7 @@ msgstr "Scan or enter serial number"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Schedule"
@@ -1004,7 +1016,7 @@ msgstr "Scrapped"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Search"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Station: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Status"
@@ -1206,7 +1218,7 @@ msgstr "Support Required"
msgid "Switch Operator"
msgstr "Switch Operator"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Tag"
@@ -1219,7 +1231,7 @@ msgstr "The completed quantity for this operation is less than the required quan
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Thumbnail"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Work Center"
diff --git a/packages/locale/locales/es/mes.po b/packages/locale/locales/es/mes.po
index 5f72120a3e..12334cebb8 100644
--- a/packages/locale/locales/es/mes.po
+++ b/packages/locale/locales/es/mes.po
@@ -124,7 +124,7 @@ msgstr "Asignado"
msgid "Assigned to Me"
msgstr "Asignado a mí"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Responsable"
@@ -190,6 +190,10 @@ msgstr "Cancelar"
msgid "Carbon Logo"
msgstr "Logotipo de Carbon"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Chat"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Limpiar"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Limpiar filtros"
@@ -271,6 +275,10 @@ msgstr "La columna {0} se movió sobre {1} en la posición {2} de {3}"
msgid "Column: {0}"
msgstr "Columna: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Empresa"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Crear {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Cliente"
@@ -336,7 +344,7 @@ msgstr "Eliminar tarjeta de tiempo ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Descripción"
@@ -348,7 +356,7 @@ msgstr "Detalles"
msgid "Dispatch not found"
msgstr "Despacho no encontrado"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Visualización"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Vence {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Fecha de vencimiento"
@@ -394,7 +402,7 @@ msgstr "Número de lote duplicado"
msgid "Duplicate serial number"
msgstr "Número de serie duplicado"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Duración"
@@ -407,6 +415,10 @@ msgstr "Editar"
msgid "Email Address"
msgstr "Correo electrónico"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "No hay operaciones recientes"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Sin resultados"
@@ -800,7 +812,7 @@ msgstr "No hay registros de tiempo para esta semana"
msgid "No work centers are blocked"
msgstr "No hay centros de trabajo bloqueados"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "No existen centros de trabajo"
@@ -902,7 +914,7 @@ msgstr "Prioridad"
msgid "Procedure"
msgstr "Procedimiento"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Proceso"
@@ -910,11 +922,11 @@ msgstr "Proceso"
msgid "Process Parameters"
msgstr "Parámetros del proceso"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Procesos"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Progreso"
@@ -967,7 +979,7 @@ msgstr "Eliminar inventario"
msgid "Remove part"
msgstr "Eliminar pieza"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Orden de venta"
@@ -988,7 +1000,7 @@ msgstr "Escanee o ingrese el número de serie"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Programación"
@@ -1004,7 +1016,7 @@ msgstr "Descartado"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Buscar"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Estación: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Estado"
@@ -1206,7 +1218,7 @@ msgstr "Requiere soporte"
msgid "Switch Operator"
msgstr "Cambiar operador"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Etiqueta"
@@ -1219,7 +1231,7 @@ msgstr "La cantidad completada para esta operación es menor que la cantidad req
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "Hay materiales con seguimiento de serie o lote en la lista de materiales que no se han emitido completamente. Completar sin emitir puede generar registros de trazabilidad incorrectos."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Miniatura"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Centro de trabajo"
diff --git a/packages/locale/locales/fr/mes.po b/packages/locale/locales/fr/mes.po
index 0b4efb04ea..e0298f292a 100644
--- a/packages/locale/locales/fr/mes.po
+++ b/packages/locale/locales/fr/mes.po
@@ -124,7 +124,7 @@ msgstr "Assigné"
msgid "Assigned to Me"
msgstr "Assigné à moi"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Assigné à"
@@ -190,6 +190,10 @@ msgstr "Annuler"
msgid "Carbon Logo"
msgstr "Logo Carbon"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Discussion"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Effacer"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Effacer les filtres"
@@ -271,6 +275,10 @@ msgstr "La colonne {0} a été déplacée au-dessus de {1} à la position {2} su
msgid "Column: {0}"
msgstr "Colonne : {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Entreprise"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Créer {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Client"
@@ -336,7 +344,7 @@ msgstr "Supprimer la fiche de temps ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Description"
@@ -348,7 +356,7 @@ msgstr "Détails"
msgid "Dispatch not found"
msgstr "Intervention non trouvée"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Affichage"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Échéance {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Date d'échéance"
@@ -394,7 +402,7 @@ msgstr "Numéro de lot en double"
msgid "Duplicate serial number"
msgstr "Numéro de série en double"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Durée"
@@ -407,6 +415,10 @@ msgstr "Modifier"
msgid "Email Address"
msgstr "Adresse e-mail"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "Aucune opération récente"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Aucun résultat"
@@ -800,7 +812,7 @@ msgstr "Aucune saisie de temps pour cette semaine"
msgid "No work centers are blocked"
msgstr "Aucun poste de travail n'est bloqué"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "Aucun poste de travail n'existe"
@@ -902,7 +914,7 @@ msgstr "Priorité"
msgid "Procedure"
msgstr "Procédure"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Processus"
@@ -910,11 +922,11 @@ msgstr "Processus"
msgid "Process Parameters"
msgstr "Paramètres de processus"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Processus"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Progression"
@@ -967,7 +979,7 @@ msgstr "Retirer du stock"
msgid "Remove part"
msgstr "Retirer la pièce"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Commande client"
@@ -988,7 +1000,7 @@ msgstr "Scanner ou saisir le numéro de série"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Planification"
@@ -1004,7 +1016,7 @@ msgstr "Rebuté"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Rechercher"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Poste : {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Statut"
@@ -1206,7 +1218,7 @@ msgstr "Support requis"
msgid "Switch Operator"
msgstr "Changer d'opérateur"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Étiquette"
@@ -1219,7 +1231,7 @@ msgstr "La quantité produite pour cette opération est inférieure à la quanti
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "Il existe des matériaux suivis par numéro de série ou par lot dans la nomenclature qui n'ont pas été entièrement distribués. Terminer sans distribuer peut entraîner des enregistrements de traçabilité incorrects."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Miniature"
@@ -1303,7 +1315,7 @@ msgstr "En-cours"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Poste de travail"
diff --git a/packages/locale/locales/hi/mes.po b/packages/locale/locales/hi/mes.po
index 364d7a8737..dcdec393a7 100644
--- a/packages/locale/locales/hi/mes.po
+++ b/packages/locale/locales/hi/mes.po
@@ -124,7 +124,7 @@ msgstr "निर्दिष्ट"
msgid "Assigned to Me"
msgstr "मुझे असाइन किया गया"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "असाइनी"
@@ -190,6 +190,10 @@ msgstr "रद्द करें"
msgid "Carbon Logo"
msgstr "कार्बन लोगो"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "चैट"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "साफ़ करें"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "फ़िल्टर साफ़ करें"
@@ -271,6 +275,10 @@ msgstr "कॉलम {0} को {1} के ऊपर स्थिति {2} म
msgid "Column: {0}"
msgstr "कॉलम: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "कंपनी"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "{0} बनाएं"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "ग्राहक"
@@ -336,7 +344,7 @@ msgstr "टाइमकार्ड हटाएं ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "विवरण"
@@ -348,7 +356,7 @@ msgstr "विवरण"
msgid "Dispatch not found"
msgstr "डिस्पैच नहीं मिला"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "प्रदर्शन"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Due {0} के लिए"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "देय तारीख"
@@ -394,7 +402,7 @@ msgstr "डुप्लिकेट बैच नंबर"
msgid "Duplicate serial number"
msgstr "डुप्लिकेट सीरियल नंबर"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "अवधि"
@@ -407,6 +415,10 @@ msgstr "संपादित करें"
msgid "Email Address"
msgstr "ईमेल पता"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "कोई हाल के संचालन नहीं"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "कोई परिणाम नहीं"
@@ -800,7 +812,7 @@ msgstr "इस सप्ताह के लिए कोई समय प्र
msgid "No work centers are blocked"
msgstr "कोई कार्य केंद्र अवरुद्ध नहीं हैं"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "कोई कार्य केंद्र मौजूद नहीं है"
@@ -902,7 +914,7 @@ msgstr "प्राथमिकता"
msgid "Procedure"
msgstr "प्रक्रिया"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "प्रक्रिया"
@@ -910,11 +922,11 @@ msgstr "प्रक्रिया"
msgid "Process Parameters"
msgstr "प्रक्रिया पैरामीटर"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "प्रक्रियाएं"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "प्रगति"
@@ -967,7 +979,7 @@ msgstr "इन्वेंटरी हटाएं"
msgid "Remove part"
msgstr "भाग हटाएं"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "बिक्रय आदेश"
@@ -988,7 +1000,7 @@ msgstr "स्कैन करें या सीरियल नंबर द
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "शेड्यूल"
@@ -1004,7 +1016,7 @@ msgstr "स्क्रैप किया गया"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "खोजें"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "स्टेशन: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "स्थिति"
@@ -1206,7 +1218,7 @@ msgstr "समर्थन आवश्यक"
msgid "Switch Operator"
msgstr "ऑपरेटर स्विच करें"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "टैग"
@@ -1219,7 +1231,7 @@ msgstr "इस ऑपरेशन के लिए पूर्ण मात्
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "बिल ऑफ मेटेरियल पर सीरियल या बैच ट्रैक किए गए मेटेरियल हैं जो पूरी तरह से जारी नहीं किए गए हैं। जारी किए बिना पूरा करने से गलत ट्रेसेबिलिटी रिकॉर्ड हो सकते हैं।"
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "थंबनेल"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "कार्य केंद्र"
diff --git a/packages/locale/locales/it/mes.po b/packages/locale/locales/it/mes.po
index 59f91fcf9e..1703b73a86 100644
--- a/packages/locale/locales/it/mes.po
+++ b/packages/locale/locales/it/mes.po
@@ -124,7 +124,7 @@ msgstr "Assegnato"
msgid "Assigned to Me"
msgstr "Assegnato a Me"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Assegnatario"
@@ -190,6 +190,10 @@ msgstr "Annulla"
msgid "Carbon Logo"
msgstr "Logo Carbon"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Chat"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Cancella"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Cancella Filtri"
@@ -271,6 +275,10 @@ msgstr "La colonna {0} è stata spostata sopra {1} alla posizione {2} di {3}"
msgid "Column: {0}"
msgstr "Colonna: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Azienda"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Crea {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Cliente"
@@ -336,7 +344,7 @@ msgstr "Elimina Cartellino ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Descrizione"
@@ -348,7 +356,7 @@ msgstr "Dettagli"
msgid "Dispatch not found"
msgstr "Intervento non trovato"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Visualizzazione"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Scadenza {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Data di Scadenza"
@@ -394,7 +402,7 @@ msgstr "Numero di lotto duplicato"
msgid "Duplicate serial number"
msgstr "Numero di serie duplicato"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Durata"
@@ -407,6 +415,10 @@ msgstr "Modifica"
msgid "Email Address"
msgstr "Indirizzo Email"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "Nessuna operazione recente"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Nessun risultato"
@@ -800,7 +812,7 @@ msgstr "Nessuna registrazione oraria per questa settimana"
msgid "No work centers are blocked"
msgstr "Nessun centro di lavoro bloccato"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "Nessun centro di lavoro esistente"
@@ -902,7 +914,7 @@ msgstr "Priorità"
msgid "Procedure"
msgstr "Procedura"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Processo"
@@ -910,11 +922,11 @@ msgstr "Processo"
msgid "Process Parameters"
msgstr "Parametri di Processo"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Processi"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Avanzamento"
@@ -967,7 +979,7 @@ msgstr "Rimuovi Inventario"
msgid "Remove part"
msgstr "Rimuovi componente"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Ordine di Vendita"
@@ -988,7 +1000,7 @@ msgstr "Scansiona o inserisci il numero di serie"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Pianificazione"
@@ -1004,7 +1016,7 @@ msgstr "Scartato"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Cerca"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Stazione: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Stato"
@@ -1206,7 +1218,7 @@ msgstr "Supporto Richiesto"
msgid "Switch Operator"
msgstr "Cambia Operatore"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Etichetta"
@@ -1219,7 +1231,7 @@ msgstr "La quantità completata per questa operazione è inferiore alla quantit
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "Ci sono materiali tracciati per numero di serie o lotto nella distinta base che non sono stati completamente prelevati. Completare senza prelevare potrebbe causare registrazioni di tracciabilità errate."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Miniatura"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Centro di Lavoro"
diff --git a/packages/locale/locales/ja/mes.po b/packages/locale/locales/ja/mes.po
index 61ecf75cbd..78b31d923f 100644
--- a/packages/locale/locales/ja/mes.po
+++ b/packages/locale/locales/ja/mes.po
@@ -124,7 +124,7 @@ msgstr "割当済み"
msgid "Assigned to Me"
msgstr "自分に割当"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "担当者"
@@ -190,6 +190,10 @@ msgstr "キャンセル"
msgid "Carbon Logo"
msgstr "Carbonロゴ"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "チャット"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "クリア"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "フィルターをクリア"
@@ -271,6 +275,10 @@ msgstr "カラム {0} が {1} の上に移動し、{3} 中の位置 {2} にな
msgid "Column: {0}"
msgstr "カラム: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "会社"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "{0}を作成"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "顧客"
@@ -336,7 +344,7 @@ msgstr "タイムカードを削除({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "説明"
@@ -348,7 +356,7 @@ msgstr "詳細"
msgid "Dispatch not found"
msgstr "ディスパッチが見つかりません"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "表示"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "期限 {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "納期"
@@ -394,7 +402,7 @@ msgstr "バッチ番号が重複しています"
msgid "Duplicate serial number"
msgstr "シリアル番号が重複しています"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "時間"
@@ -407,6 +415,10 @@ msgstr "編集"
msgid "Email Address"
msgstr "メールアドレス"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "最近の工程はありません"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "結果なし"
@@ -800,7 +812,7 @@ msgstr "今週のタイムエントリーはありません"
msgid "No work centers are blocked"
msgstr "ブロックされているワークセンターはありません"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "ワークセンターがありません"
@@ -902,7 +914,7 @@ msgstr "優先度"
msgid "Procedure"
msgstr "手順"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "プロセス"
@@ -910,11 +922,11 @@ msgstr "プロセス"
msgid "Process Parameters"
msgstr "プロセスパラメーター"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "プロセス一覧"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "進捗"
@@ -967,7 +979,7 @@ msgstr "在庫削除"
msgid "Remove part"
msgstr "パーツを削除"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "受注"
@@ -988,7 +1000,7 @@ msgstr "シリアル番号をスキャンまたは入力"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "スケジュール"
@@ -1004,7 +1016,7 @@ msgstr "スクラップ済み"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "検索"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "ステーション: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "ステータス"
@@ -1206,7 +1218,7 @@ msgstr "サポート必要"
msgid "Switch Operator"
msgstr "オペレーターを切替"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "タグ"
@@ -1219,7 +1231,7 @@ msgstr "この工程の完了数量が必要数量 {0} を下回っています
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "部品表にシリアルまたはバッチ追跡対象の材料が完全に払い出されていません。払出なしで完了すると、トレーサビリティ記録が不正確になる可能性があります。"
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "サムネイル"
@@ -1303,7 +1315,7 @@ msgstr "仕掛品"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "ワークセンター"
diff --git a/packages/locale/locales/pl/mes.po b/packages/locale/locales/pl/mes.po
index b0cdf2fa59..b4323bc3c9 100644
--- a/packages/locale/locales/pl/mes.po
+++ b/packages/locale/locales/pl/mes.po
@@ -124,7 +124,7 @@ msgstr "Przypisane"
msgid "Assigned to Me"
msgstr "Przypisane do mnie"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Przypisany"
@@ -190,6 +190,10 @@ msgstr "Anuluj"
msgid "Carbon Logo"
msgstr "Logo Carbon"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Czat"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Wyczyść"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Wyczyść filtry"
@@ -271,6 +275,10 @@ msgstr "Kolumna {0} została przeniesiona nad {1} na pozycję {2} z {3}"
msgid "Column: {0}"
msgstr "Kolumna: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Firma"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Utwórz {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Klient"
@@ -336,7 +344,7 @@ msgstr "Usuń kartę czasu pracy ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Opis"
@@ -348,7 +356,7 @@ msgstr "Szczegóły"
msgid "Dispatch not found"
msgstr "Nie znaleziono zlecenia"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Wyświetlanie"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Termin {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Termin realizacji"
@@ -394,7 +402,7 @@ msgstr "Zduplikowany numer partii"
msgid "Duplicate serial number"
msgstr "Zduplikowany numer seryjny"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Czas trwania"
@@ -407,6 +415,10 @@ msgstr "Edytuj"
msgid "Email Address"
msgstr "Adres e-mail"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "Brak ostatnich operacji"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Brak wyników"
@@ -800,7 +812,7 @@ msgstr "Brak wpisów czasu pracy w tym tygodniu"
msgid "No work centers are blocked"
msgstr "Żadne gniazda produkcyjne nie są zablokowane"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "Brak gniazd produkcyjnych"
@@ -902,7 +914,7 @@ msgstr "Priorytet"
msgid "Procedure"
msgstr "Procedura"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Proces"
@@ -910,11 +922,11 @@ msgstr "Proces"
msgid "Process Parameters"
msgstr "Parametry procesu"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Procesy"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Postęp"
@@ -967,7 +979,7 @@ msgstr "Usuń zapasy"
msgid "Remove part"
msgstr "Usuń część"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Zamówienie sprzedaży"
@@ -988,7 +1000,7 @@ msgstr "Skanuj lub wprowadź numer seryjny"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Harmonogram"
@@ -1004,7 +1016,7 @@ msgstr "Odrzucone"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Szukaj"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Stacja: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Status"
@@ -1206,7 +1218,7 @@ msgstr "Wymagane wsparcie"
msgid "Switch Operator"
msgstr "Zmień operatora"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Tag"
@@ -1219,7 +1231,7 @@ msgstr "Ukończona ilość dla tej operacji jest mniejsza niż wymagana ilość
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "Na liście materiałowej znajdują się materiały śledzone seryjnie lub partiami, które nie zostały w pełni wydane. Ukończenie bez wydania może skutkować nieprawidłowymi rekordami śledzenia."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Miniatura"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Gniazdo produkcyjne"
diff --git a/packages/locale/locales/pt/mes.po b/packages/locale/locales/pt/mes.po
index 792435002d..42a3dfd2cf 100644
--- a/packages/locale/locales/pt/mes.po
+++ b/packages/locale/locales/pt/mes.po
@@ -124,7 +124,7 @@ msgstr "Atribuído"
msgid "Assigned to Me"
msgstr "Atribuído a Mim"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Responsável"
@@ -190,6 +190,10 @@ msgstr "Cancelar"
msgid "Carbon Logo"
msgstr "Logo Carbon"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Chat"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Limpar"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Limpar Filtros"
@@ -271,6 +275,10 @@ msgstr "Coluna {0} foi movida sobre {1} na posição {2} de {3}"
msgid "Column: {0}"
msgstr "Coluna: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Empresa"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Criar {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Cliente"
@@ -336,7 +344,7 @@ msgstr "Excluir Cartão de Ponto ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Descrição"
@@ -348,7 +356,7 @@ msgstr "Detalhes"
msgid "Dispatch not found"
msgstr "Despacho não encontrado"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Exibição"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Vencimento {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Data de Vencimento"
@@ -394,7 +402,7 @@ msgstr "Número de lote duplicado"
msgid "Duplicate serial number"
msgstr "Número de série duplicado"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Duração"
@@ -407,6 +415,10 @@ msgstr "Editar"
msgid "Email Address"
msgstr "Endereço de E-mail"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "Nenhuma operação recente"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Nenhum resultado"
@@ -800,7 +812,7 @@ msgstr "Nenhum registro de horas nesta semana"
msgid "No work centers are blocked"
msgstr "Nenhum centro de trabalho está bloqueado"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "Nenhum centro de trabalho encontrado"
@@ -902,7 +914,7 @@ msgstr "Prioridade"
msgid "Procedure"
msgstr "Procedimento"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Processo"
@@ -910,11 +922,11 @@ msgstr "Processo"
msgid "Process Parameters"
msgstr "Parâmetros do Processo"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Processos"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Progresso"
@@ -967,7 +979,7 @@ msgstr "Remover Estoque"
msgid "Remove part"
msgstr "Remover peça"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Pedido de Venda"
@@ -988,7 +1000,7 @@ msgstr "Escanear ou inserir número de série"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Cronograma"
@@ -1004,7 +1016,7 @@ msgstr "Refugado"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Pesquisar"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Estação: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Status"
@@ -1206,7 +1218,7 @@ msgstr "Suporte Necessário"
msgid "Switch Operator"
msgstr "Trocar Operador"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Etiqueta"
@@ -1219,7 +1231,7 @@ msgstr "A quantidade concluída para esta operação é menor que a quantidade r
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "Existem materiais rastreados por série ou lote na lista de materiais que não foram totalmente emitidos. Concluir sem emitir pode resultar em registros de rastreabilidade incorretos."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Miniatura"
@@ -1303,7 +1315,7 @@ msgstr "WIP"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Centro de Trabalho"
diff --git a/packages/locale/locales/ru/mes.po b/packages/locale/locales/ru/mes.po
index fe6590df30..1f33f017a6 100644
--- a/packages/locale/locales/ru/mes.po
+++ b/packages/locale/locales/ru/mes.po
@@ -124,7 +124,7 @@ msgstr "Назначенные"
msgid "Assigned to Me"
msgstr "Назначенные мне"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "Исполнитель"
@@ -190,6 +190,10 @@ msgstr "Отмена"
msgid "Carbon Logo"
msgstr "Логотип Carbon"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "Чат"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "Очистить"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "Сбросить фильтры"
@@ -271,6 +275,10 @@ msgstr "Столбец {0} перемещён над {1} на позицию {2}
msgid "Column: {0}"
msgstr "Столбец: {0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "Компания"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "Создать {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "Заказчик"
@@ -336,7 +344,7 @@ msgstr "Удалить табель ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "Описание"
@@ -348,7 +356,7 @@ msgstr "Детали"
msgid "Dispatch not found"
msgstr "Наряд не найден"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "Отображение"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "Срок {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "Срок выполнения"
@@ -394,7 +402,7 @@ msgstr "Дублирующийся номер партии"
msgid "Duplicate serial number"
msgstr "Дублирующийся серийный номер"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "Длительность"
@@ -407,6 +415,10 @@ msgstr "Редактировать"
msgid "Email Address"
msgstr "Электронная почта"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "Нет недавних операций"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "Нет результатов"
@@ -800,7 +812,7 @@ msgstr "Нет записей учёта времени за эту неделю
msgid "No work centers are blocked"
msgstr "Нет заблокированных рабочих центров"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "Рабочие центры отсутствуют"
@@ -902,7 +914,7 @@ msgstr "Приоритет"
msgid "Procedure"
msgstr "Процедура"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "Процесс"
@@ -910,11 +922,11 @@ msgstr "Процесс"
msgid "Process Parameters"
msgstr "Параметры процесса"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "Процессы"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "Прогресс"
@@ -967,7 +979,7 @@ msgstr "Списать запас"
msgid "Remove part"
msgstr "Удалить деталь"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "Заказ на продажу"
@@ -988,7 +1000,7 @@ msgstr "Сканируйте или введите серийный номер"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "Расписание"
@@ -1004,7 +1016,7 @@ msgstr "Списано в брак"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "Поиск"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "Станция: {stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "Статус"
@@ -1206,7 +1218,7 @@ msgstr "Требуется поддержка"
msgid "Switch Operator"
msgstr "Сменить оператора"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "Тег"
@@ -1219,7 +1231,7 @@ msgstr "Количество готовой продукции по этой о
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "В спецификации есть материалы с серийным или партионным учётом, которые не были полностью выданы. Завершение без выдачи может привести к некорректным записям прослеживаемости."
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "Миниатюра"
@@ -1303,7 +1315,7 @@ msgstr "НЗП"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "Рабочий центр"
diff --git a/packages/locale/locales/zh/mes.po b/packages/locale/locales/zh/mes.po
index 2ee284049c..a69766217e 100644
--- a/packages/locale/locales/zh/mes.po
+++ b/packages/locale/locales/zh/mes.po
@@ -124,7 +124,7 @@ msgstr "已分配"
msgid "Assigned to Me"
msgstr "分配给我"
-#: apps/mes/app/routes/x+/operations.tsx:386
+#: apps/mes/app/routes/x+/operations.tsx:405
msgid "Assignee"
msgstr "负责人"
@@ -190,6 +190,10 @@ msgstr "取消"
msgid "Carbon Logo"
msgstr "Carbon 标志"
+#: apps/mes/app/routes/x+/operations.tsx:470
+msgid "Cards"
+msgstr ""
+
#: apps/mes/app/components/JobOperation/JobOperation.tsx:473
msgid "Chat"
msgstr "聊天"
@@ -204,7 +208,7 @@ msgid "Clear"
msgstr "清除"
#: apps/mes/app/components/Filter/Filter.tsx:121
-#: apps/mes/app/routes/x+/operations.tsx:480
+#: apps/mes/app/routes/x+/operations.tsx:528
msgid "Clear Filters"
msgstr "清除筛选"
@@ -271,6 +275,10 @@ msgstr "列 {0} 已移动到 {1} 上方,位于第 {2} 个位置(共 {3} 个
msgid "Column: {0}"
msgstr "列:{0}"
+#: apps/mes/app/routes/x+/operations.tsx:447
+msgid "Columns"
+msgstr ""
+
#: apps/mes/app/components/AppSidebar.tsx:420
msgid "Company"
msgstr "公司"
@@ -299,7 +307,7 @@ msgid "Create {0}"
msgstr "创建 {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1985
-#: apps/mes/app/routes/x+/operations.tsx:428
+#: apps/mes/app/routes/x+/operations.tsx:473
msgid "Customer"
msgstr "客户"
@@ -336,7 +344,7 @@ msgstr "删除考勤记录 ({0})"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1999
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:284
-#: apps/mes/app/routes/x+/operations.tsx:429
+#: apps/mes/app/routes/x+/operations.tsx:474
msgid "Description"
msgstr "描述"
@@ -348,7 +356,7 @@ msgstr "详情"
msgid "Dispatch not found"
msgstr "未找到工单"
-#: apps/mes/app/routes/x+/operations.tsx:422
+#: apps/mes/app/routes/x+/operations.tsx:441
msgid "Display"
msgstr "显示"
@@ -382,7 +390,7 @@ msgid "Due {0}"
msgstr "截止 {0}"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:658
-#: apps/mes/app/routes/x+/operations.tsx:430
+#: apps/mes/app/routes/x+/operations.tsx:475
msgid "Due Date"
msgstr "截止日期"
@@ -394,7 +402,7 @@ msgstr "重复的批次号"
msgid "Duplicate serial number"
msgstr "重复的序列号"
-#: apps/mes/app/routes/x+/operations.tsx:431
+#: apps/mes/app/routes/x+/operations.tsx:476
#: apps/mes/app/routes/x+/timecard.tsx:325
msgid "Duration"
msgstr "时长"
@@ -407,6 +415,10 @@ msgstr "编辑"
msgid "Email Address"
msgstr "电子邮箱"
+#: apps/mes/app/routes/x+/operations.tsx:450
+msgid "Empty work centers"
+msgstr ""
+
#: apps/mes/app/components/EndShift.tsx:72
#: apps/mes/app/components/EndShift.tsx:75
#: apps/mes/app/components/EndShift.tsx:86
@@ -763,7 +775,7 @@ msgid "No recent operations"
msgstr "无近期工序"
#: apps/mes/app/components/PinInOverlay.tsx:223
-#: apps/mes/app/routes/x+/operations.tsx:477
+#: apps/mes/app/routes/x+/operations.tsx:525
msgid "No results"
msgstr "无结果"
@@ -800,7 +812,7 @@ msgstr "本周无考勤记录"
msgid "No work centers are blocked"
msgstr "无工作中心被阻塞"
-#: apps/mes/app/routes/x+/operations.tsx:489
+#: apps/mes/app/routes/x+/operations.tsx:537
msgid "No work centers exist"
msgstr "无工作中心"
@@ -902,7 +914,7 @@ msgstr "优先级"
msgid "Procedure"
msgstr "程序"
-#: apps/mes/app/routes/x+/operations.tsx:358
+#: apps/mes/app/routes/x+/operations.tsx:377
msgid "Process"
msgstr "工艺"
@@ -910,11 +922,11 @@ msgstr "工艺"
msgid "Process Parameters"
msgstr "工艺参数"
-#: apps/mes/app/routes/x+/operations.tsx:359
+#: apps/mes/app/routes/x+/operations.tsx:378
msgid "Processes"
msgstr "工艺"
-#: apps/mes/app/routes/x+/operations.tsx:432
+#: apps/mes/app/routes/x+/operations.tsx:477
msgid "Progress"
msgstr "进度"
@@ -967,7 +979,7 @@ msgstr "移除库存"
msgid "Remove part"
msgstr "移除零件"
-#: apps/mes/app/routes/x+/operations.tsx:434
+#: apps/mes/app/routes/x+/operations.tsx:479
msgid "Sales Order"
msgstr "销售订单"
@@ -988,7 +1000,7 @@ msgstr "扫描或输入序列号"
#: apps/mes/app/components/AppSidebar.tsx:189
#: apps/mes/app/components/JobOperation/JobOperation.tsx:449
-#: apps/mes/app/routes/x+/operations.tsx:404
+#: apps/mes/app/routes/x+/operations.tsx:423
msgid "Schedule"
msgstr "排程"
@@ -1004,7 +1016,7 @@ msgstr "已报废"
#: apps/mes/app/routes/x+/active.tsx:83
#: apps/mes/app/routes/x+/assigned.tsx:103
#: apps/mes/app/routes/x+/maintenance.tsx:453
-#: apps/mes/app/routes/x+/operations.tsx:411
+#: apps/mes/app/routes/x+/operations.tsx:430
#: apps/mes/app/routes/x+/recent.tsx:83
msgid "Search"
msgstr "搜索"
@@ -1166,7 +1178,7 @@ msgid "Station: {stationName}"
msgstr "工位:{stationName}"
#: apps/mes/app/routes/x+/maintenance.tsx:356
-#: apps/mes/app/routes/x+/operations.tsx:433
+#: apps/mes/app/routes/x+/operations.tsx:478
msgid "Status"
msgstr "状态"
@@ -1206,7 +1218,7 @@ msgstr "需要支持"
msgid "Switch Operator"
msgstr "切换操作员"
-#: apps/mes/app/routes/x+/operations.tsx:375
+#: apps/mes/app/routes/x+/operations.tsx:394
msgid "Tag"
msgstr "标签"
@@ -1219,7 +1231,7 @@ msgstr "此工序的完成数量小于所需数量 {0}。"
msgid "There are serial or batch tracked materials on the bill of material that have not been fully issued. Completing without issuing may result in incorrect traceability records."
msgstr "物料清单中有序列号或批次追踪的物料尚未完全发放。不发放即完成可能导致追溯记录不正确。"
-#: apps/mes/app/routes/x+/operations.tsx:435
+#: apps/mes/app/routes/x+/operations.tsx:480
msgid "Thumbnail"
msgstr "缩略图"
@@ -1303,7 +1315,7 @@ msgstr "在制品"
#: apps/mes/app/components/JobOperation/JobOperation.tsx:1935
#: apps/mes/app/routes/x+/dispatch.$dispatchId.tsx:258
#: apps/mes/app/routes/x+/maintenance.tsx:332
-#: apps/mes/app/routes/x+/operations.tsx:347
+#: apps/mes/app/routes/x+/operations.tsx:366
msgid "Work Center"
msgstr "工作中心"
diff --git a/packages/react/src/Switch.tsx b/packages/react/src/Switch.tsx
index 5c4c428702..03696e98bd 100644
--- a/packages/react/src/Switch.tsx
+++ b/packages/react/src/Switch.tsx
@@ -8,18 +8,17 @@ import { cn } from "./utils/cn";
const variations = {
large: {
- container: "flex items-center gap-x-2 rounded-md hover:bg-muted transition",
- root: "h-6 w-11",
+ container: "gap-x-2 rounded-md px-1 py-0.5",
+ root: "h-6 w-11 p-0.5",
thumb:
- "h-5 w-5 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",
+ "size-5 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",
text: "text-sm"
},
small: {
- container:
- "flex items-center gap-x-1.5 rounded hover:bg-muted py-[0.1rem] px-0 transition",
- root: "h-3 w-6",
+ container: "gap-x-2 rounded px-0.5 py-0.5",
+ root: "h-4 w-7 p-0.5",
thumb:
- "h-2.5 w-2.5 data-[state=checked]:translate-x-2.5 data-[state=unchecked]:translate-x-0",
+ "size-3 data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0",
text: "text-xs"
}
};
@@ -37,29 +36,34 @@ const Switch = forwardRef<
return (
<SwitchPrimitives.Root
- className={cn("group focus-visible:outline-none", container, className)}
+ className={cn(
+ "group flex items-center transition-colors hover:bg-muted focus-visible:outline-none",
+ container,
+ className
+ )}
{...props}
ref={ref}
>
- {label ? (
- <label className={cn("whitespace-nowrap", text)}>
- {typeof label === "string" ? <span>{label}</span> : label}
- </label>
- ) : null}
<div
className={cn(
- "group-focus-visible:ring-ring group-focus-visible:ring-offset-background peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors group-focus-visible:ring-2 group-focus-visible:ring-offset-2 group-disabled:cursor-not-allowed group-disabled:opacity-50 group-data-[state=checked]:bg-primary group-data-[state=unchecked]:bg-input focus-visible:outline-none",
- root,
- className
+ "inline-flex shrink-0 cursor-pointer items-center rounded-full transition-colors group-focus-visible:ring-2 group-focus-visible:ring-ring group-focus-visible:ring-offset-2 group-focus-visible:ring-offset-background group-disabled:cursor-not-allowed group-disabled:opacity-50 group-data-[state=checked]:bg-primary group-data-[state=unchecked]:bg-input",
+ root
)}
>
<SwitchPrimitives.Thumb
className={cn(
- "pointer-events-none block rounded-full bg-background shadow-lg ring-0 transition-transform",
+ "pointer-events-none block rounded-full bg-background shadow-sm ring-1 ring-black/5 transition-transform duration-200 ease-out",
thumb
)}
/>
</div>
+ {label ? (
+ <div
+ className={cn("cursor-pointer select-none whitespace-nowrap", text)}
+ >
+ {label}
+ </div>
+ ) : null}
</SwitchPrimitives.Root>
);
});