@bigbinary/neetoui-rn 3.3.4 → 3.5.0

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.
Files changed (88) hide show
  1. package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts +2 -1
  2. package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts.map +1 -1
  3. package/lib/typescript/src/components/ChatInput/ChatInput.d.ts +85 -0
  4. package/lib/typescript/src/components/ChatInput/ChatInput.d.ts.map +1 -1
  5. package/lib/typescript/src/components/ChatInput/MentionSuggestionList.d.ts +9 -0
  6. package/lib/typescript/src/components/ChatInput/MentionSuggestionList.d.ts.map +1 -0
  7. package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts +3 -1
  8. package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts.map +1 -1
  9. package/lib/typescript/src/components/ChatInput/SegmentedOptions.d.ts +10 -0
  10. package/lib/typescript/src/components/ChatInput/SegmentedOptions.d.ts.map +1 -0
  11. package/lib/typescript/src/components/ChatInput/constants.d.ts +3 -0
  12. package/lib/typescript/src/components/ChatInput/constants.d.ts.map +1 -1
  13. package/lib/typescript/src/components/ChatInput/index.d.ts +1 -1
  14. package/lib/typescript/src/components/ChatInput/index.d.ts.map +1 -1
  15. package/lib/typescript/src/components/ChatInput/mentions.d.ts +2 -0
  16. package/lib/typescript/src/components/ChatInput/mentions.d.ts.map +1 -1
  17. package/lib/typescript/src/components/RichTextEditor/LazyRichTextEditor.d.ts +3 -0
  18. package/lib/typescript/src/components/RichTextEditor/LazyRichTextEditor.d.ts.map +1 -0
  19. package/lib/typescript/src/components/RichTextEditor/MentionSuggestionBar.d.ts +8 -0
  20. package/lib/typescript/src/components/RichTextEditor/MentionSuggestionBar.d.ts.map +1 -0
  21. package/lib/typescript/src/components/RichTextEditor/RichTextEditor.d.ts +45 -0
  22. package/lib/typescript/src/components/RichTextEditor/RichTextEditor.d.ts.map +1 -0
  23. package/lib/typescript/src/components/RichTextEditor/RichTextToolbar.d.ts +11 -0
  24. package/lib/typescript/src/components/RichTextEditor/RichTextToolbar.d.ts.map +1 -0
  25. package/lib/typescript/src/components/RichTextEditor/bridges/CodeBlockBridge.d.ts +13 -0
  26. package/lib/typescript/src/components/RichTextEditor/bridges/CodeBlockBridge.d.ts.map +1 -0
  27. package/lib/typescript/src/components/RichTextEditor/bridges/ComposerBridge.d.ts +27 -0
  28. package/lib/typescript/src/components/RichTextEditor/bridges/ComposerBridge.d.ts.map +1 -0
  29. package/lib/typescript/src/components/RichTextEditor/bridges/FigureBridge.d.ts +16 -0
  30. package/lib/typescript/src/components/RichTextEditor/bridges/FigureBridge.d.ts.map +1 -0
  31. package/lib/typescript/src/components/RichTextEditor/bridges/MentionBridge.d.ts +35 -0
  32. package/lib/typescript/src/components/RichTextEditor/bridges/MentionBridge.d.ts.map +1 -0
  33. package/lib/typescript/src/components/RichTextEditor/bridges/VariableBridge.d.ts +3 -0
  34. package/lib/typescript/src/components/RichTextEditor/bridges/VariableBridge.d.ts.map +1 -0
  35. package/lib/typescript/src/components/RichTextEditor/bridges/index.d.ts +8 -0
  36. package/lib/typescript/src/components/RichTextEditor/bridges/index.d.ts.map +1 -0
  37. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Figure.d.ts +3 -0
  38. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Figure.d.ts.map +1 -0
  39. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Mention.d.ts +3 -0
  40. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Mention.d.ts.map +1 -0
  41. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Variable.d.ts +3 -0
  42. package/lib/typescript/src/components/RichTextEditor/bridges/nodes/Variable.d.ts.map +1 -0
  43. package/lib/typescript/src/components/RichTextEditor/bridges/types.d.ts +8 -0
  44. package/lib/typescript/src/components/RichTextEditor/bridges/types.d.ts.map +1 -0
  45. package/lib/typescript/src/components/RichTextEditor/editorCss.d.ts +21 -0
  46. package/lib/typescript/src/components/RichTextEditor/editorCss.d.ts.map +1 -0
  47. package/lib/typescript/src/components/RichTextEditor/icons/index.d.ts +9 -0
  48. package/lib/typescript/src/components/RichTextEditor/icons/index.d.ts.map +1 -0
  49. package/lib/typescript/src/components/RichTextEditor/index.d.ts +4 -0
  50. package/lib/typescript/src/components/RichTextEditor/index.d.ts.map +1 -0
  51. package/lib/typescript/src/components/RichTextEditor/injectableText.d.ts +2 -0
  52. package/lib/typescript/src/components/RichTextEditor/injectableText.d.ts.map +1 -0
  53. package/lib/typescript/src/components/RichTextEditor/types.d.ts +6 -0
  54. package/lib/typescript/src/components/RichTextEditor/types.d.ts.map +1 -0
  55. package/lib/typescript/src/components/RichTextEditor/web/build/editorHtml.d.ts +2 -0
  56. package/lib/typescript/src/components/RichTextEditor/web/build/editorHtml.d.ts.map +1 -0
  57. package/lib/typescript/src/index.d.ts +2 -1
  58. package/lib/typescript/src/index.d.ts.map +1 -1
  59. package/package.json +30 -7
  60. package/src/components/ChatInput/AttachmentsView.tsx +6 -0
  61. package/src/components/ChatInput/ChatInput.tsx +569 -91
  62. package/src/components/ChatInput/MentionSuggestionList.tsx +71 -0
  63. package/src/components/ChatInput/MentionsInput.tsx +34 -46
  64. package/src/components/ChatInput/SegmentedOptions.tsx +84 -0
  65. package/src/components/ChatInput/constants.ts +10 -0
  66. package/src/components/ChatInput/index.ts +3 -0
  67. package/src/components/ChatInput/mentions.ts +22 -0
  68. package/src/components/RichTextEditor/LazyRichTextEditor.tsx +19 -0
  69. package/src/components/RichTextEditor/MentionSuggestionBar.tsx +79 -0
  70. package/src/components/RichTextEditor/RichTextEditor.tsx +227 -0
  71. package/src/components/RichTextEditor/RichTextToolbar.tsx +476 -0
  72. package/src/components/RichTextEditor/bridges/CodeBlockBridge.ts +29 -0
  73. package/src/components/RichTextEditor/bridges/ComposerBridge.ts +107 -0
  74. package/src/components/RichTextEditor/bridges/FigureBridge.ts +38 -0
  75. package/src/components/RichTextEditor/bridges/MentionBridge.ts +79 -0
  76. package/src/components/RichTextEditor/bridges/VariableBridge.ts +7 -0
  77. package/src/components/RichTextEditor/bridges/index.ts +66 -0
  78. package/src/components/RichTextEditor/bridges/nodes/Figure.ts +127 -0
  79. package/src/components/RichTextEditor/bridges/nodes/Mention.ts +48 -0
  80. package/src/components/RichTextEditor/bridges/nodes/Variable.ts +68 -0
  81. package/src/components/RichTextEditor/bridges/types.ts +26 -0
  82. package/src/components/RichTextEditor/editorCss.ts +69 -0
  83. package/src/components/RichTextEditor/icons/index.tsx +41 -0
  84. package/src/components/RichTextEditor/index.ts +3 -0
  85. package/src/components/RichTextEditor/injectableText.ts +11 -0
  86. package/src/components/RichTextEditor/types.ts +1 -0
  87. package/src/components/RichTextEditor/web/build/editorHtml.ts +3 -0
  88. package/src/index.ts +9 -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;CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,0FAM7B,oBAAoB,uCAoBtB,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"}
@@ -1,5 +1,6 @@
1
1
  import { type ReactNode } from "react";
2
2
  import { type TextInputProps } from "react-native";
3
+ import { type RichTextEditorProps } from "../RichTextEditor";
3
4
  import { type ChatInputOption } from "./constants";
4
5
  import { type MentionSuggestion } from "./mentions";
5
6
  export type ChatInputPayload = {
@@ -10,8 +11,26 @@ export type ChatInputPayload = {
10
11
  plainText: string;
11
12
  status?: string;
12
13
  };
14
+ export type ChatInputLayout = "compact" | "expanded";
15
+ export type ChatInputResizable = {
16
+ initialHeight: number;
17
+ minHeight: number;
18
+ maxHeight: number;
19
+ /** Called with the settled height after each drag, e.g. to persist it. */
20
+ onResizeEnd?: (height: number) => void;
21
+ };
22
+ export type ChatInputFocusTarget = "start" | "end" | "emptyParagraph";
13
23
  export type ChatInputRef = {
14
24
  clearEmailFields: () => void;
25
+ /** Rich: replaces the document. Plain: replaces the text with the HTML's text via onChangeText. */
26
+ setHTML: (html: string) => void;
27
+ /**
28
+ * Rich: inserts at the cursor of the option's editor (default: the
29
+ * selected one). Plain: appends the HTML's text via onChangeText.
30
+ */
31
+ insertHTML: (html: string, option?: ChatInputOption) => void;
32
+ focus: (where?: ChatInputFocusTarget) => void;
33
+ getHTML: () => Promise<string>;
15
34
  };
16
35
  export type ChatInputProps = Omit<TextInputProps, "value" | "onChange" | "onChangeText" | "onSelectionChange"> & {
17
36
  value?: string;
@@ -38,6 +57,39 @@ export type ChatInputProps = Omit<TextInputProps, "value" | "onChange" | "onChan
38
57
  suggestions?: MentionSuggestion[];
39
58
  disabled?: boolean;
40
59
  isLoading?: boolean;
60
+ /** "expanded" (tablets) moves the mode toggles into a header row and keeps attachments open. */
61
+ layout?: ChatInputLayout;
62
+ /** Minimum visible lines of text. */
63
+ minLines?: number;
64
+ /** Rendered between the input and the attachments. */
65
+ Signature?: ReactNode;
66
+ /** Rendered at the end of the toolbar's left group. */
67
+ ToolbarExtras?: ReactNode;
68
+ /** Header hint shown in expanded layout while a note is selected. */
69
+ noteHint?: string;
70
+ /**
71
+ * "rich" swaps the text input for RichTextEditor; it then ignores value and
72
+ * suggestions, reports the editor's plain text through onChangeText
73
+ * (debounced), and content is reset through the ref.
74
+ */
75
+ editor?: "plain" | "rich";
76
+ /** Adds a drag handle on top that resizes the composer within the bounds. */
77
+ resizable?: ChatInputResizable;
78
+ /** Rich only: options that keep the plain mention input. */
79
+ plainEditorFor?: ChatInputOption[];
80
+ /**
81
+ * Rich only: receives the plain text of the option's editor; defaults to
82
+ * onChangeText. Notes and replies keep separate documents.
83
+ */
84
+ onRichTextChange?: (text: string, option: ChatInputOption) => void;
85
+ /** Rich only: the signature at the end of initialHTML; first focus lands above it. */
86
+ signatureHTML?: string;
87
+ /** Rich only: the document the reply editor starts with; notes start empty. */
88
+ initialHTML?: string;
89
+ /** Rich only. */
90
+ onPickImage?: RichTextEditorProps["onPickImage"];
91
+ /** Rich only. */
92
+ onPickLink?: RichTextEditorProps["onPickLink"];
41
93
  };
42
94
  /**
43
95
  * Composer used by chat and desk. Ported against the two real call sites
@@ -74,5 +126,38 @@ export declare const ChatInput: import("react").ForwardRefExoticComponent<Omit<T
74
126
  suggestions?: MentionSuggestion[];
75
127
  disabled?: boolean;
76
128
  isLoading?: boolean;
129
+ /** "expanded" (tablets) moves the mode toggles into a header row and keeps attachments open. */
130
+ layout?: ChatInputLayout;
131
+ /** Minimum visible lines of text. */
132
+ minLines?: number;
133
+ /** Rendered between the input and the attachments. */
134
+ Signature?: ReactNode;
135
+ /** Rendered at the end of the toolbar's left group. */
136
+ ToolbarExtras?: ReactNode;
137
+ /** Header hint shown in expanded layout while a note is selected. */
138
+ noteHint?: string;
139
+ /**
140
+ * "rich" swaps the text input for RichTextEditor; it then ignores value and
141
+ * suggestions, reports the editor's plain text through onChangeText
142
+ * (debounced), and content is reset through the ref.
143
+ */
144
+ editor?: "plain" | "rich";
145
+ /** Adds a drag handle on top that resizes the composer within the bounds. */
146
+ resizable?: ChatInputResizable;
147
+ /** Rich only: options that keep the plain mention input. */
148
+ plainEditorFor?: ChatInputOption[];
149
+ /**
150
+ * Rich only: receives the plain text of the option's editor; defaults to
151
+ * onChangeText. Notes and replies keep separate documents.
152
+ */
153
+ onRichTextChange?: (text: string, option: ChatInputOption) => void;
154
+ /** Rich only: the signature at the end of initialHTML; first focus lands above it. */
155
+ signatureHTML?: string;
156
+ /** Rich only: the document the reply editor starts with; notes start empty. */
157
+ initialHTML?: string;
158
+ /** Rich only. */
159
+ onPickImage?: RichTextEditorProps["onPickImage"];
160
+ /** Rich only. */
161
+ onPickLink?: RichTextEditorProps["onPickLink"];
77
162
  } & import("react").RefAttributes<ChatInputRef>>;
78
163
  //# 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,EAAwB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAqB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3C,kBAAkB,CAAC,EAAE,eAAe,EAAE,CAAC;IACvC,sEAAsE;IACtE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS;YApCZ,MAAM;mBACC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;4BACd,eAAe;qBACtB,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI;cACxC,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI;gBACjC,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI;IAC/C,mEAAmE;gBACvD,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI;mBAChC,MAAM,IAAI;IACzB,8DAA8D;uBAC3C,MAAM,IAAI;IAC7B,sDAAsD;iBACzC,MAAM,IAAI;sBACL,eAAe,EAAE;6BACV,eAAe,EAAE;yBACrB,eAAe,EAAE;IACtC,sEAAsE;2BAC/C,OAAO;eACnB,MAAM,EAAE;uBACA,MAAM;kBACX,SAAS;kBACT,iBAAiB,EAAE;eACtB,OAAO;gBACN,OAAO;gDAiRpB,CAAC"}
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,EAIL,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAkBtB,OAAO,EAEL,KAAK,mBAAmB,EAEzB,MAAM,mBAAmB,CAAC;AAU3B,OAAO,EAML,KAAK,eAAe,EACrB,MAAM,aAA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O,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;IACpB,iBAAiB;kBACH,mBAAmB,CAAC,aAAa,CAAC;IAChD,iBAAiB;iBACJ,mBAAmB,CAAC,YAAY,CAAC;gDAijB/C,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,EAAc,SAAS,EAAQ,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAQhF,OAAO,EAA6B,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAI/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;CAC3B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,mFAQ3B,kBAAkB,gCAkEpB,CAAC"}
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,GAClB,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"}
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,3 @@
1
+ import type * as Editor from "./RichTextEditor";
2
+ export declare const RichTextEditor: import("react").ForwardRefExoticComponent<Editor.RichTextEditorProps & import("react").RefAttributes<Editor.RichTextEditorRef>>;
3
+ //# sourceMappingURL=LazyRichTextEditor.d.ts.map
@@ -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,45 @@
1
+ import { type StyleProp, type ViewStyle } from "react-native";
2
+ import type { MentionSuggestion } from "../ChatInput/mentions";
3
+ import type { RichTextImage } from "./types";
4
+ export interface RichTextEditorRef {
5
+ getHTML: () => Promise<string>;
6
+ getText: () => Promise<string>;
7
+ setHTML: (html: string) => void;
8
+ insertHTML: (html: string) => void;
9
+ focus: (where?: "start" | "end" | "emptyParagraph") => void;
10
+ blur: () => void;
11
+ insertImage: (image: RichTextImage) => void;
12
+ }
13
+ export interface RichTextEditorProps {
14
+ initialHTML?: string;
15
+ placeholder?: string;
16
+ editable?: boolean;
17
+ autoFocus?: boolean;
18
+ /** Fires on every content change; read HTML lazily through the ref. */
19
+ onChange?: () => void;
20
+ onFocus?: () => void;
21
+ onBlur?: () => void;
22
+ /** Default "fixed". */
23
+ toolbar?: "fixed" | "none";
24
+ /** Resolves to the uploaded image, or null when cancelled. Absent → no image button. */
25
+ onPickImage?: () => Promise<RichTextImage | null>;
26
+ /** Resolves to a URL, "" to remove the link, or null when cancelled. */
27
+ onPickLink?: (current?: string) => Promise<string | null>;
28
+ /**
29
+ * Trailing part of initialHTML (a signature). The first focus puts the
30
+ * cursor just above it, as desk-web does.
31
+ */
32
+ trailingHTML?: string;
33
+ /** Edit {{variables}} as chips (signature editors); replies keep them as text. */
34
+ variables?: boolean;
35
+ /** Palette for the text colour menu. */
36
+ colors?: string[];
37
+ /** People offered while an "@name" is typed; inserted as mention chips. */
38
+ mentions?: MentionSuggestion[];
39
+ /** Behind the text; defaults to the theme's primary background. */
40
+ backgroundColor?: string;
41
+ style?: StyleProp<ViewStyle>;
42
+ testID?: string;
43
+ }
44
+ export declare const RichTextEditor: import("react").ForwardRefExoticComponent<RichTextEditorProps & import("react").RefAttributes<RichTextEditorRef>>;
45
+ //# 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;AAO/D,OAAO,KAAK,EAAE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EAA2E;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,mHAkI1B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { NeetoEditorBridge } from "./bridges/types";
2
+ import type { RichTextImage } from "./types";
3
+ type RichTextToolbarProps = {
4
+ editor: NeetoEditorBridge;
5
+ colors: string[];
6
+ onPickImage?: () => Promise<RichTextImage | null>;
7
+ onPickLink?: (current?: string) => Promise<string | null>;
8
+ };
9
+ export declare const RichTextToolbar: ({ editor, colors, onPickImage, onPickLink, }: RichTextToolbarProps) => import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=RichTextToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/RichTextToolbar.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAoB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC3D,CAAC;AA+BF,eAAO,MAAM,eAAe,GAAI,8CAK7B,oBAAoB,gCAqTtB,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,16 @@
1
+ import { BridgeExtension } from "@10play/tentap-editor";
2
+ export type FigureAttributes = {
3
+ src: string;
4
+ width: number;
5
+ height?: number;
6
+ };
7
+ export type FigureEditorInstance = {
8
+ insertFigure: (attributes: FigureAttributes) => void;
9
+ };
10
+ type FigureMessage = {
11
+ type: "insert-figure";
12
+ payload: FigureAttributes;
13
+ };
14
+ export declare const FigureBridge: BridgeExtension<object, FigureEditorInstance, FigureMessage>;
15
+ export {};
16
+ //# sourceMappingURL=FigureBridge.d.ts.map
@@ -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,MAAM,MAAM,gBAAgB,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE,CAAC,UAAU,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF,KAAK,aAAa,GAAG;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,YAAY,8DAyBvB,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,3 @@
1
+ import { BridgeExtension } from "@10play/tentap-editor";
2
+ export declare const VariableBridge: BridgeExtension<object, object, unknown>;
3
+ //# sourceMappingURL=VariableBridge.d.ts.map
@@ -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,3 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Figure: Node<any, any>;
3
+ //# sourceMappingURL=Figure.d.ts.map
@@ -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,3 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Mention: Node<any, any>;
3
+ //# sourceMappingURL=Mention.d.ts.map
@@ -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,3 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Variable: Node<any, any>;
3
+ //# sourceMappingURL=Variable.d.ts.map
@@ -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,8 @@
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 { FigureEditorInstance } from "./FigureBridge";
5
+ import type { MentionEditorInstance, MentionEditorState } from "./MentionBridge";
6
+ export type NeetoEditorBridge = EditorBridge & CodeBlockEditorInstance & FigureEditorInstance & MentionEditorInstance & ComposerEditorInstance;
7
+ export type NeetoBridgeState = BridgeState & CodeBlockEditorState & MentionEditorState & ComposerEditorState;
8
+ //# 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,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAC1C,uBAAuB,GACvB,oBAAoB,GACpB,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,4 @@
1
+ export { RichTextEditor } from "./LazyRichTextEditor";
2
+ export type { RichTextEditorProps, RichTextEditorRef } from "./RichTextEditor";
3
+ export { type RichTextImage } from "./types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -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;AAC/E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const injectableText: (text: string) => string;
2
+ //# sourceMappingURL=injectableText.d.ts.map
@@ -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,6 @@
1
+ export type RichTextImage = {
2
+ src: string;
3
+ width: number;
4
+ height?: number;
5
+ };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/RichTextEditor/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const editorHtml: string;
2
+ //# sourceMappingURL=editorHtml.d.ts.map
@@ -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,MAAs0nnB,CAAC"}