@fluentui-copilot/react-chat-input-plugins 0.3.3 → 0.4.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.
- package/CHANGELOG.json +31 -1
- package/CHANGELOG.md +19 -1
- package/lib/BasicFunctionality.js +1 -1
- package/lib/BasicFunctionality.js.map +1 -1
- package/lib/ChatInputEntity.js +2 -2
- package/lib/ChatInputEntity.js.map +1 -1
- package/lib/ChatInputToken.js +1 -1
- package/lib/ChatInputToken.js.map +1 -1
- package/lib/GhostText.js +3 -3
- package/lib/GhostText.js.map +1 -1
- package/lib/ImperativeControl.js +1 -1
- package/lib/ImperativeControl.js.map +1 -1
- package/lib/PasteUnfurling.js +1 -1
- package/lib/PasteUnfurling.js.map +1 -1
- package/lib/components/ChatInputEntity/index.js +4 -5
- package/lib/components/ChatInputEntity/index.js.map +1 -1
- package/lib/components/ChatInputToken/index.js +5 -6
- package/lib/components/ChatInputToken/index.js.map +1 -1
- package/lib/components/GhostText/index.js +4 -5
- package/lib/components/GhostText/index.js.map +1 -1
- package/lib/plugins/BasicFunctionality/BasicFunctionality.js +20 -31
- package/lib/plugins/BasicFunctionality/BasicFunctionality.js.map +1 -1
- package/lib/plugins/BasicFunctionality/index.js +1 -1
- package/lib/plugins/BasicFunctionality/index.js.map +1 -1
- package/lib/plugins/ChatInputEntity/index.js +2 -3
- package/lib/plugins/ChatInputEntity/index.js.map +1 -1
- package/lib/plugins/GhostText/GhostText.js +14 -16
- package/lib/plugins/GhostText/GhostText.js.map +1 -1
- package/lib/plugins/GhostText/index.js +2 -2
- package/lib/plugins/GhostText/index.js.map +1 -1
- package/lib/plugins/ImperativeControl/index.js +1 -1
- package/lib/plugins/ImperativeControl/index.js.map +1 -1
- package/lib/plugins/ManualGhostText/index.js +1 -1
- package/lib/plugins/ManualGhostText/index.js.map +1 -1
- package/lib/plugins/PasteUnfurling/index.js +1 -1
- package/lib/plugins/PasteUnfurling/index.js.map +1 -1
- package/lib-commonjs/BasicFunctionality.js +7 -2
- package/lib-commonjs/BasicFunctionality.js.map +1 -1
- package/lib-commonjs/ChatInputEntity.js +37 -3
- package/lib-commonjs/ChatInputEntity.js.map +1 -1
- package/lib-commonjs/ChatInputToken.js +33 -2
- package/lib-commonjs/ChatInputToken.js.map +1 -1
- package/lib-commonjs/GhostText.js +41 -4
- package/lib-commonjs/GhostText.js.map +1 -1
- package/lib-commonjs/ImperativeControl.js +7 -2
- package/lib-commonjs/ImperativeControl.js.map +1 -1
- package/lib-commonjs/PasteUnfurling.js +7 -2
- package/lib-commonjs/PasteUnfurling.js.map +1 -1
- package/lib-commonjs/components/ChatInputEntity/index.js +27 -6
- package/lib-commonjs/components/ChatInputEntity/index.js.map +1 -1
- package/lib-commonjs/components/ChatInputToken/index.js +37 -7
- package/lib-commonjs/components/ChatInputToken/index.js.map +1 -1
- package/lib-commonjs/components/GhostText/index.js +27 -6
- package/lib-commonjs/components/GhostText/index.js.map +1 -1
- package/lib-commonjs/plugins/BasicFunctionality/BasicFunctionality.js +22 -28
- package/lib-commonjs/plugins/BasicFunctionality/BasicFunctionality.js.map +1 -1
- package/lib-commonjs/plugins/BasicFunctionality/index.js +7 -2
- package/lib-commonjs/plugins/BasicFunctionality/index.js.map +1 -1
- package/lib-commonjs/plugins/ChatInputEntity/index.js +22 -4
- package/lib-commonjs/plugins/ChatInputEntity/index.js.map +1 -1
- package/lib-commonjs/plugins/GhostText/GhostText.js +17 -15
- package/lib-commonjs/plugins/GhostText/GhostText.js.map +1 -1
- package/lib-commonjs/plugins/GhostText/index.js +22 -3
- package/lib-commonjs/plugins/GhostText/index.js.map +1 -1
- package/lib-commonjs/plugins/ImperativeControl/index.js +7 -2
- package/lib-commonjs/plugins/ImperativeControl/index.js.map +1 -1
- package/lib-commonjs/plugins/ManualGhostText/index.js +7 -2
- package/lib-commonjs/plugins/ManualGhostText/index.js.map +1 -1
- package/lib-commonjs/plugins/PasteUnfurling/index.js +7 -2
- package/lib-commonjs/plugins/PasteUnfurling/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@fluentui-copilot/react-chat-input-plugins",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 09 Jan 2025 01:14:53 GMT",
|
|
6
|
+
"tag": "@fluentui-copilot/react-chat-input-plugins_v0.4.0",
|
|
7
|
+
"version": "0.4.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "owcampbe@microsoft.com",
|
|
12
|
+
"package": "@fluentui-copilot/react-chat-input-plugins",
|
|
13
|
+
"commit": "856c6874454d673a64987b547e98359b4537927b",
|
|
14
|
+
"comment": "fix: Use State instead of Ref to properly reregister plugins."
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 18 Dec 2024 08:55:41 GMT",
|
|
21
|
+
"tag": "@fluentui-copilot/react-chat-input-plugins_v0.3.4",
|
|
22
|
+
"version": "0.3.4",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "makotom@microsoft.com",
|
|
27
|
+
"package": "@fluentui-copilot/react-chat-input-plugins",
|
|
28
|
+
"commit": "cc179462507d13546b93c6330be325014286998c",
|
|
29
|
+
"comment": "chore: Banning * exports."
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Tue, 10 Dec 2024 20:22:06 GMT",
|
|
6
36
|
"tag": "@fluentui-copilot/react-chat-input-plugins_v0.3.3",
|
|
7
37
|
"version": "0.3.3",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
# Change Log - @fluentui-copilot/react-chat-input-plugins
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 09 Jan 2025 01:14:53 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [0.4.0](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-chat-input-plugins_v0.4.0)
|
|
8
|
+
|
|
9
|
+
Thu, 09 Jan 2025 01:14:53 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-chat-input-plugins_v0.3.4..@fluentui-copilot/react-chat-input-plugins_v0.4.0)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix: Use State instead of Ref to properly reregister plugins. ([PR #2513](https://github.com/microsoft/fluentai/pull/2513) by owcampbe@microsoft.com)
|
|
15
|
+
|
|
16
|
+
## [0.3.4](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-chat-input-plugins_v0.3.4)
|
|
17
|
+
|
|
18
|
+
Wed, 18 Dec 2024 08:55:41 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-chat-input-plugins_v0.3.3..@fluentui-copilot/react-chat-input-plugins_v0.3.4)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- chore: Banning * exports. ([PR #2477](https://github.com/microsoft/fluentai/pull/2477) by makotom@microsoft.com)
|
|
24
|
+
|
|
7
25
|
## [0.3.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-chat-input-plugins_v0.3.1)
|
|
8
26
|
|
|
9
27
|
Thu, 31 Oct 2024 17:41:08 GMT
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { BasicFunctionalityPlugin } from './plugins/BasicFunctionality/index';
|
|
2
2
|
//# sourceMappingURL=BasicFunctionality.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["BasicFunctionality.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["BasicFunctionality.ts"],"sourcesContent":["export type { BasicFunctionalityPluginProps, BasicFunctionalityPluginRef } from './plugins/BasicFunctionality/index';\nexport { BasicFunctionalityPlugin } from './plugins/BasicFunctionality/index';\n"],"names":["BasicFunctionalityPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,wBAAwB,QAAQ,qCAAqC"}
|
package/lib/ChatInputEntity.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { ChatInputEntity, chatInputEntityClassNames, renderChatInputEntity_unstable, useChatInputEntityStyles_unstable, useChatInputEntity_unstable } from './components/ChatInputEntity/index';
|
|
2
|
+
export { $createChatInputEntityNode, $isChatInputEntityNode, ChatInputEntityNode, ChatInputEntityPlugin } from './plugins/ChatInputEntity/index';
|
|
3
3
|
//# sourceMappingURL=ChatInputEntity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ChatInputEntity.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["ChatInputEntity.ts"],"sourcesContent":["export type { ChatInputEntityProps, ChatInputEntitySlots, ChatInputEntityState } from './components/ChatInputEntity/index';\nexport { ChatInputEntity, chatInputEntityClassNames, renderChatInputEntity_unstable, useChatInputEntityStyles_unstable, useChatInputEntity_unstable } from './components/ChatInputEntity/index';\nexport type { ChatInputEntityPluginRef, SerializedChatInputEntityNode } from './plugins/ChatInputEntity/index';\nexport { $createChatInputEntityNode, $isChatInputEntityNode, ChatInputEntityNode, ChatInputEntityPlugin } from './plugins/ChatInputEntity/index';\n"],"names":["ChatInputEntity","chatInputEntityClassNames","renderChatInputEntity_unstable","useChatInputEntityStyles_unstable","useChatInputEntity_unstable","$createChatInputEntityNode","$isChatInputEntityNode","ChatInputEntityNode","ChatInputEntityPlugin"],"rangeMappings":";","mappings":"AACA,SAASA,eAAe,EAAEC,yBAAyB,EAAEC,8BAA8B,EAAEC,iCAAiC,EAAEC,2BAA2B,QAAQ,qCAAqC;AAEhM,SAASC,0BAA0B,EAAEC,sBAAsB,EAAEC,mBAAmB,EAAEC,qBAAqB,QAAQ,kCAAkC"}
|
package/lib/ChatInputToken.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { $createChatInputTokenNode, $isChatInputTokenNode, ChatInputToken, ChatInputTokenNode, chatInputTokenClassNames, renderChatInputToken_unstable, useChatInputTokenStyles_unstable, useChatInputToken_unstable } from './components/ChatInputToken/index';
|
|
2
2
|
//# sourceMappingURL=ChatInputToken.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ChatInputToken.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["ChatInputToken.ts"],"sourcesContent":["export type { ChatInputTokenProps, ChatInputTokenSlots, ChatInputTokenState, SerializedChatInputTokenNode } from './components/ChatInputToken/index';\nexport { $createChatInputTokenNode, $isChatInputTokenNode, ChatInputToken, ChatInputTokenNode, chatInputTokenClassNames, renderChatInputToken_unstable, useChatInputTokenStyles_unstable, useChatInputToken_unstable } from './components/ChatInputToken/index';\n"],"names":["$createChatInputTokenNode","$isChatInputTokenNode","ChatInputToken","ChatInputTokenNode","chatInputTokenClassNames","renderChatInputToken_unstable","useChatInputTokenStyles_unstable","useChatInputToken_unstable"],"rangeMappings":"","mappings":"AACA,SAASA,yBAAyB,EAAEC,qBAAqB,EAAEC,cAAc,EAAEC,kBAAkB,EAAEC,wBAAwB,EAAEC,6BAA6B,EAAEC,gCAAgC,EAAEC,0BAA0B,QAAQ,oCAAoC"}
|
package/lib/GhostText.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { GhostText, ghostTextClassNames, renderGhostText_unstable, useGhostTextStyles_unstable, useGhostText_unstable } from './components/GhostText/index';
|
|
2
|
+
export { $createGhostTextNode, $isGhostTextNode, GhostTextNode, GhostTextPlugin } from './plugins/GhostText/index';
|
|
3
|
+
export { ManualGhostTextPlugin } from './plugins/ManualGhostText/index';
|
|
4
4
|
//# sourceMappingURL=GhostText.js.map
|
package/lib/GhostText.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["GhostText.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["GhostText.ts"],"sourcesContent":["export type { GhostTextProps, GhostTextSlots, GhostTextState } from './components/GhostText/index';\nexport { GhostText, ghostTextClassNames, renderGhostText_unstable, useGhostTextStyles_unstable, useGhostText_unstable } from './components/GhostText/index';\nexport type { GhostTextPluginProps, SerializedGhostTextNode } from './plugins/GhostText/index';\nexport { $createGhostTextNode, $isGhostTextNode, GhostTextNode, GhostTextPlugin } from './plugins/GhostText/index';\nexport type { ManualGhostTextProps, ManualGhostTextRef } from './plugins/ManualGhostText/index';\nexport { ManualGhostTextPlugin } from './plugins/ManualGhostText/index';\n"],"names":["GhostText","ghostTextClassNames","renderGhostText_unstable","useGhostTextStyles_unstable","useGhostText_unstable","$createGhostTextNode","$isGhostTextNode","GhostTextNode","GhostTextPlugin","ManualGhostTextPlugin"],"rangeMappings":";;","mappings":"AACA,SAASA,SAAS,EAAEC,mBAAmB,EAAEC,wBAAwB,EAAEC,2BAA2B,EAAEC,qBAAqB,QAAQ,+BAA+B;AAE5J,SAASC,oBAAoB,EAAEC,gBAAgB,EAAEC,aAAa,EAAEC,eAAe,QAAQ,4BAA4B;AAEnH,SAASC,qBAAqB,QAAQ,kCAAkC"}
|
package/lib/ImperativeControl.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ImperativeControlPlugin } from './plugins/ImperativeControl/index';
|
|
2
2
|
//# sourceMappingURL=ImperativeControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ImperativeControl.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["ImperativeControl.ts"],"sourcesContent":["export type { ImperativeControlPluginProps, ImperativeControlPluginRef } from './plugins/ImperativeControl/index';\nexport { ImperativeControlPlugin } from './plugins/ImperativeControl/index';\n"],"names":["ImperativeControlPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,uBAAuB,QAAQ,oCAAoC"}
|
package/lib/PasteUnfurling.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { PasteUnfurlingPlugin } from './plugins/PasteUnfurling/index';
|
|
2
2
|
//# sourceMappingURL=PasteUnfurling.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["PasteUnfurling.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["PasteUnfurling.ts"],"sourcesContent":["export type { PasteUnfurlingPluginProps } from './plugins/PasteUnfurling/index';\nexport { PasteUnfurlingPlugin } from './plugins/PasteUnfurling/index';\n"],"names":["PasteUnfurlingPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,oBAAoB,QAAQ,iCAAiC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export * from './useChatInputEntityStyles.styles';
|
|
1
|
+
export { ChatInputEntity } from './ChatInputEntity';
|
|
2
|
+
export { renderChatInputEntity_unstable } from './renderChatInputEntity';
|
|
3
|
+
export { useChatInputEntity_unstable } from './useChatInputEntity';
|
|
4
|
+
export { chatInputEntityClassNames, useChatInputEntityStyles_unstable } from './useChatInputEntityStyles.styles';
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { ChatInputEntity } from './ChatInputEntity';\nexport type { ChatInputEntityProps, ChatInputEntitySlots, ChatInputEntityState } from './ChatInputEntity.types';\nexport { renderChatInputEntity_unstable } from './renderChatInputEntity';\nexport { useChatInputEntity_unstable } from './useChatInputEntity';\nexport { chatInputEntityClassNames, useChatInputEntityStyles_unstable } from './useChatInputEntityStyles.styles';\n"],"names":["ChatInputEntity","renderChatInputEntity_unstable","useChatInputEntity_unstable","chatInputEntityClassNames","useChatInputEntityStyles_unstable"],"rangeMappings":";;;","mappings":"AAAA,SAASA,eAAe,QAAQ,oBAAoB;AAEpD,SAASC,8BAA8B,QAAQ,0BAA0B;AACzE,SAASC,2BAA2B,QAAQ,uBAAuB;AACnE,SAASC,yBAAyB,EAAEC,iCAAiC,QAAQ,oCAAoC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export * from './ChatInputToken.node';
|
|
1
|
+
export { ChatInputToken } from './ChatInputToken';
|
|
2
|
+
export { renderChatInputToken_unstable } from './renderChatInputToken';
|
|
3
|
+
export { useChatInputToken_unstable } from './useChatInputToken';
|
|
4
|
+
export { chatInputTokenClassNames, useChatInputTokenStyles_unstable } from './useChatInputTokenStyles.styles';
|
|
5
|
+
export { $createChatInputTokenNode, $isChatInputTokenNode, ChatInputTokenNode } from './ChatInputToken.node';
|
|
7
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { ChatInputToken } from './ChatInputToken';\nexport type { ChatInputTokenProps, ChatInputTokenSlots, ChatInputTokenState } from './ChatInputToken.types';\nexport { renderChatInputToken_unstable } from './renderChatInputToken';\nexport { useChatInputToken_unstable } from './useChatInputToken';\nexport { chatInputTokenClassNames, useChatInputTokenStyles_unstable } from './useChatInputTokenStyles.styles';\nexport type { SerializedChatInputTokenNode } from './ChatInputToken.node';\nexport { $createChatInputTokenNode, $isChatInputTokenNode, ChatInputTokenNode } from './ChatInputToken.node';\n"],"names":["ChatInputToken","renderChatInputToken_unstable","useChatInputToken_unstable","chatInputTokenClassNames","useChatInputTokenStyles_unstable","$createChatInputTokenNode","$isChatInputTokenNode","ChatInputTokenNode"],"rangeMappings":";;;;","mappings":"AAAA,SAASA,cAAc,QAAQ,mBAAmB;AAElD,SAASC,6BAA6B,QAAQ,yBAAyB;AACvE,SAASC,0BAA0B,QAAQ,sBAAsB;AACjE,SAASC,wBAAwB,EAAEC,gCAAgC,QAAQ,mCAAmC;AAE9G,SAASC,yBAAyB,EAAEC,qBAAqB,EAAEC,kBAAkB,QAAQ,wBAAwB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export * from './useGhostTextStyles.styles';
|
|
1
|
+
export { GhostText } from './GhostText';
|
|
2
|
+
export { renderGhostText_unstable } from './renderGhostText';
|
|
3
|
+
export { useGhostText_unstable } from './useGhostText';
|
|
4
|
+
export { ghostTextClassNames, useGhostTextStyles_unstable } from './useGhostTextStyles.styles';
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { GhostText } from './GhostText';\nexport type { GhostTextProps, GhostTextSlots, GhostTextState } from './GhostText.types';\nexport { renderGhostText_unstable } from './renderGhostText';\nexport { useGhostText_unstable } from './useGhostText';\nexport { ghostTextClassNames, useGhostTextStyles_unstable } from './useGhostTextStyles.styles';\n"],"names":["GhostText","renderGhostText_unstable","useGhostText_unstable","ghostTextClassNames","useGhostTextStyles_unstable"],"rangeMappings":";;;","mappings":"AAAA,SAASA,SAAS,QAAQ,cAAc;AAExC,SAASC,wBAAwB,QAAQ,oBAAoB;AAC7D,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,mBAAmB,EAAEC,2BAA2B,QAAQ,8BAA8B"}
|
|
@@ -11,55 +11,44 @@ export const BasicFunctionalityPlugin = React.forwardRef((props, ref) => {
|
|
|
11
11
|
onPaste
|
|
12
12
|
} = props;
|
|
13
13
|
const [editor] = useLexicalComposerContext();
|
|
14
|
-
const basicFunctionalityImpl = React.
|
|
14
|
+
const [basicFunctionalityImpl, setBasicFunctionalityImpl] = React.useState(null);
|
|
15
15
|
useIsomorphicLayoutEffect(() => {
|
|
16
|
-
|
|
16
|
+
setBasicFunctionalityImpl(new BasicFunctionalityBase(editor));
|
|
17
17
|
return () => {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
setBasicFunctionalityImpl(prev => {
|
|
19
|
+
prev === null || prev === void 0 ? void 0 : prev.cleanup();
|
|
20
|
+
return null;
|
|
21
|
+
});
|
|
20
22
|
};
|
|
21
23
|
}, [editor]);
|
|
22
24
|
React.useImperativeHandle(ref, () => ({
|
|
23
25
|
setIsDisabled(isDisabled) {
|
|
24
|
-
|
|
25
|
-
(_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.setIsDisabled(isDisabled);
|
|
26
|
+
basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.setIsDisabled(isDisabled);
|
|
26
27
|
}
|
|
27
|
-
}));
|
|
28
|
-
//
|
|
28
|
+
}), [basicFunctionalityImpl]);
|
|
29
|
+
// useIsomorphicLayoutEffect is used to avoid flickering on first render
|
|
29
30
|
useIsomorphicLayoutEffect(() => {
|
|
30
31
|
if (defaultValue) {
|
|
31
|
-
|
|
32
|
-
(_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.insertDefaultValue(defaultValue);
|
|
32
|
+
basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.insertDefaultValue(defaultValue);
|
|
33
33
|
}
|
|
34
|
+
// We only want to insert the defaultValue if the `editor` object is recreated, not the `basicFunctionalityImpl`
|
|
34
35
|
}, [editor]);
|
|
35
36
|
React.useEffect(() => {
|
|
36
|
-
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
var _basicFunctionalityImpl_current;
|
|
40
|
-
return (_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.deactivateContentCallbacks();
|
|
41
|
-
};
|
|
42
|
-
}, [editor, onContentChange, onCountChanged]);
|
|
37
|
+
basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.activateContentCallbacks(onContentChange, onCountChanged);
|
|
38
|
+
return () => basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.deactivateContentCallbacks();
|
|
39
|
+
}, [basicFunctionalityImpl, editor, onContentChange, onCountChanged]);
|
|
43
40
|
React.useEffect(() => {
|
|
44
41
|
if (onPaste) {
|
|
45
|
-
|
|
46
|
-
(_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.activatePasteCallback(onPaste);
|
|
42
|
+
basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.activatePasteCallback(onPaste);
|
|
47
43
|
}
|
|
48
|
-
return () =>
|
|
49
|
-
|
|
50
|
-
return (_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.deactivatePasteCallback();
|
|
51
|
-
};
|
|
52
|
-
}, [editor, onPaste]);
|
|
44
|
+
return () => basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.deactivatePasteCallback();
|
|
45
|
+
}, [basicFunctionalityImpl, editor, onPaste]);
|
|
53
46
|
React.useEffect(() => {
|
|
54
47
|
if (trimWhitespace) {
|
|
55
|
-
|
|
56
|
-
(_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.activateTrimWhitespace();
|
|
48
|
+
basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.activateTrimWhitespace();
|
|
57
49
|
}
|
|
58
|
-
return () =>
|
|
59
|
-
|
|
60
|
-
return (_basicFunctionalityImpl_current = basicFunctionalityImpl.current) === null || _basicFunctionalityImpl_current === void 0 ? void 0 : _basicFunctionalityImpl_current.deactivateTrimWhitespace();
|
|
61
|
-
};
|
|
62
|
-
}, [editor, trimWhitespace]);
|
|
50
|
+
return () => basicFunctionalityImpl === null || basicFunctionalityImpl === void 0 ? void 0 : basicFunctionalityImpl.deactivateTrimWhitespace();
|
|
51
|
+
}, [basicFunctionalityImpl, editor, trimWhitespace]);
|
|
63
52
|
return null;
|
|
64
53
|
});
|
|
65
54
|
//# sourceMappingURL=BasicFunctionality.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["BasicFunctionality.ts"],"sourcesContent":["import * as React from 'react';\nimport { useLexicalComposerContext } from '@fluentui-copilot/react-text-editor';\nimport { useIsomorphicLayoutEffect } from '@fluentui/react-components';\nimport type { IBasicFunctionalityBase } from '@fluentui-copilot/chat-input-plugins';\nimport { BasicFunctionalityBase } from '@fluentui-copilot/chat-input-plugins';\n\nexport type BasicFunctionalityPluginProps = {\n defaultValue?: string;\n // Whether or not to clear the input when only whitespace is remaining\n trimWhitespace?: boolean;\n onCountChanged?: (count: number) => void;\n onContentChange?: (value: string) => void;\n onPaste?: (event: ClipboardEvent) => void;\n};\n\nexport type BasicFunctionalityPluginRef = {\n setIsDisabled: (isDisabled: boolean) => void;\n};\n\nexport const BasicFunctionalityPlugin = React.forwardRef<BasicFunctionalityPluginRef, BasicFunctionalityPluginProps>(\n (props, ref) => {\n const { defaultValue, trimWhitespace, onCountChanged, onContentChange, onPaste } = props;\n\n const [editor] = useLexicalComposerContext();\n\n const basicFunctionalityImpl = React.
|
|
1
|
+
{"version":3,"sources":["BasicFunctionality.ts"],"sourcesContent":["import * as React from 'react';\nimport { useLexicalComposerContext } from '@fluentui-copilot/react-text-editor';\nimport { useIsomorphicLayoutEffect } from '@fluentui/react-components';\nimport type { IBasicFunctionalityBase } from '@fluentui-copilot/chat-input-plugins';\nimport { BasicFunctionalityBase } from '@fluentui-copilot/chat-input-plugins';\n\nexport type BasicFunctionalityPluginProps = {\n defaultValue?: string;\n // Whether or not to clear the input when only whitespace is remaining\n trimWhitespace?: boolean;\n onCountChanged?: (count: number) => void;\n onContentChange?: (value: string) => void;\n onPaste?: (event: ClipboardEvent) => void;\n};\n\nexport type BasicFunctionalityPluginRef = {\n setIsDisabled: (isDisabled: boolean) => void;\n};\n\nexport const BasicFunctionalityPlugin = React.forwardRef<BasicFunctionalityPluginRef, BasicFunctionalityPluginProps>(\n (props, ref) => {\n const { defaultValue, trimWhitespace, onCountChanged, onContentChange, onPaste } = props;\n\n const [editor] = useLexicalComposerContext();\n\n const [basicFunctionalityImpl, setBasicFunctionalityImpl] = React.useState<IBasicFunctionalityBase | null>(null);\n\n useIsomorphicLayoutEffect(() => {\n setBasicFunctionalityImpl(new BasicFunctionalityBase(editor));\n\n return () => {\n setBasicFunctionalityImpl(prev => {\n prev?.cleanup();\n return null;\n });\n };\n }, [editor]);\n\n React.useImperativeHandle<BasicFunctionalityPluginRef, BasicFunctionalityPluginRef>(\n ref,\n () => ({\n setIsDisabled(isDisabled: boolean) {\n basicFunctionalityImpl?.setIsDisabled(isDisabled);\n },\n }),\n [basicFunctionalityImpl],\n );\n\n // useIsomorphicLayoutEffect is used to avoid flickering on first render\n useIsomorphicLayoutEffect(() => {\n if (defaultValue) {\n basicFunctionalityImpl?.insertDefaultValue(defaultValue);\n }\n // We only want to insert the defaultValue if the `editor` object is recreated, not the `basicFunctionalityImpl`\n }, [editor]);\n\n React.useEffect(() => {\n basicFunctionalityImpl?.activateContentCallbacks(onContentChange, onCountChanged);\n return () => basicFunctionalityImpl?.deactivateContentCallbacks();\n }, [basicFunctionalityImpl, editor, onContentChange, onCountChanged]);\n\n React.useEffect(() => {\n if (onPaste) {\n basicFunctionalityImpl?.activatePasteCallback(onPaste);\n }\n return () => basicFunctionalityImpl?.deactivatePasteCallback();\n }, [basicFunctionalityImpl, editor, onPaste]);\n\n React.useEffect(() => {\n if (trimWhitespace) {\n basicFunctionalityImpl?.activateTrimWhitespace();\n }\n return () => basicFunctionalityImpl?.deactivateTrimWhitespace();\n }, [basicFunctionalityImpl, editor, trimWhitespace]);\n\n return null;\n },\n);\n"],"names":["React","useLexicalComposerContext","useIsomorphicLayoutEffect","BasicFunctionalityBase","BasicFunctionalityPlugin","forwardRef","props","ref","defaultValue","trimWhitespace","onCountChanged","onContentChange","onPaste","editor","basicFunctionalityImpl","setBasicFunctionalityImpl","useState","prev","cleanup","useImperativeHandle","setIsDisabled","isDisabled","insertDefaultValue","useEffect","activateContentCallbacks","deactivateContentCallbacks","activatePasteCallback","deactivatePasteCallback","activateTrimWhitespace","deactivateTrimWhitespace"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,sCAAsC;AAChF,SAASC,yBAAyB,QAAQ,6BAA6B;AAEvE,SAASC,sBAAsB,QAAQ,uCAAuC;AAe9E,OAAO,MAAMC,2BAA2BJ,MAAMK,UAAU,CACtD,CAACC,OAAOC;IACN,MAAM,EAAEC,YAAY,EAAEC,cAAc,EAAEC,cAAc,EAAEC,eAAe,EAAEC,OAAO,EAAE,GAAGN;IAEnF,MAAM,CAACO,OAAO,GAAGZ;IAEjB,MAAM,CAACa,wBAAwBC,0BAA0B,GAAGf,MAAMgB,QAAQ,CAAiC;IAE3Gd,0BAA0B;QACxBa,0BAA0B,IAAIZ,uBAAuBU;QAErD,OAAO;YACLE,0BAA0BE,CAAAA;gBACxBA,iBAAAA,2BAAAA,KAAMC,OAAO;gBACb,OAAO;YACT;QACF;IACF,GAAG;QAACL;KAAO;IAEXb,MAAMmB,mBAAmB,CACvBZ,KACA,IAAO,CAAA;YACLa,eAAcC,UAAmB;gBAC/BP,mCAAAA,6CAAAA,uBAAwBM,aAAa,CAACC;YACxC;QACF,CAAA,GACA;QAACP;KAAuB;IAG1B,wEAAwE;IACxEZ,0BAA0B;QACxB,IAAIM,cAAc;YAChBM,mCAAAA,6CAAAA,uBAAwBQ,kBAAkB,CAACd;QAC7C;IACA,gHAAgH;IAClH,GAAG;QAACK;KAAO;IAEXb,MAAMuB,SAAS,CAAC;QACdT,mCAAAA,6CAAAA,uBAAwBU,wBAAwB,CAACb,iBAAiBD;QAClE,OAAO,IAAMI,mCAAAA,6CAAAA,uBAAwBW,0BAA0B;IACjE,GAAG;QAACX;QAAwBD;QAAQF;QAAiBD;KAAe;IAEpEV,MAAMuB,SAAS,CAAC;QACd,IAAIX,SAAS;YACXE,mCAAAA,6CAAAA,uBAAwBY,qBAAqB,CAACd;QAChD;QACA,OAAO,IAAME,mCAAAA,6CAAAA,uBAAwBa,uBAAuB;IAC9D,GAAG;QAACb;QAAwBD;QAAQD;KAAQ;IAE5CZ,MAAMuB,SAAS,CAAC;QACd,IAAId,gBAAgB;YAClBK,mCAAAA,6CAAAA,uBAAwBc,sBAAsB;QAChD;QACA,OAAO,IAAMd,mCAAAA,6CAAAA,uBAAwBe,wBAAwB;IAC/D,GAAG;QAACf;QAAwBD;QAAQJ;KAAe;IAEnD,OAAO;AACT,GACA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { BasicFunctionalityPlugin } from './BasicFunctionality';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export type { BasicFunctionalityPluginProps, BasicFunctionalityPluginRef } from './BasicFunctionality';\nexport { BasicFunctionalityPlugin } from './BasicFunctionality';\n"],"names":["BasicFunctionalityPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,wBAAwB,QAAQ,uBAAuB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export * from './ChatInputEntityPlugin.types';
|
|
1
|
+
export { $createChatInputEntityNode, $isChatInputEntityNode, ChatInputEntityNode } from './ChatInputEntity.node';
|
|
2
|
+
export { ChatInputEntityPlugin } from './ChatInputEntityPlugin';
|
|
4
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export type { SerializedChatInputEntityNode } from './ChatInputEntity.node';\nexport { $createChatInputEntityNode, $isChatInputEntityNode, ChatInputEntityNode } from './ChatInputEntity.node';\nexport { ChatInputEntityPlugin } from './ChatInputEntityPlugin';\nexport type { ChatInputEntityPluginRef } from './ChatInputEntityPlugin.types';\n"],"names":["$createChatInputEntityNode","$isChatInputEntityNode","ChatInputEntityNode","ChatInputEntityPlugin"],"rangeMappings":";","mappings":"AACA,SAASA,0BAA0B,EAAEC,sBAAsB,EAAEC,mBAAmB,QAAQ,yBAAyB;AACjH,SAASC,qBAAqB,QAAQ,0BAA0B"}
|
|
@@ -14,33 +14,31 @@ export function GhostTextPlugin(props) {
|
|
|
14
14
|
allowCompletion
|
|
15
15
|
} = props;
|
|
16
16
|
const [editor] = useLexicalComposerContext();
|
|
17
|
-
const ghostTextBase = React.
|
|
17
|
+
const [ghostTextBase, setGhostTextBase] = React.useState(null);
|
|
18
18
|
React.useEffect(() => {
|
|
19
|
-
|
|
19
|
+
setGhostTextBase(new GhostTextPluginBase(editor, id, $getGhostText, GhostTextNode, $createGhostTextNode, ghostTextProps, exposeText, allowCompletion));
|
|
20
20
|
return () => {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
setGhostTextBase(prev => {
|
|
22
|
+
prev === null || prev === void 0 ? void 0 : prev.cleanup();
|
|
23
|
+
return null;
|
|
24
|
+
});
|
|
23
25
|
};
|
|
24
26
|
},
|
|
25
27
|
// We can update $getGhostText, $createGhostTextNode, ghostTextProps, exposeText, and allowCompletion without remounting
|
|
26
28
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
27
29
|
[editor, id]);
|
|
28
30
|
React.useEffect(() => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}, [allowCompletion]);
|
|
31
|
+
ghostTextBase === null || ghostTextBase === void 0 ? void 0 : ghostTextBase.setAllowCompletion(allowCompletion);
|
|
32
|
+
}, [allowCompletion, ghostTextBase]);
|
|
32
33
|
React.useEffect(() => {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}, [ghostTextProps]);
|
|
34
|
+
ghostTextBase === null || ghostTextBase === void 0 ? void 0 : ghostTextBase.setComponentProps(ghostTextProps);
|
|
35
|
+
}, [ghostTextBase, ghostTextProps]);
|
|
36
36
|
React.useEffect(() => {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}, [exposeText]);
|
|
37
|
+
ghostTextBase === null || ghostTextBase === void 0 ? void 0 : ghostTextBase.setExposeText(exposeText);
|
|
38
|
+
}, [exposeText, ghostTextBase]);
|
|
40
39
|
React.useEffect(() => {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}, [$getGhostText]);
|
|
40
|
+
ghostTextBase === null || ghostTextBase === void 0 ? void 0 : ghostTextBase.setGetGhostText($getGhostText);
|
|
41
|
+
}, [$getGhostText, ghostTextBase]);
|
|
44
42
|
return null;
|
|
45
43
|
}
|
|
46
44
|
//# sourceMappingURL=GhostText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["GhostText.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLexicalComposerContext } from '@fluentui-copilot/react-text-editor';\nimport type { LexicalEditor, EditorState } from '@fluentui-copilot/text-editor';\nimport type { GhostTextProps } from '../../GhostText';\nimport { $createGhostTextNode } from '../../GhostText';\nimport { GhostTextNode } from './GhostText.node';\nimport { GhostTextPluginBase } from '@fluentui-copilot/chat-input-plugins';\n\nexport type GhostTextPluginProps = {\n id: string;\n $getGhostText: (\n editor: LexicalEditor,\n editorState: EditorState,\n prevEditorState: EditorState,\n ) => Promise<string | undefined>;\n ghostTextProps?: GhostTextProps;\n // Whether or not the ghost text should count as text inside the input for submitting and character count\n exposeText?: boolean;\n allowCompletion?: boolean;\n};\n\nexport function GhostTextPlugin(props: GhostTextPluginProps): JSX.Element | null {\n 'use no memo';\n\n const { $getGhostText, id, ghostTextProps, exposeText, allowCompletion } = props;\n const [editor] = useLexicalComposerContext();\n\n const ghostTextBase = React.
|
|
1
|
+
{"version":3,"sources":["GhostText.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useLexicalComposerContext } from '@fluentui-copilot/react-text-editor';\nimport type { LexicalEditor, EditorState } from '@fluentui-copilot/text-editor';\nimport type { GhostTextProps } from '../../GhostText';\nimport { $createGhostTextNode } from '../../GhostText';\nimport { GhostTextNode } from './GhostText.node';\nimport { GhostTextPluginBase } from '@fluentui-copilot/chat-input-plugins';\n\nexport type GhostTextPluginProps = {\n id: string;\n $getGhostText: (\n editor: LexicalEditor,\n editorState: EditorState,\n prevEditorState: EditorState,\n ) => Promise<string | undefined>;\n ghostTextProps?: GhostTextProps;\n // Whether or not the ghost text should count as text inside the input for submitting and character count\n exposeText?: boolean;\n allowCompletion?: boolean;\n};\n\nexport function GhostTextPlugin(props: GhostTextPluginProps): JSX.Element | null {\n 'use no memo';\n\n const { $getGhostText, id, ghostTextProps, exposeText, allowCompletion } = props;\n const [editor] = useLexicalComposerContext();\n\n const [ghostTextBase, setGhostTextBase] = React.useState<GhostTextPluginBase<GhostTextProps> | null>(null);\n\n React.useEffect(\n () => {\n setGhostTextBase(\n new GhostTextPluginBase(\n editor,\n id,\n $getGhostText,\n GhostTextNode,\n $createGhostTextNode,\n ghostTextProps,\n exposeText,\n allowCompletion,\n ),\n );\n\n return () => {\n setGhostTextBase(prev => {\n prev?.cleanup();\n return null;\n });\n };\n },\n // We can update $getGhostText, $createGhostTextNode, ghostTextProps, exposeText, and allowCompletion without remounting\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [editor, id],\n );\n\n React.useEffect(() => {\n ghostTextBase?.setAllowCompletion(allowCompletion);\n }, [allowCompletion, ghostTextBase]);\n\n React.useEffect(() => {\n ghostTextBase?.setComponentProps(ghostTextProps);\n }, [ghostTextBase, ghostTextProps]);\n\n React.useEffect(() => {\n ghostTextBase?.setExposeText(exposeText);\n }, [exposeText, ghostTextBase]);\n\n React.useEffect(() => {\n ghostTextBase?.setGetGhostText($getGhostText);\n }, [$getGhostText, ghostTextBase]);\n\n return null;\n}\n"],"names":["React","useLexicalComposerContext","$createGhostTextNode","GhostTextNode","GhostTextPluginBase","GhostTextPlugin","props","$getGhostText","id","ghostTextProps","exposeText","allowCompletion","editor","ghostTextBase","setGhostTextBase","useState","useEffect","prev","cleanup","setAllowCompletion","setComponentProps","setExposeText","setGetGhostText"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,yBAAyB,QAAQ,sCAAsC;AAGhF,SAASC,oBAAoB,QAAQ,kBAAkB;AACvD,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,mBAAmB,QAAQ,uCAAuC;AAe3E,OAAO,SAASC,gBAAgBC,KAA2B;IACzD;IAEA,MAAM,EAAEC,aAAa,EAAEC,EAAE,EAAEC,cAAc,EAAEC,UAAU,EAAEC,eAAe,EAAE,GAAGL;IAC3E,MAAM,CAACM,OAAO,GAAGX;IAEjB,MAAM,CAACY,eAAeC,iBAAiB,GAAGd,MAAMe,QAAQ,CAA6C;IAErGf,MAAMgB,SAAS,CACb;QACEF,iBACE,IAAIV,oBACFQ,QACAJ,IACAD,eACAJ,eACAD,sBACAO,gBACAC,YACAC;QAIJ,OAAO;YACLG,iBAAiBG,CAAAA;gBACfA,iBAAAA,2BAAAA,KAAMC,OAAO;gBACb,OAAO;YACT;QACF;IACF,GACA,wHAAwH;IACxH,uDAAuD;IACvD;QAACN;QAAQJ;KAAG;IAGdR,MAAMgB,SAAS,CAAC;QACdH,0BAAAA,oCAAAA,cAAeM,kBAAkB,CAACR;IACpC,GAAG;QAACA;QAAiBE;KAAc;IAEnCb,MAAMgB,SAAS,CAAC;QACdH,0BAAAA,oCAAAA,cAAeO,iBAAiB,CAACX;IACnC,GAAG;QAACI;QAAeJ;KAAe;IAElCT,MAAMgB,SAAS,CAAC;QACdH,0BAAAA,oCAAAA,cAAeQ,aAAa,CAACX;IAC/B,GAAG;QAACA;QAAYG;KAAc;IAE9Bb,MAAMgB,SAAS,CAAC;QACdH,0BAAAA,oCAAAA,cAAeS,eAAe,CAACf;IACjC,GAAG;QAACA;QAAeM;KAAc;IAEjC,OAAO;AACT"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { GhostTextPlugin } from './GhostText';
|
|
2
|
+
export { $createGhostTextNode, $isGhostTextNode, GhostTextNode } from './GhostText.node';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export type { GhostTextPluginProps } from './GhostText';\nexport { GhostTextPlugin } from './GhostText';\nexport type { SerializedGhostTextNode } from './GhostText.node';\nexport { $createGhostTextNode, $isGhostTextNode, GhostTextNode } from './GhostText.node';\n"],"names":["GhostTextPlugin","$createGhostTextNode","$isGhostTextNode","GhostTextNode"],"rangeMappings":";","mappings":"AACA,SAASA,eAAe,QAAQ,cAAc;AAE9C,SAASC,oBAAoB,EAAEC,gBAAgB,EAAEC,aAAa,QAAQ,mBAAmB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ImperativeControlPlugin } from './ImperativeControl';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export type { ImperativeControlPluginProps, ImperativeControlPluginRef } from './ImperativeControl';\nexport { ImperativeControlPlugin } from './ImperativeControl';\n"],"names":["ImperativeControlPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,uBAAuB,QAAQ,sBAAsB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ManualGhostTextPlugin } from './ManualGhostText';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export type { ManualGhostTextProps, ManualGhostTextRef } from './ManualGhostText';\nexport { ManualGhostTextPlugin } from './ManualGhostText';\n"],"names":["ManualGhostTextPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,qBAAqB,QAAQ,oBAAoB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { PasteUnfurlingPlugin } from './PasteUnfurling';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export type { PasteUnfurlingPluginProps } from './PasteUnfurling';\nexport { PasteUnfurlingPlugin } from './PasteUnfurling';\n"],"names":["PasteUnfurlingPlugin"],"rangeMappings":"","mappings":"AACA,SAASA,oBAAoB,QAAQ,mBAAmB"}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Object.defineProperty(exports, "BasicFunctionalityPlugin", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _index.BasicFunctionalityPlugin;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _index = require("./plugins/BasicFunctionality/index");
|
|
7
12
|
//# sourceMappingURL=BasicFunctionality.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["BasicFunctionality.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["BasicFunctionality.ts"],"sourcesContent":["export type { BasicFunctionalityPluginProps, BasicFunctionalityPluginRef } from './plugins/BasicFunctionality/index';\nexport { BasicFunctionalityPlugin } from './plugins/BasicFunctionality/index';\n"],"names":["BasicFunctionalityPlugin"],"rangeMappings":";;;;;;;;;;","mappings":";;;;+BACSA;;;eAAAA,+BAAwB;;;uBAAQ"}
|
|
@@ -2,7 +2,41 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
$createChatInputEntityNode: function() {
|
|
13
|
+
return _index1.$createChatInputEntityNode;
|
|
14
|
+
},
|
|
15
|
+
$isChatInputEntityNode: function() {
|
|
16
|
+
return _index1.$isChatInputEntityNode;
|
|
17
|
+
},
|
|
18
|
+
ChatInputEntity: function() {
|
|
19
|
+
return _index.ChatInputEntity;
|
|
20
|
+
},
|
|
21
|
+
ChatInputEntityNode: function() {
|
|
22
|
+
return _index1.ChatInputEntityNode;
|
|
23
|
+
},
|
|
24
|
+
ChatInputEntityPlugin: function() {
|
|
25
|
+
return _index1.ChatInputEntityPlugin;
|
|
26
|
+
},
|
|
27
|
+
chatInputEntityClassNames: function() {
|
|
28
|
+
return _index.chatInputEntityClassNames;
|
|
29
|
+
},
|
|
30
|
+
renderChatInputEntity_unstable: function() {
|
|
31
|
+
return _index.renderChatInputEntity_unstable;
|
|
32
|
+
},
|
|
33
|
+
useChatInputEntityStyles_unstable: function() {
|
|
34
|
+
return _index.useChatInputEntityStyles_unstable;
|
|
35
|
+
},
|
|
36
|
+
useChatInputEntity_unstable: function() {
|
|
37
|
+
return _index.useChatInputEntity_unstable;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const _index = require("./components/ChatInputEntity/index");
|
|
41
|
+
const _index1 = require("./plugins/ChatInputEntity/index");
|
|
8
42
|
//# sourceMappingURL=ChatInputEntity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ChatInputEntity.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["ChatInputEntity.ts"],"sourcesContent":["export type { ChatInputEntityProps, ChatInputEntitySlots, ChatInputEntityState } from './components/ChatInputEntity/index';\nexport { ChatInputEntity, chatInputEntityClassNames, renderChatInputEntity_unstable, useChatInputEntityStyles_unstable, useChatInputEntity_unstable } from './components/ChatInputEntity/index';\nexport type { ChatInputEntityPluginRef, SerializedChatInputEntityNode } from './plugins/ChatInputEntity/index';\nexport { $createChatInputEntityNode, $isChatInputEntityNode, ChatInputEntityNode, ChatInputEntityPlugin } from './plugins/ChatInputEntity/index';\n"],"names":["$createChatInputEntityNode","$isChatInputEntityNode","ChatInputEntity","ChatInputEntityNode","ChatInputEntityPlugin","chatInputEntityClassNames","renderChatInputEntity_unstable","useChatInputEntityStyles_unstable","useChatInputEntity_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAGSA,0BAA0B;eAA1BA,kCAA0B;;IAAEC,sBAAsB;eAAtBA,8BAAsB;;IAFlDC,eAAe;eAAfA,sBAAe;;IAEqCC,mBAAmB;eAAnBA,2BAAmB;;IAAEC,qBAAqB;eAArBA,6BAAqB;;IAF7EC,yBAAyB;eAAzBA,gCAAyB;;IAAEC,8BAA8B;eAA9BA,qCAA8B;;IAAEC,iCAAiC;eAAjCA,wCAAiC;;IAAEC,2BAA2B;eAA3BA,kCAA2B;;;uBAAQ;wBAE5C"}
|
|
@@ -2,6 +2,37 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
$createChatInputTokenNode: function() {
|
|
13
|
+
return _index.$createChatInputTokenNode;
|
|
14
|
+
},
|
|
15
|
+
$isChatInputTokenNode: function() {
|
|
16
|
+
return _index.$isChatInputTokenNode;
|
|
17
|
+
},
|
|
18
|
+
ChatInputToken: function() {
|
|
19
|
+
return _index.ChatInputToken;
|
|
20
|
+
},
|
|
21
|
+
ChatInputTokenNode: function() {
|
|
22
|
+
return _index.ChatInputTokenNode;
|
|
23
|
+
},
|
|
24
|
+
chatInputTokenClassNames: function() {
|
|
25
|
+
return _index.chatInputTokenClassNames;
|
|
26
|
+
},
|
|
27
|
+
renderChatInputToken_unstable: function() {
|
|
28
|
+
return _index.renderChatInputToken_unstable;
|
|
29
|
+
},
|
|
30
|
+
useChatInputTokenStyles_unstable: function() {
|
|
31
|
+
return _index.useChatInputTokenStyles_unstable;
|
|
32
|
+
},
|
|
33
|
+
useChatInputToken_unstable: function() {
|
|
34
|
+
return _index.useChatInputToken_unstable;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
const _index = require("./components/ChatInputToken/index");
|
|
7
38
|
//# sourceMappingURL=ChatInputToken.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ChatInputToken.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["ChatInputToken.ts"],"sourcesContent":["export type { ChatInputTokenProps, ChatInputTokenSlots, ChatInputTokenState, SerializedChatInputTokenNode } from './components/ChatInputToken/index';\nexport { $createChatInputTokenNode, $isChatInputTokenNode, ChatInputToken, ChatInputTokenNode, chatInputTokenClassNames, renderChatInputToken_unstable, useChatInputTokenStyles_unstable, useChatInputToken_unstable } from './components/ChatInputToken/index';\n"],"names":["$createChatInputTokenNode","$isChatInputTokenNode","ChatInputToken","ChatInputTokenNode","chatInputTokenClassNames","renderChatInputToken_unstable","useChatInputTokenStyles_unstable","useChatInputToken_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,yBAAyB;eAAzBA,gCAAyB;;IAAEC,qBAAqB;eAArBA,4BAAqB;;IAAEC,cAAc;eAAdA,qBAAc;;IAAEC,kBAAkB;eAAlBA,yBAAkB;;IAAEC,wBAAwB;eAAxBA,+BAAwB;;IAAEC,6BAA6B;eAA7BA,oCAA6B;;IAAEC,gCAAgC;eAAhCA,uCAAgC;;IAAEC,0BAA0B;eAA1BA,iCAA0B;;;uBAAQ"}
|