@smallwebco/tinypivot-vue 1.0.67 → 1.0.69
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 +2 -0
- package/dist/components/ColumnFilter.vue.d.ts +15 -1
- package/dist/components/ColumnFilter.vue.d.ts.map +1 -1
- package/dist/components/DataGrid.vue.d.ts +15 -1
- package/dist/components/DataGrid.vue.d.ts.map +1 -1
- package/dist/components/DateRangeFilter.vue.d.ts +28 -0
- package/dist/components/DateRangeFilter.vue.d.ts.map +1 -0
- package/dist/components/NumericRangeFilter.vue.d.ts +3 -1
- package/dist/components/NumericRangeFilter.vue.d.ts.map +1 -1
- package/dist/composables/useExcelGrid.d.ts +12 -2
- package/dist/composables/useExcelGrid.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tinypivot-vue.js +3329 -3016
- package/dist/tinypivot-vue.js.map +1 -1
- package/dist/tinypivot-vue.umd.cjs +38 -38
- package/dist/tinypivot-vue.umd.cjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -78,6 +78,8 @@ const data = [
|
|
|
78
78
|
| `enableColumnResize` | `boolean` | `true` | Drag to resize columns |
|
|
79
79
|
| `enableClipboard` | `boolean` | `true` | Ctrl+C to copy cells |
|
|
80
80
|
| `theme` | `'light' \| 'dark' \| 'auto'` | `'light'` | Color theme |
|
|
81
|
+
| `numberFormat` | `'us' \| 'eu' \| 'plain'` | `'us'` | Number display format: US (1,234.56), EU (1.234,56), plain (1234.56) |
|
|
82
|
+
| `dateFormat` | `'us' \| 'eu' \| 'iso'` | `'iso'` | Date display format: US (MM/DD/YYYY), EU (DD/MM/YYYY), ISO (YYYY-MM-DD) |
|
|
81
83
|
|
|
82
84
|
## Events
|
|
83
85
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColumnStats, NumericRange } from '@smallwebco/tinypivot-core';
|
|
1
|
+
import { ColumnStats, DateFormat, DateRange, NumberFormat, NumericRange } from '@smallwebco/tinypivot-core';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
columnId: string;
|
|
@@ -8,11 +8,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
8
8
|
sortDirection: 'asc' | 'desc' | null;
|
|
9
9
|
/** Current numeric range filter (if any) */
|
|
10
10
|
numericRange?: NumericRange | null | undefined;
|
|
11
|
+
/** Current date range filter (if any) */
|
|
12
|
+
dateRange?: DateRange | null | undefined;
|
|
13
|
+
/** Number display format */
|
|
14
|
+
numberFormat?: NumberFormat | undefined;
|
|
15
|
+
/** Date display format */
|
|
16
|
+
dateFormat?: DateFormat | undefined;
|
|
11
17
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
18
|
sort: (direction: "desc" | "asc" | null) => void;
|
|
13
19
|
filter: (values: string[]) => void;
|
|
14
20
|
close: () => void;
|
|
15
21
|
rangeFilter: (range: NumericRange | null) => void;
|
|
22
|
+
dateRangeFilter: (range: DateRange | null) => void;
|
|
16
23
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
24
|
columnId: string;
|
|
18
25
|
columnName: string;
|
|
@@ -21,11 +28,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
21
28
|
sortDirection: 'asc' | 'desc' | null;
|
|
22
29
|
/** Current numeric range filter (if any) */
|
|
23
30
|
numericRange?: NumericRange | null | undefined;
|
|
31
|
+
/** Current date range filter (if any) */
|
|
32
|
+
dateRange?: DateRange | null | undefined;
|
|
33
|
+
/** Number display format */
|
|
34
|
+
numberFormat?: NumberFormat | undefined;
|
|
35
|
+
/** Date display format */
|
|
36
|
+
dateFormat?: DateFormat | undefined;
|
|
24
37
|
}>>> & Readonly<{
|
|
25
38
|
onSort?: ((direction: "desc" | "asc" | null) => any) | undefined;
|
|
26
39
|
onFilter?: ((values: string[]) => any) | undefined;
|
|
27
40
|
onClose?: (() => any) | undefined;
|
|
28
41
|
onRangeFilter?: ((range: NumericRange | null) => any) | undefined;
|
|
42
|
+
onDateRangeFilter?: ((range: DateRange | null) => any) | undefined;
|
|
29
43
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
44
|
export default _default;
|
|
31
45
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/ColumnFilter.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;;
|
|
1
|
+
{"version":3,"file":"ColumnFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/ColumnFilter.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;;cAg9BpG,MAAM;gBACJ,MAAM;WACX,WAAW;oBACF,MAAM,EAAE;mBACT,KAAK,GAAG,MAAM,GAAG,IAAI;IACpC,4CAA4C;;IAE5C,yCAAyC;;IAEzC,4BAA4B;;IAE5B,0BAA0B;;;;;;;;;cAXhB,MAAM;gBACJ,MAAM;WACX,WAAW;oBACF,MAAM,EAAE;mBACT,KAAK,GAAG,MAAM,GAAG,IAAI;IACpC,4CAA4C;;IAE5C,yCAAyC;;IAEzC,4BAA4B;;IAE5B,0BAA0B;;;;;;;;;AAjB5B,wBAqBG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AIAnalystConfig, AIConversationUpdateEvent, AIDataLoadedEvent, AIErrorEvent, AIQueryExecutedEvent } from '@smallwebco/tinypivot-core';
|
|
1
|
+
import { AIAnalystConfig, AIConversationUpdateEvent, AIDataLoadedEvent, AIErrorEvent, AIQueryExecutedEvent, DateFormat, NumberFormat } from '@smallwebco/tinypivot-core';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
data: Record<string, unknown>[];
|
|
@@ -22,6 +22,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
22
|
maxHeight?: number | undefined;
|
|
23
23
|
/** AI Data Analyst configuration (Pro feature, disabled by default) */
|
|
24
24
|
aiAnalyst?: AIAnalystConfig | undefined;
|
|
25
|
+
/** Number display format */
|
|
26
|
+
numberFormat?: NumberFormat | undefined;
|
|
27
|
+
/** Date display format */
|
|
28
|
+
dateFormat?: DateFormat | undefined;
|
|
25
29
|
}>, {
|
|
26
30
|
loading: boolean;
|
|
27
31
|
rowHeight: number;
|
|
@@ -42,6 +46,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
46
|
minHeight: number;
|
|
43
47
|
maxHeight: number;
|
|
44
48
|
aiAnalyst: undefined;
|
|
49
|
+
numberFormat: string;
|
|
50
|
+
dateFormat: string;
|
|
45
51
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
52
|
cellClick: (payload: {
|
|
47
53
|
row: number;
|
|
@@ -90,6 +96,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
90
96
|
maxHeight?: number | undefined;
|
|
91
97
|
/** AI Data Analyst configuration (Pro feature, disabled by default) */
|
|
92
98
|
aiAnalyst?: AIAnalystConfig | undefined;
|
|
99
|
+
/** Number display format */
|
|
100
|
+
numberFormat?: NumberFormat | undefined;
|
|
101
|
+
/** Date display format */
|
|
102
|
+
dateFormat?: DateFormat | undefined;
|
|
93
103
|
}>, {
|
|
94
104
|
loading: boolean;
|
|
95
105
|
rowHeight: number;
|
|
@@ -110,6 +120,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
110
120
|
minHeight: number;
|
|
111
121
|
maxHeight: number;
|
|
112
122
|
aiAnalyst: undefined;
|
|
123
|
+
numberFormat: string;
|
|
124
|
+
dateFormat: string;
|
|
113
125
|
}>>> & Readonly<{
|
|
114
126
|
onCopy?: ((payload: {
|
|
115
127
|
text: string;
|
|
@@ -139,6 +151,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
139
151
|
}>, {
|
|
140
152
|
theme: 'light' | 'dark' | 'auto';
|
|
141
153
|
fontSize: 'xs' | 'sm' | 'base';
|
|
154
|
+
dateFormat: DateFormat;
|
|
155
|
+
numberFormat: NumberFormat;
|
|
142
156
|
aiAnalyst: AIAnalystConfig;
|
|
143
157
|
loading: boolean;
|
|
144
158
|
rowHeight: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataGrid.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,
|
|
1
|
+
{"version":3,"file":"D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EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DateFormat, DateRange } from '@smallwebco/tinypivot-core';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
dataMin: string;
|
|
5
|
+
dataMax: string;
|
|
6
|
+
currentRange: DateRange | null;
|
|
7
|
+
dateFormat?: DateFormat | undefined;
|
|
8
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
change: (range: DateRange | null) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
dataMin: string;
|
|
12
|
+
dataMax: string;
|
|
13
|
+
currentRange: DateRange | null;
|
|
14
|
+
dateFormat?: DateFormat | undefined;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onChange?: ((range: DateRange | null) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=DateRangeFilter.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangeFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/DateRangeFilter.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;;aA4c5D,MAAM;aACN,MAAM;kBACD,SAAS,GAAG,IAAI;;;;;aAFrB,MAAM;aACN,MAAM;kBACD,SAAS,GAAG,IAAI;;;;;AARhC,wBAYG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { NumericRange } from '@smallwebco/tinypivot-core';
|
|
1
|
+
import { NumberFormat, NumericRange } from '@smallwebco/tinypivot-core';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
dataMin: number;
|
|
5
5
|
dataMax: number;
|
|
6
6
|
currentRange: NumericRange | null;
|
|
7
|
+
numberFormat?: NumberFormat | undefined;
|
|
7
8
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
change: (range: NumericRange | null) => void;
|
|
9
10
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
11
|
dataMin: number;
|
|
11
12
|
dataMax: number;
|
|
12
13
|
currentRange: NumericRange | null;
|
|
14
|
+
numberFormat?: NumberFormat | undefined;
|
|
13
15
|
}>>> & Readonly<{
|
|
14
16
|
onChange?: ((range: NumericRange | null) => any) | undefined;
|
|
15
17
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumericRangeFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/NumericRangeFilter.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;;
|
|
1
|
+
{"version":3,"file":"NumericRangeFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/NumericRangeFilter.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;;aA2jBjE,MAAM;aACN,MAAM;kBACD,YAAY,GAAG,IAAI;;;;;aAFxB,MAAM;aACN,MAAM;kBACD,YAAY,GAAG,IAAI;;;;;AARnC,wBAYG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ColumnStats, NumericRange, formatCellValue, getColumnUniqueValues, isNumericRange } from '@smallwebco/tinypivot-core';
|
|
1
|
+
import { ColumnStats, DateRange, NumericRange, formatCellValue, getColumnUniqueValues, isDateRange, isNumericRange } from '@smallwebco/tinypivot-core';
|
|
2
2
|
import { ColumnFiltersState, SortingState, VisibilityState } from '@tanstack/vue-table';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
|
|
5
|
-
export { formatCellValue, getColumnUniqueValues, isNumericRange };
|
|
5
|
+
export { formatCellValue, getColumnUniqueValues, isDateRange, isNumericRange };
|
|
6
6
|
export interface ExcelGridOptions<T> {
|
|
7
7
|
data: Ref<T[]>;
|
|
8
8
|
columns?: string[];
|
|
@@ -38,12 +38,20 @@ export declare function useExcelGrid<T extends Record<string, unknown>>(options:
|
|
|
38
38
|
column: string;
|
|
39
39
|
type: "range";
|
|
40
40
|
range: NumericRange;
|
|
41
|
+
dateRange: DateRange | null;
|
|
42
|
+
values: string[];
|
|
43
|
+
} | {
|
|
44
|
+
column: string;
|
|
45
|
+
type: "dateRange";
|
|
46
|
+
range: NumericRange | null;
|
|
47
|
+
dateRange: DateRange;
|
|
41
48
|
values: string[];
|
|
42
49
|
} | {
|
|
43
50
|
column: string;
|
|
44
51
|
type: "values";
|
|
45
52
|
values: string[];
|
|
46
53
|
range: NumericRange | null;
|
|
54
|
+
dateRange: DateRange | null;
|
|
47
55
|
})[]>;
|
|
48
56
|
getColumnStats: (columnKey: string) => ColumnStats;
|
|
49
57
|
clearStatsCache: () => void;
|
|
@@ -55,5 +63,7 @@ export declare function useExcelGrid<T extends Record<string, unknown>>(options:
|
|
|
55
63
|
getSortDirection: (columnId: string) => 'asc' | 'desc' | null;
|
|
56
64
|
setNumericRangeFilter: (columnId: string, range: NumericRange | null) => void;
|
|
57
65
|
getNumericRangeFilter: (columnId: string) => NumericRange | null;
|
|
66
|
+
setDateRangeFilter: (columnId: string, range: DateRange | null) => void;
|
|
67
|
+
getDateRangeFilter: (columnId: string) => DateRange | null;
|
|
58
68
|
};
|
|
59
69
|
//# sourceMappingURL=useExcelGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExcelGrid.d.ts","sourceRoot":"","sources":["../../src/composables/useExcelGrid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,WAAW,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"useExcelGrid.d.ts","sourceRoot":"","sources":["../../src/composables/useExcelGrid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzG;;;GAGG;AACH,OAAO,KAAK,EAAa,kBAAkB,EAAY,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACjH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAOhH,OAAO,EAAY,KAAK,GAAG,EAAc,MAAM,KAAK,CAAA;AAGpD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA;AAE9E,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,IAAI,EAAE,GAAG,CAAC,C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