@ant-design/agentic-ui 2.24.5 → 2.26.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 (37) hide show
  1. package/dist/Components/Loading/CreativeRecommendationLoading.d.ts +26 -0
  2. package/dist/Components/Loading/CreativeRecommendationLoading.js +77 -0
  3. package/dist/Components/Loading/CreativeSparkLoading.d.ts +27 -0
  4. package/dist/Components/Loading/CreativeSparkLoading.js +78 -0
  5. package/dist/Components/Loading/Loading.d.ts +26 -0
  6. package/dist/Components/Loading/Loading.js +57 -0
  7. package/dist/Components/Loading/index.d.ts +3 -26
  8. package/dist/Components/Loading/index.js +3 -57
  9. package/dist/Components/Robot/index.d.ts +0 -1
  10. package/dist/Components/Robot/index.js +0 -1
  11. package/dist/Components/effects/CreativeRecommendationEffect/creativeRecommendation.json +580 -0
  12. package/dist/Components/effects/CreativeRecommendationEffect/index.d.ts +41 -0
  13. package/dist/Components/effects/CreativeRecommendationEffect/index.js +52 -0
  14. package/dist/Components/effects/EffectPlayer.d.ts +28 -0
  15. package/dist/Components/effects/EffectPlayer.js +222 -0
  16. package/dist/Components/effects/LoadingEffect/index.d.ts +41 -0
  17. package/dist/Components/effects/LoadingEffect/index.js +51 -0
  18. package/dist/Components/effects/LoadingEffect/loading.json +922 -0
  19. package/dist/Components/effects/index.d.ts +3 -0
  20. package/dist/Components/effects/index.js +3 -0
  21. package/dist/Components/lotties/CreativeSparkLottie/creativeSpark.json +5576 -0
  22. package/dist/Components/lotties/CreativeSparkLottie/index.d.ts +65 -0
  23. package/dist/Components/lotties/CreativeSparkLottie/index.js +87 -0
  24. package/dist/Components/lotties/LoadingLottie/loading.json +4024 -1977
  25. package/dist/Components/lotties/index.d.ts +4 -0
  26. package/dist/Components/lotties/index.js +4 -0
  27. package/dist/MarkdownEditor/editor/Editor.js +2 -1
  28. package/dist/MarkdownEditor/editor/elements/index.d.ts +1 -0
  29. package/dist/MarkdownEditor/editor/elements/index.js +12 -2
  30. package/dist/MarkdownEditor/editor/store.js +6 -3
  31. package/dist/MarkdownEditor/editor/utils/docx/docxDeserializer.js +2 -2
  32. package/dist/MarkdownEditor/types.d.ts +6 -0
  33. package/dist/Workspace/File/FileComponent.js +3 -2
  34. package/dist/Workspace/Task/index.d.ts +3 -1
  35. package/dist/Workspace/Task/index.js +4 -3
  36. package/dist/Workspace/Task/style.js +2 -1
  37. package/package.json +2 -1
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { LoadingLottieProps } from '../lotties/LoadingLottie';
3
+ /**
4
+ * CreativeRecommendationLoading 组件 - 创意推荐闪动动画组件
5
+ *
6
+ * 该组件提供一个创意推荐闪动动画效果。
7
+ * 主要用于在创意推荐闪动过程中提供视觉反馈。
8
+ *
9
+ * @component
10
+ * @description 创意推荐闪动动画组件
11
+ * @example
12
+ * ```tsx
13
+ * import { CreativeRecommendationLoading } from './Components/CreativeRecommendationLoading';
14
+ *
15
+ * function App() {
16
+ * return (
17
+ * <div>
18
+ * <CreativeRecommendationLoading />
19
+ * </div>
20
+ * );
21
+ * }
22
+ * ```
23
+ *
24
+ * @returns {React.ReactElement} 渲染的创意推荐闪动动画组件
25
+ */
26
+ export declare const CreativeRecommendationLoading: ({ ...props }: LoadingLottieProps) => React.JSX.Element;
@@ -0,0 +1,77 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _extends() {
15
+ _extends = Object.assign || function(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i];
18
+ for(var key in source){
19
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
20
+ target[key] = source[key];
21
+ }
22
+ }
23
+ }
24
+ return target;
25
+ };
26
+ return _extends.apply(this, arguments);
27
+ }
28
+ function _object_destructuring_empty(o) {
29
+ if (o === null || o === void 0) throw new TypeError("Cannot destructure " + o);
30
+ return o;
31
+ }
32
+ function _object_spread(target) {
33
+ for(var i = 1; i < arguments.length; i++){
34
+ var source = arguments[i] != null ? arguments[i] : {};
35
+ var ownKeys = Object.keys(source);
36
+ if (typeof Object.getOwnPropertySymbols === "function") {
37
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
38
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
39
+ }));
40
+ }
41
+ ownKeys.forEach(function(key) {
42
+ _define_property(target, key, source[key]);
43
+ });
44
+ }
45
+ return target;
46
+ }
47
+ import React from "react";
48
+ import { CreativeRecommendationEffect } from "../effects";
49
+ /**
50
+ * CreativeRecommendationLoading 组件 - 创意推荐闪动动画组件
51
+ *
52
+ * 该组件提供一个创意推荐闪动动画效果。
53
+ * 主要用于在创意推荐闪动过程中提供视觉反馈。
54
+ *
55
+ * @component
56
+ * @description 创意推荐闪动动画组件
57
+ * @example
58
+ * ```tsx
59
+ * import { CreativeRecommendationLoading } from './Components/CreativeRecommendationLoading';
60
+ *
61
+ * function App() {
62
+ * return (
63
+ * <div>
64
+ * <CreativeRecommendationLoading />
65
+ * </div>
66
+ * );
67
+ * }
68
+ * ```
69
+ *
70
+ * @returns {React.ReactElement} 渲染的创意推荐闪动动画组件
71
+ */ export var CreativeRecommendationLoading = function(_param) {
72
+ var props = _extends({}, _object_destructuring_empty(_param));
73
+ var lottieProps = _object_spread({
74
+ size: '1em'
75
+ }, props);
76
+ return /*#__PURE__*/ React.createElement(CreativeRecommendationEffect, lottieProps);
77
+ };
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { LoadingLottieProps } from '../lotties';
3
+ /**
4
+ * CreativeSparkLoading 组件 - 创意生成中火花动画组件
5
+ *
6
+ * 该组件提供一个创意生成中火花动画效果。
7
+ * 主要用于在创意生成中火花过程中提供视觉反馈。
8
+ *
9
+ * @component
10
+ * @description 创意生成中火花动画组件
11
+ * @example
12
+ * ```tsx
13
+ * import { CreativeSparkLoading } from './Components/CreativeSparkLoading';
14
+ *
15
+ * function App() {
16
+ * return (
17
+ * <div>
18
+ * <CreativeSparkLoading />
19
+ * </div>
20
+ * );
21
+ * }
22
+ * ```
23
+ *
24
+ * @returns {React.ReactElement} 渲染的创意生成中火花动画组件
25
+ */
26
+ export declare const CreativeSparkLoading: ({ ...props }: LoadingLottieProps) => React.JSX.Element;
27
+ export default CreativeSparkLoading;
@@ -0,0 +1,78 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _extends() {
15
+ _extends = Object.assign || function(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i];
18
+ for(var key in source){
19
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
20
+ target[key] = source[key];
21
+ }
22
+ }
23
+ }
24
+ return target;
25
+ };
26
+ return _extends.apply(this, arguments);
27
+ }
28
+ function _object_destructuring_empty(o) {
29
+ if (o === null || o === void 0) throw new TypeError("Cannot destructure " + o);
30
+ return o;
31
+ }
32
+ function _object_spread(target) {
33
+ for(var i = 1; i < arguments.length; i++){
34
+ var source = arguments[i] != null ? arguments[i] : {};
35
+ var ownKeys = Object.keys(source);
36
+ if (typeof Object.getOwnPropertySymbols === "function") {
37
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
38
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
39
+ }));
40
+ }
41
+ ownKeys.forEach(function(key) {
42
+ _define_property(target, key, source[key]);
43
+ });
44
+ }
45
+ return target;
46
+ }
47
+ import React from "react";
48
+ import { CreativeSparkLottie } from "../lotties";
49
+ /**
50
+ * CreativeSparkLoading 组件 - 创意生成中火花动画组件
51
+ *
52
+ * 该组件提供一个创意生成中火花动画效果。
53
+ * 主要用于在创意生成中火花过程中提供视觉反馈。
54
+ *
55
+ * @component
56
+ * @description 创意生成中火花动画组件
57
+ * @example
58
+ * ```tsx
59
+ * import { CreativeSparkLoading } from './Components/CreativeSparkLoading';
60
+ *
61
+ * function App() {
62
+ * return (
63
+ * <div>
64
+ * <CreativeSparkLoading />
65
+ * </div>
66
+ * );
67
+ * }
68
+ * ```
69
+ *
70
+ * @returns {React.ReactElement} 渲染的创意生成中火花动画组件
71
+ */ export var CreativeSparkLoading = function(_param) {
72
+ var props = _extends({}, _object_destructuring_empty(_param));
73
+ var lottieProps = _object_spread({
74
+ size: '1em'
75
+ }, props);
76
+ return /*#__PURE__*/ React.createElement(CreativeSparkLottie, lottieProps);
77
+ };
78
+ export default CreativeSparkLoading;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { LoadingLottieProps } from '../lotties/LoadingLottie';
3
+ /**
4
+ * Loading 组件 - 加载动画组件
5
+ *
6
+ * 该组件提供一个简单的加载动画效果,包含两个旋转的椭圆形。
7
+ * 主要用于在数据加载或处理过程中提供视觉反馈。
8
+ *
9
+ * @component
10
+ * @description 加载动画组件,显示两个旋转变形的椭圆
11
+ * @example
12
+ * ```tsx
13
+ * import { Loading } from './Components/Loading';
14
+ *
15
+ * function App() {
16
+ * return (
17
+ * <div>
18
+ * <Loading />
19
+ * </div>
20
+ * );
21
+ * }
22
+ * ```
23
+ *
24
+ * @returns {React.ReactElement} 渲染的加载动画组件
25
+ */
26
+ export declare const Loading: (props: LoadingLottieProps) => React.JSX.Element;
@@ -0,0 +1,57 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _object_spread(target) {
15
+ for(var i = 1; i < arguments.length; i++){
16
+ var source = arguments[i] != null ? arguments[i] : {};
17
+ var ownKeys = Object.keys(source);
18
+ if (typeof Object.getOwnPropertySymbols === "function") {
19
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
+ }));
22
+ }
23
+ ownKeys.forEach(function(key) {
24
+ _define_property(target, key, source[key]);
25
+ });
26
+ }
27
+ return target;
28
+ }
29
+ import React from "react";
30
+ import { LoadingLottie } from "../lotties/LoadingLottie";
31
+ /**
32
+ * Loading 组件 - 加载动画组件
33
+ *
34
+ * 该组件提供一个简单的加载动画效果,包含两个旋转的椭圆形。
35
+ * 主要用于在数据加载或处理过程中提供视觉反馈。
36
+ *
37
+ * @component
38
+ * @description 加载动画组件,显示两个旋转变形的椭圆
39
+ * @example
40
+ * ```tsx
41
+ * import { Loading } from './Components/Loading';
42
+ *
43
+ * function App() {
44
+ * return (
45
+ * <div>
46
+ * <Loading />
47
+ * </div>
48
+ * );
49
+ * }
50
+ * ```
51
+ *
52
+ * @returns {React.ReactElement} 渲染的加载动画组件
53
+ */ export var Loading = function(props) {
54
+ return /*#__PURE__*/ React.createElement(LoadingLottie, _object_spread({
55
+ size: '1em'
56
+ }, props));
57
+ };
@@ -1,26 +1,3 @@
1
- import React from 'react';
2
- import { LoadingLottieProps } from '../lotties/LoadingLottie';
3
- /**
4
- * Loading 组件 - 加载动画组件
5
- *
6
- * 该组件提供一个简单的加载动画效果,包含两个旋转的椭圆形。
7
- * 主要用于在数据加载或处理过程中提供视觉反馈。
8
- *
9
- * @component
10
- * @description 加载动画组件,显示两个旋转变形的椭圆
11
- * @example
12
- * ```tsx
13
- * import { Loading } from './Components/Loading';
14
- *
15
- * function App() {
16
- * return (
17
- * <div>
18
- * <Loading />
19
- * </div>
20
- * );
21
- * }
22
- * ```
23
- *
24
- * @returns {React.ReactElement} 渲染的加载动画组件
25
- */
26
- export declare const Loading: (props: LoadingLottieProps) => React.JSX.Element;
1
+ export { CreativeRecommendationLoading } from './CreativeRecommendationLoading';
2
+ export { CreativeSparkLoading } from './CreativeSparkLoading';
3
+ export { Loading } from './Loading';
@@ -1,57 +1,3 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- import React from "react";
30
- import { LoadingLottie } from "../lotties/LoadingLottie";
31
- /**
32
- * Loading 组件 - 加载动画组件
33
- *
34
- * 该组件提供一个简单的加载动画效果,包含两个旋转的椭圆形。
35
- * 主要用于在数据加载或处理过程中提供视觉反馈。
36
- *
37
- * @component
38
- * @description 加载动画组件,显示两个旋转变形的椭圆
39
- * @example
40
- * ```tsx
41
- * import { Loading } from './Components/Loading';
42
- *
43
- * function App() {
44
- * return (
45
- * <div>
46
- * <Loading />
47
- * </div>
48
- * );
49
- * }
50
- * ```
51
- *
52
- * @returns {React.ReactElement} 渲染的加载动画组件
53
- */ export var Loading = function(props) {
54
- return /*#__PURE__*/ React.createElement(LoadingLottie, _object_spread({
55
- size: '1em'
56
- }, props));
57
- };
1
+ export { CreativeRecommendationLoading } from "./CreativeRecommendationLoading";
2
+ export { CreativeSparkLoading } from "./CreativeSparkLoading";
3
+ export { Loading } from "./Loading";
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- export * from './lotties';
3
2
  export type RobotStatus = 'default' | 'running';
4
3
  export interface RobotProps {
5
4
  /** 机器人状态 */
@@ -30,7 +30,6 @@ import classNames from "classnames";
30
30
  import { isString } from "lodash-es";
31
31
  import React from "react";
32
32
  import { DazingLottie, ThinkingLottie } from "./lotties";
33
- export * from "./lotties";
34
33
  /**
35
34
  * Robot 组件 - 机器人图标组件
36
35
  *