@bigbinary/neetoui-rn 3.4.0 → 3.5.1
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/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts +2 -1
- package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts.map +1 -1
- package/lib/typescript/src/components/ChatInput/ChatInput.d.ts +76 -0
- package/lib/typescript/src/components/ChatInput/ChatInput.d.ts.map +1 -1
- package/lib/typescript/src/components/ChatInput/MentionSuggestionList.d.ts +9 -0
- package/lib/typescript/src/components/ChatInput/MentionSuggestionList.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts +3 -1
- package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts.map +1 -1
- package/lib/typescript/src/components/ChatInput/SegmentedOptions.d.ts +10 -0
- package/lib/typescript/src/components/ChatInput/SegmentedOptions.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/constants.d.ts +3 -0
- package/lib/typescript/src/components/ChatInput/constants.d.ts.map +1 -1
- package/lib/typescript/src/components/ChatInput/index.d.ts +1 -1
- package/lib/typescript/src/components/ChatInput/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ChatInput/mentions.d.ts +2 -0
- package/lib/typescript/src/components/ChatInput/mentions.d.ts.map +1 -1
- package/lib/typescript/src/components/RichTextEditor/LazyRichTextEditor.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/LazyRichTextEditor.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/MentionSuggestionBar.d.ts +8 -0
- package/lib/typescript/src/components/RichTextEditor/MentionSuggestionBar.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/RichTextEditor.d.ts +39 -0
- package/lib/typescript/src/components/RichTextEditor/RichTextEditor.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/RichTextToolbar.d.ts +8 -0
- package/lib/typescript/src/components/RichTextEditor/RichTextToolbar.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/CodeBlockBridge.d.ts +13 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/CodeBlockBridge.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/ComposerBridge.d.ts +27 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/ComposerBridge.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/FigureBridge.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/FigureBridge.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/MentionBridge.d.ts +35 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/MentionBridge.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/VariableBridge.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/VariableBridge.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/index.d.ts +8 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/index.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Figure.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Figure.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Mention.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Mention.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Variable.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Variable.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/types.d.ts +7 -0
- package/lib/typescript/src/components/RichTextEditor/bridges/types.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/editorCss.d.ts +21 -0
- package/lib/typescript/src/components/RichTextEditor/editorCss.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/icons/index.d.ts +9 -0
- package/lib/typescript/src/components/RichTextEditor/icons/index.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/index.d.ts +3 -0
- package/lib/typescript/src/components/RichTextEditor/index.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/injectableText.d.ts +2 -0
- package/lib/typescript/src/components/RichTextEditor/injectableText.d.ts.map +1 -0
- package/lib/typescript/src/components/RichTextEditor/web/build/editorHtml.d.ts +2 -0
- package/lib/typescript/src/components/RichTextEditor/web/build/editorHtml.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +30 -7
- package/src/components/ChatInput/AttachmentsView.tsx +6 -0
- package/src/components/ChatInput/ChatInput.tsx +557 -91
- package/src/components/ChatInput/MentionSuggestionList.tsx +71 -0
- package/src/components/ChatInput/MentionsInput.tsx +34 -46
- package/src/components/ChatInput/SegmentedOptions.tsx +84 -0
- package/src/components/ChatInput/constants.ts +10 -0
- package/src/components/ChatInput/index.ts +3 -0
- package/src/components/ChatInput/mentions.ts +22 -0
- package/src/components/RichTextEditor/LazyRichTextEditor.tsx +19 -0
- package/src/components/RichTextEditor/MentionSuggestionBar.tsx +79 -0
- package/src/components/RichTextEditor/RichTextEditor.tsx +213 -0
- package/src/components/RichTextEditor/RichTextToolbar.tsx +452 -0
- package/src/components/RichTextEditor/bridges/CodeBlockBridge.ts +29 -0
- package/src/components/RichTextEditor/bridges/ComposerBridge.ts +107 -0
- package/src/components/RichTextEditor/bridges/FigureBridge.ts +7 -0
- package/src/components/RichTextEditor/bridges/MentionBridge.ts +79 -0
- package/src/components/RichTextEditor/bridges/VariableBridge.ts +7 -0
- package/src/components/RichTextEditor/bridges/index.ts +66 -0
- package/src/components/RichTextEditor/bridges/nodes/Figure.ts +127 -0
- package/src/components/RichTextEditor/bridges/nodes/Mention.ts +48 -0
- package/src/components/RichTextEditor/bridges/nodes/Variable.ts +68 -0
- package/src/components/RichTextEditor/bridges/types.ts +24 -0
- package/src/components/RichTextEditor/editorCss.ts +69 -0
- package/src/components/RichTextEditor/icons/index.tsx +41 -0
- package/src/components/RichTextEditor/index.ts +2 -0
- package/src/components/RichTextEditor/injectableText.ts +11 -0
- package/src/components/RichTextEditor/web/build/editorHtml.ts +3 -0
- package/src/index.ts +8 -0
|
@@ -5,7 +5,8 @@ type AttachmentsViewProps = {
|
|
|
5
5
|
Attachments?: ReactNode;
|
|
6
6
|
attachmentsCount?: number;
|
|
7
7
|
isNoteOptionSelected: boolean;
|
|
8
|
+
isAlwaysExpanded?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare const AttachmentsView: ({ isAttachmentsVisible, onExpand, Attachments, attachmentsCount, isNoteOptionSelected, }: AttachmentsViewProps) => import("react").JSX.Element | null;
|
|
10
|
+
export declare const AttachmentsView: ({ isAttachmentsVisible, onExpand, Attachments, attachmentsCount, isNoteOptionSelected, isAlwaysExpanded, }: AttachmentsViewProps) => import("react").JSX.Element | null;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=AttachmentsView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentsView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/AttachmentsView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAoBvC,KAAK,oBAAoB,GAAG;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentsView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/AttachmentsView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAoBvC,KAAK,oBAAoB,GAAG;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,4GAO7B,oBAAoB,uCAwBtB,CAAC"}
|
|
@@ -10,8 +10,26 @@ export type ChatInputPayload = {
|
|
|
10
10
|
plainText: string;
|
|
11
11
|
status?: string;
|
|
12
12
|
};
|
|
13
|
+
export type ChatInputLayout = "compact" | "expanded";
|
|
14
|
+
export type ChatInputResizable = {
|
|
15
|
+
initialHeight: number;
|
|
16
|
+
minHeight: number;
|
|
17
|
+
maxHeight: number;
|
|
18
|
+
/** Called with the settled height after each drag, e.g. to persist it. */
|
|
19
|
+
onResizeEnd?: (height: number) => void;
|
|
20
|
+
};
|
|
21
|
+
export type ChatInputFocusTarget = "start" | "end" | "emptyParagraph";
|
|
13
22
|
export type ChatInputRef = {
|
|
14
23
|
clearEmailFields: () => void;
|
|
24
|
+
/** Rich: replaces the document. Plain: replaces the text with the HTML's text via onChangeText. */
|
|
25
|
+
setHTML: (html: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Rich: inserts at the cursor of the option's editor (default: the
|
|
28
|
+
* selected one). Plain: appends the HTML's text via onChangeText.
|
|
29
|
+
*/
|
|
30
|
+
insertHTML: (html: string, option?: ChatInputOption) => void;
|
|
31
|
+
focus: (where?: ChatInputFocusTarget) => void;
|
|
32
|
+
getHTML: () => Promise<string>;
|
|
15
33
|
};
|
|
16
34
|
export type ChatInputProps = Omit<TextInputProps, "value" | "onChange" | "onChangeText" | "onSelectionChange"> & {
|
|
17
35
|
value?: string;
|
|
@@ -38,6 +56,35 @@ export type ChatInputProps = Omit<TextInputProps, "value" | "onChange" | "onChan
|
|
|
38
56
|
suggestions?: MentionSuggestion[];
|
|
39
57
|
disabled?: boolean;
|
|
40
58
|
isLoading?: boolean;
|
|
59
|
+
/** "expanded" (tablets) moves the mode toggles into a header row and keeps attachments open. */
|
|
60
|
+
layout?: ChatInputLayout;
|
|
61
|
+
/** Minimum visible lines of text. */
|
|
62
|
+
minLines?: number;
|
|
63
|
+
/** Rendered between the input and the attachments. */
|
|
64
|
+
Signature?: ReactNode;
|
|
65
|
+
/** Rendered at the end of the toolbar's left group. */
|
|
66
|
+
ToolbarExtras?: ReactNode;
|
|
67
|
+
/** Header hint shown in expanded layout while a note is selected. */
|
|
68
|
+
noteHint?: string;
|
|
69
|
+
/**
|
|
70
|
+
* "rich" swaps the text input for RichTextEditor; it then ignores value and
|
|
71
|
+
* suggestions, reports the editor's plain text through onChangeText
|
|
72
|
+
* (debounced), and content is reset through the ref.
|
|
73
|
+
*/
|
|
74
|
+
editor?: "plain" | "rich";
|
|
75
|
+
/** Adds a drag handle on top that resizes the composer within the bounds. */
|
|
76
|
+
resizable?: ChatInputResizable;
|
|
77
|
+
/** Rich only: options that keep the plain mention input. */
|
|
78
|
+
plainEditorFor?: ChatInputOption[];
|
|
79
|
+
/**
|
|
80
|
+
* Rich only: receives the plain text of the option's editor; defaults to
|
|
81
|
+
* onChangeText. Notes and replies keep separate documents.
|
|
82
|
+
*/
|
|
83
|
+
onRichTextChange?: (text: string, option: ChatInputOption) => void;
|
|
84
|
+
/** Rich only: the signature at the end of initialHTML; first focus lands above it. */
|
|
85
|
+
signatureHTML?: string;
|
|
86
|
+
/** Rich only: the document the reply editor starts with; notes start empty. */
|
|
87
|
+
initialHTML?: string;
|
|
41
88
|
};
|
|
42
89
|
/**
|
|
43
90
|
* Composer used by chat and desk. Ported against the two real call sites
|
|
@@ -74,5 +121,34 @@ export declare const ChatInput: import("react").ForwardRefExoticComponent<Omit<T
|
|
|
74
121
|
suggestions?: MentionSuggestion[];
|
|
75
122
|
disabled?: boolean;
|
|
76
123
|
isLoading?: boolean;
|
|
124
|
+
/** "expanded" (tablets) moves the mode toggles into a header row and keeps attachments open. */
|
|
125
|
+
layout?: ChatInputLayout;
|
|
126
|
+
/** Minimum visible lines of text. */
|
|
127
|
+
minLines?: number;
|
|
128
|
+
/** Rendered between the input and the attachments. */
|
|
129
|
+
Signature?: ReactNode;
|
|
130
|
+
/** Rendered at the end of the toolbar's left group. */
|
|
131
|
+
ToolbarExtras?: ReactNode;
|
|
132
|
+
/** Header hint shown in expanded layout while a note is selected. */
|
|
133
|
+
noteHint?: string;
|
|
134
|
+
/**
|
|
135
|
+
* "rich" swaps the text input for RichTextEditor; it then ignores value and
|
|
136
|
+
* suggestions, reports the editor's plain text through onChangeText
|
|
137
|
+
* (debounced), and content is reset through the ref.
|
|
138
|
+
*/
|
|
139
|
+
editor?: "plain" | "rich";
|
|
140
|
+
/** Adds a drag handle on top that resizes the composer within the bounds. */
|
|
141
|
+
resizable?: ChatInputResizable;
|
|
142
|
+
/** Rich only: options that keep the plain mention input. */
|
|
143
|
+
plainEditorFor?: ChatInputOption[];
|
|
144
|
+
/**
|
|
145
|
+
* Rich only: receives the plain text of the option's editor; defaults to
|
|
146
|
+
* onChangeText. Notes and replies keep separate documents.
|
|
147
|
+
*/
|
|
148
|
+
onRichTextChange?: (text: string, option: ChatInputOption) => void;
|
|
149
|
+
/** Rich only: the signature at the end of initialHTML; first focus lands above it. */
|
|
150
|
+
signatureHTML?: string;
|
|
151
|
+
/** Rich only: the document the reply editor starts with; notes start empty. */
|
|
152
|
+
initialHTML?: string;
|
|
77
153
|
} & import("react").RefAttributes<ChatInputRef>>;
|
|
78
154
|
//# sourceMappingURL=ChatInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/ChatInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,
|
|
1
|
+
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../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;IACzB,qEAAqE;eAC1D,MAAM;IACjB;;;;OAIG;aACM,OAAO,GAAG,MAAM;IACzB,6EAA6E;gBACjE,kBAAkB;IAC9B,4DAA4D;qBAC3C,eAAe,EAAE;IAClC;;;OAGG;uBACgB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,KAAK,IAAI;IAClE,sFAAsF;oBACtE,MAAM;IACtB,+EAA+E;kBACjE,MAAM;gDA6iBrB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MentionSuggestion } from "./mentions";
|
|
2
|
+
export declare const filterMentionSuggestions: (suggestions: MentionSuggestion[], keyword: string, limit?: number) => MentionSuggestion[];
|
|
3
|
+
type MentionSuggestionListProps = {
|
|
4
|
+
suggestions: MentionSuggestion[];
|
|
5
|
+
onSelect: (suggestion: MentionSuggestion) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const MentionSuggestionList: ({ suggestions, onSelect, }: MentionSuggestionListProps) => import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=MentionSuggestionList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionSuggestionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/MentionSuggestionList.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAIpD,eAAO,MAAM,wBAAwB,GACnC,aAAa,iBAAiB,EAAE,EAChC,SAAS,MAAM,EACf,cAA+B,wBAMb,CAAC;AAErB,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,QAAQ,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,4BAGnC,0BAA0B,gCAmB5B,CAAC"}
|
|
@@ -7,7 +7,9 @@ type MentionsInputProps = Omit<TextInputProps, "value" | "onChange" | "onChangeT
|
|
|
7
7
|
suggestions?: MentionSuggestion[];
|
|
8
8
|
shouldShowSuggestions?: boolean;
|
|
9
9
|
inputRef?: Ref<TextInput>;
|
|
10
|
+
/** Minimum visible lines; replaces the default minHeight when set. */
|
|
11
|
+
minLines?: number;
|
|
10
12
|
};
|
|
11
|
-
export declare const MentionsInput: ({ value, onChange, suggestions, shouldShowSuggestions, inputRef, style, ...rest }: MentionsInputProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const MentionsInput: ({ value, onChange, suggestions, shouldShowSuggestions, inputRef, minLines, style, ...rest }: MentionsInputProps) => import("react").JSX.Element;
|
|
12
14
|
export {};
|
|
13
15
|
//# sourceMappingURL=MentionsInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MentionsInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/MentionsInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"MentionsInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/MentionsInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EACL,SAAS,EAGT,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAUtB,OAAO,EAA6B,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/E,KAAK,kBAAkB,GAAG,IAAI,CAC5B,cAAc,EACd,OAAO,GAAG,UAAU,GAAG,cAAc,GAAG,mBAAmB,CAC5D,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;IAC1B,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,6FAS3B,kBAAkB,gCAyDpB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ChatInputOption } from "./constants";
|
|
2
|
+
export type SegmentedOptionsProps = {
|
|
3
|
+
options: ChatInputOption[];
|
|
4
|
+
selected: ChatInputOption;
|
|
5
|
+
onSelect: (option: ChatInputOption) => void;
|
|
6
|
+
/** Tighter segments for a phone-width footer. */
|
|
7
|
+
isCompact?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const SegmentedOptions: ({ options, selected, onSelect, isCompact, }: SegmentedOptionsProps) => import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=SegmentedOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedOptions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/SegmentedOptions.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAiB,MAAM,aAAa,CAAC;AAElE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,6CAK9B,qBAAqB,gCA6BvB,CAAC"}
|
|
@@ -6,4 +6,7 @@ export declare const OPTION_TYPES: {
|
|
|
6
6
|
export type ChatInputOption = keyof typeof OPTION_TYPES;
|
|
7
7
|
export declare const PLACEHOLDERS: Record<ChatInputOption, string>;
|
|
8
8
|
export declare const ACTION_LABELS: Partial<Record<ChatInputOption, string>>;
|
|
9
|
+
export declare const REPLY_ACTION_LABEL = "Send reply";
|
|
10
|
+
export declare const OPTION_LABELS: Record<ChatInputOption, string>;
|
|
11
|
+
export declare const NOTE_HINT = "Internal note, not sent to the customer";
|
|
9
12
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAIxD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAGlE,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC;AAExD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAIxD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAGlE,CAAC;AAEF,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAIzD,CAAC;AAEF,eAAO,MAAM,SAAS,4CAA4C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChatInput, type ChatInputPayload, type ChatInputProps, type ChatInputRef, } from "./ChatInput";
|
|
1
|
+
export { ChatInput, type ChatInputFocusTarget, type ChatInputLayout, type ChatInputPayload, type ChatInputProps, type ChatInputRef, type ChatInputResizable, } from "./ChatInput";
|
|
2
2
|
export { OPTION_TYPES, type ChatInputOption } from "./constants";
|
|
3
3
|
export { convertMentionsToHTMLAndPlainText, type MentionSuggestion, } from "./mentions";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,iCAAiC,EACjC,KAAK,iBAAiB,GACvB,MAAM,YAAY,CAAC"}
|
|
@@ -23,4 +23,6 @@ export declare const convertMentionsToHTMLAndPlainText: ({ suggestions, value, }
|
|
|
23
23
|
html: string;
|
|
24
24
|
plainText: string;
|
|
25
25
|
};
|
|
26
|
+
/** Block ends become line breaks, so a canned reply keeps its paragraphs. */
|
|
27
|
+
export declare const htmlToPlainText: (html: string) => string;
|
|
26
28
|
//# sourceMappingURL=mentions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mentions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/mentions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAQF,eAAO,MAAM,yBAAyB,GAAI,WAAW;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,KAAG,cAAc,CAAC,SAAS,CAe1B,CAAC;AAoBH;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC,GAAI,yBAG/C;IACD,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf;;;CAwBA,CAAC"}
|
|
1
|
+
{"version":3,"file":"mentions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInput/mentions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAQF,eAAO,MAAM,yBAAyB,GAAI,WAAW;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,KAAG,cAAc,CAAC,SAAS,CAe1B,CAAC;AAoBH;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC,GAAI,yBAG/C;IACD,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf;;;CAwBA,CAAC;AAWF,6EAA6E;AAC7E,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,WAUpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LazyRichTextEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/LazyRichTextEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAMhD,eAAO,MAAM,cAAc,iIAQzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MentionSuggestion } from "../ChatInput/mentions";
|
|
2
|
+
type MentionSuggestionBarProps = {
|
|
3
|
+
suggestions: MentionSuggestion[];
|
|
4
|
+
onSelect: (suggestion: MentionSuggestion) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const MentionSuggestionBar: ({ suggestions, onSelect, }: MentionSuggestionBarProps) => import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=MentionSuggestionBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionSuggestionBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/MentionSuggestionBar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,KAAK,yBAAyB,GAAG;IAC/B,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,QAAQ,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,4BAGlC,yBAAyB,gCA4B3B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
+
import type { MentionSuggestion } from "../ChatInput/mentions";
|
|
3
|
+
export interface RichTextEditorRef {
|
|
4
|
+
getHTML: () => Promise<string>;
|
|
5
|
+
getText: () => Promise<string>;
|
|
6
|
+
setHTML: (html: string) => void;
|
|
7
|
+
insertHTML: (html: string) => void;
|
|
8
|
+
focus: (where?: "start" | "end" | "emptyParagraph") => void;
|
|
9
|
+
blur: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface RichTextEditorProps {
|
|
12
|
+
initialHTML?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
editable?: boolean;
|
|
15
|
+
autoFocus?: boolean;
|
|
16
|
+
/** Fires on every content change; read HTML lazily through the ref. */
|
|
17
|
+
onChange?: () => void;
|
|
18
|
+
onFocus?: () => void;
|
|
19
|
+
onBlur?: () => void;
|
|
20
|
+
/** Default "fixed". */
|
|
21
|
+
toolbar?: "fixed" | "none";
|
|
22
|
+
/**
|
|
23
|
+
* Trailing part of initialHTML (a signature). The first focus puts the
|
|
24
|
+
* cursor just above it, as desk-web does.
|
|
25
|
+
*/
|
|
26
|
+
trailingHTML?: string;
|
|
27
|
+
/** Edit {{variables}} as chips (signature editors); replies keep them as text. */
|
|
28
|
+
variables?: boolean;
|
|
29
|
+
/** Palette for the text colour menu. */
|
|
30
|
+
colors?: string[];
|
|
31
|
+
/** People offered while an "@name" is typed; inserted as mention chips. */
|
|
32
|
+
mentions?: MentionSuggestion[];
|
|
33
|
+
/** Behind the text; defaults to the theme's primary background. */
|
|
34
|
+
backgroundColor?: string;
|
|
35
|
+
style?: StyleProp<ViewStyle>;
|
|
36
|
+
testID?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const RichTextEditor: import("react").ForwardRefExoticComponent<RichTextEditorProps & import("react").RefAttributes<RichTextEditorRef>>;
|
|
39
|
+
//# sourceMappingURL=RichTextEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/RichTextEditor.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAY9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAS/D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,gBAAgB,KAAK,IAAI,CAAC;IAC5D,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,uBAAuB;IACvB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B,mEAAmE;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,cAAc,mHA0H1B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { NeetoEditorBridge } from "./bridges/types";
|
|
2
|
+
type RichTextToolbarProps = {
|
|
3
|
+
editor: NeetoEditorBridge;
|
|
4
|
+
colors: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare const RichTextToolbar: ({ editor, colors }: RichTextToolbarProps) => import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=RichTextToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/RichTextToolbar.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAoB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AA+BF,eAAO,MAAM,eAAe,GAAI,oBAAoB,oBAAoB,gCAsSvE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BridgeExtension } from "@10play/tentap-editor";
|
|
2
|
+
export type CodeBlockEditorState = {
|
|
3
|
+
isCodeBlockActive: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type CodeBlockEditorInstance = {
|
|
6
|
+
toggleCodeBlock: () => void;
|
|
7
|
+
};
|
|
8
|
+
type CodeBlockMessage = {
|
|
9
|
+
type: "toggle-code-block";
|
|
10
|
+
};
|
|
11
|
+
export declare const CodeBlockBridge: BridgeExtension<CodeBlockEditorState, CodeBlockEditorInstance, CodeBlockMessage>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CodeBlockBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeBlockBridge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/CodeBlockBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,MAAM,oBAAoB,GAAG;IAAE,iBAAiB,EAAE,OAAO,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,uBAAuB,GAAG;IAAE,eAAe,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEtE,KAAK,gBAAgB,GAAG;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,CAAC;AAEtD,eAAO,MAAM,eAAe,kFAmB1B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BridgeExtension } from "@10play/tentap-editor";
|
|
2
|
+
export type ComposerEditorState = {
|
|
3
|
+
/** The selection, widened to the whole link when the caret is inside one. */
|
|
4
|
+
linkRange: {
|
|
5
|
+
from: number;
|
|
6
|
+
to: number;
|
|
7
|
+
};
|
|
8
|
+
linkText: string;
|
|
9
|
+
linkOpensInNewTab: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type ComposerEditorInstance = {
|
|
12
|
+
focusEmptyParagraph: () => void;
|
|
13
|
+
insertHTML: (html: string) => void;
|
|
14
|
+
focusBeforeTrailing: (html: string) => void;
|
|
15
|
+
};
|
|
16
|
+
type ComposerMessage = {
|
|
17
|
+
type: "focus-empty-paragraph";
|
|
18
|
+
} | {
|
|
19
|
+
type: "insert-html";
|
|
20
|
+
payload: string;
|
|
21
|
+
} | {
|
|
22
|
+
type: "focus-before-trailing";
|
|
23
|
+
payload: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const ComposerBridge: BridgeExtension<ComposerEditorState, ComposerEditorInstance, ComposerMessage>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=ComposerBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComposerBridge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/ComposerBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,MAAM,mBAAmB,GAAG;IAChC,6EAA6E;IAC7E,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,KAAK,eAAe,GAChB;IAAE,IAAI,EAAE,uBAAuB,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,uBAAuB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAuCvD,eAAO,MAAM,cAAc,+EAgDzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FigureBridge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/FigureBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,eAAO,MAAM,YAAY,0CAEvB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BridgeExtension } from "@10play/tentap-editor";
|
|
2
|
+
import type { Editor } from "@tiptap/core";
|
|
3
|
+
export type MentionQuery = {
|
|
4
|
+
query: string;
|
|
5
|
+
from: number;
|
|
6
|
+
to: number;
|
|
7
|
+
};
|
|
8
|
+
export type MentionEditorState = {
|
|
9
|
+
/** The "@word" being typed at the caret, while there is one. */
|
|
10
|
+
mentionQuery: MentionQuery | null;
|
|
11
|
+
};
|
|
12
|
+
export type MentionEditorInstance = {
|
|
13
|
+
insertMention: (mention: {
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}, range: {
|
|
17
|
+
from: number;
|
|
18
|
+
to: number;
|
|
19
|
+
}) => void;
|
|
20
|
+
};
|
|
21
|
+
type MentionMessage = {
|
|
22
|
+
type: "insert-mention";
|
|
23
|
+
payload: {
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
range: {
|
|
27
|
+
from: number;
|
|
28
|
+
to: number;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const findMentionQuery: (editor: Editor) => MentionQuery | null;
|
|
33
|
+
export declare const MentionBridge: BridgeExtension<MentionEditorState, MentionEditorInstance, MentionMessage>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=MentionBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionBridge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/MentionBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAI3C,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,gEAAgE;IAChE,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,CACb,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EACtC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,KAChC,IAAI,CAAC;CACX,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,CAAC;KACrC,CAAC;CACH,CAAC;AAIF,eAAO,MAAM,gBAAgB,GAAI,QAAQ,MAAM,KAAG,YAAY,GAAG,IAgBhE,CAAC;AAEF,eAAO,MAAM,aAAa,4EA8BxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariableBridge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/VariableBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,eAAO,MAAM,cAAc,0CAEzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BridgeExtension } from "@10play/tentap-editor";
|
|
2
|
+
import type { AnyExtension } from "@tiptap/core";
|
|
3
|
+
export declare const NEETO_BRIDGES: BridgeExtension<any, any, any>[];
|
|
4
|
+
export declare const editorBridges: ({ variables }?: {
|
|
5
|
+
variables?: boolean | undefined;
|
|
6
|
+
}) => BridgeExtension<any, any, any>[];
|
|
7
|
+
export declare const tiptapExtensions: () => AnyExtension[];
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAGhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAoCjD,eAAO,MAAM,aAAa,kCAOxB,CAAC;AAEH,eAAO,MAAM,aAAa,GAAI;;CAA0B,qCAGO,CAAC;AAEhE,eAAO,MAAM,gBAAgB,QAAO,YAAY,EAU/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Figure.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/RichTextEditor/bridges/nodes/Figure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,cAAc,CAAC;AAiBrD,eAAO,MAAM,MAAM,gBA6GjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Mention.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/RichTextEditor/bridges/nodes/Mention.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,cAAc,CAAC;AAIrD,eAAO,MAAM,OAAO,gBA2ClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/RichTextEditor/bridges/nodes/Variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,cAAc,CAAC;AAOrD,eAAO,MAAM,QAAQ,gBA4DnB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BridgeState, EditorBridge } from "@10play/tentap-editor";
|
|
2
|
+
import type { CodeBlockEditorInstance, CodeBlockEditorState } from "./CodeBlockBridge";
|
|
3
|
+
import type { ComposerEditorInstance, ComposerEditorState } from "./ComposerBridge";
|
|
4
|
+
import type { MentionEditorInstance, MentionEditorState } from "./MentionBridge";
|
|
5
|
+
export type NeetoEditorBridge = EditorBridge & CodeBlockEditorInstance & MentionEditorInstance & ComposerEditorInstance;
|
|
6
|
+
export type NeetoBridgeState = BridgeState & CodeBlockEditorState & MentionEditorState & ComposerEditorState;
|
|
7
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/bridges/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAC1C,uBAAuB,GACvB,qBAAqB,GACrB,sBAAsB,CAAC;AAEzB,MAAM,MAAM,gBAAgB,GAAG,WAAW,GACxC,oBAAoB,GACpB,kBAAkB,GAClB,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type EditorTheme = {
|
|
2
|
+
colors: {
|
|
3
|
+
primary: string;
|
|
4
|
+
text: {
|
|
5
|
+
primary: string;
|
|
6
|
+
};
|
|
7
|
+
background: {
|
|
8
|
+
primary: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
};
|
|
11
|
+
border: {
|
|
12
|
+
primary: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
fontSizes: {
|
|
16
|
+
m: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const editorCss: (theme: EditorTheme, backgroundColor?: string) => string;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=editorCss.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editorCss.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/editorCss.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;QAC1B,UAAU,EAAE;YAAE,OAAO,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAE,CAAC;QACnD,MAAM,EAAE;YAAE,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC;KAC7B,CAAC;IACF,SAAS,EAAE;QAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1B,CAAC;AAeF,eAAO,MAAM,SAAS,GACpB,OAAO,WAAW,EAClB,wBAAiD,WAyClD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type IconProps = {
|
|
2
|
+
size?: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const Pilcrow: ({ size, color }: IconProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const TextType: ({ size, color }: IconProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const KeyboardDismiss: ({ size, color, }: IconProps) => import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/RichTextEditor/icons/index.tsx"],"names":[],"mappings":"AAEA,KAAK,SAAS,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAWnD,eAAO,MAAM,OAAO,GAAI,iBAAkC,SAAS,gCAKlE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,iBAAkC,SAAS,gCAInE,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,kBAG7B,SAAS,gCAWX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injectableText.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/injectableText.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAOhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editorHtml.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/RichTextEditor/web/build/editorHtml.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,EAAE,MAA6hnnB,CAAC"}
|
|
@@ -4,7 +4,7 @@ export { Avatar, getAvatarColor, type AvatarProps } from "./components/Avatar";
|
|
|
4
4
|
export { BottomSheet, type BottomSheetProps, type BottomSheetContentRowProps, } from "./components/BottomSheet";
|
|
5
5
|
export { BottomSheetMenu, type BottomSheetMenuItem, type BottomSheetMenuProps, } from "./components/BottomSheetMenu";
|
|
6
6
|
export { Button, type ButtonProps } from "./components/Button";
|
|
7
|
-
export { ChatInput, OPTION_TYPES, convertMentionsToHTMLAndPlainText, type ChatInputOption, type ChatInputPayload, type ChatInputProps, type ChatInputRef, type MentionSuggestion, } from "./components/ChatInput";
|
|
7
|
+
export { ChatInput, OPTION_TYPES, convertMentionsToHTMLAndPlainText, type ChatInputFocusTarget, type ChatInputLayout, type ChatInputOption, type ChatInputPayload, type ChatInputProps, type ChatInputRef, type ChatInputResizable, type MentionSuggestion, } from "./components/ChatInput";
|
|
8
8
|
export { CheckBox, type CheckBoxProps } from "./components/CheckBox";
|
|
9
9
|
export { FlashList, type FlashListProps } from "./components/FlashList";
|
|
10
10
|
export { Skeleton, type SkeletonProps } from "./components/Skeleton";
|
|
@@ -19,6 +19,7 @@ export { NeetoUIProvider, type NeetoUIProviderProps, } from "./components/NeetoU
|
|
|
19
19
|
export { OnBoarding, type OnBoardingProps, type OnBoardingSlide, } from "./components/OnBoarding";
|
|
20
20
|
export { ParentView, type ParentViewProps } from "./components/ParentView";
|
|
21
21
|
export { RadioButton, type RadioButtonProps } from "./components/RadioButton";
|
|
22
|
+
export { RichTextEditor, type RichTextEditorProps, type RichTextEditorRef, } from "./components/RichTextEditor";
|
|
22
23
|
export { ScrollView, type ScrollViewProps } from "./components/ScrollView";
|
|
23
24
|
export { SearchBar, type SearchBarProps } from "./components/SearchBar";
|
|
24
25
|
export { TextWithUrl, type TextWithUrlProps } from "./components/TextWithUrl";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EACL,SAAS,EACT,YAAY,EACZ,iCAAiC,EACjC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACL,UAAU,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