melonykit 0.15.3 → 0.15.4
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 +21 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2237,7 +2237,14 @@ function Yt({ columns: e = [], rows: t = [], width: n, height: r, showLineNumber
|
|
|
2237
2237
|
style: Zt(e),
|
|
2238
2238
|
children: e.label
|
|
2239
2239
|
}, e.key))] }) }),
|
|
2240
|
-
/* @__PURE__ */ s("tbody", { children: f.
|
|
2240
|
+
/* @__PURE__ */ s("tbody", { children: f.length === 0 ? /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", {
|
|
2241
|
+
className: $.empty,
|
|
2242
|
+
colSpan: Math.max(e.length + Number(i), 1),
|
|
2243
|
+
children: /* @__PURE__ */ s("span", {
|
|
2244
|
+
className: $.emptyContent,
|
|
2245
|
+
children: "Keine Einträge vorhanden."
|
|
2246
|
+
})
|
|
2247
|
+
}) }) : f.map((t, n) => /* @__PURE__ */ c("tr", { children: [i && /* @__PURE__ */ s("td", {
|
|
2241
2248
|
className: $.number,
|
|
2242
2249
|
children: n + 1
|
|
2243
2250
|
}), e.map((e) => /* @__PURE__ */ s("td", {
|
|
@@ -2339,6 +2346,19 @@ var $ = {
|
|
|
2339
2346
|
width: 3rem;
|
|
2340
2347
|
color: ${W.colors.fore.secondary};
|
|
2341
2348
|
text-align: right !important;
|
|
2349
|
+
`,
|
|
2350
|
+
empty: U`
|
|
2351
|
+
position: relative;
|
|
2352
|
+
height: 8.25rem;
|
|
2353
|
+
padding: 0 !important;
|
|
2354
|
+
color: ${W.colors.fore.secondary};
|
|
2355
|
+
text-align: center !important;
|
|
2356
|
+
`,
|
|
2357
|
+
emptyContent: U`
|
|
2358
|
+
display: grid;
|
|
2359
|
+
position: absolute;
|
|
2360
|
+
inset: 0;
|
|
2361
|
+
place-items: center;
|
|
2342
2362
|
`
|
|
2343
2363
|
};
|
|
2344
2364
|
//#endregion
|