componenteszw-package 1.0.25 → 1.0.27
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.js +14 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2223,16 +2223,19 @@ function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i =
|
|
|
2223
2223
|
className: "text-left p-3 text-sm font-semibold text-gray-600",
|
|
2224
2224
|
children: e.label
|
|
2225
2225
|
}, e.key)), /* @__PURE__ */ l("th", { className: "p-3" })] }),
|
|
2226
|
-
/* @__PURE__ */ u("tr", {
|
|
2227
|
-
className: "
|
|
2228
|
-
children: /* @__PURE__ */ l("
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2226
|
+
/* @__PURE__ */ u("tr", {
|
|
2227
|
+
className: "border-t border-gray-200",
|
|
2228
|
+
children: [e.map((e) => /* @__PURE__ */ l("th", {
|
|
2229
|
+
className: "p-2",
|
|
2230
|
+
children: /* @__PURE__ */ l("input", {
|
|
2231
|
+
type: "text",
|
|
2232
|
+
placeholder: "",
|
|
2233
|
+
value: d[e.key] || "",
|
|
2234
|
+
onChange: (t) => p(e.key, t.target.value),
|
|
2235
|
+
className: "w-full px-2 py-1 border rounded-full text-sm focus:outline-none focus:ring-0 focus:border-transparent"
|
|
2236
|
+
})
|
|
2237
|
+
}, e.key)), /* @__PURE__ */ l("th", {})]
|
|
2238
|
+
})
|
|
2236
2239
|
]
|
|
2237
2240
|
}), /* @__PURE__ */ l("tbody", { children: _.length === 0 ? /* @__PURE__ */ l("tr", { children: /* @__PURE__ */ l("td", {
|
|
2238
2241
|
colSpan: e.length + 1,
|
|
@@ -2249,7 +2252,7 @@ function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i =
|
|
|
2249
2252
|
})]
|
|
2250
2253
|
}, t.id ?? n)) })]
|
|
2251
2254
|
}), /* @__PURE__ */ u("div", {
|
|
2252
|
-
className: "flex items-center justify-between p-3 text-sm",
|
|
2255
|
+
className: "flex items-center justify-between p-3 text-sm border-t border-gray-200",
|
|
2253
2256
|
children: [/* @__PURE__ */ u("span", { children: [
|
|
2254
2257
|
"Mostrando ",
|
|
2255
2258
|
_.length,
|