@farris/x-ui 0.0.1 → 0.0.3

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 (161) hide show
  1. package/accordion/index.d.ts +9 -0
  2. package/accordion/src/accordion.component.d.ts +8 -0
  3. package/accordion/src/accordion.props.d.ts +2 -0
  4. package/accordion/src/components/accordion-item.component.d.ts +8 -0
  5. package/accordion/src/components/accordion-item.props.d.ts +2 -0
  6. package/app-preview/index.d.ts +4 -4
  7. package/app-preview/src/app-preview.component.d.ts +8 -8
  8. package/app-preview/src/app-preview.props.d.ts +2 -2
  9. package/app-preview/src/types.d.ts +4 -0
  10. package/attachment-preview/index.d.ts +4 -4
  11. package/attachment-preview/src/attachment-preview.component.d.ts +8 -8
  12. package/attachment-preview/src/attachment-preview.props.d.ts +2 -2
  13. package/bubble/index.d.ts +6 -6
  14. package/bubble/src/bubble.component.d.ts +59 -56
  15. package/bubble/src/bubble.props.d.ts +11 -6
  16. package/bubble/src/components/action/bubble-action.component.d.ts +6 -6
  17. package/bubble/src/components/action/bubble-action.props.d.ts +1 -1
  18. package/bubble/src/components/attachment/bubble-attachment.component.d.ts +10 -4
  19. package/bubble/src/components/attachment/bubble-attachment.props.d.ts +12 -2
  20. package/bubble/src/components/bubble-think/bubble-think.component.d.ts +8 -8
  21. package/bubble/src/components/bubble-think/bubble-think.props.d.ts +3 -3
  22. package/bubble/src/components/bubble-thought-chain/bubble-thought-chain.component.d.ts +5 -5
  23. package/bubble/src/components/bubble-thought-chain/bubble-thought-chain.props.d.ts +2 -2
  24. package/bubble/src/components/embedded-content/file/file-embedded-content.component.d.ts +14 -14
  25. package/bubble/src/components/embedded-content/file/file-embedded-content.props.d.ts +2 -2
  26. package/bubble/src/components/embedded-content/page/page-embedded-content.component.d.ts +6 -6
  27. package/bubble/src/components/embedded-content/page/page-embedded-content.props.d.ts +1 -1
  28. package/bubble/src/components/header/content-header.component.d.ts +2 -2
  29. package/bubble/src/components/header/sender-header.component.d.ts +2 -2
  30. package/bubble/src/components/text-content/text-content.component.d.ts +15 -9
  31. package/bubble/src/components/text-content/text-content.props.d.ts +14 -3
  32. package/bubble/src/components/text-content/utils/widget-to-messages.d.ts +44 -0
  33. package/bubble/src/composition/types.d.ts +4 -4
  34. package/bubble/src/composition/use-embedded-content.d.ts +2 -2
  35. package/bubble/src/composition/use-widget-content.d.ts +4 -3
  36. package/carousel/index.d.ts +6 -6
  37. package/carousel/src/carousel.component.d.ts +31 -31
  38. package/carousel/src/carousel.props.d.ts +2 -2
  39. package/carousel/src/components/carousel-item.component.d.ts +12 -12
  40. package/carousel/src/components/carousel-item.props.d.ts +2 -2
  41. package/carousel/src/composition/type.d.ts +1 -1
  42. package/carousel/src/composition/use-carousel.d.ts +5 -5
  43. package/chat-preview/index.d.ts +7 -7
  44. package/chat-preview/src/agent-workbench-sdk.d.ts +6 -6
  45. package/chat-preview/src/chat-preview.component.d.ts +11 -11
  46. package/chat-preview/src/chat-preview.props.d.ts +2 -2
  47. package/chat-preview/src/preview-chrome-sdk.d.ts +1 -1
  48. package/chat-preview/src/preview-iframe-sdk.d.ts +2 -2
  49. package/coding/index.d.ts +4 -4
  50. package/coding/src/coding.component.d.ts +5 -5
  51. package/coding/src/coding.props.d.ts +2 -2
  52. package/common/index.d.ts +7 -7
  53. package/common/src/use-render.d.ts +3 -3
  54. package/common/src/use-sequential-streaming.d.ts +1 -1
  55. package/common/src/use-streaming-output.d.ts +2 -2
  56. package/common/src/use-timer.d.ts +2 -2
  57. package/components.d.ts +52 -40
  58. package/confirm-dialog/index.d.ts +3 -3
  59. package/confirm-dialog/src/confirm-dialog.component.d.ts +9 -9
  60. package/confirm-dialog/src/confirm-dialog.props.d.ts +1 -1
  61. package/dynamic-component/index.d.ts +5 -5
  62. package/dynamic-component/src/composition/dynamic-component-registry.d.ts +1 -1
  63. package/dynamic-component/src/composition/types.d.ts +10 -5
  64. package/dynamic-component/src/composition/use-dynamic-component-parser.d.ts +3 -3
  65. package/dynamic-component/src/dynamic-component.component.d.ts +5 -5
  66. package/enterprise-cloud/index.d.ts +12 -12
  67. package/enterprise-cloud/src/agent-thinking.component.d.ts +5 -5
  68. package/enterprise-cloud/src/attachment-file.component.d.ts +5 -5
  69. package/enterprise-cloud/src/error-reminder.component.d.ts +5 -5
  70. package/enterprise-cloud/src/hitl-question.component.d.ts +5 -5
  71. package/enterprise-cloud/src/input-recommend.component.d.ts +5 -5
  72. package/enterprise-cloud/src/link-card.component.d.ts +5 -5
  73. package/enterprise-cloud/src/reference-sources.component.d.ts +5 -5
  74. package/enterprise-cloud/src/unknown-enterprise.component.d.ts +5 -5
  75. package/enterprise-cloud/src/user-auth.component.d.ts +5 -5
  76. package/farris.x-ui.esm.js +5827 -4249
  77. package/farris.x-ui.umd.cjs +118 -71
  78. package/file-operation/index.d.ts +4 -4
  79. package/file-operation/src/file-operation.component.d.ts +5 -5
  80. package/file-operation/src/file-operation.props.d.ts +2 -2
  81. package/generate-process/index.d.ts +3 -3
  82. package/generate-process/src/generate-process.component.d.ts +17 -17
  83. package/generate-process/src/generate-process.props.d.ts +2 -2
  84. package/history/index.d.ts +3 -3
  85. package/history/src/composition/type.d.ts +1 -1
  86. package/history/src/history.component.d.ts +4 -4
  87. package/history/src/history.props.d.ts +2 -2
  88. package/index.css +1 -1
  89. package/index.d.ts +3 -3
  90. package/list-view/index.d.ts +8 -0
  91. package/list-view/src/components/list-view-group-item.component.d.ts +41 -0
  92. package/list-view/src/components/list-view-item.component.d.ts +122 -0
  93. package/list-view/src/composition/types.d.ts +13 -0
  94. package/list-view/src/composition/use-data-view.d.ts +29 -0
  95. package/list-view/src/list-view.component.d.ts +32 -0
  96. package/list-view/src/list-view.props.d.ts +51 -0
  97. package/markdown/index.d.ts +4 -4
  98. package/markdown/src/markdown.component.d.ts +5 -5
  99. package/markdown/src/markdown.props.d.ts +2 -2
  100. package/markdown-preview/index.d.ts +3 -3
  101. package/markdown-preview/src/markdown-preview.component.d.ts +3 -3
  102. package/markdown-preview/src/markdown-preview.props.d.ts +1 -1
  103. package/nav/index.d.ts +8 -0
  104. package/nav/src/composition/types.d.ts +11 -0
  105. package/nav/src/nav.component.d.ts +8 -0
  106. package/nav/src/nav.props.d.ts +2 -0
  107. package/package.json +1 -2
  108. package/popover/index.d.ts +8 -0
  109. package/popover/src/composition/types.d.ts +28 -0
  110. package/popover/src/composition/use-delayed-ref.d.ts +4 -0
  111. package/popover/src/composition/use-host.d.ts +9 -0
  112. package/popover/src/composition/use-popup.d.ts +5 -0
  113. package/popover/src/composition/use-position.d.ts +5 -0
  114. package/popover/src/composition/use-resize.d.ts +5 -0
  115. package/popover/src/popover.component.d.ts +61 -0
  116. package/popover/src/popover.directive.d.ts +5 -0
  117. package/popover/src/popover.props.d.ts +104 -0
  118. package/popover/src/popover.service.d.ts +17 -0
  119. package/prompts/index.d.ts +5 -5
  120. package/prompts/src/components/prompt.component.d.ts +34 -34
  121. package/prompts/src/components/prompt.props.d.ts +2 -2
  122. package/prompts/src/composition/type.d.ts +1 -1
  123. package/prompts/src/prompts.component.d.ts +19 -19
  124. package/prompts/src/prompts.props.d.ts +2 -2
  125. package/search-box/index.d.ts +9 -0
  126. package/search-box/src/components/search-box-container.component.d.ts +26 -0
  127. package/search-box/src/components/search-box-container.props.d.ts +40 -0
  128. package/search-box/src/search-box.component.d.ts +40 -0
  129. package/search-box/src/search-box.props.d.ts +64 -0
  130. package/splitter/index.d.ts +8 -0
  131. package/splitter/src/components/splitter-pane.component.d.ts +8 -0
  132. package/splitter/src/components/splitter-pane.props.d.ts +5 -0
  133. package/splitter/src/composition/types.d.ts +26 -0
  134. package/splitter/src/composition/use-resize-handle.d.ts +4 -0
  135. package/splitter/src/composition/use-resize-pane.d.ts +4 -0
  136. package/splitter/src/splitter.component.d.ts +8 -0
  137. package/splitter/src/splitter.props.d.ts +5 -0
  138. package/started-todo/index.d.ts +4 -4
  139. package/started-todo/src/started-todo.component.d.ts +20 -20
  140. package/started-todo/src/started-todo.props.d.ts +3 -3
  141. package/started-todo/src/types.d.ts +1 -1
  142. package/suggestion/index.d.ts +3 -3
  143. package/suggestion/src/suggestion.component.d.ts +13 -13
  144. package/suggestion/src/suggestion.props.d.ts +2 -2
  145. package/todo/index.d.ts +8 -8
  146. package/todo/src/components/todo-list-item-view.component.d.ts +16 -16
  147. package/todo/src/components/todo-list-item-view.props.d.ts +3 -3
  148. package/todo/src/components/todo-list-view.d.ts +6 -6
  149. package/todo/src/components/todo-list-view.props.d.ts +2 -2
  150. package/todo/src/composition/status-icon.d.ts +1 -1
  151. package/todo/src/todo.component.d.ts +9 -9
  152. package/todo/src/todo.props.d.ts +2 -2
  153. package/tool-use/index.d.ts +2 -2
  154. package/tool-use/src/tool-use.component.d.ts +5 -5
  155. package/welcome/index.d.ts +3 -3
  156. package/welcome/src/welcome.component.d.ts +18 -18
  157. package/welcome/src/welcome.props.d.ts +2 -2
  158. package/widget-container/index.d.ts +4 -4
  159. package/widget-container/src/composition/use-load-widget.d.ts +1 -1
  160. package/widget-container/src/widget-container.component.d.ts +9 -9
  161. package/widget-container/src/widget-container.props.d.ts +2 -2
@@ -0,0 +1,104 @@
1
+ import { ExtractPropTypes, PropType } from '../../../vue';
2
+
3
+ export type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'bottom-left' | 'top-left';
4
+ export declare const popoverProps: {
5
+ id: {
6
+ type: StringConstructor;
7
+ };
8
+ arrowOffsetX: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ class: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ customStyles: {
17
+ type: PropType<Record<string, any>>;
18
+ default: null;
19
+ };
20
+ /**
21
+ * popover应用场景有提示、展示其他内容,可能在界面呈现上会有区别。
22
+ * 如果做提示使用,需要特殊样式,通过此属性控制在没有自定义样式的情况下,指定特殊样式
23
+ */
24
+ isSimpleTips: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ fitContent: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ /**
33
+ * 指定要弹出的内容插入到哪个元素
34
+ */
35
+ host: {
36
+ type: PropType<any>;
37
+ };
38
+ /**
39
+ * 未被使用
40
+ */
41
+ leftBoundary: {
42
+ type: PropType<any>;
43
+ };
44
+ keepWidthWithReference: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ minWidth: {
49
+ type: NumberConstructor;
50
+ default: number;
51
+ };
52
+ offsetX: {
53
+ type: PropType<any>;
54
+ default: import('../../../vue').Ref<number, number>;
55
+ };
56
+ offsetY: {
57
+ type: PropType<any>;
58
+ default: import('../../../vue').Ref<number, number>;
59
+ };
60
+ placement: {
61
+ type: PropType<PopoverPlacement>;
62
+ default: string;
63
+ };
64
+ reference: {
65
+ type: PropType<any>;
66
+ };
67
+ /**
68
+ * 未被使用
69
+ */
70
+ rightBoundary: {
71
+ type: PropType<any>;
72
+ };
73
+ /**
74
+ * popover应用场景有提示、展示其他内容。
75
+ * 通常展示其他内容,不显示箭头。
76
+ * 提示通常展示箭头。
77
+ */
78
+ showArrow: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ title: {
83
+ type: StringConstructor;
84
+ };
85
+ visible: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ zIndex: {
90
+ type: NumberConstructor;
91
+ default: number;
92
+ };
93
+ /**
94
+ * 根据空间大小重新调整,原下拉面板内容指定的高度
95
+ */
96
+ limitContentBySpace: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ beforeClose: {
101
+ type: PropType<() => Promise<boolean> | boolean>;
102
+ };
103
+ };
104
+ export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
@@ -0,0 +1,17 @@
1
+ import { App } from '../../../vue';
2
+ import { JSX } from '../../../vue/jsx-runtime';
3
+
4
+ export interface PopoverServiceOptions {
5
+ reference: any;
6
+ popupHost: any;
7
+ popupRightBoundary: any;
8
+ popupOffsetX: any;
9
+ content?: {
10
+ render(): JSX.Element;
11
+ };
12
+ render?(): any;
13
+ onClickCallback?(): void;
14
+ }
15
+ export default class PopoverService {
16
+ static show(options: PopoverServiceOptions): App;
17
+ }
@@ -1,9 +1,9 @@
1
- import { Plugin } from 'vue';
2
- import { default as FXPrompts } from './src/prompts.component';
3
- import { default as FXPrompt } from './src/components/prompt.component';
1
+ import { Plugin } from '../../vue';
2
+ import { default as FXPrompts } from '../../src/prompts.component';
3
+ import { default as FXPrompt } from '../../src/components/prompt.component';
4
4
 
5
- export * from './src/prompts.props';
6
- export * from './src/components/prompt.props';
5
+ export * from '../../src/prompts.props';
6
+ export * from '../../src/components/prompt.props';
7
7
  export { FXPrompts, FXPrompt };
8
8
  declare const _default: typeof FXPrompts & Plugin;
9
9
  export default _default;
@@ -1,24 +1,24 @@
1
- import { VNode, CSSProperties } from 'vue';
1
+ import { VNode, CSSProperties } from '../../../../vue';
2
2
 
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ declare const _default: import('../../../../vue').DefineComponent<import('../../../../vue').ExtractPropTypes<{
4
4
  id: {
5
5
  type: (StringConstructor | NumberConstructor)[];
6
6
  default: string;
7
7
  };
8
8
  icon: {
9
- type: import('vue').PropType<string | VNode>;
9
+ type: import('../../../../vue').PropType<string | VNode>;
10
10
  default: string;
11
11
  };
12
12
  label: {
13
- type: import('vue').PropType<string | VNode>;
13
+ type: import('../../../../vue').PropType<string | VNode>;
14
14
  default: string;
15
15
  };
16
16
  description: {
17
- type: import('vue').PropType<string | VNode>;
17
+ type: import('../../../../vue').PropType<string | VNode>;
18
18
  default: string;
19
19
  };
20
20
  badge: {
21
- type: import('vue').PropType<string | VNode>;
21
+ type: import('../../../../vue').PropType<string | VNode>;
22
22
  default: string;
23
23
  };
24
24
  disabled: {
@@ -26,53 +26,53 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
26
26
  default: boolean;
27
27
  };
28
28
  children: {
29
- type: import('vue').PropType<import('../composition/type').BasePromptItemType[]>;
29
+ type: import('../../../../vue').PropType<import('../../../../../composition/type').BasePromptItemType[]>;
30
30
  default: () => never[];
31
31
  };
32
32
  styles: {
33
- type: import('vue').PropType<Record<import('../composition/type').AppearanceType, CSSProperties | string>>;
33
+ type: import('../../../../vue').PropType<Record<import('../../../../../composition/type').AppearanceType, CSSProperties | string>>;
34
34
  };
35
35
  classNames: {
36
- type: import('vue').PropType<Record<import('../composition/type').AppearanceType, string | string[] | Record<string, boolean>>>;
36
+ type: import('../../../../vue').PropType<Record<import('../../../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>>;
37
37
  };
38
38
  customClass: {
39
- type: import('vue').PropType<string | string[] | Record<string, boolean>>;
39
+ type: import('../../../../vue').PropType<string | string[] | Record<string, boolean>>;
40
40
  default: string;
41
41
  };
42
42
  customStyle: {
43
- type: import('vue').PropType<CSSProperties | string>;
43
+ type: import('../../../../vue').PropType<CSSProperties | string>;
44
44
  default: string;
45
45
  };
46
46
  showType: {
47
- type: import('vue').PropType<import('../composition/type').PromptShowType>;
48
- default: import('../composition/type').PromptShowType;
47
+ type: import('../../../../vue').PropType<import('../../../../../composition/type').PromptShowType>;
48
+ default: import('../../../../../composition/type').PromptShowType;
49
49
  };
50
50
  gap: {
51
51
  type: (StringConstructor | NumberConstructor)[];
52
52
  };
53
53
  onClick: {
54
- type: import('vue').PropType<(ev: MouseEvent) => void>;
54
+ type: import('../../../../vue').PropType<(ev: MouseEvent) => void>;
55
55
  required: boolean;
56
56
  };
57
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
57
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../../vue').ComponentOptionsMixin, import('../../../../vue').ComponentOptionsMixin, {}, string, import('../../../../vue').PublicProps, Readonly<import('../../../../vue').ExtractPropTypes<{
58
58
  id: {
59
59
  type: (StringConstructor | NumberConstructor)[];
60
60
  default: string;
61
61
  };
62
62
  icon: {
63
- type: import('vue').PropType<string | VNode>;
63
+ type: import('../../../../vue').PropType<string | VNode>;
64
64
  default: string;
65
65
  };
66
66
  label: {
67
- type: import('vue').PropType<string | VNode>;
67
+ type: import('../../../../vue').PropType<string | VNode>;
68
68
  default: string;
69
69
  };
70
70
  description: {
71
- type: import('vue').PropType<string | VNode>;
71
+ type: import('../../../../vue').PropType<string | VNode>;
72
72
  default: string;
73
73
  };
74
74
  badge: {
75
- type: import('vue').PropType<string | VNode>;
75
+ type: import('../../../../vue').PropType<string | VNode>;
76
76
  default: string;
77
77
  };
78
78
  disabled: {
@@ -80,52 +80,52 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
80
80
  default: boolean;
81
81
  };
82
82
  children: {
83
- type: import('vue').PropType<import('../composition/type').BasePromptItemType[]>;
83
+ type: import('../../../../vue').PropType<import('../../../../../composition/type').BasePromptItemType[]>;
84
84
  default: () => never[];
85
85
  };
86
86
  styles: {
87
- type: import('vue').PropType<Record<import('../composition/type').AppearanceType, CSSProperties | string>>;
87
+ type: import('../../../../vue').PropType<Record<import('../../../../../composition/type').AppearanceType, CSSProperties | string>>;
88
88
  };
89
89
  classNames: {
90
- type: import('vue').PropType<Record<import('../composition/type').AppearanceType, string | string[] | Record<string, boolean>>>;
90
+ type: import('../../../../vue').PropType<Record<import('../../../../../composition/type').AppearanceType, string | string[] | Record<string, boolean>>>;
91
91
  };
92
92
  customClass: {
93
- type: import('vue').PropType<string | string[] | Record<string, boolean>>;
93
+ type: import('../../../../vue').PropType<string | string[] | Record<string, boolean>>;
94
94
  default: string;
95
95
  };
96
96
  customStyle: {
97
- type: import('vue').PropType<CSSProperties | string>;
97
+ type: import('../../../../vue').PropType<CSSProperties | string>;
98
98
  default: string;
99
99
  };
100
100
  showType: {
101
- type: import('vue').PropType<import('../composition/type').PromptShowType>;
102
- default: import('../composition/type').PromptShowType;
101
+ type: import('../../../../vue').PropType<import('../../../../../composition/type').PromptShowType>;
102
+ default: import('../../../../../composition/type').PromptShowType;
103
103
  };
104
104
  gap: {
105
105
  type: (StringConstructor | NumberConstructor)[];
106
106
  };
107
107
  onClick: {
108
- type: import('vue').PropType<(ev: MouseEvent) => void>;
108
+ type: import('../../../../vue').PropType<(ev: MouseEvent) => void>;
109
109
  required: boolean;
110
110
  };
111
111
  }>> & Readonly<{}>, {
112
- label: string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
112
+ label: string | VNode<import('../../../../vue').RendererNode, import('../../../../vue').RendererElement, {
113
113
  [key: string]: any;
114
114
  }>;
115
115
  customClass: string | string[] | Record<string, boolean>;
116
- icon: string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
116
+ icon: string | VNode<import('../../../../vue').RendererNode, import('../../../../vue').RendererElement, {
117
117
  [key: string]: any;
118
118
  }>;
119
119
  id: string | number;
120
120
  customStyle: string | CSSProperties;
121
- children: import('../composition/type').BasePromptItemType[];
121
+ children: import('../../../../../composition/type').BasePromptItemType[];
122
122
  disabled: boolean;
123
- description: string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
123
+ description: string | VNode<import('../../../../vue').RendererNode, import('../../../../vue').RendererElement, {
124
124
  [key: string]: any;
125
125
  }>;
126
- showType: import('../composition/type').PromptShowType;
127
- badge: string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
126
+ showType: import('../../../../../composition/type').PromptShowType;
127
+ badge: string | VNode<import('../../../../vue').RendererNode, import('../../../../vue').RendererElement, {
128
128
  [key: string]: any;
129
129
  }>;
130
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
130
+ }, {}, {}, {}, string, import('../../../../vue').ComponentProvideOptions, true, {}, any>;
131
131
  export default _default;
@@ -1,5 +1,5 @@
1
- import { ExtractPropTypes, PropType, VNode, CSSProperties } from 'vue';
2
- import { AppearanceType, BasePromptItemType, PromptShowType } from '../composition/type';
1
+ import { ExtractPropTypes, PropType, VNode, CSSProperties } from '../../../../vue';
2
+ import { AppearanceType, BasePromptItemType, PromptShowType } from '../../../../../composition/type';
3
3
 
4
4
  export declare const promptProps: {
5
5
  /** 唯一标识 */
@@ -1,4 +1,4 @@
1
- import { VNode } from 'vue';
1
+ import { VNode } from '../../../../vue';
2
2
 
3
3
  export declare enum PromptShowType {
4
4
  standardFeatureCard = "standard-feature-card",
@@ -1,46 +1,46 @@
1
- import { PromptItemType } from './composition/type';
1
+ import { PromptItemType } from '../../../composition/type';
2
2
 
3
- declare const _default: import('vue').DefineComponent<{
4
- title: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
3
+ declare const _default: import('../../../vue').DefineComponent<{
4
+ title: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
5
5
  [key: string]: any;
6
6
  }>;
7
7
  items: PromptItemType[];
8
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>;
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
12
  gap: string | number;
13
- wrap: boolean;
14
13
  vertical: boolean;
14
+ wrap: boolean;
15
15
  fadeIn: boolean;
16
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, {
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
19
  [key: string]: any;
20
20
  }>;
21
21
  items: PromptItemType[];
22
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>;
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
26
  gap: string | number;
27
- wrap: boolean;
28
27
  vertical: boolean;
28
+ wrap: boolean;
29
29
  fadeIn: boolean;
30
30
  fadeInLeft: boolean;
31
31
  }> & Readonly<{}>, {
32
- title: string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
32
+ title: string | import('../../../vue').VNode<import('../../../vue').RendererNode, import('../../../vue').RendererElement, {
33
33
  [key: string]: any;
34
34
  }>;
35
35
  items: PromptItemType[];
36
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>;
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
40
  gap: string | number;
41
- wrap: boolean;
42
41
  vertical: boolean;
42
+ wrap: boolean;
43
43
  fadeIn: boolean;
44
44
  fadeInLeft: boolean;
45
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
+ }, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
46
46
  export default _default;
@@ -1,5 +1,5 @@
1
- import { ExtractPropTypes, PropType, VNode, CSSProperties } from 'vue';
2
- import { PromptItemType, AppearanceType } from './composition/type';
1
+ import { ExtractPropTypes, PropType, VNode, CSSProperties } from '../../../vue';
2
+ import { PromptItemType, AppearanceType } from '../../../composition/type';
3
3
 
4
4
  export declare const promptsProps: {
5
5
  /** 包含多个提示项的列表 */
@@ -0,0 +1,9 @@
1
+ import { Plugin } from '../../vue';
2
+ import { default as FXSearchBox } from '../../src/search-box.component';
3
+ import { default as FXSearchBoxContainer } from '../../src/components/search-box-container.component';
4
+
5
+ export * from '../../src/search-box.props';
6
+ export * from '../../src/components/search-box-container.props';
7
+ export { FXSearchBox, FXSearchBoxContainer };
8
+ declare const _default: typeof FXSearchBox & Plugin;
9
+ export default _default;
@@ -0,0 +1,26 @@
1
+ declare const _default: import('../../../../vue').DefineComponent<{
2
+ data: any[];
3
+ maxHeight: number;
4
+ loading: boolean;
5
+ idField: string;
6
+ textField: string;
7
+ onConfirmResult?: ((result: any) => void) | undefined;
8
+ onSearchedValue?: ((data: any) => void) | undefined;
9
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../../vue').ComponentOptionsMixin, import('../../../../vue').ComponentOptionsMixin, {}, "confirmResult" | "searchedValue", import('../../../../vue').PublicProps, Readonly<{
10
+ data: any[];
11
+ maxHeight: number;
12
+ loading: boolean;
13
+ idField: string;
14
+ textField: string;
15
+ onConfirmResult?: ((result: any) => void) | undefined;
16
+ onSearchedValue?: ((data: any) => void) | undefined;
17
+ }> & Readonly<{}>, {
18
+ data: any[];
19
+ maxHeight: number;
20
+ loading: boolean;
21
+ idField: string;
22
+ textField: string;
23
+ onConfirmResult: (result: any) => void;
24
+ onSearchedValue: (data: any) => void;
25
+ }, {}, {}, {}, string, import('../../../../vue').ComponentProvideOptions, true, {}, any>;
26
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { PropType } from '../../../../vue';
2
+
3
+ export declare const searchBoxContainerProps: {
4
+ /** 数据源 */
5
+ data: {
6
+ type: PropType<any[]>;
7
+ default: () => never[];
8
+ };
9
+ /** 确认结果回调 */
10
+ onConfirmResult: {
11
+ type: PropType<(result: any) => void>;
12
+ default: undefined;
13
+ };
14
+ /** 搜索值回调 */
15
+ onSearchedValue: {
16
+ type: PropType<(data: any) => void>;
17
+ default: undefined;
18
+ };
19
+ /** 数据源id字段 */
20
+ idField: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ /** 数据源文本字段 */
25
+ textField: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ /** 最大高度 */
30
+ maxHeight: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ };
34
+ /** 是否加载中 */
35
+ loading: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ };
40
+ export type SearchBoxContainerProps = import('../../../../vue').ExtractPropTypes<typeof searchBoxContainerProps>;
@@ -0,0 +1,40 @@
1
+ declare const _default: import('../../../vue').DefineComponent<{
2
+ data: any[];
3
+ customClass: string;
4
+ maxHeight: number;
5
+ loading: boolean;
6
+ modelValue: string;
7
+ disable: boolean;
8
+ idField: string;
9
+ buttonContent: string;
10
+ placeholder: string;
11
+ textField: string;
12
+ showDropdown: boolean;
13
+ popupHost?: any;
14
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, "change" | "update:modelValue" | "selectedValue" | "clickButton", import('../../../vue').PublicProps, Readonly<{
15
+ data: any[];
16
+ customClass: string;
17
+ maxHeight: number;
18
+ loading: boolean;
19
+ modelValue: string;
20
+ disable: boolean;
21
+ idField: string;
22
+ buttonContent: string;
23
+ placeholder: string;
24
+ textField: string;
25
+ showDropdown: boolean;
26
+ popupHost?: any;
27
+ }> & Readonly<{}>, {
28
+ data: any[];
29
+ customClass: string;
30
+ maxHeight: number;
31
+ loading: boolean;
32
+ modelValue: string;
33
+ disable: boolean;
34
+ idField: string;
35
+ buttonContent: string;
36
+ placeholder: string;
37
+ textField: string;
38
+ showDropdown: boolean;
39
+ }, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
40
+ export default _default;
@@ -0,0 +1,64 @@
1
+ import { PropType } from '../../../vue';
2
+
3
+ export declare const searchBoxProps: {
4
+ /** 自定义图标 */
5
+ buttonContent: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ /** 自定义样式类名 */
10
+ customClass: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ /** 组件初始搜索值 */
15
+ modelValue: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ /** 弹出层宿主元素 */
20
+ popupHost: {
21
+ type: PropType<any>;
22
+ };
23
+ /** 搜索框数据 */
24
+ data: {
25
+ type: PropType<any[]>;
26
+ default: () => never[];
27
+ };
28
+ /** 占位文本 */
29
+ placeholder: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ /** 数据源id字段 */
34
+ idField: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ /** 数据源文本字段 */
39
+ textField: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ /** 最大高度 */
44
+ maxHeight: {
45
+ type: NumberConstructor;
46
+ default: number;
47
+ };
48
+ /** 是否处于加载状态 */
49
+ loading: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ /** 是否禁用 */
54
+ disable: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ /** 是否展示搜索结果面板 */
59
+ showDropdown: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ };
64
+ export type SearchBoxProps = import('../../../vue').ExtractPropTypes<typeof searchBoxProps>;
@@ -0,0 +1,8 @@
1
+ import { Plugin } from '../../vue';
2
+ import { default as FXSplitter } from '../../src/splitter.component';
3
+ import { default as FXSplitterPane } from '../../src/components/splitter-pane.component';
4
+
5
+ export * from '../../src/splitter.props';
6
+ export { FXSplitter, FXSplitterPane };
7
+ declare const _default: typeof FXSplitter & Plugin;
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: import('../../../../vue').DefineComponent<{
2
+ [x: string]: /*elided*/ any;
3
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../../vue').ComponentOptionsMixin, import('../../../../vue').ComponentOptionsMixin, {}, never, import('../../../../vue').PublicProps, Readonly<{
4
+ [x: string]: /*elided*/ any;
5
+ }> & Readonly<{}>, {
6
+ [x: string]: any;
7
+ }, {}, {}, {}, string, import('../../../../vue').ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { ExtractPropTypes } from '../../../../vue';
2
+
3
+ export type SplitterPanePosition = 'left' | 'center' | 'right' | 'top' | 'bottom';
4
+ export declare const splitterPaneProps: Record<string, any>;
5
+ export type SplitterPanePropsType = ExtractPropTypes<typeof splitterPaneProps>;
@@ -0,0 +1,26 @@
1
+ import { Ref } from '../../../../vue';
2
+
3
+ export interface UseResizePane {
4
+ actualHeight: Ref<number>;
5
+ actualWidth: Ref<number>;
6
+ onClickSplitterHorizontalResizeBar: ($event: MouseEvent, position: string, element: HTMLElement) => any;
7
+ onClickSplitterVerticalResizeBar: ($event: MouseEvent, position: string, element: HTMLElement) => any;
8
+ }
9
+ export interface UseResizeHandle {
10
+ horizontalResizeBarPosition: Ref<number>;
11
+ horizontalResizeHandleOffset: Ref<number>;
12
+ showHorizontalResizeHandle: Ref<boolean>;
13
+ showVerticalResizeHandle: Ref<boolean>;
14
+ verticalResizeBarPosition: Ref<number>;
15
+ verticalResizeHandleOffset: Ref<number>;
16
+ horizontalResizeHandleStyle: Ref<Record<string, any>>;
17
+ verticalResizeHandleStyle: Ref<Record<string, any>>;
18
+ resizeOverlayStyle: Ref<Record<string, any>>;
19
+ draggingHorizontalResizeHandle: ($event: MouseEvent, maxWidth: number, minWidth: number, position: string) => void;
20
+ draggingVerticalResizeHandle: ($event: MouseEvent, maxHeight: number, minHeight: number, position: string) => void;
21
+ getPanelMaxWidth: (position: string, minWidth: number) => number | undefined;
22
+ getPanelMaxHeight: (position: string, minHeight: number) => number | undefined;
23
+ }
24
+ export interface SplitterContext {
25
+ useResizeHandleComposition: UseResizeHandle;
26
+ }
@@ -0,0 +1,4 @@
1
+ import { Ref } from '../../../../vue';
2
+ import { UseResizeHandle } from '../../../../types';
3
+
4
+ export declare function useResizeHandle(splitterElementRef: Ref<HTMLElement | undefined>): UseResizeHandle;
@@ -0,0 +1,4 @@
1
+ import { UseResizePane, UseResizeHandle } from '../../../../types';
2
+ import { SplitterPanePropsType } from '../../../../../components/splitter-pane.props';
3
+
4
+ export declare function useResizePane(props: SplitterPanePropsType, useResizeHandleComposition: UseResizeHandle): UseResizePane;