@stonecrop/atable 0.3.11 → 0.4.1
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/dist/atable.d.ts +18 -18
- package/dist/atable.js +123 -123
- package/dist/atable.js.map +1 -1
- package/dist/atable.tsbuildinfo +1 -1
- package/dist/atable.umd.cjs +1 -1
- package/dist/atable.umd.cjs.map +1 -1
- package/dist/src/stores/table.d.ts +18 -18
- package/dist/src/stores/table.d.ts.map +1 -1
- package/dist/src/utils.d.ts +1 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/stores/table.js +2 -1
- package/dist/utils.js +3 -0
- package/package.json +4 -4
- package/src/stores/table.ts +2 -1
- package/src/utils.ts +4 -0
package/dist/atable.d.ts
CHANGED
|
@@ -62,9 +62,9 @@ width?: string | undefined;
|
|
|
62
62
|
pinned?: boolean | undefined;
|
|
63
63
|
cellComponent?: string | undefined;
|
|
64
64
|
cellComponentProps?: Record<string, any> | undefined;
|
|
65
|
-
modalComponent?: string | ((context: CellContext) => string) | undefined;
|
|
65
|
+
modalComponent?: (string | ((context: CellContext) => string)) | undefined;
|
|
66
66
|
modalComponentExtraProps?: Record<string, any> | undefined;
|
|
67
|
-
format?: string | ((value: any, context: CellContext) => string) | undefined;
|
|
67
|
+
format?: (string | ((value: any, context: CellContext) => string)) | undefined;
|
|
68
68
|
mask?: ((value: any) => any) | undefined;
|
|
69
69
|
}[], TableColumn[] | {
|
|
70
70
|
name: string;
|
|
@@ -76,16 +76,16 @@ width?: string | undefined;
|
|
|
76
76
|
pinned?: boolean | undefined;
|
|
77
77
|
cellComponent?: string | undefined;
|
|
78
78
|
cellComponentProps?: Record<string, any> | undefined;
|
|
79
|
-
modalComponent?: string | ((context: CellContext) => string) | undefined;
|
|
79
|
+
modalComponent?: (string | ((context: CellContext) => string)) | undefined;
|
|
80
80
|
modalComponentExtraProps?: Record<string, any> | undefined;
|
|
81
|
-
format?: string | ((value: any, context: CellContext) => string) | undefined;
|
|
81
|
+
format?: (string | ((value: any, context: CellContext) => string)) | undefined;
|
|
82
82
|
mask?: ((value: any) => any) | undefined;
|
|
83
83
|
}[]>;
|
|
84
84
|
config: Ref< {
|
|
85
|
-
view?: "uncounted" | "list" | "list-expansion" | "tree" | undefined;
|
|
85
|
+
view?: ("uncounted" | "list" | "list-expansion" | "tree") | undefined;
|
|
86
86
|
fullWidth?: boolean | undefined;
|
|
87
87
|
}, TableConfig | {
|
|
88
|
-
view?: "uncounted" | "list" | "list-expansion" | "tree" | undefined;
|
|
88
|
+
view?: ("uncounted" | "list" | "list-expansion" | "tree") | undefined;
|
|
89
89
|
fullWidth?: boolean | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
display: Ref< {
|
|
@@ -168,9 +168,9 @@ width?: string | undefined;
|
|
|
168
168
|
pinned?: boolean | undefined;
|
|
169
169
|
cellComponent?: string | undefined;
|
|
170
170
|
cellComponentProps?: Record<string, any> | undefined;
|
|
171
|
-
modalComponent?: string | ((context: CellContext) => string) | undefined;
|
|
171
|
+
modalComponent?: (string | ((context: CellContext) => string)) | undefined;
|
|
172
172
|
modalComponentExtraProps?: Record<string, any> | undefined;
|
|
173
|
-
format?: string | ((value: any, context: CellContext) => string) | undefined;
|
|
173
|
+
format?: (string | ((value: any, context: CellContext) => string)) | undefined;
|
|
174
174
|
mask?: ((value: any) => any) | undefined;
|
|
175
175
|
}[], TableColumn[] | {
|
|
176
176
|
name: string;
|
|
@@ -182,16 +182,16 @@ width?: string | undefined;
|
|
|
182
182
|
pinned?: boolean | undefined;
|
|
183
183
|
cellComponent?: string | undefined;
|
|
184
184
|
cellComponentProps?: Record<string, any> | undefined;
|
|
185
|
-
modalComponent?: string | ((context: CellContext) => string) | undefined;
|
|
185
|
+
modalComponent?: (string | ((context: CellContext) => string)) | undefined;
|
|
186
186
|
modalComponentExtraProps?: Record<string, any> | undefined;
|
|
187
|
-
format?: string | ((value: any, context: CellContext) => string) | undefined;
|
|
187
|
+
format?: (string | ((value: any, context: CellContext) => string)) | undefined;
|
|
188
188
|
mask?: ((value: any) => any) | undefined;
|
|
189
189
|
}[]>;
|
|
190
190
|
config: Ref< {
|
|
191
|
-
view?: "uncounted" | "list" | "list-expansion" | "tree" | undefined;
|
|
191
|
+
view?: ("uncounted" | "list" | "list-expansion" | "tree") | undefined;
|
|
192
192
|
fullWidth?: boolean | undefined;
|
|
193
193
|
}, TableConfig | {
|
|
194
|
-
view?: "uncounted" | "list" | "list-expansion" | "tree" | undefined;
|
|
194
|
+
view?: ("uncounted" | "list" | "list-expansion" | "tree") | undefined;
|
|
195
195
|
fullWidth?: boolean | undefined;
|
|
196
196
|
}>;
|
|
197
197
|
display: Ref< {
|
|
@@ -274,9 +274,9 @@ width?: string | undefined;
|
|
|
274
274
|
pinned?: boolean | undefined;
|
|
275
275
|
cellComponent?: string | undefined;
|
|
276
276
|
cellComponentProps?: Record<string, any> | undefined;
|
|
277
|
-
modalComponent?: string | ((context: CellContext) => string) | undefined;
|
|
277
|
+
modalComponent?: (string | ((context: CellContext) => string)) | undefined;
|
|
278
278
|
modalComponentExtraProps?: Record<string, any> | undefined;
|
|
279
|
-
format?: string | ((value: any, context: CellContext) => string) | undefined;
|
|
279
|
+
format?: (string | ((value: any, context: CellContext) => string)) | undefined;
|
|
280
280
|
mask?: ((value: any) => any) | undefined;
|
|
281
281
|
}[], TableColumn[] | {
|
|
282
282
|
name: string;
|
|
@@ -288,16 +288,16 @@ width?: string | undefined;
|
|
|
288
288
|
pinned?: boolean | undefined;
|
|
289
289
|
cellComponent?: string | undefined;
|
|
290
290
|
cellComponentProps?: Record<string, any> | undefined;
|
|
291
|
-
modalComponent?: string | ((context: CellContext) => string) | undefined;
|
|
291
|
+
modalComponent?: (string | ((context: CellContext) => string)) | undefined;
|
|
292
292
|
modalComponentExtraProps?: Record<string, any> | undefined;
|
|
293
|
-
format?: string | ((value: any, context: CellContext) => string) | undefined;
|
|
293
|
+
format?: (string | ((value: any, context: CellContext) => string)) | undefined;
|
|
294
294
|
mask?: ((value: any) => any) | undefined;
|
|
295
295
|
}[]>;
|
|
296
296
|
config: Ref< {
|
|
297
|
-
view?: "uncounted" | "list" | "list-expansion" | "tree" | undefined;
|
|
297
|
+
view?: ("uncounted" | "list" | "list-expansion" | "tree") | undefined;
|
|
298
298
|
fullWidth?: boolean | undefined;
|
|
299
299
|
}, TableConfig | {
|
|
300
|
-
view?: "uncounted" | "list" | "list-expansion" | "tree" | undefined;
|
|
300
|
+
view?: ("uncounted" | "list" | "list-expansion" | "tree") | undefined;
|
|
301
301
|
fullWidth?: boolean | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
display: Ref< {
|