@skygraph/vue 0.5.0 → 0.6.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/index.d.ts CHANGED
@@ -35,9 +35,9 @@ onCellEdit?: ((id: string, column: string, value: unknown) => any) | undefined;
35
35
  onExpand?: ((expanded: boolean, id: string) => any) | undefined;
36
36
  }>, {
37
37
  size: "small" | "middle" | "large";
38
+ bordered: boolean;
38
39
  unstyled: boolean;
39
40
  loading: boolean;
40
- bordered: boolean;
41
41
  sticky: boolean;
42
42
  searchable: boolean;
43
43
  showPagination: boolean;
@@ -78,8 +78,8 @@ onChange?: ((value: string) => any) | undefined;
78
78
  }>, {
79
79
  size: "small" | "middle" | "large";
80
80
  disabled: boolean;
81
- modelValue: string;
82
81
  type: "text" | "email" | "password" | "number";
82
+ modelValue: string;
83
83
  readOnly: boolean;
84
84
  allowClear: boolean;
85
85
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
@@ -512,8 +512,8 @@ close: () => any;
512
512
  }, string, PublicProps, Readonly<TagProps> & Readonly<{
513
513
  onClose?: (() => any) | undefined;
514
514
  }>, {
515
- color: "default" | "success" | "error" | "warning" | "processing" | string;
516
515
  bordered: boolean;
516
+ color: "default" | "success" | "error" | "warning" | "processing" | string;
517
517
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
518
518
 
519
519
  declare const __VLS_component_35: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
@@ -1921,6 +1921,12 @@ export declare interface BreadcrumbItem {
1921
1921
  href?: string;
1922
1922
  }
1923
1923
 
1924
+ /** Locale strings for the Breadcrumb component. */
1925
+ declare interface BreadcrumbLocale {
1926
+ /** Accessible name for the surrounding `<nav>` element. */
1927
+ ariaLabel?: string;
1928
+ }
1929
+
1924
1930
  export declare interface BreadcrumbProps {
1925
1931
  /** Ordered trail from root to current location. */
1926
1932
  items: BreadcrumbItem[];
@@ -2037,6 +2043,12 @@ export declare interface CalendarProps {
2037
2043
  unstyled?: boolean;
2038
2044
  }
2039
2045
 
2046
+ /** Locale strings for the Carousel component. */
2047
+ declare interface CarouselLocale {
2048
+ /** Formats the per-slide indicator accessible label. Default `(i) => `Slide ${i}``. */
2049
+ slide?: (index: number) => string;
2050
+ }
2051
+
2040
2052
  export declare interface CarouselProps {
2041
2053
  /** Auto-advance slides on an interval. @default false */
2042
2054
  autoplay?: boolean;
@@ -2052,6 +2064,18 @@ export declare interface CarouselProps {
2052
2064
  unstyled?: boolean;
2053
2065
  }
2054
2066
 
2067
+ /** Locale strings for the Cascader component. */
2068
+ declare interface CascaderLocale {
2069
+ /** Placeholder for the search input inside the dropdown. */
2070
+ searchPlaceholder?: string;
2071
+ /** Empty-state text shown when search has no matches. */
2072
+ noMatches?: string;
2073
+ /** Accessible label for the clear (×) button. */
2074
+ clear?: string;
2075
+ /** Accessible label for the per-tag remove (×) button. */
2076
+ removeTag?: string;
2077
+ }
2078
+
2055
2079
  /** One node in a cascader tree; children define the next column. */
2056
2080
  export declare interface CascaderOption {
2057
2081
  /** Stable value included in the selected path. */
@@ -2348,6 +2372,22 @@ export declare interface ChartSize {
2348
2372
  height: number;
2349
2373
  }
2350
2374
 
2375
+ /** Locale strings for the Charts components. */
2376
+ declare interface ChartsLocale {
2377
+ /** Accessible label for `<LineChart>`. */
2378
+ lineChart?: string;
2379
+ /** Accessible label for `<BarChart>`. */
2380
+ barChart?: string;
2381
+ /** Accessible label for `<AreaChart>`. */
2382
+ areaChart?: string;
2383
+ /** Accessible label for `<PieChart>`. */
2384
+ pieChart?: string;
2385
+ /** Accessible label for the chart legend. */
2386
+ legend?: string;
2387
+ /** Accessible label for the hover-toolbar `<div role="toolbar">`. */
2388
+ actions?: string;
2389
+ }
2390
+
2351
2391
  export declare type ChartValue = number | null;
2352
2392
 
2353
2393
  export declare interface CheckboxProps {
@@ -2411,6 +2451,12 @@ export declare interface CollapseProps {
2411
2451
 
2412
2452
  export declare function colorForSeries(series: ChartSeries, index: number): string;
2413
2453
 
2454
+ /** Locale strings for the ColorPicker component. */
2455
+ declare interface ColorPickerLocale {
2456
+ /** Accessible label for the color picker trigger. */
2457
+ pickColor?: string;
2458
+ }
2459
+
2414
2460
  export declare interface ColorPickerProps {
2415
2461
  /** v-model binding (Vue idiom). */
2416
2462
  modelValue?: string;
@@ -2506,6 +2552,18 @@ export declare interface DashboardExpose {
2506
2552
  }) => void;
2507
2553
  }
2508
2554
 
2555
+ /** Locale strings for the Dashboard / DashboardEditor components. */
2556
+ declare interface DashboardLocale {
2557
+ /** Accessible label for the dashboard root. */
2558
+ ariaLabel?: string;
2559
+ /** Accessible label for the editor root (DashboardEditor). */
2560
+ editorAriaLabel?: string;
2561
+ /** Accessible label for the per-widget resize handle. */
2562
+ resizeWidget?: string;
2563
+ /** Accessible label for the widget actions (≡ menu) trigger. */
2564
+ widgetActions?: string;
2565
+ }
2566
+
2509
2567
  export declare interface DashboardProps {
2510
2568
  widgets: readonly DashboardWidget[];
2511
2569
  /** Number of columns in the grid. @default 12 */
@@ -2578,6 +2636,14 @@ export declare interface DataGridExpose {
2578
2636
  setActiveCell: (pos: CellPosition | null) => void;
2579
2637
  }
2580
2638
 
2639
+ /** Locale strings for the DataGrid component. */
2640
+ declare interface DataGridLocale {
2641
+ /** Accessible label for the "select all rows" header checkbox. */
2642
+ selectAllRows?: string;
2643
+ /** Accessible label for the per-row selection checkbox. */
2644
+ selectRow?: string;
2645
+ }
2646
+
2581
2647
  export declare interface DataGridProps<R = Record<string, unknown>> {
2582
2648
  columns: DataGridColumn<R>[];
2583
2649
  data: R[];
@@ -2752,6 +2818,12 @@ export declare interface DiagramExpose {
2752
2818
  print: (opts?: PrintOptions) => void;
2753
2819
  }
2754
2820
 
2821
+ /** Locale strings for the Diagram component. */
2822
+ declare interface DiagramLocale {
2823
+ /** Accessible label for the diagram root. */
2824
+ ariaLabel?: string;
2825
+ }
2826
+
2755
2827
  /**
2756
2828
  * Mini-toolbar entry rendered above a hovered node. The `onClick` receives
2757
2829
  * the original engine `GraphNode` plus the underlying MouseEvent.
@@ -2812,6 +2884,17 @@ export declare interface DiagramProps {
2812
2884
  maxNodes?: number;
2813
2885
  cornerRadius?: number;
2814
2886
  curvature?: number;
2887
+ /**
2888
+ * Where the central bend of an orthogonal edge sits between the
2889
+ * two perpendicular stubs (0 = at source, 0.5 = midpoint, 1 = at
2890
+ * target). Defaults to `0.5` (React Flow's smoothstep behaviour).
2891
+ */
2892
+ stepPosition?: number;
2893
+ /**
2894
+ * Length of the perpendicular stub extending from each endpoint
2895
+ * before the connector turns. Defaults to `max(20, gridSize)`.
2896
+ */
2897
+ stubLength?: number;
2815
2898
  };
2816
2899
  /**
2817
2900
  * Draw arrow markers on every edge's target end. Defaults to `true`
@@ -2901,6 +2984,12 @@ export declare interface DragInfo {
2901
2984
  node: TreeNodeData;
2902
2985
  }
2903
2986
 
2987
+ /** Locale strings for the Drawer component. */
2988
+ declare interface DrawerLocale {
2989
+ /** Accessible label for the close button. */
2990
+ closeAriaLabel?: string;
2991
+ }
2992
+
2904
2993
  export declare interface DrawerProps {
2905
2994
  /** When `true`, the drawer is visible. */
2906
2995
  open: boolean;
@@ -3303,6 +3392,18 @@ export declare interface FormListProps {
3303
3392
  initialValue?: unknown[];
3304
3393
  }
3305
3394
 
3395
+ /** Locale strings for form-related components. */
3396
+ declare interface FormLocale {
3397
+ /** Marker text for required fields. */
3398
+ required?: string;
3399
+ /** Marker text for optional fields. */
3400
+ optional?: string;
3401
+ /** Label for the submit button. */
3402
+ submitText?: string;
3403
+ /** Label for the reset button. */
3404
+ resetText?: string;
3405
+ }
3406
+
3306
3407
  export declare interface FormOptions {
3307
3408
  defaultValues?: Record<string, unknown>
3308
3409
  validateOn?: ValidationMode
@@ -3382,6 +3483,14 @@ export declare interface FormState {
3382
3483
  /** French (fr-FR) preset for {@link SgConfigProvider} `locale`. */
3383
3484
  export declare const fr_FR: SgLocale;
3384
3485
 
3486
+ /** Locale strings for the Gantt component. */
3487
+ declare interface GanttLocale {
3488
+ /** Accessible label for the gantt root. */
3489
+ ariaLabel?: string;
3490
+ /** Accessible label for the per-task resize handle. */
3491
+ resizeTask?: string;
3492
+ }
3493
+
3385
3494
  export declare interface GanttProps {
3386
3495
  tasks: readonly GanttTask[];
3387
3496
  resources?: readonly GanttResource[];
@@ -3663,6 +3772,12 @@ export declare interface InputGroupProps {
3663
3772
  style?: CSSProperties;
3664
3773
  }
3665
3774
 
3775
+ /** Locale strings shared by Input-family `clear` (×) buttons. */
3776
+ declare interface InputLocale {
3777
+ /** Accessible label for the clear (×) button. */
3778
+ clear?: string;
3779
+ }
3780
+
3666
3781
  export declare interface InputNumberProps {
3667
3782
  /** v-model binding (Vue idiom). */
3668
3783
  modelValue?: number | null;
@@ -3817,6 +3932,12 @@ export declare interface ListLocale {
3817
3932
  emptyText?: string;
3818
3933
  }
3819
3934
 
3935
+ /** Locale strings for the List component. */
3936
+ declare interface ListLocale_2 {
3937
+ /** Accessible label for the loading state spinner. */
3938
+ loading?: string;
3939
+ }
3940
+
3820
3941
  export declare interface ListNavigationOptions {
3821
3942
  itemCount: number | Ref<number> | ComputedRef<number>;
3822
3943
  loop?: boolean;
@@ -3945,8 +4066,12 @@ export declare interface MentionsProps {
3945
4066
  export declare interface MenuItem {
3946
4067
  /** Unique key for selection and open-state tracking. */
3947
4068
  key: string;
3948
- /** Visible label. */
3949
- label: string;
4069
+ /**
4070
+ * Visible label. Accepts string for the common case and any `VNodeChild`
4071
+ * (created via `h()` or `<component :is>`) when rich content is needed
4072
+ * (e.g. keyboard shortcuts, badges). Paritet с React: `label: ReactNode`.
4073
+ */
4074
+ label: string | VNodeChild;
3950
4075
  /**
3951
4076
  * Optional leading icon. Accepts any VNode (e.g. created with `h()` or `<component :is>`).
3952
4077
  * Aligns left of the label and inherits the item colour state.
@@ -3970,6 +4095,8 @@ declare interface ModalLocale {
3970
4095
  okText?: string;
3971
4096
  /** Label for the Cancel button. */
3972
4097
  cancelText?: string;
4098
+ /** Accessible name for the close (×) button. */
4099
+ closeAriaLabel?: string;
3973
4100
  }
3974
4101
 
3975
4102
  export declare interface ModalProps {
@@ -4089,6 +4216,12 @@ export declare interface NotificationContainerProps {
4089
4216
  unstyled?: boolean;
4090
4217
  }
4091
4218
 
4219
+ /** Locale strings for the Notification component. */
4220
+ declare interface NotificationLocale {
4221
+ /** Accessible label for the close button on each toast. */
4222
+ closeAriaLabel?: string;
4223
+ }
4224
+
4092
4225
  /** Visual variant for notification styling and icon. */
4093
4226
  export declare type NotificationType = 'success' | 'error' | 'warning' | 'info';
4094
4227
 
@@ -4135,6 +4268,8 @@ declare interface PaginationLocale {
4135
4268
  jump?: string;
4136
4269
  /** Unit label for a page (e.g. "page"). */
4137
4270
  page?: string;
4271
+ /** Accessible name for the surrounding `<nav>` element. */
4272
+ ariaLabel?: string;
4138
4273
  }
4139
4274
 
4140
4275
  export declare interface PaginationProps {
@@ -4383,6 +4518,14 @@ export declare interface RangePickerProps {
4383
4518
  unstyled?: boolean;
4384
4519
  }
4385
4520
 
4521
+ /** Locale strings for the Rate component. */
4522
+ declare interface RateLocale {
4523
+ /** Accessible label for the radio-group root. */
4524
+ ariaLabel?: string;
4525
+ /** Formats the per-star accessible label. */
4526
+ star?: (count: number) => string;
4527
+ }
4528
+
4386
4529
  export declare interface RateProps {
4387
4530
  /** v-model binding (Vue idiom). */
4388
4531
  modelValue?: number;
@@ -4432,6 +4575,22 @@ export declare interface ResourceCalendarAssignment {
4432
4575
  meta?: unknown;
4433
4576
  }
4434
4577
 
4578
+ /** Locale strings for the ResourceCalendar component. */
4579
+ declare interface ResourceCalendarLocale {
4580
+ /** Accessible label for the calendar root. */
4581
+ ariaLabel?: string;
4582
+ /** Accessible label for the resource lane. */
4583
+ resource?: (name: string) => string;
4584
+ /** Accessible label for capacity. */
4585
+ capacity?: (capacityPerSlot: number) => string;
4586
+ /** Accessible label for the start-side resize handle. */
4587
+ resizeStart?: string;
4588
+ /** Accessible label for the end-side resize handle. */
4589
+ resizeEnd?: string;
4590
+ /** Suffix appended to the assignment aria-label when status is conflict. */
4591
+ conflictSuffix?: string;
4592
+ }
4593
+
4435
4594
  export declare interface ResourceCalendarProps {
4436
4595
  resources: readonly ResourceCalendarResource[];
4437
4596
  assignments: readonly ResourceCalendarAssignment[];
@@ -4551,6 +4710,30 @@ export declare interface SchemaFormEditorInspectorProps {
4551
4710
  store: SchemaEditorStore;
4552
4711
  }
4553
4712
 
4713
+ /** Locale strings for the SchemaFormEditor component. */
4714
+ declare interface SchemaFormEditorLocale {
4715
+ /** Tooltip / aria-label for the undo button. */
4716
+ undo?: string;
4717
+ /** Tooltip / aria-label for the redo button. */
4718
+ redo?: string;
4719
+ /** Accessible label for the per-option remove (×) button in the inspector. */
4720
+ removeOption?: string;
4721
+ /** Accessible label for the read-only generated JSON `<pre>`. */
4722
+ schemaView?: string;
4723
+ /** Inspector "Label" placeholder. */
4724
+ optionLabelPlaceholder?: string;
4725
+ /** Inspector "Value" placeholder. */
4726
+ optionValuePlaceholder?: string;
4727
+ /** Per-field action: move up. */
4728
+ moveFieldUp?: string;
4729
+ /** Per-field action: move down. */
4730
+ moveFieldDown?: string;
4731
+ /** Per-field action: duplicate. */
4732
+ duplicateField?: string;
4733
+ /** Per-field action: delete. */
4734
+ deleteField?: string;
4735
+ }
4736
+
4554
4737
  export declare interface SchemaFormEditorPaletteProps {
4555
4738
  items?: PaletteItem[];
4556
4739
  }
@@ -4776,6 +4959,10 @@ export declare interface SgCalendarLocale {
4776
4959
  prevMonth?: string;
4777
4960
  /** Aria label / tooltip for the next-month navigation button. */
4778
4961
  nextMonth?: string;
4962
+ /** Aria label for the inline month selector. */
4963
+ month?: string;
4964
+ /** Aria label for the inline year selector. */
4965
+ year?: string;
4779
4966
  }
4780
4967
 
4781
4968
  export declare const SgCarousel: DefineComponent<ExtractPropTypes< {
@@ -5225,6 +5412,32 @@ export declare interface SgLocale {
5225
5412
  inlineEdit?: InlineEditLocale;
5226
5413
  calendar?: SgCalendarLocale;
5227
5414
  datePicker?: DatePickerLocale;
5415
+ form?: FormLocale;
5416
+ upload?: UploadLocale;
5417
+ transfer?: TransferLocale_2;
5418
+ drawer?: DrawerLocale;
5419
+ notification?: NotificationLocale;
5420
+ tag?: TagLocale;
5421
+ spin?: SpinLocale;
5422
+ skeleton?: SkeletonLocale;
5423
+ breadcrumb?: BreadcrumbLocale;
5424
+ carousel?: CarouselLocale;
5425
+ rate?: RateLocale;
5426
+ charts?: ChartsLocale;
5427
+ cascader?: CascaderLocale;
5428
+ treeSelect?: TreeSelectLocale;
5429
+ tree?: TreeLocale_2;
5430
+ dashboard?: DashboardLocale;
5431
+ gantt?: GanttLocale;
5432
+ resourceCalendar?: ResourceCalendarLocale;
5433
+ timeline?: TimelineLocale;
5434
+ diagram?: DiagramLocale;
5435
+ dataGrid?: DataGridLocale;
5436
+ schemaFormEditor?: SchemaFormEditorLocale;
5437
+ list?: ListLocale_2;
5438
+ table?: TableLocale_2;
5439
+ input?: InputLocale;
5440
+ colorPicker?: ColorPickerLocale;
5228
5441
  }
5229
5442
 
5230
5443
  export declare const SgMentions: DefineComponent<MentionsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -5495,8 +5708,8 @@ onComplete?: ((v: string) => any) | undefined;
5495
5708
  }>, {
5496
5709
  length: number;
5497
5710
  mask: boolean;
5498
- placeholder: string;
5499
5711
  type: "numeric" | "alphanumeric";
5712
+ placeholder: string;
5500
5713
  autoFocus: boolean;
5501
5714
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
5502
5715
 
@@ -6069,6 +6282,12 @@ declare interface SkeletonAvatar {
6069
6282
  shape?: 'circle' | 'square';
6070
6283
  }
6071
6284
 
6285
+ /** Locale strings for the Skeleton component. */
6286
+ declare interface SkeletonLocale {
6287
+ /** Accessible label announced while content is loading. */
6288
+ loading?: string;
6289
+ }
6290
+
6072
6291
  declare interface SkeletonParagraph {
6073
6292
  rows?: number;
6074
6293
  width?: Array<number | string>;
@@ -6119,6 +6338,12 @@ export declare interface SortConfig {
6119
6338
 
6120
6339
  export declare type SortDirection = 'asc' | 'desc'
6121
6340
 
6341
+ /** Locale strings for the Spin component. */
6342
+ declare interface SpinLocale {
6343
+ /** Accessible label for the spinner role. */
6344
+ loading?: string;
6345
+ }
6346
+
6122
6347
  export declare interface SpinProps {
6123
6348
  /** When `true`, shows the loading state (subject to `delay`). @default true */
6124
6349
  spinning?: boolean;
@@ -6247,6 +6472,8 @@ export declare interface TableColumn {
6247
6472
  onCell?: (row: Record<string, unknown>, rowIndex: number) => TableCellSpan;
6248
6473
  /** Child columns for grouped headers. */
6249
6474
  children?: TableColumn[];
6475
+ /** Extra class for header cell of this column. */
6476
+ headerClassName?: string;
6250
6477
  /** Footer aggregate for this column. */
6251
6478
  aggregate?: TableAggregateType | ((values: unknown[]) => unknown);
6252
6479
  }
@@ -6391,6 +6618,12 @@ export declare interface TableLocale {
6391
6618
  expandIcon?: string;
6392
6619
  }
6393
6620
 
6621
+ /** Locale strings for the Table component (subset, Vue parity). */
6622
+ declare interface TableLocale_2 {
6623
+ /** Accessible label for the "select all" header checkbox. */
6624
+ selectAll?: string;
6625
+ }
6626
+
6394
6627
  export declare interface TableOptions {
6395
6628
  pageSize?: number
6396
6629
  columns?: string[]
@@ -6562,6 +6795,12 @@ export declare interface TagInputProps {
6562
6795
  style?: CSSProperties;
6563
6796
  }
6564
6797
 
6798
+ /** Locale strings for the Tag component. */
6799
+ declare interface TagLocale {
6800
+ /** Accessible label for the close (×) button on closable tags. */
6801
+ closeAriaLabel?: string;
6802
+ }
6803
+
6565
6804
  export declare interface TagProps {
6566
6805
  /** Preset semantic color or any CSS color string. @default 'default' */
6567
6806
  color?: 'default' | 'success' | 'error' | 'warning' | 'processing' | string;
@@ -6633,6 +6872,12 @@ export declare interface TimelineItem {
6633
6872
  position?: 'left' | 'right';
6634
6873
  }
6635
6874
 
6875
+ /** Locale strings for the Timeline component. */
6876
+ declare interface TimelineLocale {
6877
+ /** Accessible label for the timeline root. */
6878
+ ariaLabel?: string;
6879
+ }
6880
+
6636
6881
  export declare type TimelineOrientation = 'horizontal' | 'vertical';
6637
6882
 
6638
6883
  export declare interface TimelineProps {
@@ -6760,6 +7005,24 @@ declare interface TransferLocale {
6760
7005
  deselectAll?: string;
6761
7006
  }
6762
7007
 
7008
+ /** Locale strings for the Transfer component. */
7009
+ declare interface TransferLocale_2 {
7010
+ /** Titles for the left and right lists. */
7011
+ titles?: [string, string];
7012
+ /** Placeholder for the search input inside lists. */
7013
+ searchPlaceholder?: string;
7014
+ /** Singular unit label for items (e.g. "item"). */
7015
+ itemUnit?: string;
7016
+ /** Plural unit label for items (e.g. "items"). */
7017
+ itemsUnit?: string;
7018
+ /** Content shown when no items match the search. */
7019
+ notFoundContent?: string;
7020
+ /** Label for the "Select all" checkbox. */
7021
+ selectAll?: string;
7022
+ /** Label for the "Deselect all" checkbox. */
7023
+ deselectAll?: string;
7024
+ }
7025
+
6763
7026
  export declare interface TransferProps {
6764
7027
  /** Source data set. */
6765
7028
  dataSource: TransferItem[];
@@ -6893,6 +7156,12 @@ export declare interface TreeLocale {
6893
7156
  uncheckAllText?: string;
6894
7157
  }
6895
7158
 
7159
+ /** Locale strings for the Tree component. */
7160
+ declare interface TreeLocale_2 {
7161
+ /** Accessible label for the clear-search (×) button. */
7162
+ clearSearch?: string;
7163
+ }
7164
+
6896
7165
  export declare interface TreeNodeAction {
6897
7166
  /** Action identifier (also a Vue list key). */
6898
7167
  key: string;
@@ -7038,6 +7307,14 @@ export declare interface TreeProps {
7038
7307
  showLine?: boolean;
7039
7308
  }
7040
7309
 
7310
+ /** Locale strings for the TreeSelect component. */
7311
+ declare interface TreeSelectLocale {
7312
+ /** Placeholder for the search input inside the dropdown. */
7313
+ searchPlaceholder?: string;
7314
+ /** Empty-state text shown when search has no matches. */
7315
+ noMatches?: string;
7316
+ }
7317
+
7041
7318
  /** Back-compat alias — older Vue demos used the `value`/`label` shape. */
7042
7319
  export declare type TreeSelectNode = TreeNodeData;
7043
7320
 
@@ -7116,6 +7393,20 @@ export declare interface UploadFile {
7116
7393
  raw?: File;
7117
7394
  }
7118
7395
 
7396
+ /** Locale strings for the Upload component. */
7397
+ declare interface UploadLocale {
7398
+ /** Label for the upload trigger. */
7399
+ uploadText?: string;
7400
+ /** Label for the remove-file action. */
7401
+ removeFile?: string;
7402
+ /** Text shown when an upload fails. */
7403
+ uploadError?: string;
7404
+ /** Label for the preview-file action. */
7405
+ previewFile?: string;
7406
+ /** Accessible name for the upload-file `<input type="file">`. */
7407
+ uploadAriaLabel?: string;
7408
+ }
7409
+
7119
7410
  export declare interface UploadProps {
7120
7411
  /** v-model binding (Vue idiom). */
7121
7412
  modelValue?: UploadFile[];