@servicetitan/table 22.1.0 → 22.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/demo/index.d.ts +4 -0
- package/dist/demo/index.d.ts.map +1 -0
- package/dist/demo/index.js +4 -0
- package/dist/demo/index.js.map +1 -0
- package/dist/demo/master-detail/detail-table.d.ts +4 -0
- package/dist/demo/master-detail/detail-table.d.ts.map +1 -0
- package/dist/demo/master-detail/detail-table.js +28 -0
- package/dist/demo/master-detail/detail-table.js.map +1 -0
- package/dist/demo/master-detail/detail-table.store.d.ts +14 -0
- package/dist/demo/master-detail/detail-table.store.d.ts.map +1 -0
- package/dist/demo/master-detail/detail-table.store.js +104 -0
- package/dist/demo/master-detail/detail-table.store.js.map +1 -0
- package/dist/demo/master-detail/index.d.ts +2 -0
- package/dist/demo/master-detail/index.d.ts.map +1 -0
- package/dist/demo/master-detail/index.js +2 -0
- package/dist/demo/master-detail/index.js.map +1 -0
- package/dist/demo/master-detail/master-table.store.d.ts +14 -0
- package/dist/demo/master-detail/master-table.store.d.ts.map +1 -0
- package/dist/demo/master-detail/master-table.store.js +103 -0
- package/dist/demo/master-detail/master-table.store.js.map +1 -0
- package/dist/demo/master-detail/product-detail.d.ts +8 -0
- package/dist/demo/master-detail/product-detail.d.ts.map +1 -0
- package/dist/demo/master-detail/product-detail.js +2 -0
- package/dist/demo/master-detail/product-detail.js.map +1 -0
- package/dist/demo/master-detail/product-details.d.ts +3 -0
- package/dist/demo/master-detail/product-details.d.ts.map +1 -0
- package/dist/demo/master-detail/product-details.js +55 -0
- package/dist/demo/master-detail/product-details.js.map +1 -0
- package/dist/demo/master-detail/product.d.ts +26 -0
- package/dist/demo/master-detail/product.d.ts.map +1 -0
- package/dist/demo/master-detail/product.js +16 -0
- package/dist/demo/master-detail/product.js.map +1 -0
- package/dist/demo/master-detail/products.d.ts +3 -0
- package/dist/demo/master-detail/products.d.ts.map +1 -0
- package/dist/demo/master-detail/products.js +117 -0
- package/dist/demo/master-detail/products.js.map +1 -0
- package/dist/demo/master-detail/table-master-detail.d.ts +3 -0
- package/dist/demo/master-detail/table-master-detail.d.ts.map +1 -0
- package/dist/demo/master-detail/table-master-detail.js +24 -0
- package/dist/demo/master-detail/table-master-detail.js.map +1 -0
- package/dist/demo/overview/actions-cell.d.ts +5 -0
- package/dist/demo/overview/actions-cell.d.ts.map +1 -0
- package/dist/demo/overview/actions-cell.js +38 -0
- package/dist/demo/overview/actions-cell.js.map +1 -0
- package/dist/demo/overview/index.d.ts +2 -0
- package/dist/demo/overview/index.d.ts.map +1 -0
- package/dist/demo/overview/index.js +2 -0
- package/dist/demo/overview/index.js.map +1 -0
- package/dist/demo/overview/product.d.ts +27 -0
- package/dist/demo/overview/product.d.ts.map +1 -0
- package/dist/demo/overview/product.js +16 -0
- package/dist/demo/overview/product.js.map +1 -0
- package/dist/demo/overview/products.d.ts +3 -0
- package/dist/demo/overview/products.d.ts.map +1 -0
- package/dist/demo/overview/products.js +127 -0
- package/dist/demo/overview/products.js.map +1 -0
- package/dist/demo/overview/table.d.ts +6 -0
- package/dist/demo/overview/table.d.ts.map +1 -0
- package/dist/demo/overview/table.js +44 -0
- package/dist/demo/overview/table.js.map +1 -0
- package/dist/demo/overview/table.store.d.ts +15 -0
- package/dist/demo/overview/table.store.d.ts.map +1 -0
- package/dist/demo/overview/table.store.js +92 -0
- package/dist/demo/overview/table.store.js.map +1 -0
- package/dist/demo/state-caching/beverages.d.ts +3 -0
- package/dist/demo/state-caching/beverages.d.ts.map +1 -0
- package/dist/demo/state-caching/beverages.js +48 -0
- package/dist/demo/state-caching/beverages.js.map +1 -0
- package/dist/demo/state-caching/index.d.ts +2 -0
- package/dist/demo/state-caching/index.d.ts.map +1 -0
- package/dist/demo/state-caching/index.js +2 -0
- package/dist/demo/state-caching/index.js.map +1 -0
- package/dist/demo/state-caching/product.d.ts +6 -0
- package/dist/demo/state-caching/product.d.ts.map +1 -0
- package/dist/demo/state-caching/product.js +2 -0
- package/dist/demo/state-caching/product.js.map +1 -0
- package/dist/demo/state-caching/products.d.ts +3 -0
- package/dist/demo/state-caching/products.d.ts.map +1 -0
- package/dist/demo/state-caching/products.js +53 -0
- package/dist/demo/state-caching/products.js.map +1 -0
- package/dist/demo/state-caching/state-caching-table.d.ts +3 -0
- package/dist/demo/state-caching/state-caching-table.d.ts.map +1 -0
- package/dist/demo/state-caching/state-caching-table.js +14 -0
- package/dist/demo/state-caching/state-caching-table.js.map +1 -0
- package/dist/demo/state-caching/state-caching-table.store.d.ts +13 -0
- package/dist/demo/state-caching/state-caching-table.store.d.ts.map +1 -0
- package/dist/demo/state-caching/state-caching-table.store.js +70 -0
- package/dist/demo/state-caching/state-caching-table.store.js.map +1 -0
- package/dist/editable-cell/boolean-editable-cell.d.ts +3 -0
- package/dist/editable-cell/boolean-editable-cell.d.ts.map +1 -0
- package/dist/editable-cell/boolean-editable-cell.js +14 -0
- package/dist/editable-cell/boolean-editable-cell.js.map +1 -0
- package/dist/editable-cell/date-editable-cell.d.ts +3 -0
- package/dist/editable-cell/date-editable-cell.d.ts.map +1 -0
- package/dist/editable-cell/date-editable-cell.js +14 -0
- package/dist/editable-cell/date-editable-cell.js.map +1 -0
- package/dist/editable-cell/get-action-cell.d.ts +13 -0
- package/dist/editable-cell/get-action-cell.d.ts.map +1 -0
- package/dist/editable-cell/get-action-cell.js +18 -0
- package/dist/editable-cell/get-action-cell.js.map +1 -0
- package/dist/editable-cell/get-editable-cell.d.ts +13 -0
- package/dist/editable-cell/get-editable-cell.d.ts.map +1 -0
- package/dist/editable-cell/get-editable-cell.js +18 -0
- package/dist/editable-cell/get-editable-cell.js.map +1 -0
- package/dist/editable-cell/get-select-editable-cell.d.ts +10 -0
- package/dist/editable-cell/get-select-editable-cell.d.ts.map +1 -0
- package/dist/editable-cell/get-select-editable-cell.js +19 -0
- package/dist/editable-cell/get-select-editable-cell.js.map +1 -0
- package/dist/editable-cell/index.d.ts +8 -0
- package/dist/editable-cell/index.d.ts.map +1 -0
- package/dist/editable-cell/index.js +8 -0
- package/dist/editable-cell/index.js.map +1 -0
- package/dist/editable-cell/numeric-editable-cell.d.ts +3 -0
- package/dist/editable-cell/numeric-editable-cell.d.ts.map +1 -0
- package/dist/editable-cell/numeric-editable-cell.js +15 -0
- package/dist/editable-cell/numeric-editable-cell.js.map +1 -0
- package/dist/editable-cell/text-editable-cell.d.ts +9 -0
- package/dist/editable-cell/text-editable-cell.d.ts.map +1 -0
- package/dist/editable-cell/text-editable-cell.js +20 -0
- package/dist/editable-cell/text-editable-cell.js.map +1 -0
- package/dist/export/export.d.ts +10 -0
- package/dist/export/export.d.ts.map +1 -0
- package/dist/export/export.js +6 -0
- package/dist/export/export.js.map +1 -0
- package/dist/export/index.d.ts +2 -0
- package/dist/export/index.d.ts.map +1 -0
- package/dist/export/index.js +2 -0
- package/dist/export/index.js.map +1 -0
- package/dist/filters/column-menu-filters.d.ts +5 -0
- package/dist/filters/column-menu-filters.d.ts.map +1 -0
- package/dist/filters/column-menu-filters.js +9 -0
- package/dist/filters/column-menu-filters.js.map +1 -0
- package/dist/filters/datetime-filter/datetime-filter.d.ts +3 -0
- package/dist/filters/datetime-filter/datetime-filter.d.ts.map +1 -0
- package/dist/filters/datetime-filter/datetime-filter.js +71 -0
- package/dist/filters/datetime-filter/datetime-filter.js.map +1 -0
- package/dist/filters/field-values-filter.d.ts +6 -0
- package/dist/filters/field-values-filter.d.ts.map +1 -0
- package/dist/filters/field-values-filter.js +155 -0
- package/dist/filters/field-values-filter.js.map +1 -0
- package/dist/filters/index.d.ts +9 -0
- package/dist/filters/index.d.ts.map +1 -0
- package/dist/filters/index.js +9 -0
- package/dist/filters/index.js.map +1 -0
- package/dist/filters/multiselect-filter.d.ts +5 -0
- package/dist/filters/multiselect-filter.d.ts.map +1 -0
- package/dist/filters/multiselect-filter.js +107 -0
- package/dist/filters/multiselect-filter.js.map +1 -0
- package/dist/filters/numeric-filter-extended/numeric-extended-operators.d.ts +6 -0
- package/dist/filters/numeric-filter-extended/numeric-extended-operators.d.ts.map +1 -0
- package/dist/filters/numeric-filter-extended/numeric-extended-operators.js +6 -0
- package/dist/filters/numeric-filter-extended/numeric-extended-operators.js.map +1 -0
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts +3 -0
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts.map +1 -0
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.js +27 -0
- package/dist/filters/numeric-filter-extended/numeric-filter-extended.js.map +1 -0
- package/dist/filters/range-filter/range-filter.d.ts +6 -0
- package/dist/filters/range-filter/range-filter.d.ts.map +1 -0
- package/dist/filters/range-filter/range-filter.js +117 -0
- package/dist/filters/range-filter/range-filter.js.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.d.ts +21 -0
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.d.ts.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js +82 -0
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/multiselect-operators.d.ts +6 -0
- package/dist/filters/standard-filter-with-multiselect/multiselect-operators.d.ts.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/multiselect-operators.js +6 -0
- package/dist/filters/standard-filter-with-multiselect/multiselect-operators.js.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts +26 -0
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js +69 -0
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.d.ts +6 -0
- package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.d.ts.map +1 -0
- package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.js +30 -0
- package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.js.map +1 -0
- package/dist/filters/time-filter/time-filter.d.ts +3 -0
- package/dist/filters/time-filter/time-filter.d.ts.map +1 -0
- package/dist/filters/time-filter/time-filter.js +71 -0
- package/dist/filters/time-filter/time-filter.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/select-cell/index.d.ts +2 -0
- package/dist/select-cell/index.d.ts.map +1 -0
- package/dist/select-cell/index.js +2 -0
- package/dist/select-cell/index.js.map +1 -0
- package/dist/select-cell/select-cell.d.ts +25 -0
- package/dist/select-cell/select-cell.d.ts.map +1 -0
- package/dist/select-cell/select-cell.js +42 -0
- package/dist/select-cell/select-cell.js.map +1 -0
- package/dist/table-state.d.ts +161 -0
- package/dist/table-state.d.ts.map +1 -0
- package/dist/table-state.js +1106 -0
- package/dist/table-state.js.map +1 -0
- package/dist/table.d.ts +40 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/table.js +231 -0
- package/dist/table.js.map +1 -0
- package/package.json +6 -6
@@ -0,0 +1,161 @@
|
|
1
|
+
import { ReactElement } from 'react';
|
2
|
+
import { AggregateDescriptor, CompositeFilterDescriptor, GroupDescriptor, SortDescriptor, DataResult, GroupResult, DataSource, IdType } from '@servicetitan/data-query';
|
3
|
+
import { ExcelExport, ExcelExportData, ExcelExportColumnProps } from '@progress/kendo-react-excel-export';
|
4
|
+
import { TableExpandChangeEvent, TableFilterChangeEvent, TableGroupChangeEvent, TablePageChangeEvent, TableSortChangeEvent } from '@servicetitan/design-system';
|
5
|
+
import { GridPDFExport as TablePDFExport } from '@progress/kendo-react-pdf';
|
6
|
+
import { WorkbookOptions } from '@progress/kendo-ooxml';
|
7
|
+
import { FormState, FieldState } from 'formstate';
|
8
|
+
export declare type Selectable<T> = {
|
9
|
+
readonly selected: boolean | undefined;
|
10
|
+
} & T;
|
11
|
+
export declare type Editable<T> = {
|
12
|
+
readonly inEdit: boolean | undefined;
|
13
|
+
} & T;
|
14
|
+
export declare type Expandable<T> = {
|
15
|
+
readonly expanded: boolean | undefined;
|
16
|
+
} & T;
|
17
|
+
export declare type Materialized<T> = {
|
18
|
+
readonly materializedPath: string;
|
19
|
+
} & T;
|
20
|
+
declare type Data<T> = DataResult<T>['data'];
|
21
|
+
export declare function isGroupItem<T>(item: T | GroupResult<T>, groups: GroupDescriptor[]): item is GroupResult<T>;
|
22
|
+
export declare type PossibleFormState<T> = FormState<{
|
23
|
+
[P in keyof T]-?: FieldState<T[P]>;
|
24
|
+
}>;
|
25
|
+
export interface TableStateModel<TId extends IdType = never> {
|
26
|
+
skip: number;
|
27
|
+
selectedIds: TId[];
|
28
|
+
expandedIds: TId[];
|
29
|
+
collapsedGroups: string[];
|
30
|
+
sort: SortDescriptor[];
|
31
|
+
filter?: CompositeFilterDescriptor;
|
32
|
+
aggregates: AggregateDescriptor[];
|
33
|
+
group: GroupDescriptor[];
|
34
|
+
}
|
35
|
+
interface TableStateConstructorParams<T, TId extends IdType = never, P = never, PId extends IdType = never> {
|
36
|
+
dataSource?: DataSource<T, TId> | null;
|
37
|
+
pageSize?: number;
|
38
|
+
/** For use with tables that enable selection only. Specifies if the item is selectable in the checkbox */
|
39
|
+
isRowUnselectable?: (row: T) => boolean;
|
40
|
+
selectionLimit?: number;
|
41
|
+
getFormState?(row: T): PossibleFormState<T>;
|
42
|
+
parent?: {
|
43
|
+
row: P;
|
44
|
+
tableState: TableState<P, PId>;
|
45
|
+
};
|
46
|
+
getDetailTableState?: (row: T) => TableState<any, any, any, any> | undefined;
|
47
|
+
initialState?: TableStateModel<TId>;
|
48
|
+
alwaysEditable?: boolean;
|
49
|
+
}
|
50
|
+
interface FetchDataParams {
|
51
|
+
newSkip?: number;
|
52
|
+
newSort?: SortDescriptor[];
|
53
|
+
newFilter?: CompositeFilterDescriptor | null;
|
54
|
+
newAggregates?: AggregateDescriptor[];
|
55
|
+
newGroup?: GroupDescriptor[];
|
56
|
+
}
|
57
|
+
interface SelectionOptions {
|
58
|
+
ignoreUnselectable?: boolean;
|
59
|
+
recursive?: boolean;
|
60
|
+
}
|
61
|
+
interface SetDataSourceParams<TId extends IdType = never> {
|
62
|
+
reset?: boolean;
|
63
|
+
initialState?: TableStateModel<TId>;
|
64
|
+
}
|
65
|
+
interface EditingForm<T> {
|
66
|
+
form: PossibleFormState<T>;
|
67
|
+
field?: keyof T;
|
68
|
+
}
|
69
|
+
/** Interface for unit testing purposes.*/
|
70
|
+
export interface ITableState<T, TId extends IdType = never> {
|
71
|
+
totalCount?: number;
|
72
|
+
selectedCount?: number;
|
73
|
+
addToDataSource?: (row: T, select?: boolean | undefined) => Promise<void>;
|
74
|
+
removeFromDataSource?: (id: TId) => Promise<T | undefined>;
|
75
|
+
selectAll?: () => Promise<void>;
|
76
|
+
deselectAll?: () => void;
|
77
|
+
setDataSource?: (dataSource: DataSource<T, TId> | null, setDataSourceParams?: boolean | SetDataSourceParams<TId>) => Promise<void>;
|
78
|
+
isRowUnselectable?: (row: T) => boolean;
|
79
|
+
}
|
80
|
+
export declare class TableState<T, TId extends IdType = never, P = never, PId extends IdType = never> {
|
81
|
+
private innerDataSource;
|
82
|
+
get dataSource(): DataSource<T, TId> | null;
|
83
|
+
private traverse;
|
84
|
+
private get originalData();
|
85
|
+
parent?: {
|
86
|
+
row: P;
|
87
|
+
tableState: TableState<P, PId>;
|
88
|
+
};
|
89
|
+
getDetailTableState?: (row: T) => TableState<any, any, any, any> | undefined;
|
90
|
+
selectedIds: Set<TId>;
|
91
|
+
inEdit: Map<TId, EditingForm<T>>;
|
92
|
+
expandedIds: Set<TId>;
|
93
|
+
collapsedGroups: Set<string>;
|
94
|
+
isRowUnselectable: (row: T) => boolean;
|
95
|
+
selectionLimit: number;
|
96
|
+
getFormState?(row: T): PossibleFormState<T>;
|
97
|
+
data: Data<Selectable<T>>;
|
98
|
+
totalCount: number;
|
99
|
+
filteredCount: number;
|
100
|
+
selectedCount: number;
|
101
|
+
unselectableCount: number;
|
102
|
+
get unselectedCount(): number;
|
103
|
+
get selectableCount(): number;
|
104
|
+
get filteredUnselectableCount(): number;
|
105
|
+
get filteredSelectableCount(): number;
|
106
|
+
private get totalFilteredSelectableCountPromise();
|
107
|
+
get totalFilteredSelectableCount(): number;
|
108
|
+
sort: SortDescriptor[];
|
109
|
+
filter: CompositeFilterDescriptor | undefined;
|
110
|
+
aggregates: AggregateDescriptor[];
|
111
|
+
innerGroup: GroupDescriptor[];
|
112
|
+
get group(): GroupDescriptor[];
|
113
|
+
set group(value: GroupDescriptor[]);
|
114
|
+
skip: number;
|
115
|
+
pageSize?: number;
|
116
|
+
private tablePdfExport;
|
117
|
+
private tableExcelExport;
|
118
|
+
alwaysEditable: boolean;
|
119
|
+
constructor({ dataSource, pageSize, isRowUnselectable, selectionLimit, getFormState, parent, getDetailTableState, initialState, alwaysEditable, }?: TableStateConstructorParams<T, TId, P, PId>);
|
120
|
+
addToDataSource(row: T, select?: boolean, index?: number): Promise<void>;
|
121
|
+
removeFromDataSource(id: TId): Promise<T | undefined>;
|
122
|
+
setRowsSelection(rows: T[], value: boolean, { ignoreUnselectable, recursive }?: SelectionOptions): Promise<void>;
|
123
|
+
selectPage(options?: SelectionOptions): Promise<void>;
|
124
|
+
deselectPage(options?: SelectionOptions): Promise<void>;
|
125
|
+
private setAllSelection;
|
126
|
+
selectAll(options?: SelectionOptions): Promise<void>;
|
127
|
+
deselectAll(options?: SelectionOptions): Promise<void>;
|
128
|
+
edit(row: T, field?: keyof T): void;
|
129
|
+
saveEdit(row: T, beforeSave?: (changed: T, field?: keyof T) => Promise<void>): Promise<void>;
|
130
|
+
cancelEdit(row: T): void;
|
131
|
+
editAll(): Promise<void>;
|
132
|
+
saveEditAll(beforeSave?: (changed: T[]) => Promise<void>): Promise<void>;
|
133
|
+
cancelEditAll(): void;
|
134
|
+
reset(): void;
|
135
|
+
setDataSource(dataSource: DataSource<T, TId> | null, setDataSourceParams?: SetDataSourceParams<TId> | boolean): Promise<void>;
|
136
|
+
private fetchInitialData;
|
137
|
+
private addPropertiesToRows;
|
138
|
+
handleFilterChange: (ev: TableFilterChangeEvent) => void;
|
139
|
+
handleGroupChange: (ev: TableGroupChangeEvent) => void;
|
140
|
+
handleExpandChange: ({ dataItem, value }: TableExpandChangeEvent) => void;
|
141
|
+
handleSortChange: (ev: TableSortChangeEvent) => void;
|
142
|
+
handlePageChange: (ev: TablePageChangeEvent) => void;
|
143
|
+
/** Call without params if unchanged */
|
144
|
+
fetchData: ({ newSkip, newSort, newFilter, newAggregates, newGroup, }?: FetchDataParams) => Promise<void>;
|
145
|
+
isRowSelectable: (row: Selectable<T>) => boolean;
|
146
|
+
toggleRowSelection(row: T, options?: SelectionOptions): Promise<void>;
|
147
|
+
get isAllPageRowsSelected(): boolean;
|
148
|
+
get isSomePageRowsSelected(): boolean;
|
149
|
+
get isAllRowsSelected(): boolean;
|
150
|
+
get isSomeRowsSelected(): boolean;
|
151
|
+
setTablePdfExportRef: (el: TablePDFExport | null) => TablePDFExport | null;
|
152
|
+
setTableExcelExportRef: (el: ExcelExport | null) => ExcelExport | null;
|
153
|
+
exportPdf: () => Promise<void>;
|
154
|
+
exportExcel: (data?: any[] | WorkbookOptions | ExcelExportData | undefined, columns?: ExcelExportColumnProps[] | ReactElement<ExcelExportColumnProps, string | import("react").JSXElementConstructor<any>>[] | undefined) => Promise<void>;
|
155
|
+
filteredSortedUnpaginatedData: () => Promise<DataResult<T>>;
|
156
|
+
getRowsBetween: (start: Selectable<T>, end: Selectable<T>) => Selectable<T>[];
|
157
|
+
exportState(): TableStateModel<TId>;
|
158
|
+
importState(data: TableStateModel<TId>): void;
|
159
|
+
}
|
160
|
+
export {};
|
161
|
+
//# sourceMappingURL=table-state.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"table-state.d.ts","sourceRoot":"","sources":["../src/table-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EACH,mBAAmB,EACnB,yBAAyB,EACzB,e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