@overmap-ai/core 1.0.38-component-fields.19 → 1.0.38-component-fields.21
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/overmap-core.js +36 -30
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +36 -30
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/style.css +17 -7
- package/package.json +1 -1
|
@@ -9677,11 +9677,15 @@ var __publicField = (obj, key, value) => {
|
|
|
9677
9677
|
super(options, FieldInputCloner);
|
|
9678
9678
|
}
|
|
9679
9679
|
}
|
|
9680
|
-
const
|
|
9681
|
-
const
|
|
9682
|
-
const
|
|
9683
|
-
const
|
|
9680
|
+
const displayFileContainer = "_displayFileContainer_1bb3a_1";
|
|
9681
|
+
const infoContainer = "_infoContainer_1bb3a_5";
|
|
9682
|
+
const previewImage$1 = "_previewImage_1bb3a_9";
|
|
9683
|
+
const nameContainer = "_nameContainer_1bb3a_19";
|
|
9684
|
+
const hasPreview = "_hasPreview_1bb3a_24";
|
|
9685
|
+
const useEllipsis = "_useEllipsis_1bb3a_29";
|
|
9684
9686
|
const styles$4 = {
|
|
9687
|
+
displayFileContainer,
|
|
9688
|
+
infoContainer,
|
|
9685
9689
|
previewImage: previewImage$1,
|
|
9686
9690
|
nameContainer,
|
|
9687
9691
|
hasPreview,
|
|
@@ -9826,7 +9830,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9826
9830
|
},
|
|
9827
9831
|
[name, resolvedFile]
|
|
9828
9832
|
);
|
|
9829
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Card, { children: [
|
|
9833
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: styles$4.displayFileContainer, size: "1", children: [
|
|
9830
9834
|
/* @__PURE__ */ jsxRuntime.jsx(Inset, { clip: "border-box", side: "top", pb: "0", children: url && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9831
9835
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9832
9836
|
"img",
|
|
@@ -9849,33 +9853,35 @@ var __publicField = (obj, key, value) => {
|
|
|
9849
9853
|
}
|
|
9850
9854
|
)
|
|
9851
9855
|
] }) }),
|
|
9852
|
-
/* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, {
|
|
9853
|
-
/* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, {
|
|
9854
|
-
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { className: styles$4.useEllipsis, children: name }),
|
|
9855
|
-
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "1", children: size }),
|
|
9856
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, { className: styles$4.infoContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", width: "100%", children: [
|
|
9857
|
+
/* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", gap: "2", grow: "1", children: [
|
|
9858
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { className: styles$4.useEllipsis, size: "1", children: name }),
|
|
9859
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "1", children: `(${size})` }),
|
|
9856
9860
|
error2 && /* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "1", severity: "danger", children: error2 })
|
|
9857
9861
|
] }),
|
|
9858
|
-
/* @__PURE__ */ jsxRuntime.
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9862
|
+
/* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", gap: "2", children: [
|
|
9863
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9864
|
+
blocks.IconButton,
|
|
9865
|
+
{
|
|
9866
|
+
variant: "ghost",
|
|
9867
|
+
"aria-label": `Download ${name}`,
|
|
9868
|
+
onClick: handleDownload,
|
|
9869
|
+
disabled: !resolvedFile,
|
|
9870
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(DownloadIcon, {})
|
|
9871
|
+
}
|
|
9872
|
+
),
|
|
9873
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9874
|
+
blocks.IconButton,
|
|
9875
|
+
{
|
|
9876
|
+
severity: "info",
|
|
9877
|
+
variant: "ghost",
|
|
9878
|
+
"aria-label": `Remove ${name}`,
|
|
9879
|
+
disabled,
|
|
9880
|
+
onClick: onRemove,
|
|
9881
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Cross1Icon, {})
|
|
9882
|
+
}
|
|
9883
|
+
)
|
|
9884
|
+
] })
|
|
9879
9885
|
] }) })
|
|
9880
9886
|
] });
|
|
9881
9887
|
});
|