catchup-library-web 1.18.14 → 1.18.15
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
CHANGED
|
@@ -3372,6 +3372,7 @@ var ShowBodyMediaByContentType = ({
|
|
|
3372
3372
|
value,
|
|
3373
3373
|
size
|
|
3374
3374
|
}) => {
|
|
3375
|
+
console.log("main value: ", value);
|
|
3375
3376
|
const [showFullScreen, setShowFullScreen] = (0, import_react11.useState)(false);
|
|
3376
3377
|
const [selectedFullScreenItem, setSelectedFullScreenItem] = (0, import_react11.useState)("");
|
|
3377
3378
|
const convertToPercentage = (size2) => {
|
|
@@ -3823,6 +3824,7 @@ var ActivityBodyContent = ({
|
|
|
3823
3824
|
key
|
|
3824
3825
|
});
|
|
3825
3826
|
}).filter(Boolean);
|
|
3827
|
+
console.log("process bodies: ", processedBodies);
|
|
3826
3828
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3827
3829
|
ShowBodyMediaByContentType_default,
|
|
3828
3830
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -3156,6 +3156,7 @@ var ShowBodyMediaByContentType = ({
|
|
|
3156
3156
|
value,
|
|
3157
3157
|
size
|
|
3158
3158
|
}) => {
|
|
3159
|
+
console.log("main value: ", value);
|
|
3159
3160
|
const [showFullScreen, setShowFullScreen] = useState11(false);
|
|
3160
3161
|
const [selectedFullScreenItem, setSelectedFullScreenItem] = useState11("");
|
|
3161
3162
|
const convertToPercentage = (size2) => {
|
|
@@ -3607,6 +3608,7 @@ var ActivityBodyContent = ({
|
|
|
3607
3608
|
key
|
|
3608
3609
|
});
|
|
3609
3610
|
}).filter(Boolean);
|
|
3611
|
+
console.log("process bodies: ", processedBodies);
|
|
3610
3612
|
return /* @__PURE__ */ jsx19("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx19(
|
|
3611
3613
|
ShowBodyMediaByContentType_default,
|
|
3612
3614
|
{
|
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@ const ShowBodyMediaByContentType = ({
|
|
|
15
15
|
value,
|
|
16
16
|
size,
|
|
17
17
|
}: IShowBodyMediaByContentTypeProps) => {
|
|
18
|
+
console.log("main value: ", value);
|
|
18
19
|
const [showFullScreen, setShowFullScreen] = useState<boolean>(false);
|
|
19
20
|
const [selectedFullScreenItem, setSelectedFullScreenItem] =
|
|
20
21
|
useState<string>("");
|
|
@@ -76,7 +77,6 @@ const ShowBodyMediaByContentType = ({
|
|
|
76
77
|
const valuePartList = [];
|
|
77
78
|
let copyValue = JSON.parse(JSON.stringify(value));
|
|
78
79
|
|
|
79
|
-
// Process TEXT tags
|
|
80
80
|
const processTextTags = () => {
|
|
81
81
|
const checkText = "--TEXT--";
|
|
82
82
|
while (copyValue.includes(checkText)) {
|