foggy-data-viewer 1.0.1-beta.40 → 1.0.1-beta.41

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.
@@ -106,6 +106,9 @@ declare function applyListViewState(state: ListViewState, options?: {
106
106
  declare function resetListViewState(options?: {
107
107
  reload?: boolean;
108
108
  }): void;
109
+ declare function clearAllFilterState(options?: {
110
+ suppressControlEvents?: boolean;
111
+ }): void;
109
112
  declare var __VLS_28: {}, __VLS_33: {}, __VLS_38: {}, __VLS_40: {}, __VLS_42: {
110
113
  row: Record<string, unknown>;
111
114
  column: EnhancedColumnSchema;
@@ -140,7 +143,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
140
143
  /** 重置 QueryPanel 并刷新筛选 */
141
144
  resetQueryPanel: typeof resetQueryPanel;
142
145
  /** 清空所有筛选 */
143
- clearAllFilters: () => void;
146
+ clearAllFilters: typeof clearAllFilterState;
144
147
  /** 获取合并后的筛选条件 */
145
148
  getMergedFilters: () => {
146
149
  field: string;
@@ -2,10 +2,16 @@ import type { EnhancedColumnSchema, ListPresetConfig, ListPresetDef, ListPresetV
2
2
  interface Props {
3
3
  config: ListPresetConfig;
4
4
  getState: () => ListViewState;
5
- applyState: (state: ListViewState) => void;
5
+ applyState: (state: ListViewState, options?: {
6
+ reload?: boolean;
7
+ }) => void;
6
8
  reload?: () => void | Promise<void>;
9
+ clearConditions?: () => void | Promise<void>;
7
10
  availableColumns?: EnhancedColumnSchema[];
11
+ lockedColumns?: string[];
12
+ requiredRuntimeColumns?: string[];
8
13
  }
14
+ type MoveEdge = 'top' | 'bottom';
9
15
  declare const form: import("vue").Ref<{
10
16
  title: string;
11
17
  description: string;
@@ -27,16 +33,24 @@ declare const form: import("vue").Ref<{
27
33
  }>;
28
34
  declare function openDialog(): void;
29
35
  declare function syncColumnDraftFromState(): void;
36
+ declare function moveVisibleColumn(index: number, direction: -1 | 1): void;
37
+ declare function moveVisibleColumnToEdge(index: number, edge: MoveEdge): void;
38
+ declare function moveColumn(index: number, direction: -1 | 1): void;
30
39
  declare function loadPresets(): Promise<void>;
31
40
  declare function applyPreset(preset: ListPresetDef): Promise<void>;
32
41
  declare function startEditPreset(preset: ListPresetDef): void;
33
42
  declare function cancelEdit(): void;
34
43
  declare function saveCurrentPreset(): Promise<void>;
35
44
  declare function overwritePreset(preset: ListPresetDef): Promise<void>;
45
+ declare function clearCurrentConditions(): Promise<void>;
36
46
  declare const _default: import("vue").DefineComponent<Props, {
37
47
  applyPreset: typeof applyPreset;
38
48
  cancelEdit: typeof cancelEdit;
49
+ clearCurrentConditions: typeof clearCurrentConditions;
39
50
  loadPresets: typeof loadPresets;
51
+ moveColumn: typeof moveColumn;
52
+ moveVisibleColumn: typeof moveVisibleColumn;
53
+ moveVisibleColumnToEdge: typeof moveVisibleColumnToEdge;
40
54
  openDialog: typeof openDialog;
41
55
  overwritePreset: typeof overwritePreset;
42
56
  saveCurrentPreset: typeof saveCurrentPreset;
@@ -93,6 +107,7 @@ declare const _default: import("vue").DefineComponent<Props, {
93
107
  getColumnDraft: () => {
94
108
  name: string;
95
109
  title?: string;
110
+ type?: string;
96
111
  visible: boolean;
97
112
  width?: number;
98
113
  minWidth?: number;