catchup-library-web 1.18.15 → 1.18.17

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,7 +3372,6 @@ var ShowBodyMediaByContentType = ({
3372
3372
  value,
3373
3373
  size
3374
3374
  }) => {
3375
- console.log("main value: ", value);
3376
3375
  const [showFullScreen, setShowFullScreen] = (0, import_react11.useState)(false);
3377
3376
  const [selectedFullScreenItem, setSelectedFullScreenItem] = (0, import_react11.useState)("");
3378
3377
  const convertToPercentage = (size2) => {
@@ -3413,17 +3412,14 @@ var ShowBodyMediaByContentType = ({
3413
3412
  const processTextTags = () => {
3414
3413
  const checkText = "--TEXT--";
3415
3414
  while (copyValue.includes(checkText)) {
3416
- console.log("copy value: ", copyValue);
3417
3415
  const firstIndex = copyValue.indexOf(checkText);
3418
3416
  const textBeforeTag = copyValue.substring(0, firstIndex);
3419
- console.log("text before: ", textBeforeTag);
3420
3417
  if (textBeforeTag.trim() !== "") {
3421
3418
  currentIndex++;
3422
3419
  const itemKey2 = `text-before-${index}-${currentIndex}`;
3423
3420
  valuePartList.push(renderTextContent(textBeforeTag, itemKey2));
3424
3421
  }
3425
3422
  const subValue = copyValue.substring(firstIndex + checkText.length);
3426
- console.log("sub value: ", subValue);
3427
3423
  const secondIndex = subValue.indexOf(checkText);
3428
3424
  if (secondIndex === -1) break;
3429
3425
  const textInsideTag = copyValue.substring(
@@ -3432,7 +3428,6 @@ var ShowBodyMediaByContentType = ({
3432
3428
  );
3433
3429
  currentIndex++;
3434
3430
  const itemKey = `text-inside-${index}-${currentIndex}`;
3435
- console.log("text inside: ", textInsideTag);
3436
3431
  valuePartList.push(
3437
3432
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-xl font-bold", children: constructInputWithSpecialExpressionList(textInsideTag).map(
3438
3433
  (inputPart, inputPartIndex) => renderSpecialExpressions(inputPart, inputPartIndex)
@@ -3792,6 +3787,7 @@ var ActivityBodyContent = ({
3792
3787
  default:
3793
3788
  processedValue = processedValue.replace("@@", trimmedAnswer);
3794
3789
  }
3790
+ console.log("processed value: ", processedValue);
3795
3791
  }
3796
3792
  currentQQIndex++;
3797
3793
  }
@@ -3824,7 +3820,6 @@ var ActivityBodyContent = ({
3824
3820
  key
3825
3821
  });
3826
3822
  }).filter(Boolean);
3827
- console.log("process bodies: ", processedBodies);
3828
3823
  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)(
3829
3824
  ShowBodyMediaByContentType_default,
3830
3825
  {
package/dist/index.mjs CHANGED
@@ -3156,7 +3156,6 @@ var ShowBodyMediaByContentType = ({
3156
3156
  value,
3157
3157
  size
3158
3158
  }) => {
3159
- console.log("main value: ", value);
3160
3159
  const [showFullScreen, setShowFullScreen] = useState11(false);
3161
3160
  const [selectedFullScreenItem, setSelectedFullScreenItem] = useState11("");
3162
3161
  const convertToPercentage = (size2) => {
@@ -3197,17 +3196,14 @@ var ShowBodyMediaByContentType = ({
3197
3196
  const processTextTags = () => {
3198
3197
  const checkText = "--TEXT--";
3199
3198
  while (copyValue.includes(checkText)) {
3200
- console.log("copy value: ", copyValue);
3201
3199
  const firstIndex = copyValue.indexOf(checkText);
3202
3200
  const textBeforeTag = copyValue.substring(0, firstIndex);
3203
- console.log("text before: ", textBeforeTag);
3204
3201
  if (textBeforeTag.trim() !== "") {
3205
3202
  currentIndex++;
3206
3203
  const itemKey2 = `text-before-${index}-${currentIndex}`;
3207
3204
  valuePartList.push(renderTextContent(textBeforeTag, itemKey2));
3208
3205
  }
3209
3206
  const subValue = copyValue.substring(firstIndex + checkText.length);
3210
- console.log("sub value: ", subValue);
3211
3207
  const secondIndex = subValue.indexOf(checkText);
3212
3208
  if (secondIndex === -1) break;
3213
3209
  const textInsideTag = copyValue.substring(
@@ -3216,7 +3212,6 @@ var ShowBodyMediaByContentType = ({
3216
3212
  );
3217
3213
  currentIndex++;
3218
3214
  const itemKey = `text-inside-${index}-${currentIndex}`;
3219
- console.log("text inside: ", textInsideTag);
3220
3215
  valuePartList.push(
3221
3216
  /* @__PURE__ */ jsx18("span", { className: "text-xl font-bold", children: constructInputWithSpecialExpressionList(textInsideTag).map(
3222
3217
  (inputPart, inputPartIndex) => renderSpecialExpressions(inputPart, inputPartIndex)
@@ -3576,6 +3571,7 @@ var ActivityBodyContent = ({
3576
3571
  default:
3577
3572
  processedValue = processedValue.replace("@@", trimmedAnswer);
3578
3573
  }
3574
+ console.log("processed value: ", processedValue);
3579
3575
  }
3580
3576
  currentQQIndex++;
3581
3577
  }
@@ -3608,7 +3604,6 @@ var ActivityBodyContent = ({
3608
3604
  key
3609
3605
  });
3610
3606
  }).filter(Boolean);
3611
- console.log("process bodies: ", processedBodies);
3612
3607
  return /* @__PURE__ */ jsx19("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx19(
3613
3608
  ShowBodyMediaByContentType_default,
3614
3609
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.18.15",
3
+ "version": "1.18.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -67,6 +67,7 @@ const ActivityBodyContent = ({
67
67
  default:
68
68
  processedValue = processedValue.replace("@@", trimmedAnswer);
69
69
  }
70
+ console.log("processed value: ", processedValue);
70
71
  }
71
72
  currentQQIndex++;
72
73
  }
@@ -108,8 +109,6 @@ const ActivityBodyContent = ({
108
109
  })
109
110
  .filter(Boolean);
110
111
 
111
- console.log("process bodies: ", processedBodies);
112
-
113
112
  return (
114
113
  <div className="flex flex-col justify-center items-center">
115
114
  {processedBodies.map((body, index) => (
@@ -15,7 +15,6 @@ const ShowBodyMediaByContentType = ({
15
15
  value,
16
16
  size,
17
17
  }: IShowBodyMediaByContentTypeProps) => {
18
- console.log("main value: ", value);
19
18
  const [showFullScreen, setShowFullScreen] = useState<boolean>(false);
20
19
  const [selectedFullScreenItem, setSelectedFullScreenItem] =
21
20
  useState<string>("");
@@ -80,10 +79,8 @@ const ShowBodyMediaByContentType = ({
80
79
  const processTextTags = () => {
81
80
  const checkText = "--TEXT--";
82
81
  while (copyValue.includes(checkText)) {
83
- console.log("copy value: ", copyValue);
84
82
  const firstIndex = copyValue.indexOf(checkText);
85
83
  const textBeforeTag = copyValue.substring(0, firstIndex);
86
- console.log("text before: ", textBeforeTag);
87
84
 
88
85
  if (textBeforeTag.trim() !== "") {
89
86
  currentIndex++;
@@ -92,7 +89,6 @@ const ShowBodyMediaByContentType = ({
92
89
  }
93
90
 
94
91
  const subValue = copyValue.substring(firstIndex + checkText.length);
95
- console.log("sub value: ", subValue);
96
92
  const secondIndex = subValue.indexOf(checkText);
97
93
  if (secondIndex === -1) break;
98
94
 
@@ -103,8 +99,6 @@ const ShowBodyMediaByContentType = ({
103
99
  currentIndex++;
104
100
  const itemKey = `text-inside-${index}-${currentIndex}`;
105
101
 
106
- console.log("text inside: ", textInsideTag);
107
-
108
102
  valuePartList.push(
109
103
  <span key={itemKey} className="text-xl font-bold">
110
104
  {constructInputWithSpecialExpressionList(textInsideTag).map(