import * as React from "react";
import ShippingStatusBadgeWidget from "./widget.client.js";
const widget = {
  metadata: {
    id: "shipping_carriers.injection.tracking-status-badge",
    priority: 45
  },
  columns: [
    {
      id: "carrier_status_badge",
      header: "shipping_carriers.column.shippingStatus",
      accessorKey: "_carrier.status",
      sortable: false,
      cell: ({ getValue }) => {
        const value = getValue();
        if (typeof value !== "string" || value.length === 0) return null;
        return React.createElement(ShippingStatusBadgeWidget, { status: value });
      }
    }
  ]
};
var widget_default = widget;
export {
  widget_default as default
};
//# sourceMappingURL=widget.js.map
