arthub-table 0.2.45 → 0.2.46

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.
@@ -18,6 +18,10 @@ declare class DatetimeViewer implements CellViewer<DatetimeViewerData> {
18
18
  * 内置格式化(当业务层未提供 formattedText 时的回退)
19
19
  */
20
20
  private formatDate;
21
+ /**
22
+ * 格式化单个日期值
23
+ */
24
+ private formatSingleDate;
21
25
  /**
22
26
  * Apply format string to date
23
27
  */
@@ -412,7 +412,7 @@ export interface ProgressViewerData extends CellViewerData {
412
412
  * Datetime viewer data
413
413
  */
414
414
  export interface DatetimeViewerData extends CellViewerData {
415
- value: string | number | Date | null;
415
+ value: string | number | Date | null | Array<string | number | Date>;
416
416
  /** Date format string */
417
417
  format?: string;
418
418
  /** Display type */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arthub-table",
3
- "version": "0.2.45",
3
+ "version": "0.2.46",
4
4
  "description": "High-performance canvas-based table/grid component for Vue 3 with TypeScript support, featuring virtual scrolling, cell viewers, grouped rows, and nested grids.",
5
5
  "main": "dist/arthub-table.common.js",
6
6
  "module": "dist/arthub-table.umd.min.js",