@gisce/react-ooui 2.120.0-alpha.1 → 2.120.0-alpha.2
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/{actionbar → comments}/CommentsSidePanel.d.ts +1 -0
- package/dist/comments/CommentsSidePanel.d.ts.map +1 -0
- package/dist/comments/MessageBubble.d.ts +15 -0
- package/dist/comments/MessageBubble.d.ts.map +1 -0
- package/dist/comments/ParticipantsSection.d.ts.map +1 -0
- package/dist/comments/PendingMessageBubble.d.ts.map +1 -0
- package/dist/comments/UnreadDivider.d.ts +6 -0
- package/dist/comments/UnreadDivider.d.ts.map +1 -0
- package/dist/hooks/useRecordComments.d.ts +1 -0
- package/dist/hooks/useRecordComments.d.ts.map +1 -1
- package/dist/locales/ca_ES.d.ts +2 -0
- package/dist/locales/ca_ES.d.ts.map +1 -1
- package/dist/locales/en_US.d.ts +2 -0
- package/dist/locales/en_US.d.ts.map +1 -1
- package/dist/locales/es_ES.d.ts +2 -0
- package/dist/locales/es_ES.d.ts.map +1 -1
- package/dist/react-ooui.es.js +6386 -6293
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/views/actionViews/FormActionView.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/actionbar/CommentsSidePanel.d.ts.map +0 -1
- package/dist/actionbar/ParticipantsSection.d.ts.map +0 -1
- package/dist/actionbar/PendingMessageBubble.d.ts.map +0 -1
- /package/dist/{actionbar → comments}/ParticipantsSection.d.ts +0 -0
- /package/dist/{actionbar → comments}/PendingMessageBubble.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentsSidePanel.d.ts","sourceRoot":"","sources":["../../src/comments/CommentsSidePanel.tsx"],"names":[],"mappings":";AAsBA,OAAO,EACL,aAAa,EACb,WAAW,EACX,WAAW,EAEZ,MAAM,kBAAkB,CAAC;AAkB1B,eAAO,MAAM,oBAAoB,MAAM,CAAC;AACxC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAyBpC,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,CAAC,IAAI,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IACvD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC;AA4hBF,eAAO,MAAM,iBAAiB,8CA1hBa,sBAAsB,oDA0hBA,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RecordComment } from '../*/types/comments';
|
|
3
|
+
export type MessageBubbleProps = {
|
|
4
|
+
comment: RecordComment;
|
|
5
|
+
isOwnMessage: boolean;
|
|
6
|
+
isFirstInGroup: boolean;
|
|
7
|
+
isFirstOfDay: boolean;
|
|
8
|
+
dayLabel?: string;
|
|
9
|
+
model: string;
|
|
10
|
+
resourceId: number;
|
|
11
|
+
skipSeparator?: boolean;
|
|
12
|
+
onDeleteComment?: (commentId: number) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const MessageBubble: import("react").MemoExoticComponent<({ comment, isOwnMessage, isFirstInGroup, isFirstOfDay, dayLabel, model, resourceId, skipSeparator, onDeleteComment, }: MessageBubbleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
//# sourceMappingURL=MessageBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../src/comments/MessageBubble.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AASjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,aAAa,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,aAAa,8JAWrB,kBAAkB,6CA8QtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParticipantsSection.d.ts","sourceRoot":"","sources":["../../src/comments/ParticipantsSection.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM/C,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AA4IF,eAAO,MAAM,mBAAmB,mHAnI7B,wBAAwB,6CAmI0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PendingMessageBubble.d.ts","sourceRoot":"","sources":["../../src/comments/PendingMessageBubble.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAqBlD,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAiGF,eAAO,MAAM,oBAAoB,8DA5F9B,yBAAyB,6CA4F2C,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type UnreadDividerProps = {
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const UnreadDivider: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<UnreadDividerProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
|
+
//# sourceMappingURL=UnreadDivider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnreadDivider.d.ts","sourceRoot":"","sources":["../../src/comments/UnreadDivider.tsx"],"names":[],"mappings":";AAKA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAmDF,eAAO,MAAM,aAAa,oJAA+B,CAAC"}
|
|
@@ -13,6 +13,7 @@ export declare const useRecordComments: (opts: UseRecordCommentsOpts) => {
|
|
|
13
13
|
silent?: boolean;
|
|
14
14
|
}) => Promise<void>;
|
|
15
15
|
addComment: (body: string) => Promise<any>;
|
|
16
|
+
deleteComment: (commentId: number) => void;
|
|
16
17
|
fetchMentionUsers: (query: string) => Promise<MentionUser[]>;
|
|
17
18
|
markAsRead: (messageId: number) => Promise<void>;
|
|
18
19
|
cancelRequest: (requestId?: string | undefined) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRecordComments.d.ts","sourceRoot":"","sources":["../../src/hooks/useRecordComments.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACX,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,iBAAiB,SAAU,qBAAqB;;;;;2BAwB3C;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE;uBA6CrB,MAAM;+
|
|
1
|
+
{"version":3,"file":"useRecordComments.d.ts","sourceRoot":"","sources":["../../src/hooks/useRecordComments.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACX,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,iBAAiB,SAAU,qBAAqB;;;;;2BAwB3C;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE;uBA6CrB,MAAM;+BA+DP,MAAM;+BA9CJ,MAAM,KAAG,QAAQ,WAAW,EAAE,CAAC;4BAqB3B,MAAM;;;CAiE3B,CAAC"}
|
package/dist/locales/ca_ES.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ca_ES.d.ts","sourceRoot":"","sources":["../../src/locales/ca_ES.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ca_ES.d.ts","sourceRoot":"","sources":["../../src/locales/ca_ES.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuLE"}
|
package/dist/locales/en_US.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en_US.d.ts","sourceRoot":"","sources":["../../src/locales/en_US.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en_US.d.ts","sourceRoot":"","sources":["../../src/locales/en_US.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAoLE"}
|
package/dist/locales/es_ES.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es_ES.d.ts","sourceRoot":"","sources":["../../src/locales/es_ES.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"es_ES.d.ts","sourceRoot":"","sources":["../../src/locales/es_ES.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA0LE"}
|