@farris/x-ui 0.3.7 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/x-ui",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "可复用的 AI 对话组件",
5
5
  "type": "module",
6
6
  "main": "./farris.x-ui.umd.cjs",
@@ -4,6 +4,8 @@ declare const _default: import('../../../../vue').DefineComponent<{
4
4
  loading: boolean;
5
5
  idField: string;
6
6
  textField: string;
7
+ itemClass: string;
8
+ enableHighlight: boolean;
7
9
  onConfirmResult?: ((result: any) => void) | undefined;
8
10
  onSearchedValue?: ((data: any) => void) | undefined;
9
11
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../../vue').ComponentOptionsMixin, import('../../../../vue').ComponentOptionsMixin, {}, "confirmResult" | "searchedValue", import('../../../../vue').PublicProps, Readonly<{
@@ -12,6 +14,8 @@ declare const _default: import('../../../../vue').DefineComponent<{
12
14
  loading: boolean;
13
15
  idField: string;
14
16
  textField: string;
17
+ itemClass: string;
18
+ enableHighlight: boolean;
15
19
  onConfirmResult?: ((result: any) => void) | undefined;
16
20
  onSearchedValue?: ((data: any) => void) | undefined;
17
21
  }> & Readonly<{}>, {
@@ -20,7 +24,9 @@ declare const _default: import('../../../../vue').DefineComponent<{
20
24
  loading: boolean;
21
25
  idField: string;
22
26
  textField: string;
27
+ itemClass: string;
23
28
  onConfirmResult: (result: any) => void;
24
29
  onSearchedValue: (data: any) => void;
30
+ enableHighlight: boolean;
25
31
  }, {}, {}, {}, string, import('../../../../vue').ComponentProvideOptions, true, {}, any>;
26
32
  export default _default;
@@ -36,5 +36,15 @@ export declare const searchBoxContainerProps: {
36
36
  type: BooleanConstructor;
37
37
  default: boolean;
38
38
  };
39
+ /** 是否启用搜索关键词高亮 */
40
+ enableHighlight: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ /** 下拉面板项的自定义样式类名 */
45
+ itemClass: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
39
49
  };
40
50
  export type SearchBoxContainerProps = import('../../../../vue').ExtractPropTypes<typeof searchBoxContainerProps>;
@@ -10,6 +10,8 @@ declare const _default: import('../../../vue').DefineComponent<{
10
10
  placeholder: string;
11
11
  textField: string;
12
12
  showDropdown: boolean;
13
+ itemClass: string;
14
+ dropdownClass: string;
13
15
  popupHost?: any;
14
16
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../../vue').ComponentOptionsMixin, import('../../../vue').ComponentOptionsMixin, {}, "change" | "update:modelValue" | "selectedValue" | "clickButton", import('../../../vue').PublicProps, Readonly<{
15
17
  data: any[];
@@ -23,6 +25,8 @@ declare const _default: import('../../../vue').DefineComponent<{
23
25
  placeholder: string;
24
26
  textField: string;
25
27
  showDropdown: boolean;
28
+ itemClass: string;
29
+ dropdownClass: string;
26
30
  popupHost?: any;
27
31
  }> & Readonly<{}>, {
28
32
  data: any[];
@@ -36,5 +40,7 @@ declare const _default: import('../../../vue').DefineComponent<{
36
40
  placeholder: string;
37
41
  textField: string;
38
42
  showDropdown: boolean;
43
+ itemClass: string;
44
+ dropdownClass: string;
39
45
  }, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
40
46
  export default _default;
@@ -60,5 +60,15 @@ export declare const searchBoxProps: {
60
60
  type: BooleanConstructor;
61
61
  default: boolean;
62
62
  };
63
+ /** 下拉面板项的自定义样式类名 */
64
+ itemClass: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ /** 下拉面板的自定义样式类名 */
69
+ dropdownClass: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
63
73
  };
64
74
  export type SearchBoxProps = import('../../../vue').ExtractPropTypes<typeof searchBoxProps>;