@esic-lab/data-core-ui 0.0.79 → 0.0.81
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3339,7 +3339,7 @@ function FileUploader({
|
|
|
3339
3339
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
|
|
3340
3340
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_icons_react10.IconUpload, { size: 20 }),
|
|
3341
3341
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "body-1", children: "\u0E04\u0E25\u0E34\u0E01\u0E2B\u0E23\u0E37\u0E2D\u0E25\u0E32\u0E01\u0E44\u0E1F\u0E25\u0E4C\u0E21\u0E32\u0E17\u0E35\u0E48\u0E1A\u0E23\u0E34\u0E40\u0E27\u0E13\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14" }),
|
|
3342
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-gray-400 body-3", children:
|
|
3342
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-gray-400 body-3 text-center", children: description || `\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E1A\u0E1A\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E32\u0E22\u0E44\u0E1F\u0E25\u0E4C \u0E02\u0E19\u0E32\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14 ${maxSize} MB` })
|
|
3343
3343
|
] })
|
|
3344
3344
|
}
|
|
3345
3345
|
),
|
|
@@ -3356,7 +3356,7 @@ function FileUploader({
|
|
|
3356
3356
|
}
|
|
3357
3357
|
)
|
|
3358
3358
|
] }),
|
|
3359
|
-
description && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-gray-400
|
|
3359
|
+
description && mode === "upload" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-gray-400 caption-1 mt-1", children: description }),
|
|
3360
3360
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: `mt-[8px] ${attachWidth}`, children: filesToDisplay.length !== 0 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-col rounded-[6px] body-1 border-[1px] border-gray-300", children: filesToDisplay.map((file, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
3361
3361
|
"div",
|
|
3362
3362
|
{
|
|
@@ -5463,14 +5463,14 @@ function CardKPI({
|
|
|
5463
5463
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "border-b", children: [
|
|
5464
5464
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "body-2 ", children: "\u0E01\u0E25\u0E38\u0E48\u0E21\u0E40\u0E1B\u0E49\u0E32\u0E2B\u0E21\u0E32\u0E22" }),
|
|
5465
5465
|
indicator.filter((ind) => ind.indicatorType === "TARGET").map((item, index) => {
|
|
5466
|
-
if (index
|
|
5466
|
+
if (index >= 2) return;
|
|
5467
5467
|
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(KPIRow, { item });
|
|
5468
5468
|
})
|
|
5469
5469
|
] }),
|
|
5470
5470
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "pt-2", children: [
|
|
5471
5471
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "body-2 ", children: "\u0E15\u0E31\u0E27\u0E0A\u0E35\u0E49\u0E27\u0E31\u0E14\u0E1C\u0E25\u0E1C\u0E25\u0E34\u0E15" }),
|
|
5472
5472
|
indicator.filter((ind) => ind.indicatorType === "OUTPUT").map((item, index) => {
|
|
5473
|
-
if (index
|
|
5473
|
+
if (index >= 2) return;
|
|
5474
5474
|
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(KPIRow, { item });
|
|
5475
5475
|
})
|
|
5476
5476
|
] }),
|
package/dist/index.mjs
CHANGED
|
@@ -3273,7 +3273,7 @@ function FileUploader({
|
|
|
3273
3273
|
] }) : /* @__PURE__ */ jsxs28("div", { className: "flex flex-col items-center gap-2", children: [
|
|
3274
3274
|
/* @__PURE__ */ jsx35(IconUpload, { size: 20 }),
|
|
3275
3275
|
/* @__PURE__ */ jsx35("span", { className: "body-1", children: "\u0E04\u0E25\u0E34\u0E01\u0E2B\u0E23\u0E37\u0E2D\u0E25\u0E32\u0E01\u0E44\u0E1F\u0E25\u0E4C\u0E21\u0E32\u0E17\u0E35\u0E48\u0E1A\u0E23\u0E34\u0E40\u0E27\u0E13\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14" }),
|
|
3276
|
-
/* @__PURE__ */ jsx35("span", { className: "text-gray-400 body-3", children:
|
|
3276
|
+
/* @__PURE__ */ jsx35("span", { className: "text-gray-400 body-3 text-center", children: description || `\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E1A\u0E1A\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E32\u0E22\u0E44\u0E1F\u0E25\u0E4C \u0E02\u0E19\u0E32\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14 ${maxSize} MB` })
|
|
3277
3277
|
] })
|
|
3278
3278
|
}
|
|
3279
3279
|
),
|
|
@@ -3290,7 +3290,7 @@ function FileUploader({
|
|
|
3290
3290
|
}
|
|
3291
3291
|
)
|
|
3292
3292
|
] }),
|
|
3293
|
-
description && /* @__PURE__ */ jsx35("p", { className: "text-gray-400
|
|
3293
|
+
description && mode === "upload" && /* @__PURE__ */ jsx35("p", { className: "text-gray-400 caption-1 mt-1", children: description }),
|
|
3294
3294
|
/* @__PURE__ */ jsx35("div", { className: `mt-[8px] ${attachWidth}`, children: filesToDisplay.length !== 0 && /* @__PURE__ */ jsx35("div", { className: "flex flex-col rounded-[6px] body-1 border-[1px] border-gray-300", children: filesToDisplay.map((file, index) => /* @__PURE__ */ jsxs28(
|
|
3295
3295
|
"div",
|
|
3296
3296
|
{
|
|
@@ -5411,14 +5411,14 @@ function CardKPI({
|
|
|
5411
5411
|
/* @__PURE__ */ jsxs40("div", { className: "border-b", children: [
|
|
5412
5412
|
/* @__PURE__ */ jsx49("span", { className: "body-2 ", children: "\u0E01\u0E25\u0E38\u0E48\u0E21\u0E40\u0E1B\u0E49\u0E32\u0E2B\u0E21\u0E32\u0E22" }),
|
|
5413
5413
|
indicator.filter((ind) => ind.indicatorType === "TARGET").map((item, index) => {
|
|
5414
|
-
if (index
|
|
5414
|
+
if (index >= 2) return;
|
|
5415
5415
|
return /* @__PURE__ */ jsx49(KPIRow, { item });
|
|
5416
5416
|
})
|
|
5417
5417
|
] }),
|
|
5418
5418
|
/* @__PURE__ */ jsxs40("div", { className: "pt-2", children: [
|
|
5419
5419
|
/* @__PURE__ */ jsx49("span", { className: "body-2 ", children: "\u0E15\u0E31\u0E27\u0E0A\u0E35\u0E49\u0E27\u0E31\u0E14\u0E1C\u0E25\u0E1C\u0E25\u0E34\u0E15" }),
|
|
5420
5420
|
indicator.filter((ind) => ind.indicatorType === "OUTPUT").map((item, index) => {
|
|
5421
|
-
if (index
|
|
5421
|
+
if (index >= 2) return;
|
|
5422
5422
|
return /* @__PURE__ */ jsx49(KPIRow, { item });
|
|
5423
5423
|
})
|
|
5424
5424
|
] }),
|