@farris/x-ui 0.5.7 → 0.5.8
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/assets/css/icons.css +1 -0
- package/assets/css/variables.css +1 -0
- package/assets/icon/active-agent.svg +16 -0
- package/assets/icon/agent-data-ops.png +0 -0
- package/assets/icon/agent-finance.png +0 -0
- package/assets/icon/agent-hr.png +0 -0
- package/assets/icon/agent-procurement.png +0 -0
- package/assets/icon/agent-production.png +0 -0
- package/assets/icon/agent-project.png +0 -0
- package/assets/icon/agent-sales.png +0 -0
- package/assets/icon/agent-supply-chain.png +0 -0
- package/assets/icon/attach.svg +14 -0
- package/assets/icon/copy.svg +22 -0
- package/assets/icon/daily-brief.svg +16 -0
- package/assets/icon/deep-seek-logo.svg +13 -0
- package/assets/icon/down-vote.svg +17 -0
- package/assets/icon/haiyue-logo.svg +76 -0
- package/assets/icon/markdown-icon.png +0 -0
- package/assets/icon/question-and-answer.svg +28 -0
- package/assets/icon/qwen-logo.svg +18 -0
- package/assets/icon/react.png +0 -0
- package/assets/icon/refresh.svg +20 -0
- package/assets/icon/robot-avatar-mini.png +0 -0
- package/assets/icon/robot-avatar.png +0 -0
- package/assets/icon/send.svg +24 -0
- package/assets/icon/speech.svg +16 -0
- package/assets/icon/supervision-task.svg +14 -0
- package/assets/icon/translate.svg +20 -0
- package/assets/icon/up-vote.svg +17 -0
- package/assets/icon/voice.svg +18 -0
- package/assets/icon-preview.html +625 -0
- package/assets/imgs/ai-logo.svg +76 -0
- package/assets/imgs/attachment-type-any.png +0 -0
- package/assets/imgs/attachment-type-board.png +0 -0
- package/assets/imgs/attachment-type-doc.png +0 -0
- package/assets/imgs/attachment-type-form.png +0 -0
- package/assets/imgs/attachment-type-html.png +0 -0
- package/assets/imgs/attachment-type-json.png +0 -0
- package/assets/imgs/attachment-type-md.png +0 -0
- package/assets/imgs/attachment-type-pdf.png +0 -0
- package/assets/imgs/attachment-type-ppt.png +0 -0
- package/assets/imgs/attachment-type-report.png +0 -0
- package/assets/imgs/attachment-type-txt.png +0 -0
- package/assets/imgs/attachment-type-xls.png +0 -0
- package/assets/imgs/drag-file.png +0 -0
- package/assets/imgs/empty-state-default.svg +180 -0
- package/assets/imgs/empty-state-done.svg +147 -0
- package/assets/imgs/empty-state-initiated.svg +155 -0
- package/assets/imgs/empty-state-report.svg +110 -0
- package/assets/imgs/empty-state-schedule.svg +139 -0
- package/assets/imgs/empty-state-supervision.svg +269 -0
- package/assets/imgs/empty-state-todo.svg +14 -0
- package/assets/imgs/f-drag-icon-default.svg +14 -0
- package/assets/imgs/f-drag-icon-hover.svg +20 -0
- package/assets/imgs/f-icon-checkbox-checked.svg +16 -0
- package/assets/imgs/f-icon-checkbox-indeterminate.svg +16 -0
- package/assets/imgs/f-icon-radio-checked.svg +13 -0
- package/assets/imgs/f-tabs-border-bg.svg +13 -0
- package/assets/imgs/feature-card-bg.png +0 -0
- package/assets/imgs/like-button-entry-item-bg.png +0 -0
- package/assets/imgs/primary-feature-card-bg.png +0 -0
- package/assets/imgs/table-norecords.svg +62 -0
- package/bubble/index.d.ts +11 -1
- package/bubble/src/bubble.component.d.ts +0 -45
- package/bubble/src/bubble.props.d.ts +1 -6
- package/bubble/src/components/text-content/utils/block-renderer.d.ts +1 -1
- package/bubble/src/composition/types.d.ts +0 -12
- package/chat-preview/index.d.ts +1 -0
- package/chat-preview/src/chat-preview.component.d.ts +2 -2
- package/chat-preview/src/chat-preview.props.d.ts +1 -1
- package/chat-preview/src/preview-chrome-sdk.d.ts +1 -1
- package/{app-preview → chat-preview}/src/types.d.ts +2 -17
- package/components.d.ts +3 -16
- package/empty-state/index.d.ts +7 -0
- package/empty-state/src/composition/use-empty-state.d.ts +16 -0
- package/empty-state/src/empty-state.component.d.ts +17 -0
- package/empty-state/src/empty-state.props.d.ts +48 -0
- package/farris.x-ui.esm.js +23672 -17072
- package/farris.x-ui.umd.cjs +167 -165
- package/image-preview/src/image-preview.component.d.ts +1 -1
- package/index.css +1 -1
- package/list-view/src/components/list-view-item.component.d.ts +20 -9
- package/markdown/src/composition/code-block-renderer.d.ts +4 -0
- package/markdown/src/composition/code-highlight.d.ts +2 -0
- package/markdown/src/composition/markdown-block-toolbar.d.ts +4 -0
- package/markdown/src/composition/table-card-renderer.d.ts +1 -1
- package/markdown/src/composition/transform-markdown-prose.d.ts +2 -0
- package/markdown/src/composition/use-markdown-copy.d.ts +7 -0
- package/markdown/test/markdown-code-block.spec.d.ts +1 -0
- package/nav/src/composition/types.d.ts +6 -0
- package/nav/src/composition/use-nav-right-slot.d.ts +5 -0
- package/nav/test/nav.spec.d.ts +1 -0
- package/package.json +13 -2
- package/popover/src/popover.component.d.ts +6 -0
- package/popover/src/popover.props.d.ts +10 -0
- package/app-preview/index.d.ts +0 -8
- package/app-preview/src/app-preview.component.d.ts +0 -22
- package/app-preview/src/app-preview.props.d.ts +0 -14
- package/error-reminder/index.d.ts +0 -7
- package/error-reminder/src/error-reminder.component.d.ts +0 -15
- package/error-reminder/src/types.d.ts +0 -7
- package/link-card/index.d.ts +0 -7
- package/link-card/src/link-card.component.d.ts +0 -15
- package/link-card/src/types.d.ts +0 -14
- package/prompts/index.d.ts +0 -9
- package/prompts/src/components/prompt.component.d.ts +0 -131
- package/prompts/src/components/prompt.props.d.ts +0 -79
- package/prompts/src/composition/type.d.ts +0 -34
- package/prompts/src/prompts.component.d.ts +0 -46
- package/prompts/src/prompts.props.d.ts +0 -61
- package/reference-sources/index.d.ts +0 -7
- package/reference-sources/src/reference-sources.component.d.ts +0 -15
- package/reference-sources/src/types.d.ts +0 -9
- package/welcome/index.d.ts +0 -7
- package/welcome/src/composition/type.d.ts +0 -1
- package/welcome/src/welcome.component.d.ts +0 -35
- package/welcome/src/welcome.props.d.ts +0 -30
- /package/{attachment.css → assets/css/attachment.css} +0 -0
- /package/{welcome/test/welcome.spec.d.ts → empty-state/src/test/empty-state.spec.d.ts} +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { PromptItemType } from '../../../composition/type';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('../../../vue').DefineComponent<{
|
|
4
|
-
title: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>;
|
|
7
|
-
items: PromptItemType[];
|
|
8
|
-
customClass: string | string[] | Record<string, boolean>;
|
|
9
|
-
classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
10
|
-
customStyle: string | import('../../../vue').CSSProperties;
|
|
11
|
-
styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
|
|
12
|
-
gap: string | number;
|
|
13
|
-
wrap: boolean;
|
|
14
|
-
vertical: boolean;
|
|
15
|
-
fadeIn: boolean;
|
|
16
|
-
fadeInLeft: boolean;
|
|
17
|
-
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<{
|
|
18
|
-
title: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}>;
|
|
21
|
-
items: PromptItemType[];
|
|
22
|
-
customClass: string | string[] | Record<string, boolean>;
|
|
23
|
-
classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
24
|
-
customStyle: string | import('../../../vue').CSSProperties;
|
|
25
|
-
styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
|
|
26
|
-
gap: string | number;
|
|
27
|
-
wrap: boolean;
|
|
28
|
-
vertical: boolean;
|
|
29
|
-
fadeIn: boolean;
|
|
30
|
-
fadeInLeft: boolean;
|
|
31
|
-
}> & Readonly<{}>, {
|
|
32
|
-
title: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}>;
|
|
35
|
-
items: PromptItemType[];
|
|
36
|
-
customClass: string | string[] | Record<string, boolean>;
|
|
37
|
-
classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
38
|
-
customStyle: string | import('../../../vue').CSSProperties;
|
|
39
|
-
styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
|
|
40
|
-
gap: string | number;
|
|
41
|
-
wrap: boolean;
|
|
42
|
-
vertical: boolean;
|
|
43
|
-
fadeIn: boolean;
|
|
44
|
-
fadeInLeft: boolean;
|
|
45
|
-
}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
export default _default;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNode, CSSProperties } from '../../../vue';
|
|
2
|
-
import { PromptItemType, AppearanceType } from '../../../composition/type';
|
|
3
|
-
|
|
4
|
-
export declare const promptsProps: {
|
|
5
|
-
/** 包含多个提示项的列表 */
|
|
6
|
-
items: {
|
|
7
|
-
type: PropType<PromptItemType[]>;
|
|
8
|
-
default: () => never[];
|
|
9
|
-
};
|
|
10
|
-
/** 显示在提示列表顶部的标题 */
|
|
11
|
-
title: {
|
|
12
|
-
type: PropType<string | VNode>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
/** 提示列表是否垂直排列 */
|
|
16
|
-
vertical: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
/** 提示列表是否换行 */
|
|
21
|
-
wrap: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
/** 间距 */
|
|
26
|
-
gap: {
|
|
27
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
-
default: number;
|
|
29
|
-
};
|
|
30
|
-
/** 是否开启渲染渐入 */
|
|
31
|
-
fadeIn: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
/** 是否开启渲染从左到右渐入 */
|
|
36
|
-
fadeInLeft: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
/** 自定义样式 */
|
|
41
|
-
styles: {
|
|
42
|
-
type: PropType<Record<AppearanceType, CSSProperties>>;
|
|
43
|
-
default: () => {};
|
|
44
|
-
};
|
|
45
|
-
/** 自定义样式类名 */
|
|
46
|
-
classNames: {
|
|
47
|
-
type: PropType<Record<AppearanceType, string | string[] | Record<string, boolean>>>;
|
|
48
|
-
default: () => {};
|
|
49
|
-
};
|
|
50
|
-
/** 组件自定义样式类名 */
|
|
51
|
-
customClass: {
|
|
52
|
-
type: PropType<string | string[] | Record<string, boolean>>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
/** 组件自定义样式 */
|
|
56
|
-
customStyle: {
|
|
57
|
-
type: PropType<CSSProperties | string>;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
export type PromptsProps = ExtractPropTypes<typeof promptsProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Plugin } from '../../vue';
|
|
2
|
-
import { default as FXReferenceSources } from '../../src/reference-sources.component';
|
|
3
|
-
|
|
4
|
-
export * from '../../src/types';
|
|
5
|
-
export { FXReferenceSources };
|
|
6
|
-
declare const _default: typeof FXReferenceSources & Plugin;
|
|
7
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PropType } from '../../../vue';
|
|
2
|
-
import { MessageContentReferenceSources } from '../../../types';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('../../../vue').DefineComponent<import('../../../vue').ExtractPropTypes<{
|
|
5
|
-
content: {
|
|
6
|
-
type: PropType<MessageContentReferenceSources>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<import('../../../vue').ExtractPropTypes<{
|
|
10
|
-
content: {
|
|
11
|
-
type: PropType<MessageContentReferenceSources>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
-
export default _default;
|
package/welcome/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AppearanceType = "icon" | "title" | "description" | "content";
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const _default: import('../../../vue').DefineComponent<{
|
|
2
|
-
customClass: string | string[] | Record<string, boolean>;
|
|
3
|
-
classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
4
|
-
customStyle: string | import('../../../vue').CSSProperties;
|
|
5
|
-
styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
|
|
6
|
-
title?: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}> | undefined;
|
|
9
|
-
icon?: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}> | undefined;
|
|
12
|
-
description?: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}> | undefined;
|
|
15
|
-
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, string, import('../../../vue').PublicProps, Readonly<{
|
|
16
|
-
customClass: string | string[] | Record<string, boolean>;
|
|
17
|
-
classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
18
|
-
customStyle: string | import('../../../vue').CSSProperties;
|
|
19
|
-
styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
|
|
20
|
-
title?: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}> | undefined;
|
|
23
|
-
icon?: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}> | undefined;
|
|
26
|
-
description?: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}> | undefined;
|
|
29
|
-
}> & Readonly<{}>, {
|
|
30
|
-
customClass: string | string[] | Record<string, boolean>;
|
|
31
|
-
classNames: Record<import('../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>;
|
|
32
|
-
customStyle: string | import('../../../vue').CSSProperties;
|
|
33
|
-
styles: Record<import('../../../composition/type').AppearanceType, import('../../../vue').CSSProperties>;
|
|
34
|
-
}, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ExtractPropTypes, PropType, VNode } from '../../../vue';
|
|
2
|
-
import { AppearanceType } from '../../../composition/type';
|
|
3
|
-
|
|
4
|
-
export declare const welcomeProps: {
|
|
5
|
-
/** 图标 */
|
|
6
|
-
icon: PropType<string | VNode>;
|
|
7
|
-
/** 标题 */
|
|
8
|
-
title: PropType<string | VNode>;
|
|
9
|
-
/** 描述 */
|
|
10
|
-
description: PropType<string | VNode>;
|
|
11
|
-
customClass: {
|
|
12
|
-
type: PropType<string | string[] | Record<string, boolean>>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
customStyle: {
|
|
16
|
-
type: PropType<CSSProperties | string>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
/** 自定义样式 */
|
|
20
|
-
styles: {
|
|
21
|
-
type: PropType<Record<AppearanceType, CSSProperties>>;
|
|
22
|
-
default: () => {};
|
|
23
|
-
};
|
|
24
|
-
/** 自定义样式类名 */
|
|
25
|
-
classNames: {
|
|
26
|
-
type: PropType<Record<AppearanceType, string | string[] | Record<string, boolean>>>;
|
|
27
|
-
default: () => {};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export type WelcomeProps = ExtractPropTypes<typeof welcomeProps>;
|
|
File without changes
|
|
File without changes
|