@ant-design/agentic-ui 2.29.5 → 2.29.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AILabel/index.js +17 -8
- package/dist/AgenticLayout/index.js +3 -5
- package/dist/BackTo/BackBottom.js +17 -8
- package/dist/BackTo/BackTop.js +17 -8
- package/dist/BackTo/ScrollVisibleButton.js +75 -11
- package/dist/Bubble/AIBubble.js +131 -121
- package/dist/Bubble/Avatar/index.js +19 -10
- package/dist/Bubble/FileView.js +2 -2
- package/dist/Bubble/List/PureBubbleList.js +4 -5
- package/dist/Bubble/List/index.js +4 -5
- package/dist/Bubble/List/style.js +3 -0
- package/dist/Bubble/MessagesContent/BubbleExtra.js +108 -93
- package/dist/Bubble/MessagesContent/CopyButton/index.js +36 -26
- package/dist/Bubble/MessagesContent/DocInfo.js +19 -10
- package/dist/Bubble/MessagesContent/MarkdownPreview.js +2 -2
- package/dist/Bubble/MessagesContent/index.js +149 -130
- package/dist/Bubble/PureBubble.js +151 -133
- package/dist/Bubble/UserBubble.js +1 -1
- package/dist/Bubble/style.js +2 -2
- package/dist/Bubble/types/BubbleExtra.js +4 -1
- package/dist/Bubble/types/DocInfo.js +9 -1
- package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_0.png +0 -0
- package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_1.png +0 -0
- package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_2.png +0 -0
- package/dist/ChatLayout/components/FooterBackgroundLottie/index.d.ts +51 -0
- package/dist/ChatLayout/components/FooterBackgroundLottie/index.js +45 -0
- package/dist/ChatLayout/components/FooterBackgroundLottie/lottie.d.ts +85 -0
- package/dist/ChatLayout/components/FooterBackgroundLottie/lottie.js +382 -0
- package/dist/ChatLayout/index.js +52 -14
- package/dist/ChatLayout/style.js +11 -0
- package/dist/ChatLayout/types.d.ts +28 -0
- package/dist/Components/ActionIconBox/index.js +30 -38
- package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
- package/dist/Components/Button/SwitchButton/index.js +18 -17
- package/dist/Components/LayoutHeader/index.js +5 -3
- package/dist/Components/LayoutHeader/style.js +5 -0
- package/dist/Components/Loading/CreativeRecommendationLoading.js +2 -2
- package/dist/Components/Loading/CreativeSparkLoading.js +2 -2
- package/dist/Components/SuggestionList/index.js +20 -19
- package/dist/Components/TextAnimate/index.js +19 -10
- package/dist/Components/TypingAnimation/index.js +19 -10
- package/dist/Components/effects/EffectPlayer.js +20 -11
- package/dist/Components/icons/LoadingSpinnerIcon.js +19 -10
- package/dist/History/components/HistoryActionsBox.js +21 -23
- package/dist/History/components/HistoryItem.js +61 -53
- package/dist/History/components/HistoryRunningIcon.js +19 -10
- package/dist/History/components/LoadMoreComponent.js +61 -55
- package/dist/History/components/NewChatComponent.js +53 -47
- package/dist/History/components/SearchComponent.js +24 -26
- package/dist/History/hooks/useHistory.js +80 -73
- package/dist/History/index.js +17 -16
- package/dist/History/menu.js +17 -8
- package/dist/Hooks/useAutoScroll.js +19 -19
- package/dist/Hooks/useDebounceFn/index.js +51 -45
- package/dist/Hooks/useElementSize.d.ts +5 -0
- package/dist/Hooks/useElementSize.js +71 -0
- package/dist/Hooks/useIntersectionOnce.js +17 -8
- package/dist/Hooks/useLanguage.d.ts +3 -0
- package/dist/I18n/locales.d.ts +3 -0
- package/dist/I18n/locales.js +8 -0
- package/dist/MarkdownEditor/BaseMarkdownEditor.js +22 -12
- package/dist/MarkdownEditor/editor/Editor.js +31 -39
- package/dist/MarkdownEditor/editor/components/CommentList/index.js +29 -37
- package/dist/MarkdownEditor/editor/elements/Image/index.js +86 -71
- package/dist/MarkdownEditor/editor/elements/List/ListItem.js +17 -16
- package/dist/MarkdownEditor/editor/elements/Media/index.js +107 -92
- package/dist/MarkdownEditor/editor/elements/Table/Table.js +19 -10
- package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +17 -16
- package/dist/MarkdownEditor/editor/parser/parse/parseBlockElements.js +1 -1
- package/dist/MarkdownEditor/editor/parser/parse/parseCode.js +1 -1
- package/dist/MarkdownEditor/editor/parser/parse/parseEmptyLines.js +1 -1
- package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +4 -1
- package/dist/MarkdownEditor/editor/parser/parserSlateNodeToMarkdown.js +2 -2
- package/dist/MarkdownEditor/editor/parser/remarkParse.js +3 -1
- package/dist/MarkdownEditor/editor/plugins/handlePaste.js +25 -30
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/arrow.js +0 -1
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/enter.js +0 -1
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/match.js +0 -1
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/tab.js +0 -1
- package/dist/MarkdownEditor/editor/plugins/insertParsedHtmlNodes.js +39 -53
- package/dist/MarkdownEditor/editor/plugins/useKeyboard.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/useOnchange.js +28 -22
- package/dist/MarkdownEditor/editor/plugins/withMarkdown.js +1 -1
- package/dist/MarkdownEditor/editor/store.js +17 -13
- package/dist/MarkdownEditor/editor/tools/InsertAutocomplete.js +202 -197
- package/dist/MarkdownEditor/editor/tools/InsertLink.js +2 -2
- package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +142 -134
- package/dist/MarkdownEditor/editor/utils/ace.js +61 -61
- package/dist/MarkdownEditor/editor/utils/editorUtils.js +11 -4
- package/dist/MarkdownEditor/editor/utils/index.js +8 -2
- package/dist/MarkdownEditor/editor/utils/keyboard.js +31 -35
- package/dist/MarkdownEditor/editor/utils/markdownToHtml.js +23 -17
- package/dist/MarkdownEditor/editor/utils/media.js +21 -23
- package/dist/MarkdownEditor/editor/utils/performanceMonitor.js +55 -50
- package/dist/MarkdownEditor/editor/utils/useLocalState.js +11 -4
- package/dist/MarkdownEditor/types.d.ts +1 -0
- package/dist/MarkdownEditor/types.js +4 -1
- package/dist/MarkdownEditor/utils/native-table/native-table-editor.js +14 -14
- package/dist/MarkdownEditor/utils/native-table/native-table-keyboard.js +2 -2
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/style.js +1 -0
- package/dist/MarkdownInputField/AttachmentButton/index.js +33 -31
- package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +14 -7
- package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +2 -2
- package/dist/MarkdownInputField/FileMapView/index.js +17 -16
- package/dist/MarkdownInputField/FilePaste/index.js +25 -30
- package/dist/MarkdownInputField/FileUploadManager/index.js +39 -40
- package/dist/MarkdownInputField/MarkdownInputField.js +38 -29
- package/dist/MarkdownInputField/QuickActions/index.js +66 -60
- package/dist/MarkdownInputField/SendButton/index.js +22 -13
- package/dist/MarkdownInputField/Suggestion/index.js +17 -16
- package/dist/MarkdownInputField/VoiceInput/index.js +51 -45
- package/dist/MarkdownInputField/VoiceInputManager/index.js +133 -125
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldHandlers.js +103 -101
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldStyles.js +1 -1
- package/dist/MarkdownInputField/style.js +1 -2
- package/dist/MarkdownInputField/types/MarkdownInputFieldProps.js +14 -1
- package/dist/Plugins/chart/BarChart/index.js +8 -8
- package/dist/Plugins/chart/ChartRender.js +52 -46
- package/dist/Plugins/chart/DonutChart/index.js +26 -17
- package/dist/Plugins/chart/DonutChart/plugins.js +1 -1
- package/dist/Plugins/chart/DonutChart/types.js +1 -1
- package/dist/Plugins/chart/FunnelChart/index.js +31 -28
- package/dist/Plugins/chart/LineChart/index.js +19 -10
- package/dist/Plugins/chart/RadarChart/index.js +19 -10
- package/dist/Plugins/chart/ScatterChart/index.js +19 -10
- package/dist/Plugins/chart/components/ChartContainer/ChartContainer.js +20 -11
- package/dist/Plugins/chart/index.js +31 -13
- package/dist/Plugins/chart/loadChartRuntime.js +17 -16
- package/dist/Plugins/chart/types/classNames.js +4 -1
- package/dist/Plugins/chart/utils.js +20 -20
- package/dist/Plugins/code/CodeUI/Katex/Katex.js +52 -46
- package/dist/Plugins/code/components/AceEditor.js +149 -133
- package/dist/Plugins/code/components/CodeRenderer.js +7 -7
- package/dist/Plugins/code/components/CodeToolbar.js +2 -2
- package/dist/Plugins/code/components/LanguageSelector.js +6 -6
- package/dist/Plugins/code/components/LoadImage.js +5 -5
- package/dist/Plugins/code/components/ThinkBlock.js +8 -8
- package/dist/Plugins/code/hooks/useCodeEditorState.js +5 -5
- package/dist/Plugins/code/index.js +6 -6
- package/dist/Plugins/code/langIconMap.js +0 -1
- package/dist/Plugins/code/langIcons/AbapIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ActionscriptIcon.js +19 -10
- package/dist/Plugins/code/langIcons/AdaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ApacheIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ApexIcon.js +19 -10
- package/dist/Plugins/code/langIcons/AplIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ApplescriptIcon.js +19 -10
- package/dist/Plugins/code/langIcons/AstroIcon.js +19 -10
- package/dist/Plugins/code/langIcons/AwkIcon.js +19 -10
- package/dist/Plugins/code/langIcons/BallerinaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/BatIcon.js +19 -10
- package/dist/Plugins/code/langIcons/BicepIcon.js +19 -10
- package/dist/Plugins/code/langIcons/BladeIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CadenceIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ClojureIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CmakeIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CobolIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CodeqlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CoffeeIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ConsoleIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CppIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CrystalIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CsharpIcon.js +19 -10
- package/dist/Plugins/code/langIcons/CssIcon.js +19 -10
- package/dist/Plugins/code/langIcons/DIcon.js +19 -10
- package/dist/Plugins/code/langIcons/DartIcon.js +19 -10
- package/dist/Plugins/code/langIcons/DatabaseIcon.js +19 -10
- package/dist/Plugins/code/langIcons/DiffIcon.js +19 -10
- package/dist/Plugins/code/langIcons/DockerIcon.js +19 -10
- package/dist/Plugins/code/langIcons/DotenvIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ElixirIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ElmIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ErbIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ErlangIcon.js +19 -10
- package/dist/Plugins/code/langIcons/FsharpIcon.js +19 -10
- package/dist/Plugins/code/langIcons/GdscriptIcon.js +19 -10
- package/dist/Plugins/code/langIcons/GlslIcon.js +19 -10
- package/dist/Plugins/code/langIcons/GnuplotIcon.js +19 -10
- package/dist/Plugins/code/langIcons/GoIcon.js +19 -10
- package/dist/Plugins/code/langIcons/GraphqlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/GroovyIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HackIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HamlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HandlebarsIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HaskellIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HclIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HclLightIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HjsonIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HlslIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HtmlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/HttpIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ImbaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/IniIcon.js +19 -10
- package/dist/Plugins/code/langIcons/JavaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/JavascriptIcon.js +19 -10
- package/dist/Plugins/code/langIcons/JinjaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/Json5Icon.js +19 -10
- package/dist/Plugins/code/langIcons/JsonIcon.js +19 -10
- package/dist/Plugins/code/langIcons/JsonnetIcon.js +19 -10
- package/dist/Plugins/code/langIcons/JuliaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/KotlinIcon.js +19 -10
- package/dist/Plugins/code/langIcons/KustoIcon.js +19 -10
- package/dist/Plugins/code/langIcons/LessIcon.js +19 -10
- package/dist/Plugins/code/langIcons/LiquidIcon.js +19 -10
- package/dist/Plugins/code/langIcons/LispIcon.js +19 -10
- package/dist/Plugins/code/langIcons/LuaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MakefileIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MarkdownIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MarkojsIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MatlabIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MdxIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MermaidIcon.js +19 -10
- package/dist/Plugins/code/langIcons/MojoIcon.js +19 -10
- package/dist/Plugins/code/langIcons/NginxIcon.js +19 -10
- package/dist/Plugins/code/langIcons/NimIcon.js +19 -10
- package/dist/Plugins/code/langIcons/NixIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ObjectiveCIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ObjectiveCppIcon.js +19 -10
- package/dist/Plugins/code/langIcons/OcamlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PascalIcon.js +19 -10
- package/dist/Plugins/code/langIcons/Perl6Icon.js +19 -10
- package/dist/Plugins/code/langIcons/PerlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PhpIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PostcssIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PowershellIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PrismaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PrologIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ProtoIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PugIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PuppetIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PurescriptIcon.js +19 -10
- package/dist/Plugins/code/langIcons/PythonIcon.js +19 -10
- package/dist/Plugins/code/langIcons/RIcon.js +19 -10
- package/dist/Plugins/code/langIcons/RazorIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ReactIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ReactTsIcon.js +19 -10
- package/dist/Plugins/code/langIcons/RubyIcon.js +19 -10
- package/dist/Plugins/code/langIcons/RustIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SasIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SassIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ScalaIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SchemeIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ShaderlabIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SolidityIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SparqlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/StataIcon.js +19 -10
- package/dist/Plugins/code/langIcons/StylusIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SvelteIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SwiftIcon.js +19 -10
- package/dist/Plugins/code/langIcons/SystemverilogIcon.js +19 -10
- package/dist/Plugins/code/langIcons/TclIcon.js +19 -10
- package/dist/Plugins/code/langIcons/TexIcon.js +19 -10
- package/dist/Plugins/code/langIcons/TomlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/TwigIcon.js +19 -10
- package/dist/Plugins/code/langIcons/TypescriptIcon.js +19 -10
- package/dist/Plugins/code/langIcons/VerilogIcon.js +19 -10
- package/dist/Plugins/code/langIcons/VhdlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/VimIcon.js +19 -10
- package/dist/Plugins/code/langIcons/VueIcon.js +19 -10
- package/dist/Plugins/code/langIcons/WebassemblyIcon.js +19 -10
- package/dist/Plugins/code/langIcons/WenyanIcon.js +19 -10
- package/dist/Plugins/code/langIcons/WgslIcon.js +19 -10
- package/dist/Plugins/code/langIcons/WolframlanguageIcon.js +19 -10
- package/dist/Plugins/code/langIcons/XmlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/XslIcon.js +19 -10
- package/dist/Plugins/code/langIcons/YamlIcon.js +19 -10
- package/dist/Plugins/code/langIcons/ZigIcon.js +19 -10
- package/dist/Plugins/code/loadAceEditor.js +21 -23
- package/dist/Plugins/code/utils/langOptions.js +6 -6
- package/dist/Plugins/formatter/index.js +6 -6
- package/dist/Plugins/katex/InlineKatex.js +52 -46
- package/dist/Plugins/katex/Katex.js +53 -47
- package/dist/Plugins/katex/index.js +6 -6
- package/dist/Plugins/katex/loadKatex.js +27 -29
- package/dist/Plugins/mermaid/Mermaid.js +34 -28
- package/dist/Plugins/mermaid/useMermaidRender.js +103 -97
- package/dist/Plugins/mermaid/utils.js +25 -17
- package/dist/Schema/SchemaEditor/AceEditorWrapper.js +162 -150
- package/dist/Schema/SchemaEditor/index.js +8 -1
- package/dist/Schema/SchemaForm/index.js +2 -2
- package/dist/Schema/SchemaRenderer/index.js +45 -46
- package/dist/ThoughtChainList/index.js +22 -13
- package/dist/ToolUseBar/BarItem/Content.js +3 -3
- package/dist/ToolUseBar/BarItem/index.js +10 -3
- package/dist/ToolUseBar/index.js +19 -10
- package/dist/ToolUseBar/style.js +4 -4
- package/dist/Types/common.js +4 -1
- package/dist/Types/message.js +4 -1
- package/dist/Utils/debugUtils.js +8 -8
- package/dist/Utils/getScroll.js +12 -5
- package/dist/Utils/loadCSS.js +23 -22
- package/dist/Utils/proxySandbox/ProxySandbox.js +42 -34
- package/dist/Utils/proxySandbox/SecurityContextManager.js +54 -54
- package/dist/Utils/proxySandbox/index.js +25 -22
- package/dist/Utils/proxySandbox/types.js +11 -11
- package/dist/Utils/scrollTo.js +8 -1
- package/dist/WelcomeMessage/index.js +1 -1
- package/dist/Workspace/File/FileComponent.js +91 -66
- package/dist/Workspace/File/PreviewComponent.js +15 -8
- package/dist/Workspace/File/index.d.ts +1 -1
- package/dist/Workspace/File/style.js +7 -0
- package/dist/Workspace/RealtimeFollow/index.js +1 -2
- package/dist/Workspace/index.js +13 -11
- package/dist/Workspace/style.js +8 -14
- package/dist/Workspace/types.d.ts +50 -0
- package/dist/Workspace/types.js +0 -1
- package/package.json +25 -25
|
@@ -116,12 +116,22 @@ function _object_spread_props(target, source) {
|
|
|
116
116
|
}
|
|
117
117
|
function _object_without_properties(source, excluded) {
|
|
118
118
|
if (source == null) return {};
|
|
119
|
-
var target =
|
|
120
|
-
|
|
119
|
+
var target = {}, sourceKeys, key, i;
|
|
120
|
+
if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
|
|
121
|
+
sourceKeys = Reflect.ownKeys(source);
|
|
122
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
123
|
+
key = sourceKeys[i];
|
|
124
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
125
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
126
|
+
target[key] = source[key];
|
|
127
|
+
}
|
|
128
|
+
return target;
|
|
129
|
+
}
|
|
130
|
+
target = _object_without_properties_loose(source, excluded);
|
|
121
131
|
if (Object.getOwnPropertySymbols) {
|
|
122
|
-
|
|
123
|
-
for(i = 0; i <
|
|
124
|
-
key =
|
|
132
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
133
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
134
|
+
key = sourceKeys[i];
|
|
125
135
|
if (excluded.indexOf(key) >= 0) continue;
|
|
126
136
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
127
137
|
target[key] = source[key];
|
|
@@ -131,12 +141,11 @@ function _object_without_properties(source, excluded) {
|
|
|
131
141
|
}
|
|
132
142
|
function _object_without_properties_loose(source, excluded) {
|
|
133
143
|
if (source == null) return {};
|
|
134
|
-
var target = {};
|
|
135
|
-
var sourceKeys = Object.keys(source);
|
|
136
|
-
var key, i;
|
|
144
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
137
145
|
for(i = 0; i < sourceKeys.length; i++){
|
|
138
146
|
key = sourceKeys[i];
|
|
139
147
|
if (excluded.indexOf(key) >= 0) continue;
|
|
148
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
140
149
|
target[key] = source[key];
|
|
141
150
|
}
|
|
142
151
|
return target;
|
|
@@ -153,7 +162,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
153
162
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
154
163
|
}
|
|
155
164
|
function _ts_generator(thisArg, body) {
|
|
156
|
-
var f, y, t,
|
|
165
|
+
var f, y, t, _ = {
|
|
157
166
|
label: 0,
|
|
158
167
|
sent: function() {
|
|
159
168
|
if (t[0] & 1) throw t[1];
|
|
@@ -161,13 +170,17 @@ function _ts_generator(thisArg, body) {
|
|
|
161
170
|
},
|
|
162
171
|
trys: [],
|
|
163
172
|
ops: []
|
|
164
|
-
};
|
|
165
|
-
return g
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
},
|
|
170
|
-
|
|
173
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
174
|
+
return d(g, "next", {
|
|
175
|
+
value: verb(0)
|
|
176
|
+
}), d(g, "throw", {
|
|
177
|
+
value: verb(1)
|
|
178
|
+
}), d(g, "return", {
|
|
179
|
+
value: verb(2)
|
|
180
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
181
|
+
value: function() {
|
|
182
|
+
return this;
|
|
183
|
+
}
|
|
171
184
|
}), g;
|
|
172
185
|
function verb(n) {
|
|
173
186
|
return function(v) {
|
|
@@ -179,7 +192,7 @@ function _ts_generator(thisArg, body) {
|
|
|
179
192
|
}
|
|
180
193
|
function step(op) {
|
|
181
194
|
if (f) throw new TypeError("Generator is already executing.");
|
|
182
|
-
while(_)try {
|
|
195
|
+
while(g && (g = 0, op[0] && (_ = 0)), _)try {
|
|
183
196
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
184
197
|
if (y = 0, t) op = [
|
|
185
198
|
op[0] & 2,
|
|
@@ -260,27 +273,26 @@ import { BubbleExtra } from "./MessagesContent/BubbleExtra";
|
|
|
260
273
|
import { useStyle } from "./style";
|
|
261
274
|
import { BubbleTitle } from "./Title";
|
|
262
275
|
export var PureBubble = /*#__PURE__*/ memo(function(props) {
|
|
276
|
+
var _props_placement, _ref, _props_readonly;
|
|
263
277
|
var _props_bubbleRenderConfig, _bubbleRenderConfig_render;
|
|
264
278
|
var onAvatarClick = props.onAvatarClick, className = props.className, style = props.style, bubbleRenderConfig = props.bubbleRenderConfig, classNames = props.classNames, styles = props.styles, originData = props.originData;
|
|
265
279
|
var _React_useState = _sliced_to_array(React.useState(false), 2), hidePadding = _React_useState[0], setHidePadding = _React_useState[1];
|
|
266
280
|
var getPrefixCls = useContext(ConfigProvider.ConfigContext).getPrefixCls;
|
|
267
281
|
var context = useContext(BubbleConfigContext);
|
|
268
|
-
var
|
|
282
|
+
var _ref1 = context || {}, compact = _ref1.compact, standalone = _ref1.standalone, locale = _ref1.locale;
|
|
269
283
|
var prefixClass = getPrefixCls('agentic');
|
|
270
284
|
var _useStyle = useStyle(prefixClass), wrapSSR = _useStyle.wrapSSR, hashId = _useStyle.hashId;
|
|
271
|
-
var _props_placement;
|
|
272
285
|
var placement = (_props_placement = props.placement) !== null && _props_placement !== void 0 ? _props_placement : 'left';
|
|
273
286
|
var isRightPlacement = placement === 'right';
|
|
274
287
|
var time = (originData === null || originData === void 0 ? void 0 : originData.createAt) || props.time;
|
|
275
288
|
var avatar = (originData === null || originData === void 0 ? void 0 : originData.meta) || props.avatar;
|
|
276
289
|
var defaultMarkdown = typeof (originData === null || originData === void 0 ? void 0 : originData.content) === 'string' ? originData.content : '';
|
|
277
|
-
var
|
|
290
|
+
var _ref2 = props.markdownRenderConfig || {}, configInitValue = _ref2.initValue, configReadonly = _ref2.readonly, markdownConfig = _object_without_properties(_ref2, [
|
|
278
291
|
"initValue",
|
|
279
292
|
"readonly"
|
|
280
293
|
]);
|
|
281
294
|
var editorInitValue = configInitValue !== null && configInitValue !== void 0 ? configInitValue : defaultMarkdown;
|
|
282
|
-
var _props_readonly
|
|
283
|
-
var editorReadonly = (_ref2 = (_props_readonly = props.readonly) !== null && _props_readonly !== void 0 ? _props_readonly : configReadonly) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
295
|
+
var editorReadonly = (_ref = (_props_readonly = props.readonly) !== null && _props_readonly !== void 0 ? _props_readonly : configReadonly) !== null && _ref !== void 0 ? _ref : false;
|
|
284
296
|
var titleDom = runRender(bubbleRenderConfig === null || bubbleRenderConfig === void 0 ? void 0 : bubbleRenderConfig.titleRender, props, /*#__PURE__*/ React.createElement(BubbleTitle, {
|
|
285
297
|
bubbleNameClassName: classNames === null || classNames === void 0 ? void 0 : classNames.bubbleNameClassName,
|
|
286
298
|
className: classNames === null || classNames === void 0 ? void 0 : classNames.bubbleListItemTitleClassName,
|
|
@@ -317,118 +329,124 @@ export var PureBubble = /*#__PURE__*/ memo(function(props) {
|
|
|
317
329
|
shouldShowCopy: props.shouldShowCopy,
|
|
318
330
|
useSpeech: props.useSpeech,
|
|
319
331
|
shouldShowVoice: props.shouldShowVoice,
|
|
320
|
-
onDisLike: props.onDisLike ?
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
332
|
+
onDisLike: props.onDisLike ? function() {
|
|
333
|
+
return _async_to_generator(function() {
|
|
334
|
+
var _props_onDisLike, _props_bubbleRef_current_setMessageItem, _props_bubbleRef_current, _props_bubbleRef, error;
|
|
335
|
+
return _ts_generator(this, function(_state) {
|
|
336
|
+
switch(_state.label){
|
|
337
|
+
case 0:
|
|
338
|
+
_state.trys.push([
|
|
339
|
+
0,
|
|
340
|
+
2,
|
|
341
|
+
,
|
|
342
|
+
3
|
|
343
|
+
]);
|
|
344
|
+
return [
|
|
345
|
+
4,
|
|
346
|
+
(_props_onDisLike = props.onDisLike) === null || _props_onDisLike === void 0 ? void 0 : _props_onDisLike.call(props, props.originData)
|
|
347
|
+
];
|
|
348
|
+
case 1:
|
|
349
|
+
_state.sent();
|
|
350
|
+
(_props_bubbleRef = props.bubbleRef) === null || _props_bubbleRef === void 0 ? void 0 : (_props_bubbleRef_current = _props_bubbleRef.current) === null || _props_bubbleRef_current === void 0 ? void 0 : (_props_bubbleRef_current_setMessageItem = _props_bubbleRef_current.setMessageItem) === null || _props_bubbleRef_current_setMessageItem === void 0 ? void 0 : _props_bubbleRef_current_setMessageItem.call(_props_bubbleRef_current, props.id, {
|
|
351
|
+
feedback: 'thumbsDown'
|
|
352
|
+
});
|
|
353
|
+
return [
|
|
354
|
+
3,
|
|
355
|
+
3
|
|
356
|
+
];
|
|
357
|
+
case 2:
|
|
358
|
+
error = _state.sent();
|
|
359
|
+
return [
|
|
360
|
+
3,
|
|
361
|
+
3
|
|
362
|
+
];
|
|
363
|
+
case 3:
|
|
364
|
+
return [
|
|
365
|
+
2
|
|
366
|
+
];
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
})();
|
|
370
|
+
} : undefined,
|
|
371
|
+
onDislike: props.onDislike ? function() {
|
|
372
|
+
return _async_to_generator(function() {
|
|
373
|
+
var _props_onDislike, _props_bubbleRef_current_setMessageItem, _props_bubbleRef_current, _props_bubbleRef, error;
|
|
374
|
+
return _ts_generator(this, function(_state) {
|
|
375
|
+
switch(_state.label){
|
|
376
|
+
case 0:
|
|
377
|
+
_state.trys.push([
|
|
378
|
+
0,
|
|
379
|
+
2,
|
|
380
|
+
,
|
|
381
|
+
3
|
|
382
|
+
]);
|
|
383
|
+
return [
|
|
384
|
+
4,
|
|
385
|
+
(_props_onDislike = props.onDislike) === null || _props_onDislike === void 0 ? void 0 : _props_onDislike.call(props, props.originData)
|
|
386
|
+
];
|
|
387
|
+
case 1:
|
|
388
|
+
_state.sent();
|
|
389
|
+
(_props_bubbleRef = props.bubbleRef) === null || _props_bubbleRef === void 0 ? void 0 : (_props_bubbleRef_current = _props_bubbleRef.current) === null || _props_bubbleRef_current === void 0 ? void 0 : (_props_bubbleRef_current_setMessageItem = _props_bubbleRef_current.setMessageItem) === null || _props_bubbleRef_current_setMessageItem === void 0 ? void 0 : _props_bubbleRef_current_setMessageItem.call(_props_bubbleRef_current, props.id, {
|
|
390
|
+
feedback: 'thumbsDown'
|
|
391
|
+
});
|
|
392
|
+
return [
|
|
393
|
+
3,
|
|
394
|
+
3
|
|
395
|
+
];
|
|
396
|
+
case 2:
|
|
397
|
+
error = _state.sent();
|
|
398
|
+
return [
|
|
399
|
+
3,
|
|
400
|
+
3
|
|
401
|
+
];
|
|
402
|
+
case 3:
|
|
403
|
+
return [
|
|
404
|
+
2
|
|
405
|
+
];
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
})();
|
|
409
|
+
} : undefined,
|
|
394
410
|
bubble: props,
|
|
395
|
-
onLike: props.onLike ?
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
411
|
+
onLike: props.onLike ? function() {
|
|
412
|
+
return _async_to_generator(function() {
|
|
413
|
+
var _props_onLike, _props_bubbleRef_current_setMessageItem, _props_bubbleRef_current, _props_bubbleRef, error;
|
|
414
|
+
return _ts_generator(this, function(_state) {
|
|
415
|
+
switch(_state.label){
|
|
416
|
+
case 0:
|
|
417
|
+
_state.trys.push([
|
|
418
|
+
0,
|
|
419
|
+
2,
|
|
420
|
+
,
|
|
421
|
+
3
|
|
422
|
+
]);
|
|
423
|
+
return [
|
|
424
|
+
4,
|
|
425
|
+
(_props_onLike = props.onLike) === null || _props_onLike === void 0 ? void 0 : _props_onLike.call(props, props.originData)
|
|
426
|
+
];
|
|
427
|
+
case 1:
|
|
428
|
+
_state.sent();
|
|
429
|
+
(_props_bubbleRef = props.bubbleRef) === null || _props_bubbleRef === void 0 ? void 0 : (_props_bubbleRef_current = _props_bubbleRef.current) === null || _props_bubbleRef_current === void 0 ? void 0 : (_props_bubbleRef_current_setMessageItem = _props_bubbleRef_current.setMessageItem) === null || _props_bubbleRef_current_setMessageItem === void 0 ? void 0 : _props_bubbleRef_current_setMessageItem.call(_props_bubbleRef_current, props.id, {
|
|
430
|
+
feedback: 'thumbsUp'
|
|
431
|
+
});
|
|
432
|
+
return [
|
|
433
|
+
3,
|
|
434
|
+
3
|
|
435
|
+
];
|
|
436
|
+
case 2:
|
|
437
|
+
error = _state.sent();
|
|
438
|
+
return [
|
|
439
|
+
3,
|
|
440
|
+
3
|
|
441
|
+
];
|
|
442
|
+
case 3:
|
|
443
|
+
return [
|
|
444
|
+
2
|
|
445
|
+
];
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
})();
|
|
449
|
+
} : undefined
|
|
432
450
|
});
|
|
433
451
|
var itemDom = wrapSSR(/*#__PURE__*/ React.createElement(BubbleConfigContext.Provider, {
|
|
434
452
|
value: {
|
|
@@ -122,6 +122,7 @@ var getContentStyle = function(standalone, customStyle) {
|
|
|
122
122
|
* </UserBubble>
|
|
123
123
|
* ```
|
|
124
124
|
*/ export var UserBubble = /*#__PURE__*/ memo(function(props) {
|
|
125
|
+
var _props_readonly;
|
|
125
126
|
var _originData_fileMap, _props_bubbleRenderConfig, _props_styles, _props_bubbleRenderConfig1, _bubbleRenderConfig_render;
|
|
126
127
|
var className = props.className, style = props.style, bubbleRenderConfig = props.bubbleRenderConfig, classNames = props.classNames, styles = props.styles, originData = props.originData, quote = props.quote;
|
|
127
128
|
var _React_useState = _sliced_to_array(React.useState(false), 2), hidePadding = _React_useState[0], setHidePadding = _React_useState[1];
|
|
@@ -144,7 +145,6 @@ var getContentStyle = function(standalone, customStyle) {
|
|
|
144
145
|
placement: placement,
|
|
145
146
|
time: time
|
|
146
147
|
}));
|
|
147
|
-
var _props_readonly;
|
|
148
148
|
var messageContent = /*#__PURE__*/ React.createElement(BubbleMessageDisplay, {
|
|
149
149
|
markdownRenderConfig: props.markdownRenderConfig,
|
|
150
150
|
docListProps: props.docListProps,
|
package/dist/Bubble/style.js
CHANGED
|
@@ -75,7 +75,6 @@ var genStyle = function(token, classNames) {
|
|
|
75
75
|
height: 40
|
|
76
76
|
},
|
|
77
77
|
'&-bubble-avatar-title': _define_property({
|
|
78
|
-
paddingTop: 'var(--padding-3x)',
|
|
79
78
|
lineHeight: '20px',
|
|
80
79
|
textAlign: 'justify',
|
|
81
80
|
letterSpacing: 'normal',
|
|
@@ -108,7 +107,7 @@ var genStyle = function(token, classNames) {
|
|
|
108
107
|
flexDirection: 'column',
|
|
109
108
|
gap: 8,
|
|
110
109
|
'&-pure': {
|
|
111
|
-
gap:
|
|
110
|
+
gap: 8
|
|
112
111
|
},
|
|
113
112
|
'&-right': {
|
|
114
113
|
alignItems: 'flex-end'
|
|
@@ -199,6 +198,7 @@ var genStyle = function(token, classNames) {
|
|
|
199
198
|
},
|
|
200
199
|
// 用户消息特定样式
|
|
201
200
|
'&-bubble-user': {
|
|
201
|
+
marginBlockStart: -20,
|
|
202
202
|
'&-avatar-title-user': {
|
|
203
203
|
flexDirection: 'row-reverse',
|
|
204
204
|
justifyContent: 'flex-end'
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* 文档信息列表的属性接口
|
|
3
|
+
*
|
|
4
|
+
* @interface DocInfoListProps
|
|
5
|
+
* @property {any[]} reference_url_info_list - 引用URL信息列表数组
|
|
6
|
+
* @property {function} [render] - 自定义渲染函数,接收chunk项和默认DOM,返回React节点
|
|
7
|
+
* @property {function} [onOriginUrlClick] - 原始URL点击处理函数
|
|
8
|
+
* @property {Chunk[]} [options] - 可选的Chunk数组配置项
|
|
9
|
+
*/ export { };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface FooterBackgroundLottieProps {
|
|
3
|
+
/**
|
|
4
|
+
* 是否自动播放动画
|
|
5
|
+
*/
|
|
6
|
+
autoplay?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 是否循环播放动画
|
|
9
|
+
*/
|
|
10
|
+
loop?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 动画容器类名
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 动画容器样式
|
|
17
|
+
*/
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* FooterBackgroundLottie 组件 - Lottie底部背景动画组件
|
|
22
|
+
*
|
|
23
|
+
* 该组件使用Lottie动画库提供流畅的底部背景动画效果,支持播放控制等。
|
|
24
|
+
*
|
|
25
|
+
* @component
|
|
26
|
+
* @description FooterBackgroundLottie 组件 - Lottie底部背景动画组件,提供流畅的底部背景动画效果
|
|
27
|
+
* @param {FooterBackgroundLottieProps} props - 组件属性
|
|
28
|
+
* @param {boolean} [props.autoplay=true] - 是否自动播放动画
|
|
29
|
+
* @param {boolean} [props.loop=true] - 是否循环播放动画
|
|
30
|
+
* @param {string} [props.className] - 动画容器类名
|
|
31
|
+
* @param {React.CSSProperties} [props.style] - 动画容器样式
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <FooterBackgroundLottie
|
|
36
|
+
* autoplay={true}
|
|
37
|
+
* loop={true}
|
|
38
|
+
* className="custom-loading"
|
|
39
|
+
* />
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @returns {React.ReactElement} 渲染的Lottie底部背景动画组件
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* - 使用Lottie动画库
|
|
46
|
+
* - 提供流畅的动画效果
|
|
47
|
+
* - 支持播放控制
|
|
48
|
+
* - 支持自定义样式
|
|
49
|
+
*/
|
|
50
|
+
export declare const FooterBackgroundLottie: React.FC<FooterBackgroundLottieProps>;
|
|
51
|
+
export default FooterBackgroundLottie;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Lottie from "lottie-react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import lottieData from "./lottie.js";
|
|
4
|
+
/**
|
|
5
|
+
* FooterBackgroundLottie 组件 - Lottie底部背景动画组件
|
|
6
|
+
*
|
|
7
|
+
* 该组件使用Lottie动画库提供流畅的底部背景动画效果,支持播放控制等。
|
|
8
|
+
*
|
|
9
|
+
* @component
|
|
10
|
+
* @description FooterBackgroundLottie 组件 - Lottie底部背景动画组件,提供流畅的底部背景动画效果
|
|
11
|
+
* @param {FooterBackgroundLottieProps} props - 组件属性
|
|
12
|
+
* @param {boolean} [props.autoplay=true] - 是否自动播放动画
|
|
13
|
+
* @param {boolean} [props.loop=true] - 是否循环播放动画
|
|
14
|
+
* @param {string} [props.className] - 动画容器类名
|
|
15
|
+
* @param {React.CSSProperties} [props.style] - 动画容器样式
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <FooterBackgroundLottie
|
|
20
|
+
* autoplay={true}
|
|
21
|
+
* loop={true}
|
|
22
|
+
* className="custom-loading"
|
|
23
|
+
* />
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @returns {React.ReactElement} 渲染的Lottie底部背景动画组件
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* - 使用Lottie动画库
|
|
30
|
+
* - 提供流畅的动画效果
|
|
31
|
+
* - 支持播放控制
|
|
32
|
+
* - 支持自定义样式
|
|
33
|
+
*/ export var FooterBackgroundLottie = function(param) {
|
|
34
|
+
var _param_autoplay = param.autoplay, autoplay = _param_autoplay === void 0 ? true : _param_autoplay, _param_loop = param.loop, loop = _param_loop === void 0 ? true : _param_loop, className = param.className, style = param.style;
|
|
35
|
+
return /*#__PURE__*/ React.createElement(Lottie, {
|
|
36
|
+
className: className,
|
|
37
|
+
style: style,
|
|
38
|
+
renderer: "svg",
|
|
39
|
+
"aria-hidden": "true",
|
|
40
|
+
animationData: lottieData,
|
|
41
|
+
loop: loop,
|
|
42
|
+
autoplay: autoplay
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
export default FooterBackgroundLottie;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
v: string;
|
|
3
|
+
fr: number;
|
|
4
|
+
ip: number;
|
|
5
|
+
op: number;
|
|
6
|
+
w: number;
|
|
7
|
+
h: number;
|
|
8
|
+
nm: string;
|
|
9
|
+
ddd: number;
|
|
10
|
+
assets: {
|
|
11
|
+
id: string;
|
|
12
|
+
w: number;
|
|
13
|
+
h: number;
|
|
14
|
+
u: string;
|
|
15
|
+
p: string;
|
|
16
|
+
e: number;
|
|
17
|
+
}[];
|
|
18
|
+
layers: {
|
|
19
|
+
ddd: number;
|
|
20
|
+
ind: number;
|
|
21
|
+
ty: number;
|
|
22
|
+
nm: string;
|
|
23
|
+
cl: string;
|
|
24
|
+
refId: string;
|
|
25
|
+
sr: number;
|
|
26
|
+
ks: {
|
|
27
|
+
o: {
|
|
28
|
+
a: number;
|
|
29
|
+
k: number;
|
|
30
|
+
ix: number;
|
|
31
|
+
};
|
|
32
|
+
r: {
|
|
33
|
+
a: number;
|
|
34
|
+
k: number;
|
|
35
|
+
ix: number;
|
|
36
|
+
};
|
|
37
|
+
p: {
|
|
38
|
+
a: number;
|
|
39
|
+
k: ({
|
|
40
|
+
i: {
|
|
41
|
+
x: number;
|
|
42
|
+
y: number;
|
|
43
|
+
};
|
|
44
|
+
o: {
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
};
|
|
48
|
+
t: number;
|
|
49
|
+
s: number[];
|
|
50
|
+
to: number[];
|
|
51
|
+
ti: number[];
|
|
52
|
+
} | {
|
|
53
|
+
t: number;
|
|
54
|
+
s: number[];
|
|
55
|
+
i?: undefined;
|
|
56
|
+
o?: undefined;
|
|
57
|
+
to?: undefined;
|
|
58
|
+
ti?: undefined;
|
|
59
|
+
})[];
|
|
60
|
+
ix: number;
|
|
61
|
+
l: number;
|
|
62
|
+
};
|
|
63
|
+
a: {
|
|
64
|
+
a: number;
|
|
65
|
+
k: number[];
|
|
66
|
+
ix: number;
|
|
67
|
+
l: number;
|
|
68
|
+
};
|
|
69
|
+
s: {
|
|
70
|
+
a: number;
|
|
71
|
+
k: number[];
|
|
72
|
+
ix: number;
|
|
73
|
+
l: number;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
ao: number;
|
|
77
|
+
ip: number;
|
|
78
|
+
op: number;
|
|
79
|
+
st: number;
|
|
80
|
+
bm: number;
|
|
81
|
+
}[];
|
|
82
|
+
markers: never[];
|
|
83
|
+
props: {};
|
|
84
|
+
};
|
|
85
|
+
export default _default;
|