@affino/datagrid-vue-app 0.1.49 → 0.1.50
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/README.md +52 -1
- package/dist/DataGrid.d.ts +14 -0
- package/dist/chunks/{DataGridGanttStageEntry-BwdBiQkI.js → DataGridGanttStageEntry-DQBFS3-m.js} +68 -0
- package/dist/chunks/DataGridQuickFilterInput-TYJI9vo6.js +60 -0
- package/dist/chunks/{useDataGridAppRowModel-DV-_lFKE.js → useDataGridAppRowModel-BCi5miT8.js} +2120 -2069
- package/dist/config/dataGridQuickFilter.d.ts +14 -0
- package/dist/dataGridQuickFilter.d.ts +1 -0
- package/dist/gantt.js +1 -1
- package/dist/host/DataGridDefaultRenderer.d.ts +9 -0
- package/dist/host/DataGridQuickFilterInput.d.ts +48 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +457 -421
- package/dist/internal.js +2 -2
- package/dist/overlays/DataGridAdvancedFilterPopover.vue.d.ts +1 -1
- package/dist/overlays/DataGridAggregationsPopover.vue.d.ts +2 -2
- package/dist/overlays/DataGridColumnLayoutPopover.vue.d.ts +1 -1
- package/dist/quick-filter.d.ts +2 -0
- package/dist/quick-filter.js +4 -0
- package/package.json +7 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DataGridQuickFilterMode } from "@affino/datagrid-vue";
|
|
2
|
+
export interface DataGridQuickFilterOptions {
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
columns?: readonly string[];
|
|
5
|
+
mode?: DataGridQuickFilterMode;
|
|
6
|
+
}
|
|
7
|
+
export type DataGridQuickFilterProp = boolean | DataGridQuickFilterOptions | null;
|
|
8
|
+
export interface DataGridResolvedQuickFilterOptions {
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
columns: readonly string[] | null;
|
|
12
|
+
mode: DataGridQuickFilterMode;
|
|
13
|
+
}
|
|
14
|
+
export declare function resolveDataGridQuickFilter(input: DataGridQuickFilterProp | undefined): DataGridResolvedQuickFilterOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./config/dataGridQuickFilter";
|
package/dist/gantt.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as t } from "./chunks/DataGridGanttStageEntry-
|
|
1
|
+
import { D as t } from "./chunks/DataGridGanttStageEntry-DQBFS3-m.js";
|
|
2
2
|
import { buildDataGridTimelineRenderModels as r, normalizeDataGridGanttOptions as n, resolveDataGridTimelineRange as o } from "@affino/datagrid-gantt";
|
|
3
3
|
export {
|
|
4
4
|
t as DataGridGanttStage,
|
|
@@ -3,6 +3,7 @@ import type { DataGridColumnSnapshot, DataGridFilterSnapshot, DataGridGroupBySpe
|
|
|
3
3
|
import { type GridSelectionPointLike, type DataGridRowId, type DataGridRowSelectionSnapshot } from "@affino/datagrid-vue";
|
|
4
4
|
import { type DataGridAppInspectorPanel, type DataGridAppToolbarModule } from "./DataGridModuleHost";
|
|
5
5
|
import { type DataGridAdvancedFilterOptions } from "../config/dataGridAdvancedFilter";
|
|
6
|
+
import type { DataGridResolvedQuickFilterOptions } from "../config/dataGridQuickFilter";
|
|
6
7
|
import type { DataGridAggregationsOptions } from "../config/dataGridAggregations";
|
|
7
8
|
import type { DataGridFindReplaceOptions } from "../config/dataGridFindReplace";
|
|
8
9
|
import type { DataGridGridLinesOptions } from "../config/dataGridGridLines";
|
|
@@ -165,6 +166,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
166
|
type: PropType<DataGridAdvancedFilterOptions>;
|
|
166
167
|
required: true;
|
|
167
168
|
};
|
|
169
|
+
quickFilter: {
|
|
170
|
+
type: PropType<DataGridResolvedQuickFilterOptions>;
|
|
171
|
+
required: true;
|
|
172
|
+
};
|
|
168
173
|
findReplace: {
|
|
169
174
|
type: PropType<DataGridFindReplaceOptions>;
|
|
170
175
|
required: true;
|
|
@@ -416,6 +421,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
416
421
|
type: PropType<DataGridAdvancedFilterOptions>;
|
|
417
422
|
required: true;
|
|
418
423
|
};
|
|
424
|
+
quickFilter: {
|
|
425
|
+
type: PropType<DataGridResolvedQuickFilterOptions>;
|
|
426
|
+
required: true;
|
|
427
|
+
};
|
|
419
428
|
findReplace: {
|
|
420
429
|
type: PropType<DataGridFindReplaceOptions>;
|
|
421
430
|
required: true;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type PropType, type VNode } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
placeholder: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
active: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
onUpdateValue: {
|
|
16
|
+
type: PropType<(value: string) => void>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
onClear: {
|
|
20
|
+
type: PropType<() => void>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}, () => VNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
value: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
active: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
onUpdateValue: {
|
|
37
|
+
type: PropType<(value: string) => void>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
onClear: {
|
|
41
|
+
type: PropType<() => void>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
}>>, {
|
|
45
|
+
value: string;
|
|
46
|
+
active: boolean;
|
|
47
|
+
}, {}>;
|
|
48
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type { DataGridTableStageHistoryAdapter, } from "./stage/useDataGridTable
|
|
|
15
15
|
export type { DataGridTableStageCustomOverlay, } from "./stage/dataGridTableStage.types";
|
|
16
16
|
export type { DataGridThemePreset, DataGridThemeProp, } from "./theme/dataGridTheme";
|
|
17
17
|
export type { DataGridAdvancedFilterLabels, DataGridAdvancedFilterOperatorLabelKey, DataGridAdvancedFilterOptions, DataGridAdvancedFilterProp, DataGridResolvedAdvancedFilterLabels, } from "./config/dataGridAdvancedFilter";
|
|
18
|
+
export type { DataGridQuickFilterOptions, DataGridQuickFilterProp, DataGridResolvedQuickFilterOptions, } from "./config/dataGridQuickFilter";
|
|
18
19
|
export type { DataGridFindReplaceOptions, DataGridFindReplaceProp, } from "./config/dataGridFindReplace";
|
|
19
20
|
export type { DataGridGridLinesHeaderMode, DataGridGridLinesOptions, DataGridGridLinesPreset, DataGridGridLinesProp, } from "./config/dataGridGridLines";
|
|
20
21
|
export type { DataGridSavedViewSnapshot, DataGridSavedViewStorageLike, } from "./config/dataGridSavedView";
|