@stonecrop/atable 0.3.10 → 0.4.0

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 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< {