@lincros-ui/components 0.2.25 → 0.2.26
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/index.cjs +0 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5537,7 +5537,6 @@ var FilterBar = ({
|
|
|
5537
5537
|
updateFilter(key, newArray);
|
|
5538
5538
|
};
|
|
5539
5539
|
const activeFiltersCount = [
|
|
5540
|
-
filters.vehicleId,
|
|
5541
5540
|
filters.operatorType,
|
|
5542
5541
|
filters.startDate,
|
|
5543
5542
|
filters.endDate,
|
|
@@ -5549,27 +5548,6 @@ var FilterBar = ({
|
|
|
5549
5548
|
].filter((value) => value !== "").length;
|
|
5550
5549
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-white border-b border-gray-200 p-4 space-y-4", children: [
|
|
5551
5550
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
5552
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5553
|
-
Input,
|
|
5554
|
-
{
|
|
5555
|
-
placeholder: "Buscar por placa...",
|
|
5556
|
-
value: filters.vehicleId,
|
|
5557
|
-
onChange: (e) => updateFilter("vehicleId", e.target.value),
|
|
5558
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "w-4 h-4" }),
|
|
5559
|
-
rightIcon: filters.vehicleId ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5560
|
-
Button,
|
|
5561
|
-
{
|
|
5562
|
-
variant: "ghost",
|
|
5563
|
-
size: "sm",
|
|
5564
|
-
onClick: () => clearFilter("vehicleId"),
|
|
5565
|
-
className: "h-6 w-6 p-0 hover:bg-gray-100 -mr-2",
|
|
5566
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "w-3 h-3" })
|
|
5567
|
-
}
|
|
5568
|
-
) : void 0,
|
|
5569
|
-
className: "w-48",
|
|
5570
|
-
showValidationIcon: false
|
|
5571
|
-
}
|
|
5572
|
-
) }),
|
|
5573
5551
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
|
|
5574
5552
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5575
5553
|
Input,
|
|
@@ -5837,20 +5815,6 @@ var FilterBar = ({
|
|
|
5837
5815
|
] }),
|
|
5838
5816
|
activeFiltersCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
5839
5817
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-gray-600", children: "Filtros ativos:" }),
|
|
5840
|
-
filters.vehicleId && /* @__PURE__ */ jsxRuntime.jsxs(Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
5841
|
-
"Placa: ",
|
|
5842
|
-
filters.vehicleId,
|
|
5843
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5844
|
-
Button,
|
|
5845
|
-
{
|
|
5846
|
-
variant: "ghost",
|
|
5847
|
-
size: "sm",
|
|
5848
|
-
onClick: () => clearFilter("vehicleId"),
|
|
5849
|
-
className: "icon-size p-0 hover:bg-gray-200 ml-1",
|
|
5850
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "w-3 h-3" })
|
|
5851
|
-
}
|
|
5852
|
-
)
|
|
5853
|
-
] }),
|
|
5854
5818
|
filters.operatorType && /* @__PURE__ */ jsxRuntime.jsxs(Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
5855
5819
|
"Tipo: ",
|
|
5856
5820
|
filters.operatorType === "ia" ? "IA" : "Humano",
|