@starasia/admin 6.3.4 → 6.4.0
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.es.js
CHANGED
|
@@ -4027,11 +4027,9 @@ const Hi = (t) => {
|
|
|
4027
4027
|
children: Ii(t.defaultUrl || "") || ((r = t.fileSelected) == null ? void 0 : r.name)
|
|
4028
4028
|
}
|
|
4029
4029
|
),
|
|
4030
|
-
!t.defaultUrl && /* @__PURE__ */ u(U, { direction: "row", gap: "xs", align: "center", children: [
|
|
4031
|
-
/* @__PURE__ */ e(v, { fontSize: "sm", fontWeight: "medium", children:
|
|
4032
|
-
|
|
4033
|
-
)}` }),
|
|
4034
|
-
/* @__PURE__ */ e(w, { name: "Dot", size: "xs" }),
|
|
4030
|
+
(!t.defaultUrl || t.fileSize || t.fileDate) && /* @__PURE__ */ u(U, { direction: "row", gap: "xs", align: "center", children: [
|
|
4031
|
+
/* @__PURE__ */ e(v, { fontSize: "sm", fontWeight: "medium", children: t.defaultUrl ? t.fileSize ?? "" : Ai(((i = t.fileSelected) == null ? void 0 : i.size.toString()) || "100000") }),
|
|
4032
|
+
(t.defaultUrl ? !!(t.fileSize && t.fileDate) : !0) && /* @__PURE__ */ e(w, { name: "Dot", size: "xs" }),
|
|
4035
4033
|
/* @__PURE__ */ e(
|
|
4036
4034
|
v,
|
|
4037
4035
|
{
|
|
@@ -4103,6 +4101,7 @@ const Hi = (t) => {
|
|
|
4103
4101
|
{
|
|
4104
4102
|
fileSelected: r.fileSelected,
|
|
4105
4103
|
fileDate: r.fileDate,
|
|
4104
|
+
fileSize: r.fileSize,
|
|
4106
4105
|
handleOnDeleteFile: r.handleOnDeleteFile,
|
|
4107
4106
|
handleOnClickFile: o,
|
|
4108
4107
|
defaultUrl: r.defaultUrl
|