@skygraph/vue 0.5.0 → 0.6.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/README.md +108 -121
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +311 -14
- package/dist/index.js +10910 -9620
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -27,17 +27,19 @@ pageChange: (page: number) => any;
|
|
|
27
27
|
sortChange: (column: string, direction: SortDirection | null) => any;
|
|
28
28
|
cellEdit: (id: string, column: string, value: unknown) => any;
|
|
29
29
|
expand: (expanded: boolean, id: string) => any;
|
|
30
|
+
columnOrderChange: (order: string[]) => any;
|
|
30
31
|
}, string, PublicProps, Readonly<TableProps> & Readonly<{
|
|
31
32
|
onRowClick?: ((id: string, data: Record<string, unknown>) => any) | undefined;
|
|
32
33
|
onPageChange?: ((page: number) => any) | undefined;
|
|
33
34
|
onSortChange?: ((column: string, direction: SortDirection | null) => any) | undefined;
|
|
34
35
|
onCellEdit?: ((id: string, column: string, value: unknown) => any) | undefined;
|
|
35
36
|
onExpand?: ((expanded: boolean, id: string) => any) | undefined;
|
|
37
|
+
onColumnOrderChange?: ((order: string[]) => any) | undefined;
|
|
36
38
|
}>, {
|
|
37
39
|
size: "small" | "middle" | "large";
|
|
40
|
+
bordered: boolean;
|
|
38
41
|
unstyled: boolean;
|
|
39
42
|
loading: boolean;
|
|
40
|
-
bordered: boolean;
|
|
41
43
|
sticky: boolean;
|
|
42
44
|
searchable: boolean;
|
|
43
45
|
showPagination: boolean;
|
|
@@ -78,8 +80,8 @@ onChange?: ((value: string) => any) | undefined;
|
|
|
78
80
|
}>, {
|
|
79
81
|
size: "small" | "middle" | "large";
|
|
80
82
|
disabled: boolean;
|
|
81
|
-
modelValue: string;
|
|
82
83
|
type: "text" | "email" | "password" | "number";
|
|
84
|
+
modelValue: string;
|
|
83
85
|
readOnly: boolean;
|
|
84
86
|
allowClear: boolean;
|
|
85
87
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
@@ -512,8 +514,8 @@ close: () => any;
|
|
|
512
514
|
}, string, PublicProps, Readonly<TagProps> & Readonly<{
|
|
513
515
|
onClose?: (() => any) | undefined;
|
|
514
516
|
}>, {
|
|
515
|
-
color: "default" | "success" | "error" | "warning" | "processing" | string;
|
|
516
517
|
bordered: boolean;
|
|
518
|
+
color: "default" | "success" | "error" | "warning" | "processing" | string;
|
|
517
519
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
518
520
|
|
|
519
521
|
declare const __VLS_component_35: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
|
|
@@ -637,8 +639,8 @@ style?: DashboardStyle | undefined;
|
|
|
637
639
|
}>, {
|
|
638
640
|
unstyled: boolean;
|
|
639
641
|
columns: number;
|
|
640
|
-
rowHeight: number;
|
|
641
642
|
draggable: boolean;
|
|
643
|
+
rowHeight: number;
|
|
642
644
|
gap: number;
|
|
643
645
|
resizable: boolean;
|
|
644
646
|
minW: number;
|
|
@@ -1921,6 +1923,12 @@ export declare interface BreadcrumbItem {
|
|
|
1921
1923
|
href?: string;
|
|
1922
1924
|
}
|
|
1923
1925
|
|
|
1926
|
+
/** Locale strings for the Breadcrumb component. */
|
|
1927
|
+
declare interface BreadcrumbLocale {
|
|
1928
|
+
/** Accessible name for the surrounding `<nav>` element. */
|
|
1929
|
+
ariaLabel?: string;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1924
1932
|
export declare interface BreadcrumbProps {
|
|
1925
1933
|
/** Ordered trail from root to current location. */
|
|
1926
1934
|
items: BreadcrumbItem[];
|
|
@@ -2037,6 +2045,12 @@ export declare interface CalendarProps {
|
|
|
2037
2045
|
unstyled?: boolean;
|
|
2038
2046
|
}
|
|
2039
2047
|
|
|
2048
|
+
/** Locale strings for the Carousel component. */
|
|
2049
|
+
declare interface CarouselLocale {
|
|
2050
|
+
/** Formats the per-slide indicator accessible label. Default `(i) => `Slide ${i}``. */
|
|
2051
|
+
slide?: (index: number) => string;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2040
2054
|
export declare interface CarouselProps {
|
|
2041
2055
|
/** Auto-advance slides on an interval. @default false */
|
|
2042
2056
|
autoplay?: boolean;
|
|
@@ -2052,6 +2066,18 @@ export declare interface CarouselProps {
|
|
|
2052
2066
|
unstyled?: boolean;
|
|
2053
2067
|
}
|
|
2054
2068
|
|
|
2069
|
+
/** Locale strings for the Cascader component. */
|
|
2070
|
+
declare interface CascaderLocale {
|
|
2071
|
+
/** Placeholder for the search input inside the dropdown. */
|
|
2072
|
+
searchPlaceholder?: string;
|
|
2073
|
+
/** Empty-state text shown when search has no matches. */
|
|
2074
|
+
noMatches?: string;
|
|
2075
|
+
/** Accessible label for the clear (×) button. */
|
|
2076
|
+
clear?: string;
|
|
2077
|
+
/** Accessible label for the per-tag remove (×) button. */
|
|
2078
|
+
removeTag?: string;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2055
2081
|
/** One node in a cascader tree; children define the next column. */
|
|
2056
2082
|
export declare interface CascaderOption {
|
|
2057
2083
|
/** Stable value included in the selected path. */
|
|
@@ -2348,6 +2374,22 @@ export declare interface ChartSize {
|
|
|
2348
2374
|
height: number;
|
|
2349
2375
|
}
|
|
2350
2376
|
|
|
2377
|
+
/** Locale strings for the Charts components. */
|
|
2378
|
+
declare interface ChartsLocale {
|
|
2379
|
+
/** Accessible label for `<LineChart>`. */
|
|
2380
|
+
lineChart?: string;
|
|
2381
|
+
/** Accessible label for `<BarChart>`. */
|
|
2382
|
+
barChart?: string;
|
|
2383
|
+
/** Accessible label for `<AreaChart>`. */
|
|
2384
|
+
areaChart?: string;
|
|
2385
|
+
/** Accessible label for `<PieChart>`. */
|
|
2386
|
+
pieChart?: string;
|
|
2387
|
+
/** Accessible label for the chart legend. */
|
|
2388
|
+
legend?: string;
|
|
2389
|
+
/** Accessible label for the hover-toolbar `<div role="toolbar">`. */
|
|
2390
|
+
actions?: string;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2351
2393
|
export declare type ChartValue = number | null;
|
|
2352
2394
|
|
|
2353
2395
|
export declare interface CheckboxProps {
|
|
@@ -2411,6 +2453,12 @@ export declare interface CollapseProps {
|
|
|
2411
2453
|
|
|
2412
2454
|
export declare function colorForSeries(series: ChartSeries, index: number): string;
|
|
2413
2455
|
|
|
2456
|
+
/** Locale strings for the ColorPicker component. */
|
|
2457
|
+
declare interface ColorPickerLocale {
|
|
2458
|
+
/** Accessible label for the color picker trigger. */
|
|
2459
|
+
pickColor?: string;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2414
2462
|
export declare interface ColorPickerProps {
|
|
2415
2463
|
/** v-model binding (Vue idiom). */
|
|
2416
2464
|
modelValue?: string;
|
|
@@ -2506,6 +2554,18 @@ export declare interface DashboardExpose {
|
|
|
2506
2554
|
}) => void;
|
|
2507
2555
|
}
|
|
2508
2556
|
|
|
2557
|
+
/** Locale strings for the Dashboard / DashboardEditor components. */
|
|
2558
|
+
declare interface DashboardLocale {
|
|
2559
|
+
/** Accessible label for the dashboard root. */
|
|
2560
|
+
ariaLabel?: string;
|
|
2561
|
+
/** Accessible label for the editor root (DashboardEditor). */
|
|
2562
|
+
editorAriaLabel?: string;
|
|
2563
|
+
/** Accessible label for the per-widget resize handle. */
|
|
2564
|
+
resizeWidget?: string;
|
|
2565
|
+
/** Accessible label for the widget actions (≡ menu) trigger. */
|
|
2566
|
+
widgetActions?: string;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2509
2569
|
export declare interface DashboardProps {
|
|
2510
2570
|
widgets: readonly DashboardWidget[];
|
|
2511
2571
|
/** Number of columns in the grid. @default 12 */
|
|
@@ -2578,6 +2638,14 @@ export declare interface DataGridExpose {
|
|
|
2578
2638
|
setActiveCell: (pos: CellPosition | null) => void;
|
|
2579
2639
|
}
|
|
2580
2640
|
|
|
2641
|
+
/** Locale strings for the DataGrid component. */
|
|
2642
|
+
declare interface DataGridLocale {
|
|
2643
|
+
/** Accessible label for the "select all rows" header checkbox. */
|
|
2644
|
+
selectAllRows?: string;
|
|
2645
|
+
/** Accessible label for the per-row selection checkbox. */
|
|
2646
|
+
selectRow?: string;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2581
2649
|
export declare interface DataGridProps<R = Record<string, unknown>> {
|
|
2582
2650
|
columns: DataGridColumn<R>[];
|
|
2583
2651
|
data: R[];
|
|
@@ -2752,6 +2820,12 @@ export declare interface DiagramExpose {
|
|
|
2752
2820
|
print: (opts?: PrintOptions) => void;
|
|
2753
2821
|
}
|
|
2754
2822
|
|
|
2823
|
+
/** Locale strings for the Diagram component. */
|
|
2824
|
+
declare interface DiagramLocale {
|
|
2825
|
+
/** Accessible label for the diagram root. */
|
|
2826
|
+
ariaLabel?: string;
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2755
2829
|
/**
|
|
2756
2830
|
* Mini-toolbar entry rendered above a hovered node. The `onClick` receives
|
|
2757
2831
|
* the original engine `GraphNode` plus the underlying MouseEvent.
|
|
@@ -2812,6 +2886,17 @@ export declare interface DiagramProps {
|
|
|
2812
2886
|
maxNodes?: number;
|
|
2813
2887
|
cornerRadius?: number;
|
|
2814
2888
|
curvature?: number;
|
|
2889
|
+
/**
|
|
2890
|
+
* Where the central bend of an orthogonal edge sits between the
|
|
2891
|
+
* two perpendicular stubs (0 = at source, 0.5 = midpoint, 1 = at
|
|
2892
|
+
* target). Defaults to `0.5` (React Flow's smoothstep behaviour).
|
|
2893
|
+
*/
|
|
2894
|
+
stepPosition?: number;
|
|
2895
|
+
/**
|
|
2896
|
+
* Length of the perpendicular stub extending from each endpoint
|
|
2897
|
+
* before the connector turns. Defaults to `max(20, gridSize)`.
|
|
2898
|
+
*/
|
|
2899
|
+
stubLength?: number;
|
|
2815
2900
|
};
|
|
2816
2901
|
/**
|
|
2817
2902
|
* Draw arrow markers on every edge's target end. Defaults to `true`
|
|
@@ -2901,6 +2986,12 @@ export declare interface DragInfo {
|
|
|
2901
2986
|
node: TreeNodeData;
|
|
2902
2987
|
}
|
|
2903
2988
|
|
|
2989
|
+
/** Locale strings for the Drawer component. */
|
|
2990
|
+
declare interface DrawerLocale {
|
|
2991
|
+
/** Accessible label for the close button. */
|
|
2992
|
+
closeAriaLabel?: string;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2904
2995
|
export declare interface DrawerProps {
|
|
2905
2996
|
/** When `true`, the drawer is visible. */
|
|
2906
2997
|
open: boolean;
|
|
@@ -3303,6 +3394,18 @@ export declare interface FormListProps {
|
|
|
3303
3394
|
initialValue?: unknown[];
|
|
3304
3395
|
}
|
|
3305
3396
|
|
|
3397
|
+
/** Locale strings for form-related components. */
|
|
3398
|
+
declare interface FormLocale {
|
|
3399
|
+
/** Marker text for required fields. */
|
|
3400
|
+
required?: string;
|
|
3401
|
+
/** Marker text for optional fields. */
|
|
3402
|
+
optional?: string;
|
|
3403
|
+
/** Label for the submit button. */
|
|
3404
|
+
submitText?: string;
|
|
3405
|
+
/** Label for the reset button. */
|
|
3406
|
+
resetText?: string;
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3306
3409
|
export declare interface FormOptions {
|
|
3307
3410
|
defaultValues?: Record<string, unknown>
|
|
3308
3411
|
validateOn?: ValidationMode
|
|
@@ -3382,6 +3485,14 @@ export declare interface FormState {
|
|
|
3382
3485
|
/** French (fr-FR) preset for {@link SgConfigProvider} `locale`. */
|
|
3383
3486
|
export declare const fr_FR: SgLocale;
|
|
3384
3487
|
|
|
3488
|
+
/** Locale strings for the Gantt component. */
|
|
3489
|
+
declare interface GanttLocale {
|
|
3490
|
+
/** Accessible label for the gantt root. */
|
|
3491
|
+
ariaLabel?: string;
|
|
3492
|
+
/** Accessible label for the per-task resize handle. */
|
|
3493
|
+
resizeTask?: string;
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3385
3496
|
export declare interface GanttProps {
|
|
3386
3497
|
tasks: readonly GanttTask[];
|
|
3387
3498
|
resources?: readonly GanttResource[];
|
|
@@ -3663,6 +3774,12 @@ export declare interface InputGroupProps {
|
|
|
3663
3774
|
style?: CSSProperties;
|
|
3664
3775
|
}
|
|
3665
3776
|
|
|
3777
|
+
/** Locale strings shared by Input-family `clear` (×) buttons. */
|
|
3778
|
+
declare interface InputLocale {
|
|
3779
|
+
/** Accessible label for the clear (×) button. */
|
|
3780
|
+
clear?: string;
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3666
3783
|
export declare interface InputNumberProps {
|
|
3667
3784
|
/** v-model binding (Vue idiom). */
|
|
3668
3785
|
modelValue?: number | null;
|
|
@@ -3817,6 +3934,12 @@ export declare interface ListLocale {
|
|
|
3817
3934
|
emptyText?: string;
|
|
3818
3935
|
}
|
|
3819
3936
|
|
|
3937
|
+
/** Locale strings for the List component. */
|
|
3938
|
+
declare interface ListLocale_2 {
|
|
3939
|
+
/** Accessible label for the loading state spinner. */
|
|
3940
|
+
loading?: string;
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3820
3943
|
export declare interface ListNavigationOptions {
|
|
3821
3944
|
itemCount: number | Ref<number> | ComputedRef<number>;
|
|
3822
3945
|
loop?: boolean;
|
|
@@ -3945,8 +4068,12 @@ export declare interface MentionsProps {
|
|
|
3945
4068
|
export declare interface MenuItem {
|
|
3946
4069
|
/** Unique key for selection and open-state tracking. */
|
|
3947
4070
|
key: string;
|
|
3948
|
-
/**
|
|
3949
|
-
|
|
4071
|
+
/**
|
|
4072
|
+
* Visible label. Accepts string for the common case and any `VNodeChild`
|
|
4073
|
+
* (created via `h()` or `<component :is>`) when rich content is needed
|
|
4074
|
+
* (e.g. keyboard shortcuts, badges). Paritet с React: `label: ReactNode`.
|
|
4075
|
+
*/
|
|
4076
|
+
label: string | VNodeChild;
|
|
3950
4077
|
/**
|
|
3951
4078
|
* Optional leading icon. Accepts any VNode (e.g. created with `h()` or `<component :is>`).
|
|
3952
4079
|
* Aligns left of the label and inherits the item colour state.
|
|
@@ -3970,6 +4097,8 @@ declare interface ModalLocale {
|
|
|
3970
4097
|
okText?: string;
|
|
3971
4098
|
/** Label for the Cancel button. */
|
|
3972
4099
|
cancelText?: string;
|
|
4100
|
+
/** Accessible name for the close (×) button. */
|
|
4101
|
+
closeAriaLabel?: string;
|
|
3973
4102
|
}
|
|
3974
4103
|
|
|
3975
4104
|
export declare interface ModalProps {
|
|
@@ -4089,6 +4218,12 @@ export declare interface NotificationContainerProps {
|
|
|
4089
4218
|
unstyled?: boolean;
|
|
4090
4219
|
}
|
|
4091
4220
|
|
|
4221
|
+
/** Locale strings for the Notification component. */
|
|
4222
|
+
declare interface NotificationLocale {
|
|
4223
|
+
/** Accessible label for the close button on each toast. */
|
|
4224
|
+
closeAriaLabel?: string;
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4092
4227
|
/** Visual variant for notification styling and icon. */
|
|
4093
4228
|
export declare type NotificationType = 'success' | 'error' | 'warning' | 'info';
|
|
4094
4229
|
|
|
@@ -4135,6 +4270,8 @@ declare interface PaginationLocale {
|
|
|
4135
4270
|
jump?: string;
|
|
4136
4271
|
/** Unit label for a page (e.g. "page"). */
|
|
4137
4272
|
page?: string;
|
|
4273
|
+
/** Accessible name for the surrounding `<nav>` element. */
|
|
4274
|
+
ariaLabel?: string;
|
|
4138
4275
|
}
|
|
4139
4276
|
|
|
4140
4277
|
export declare interface PaginationProps {
|
|
@@ -4383,6 +4520,14 @@ export declare interface RangePickerProps {
|
|
|
4383
4520
|
unstyled?: boolean;
|
|
4384
4521
|
}
|
|
4385
4522
|
|
|
4523
|
+
/** Locale strings for the Rate component. */
|
|
4524
|
+
declare interface RateLocale {
|
|
4525
|
+
/** Accessible label for the radio-group root. */
|
|
4526
|
+
ariaLabel?: string;
|
|
4527
|
+
/** Formats the per-star accessible label. */
|
|
4528
|
+
star?: (count: number) => string;
|
|
4529
|
+
}
|
|
4530
|
+
|
|
4386
4531
|
export declare interface RateProps {
|
|
4387
4532
|
/** v-model binding (Vue idiom). */
|
|
4388
4533
|
modelValue?: number;
|
|
@@ -4432,6 +4577,22 @@ export declare interface ResourceCalendarAssignment {
|
|
|
4432
4577
|
meta?: unknown;
|
|
4433
4578
|
}
|
|
4434
4579
|
|
|
4580
|
+
/** Locale strings for the ResourceCalendar component. */
|
|
4581
|
+
declare interface ResourceCalendarLocale {
|
|
4582
|
+
/** Accessible label for the calendar root. */
|
|
4583
|
+
ariaLabel?: string;
|
|
4584
|
+
/** Accessible label for the resource lane. */
|
|
4585
|
+
resource?: (name: string) => string;
|
|
4586
|
+
/** Accessible label for capacity. */
|
|
4587
|
+
capacity?: (capacityPerSlot: number) => string;
|
|
4588
|
+
/** Accessible label for the start-side resize handle. */
|
|
4589
|
+
resizeStart?: string;
|
|
4590
|
+
/** Accessible label for the end-side resize handle. */
|
|
4591
|
+
resizeEnd?: string;
|
|
4592
|
+
/** Suffix appended to the assignment aria-label when status is conflict. */
|
|
4593
|
+
conflictSuffix?: string;
|
|
4594
|
+
}
|
|
4595
|
+
|
|
4435
4596
|
export declare interface ResourceCalendarProps {
|
|
4436
4597
|
resources: readonly ResourceCalendarResource[];
|
|
4437
4598
|
assignments: readonly ResourceCalendarAssignment[];
|
|
@@ -4551,6 +4712,30 @@ export declare interface SchemaFormEditorInspectorProps {
|
|
|
4551
4712
|
store: SchemaEditorStore;
|
|
4552
4713
|
}
|
|
4553
4714
|
|
|
4715
|
+
/** Locale strings for the SchemaFormEditor component. */
|
|
4716
|
+
declare interface SchemaFormEditorLocale {
|
|
4717
|
+
/** Tooltip / aria-label for the undo button. */
|
|
4718
|
+
undo?: string;
|
|
4719
|
+
/** Tooltip / aria-label for the redo button. */
|
|
4720
|
+
redo?: string;
|
|
4721
|
+
/** Accessible label for the per-option remove (×) button in the inspector. */
|
|
4722
|
+
removeOption?: string;
|
|
4723
|
+
/** Accessible label for the read-only generated JSON `<pre>`. */
|
|
4724
|
+
schemaView?: string;
|
|
4725
|
+
/** Inspector "Label" placeholder. */
|
|
4726
|
+
optionLabelPlaceholder?: string;
|
|
4727
|
+
/** Inspector "Value" placeholder. */
|
|
4728
|
+
optionValuePlaceholder?: string;
|
|
4729
|
+
/** Per-field action: move up. */
|
|
4730
|
+
moveFieldUp?: string;
|
|
4731
|
+
/** Per-field action: move down. */
|
|
4732
|
+
moveFieldDown?: string;
|
|
4733
|
+
/** Per-field action: duplicate. */
|
|
4734
|
+
duplicateField?: string;
|
|
4735
|
+
/** Per-field action: delete. */
|
|
4736
|
+
deleteField?: string;
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4554
4739
|
export declare interface SchemaFormEditorPaletteProps {
|
|
4555
4740
|
items?: PaletteItem[];
|
|
4556
4741
|
}
|
|
@@ -4776,6 +4961,10 @@ export declare interface SgCalendarLocale {
|
|
|
4776
4961
|
prevMonth?: string;
|
|
4777
4962
|
/** Aria label / tooltip for the next-month navigation button. */
|
|
4778
4963
|
nextMonth?: string;
|
|
4964
|
+
/** Aria label for the inline month selector. */
|
|
4965
|
+
month?: string;
|
|
4966
|
+
/** Aria label for the inline year selector. */
|
|
4967
|
+
year?: string;
|
|
4779
4968
|
}
|
|
4780
4969
|
|
|
4781
4970
|
export declare const SgCarousel: DefineComponent<ExtractPropTypes< {
|
|
@@ -5104,8 +5293,8 @@ containerRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
|
5104
5293
|
"onTask-change"?: ((task: GanttTask) => any) | undefined;
|
|
5105
5294
|
}>, {
|
|
5106
5295
|
unstyled: boolean;
|
|
5107
|
-
rowHeight: number;
|
|
5108
5296
|
draggable: boolean;
|
|
5297
|
+
rowHeight: number;
|
|
5109
5298
|
columnWidth: number;
|
|
5110
5299
|
scale: GanttScale;
|
|
5111
5300
|
resizable: boolean;
|
|
@@ -5225,6 +5414,32 @@ export declare interface SgLocale {
|
|
|
5225
5414
|
inlineEdit?: InlineEditLocale;
|
|
5226
5415
|
calendar?: SgCalendarLocale;
|
|
5227
5416
|
datePicker?: DatePickerLocale;
|
|
5417
|
+
form?: FormLocale;
|
|
5418
|
+
upload?: UploadLocale;
|
|
5419
|
+
transfer?: TransferLocale_2;
|
|
5420
|
+
drawer?: DrawerLocale;
|
|
5421
|
+
notification?: NotificationLocale;
|
|
5422
|
+
tag?: TagLocale;
|
|
5423
|
+
spin?: SpinLocale;
|
|
5424
|
+
skeleton?: SkeletonLocale;
|
|
5425
|
+
breadcrumb?: BreadcrumbLocale;
|
|
5426
|
+
carousel?: CarouselLocale;
|
|
5427
|
+
rate?: RateLocale;
|
|
5428
|
+
charts?: ChartsLocale;
|
|
5429
|
+
cascader?: CascaderLocale;
|
|
5430
|
+
treeSelect?: TreeSelectLocale;
|
|
5431
|
+
tree?: TreeLocale_2;
|
|
5432
|
+
dashboard?: DashboardLocale;
|
|
5433
|
+
gantt?: GanttLocale;
|
|
5434
|
+
resourceCalendar?: ResourceCalendarLocale;
|
|
5435
|
+
timeline?: TimelineLocale;
|
|
5436
|
+
diagram?: DiagramLocale;
|
|
5437
|
+
dataGrid?: DataGridLocale;
|
|
5438
|
+
schemaFormEditor?: SchemaFormEditorLocale;
|
|
5439
|
+
list?: ListLocale_2;
|
|
5440
|
+
table?: TableLocale_2;
|
|
5441
|
+
input?: InputLocale;
|
|
5442
|
+
colorPicker?: ColorPickerLocale;
|
|
5228
5443
|
}
|
|
5229
5444
|
|
|
5230
5445
|
export declare const SgMentions: DefineComponent<MentionsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -5495,8 +5710,8 @@ onComplete?: ((v: string) => any) | undefined;
|
|
|
5495
5710
|
}>, {
|
|
5496
5711
|
length: number;
|
|
5497
5712
|
mask: boolean;
|
|
5498
|
-
placeholder: string;
|
|
5499
5713
|
type: "numeric" | "alphanumeric";
|
|
5714
|
+
placeholder: string;
|
|
5500
5715
|
autoFocus: boolean;
|
|
5501
5716
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5502
5717
|
|
|
@@ -5579,8 +5794,8 @@ b: ResourceCalendarAssignment;
|
|
|
5579
5794
|
onAssignmentChange?: ((next: ResourceCalendarAssignment) => any) | undefined;
|
|
5580
5795
|
}>, {
|
|
5581
5796
|
unstyled: boolean;
|
|
5582
|
-
rowHeight: number;
|
|
5583
5797
|
draggable: boolean;
|
|
5798
|
+
rowHeight: number;
|
|
5584
5799
|
columnWidth: number;
|
|
5585
5800
|
scale: ResourceCalendarScale;
|
|
5586
5801
|
resizable: boolean;
|
|
@@ -5895,9 +6110,9 @@ select: (keys: TreeKey[], info: SelectInfo) => any;
|
|
|
5895
6110
|
focus: (key: TreeKey) => any;
|
|
5896
6111
|
drop: (info: DropInfo) => any;
|
|
5897
6112
|
expand: (keys: TreeKey[], info: ExpandInfo) => any;
|
|
6113
|
+
dragOver: (info: DragInfo) => any;
|
|
5898
6114
|
check: (keys: TreeKey[], info: CheckInfo) => any;
|
|
5899
6115
|
dragStart: (info: DragInfo) => any;
|
|
5900
|
-
dragOver: (info: DragInfo) => any;
|
|
5901
6116
|
dragLeave: (info: DragInfo) => any;
|
|
5902
6117
|
dragEnd: (info: DragInfo) => any;
|
|
5903
6118
|
rightClick: (info: {
|
|
@@ -5916,9 +6131,9 @@ onSelect?: ((keys: TreeKey[], info: SelectInfo) => any) | undefined;
|
|
|
5916
6131
|
onFocus?: ((key: TreeKey) => any) | undefined;
|
|
5917
6132
|
onDrop?: ((info: DropInfo) => any) | undefined;
|
|
5918
6133
|
onExpand?: ((keys: TreeKey[], info: ExpandInfo) => any) | undefined;
|
|
6134
|
+
onDragOver?: ((info: DragInfo) => any) | undefined;
|
|
5919
6135
|
onCheck?: ((keys: TreeKey[], info: CheckInfo) => any) | undefined;
|
|
5920
6136
|
onDragStart?: ((info: DragInfo) => any) | undefined;
|
|
5921
|
-
onDragOver?: ((info: DragInfo) => any) | undefined;
|
|
5922
6137
|
onDragLeave?: ((info: DragInfo) => any) | undefined;
|
|
5923
6138
|
onDragEnd?: ((info: DragInfo) => any) | undefined;
|
|
5924
6139
|
onRightClick?: ((info: {
|
|
@@ -5937,12 +6152,12 @@ selectable: boolean;
|
|
|
5937
6152
|
checkable: boolean;
|
|
5938
6153
|
unstyled: boolean;
|
|
5939
6154
|
multiple: boolean;
|
|
6155
|
+
draggable: boolean | ((node: TreeNodeData) => boolean);
|
|
5940
6156
|
virtual: boolean;
|
|
5941
6157
|
indentSize: number;
|
|
5942
6158
|
blockNode: boolean;
|
|
5943
6159
|
directory: boolean;
|
|
5944
6160
|
animated: boolean;
|
|
5945
|
-
draggable: boolean | ((node: TreeNodeData) => boolean);
|
|
5946
6161
|
checkStrictly: boolean;
|
|
5947
6162
|
defaultExpandAll: boolean;
|
|
5948
6163
|
autoExpandParent: boolean;
|
|
@@ -5961,9 +6176,9 @@ export declare const SgTreeNodeRow: DefineComponent<TreeNodeRowProps, {}, {}, {}
|
|
|
5961
6176
|
select: (key: TreeKey) => any;
|
|
5962
6177
|
drop: (evt: DragEvent, key: TreeKey) => any;
|
|
5963
6178
|
expand: (key: TreeKey) => any;
|
|
6179
|
+
dragOver: (evt: DragEvent, key: TreeKey) => any;
|
|
5964
6180
|
check: (key: TreeKey) => any;
|
|
5965
6181
|
dragStart: (evt: DragEvent, key: TreeKey) => any;
|
|
5966
|
-
dragOver: (evt: DragEvent, key: TreeKey) => any;
|
|
5967
6182
|
dragLeave: (evt: DragEvent, key: TreeKey) => any;
|
|
5968
6183
|
dragEnd: (evt: DragEvent, key: TreeKey) => any;
|
|
5969
6184
|
rightClick: (evt: MouseEvent, node: TreeNodeData) => any;
|
|
@@ -5975,9 +6190,9 @@ editCancel: (key: TreeKey) => any;
|
|
|
5975
6190
|
onSelect?: ((key: TreeKey) => any) | undefined;
|
|
5976
6191
|
onDrop?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
5977
6192
|
onExpand?: ((key: TreeKey) => any) | undefined;
|
|
6193
|
+
onDragOver?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
5978
6194
|
onCheck?: ((key: TreeKey) => any) | undefined;
|
|
5979
6195
|
onDragStart?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
5980
|
-
onDragOver?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
5981
6196
|
onDragLeave?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
5982
6197
|
onDragEnd?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
5983
6198
|
onRightClick?: ((evt: MouseEvent, node: TreeNodeData) => any) | undefined;
|
|
@@ -6069,6 +6284,12 @@ declare interface SkeletonAvatar {
|
|
|
6069
6284
|
shape?: 'circle' | 'square';
|
|
6070
6285
|
}
|
|
6071
6286
|
|
|
6287
|
+
/** Locale strings for the Skeleton component. */
|
|
6288
|
+
declare interface SkeletonLocale {
|
|
6289
|
+
/** Accessible label announced while content is loading. */
|
|
6290
|
+
loading?: string;
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6072
6293
|
declare interface SkeletonParagraph {
|
|
6073
6294
|
rows?: number;
|
|
6074
6295
|
width?: Array<number | string>;
|
|
@@ -6119,6 +6340,12 @@ export declare interface SortConfig {
|
|
|
6119
6340
|
|
|
6120
6341
|
export declare type SortDirection = 'asc' | 'desc'
|
|
6121
6342
|
|
|
6343
|
+
/** Locale strings for the Spin component. */
|
|
6344
|
+
declare interface SpinLocale {
|
|
6345
|
+
/** Accessible label for the spinner role. */
|
|
6346
|
+
loading?: string;
|
|
6347
|
+
}
|
|
6348
|
+
|
|
6122
6349
|
export declare interface SpinProps {
|
|
6123
6350
|
/** When `true`, shows the loading state (subject to `delay`). @default true */
|
|
6124
6351
|
spinning?: boolean;
|
|
@@ -6247,6 +6474,8 @@ export declare interface TableColumn {
|
|
|
6247
6474
|
onCell?: (row: Record<string, unknown>, rowIndex: number) => TableCellSpan;
|
|
6248
6475
|
/** Child columns for grouped headers. */
|
|
6249
6476
|
children?: TableColumn[];
|
|
6477
|
+
/** Extra class for header cell of this column. */
|
|
6478
|
+
headerClassName?: string;
|
|
6250
6479
|
/** Footer aggregate for this column. */
|
|
6251
6480
|
aggregate?: TableAggregateType | ((values: unknown[]) => unknown);
|
|
6252
6481
|
}
|
|
@@ -6391,6 +6620,12 @@ export declare interface TableLocale {
|
|
|
6391
6620
|
expandIcon?: string;
|
|
6392
6621
|
}
|
|
6393
6622
|
|
|
6623
|
+
/** Locale strings for the Table component (subset, Vue parity). */
|
|
6624
|
+
declare interface TableLocale_2 {
|
|
6625
|
+
/** Accessible label for the "select all" header checkbox. */
|
|
6626
|
+
selectAll?: string;
|
|
6627
|
+
}
|
|
6628
|
+
|
|
6394
6629
|
export declare interface TableOptions {
|
|
6395
6630
|
pageSize?: number
|
|
6396
6631
|
columns?: string[]
|
|
@@ -6425,6 +6660,10 @@ export declare interface TableProps {
|
|
|
6425
6660
|
size?: 'small' | 'middle' | 'large';
|
|
6426
6661
|
/** Sticky header while scrolling vertically. */
|
|
6427
6662
|
sticky?: boolean;
|
|
6663
|
+
/** Enables column reorder by drag-and-drop in the header. */
|
|
6664
|
+
draggable?: boolean;
|
|
6665
|
+
/** Called after header columns are reordered by drag-and-drop. */
|
|
6666
|
+
onColumnOrderChange?: (order: string[]) => void;
|
|
6428
6667
|
/** Locale strings. */
|
|
6429
6668
|
locale?: TableLocale;
|
|
6430
6669
|
/** Row class name. */
|
|
@@ -6562,6 +6801,12 @@ export declare interface TagInputProps {
|
|
|
6562
6801
|
style?: CSSProperties;
|
|
6563
6802
|
}
|
|
6564
6803
|
|
|
6804
|
+
/** Locale strings for the Tag component. */
|
|
6805
|
+
declare interface TagLocale {
|
|
6806
|
+
/** Accessible label for the close (×) button on closable tags. */
|
|
6807
|
+
closeAriaLabel?: string;
|
|
6808
|
+
}
|
|
6809
|
+
|
|
6565
6810
|
export declare interface TagProps {
|
|
6566
6811
|
/** Preset semantic color or any CSS color string. @default 'default' */
|
|
6567
6812
|
color?: 'default' | 'success' | 'error' | 'warning' | 'processing' | string;
|
|
@@ -6633,6 +6878,12 @@ export declare interface TimelineItem {
|
|
|
6633
6878
|
position?: 'left' | 'right';
|
|
6634
6879
|
}
|
|
6635
6880
|
|
|
6881
|
+
/** Locale strings for the Timeline component. */
|
|
6882
|
+
declare interface TimelineLocale {
|
|
6883
|
+
/** Accessible label for the timeline root. */
|
|
6884
|
+
ariaLabel?: string;
|
|
6885
|
+
}
|
|
6886
|
+
|
|
6636
6887
|
export declare type TimelineOrientation = 'horizontal' | 'vertical';
|
|
6637
6888
|
|
|
6638
6889
|
export declare interface TimelineProps {
|
|
@@ -6760,6 +7011,24 @@ declare interface TransferLocale {
|
|
|
6760
7011
|
deselectAll?: string;
|
|
6761
7012
|
}
|
|
6762
7013
|
|
|
7014
|
+
/** Locale strings for the Transfer component. */
|
|
7015
|
+
declare interface TransferLocale_2 {
|
|
7016
|
+
/** Titles for the left and right lists. */
|
|
7017
|
+
titles?: [string, string];
|
|
7018
|
+
/** Placeholder for the search input inside lists. */
|
|
7019
|
+
searchPlaceholder?: string;
|
|
7020
|
+
/** Singular unit label for items (e.g. "item"). */
|
|
7021
|
+
itemUnit?: string;
|
|
7022
|
+
/** Plural unit label for items (e.g. "items"). */
|
|
7023
|
+
itemsUnit?: string;
|
|
7024
|
+
/** Content shown when no items match the search. */
|
|
7025
|
+
notFoundContent?: string;
|
|
7026
|
+
/** Label for the "Select all" checkbox. */
|
|
7027
|
+
selectAll?: string;
|
|
7028
|
+
/** Label for the "Deselect all" checkbox. */
|
|
7029
|
+
deselectAll?: string;
|
|
7030
|
+
}
|
|
7031
|
+
|
|
6763
7032
|
export declare interface TransferProps {
|
|
6764
7033
|
/** Source data set. */
|
|
6765
7034
|
dataSource: TransferItem[];
|
|
@@ -6893,6 +7162,12 @@ export declare interface TreeLocale {
|
|
|
6893
7162
|
uncheckAllText?: string;
|
|
6894
7163
|
}
|
|
6895
7164
|
|
|
7165
|
+
/** Locale strings for the Tree component. */
|
|
7166
|
+
declare interface TreeLocale_2 {
|
|
7167
|
+
/** Accessible label for the clear-search (×) button. */
|
|
7168
|
+
clearSearch?: string;
|
|
7169
|
+
}
|
|
7170
|
+
|
|
6896
7171
|
export declare interface TreeNodeAction {
|
|
6897
7172
|
/** Action identifier (also a Vue list key). */
|
|
6898
7173
|
key: string;
|
|
@@ -7038,6 +7313,14 @@ export declare interface TreeProps {
|
|
|
7038
7313
|
showLine?: boolean;
|
|
7039
7314
|
}
|
|
7040
7315
|
|
|
7316
|
+
/** Locale strings for the TreeSelect component. */
|
|
7317
|
+
declare interface TreeSelectLocale {
|
|
7318
|
+
/** Placeholder for the search input inside the dropdown. */
|
|
7319
|
+
searchPlaceholder?: string;
|
|
7320
|
+
/** Empty-state text shown when search has no matches. */
|
|
7321
|
+
noMatches?: string;
|
|
7322
|
+
}
|
|
7323
|
+
|
|
7041
7324
|
/** Back-compat alias — older Vue demos used the `value`/`label` shape. */
|
|
7042
7325
|
export declare type TreeSelectNode = TreeNodeData;
|
|
7043
7326
|
|
|
@@ -7116,6 +7399,20 @@ export declare interface UploadFile {
|
|
|
7116
7399
|
raw?: File;
|
|
7117
7400
|
}
|
|
7118
7401
|
|
|
7402
|
+
/** Locale strings for the Upload component. */
|
|
7403
|
+
declare interface UploadLocale {
|
|
7404
|
+
/** Label for the upload trigger. */
|
|
7405
|
+
uploadText?: string;
|
|
7406
|
+
/** Label for the remove-file action. */
|
|
7407
|
+
removeFile?: string;
|
|
7408
|
+
/** Text shown when an upload fails. */
|
|
7409
|
+
uploadError?: string;
|
|
7410
|
+
/** Label for the preview-file action. */
|
|
7411
|
+
previewFile?: string;
|
|
7412
|
+
/** Accessible name for the upload-file `<input type="file">`. */
|
|
7413
|
+
uploadAriaLabel?: string;
|
|
7414
|
+
}
|
|
7415
|
+
|
|
7119
7416
|
export declare interface UploadProps {
|
|
7120
7417
|
/** v-model binding (Vue idiom). */
|
|
7121
7418
|
modelValue?: UploadFile[];
|