@medipha/chat 1.0.60 → 1.0.61
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/features/composer/pending-attachment.d.ts +4 -0
- package/dist/features/composer/use-attachment-upload.d.ts +0 -2
- package/dist/features/composer/use-pending-attachments.d.ts +1 -6
- package/dist/features/composer/video-upload.d.ts +2 -0
- package/dist/index.cjs +69 -69
- package/dist/index.js +13433 -13316
- package/dist/index.web-ByPGkGu5.js +19391 -0
- package/dist/index.web-BypwpCeL.cjs +11 -0
- package/dist/pages/conversation/conversation-detail/conversation-detail.d.ts +1 -0
- package/dist/pages/conversation/conversation-footer/conversation-footer.d.ts +1 -0
- package/dist/rolldown-runtime-B0aSnxlc.js +20 -0
- package/dist/rolldown-runtime-DF3sbh8G.cjs +1 -0
- package/dist/styles.css +1 -1
- package/dist/utils/chat.d.ts +2 -0
- package/package.json +3 -2
|
@@ -57,6 +57,7 @@ interface ConversationDetailProps {
|
|
|
57
57
|
authUser: ChatUser | null;
|
|
58
58
|
composerError: string;
|
|
59
59
|
pendingAttachments: PendingAttachment[];
|
|
60
|
+
isPreparingAttachments: boolean;
|
|
60
61
|
onRemovePendingAttachment: (index: number) => void;
|
|
61
62
|
canModerateMessages: boolean;
|
|
62
63
|
canManagePins: boolean;
|
|
@@ -3,6 +3,7 @@ import { PendingAttachment } from '../../../features/composer/pending-attachment
|
|
|
3
3
|
import { ChatMessage, ChatUser } from '../../../utils/chat';
|
|
4
4
|
interface PendingAttachmentsForFooter {
|
|
5
5
|
pendingAttachments: PendingAttachment[];
|
|
6
|
+
isPreparing: boolean;
|
|
6
7
|
addFiles: (files: File[], options?: {
|
|
7
8
|
forceDocument?: boolean;
|
|
8
9
|
}) => boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (var i in e) t(r, i, {
|
|
5
|
+
get: e[i],
|
|
6
|
+
enumerable: !0
|
|
7
|
+
});
|
|
8
|
+
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
+
}, c = (e, i, o, s) => {
|
|
10
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
11
|
+
get: ((e) => i[e]).bind(null, d),
|
|
12
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
|
+
});
|
|
14
|
+
return e;
|
|
15
|
+
}, l = (n, r, o) => (o = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
16
|
+
value: n,
|
|
17
|
+
enumerable: !0
|
|
18
|
+
}) : o, n));
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as n, l as r, o as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|