@robot-admin/naive-ui-components 0.17.5 → 0.18.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 (194) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/C_AntV.css +10 -10
  3. package/dist/C_AntV.d.cts +2 -2
  4. package/dist/C_AntV.d.ts +2 -2
  5. package/dist/C_AntV2.cjs +1 -1
  6. package/dist/C_AntV2.js +1 -1
  7. package/dist/C_Date.cjs +1 -1
  8. package/dist/C_Date.css +5 -5
  9. package/dist/C_Date.d.cts +18 -2
  10. package/dist/C_Date.d.ts +18 -2
  11. package/dist/C_Date.js +1 -1
  12. package/dist/C_Date2.cjs +1 -1
  13. package/dist/C_Date2.js +1 -1
  14. package/dist/C_Draggable.css +53 -53
  15. package/dist/C_Draggable.d.cts +2 -2
  16. package/dist/C_Draggable.d.ts +2 -2
  17. package/dist/C_Draggable2.cjs +1 -1
  18. package/dist/C_Draggable2.js +1 -1
  19. package/dist/C_Editor.d.cts +1 -1
  20. package/dist/C_Editor.d.ts +1 -1
  21. package/dist/C_FormModal.d.cts +1 -1
  22. package/dist/C_FormModal.d.ts +1 -1
  23. package/dist/C_FormSearch.cjs +1 -1
  24. package/dist/C_FormSearch.css +52 -52
  25. package/dist/C_FormSearch.d.cts +18 -2
  26. package/dist/C_FormSearch.d.ts +18 -2
  27. package/dist/C_FormSearch.js +1 -1
  28. package/dist/C_FormSearch2.cjs +1 -1
  29. package/dist/C_FormSearch2.js +1 -1
  30. package/dist/C_Guide.d.cts +1 -1
  31. package/dist/C_Guide.d.ts +1 -1
  32. package/dist/C_Icon.d.cts +1 -1
  33. package/dist/C_Icon.d.ts +1 -1
  34. package/dist/C_Language.d.cts +1 -1
  35. package/dist/C_Language.d.ts +1 -1
  36. package/dist/C_Loading.d.cts +1 -1
  37. package/dist/C_Loading.d.ts +1 -1
  38. package/dist/C_Login.d.cts +1 -1
  39. package/dist/C_Login.d.ts +1 -1
  40. package/dist/C_Markdown.d.cts +1 -1
  41. package/dist/C_Markdown.d.ts +1 -1
  42. package/dist/C_Menu.d.ts +1 -1
  43. package/dist/C_OrgChart.d.cts +1 -1
  44. package/dist/C_OrgChart.d.ts +1 -1
  45. package/dist/C_Progress.d.cts +1 -1
  46. package/dist/C_Progress.d.ts +1 -1
  47. package/dist/C_Skeleton.d.cts +1 -1
  48. package/dist/C_Skeleton.d.ts +1 -1
  49. package/dist/C_Steps.d.cts +1 -1
  50. package/dist/C_Steps.d.ts +1 -1
  51. package/dist/C_Table.base.css +144 -155
  52. package/dist/C_Table.css +144 -155
  53. package/dist/C_Table.d.cts +2 -2
  54. package/dist/C_Table.d.ts +6 -6
  55. package/dist/C_TagsView.d.cts +1 -1
  56. package/dist/C_TagsView.d.ts +1 -1
  57. package/dist/C_Theme.d.cts +1 -1
  58. package/dist/C_Theme.d.ts +1 -1
  59. package/dist/C_Time.cjs +1 -1
  60. package/dist/C_Time.css +4 -4
  61. package/dist/C_Time.d.cts +18 -2
  62. package/dist/C_Time.d.ts +18 -2
  63. package/dist/C_Time.js +1 -1
  64. package/dist/C_Time2.cjs +1 -1
  65. package/dist/C_Time2.js +1 -1
  66. package/dist/C_Timeline.d.cts +1 -1
  67. package/dist/C_Timeline.d.ts +1 -1
  68. package/dist/C_Transfer.css +26 -26
  69. package/dist/C_Transfer.d.cts +2 -2
  70. package/dist/C_Transfer.d.ts +2 -2
  71. package/dist/C_Transfer2.cjs +1 -1
  72. package/dist/C_Transfer2.js +1 -1
  73. package/dist/C_Tree.css +23 -23
  74. package/dist/C_Tree.d.ts +4 -4
  75. package/dist/C_Tree2.cjs +1 -1
  76. package/dist/C_Tree2.js +1 -1
  77. package/dist/C_VtableGantt.cjs +1 -1
  78. package/dist/C_VtableGantt.css +31 -31
  79. package/dist/C_VtableGantt.d.cts +18 -2
  80. package/dist/C_VtableGantt.d.ts +18 -2
  81. package/dist/C_VtableGantt.js +1 -1
  82. package/dist/C_WorkFlow.css +150 -150
  83. package/dist/C_WorkFlow.d.cts +2 -2
  84. package/dist/C_WorkFlow.d.ts +2 -2
  85. package/dist/C_WorkFlow2.cjs +1 -1
  86. package/dist/C_WorkFlow2.js +1 -1
  87. package/dist/constants3.d.cts +2 -2
  88. package/dist/constants3.d.ts +2 -2
  89. package/dist/constants4.d.cts +5 -5
  90. package/dist/constants4.d.ts +5 -5
  91. package/dist/constants5.d.cts +2 -2
  92. package/dist/constants5.d.ts +2 -2
  93. package/dist/data.d.cts +9 -9
  94. package/dist/data.d.ts +9 -9
  95. package/dist/dateRange.d.cts +197 -0
  96. package/dist/dateRange.d.ts +197 -0
  97. package/dist/graphics.cjs +1 -0
  98. package/dist/graphics.d.cts +837 -0
  99. package/dist/graphics.d.ts +837 -0
  100. package/dist/graphics.js +1 -0
  101. package/dist/index.cjs +1 -1
  102. package/dist/index.d.cts +47 -43
  103. package/dist/index.d.ts +47 -44
  104. package/dist/index.js +1 -1
  105. package/dist/index.vue.d.cts +4 -4
  106. package/dist/index.vue.d.ts +4 -4
  107. package/dist/index10.vue.d.cts +3 -3
  108. package/dist/index10.vue.d.ts +54 -69
  109. package/dist/index11.vue.d.cts +54 -69
  110. package/dist/index11.vue.d.ts +52 -58
  111. package/dist/index12.vue.d.cts +52 -58
  112. package/dist/index12.vue.d.ts +124 -50
  113. package/dist/index13.vue.d.cts +124 -50
  114. package/dist/index13.vue.d.ts +51 -123
  115. package/dist/index14.vue.d.cts +51 -123
  116. package/dist/index14.vue.d.ts +26 -52
  117. package/dist/index15.vue.d.cts +26 -52
  118. package/dist/index15.vue.d.ts +12 -26
  119. package/dist/index16.vue.d.cts +12 -26
  120. package/dist/index16.vue.d.ts +129 -13
  121. package/dist/index17.vue.d.cts +129 -13
  122. package/dist/index17.vue.d.ts +76 -129
  123. package/dist/index18.vue.d.cts +76 -129
  124. package/dist/index18.vue.d.ts +65 -75
  125. package/dist/index19.vue.d.cts +97 -75
  126. package/dist/index19.vue.d.ts +94 -62
  127. package/dist/index20.vue.d.cts +40 -91
  128. package/dist/index20.vue.d.ts +40 -91
  129. package/dist/index21.vue.d.cts +89 -40
  130. package/dist/index21.vue.d.ts +89 -40
  131. package/dist/index22.vue.d.cts +37 -95
  132. package/dist/index22.vue.d.ts +37 -95
  133. package/dist/index23.vue.d.cts +8 -34
  134. package/dist/index23.vue.d.ts +8 -34
  135. package/dist/index24.vue.d.cts +86 -9
  136. package/dist/index24.vue.d.ts +86 -9
  137. package/dist/index25.vue.d.cts +99 -654
  138. package/dist/index25.vue.d.ts +99 -654
  139. package/dist/index26.vue.d.cts +66 -87
  140. package/dist/index26.vue.d.ts +66 -87
  141. package/dist/index3.vue.d.cts +5 -5
  142. package/dist/index3.vue.d.ts +5 -5
  143. package/dist/index4.vue.d.cts +3 -3
  144. package/dist/index6.vue.d.ts +1 -1
  145. package/dist/index7.vue.d.cts +1 -1
  146. package/dist/index8.vue.d.ts +2 -2
  147. package/dist/index9.vue.d.cts +2 -2
  148. package/dist/index9.vue.d.ts +3 -3
  149. package/dist/mapUtils.d.cts +1 -1
  150. package/dist/mapUtils.d.ts +1 -1
  151. package/dist/presets.d.cts +1 -1
  152. package/dist/presets.d.ts +1 -1
  153. package/dist/style.css +499 -510
  154. package/dist/types.d.ts +51 -0
  155. package/dist/types2.d.cts +51 -0
  156. package/dist/useCalendarEvents.d.cts +3 -3
  157. package/dist/useCalendarEvents.d.ts +3 -3
  158. package/dist/useCollapsePanel.d.cts +7 -7
  159. package/dist/useCollapsePanel.d.ts +7 -7
  160. package/dist/useCropperCore.d.cts +7 -7
  161. package/dist/useCropperCore.d.ts +7 -7
  162. package/dist/useDraggableLayout.d.cts +94 -125
  163. package/dist/useDraggableLayout.d.ts +94 -125
  164. package/dist/useDynamicFormState.d.cts +24 -11
  165. package/dist/useDynamicFormState.d.ts +24 -11
  166. package/dist/useEdgeInteraction.d.cts +10 -5
  167. package/dist/useEdgeInteraction.d.ts +10 -5
  168. package/dist/useFullscreen.d.cts +3 -3
  169. package/dist/useFullscreen.d.ts +3 -3
  170. package/dist/useQRCode.d.cts +5 -5
  171. package/dist/useQRCode.d.ts +5 -5
  172. package/dist/useSignatureHistory.d.cts +5 -5
  173. package/dist/useSignatureHistory.d.ts +5 -5
  174. package/dist/useSplitResize.d.cts +6 -6
  175. package/dist/useSplitResize.d.ts +6 -6
  176. package/dist/useTableQuery.cjs +2 -2
  177. package/dist/useTableQuery.d.cts +475 -463
  178. package/dist/useTableQuery.d.ts +475 -463
  179. package/dist/useTableQuery.js +2 -2
  180. package/dist/useTimeSelection.d.cts +19 -52
  181. package/dist/useTimeSelection.d.ts +19 -52
  182. package/dist/useWorkflowValidation.d.cts +533 -154
  183. package/dist/useWorkflowValidation.d.ts +533 -154
  184. package/docs/guides/usage.en.md +15 -0
  185. package/docs/guides/usage.md +15 -0
  186. package/package.json +1 -1
  187. package/dist/C_VtableGantt2.cjs +0 -1
  188. package/dist/C_VtableGantt2.js +0 -1
  189. package/dist/index27.vue.d.cts +0 -111
  190. package/dist/index27.vue.d.ts +0 -111
  191. package/dist/index28.vue.d.cts +0 -84
  192. package/dist/index28.vue.d.ts +0 -84
  193. package/dist/useSearchState.d.cts +0 -163
  194. package/dist/useSearchState.d.ts +0 -163
@@ -1,163 +0,0 @@
1
- import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.cjs";
2
- import { t as ComponentDensity } from "./density.cjs";
3
- import * as vue from "vue";
4
- import { MaybeRefOrGetter, Ref } from "vue";
5
- import * as naive_ui0 from "naive-ui";
6
- import { FormInst, FormItemRule } from "naive-ui";
7
-
8
- //#region src/components/C_FormSearch/types.d.ts
9
- /** 搜索字段支持的控件类型 */
10
- type SearchFieldType = 'input' | 'select' | 'date-range' | 'spacer';
11
- interface SearchOptionItem {
12
- labelDefault?: string;
13
- label?: string;
14
- value?: string | number | boolean;
15
- disabled?: boolean;
16
- [key: string]: unknown;
17
- }
18
- interface SearchFormItem {
19
- type: SearchFieldType;
20
- prop: string;
21
- placeholder?: string;
22
- list?: SearchOptionItem[];
23
- hisList?: string[];
24
- isFocus?: boolean;
25
- show?: boolean;
26
- defaultValue?: unknown;
27
- attrs?: Record<string, unknown>;
28
- rules?: FormItemRule[];
29
- }
30
- interface SearchFormParams {
31
- pageNum?: number;
32
- pageSize?: number;
33
- [key: string]: unknown;
34
- }
35
- interface SearchConfig {
36
- /** 与 C_Form、C_Table 统一的布局密度,显式 size 和字段 attrs.size 优先。 */
37
- density?: ComponentDensity;
38
- foldThreshold?: number;
39
- historyMaxItems?: number;
40
- requireValue?: boolean;
41
- feedback?: ComponentFeedback;
42
- locale?: ComponentLocale;
43
- onSearch?: (params: SearchFormParams) => void | Promise<void>;
44
- }
45
- interface FormSearchProps {
46
- bordered?: boolean;
47
- formItemList: SearchFormItem[];
48
- /** @deprecated Use modelValue with v-model. */
49
- formParams?: SearchFormParams;
50
- modelValue?: SearchFormParams;
51
- formSearchInputHistoryString?: string;
52
- size?: 'small' | 'medium' | 'large';
53
- loading?: boolean;
54
- config?: SearchConfig;
55
- }
56
- interface FormSearchEmits {
57
- search: [params: SearchFormParams];
58
- reset: [params: SearchFormParams];
59
- 'change-params': [params: SearchFormParams];
60
- 'update:modelValue': [params: SearchFormParams];
61
- }
62
- //#endregion
63
- //#region src/components/C_FormSearch/index.vue.d.ts
64
- declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
65
- formRef: vue.Ref<naive_ui0.FormInst | null, naive_ui0.FormInst | null>;
66
- formParams: vue.Ref<{
67
- [x: string]: unknown;
68
- pageNum?: number | undefined;
69
- pageSize?: number | undefined;
70
- }, SearchFormParams | {
71
- [x: string]: unknown;
72
- pageNum?: number | undefined;
73
- pageSize?: number | undefined;
74
- }>;
75
- searchFn: () => Promise<boolean>;
76
- cleanFn: () => void;
77
- changeFoldState: () => void;
78
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
79
- search: (params: SearchFormParams) => any;
80
- "update:modelValue": (params: SearchFormParams) => any;
81
- reset: (params: SearchFormParams) => any;
82
- "change-params": (params: SearchFormParams) => any;
83
- }, string, vue.PublicProps, Readonly<FormSearchProps> & Readonly<{
84
- onSearch?: ((params: SearchFormParams) => any) | undefined;
85
- "onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
86
- onReset?: ((params: SearchFormParams) => any) | undefined;
87
- "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
88
- }>, {
89
- loading: boolean;
90
- bordered: boolean;
91
- formItemList: SearchFormItem[];
92
- formParams: SearchFormParams;
93
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
- declare const _default: typeof __VLS_export;
95
- //#endregion
96
- //#region src/components/C_FormSearch/composables/useSearchHistory.d.ts
97
- interface SearchHistoryOptions {
98
- storageKey?: string;
99
- maxItems?: number;
100
- }
101
- /**
102
- *
103
- */
104
- declare function useSearchHistory(fields: Ref<SearchFormItem[]>, formParams: Ref<SearchFormParams>, options?: MaybeRefOrGetter<SearchHistoryOptions>): {
105
- enabled: vue.ComputedRef<boolean>;
106
- handleFocus: (prop: string) => void;
107
- closeAllPanels: () => void;
108
- selectHistoryItem: (value: string, prop: string) => void;
109
- deleteHistoryItem: (prop: string, index: number) => void;
110
- clearAllHistory: (prop: string) => void;
111
- saveCurrentInputs: () => void;
112
- restoreFromStorage: () => void;
113
- };
114
- //#endregion
115
- //#region src/components/C_FormSearch/composables/useSearchState.d.ts
116
- interface UseSearchStateOptions {
117
- formItemList: SearchFormItem[];
118
- formParams: SearchFormParams;
119
- config?: MaybeRefOrGetter<SearchConfig | undefined>;
120
- loading?: MaybeRefOrGetter<boolean>;
121
- historyOptions?: MaybeRefOrGetter<SearchHistoryOptions>;
122
- }
123
- /**
124
- *
125
- */
126
- declare function useSearchState(emits: {
127
- (event: 'search', params: SearchFormParams): void;
128
- (event: 'reset', params: SearchFormParams): void;
129
- (event: 'change-params', params: SearchFormParams): void;
130
- (event: 'update:modelValue', params: SearchFormParams): void;
131
- }, options: UseSearchStateOptions): {
132
- formRef: Ref<FormInst | null, FormInst | null>;
133
- fields: Ref<SearchFormItem[], SearchFormItem[]>;
134
- formParams: Ref<{
135
- [x: string]: unknown;
136
- pageNum?: number | undefined;
137
- pageSize?: number | undefined;
138
- }, SearchFormParams | {
139
- [x: string]: unknown;
140
- pageNum?: number | undefined;
141
- pageSize?: number | undefined;
142
- }>;
143
- expanded: Ref<boolean, boolean>;
144
- searching: vue.ComputedRef<boolean>;
145
- visibleFields: vue.ComputedRef<SearchFormItem[]>;
146
- hasExpandButton: vue.ComputedRef<boolean>;
147
- history: {
148
- enabled: vue.ComputedRef<boolean>;
149
- handleFocus: (prop: string) => void;
150
- closeAllPanels: () => void;
151
- selectHistoryItem: (value: string, prop: string) => void;
152
- deleteHistoryItem: (prop: string, index: number) => void;
153
- clearAllHistory: (prop: string) => void;
154
- saveCurrentInputs: () => void;
155
- restoreFromStorage: () => void;
156
- };
157
- searchFn: () => Promise<boolean>;
158
- resetFn: () => void;
159
- toggleFold: () => void;
160
- syncFromProps: (newItems: SearchFormItem[], newParams: SearchFormParams) => void;
161
- };
162
- //#endregion
163
- export { FormSearchProps as a, SearchFormItem as c, FormSearchEmits as i, SearchFormParams as l, useSearchHistory as n, SearchConfig as o, _default as r, SearchFieldType as s, useSearchState as t, SearchOptionItem as u };
@@ -1,163 +0,0 @@
1
- import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.js";
2
- import { t as ComponentDensity } from "./density.js";
3
- import * as vue from "vue";
4
- import { MaybeRefOrGetter, Ref } from "vue";
5
- import * as naive_ui0 from "naive-ui";
6
- import { FormInst, FormItemRule } from "naive-ui";
7
-
8
- //#region src/components/C_FormSearch/types.d.ts
9
- /** 搜索字段支持的控件类型 */
10
- type SearchFieldType = 'input' | 'select' | 'date-range' | 'spacer';
11
- interface SearchOptionItem {
12
- labelDefault?: string;
13
- label?: string;
14
- value?: string | number | boolean;
15
- disabled?: boolean;
16
- [key: string]: unknown;
17
- }
18
- interface SearchFormItem {
19
- type: SearchFieldType;
20
- prop: string;
21
- placeholder?: string;
22
- list?: SearchOptionItem[];
23
- hisList?: string[];
24
- isFocus?: boolean;
25
- show?: boolean;
26
- defaultValue?: unknown;
27
- attrs?: Record<string, unknown>;
28
- rules?: FormItemRule[];
29
- }
30
- interface SearchFormParams {
31
- pageNum?: number;
32
- pageSize?: number;
33
- [key: string]: unknown;
34
- }
35
- interface SearchConfig {
36
- /** 与 C_Form、C_Table 统一的布局密度,显式 size 和字段 attrs.size 优先。 */
37
- density?: ComponentDensity;
38
- foldThreshold?: number;
39
- historyMaxItems?: number;
40
- requireValue?: boolean;
41
- feedback?: ComponentFeedback;
42
- locale?: ComponentLocale;
43
- onSearch?: (params: SearchFormParams) => void | Promise<void>;
44
- }
45
- interface FormSearchProps {
46
- bordered?: boolean;
47
- formItemList: SearchFormItem[];
48
- /** @deprecated Use modelValue with v-model. */
49
- formParams?: SearchFormParams;
50
- modelValue?: SearchFormParams;
51
- formSearchInputHistoryString?: string;
52
- size?: 'small' | 'medium' | 'large';
53
- loading?: boolean;
54
- config?: SearchConfig;
55
- }
56
- interface FormSearchEmits {
57
- search: [params: SearchFormParams];
58
- reset: [params: SearchFormParams];
59
- 'change-params': [params: SearchFormParams];
60
- 'update:modelValue': [params: SearchFormParams];
61
- }
62
- //#endregion
63
- //#region src/components/C_FormSearch/index.vue.d.ts
64
- declare const __VLS_export: vue.DefineComponent<FormSearchProps, {
65
- formRef: vue.Ref<naive_ui0.FormInst | null, naive_ui0.FormInst | null>;
66
- formParams: vue.Ref<{
67
- [x: string]: unknown;
68
- pageNum?: number | undefined;
69
- pageSize?: number | undefined;
70
- }, SearchFormParams | {
71
- [x: string]: unknown;
72
- pageNum?: number | undefined;
73
- pageSize?: number | undefined;
74
- }>;
75
- searchFn: () => Promise<boolean>;
76
- cleanFn: () => void;
77
- changeFoldState: () => void;
78
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
79
- search: (params: SearchFormParams) => any;
80
- "update:modelValue": (params: SearchFormParams) => any;
81
- reset: (params: SearchFormParams) => any;
82
- "change-params": (params: SearchFormParams) => any;
83
- }, string, vue.PublicProps, Readonly<FormSearchProps> & Readonly<{
84
- onSearch?: ((params: SearchFormParams) => any) | undefined;
85
- "onUpdate:modelValue"?: ((params: SearchFormParams) => any) | undefined;
86
- onReset?: ((params: SearchFormParams) => any) | undefined;
87
- "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
88
- }>, {
89
- loading: boolean;
90
- bordered: boolean;
91
- formItemList: SearchFormItem[];
92
- formParams: SearchFormParams;
93
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
- declare const _default: typeof __VLS_export;
95
- //#endregion
96
- //#region src/components/C_FormSearch/composables/useSearchHistory.d.ts
97
- interface SearchHistoryOptions {
98
- storageKey?: string;
99
- maxItems?: number;
100
- }
101
- /**
102
- *
103
- */
104
- declare function useSearchHistory(fields: Ref<SearchFormItem[]>, formParams: Ref<SearchFormParams>, options?: MaybeRefOrGetter<SearchHistoryOptions>): {
105
- enabled: vue.ComputedRef<boolean>;
106
- handleFocus: (prop: string) => void;
107
- closeAllPanels: () => void;
108
- selectHistoryItem: (value: string, prop: string) => void;
109
- deleteHistoryItem: (prop: string, index: number) => void;
110
- clearAllHistory: (prop: string) => void;
111
- saveCurrentInputs: () => void;
112
- restoreFromStorage: () => void;
113
- };
114
- //#endregion
115
- //#region src/components/C_FormSearch/composables/useSearchState.d.ts
116
- interface UseSearchStateOptions {
117
- formItemList: SearchFormItem[];
118
- formParams: SearchFormParams;
119
- config?: MaybeRefOrGetter<SearchConfig | undefined>;
120
- loading?: MaybeRefOrGetter<boolean>;
121
- historyOptions?: MaybeRefOrGetter<SearchHistoryOptions>;
122
- }
123
- /**
124
- *
125
- */
126
- declare function useSearchState(emits: {
127
- (event: 'search', params: SearchFormParams): void;
128
- (event: 'reset', params: SearchFormParams): void;
129
- (event: 'change-params', params: SearchFormParams): void;
130
- (event: 'update:modelValue', params: SearchFormParams): void;
131
- }, options: UseSearchStateOptions): {
132
- formRef: Ref<FormInst | null, FormInst | null>;
133
- fields: Ref<SearchFormItem[], SearchFormItem[]>;
134
- formParams: Ref<{
135
- [x: string]: unknown;
136
- pageNum?: number | undefined;
137
- pageSize?: number | undefined;
138
- }, SearchFormParams | {
139
- [x: string]: unknown;
140
- pageNum?: number | undefined;
141
- pageSize?: number | undefined;
142
- }>;
143
- expanded: Ref<boolean, boolean>;
144
- searching: vue.ComputedRef<boolean>;
145
- visibleFields: vue.ComputedRef<SearchFormItem[]>;
146
- hasExpandButton: vue.ComputedRef<boolean>;
147
- history: {
148
- enabled: vue.ComputedRef<boolean>;
149
- handleFocus: (prop: string) => void;
150
- closeAllPanels: () => void;
151
- selectHistoryItem: (value: string, prop: string) => void;
152
- deleteHistoryItem: (prop: string, index: number) => void;
153
- clearAllHistory: (prop: string) => void;
154
- saveCurrentInputs: () => void;
155
- restoreFromStorage: () => void;
156
- };
157
- searchFn: () => Promise<boolean>;
158
- resetFn: () => void;
159
- toggleFold: () => void;
160
- syncFromProps: (newItems: SearchFormItem[], newParams: SearchFormParams) => void;
161
- };
162
- //#endregion
163
- export { FormSearchProps as a, SearchFormItem as c, FormSearchEmits as i, SearchFormParams as l, useSearchHistory as n, SearchConfig as o, _default as r, SearchFieldType as s, useSearchState as t, SearchOptionItem as u };