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

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.
@@ -109,23 +109,23 @@ declare function resetListViewState(options?: {
109
109
  declare function clearAllFilterState(options?: {
110
110
  suppressControlEvents?: boolean;
111
111
  }): void;
112
- declare var __VLS_28: {}, __VLS_33: {}, __VLS_38: {}, __VLS_40: {}, __VLS_42: {
112
+ declare var __VLS_28: {}, __VLS_33: {}, __VLS_97: {}, __VLS_99: {}, __VLS_101: {
113
113
  row: Record<string, unknown>;
114
114
  column: EnhancedColumnSchema;
115
115
  value: unknown;
116
- }, __VLS_45: string, __VLS_46: any;
116
+ }, __VLS_104: string, __VLS_105: any;
117
117
  type __VLS_Slots = {} & {
118
- [K in NonNullable<typeof __VLS_45>]?: (props: typeof __VLS_46) => any;
118
+ [K in NonNullable<typeof __VLS_104>]?: (props: typeof __VLS_105) => any;
119
119
  } & {
120
120
  toolbar?: (props: typeof __VLS_28) => any;
121
121
  } & {
122
122
  'toolbar-right'?: (props: typeof __VLS_33) => any;
123
123
  } & {
124
- footer?: (props: typeof __VLS_38) => any;
124
+ footer?: (props: typeof __VLS_97) => any;
125
125
  } & {
126
- empty?: (props: typeof __VLS_40) => any;
126
+ empty?: (props: typeof __VLS_99) => any;
127
127
  } & {
128
- 'row-actions'?: (props: typeof __VLS_42) => any;
128
+ 'row-actions'?: (props: typeof __VLS_101) => any;
129
129
  };
130
130
  declare const __VLS_component: import("vue").DefineComponent<Props, {
131
131
  /** 获取 SearchToolbar 实例 */
@@ -231,6 +231,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
231
231
  showSearchActions: boolean;
232
232
  filterMergeMode: "replace" | "merge";
233
233
  showQueryPanel: boolean;
234
+ enableSavedQuery: boolean;
235
+ listPreset: any;
234
236
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
235
237
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
236
238
  export default _default;
@@ -10,6 +10,7 @@ interface Props {
10
10
  availableColumns?: EnhancedColumnSchema[];
11
11
  lockedColumns?: string[];
12
12
  requiredRuntimeColumns?: string[];
13
+ triggerMode?: 'button' | 'none';
13
14
  }
14
15
  type MoveEdge = 'top' | 'bottom';
15
16
  declare const form: import("vue").Ref<{
@@ -32,6 +33,8 @@ declare const form: import("vue").Ref<{
32
33
  saveQueryConditions: boolean;
33
34
  }>;
34
35
  declare function openDialog(): void;
36
+ declare function openLoadDialog(): void;
37
+ declare function openSaveDialog(): void;
35
38
  declare function syncColumnDraftFromState(): void;
36
39
  declare function moveVisibleColumn(index: number, direction: -1 | 1): void;
37
40
  declare function moveVisibleColumnToEdge(index: number, edge: MoveEdge): void;
@@ -52,6 +55,8 @@ declare const _default: import("vue").DefineComponent<Props, {
52
55
  moveVisibleColumn: typeof moveVisibleColumn;
53
56
  moveVisibleColumnToEdge: typeof moveVisibleColumnToEdge;
54
57
  openDialog: typeof openDialog;
58
+ openLoadDialog: typeof openLoadDialog;
59
+ openSaveDialog: typeof openSaveDialog;
55
60
  overwritePreset: typeof overwritePreset;
56
61
  saveCurrentPreset: typeof saveCurrentPreset;
57
62
  startEditPreset: typeof startEditPreset;
@@ -108,6 +113,10 @@ declare const _default: import("vue").DefineComponent<Props, {
108
113
  name: string;
109
114
  title?: string;
110
115
  type?: string;
116
+ groupKey?: string;
117
+ groupTitle?: string;
118
+ groupOrder?: number;
119
+ category?: string;
111
120
  visible: boolean;
112
121
  width?: number;
113
122
  minWidth?: number;
package/dist/index.d.ts CHANGED
@@ -14,7 +14,6 @@ export { default as PivotEvidencePanel } from './components/PivotEvidencePanel.v
14
14
  export { default as ListPresetManager } from './components/list-preset/ListPresetManager.vue';
15
15
  export type { QueryFieldSchema, QueryPanelLayoutSchema, QueryPanelExpose, QuerySchema } from './components/QueryPanel.vue';
16
16
  export * from './components/filters';
17
- export * from './components/saved-query';
18
17
  export * from './components/composables';
19
18
  export { buildTableColumns, calculateColumnWidth } from './utils/schemaHelper';
20
19
  export { buildPivotGridColumns, flattenPivotLeafNodes, validatePivotHeaderTree } from './utils/pivotHeaderTree';
@@ -22,8 +21,6 @@ export { buildPivotCellField, toPivotViewModel } from './utils/pivotViewModelAda
22
21
  export type { BuildPivotGridColumnsOptions, PivotGridColumn, PivotHeaderValidationResult } from './utils/pivotHeaderTree';
23
22
  export { createQuery, fetchQueryMeta, fetchQueryData, fetchFilterOptions, fetchQmSchema, fetchQueryDataDirect, fetchFrontendMeta, fetchMemberOptions } from './api/viewer';
24
23
  export type { QueryPayload, CreateQueryRequest, CreateQueryResponse } from './api/viewer';
25
- export { saveQuery, listSavedQueries, getSavedQuery, updateSavedQuery, deleteSavedQuery, applySavedQuery } from './api/savedQuery';
26
- export type { SavedQueryDef, SaveQueryRequest, QueryVisibility } from './api/savedQuery';
27
24
  export { listPresets, getDefaultListPreset, createListPreset, getListPreset, updateListPreset, deleteListPreset, setDefaultListPreset, clearDefaultListPreset } from './api/listPreset';
28
25
  export type { ListPresetScope, SaveListPresetRequest, UpdateListPresetRequest } from './api/listPreset';
29
26
  export { getTableDefaultQueryConfig } from './api/tableDefaultQueryConfig';