@superinterface/react 3.17.2 → 3.17.3
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.cjs +66 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +66 -56
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -42084,7 +42084,7 @@ var MessageContent = function(_ref) {
|
|
|
42084
42084
|
// src/components/threads/Thread/Message/index.tsx
|
|
42085
42085
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
42086
42086
|
var Message = function(t0) {
|
|
42087
|
-
var $ = (0, import_react_compiler_runtime25.c)(
|
|
42087
|
+
var $ = (0, import_react_compiler_runtime25.c)(51);
|
|
42088
42088
|
var message = t0.message, className = t0.className, style = t0.style;
|
|
42089
42089
|
var t1;
|
|
42090
42090
|
bb0: {
|
|
@@ -42223,102 +42223,112 @@ var Message = function(t0) {
|
|
|
42223
42223
|
t4 = $[24];
|
|
42224
42224
|
}
|
|
42225
42225
|
var t5;
|
|
42226
|
+
if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
42227
|
+
t5 = {
|
|
42228
|
+
wordBreak: "break-word"
|
|
42229
|
+
};
|
|
42230
|
+
$[25] = t5;
|
|
42231
|
+
} else {
|
|
42232
|
+
t5 = $[25];
|
|
42233
|
+
}
|
|
42226
42234
|
var t6;
|
|
42227
|
-
|
|
42228
|
-
|
|
42235
|
+
var t7;
|
|
42236
|
+
if ($[26] !== message) {
|
|
42237
|
+
t6 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Attachments, {
|
|
42229
42238
|
message: message
|
|
42230
42239
|
});
|
|
42231
|
-
|
|
42240
|
+
t7 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MessageContent, {
|
|
42232
42241
|
message: message
|
|
42233
42242
|
});
|
|
42234
|
-
$[
|
|
42235
|
-
$[26] = t5;
|
|
42243
|
+
$[26] = message;
|
|
42236
42244
|
$[27] = t6;
|
|
42245
|
+
$[28] = t7;
|
|
42237
42246
|
} else {
|
|
42238
|
-
t5 = $[26];
|
|
42239
42247
|
t6 = $[27];
|
|
42248
|
+
t7 = $[28];
|
|
42240
42249
|
}
|
|
42241
|
-
var
|
|
42242
|
-
if ($[
|
|
42243
|
-
|
|
42244
|
-
$[
|
|
42245
|
-
$[
|
|
42246
|
-
$[
|
|
42250
|
+
var t8;
|
|
42251
|
+
if ($[29] !== isInProgress || $[30] !== laterRunSteps_0) {
|
|
42252
|
+
t8 = isInProgress && (0, import_radash12.isEmpty)(laterRunSteps_0) && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StartingContentSkeleton, {});
|
|
42253
|
+
$[29] = isInProgress;
|
|
42254
|
+
$[30] = laterRunSteps_0;
|
|
42255
|
+
$[31] = t8;
|
|
42247
42256
|
} else {
|
|
42248
|
-
|
|
42257
|
+
t8 = $[31];
|
|
42249
42258
|
}
|
|
42250
|
-
var
|
|
42251
|
-
if ($[
|
|
42252
|
-
|
|
42259
|
+
var t9;
|
|
42260
|
+
if ($[32] !== t6 || $[33] !== t7 || $[34] !== t8) {
|
|
42261
|
+
t9 = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes33.Box, {
|
|
42262
|
+
style: t5,
|
|
42253
42263
|
children: [
|
|
42254
|
-
t5,
|
|
42255
42264
|
t6,
|
|
42256
|
-
t7
|
|
42265
|
+
t7,
|
|
42266
|
+
t8
|
|
42257
42267
|
]
|
|
42258
42268
|
});
|
|
42259
|
-
$[31] = t5;
|
|
42260
42269
|
$[32] = t6;
|
|
42261
42270
|
$[33] = t7;
|
|
42262
42271
|
$[34] = t8;
|
|
42272
|
+
$[35] = t9;
|
|
42263
42273
|
} else {
|
|
42264
|
-
|
|
42274
|
+
t9 = $[35];
|
|
42265
42275
|
}
|
|
42266
|
-
var
|
|
42267
|
-
if ($[
|
|
42268
|
-
|
|
42276
|
+
var t10;
|
|
42277
|
+
if ($[36] !== laterRunSteps_0) {
|
|
42278
|
+
t10 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RunSteps, {
|
|
42269
42279
|
runSteps: laterRunSteps_0
|
|
42270
42280
|
});
|
|
42271
|
-
$[
|
|
42272
|
-
$[
|
|
42281
|
+
$[36] = laterRunSteps_0;
|
|
42282
|
+
$[37] = t10;
|
|
42273
42283
|
} else {
|
|
42274
|
-
|
|
42284
|
+
t10 = $[37];
|
|
42275
42285
|
}
|
|
42276
|
-
var
|
|
42277
|
-
if ($[
|
|
42278
|
-
|
|
42286
|
+
var t11;
|
|
42287
|
+
if ($[38] !== isInProgress || $[39] !== laterRunSteps_0) {
|
|
42288
|
+
t11 = isInProgress && !(0, import_radash12.isEmpty)(laterRunSteps_0) && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_themes33.Box, {
|
|
42279
42289
|
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StartingContentSkeleton, {})
|
|
42280
42290
|
});
|
|
42281
|
-
$[
|
|
42282
|
-
$[
|
|
42283
|
-
$[
|
|
42291
|
+
$[38] = isInProgress;
|
|
42292
|
+
$[39] = laterRunSteps_0;
|
|
42293
|
+
$[40] = t11;
|
|
42284
42294
|
} else {
|
|
42285
|
-
|
|
42295
|
+
t11 = $[40];
|
|
42286
42296
|
}
|
|
42287
|
-
var
|
|
42288
|
-
if ($[
|
|
42289
|
-
|
|
42297
|
+
var t12;
|
|
42298
|
+
if ($[41] !== className || $[42] !== style || $[43] !== t10 || $[44] !== t11 || $[45] !== t4 || $[46] !== t9) {
|
|
42299
|
+
t12 = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_themes33.Box, {
|
|
42290
42300
|
className: className,
|
|
42291
42301
|
style: style,
|
|
42292
42302
|
children: [
|
|
42293
42303
|
t4,
|
|
42294
|
-
t8,
|
|
42295
42304
|
t9,
|
|
42296
|
-
t10
|
|
42305
|
+
t10,
|
|
42306
|
+
t11
|
|
42297
42307
|
]
|
|
42298
42308
|
});
|
|
42299
|
-
$[
|
|
42300
|
-
$[
|
|
42301
|
-
$[
|
|
42302
|
-
$[
|
|
42303
|
-
$[
|
|
42304
|
-
$[
|
|
42305
|
-
$[
|
|
42309
|
+
$[41] = className;
|
|
42310
|
+
$[42] = style;
|
|
42311
|
+
$[43] = t10;
|
|
42312
|
+
$[44] = t11;
|
|
42313
|
+
$[45] = t4;
|
|
42314
|
+
$[46] = t9;
|
|
42315
|
+
$[47] = t12;
|
|
42306
42316
|
} else {
|
|
42307
|
-
|
|
42317
|
+
t12 = $[47];
|
|
42308
42318
|
}
|
|
42309
|
-
var
|
|
42310
|
-
if ($[
|
|
42311
|
-
|
|
42319
|
+
var t13;
|
|
42320
|
+
if ($[48] !== t12 || $[49] !== t3) {
|
|
42321
|
+
t13 = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Provider, {
|
|
42312
42322
|
value: t3,
|
|
42313
|
-
children:
|
|
42323
|
+
children: t12
|
|
42314
42324
|
});
|
|
42315
|
-
$[
|
|
42316
|
-
$[
|
|
42317
|
-
$[
|
|
42325
|
+
$[48] = t12;
|
|
42326
|
+
$[49] = t3;
|
|
42327
|
+
$[50] = t13;
|
|
42318
42328
|
} else {
|
|
42319
|
-
|
|
42329
|
+
t13 = $[50];
|
|
42320
42330
|
}
|
|
42321
|
-
return
|
|
42331
|
+
return t13;
|
|
42322
42332
|
};
|
|
42323
42333
|
function _temp(runStep_0) {
|
|
42324
42334
|
return runStep_0.step_details.type === "message_creation";
|