@skygraph/vue 0.6.3 → 0.6.6
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 +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +55 -30
- package/dist/index.js +9517 -8484
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -135,7 +135,10 @@ onChange?: ((checked: boolean) => any) | undefined;
|
|
|
135
135
|
}>, {
|
|
136
136
|
size: "small" | "middle" | "large";
|
|
137
137
|
disabled: boolean;
|
|
138
|
+
modelValue: boolean;
|
|
138
139
|
loading: boolean;
|
|
140
|
+
checked: boolean;
|
|
141
|
+
defaultChecked: boolean;
|
|
139
142
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
140
143
|
|
|
141
144
|
declare const __VLS_component_17: DefineComponent<RateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -146,8 +149,8 @@ onChange?: ((value: number) => any) | undefined;
|
|
|
146
149
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
147
150
|
}>, {
|
|
148
151
|
disabled: boolean;
|
|
149
|
-
defaultValue: number;
|
|
150
152
|
count: number;
|
|
153
|
+
defaultValue: number;
|
|
151
154
|
allowHalf: boolean;
|
|
152
155
|
character: string;
|
|
153
156
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -248,8 +251,8 @@ point: DiagramCanvasContextPoint;
|
|
|
248
251
|
}>, {
|
|
249
252
|
height: number | string;
|
|
250
253
|
unstyled: boolean;
|
|
251
|
-
draggable: boolean | ((id: NodeId, x: number, y: number) => void);
|
|
252
254
|
width: number | string;
|
|
255
|
+
draggable: boolean | ((id: NodeId, x: number, y: number) => void);
|
|
253
256
|
fileName: string;
|
|
254
257
|
zoomable: boolean;
|
|
255
258
|
panable: boolean;
|
|
@@ -314,6 +317,7 @@ width: number | string;
|
|
|
314
317
|
okType: "primary" | "default" | "dashed" | "text";
|
|
315
318
|
confirmLoading: boolean;
|
|
316
319
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
320
|
+
scopeRef: HTMLSpanElement;
|
|
317
321
|
trapRef: HTMLDivElement;
|
|
318
322
|
}, any>;
|
|
319
323
|
|
|
@@ -329,6 +333,7 @@ placement: "left" | "right" | "top" | "bottom";
|
|
|
329
333
|
closable: boolean;
|
|
330
334
|
maskClosable: boolean;
|
|
331
335
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
336
|
+
scopeRef: HTMLSpanElement;
|
|
332
337
|
trapRef: HTMLDivElement;
|
|
333
338
|
}, any>;
|
|
334
339
|
|
|
@@ -775,7 +780,7 @@ onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
|
775
780
|
}>, {
|
|
776
781
|
size: SizeType;
|
|
777
782
|
disabled: boolean;
|
|
778
|
-
type: "link" | "text" | "default" | "
|
|
783
|
+
type: "link" | "text" | "default" | "primary" | "dashed";
|
|
779
784
|
block: boolean;
|
|
780
785
|
unstyled: boolean;
|
|
781
786
|
loading: boolean;
|
|
@@ -863,35 +868,35 @@ declare type __VLS_Props = DataGridProps<Row>;
|
|
|
863
868
|
declare function __VLS_template(): {
|
|
864
869
|
attrs: Partial<{}>;
|
|
865
870
|
slots: Readonly<{
|
|
866
|
-
toolbar(props: Record<string, never>): unknown;
|
|
867
|
-
empty(props: Record<string, never>): unknown;
|
|
868
|
-
cell(props: {
|
|
871
|
+
toolbar?(props: Record<string, never>): unknown;
|
|
872
|
+
empty?(props: Record<string, never>): unknown;
|
|
873
|
+
cell?(props: {
|
|
869
874
|
column: TableColumn;
|
|
870
875
|
row: Record<string, unknown>;
|
|
871
876
|
id: RowId;
|
|
872
877
|
value: unknown;
|
|
873
878
|
}): unknown;
|
|
874
|
-
expandedRow(props: {
|
|
879
|
+
expandedRow?(props: {
|
|
875
880
|
row: Record<string, unknown>;
|
|
876
881
|
id: RowId;
|
|
877
882
|
}): unknown;
|
|
878
|
-
filterDropdown(props: TableFilterDropdownSlotProps & {
|
|
883
|
+
filterDropdown?(props: TableFilterDropdownSlotProps & {
|
|
879
884
|
column: TableColumn;
|
|
880
885
|
}): unknown;
|
|
881
886
|
}> & {
|
|
882
|
-
toolbar(props: Record<string, never>): unknown;
|
|
883
|
-
empty(props: Record<string, never>): unknown;
|
|
884
|
-
cell(props: {
|
|
887
|
+
toolbar?(props: Record<string, never>): unknown;
|
|
888
|
+
empty?(props: Record<string, never>): unknown;
|
|
889
|
+
cell?(props: {
|
|
885
890
|
column: TableColumn;
|
|
886
891
|
row: Record<string, unknown>;
|
|
887
892
|
id: RowId;
|
|
888
893
|
value: unknown;
|
|
889
894
|
}): unknown;
|
|
890
|
-
expandedRow(props: {
|
|
895
|
+
expandedRow?(props: {
|
|
891
896
|
row: Record<string, unknown>;
|
|
892
897
|
id: RowId;
|
|
893
898
|
}): unknown;
|
|
894
|
-
filterDropdown(props: TableFilterDropdownSlotProps & {
|
|
899
|
+
filterDropdown?(props: TableFilterDropdownSlotProps & {
|
|
895
900
|
column: TableColumn;
|
|
896
901
|
}): unknown;
|
|
897
902
|
};
|
|
@@ -1111,6 +1116,7 @@ declare function __VLS_template_23(): {
|
|
|
1111
1116
|
footer(props: Record<string, never>): unknown;
|
|
1112
1117
|
};
|
|
1113
1118
|
refs: {
|
|
1119
|
+
scopeRef: HTMLSpanElement;
|
|
1114
1120
|
trapRef: HTMLDivElement;
|
|
1115
1121
|
};
|
|
1116
1122
|
rootEl: any;
|
|
@@ -1126,6 +1132,7 @@ declare function __VLS_template_24(): {
|
|
|
1126
1132
|
footer(props: Record<string, never>): unknown;
|
|
1127
1133
|
};
|
|
1128
1134
|
refs: {
|
|
1135
|
+
scopeRef: HTMLSpanElement;
|
|
1129
1136
|
trapRef: HTMLDivElement;
|
|
1130
1137
|
};
|
|
1131
1138
|
rootEl: any;
|
|
@@ -1391,13 +1398,13 @@ declare function __VLS_template_39(): {
|
|
|
1391
1398
|
attrs: Partial<{}>;
|
|
1392
1399
|
slots: Readonly<{
|
|
1393
1400
|
/** Per-item content override. `isPending` is `true` for the synthetic pending tail. */
|
|
1394
|
-
content(slotProps: {
|
|
1401
|
+
content?(slotProps: {
|
|
1395
1402
|
item: TimelineItem;
|
|
1396
1403
|
index: number;
|
|
1397
1404
|
isPending: boolean;
|
|
1398
1405
|
}): unknown;
|
|
1399
1406
|
/** Per-item label override (shown beside the marker / above on `alternate`). */
|
|
1400
|
-
label(slotProps: {
|
|
1407
|
+
label?(slotProps: {
|
|
1401
1408
|
item: TimelineItem;
|
|
1402
1409
|
index: number;
|
|
1403
1410
|
}): unknown;
|
|
@@ -1405,20 +1412,20 @@ declare function __VLS_template_39(): {
|
|
|
1405
1412
|
* Per-item dot override. Replaces the default ring; `isPending` is `true`
|
|
1406
1413
|
* for the synthetic pending tail (use it to render `pendingDot` analogue).
|
|
1407
1414
|
*/
|
|
1408
|
-
dot(slotProps: {
|
|
1415
|
+
dot?(slotProps: {
|
|
1409
1416
|
item: TimelineItem;
|
|
1410
1417
|
index: number;
|
|
1411
1418
|
isPending: boolean;
|
|
1412
1419
|
}): unknown;
|
|
1413
1420
|
}> & {
|
|
1414
1421
|
/** Per-item content override. `isPending` is `true` for the synthetic pending tail. */
|
|
1415
|
-
content(slotProps: {
|
|
1422
|
+
content?(slotProps: {
|
|
1416
1423
|
item: TimelineItem;
|
|
1417
1424
|
index: number;
|
|
1418
1425
|
isPending: boolean;
|
|
1419
1426
|
}): unknown;
|
|
1420
1427
|
/** Per-item label override (shown beside the marker / above on `alternate`). */
|
|
1421
|
-
label(slotProps: {
|
|
1428
|
+
label?(slotProps: {
|
|
1422
1429
|
item: TimelineItem;
|
|
1423
1430
|
index: number;
|
|
1424
1431
|
}): unknown;
|
|
@@ -1426,7 +1433,7 @@ declare function __VLS_template_39(): {
|
|
|
1426
1433
|
* Per-item dot override. Replaces the default ring; `isPending` is `true`
|
|
1427
1434
|
* for the synthetic pending tail (use it to render `pendingDot` analogue).
|
|
1428
1435
|
*/
|
|
1429
|
-
dot(slotProps: {
|
|
1436
|
+
dot?(slotProps: {
|
|
1430
1437
|
item: TimelineItem;
|
|
1431
1438
|
index: number;
|
|
1432
1439
|
isPending: boolean;
|
|
@@ -4127,6 +4134,12 @@ export declare interface InputProps {
|
|
|
4127
4134
|
ariaDescribedby?: string;
|
|
4128
4135
|
}
|
|
4129
4136
|
|
|
4137
|
+
/** Italian (Italy) preset for {@link SgConfigProvider} `locale`. */
|
|
4138
|
+
export declare const it_IT: SgLocale;
|
|
4139
|
+
|
|
4140
|
+
/** Japanese (Japan) preset for {@link SgConfigProvider} `locale`. */
|
|
4141
|
+
export declare const ja_JP: SgLocale;
|
|
4142
|
+
|
|
4130
4143
|
export declare interface JSONSchema extends JSONSchemaProperty {
|
|
4131
4144
|
$schema?: string;
|
|
4132
4145
|
}
|
|
@@ -4161,6 +4174,9 @@ export declare function jsonSchemaToFields(schema: JSONSchema): AutoFieldConfig[
|
|
|
4161
4174
|
|
|
4162
4175
|
export declare function jsonSchemaToRules(schema: JSONSchema): Record<string, Rule[]>;
|
|
4163
4176
|
|
|
4177
|
+
/** Korean (South Korea) preset for {@link SgConfigProvider} `locale`. */
|
|
4178
|
+
export declare const ko_KR: SgLocale;
|
|
4179
|
+
|
|
4164
4180
|
/**
|
|
4165
4181
|
* Crosshair behaviour toggle for {@link LineChart}. When `true`, a vertical
|
|
4166
4182
|
* guide line + per-series tooltip appears on hover.
|
|
@@ -4475,6 +4491,12 @@ export declare interface NotificationConfig {
|
|
|
4475
4491
|
key?: string;
|
|
4476
4492
|
onClose?: () => void;
|
|
4477
4493
|
placement?: 'topRight' | 'topLeft' | 'bottomRight' | 'bottomLeft';
|
|
4494
|
+
/**
|
|
4495
|
+
* Inline styles applied to the toast card — chiefly per-toast CSS variable
|
|
4496
|
+
* overrides so callers can re-theme a single notification (parity with the
|
|
4497
|
+
* React `notification.open({ style })` option).
|
|
4498
|
+
*/
|
|
4499
|
+
style?: CSSProperties;
|
|
4478
4500
|
}
|
|
4479
4501
|
|
|
4480
4502
|
export declare interface NotificationContainerProps {
|
|
@@ -4738,6 +4760,9 @@ declare interface Props_2 {
|
|
|
4738
4760
|
unstyled?: boolean;
|
|
4739
4761
|
}
|
|
4740
4762
|
|
|
4763
|
+
/** Portuguese (Brazil) preset for {@link SgConfigProvider} `locale`. */
|
|
4764
|
+
export declare const pt_BR: SgLocale;
|
|
4765
|
+
|
|
4741
4766
|
export declare interface RadioGroupProps {
|
|
4742
4767
|
/** v-model binding (Vue idiom). */
|
|
4743
4768
|
modelValue?: string | number;
|
|
@@ -5556,12 +5581,12 @@ rowIndex: number;
|
|
|
5556
5581
|
}>, {
|
|
5557
5582
|
height: number | string;
|
|
5558
5583
|
loading: boolean;
|
|
5584
|
+
width: number | string;
|
|
5559
5585
|
emptyText: string;
|
|
5560
5586
|
rowSelection: boolean;
|
|
5561
5587
|
striped: boolean;
|
|
5562
5588
|
highlightOnHover: boolean;
|
|
5563
5589
|
rowHeight: number;
|
|
5564
|
-
width: number | string;
|
|
5565
5590
|
overscan: number;
|
|
5566
5591
|
headerHeight: number;
|
|
5567
5592
|
showRowNumber: boolean;
|
|
@@ -5721,17 +5746,17 @@ export declare const SgList: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_s
|
|
|
5721
5746
|
item: T;
|
|
5722
5747
|
index: number;
|
|
5723
5748
|
}): unknown;
|
|
5724
|
-
header(props: Record<string, never>): unknown;
|
|
5725
|
-
footer(props: Record<string, never>): unknown;
|
|
5726
|
-
loadMore(props: Record<string, never>): unknown;
|
|
5749
|
+
header?(props: Record<string, never>): unknown;
|
|
5750
|
+
footer?(props: Record<string, never>): unknown;
|
|
5751
|
+
loadMore?(props: Record<string, never>): unknown;
|
|
5727
5752
|
}> & {
|
|
5728
5753
|
default(props: {
|
|
5729
5754
|
item: T;
|
|
5730
5755
|
index: number;
|
|
5731
5756
|
}): unknown;
|
|
5732
|
-
header(props: Record<string, never>): unknown;
|
|
5733
|
-
footer(props: Record<string, never>): unknown;
|
|
5734
|
-
loadMore(props: Record<string, never>): unknown;
|
|
5757
|
+
header?(props: Record<string, never>): unknown;
|
|
5758
|
+
footer?(props: Record<string, never>): unknown;
|
|
5759
|
+
loadMore?(props: Record<string, never>): unknown;
|
|
5735
5760
|
};
|
|
5736
5761
|
emit: {
|
|
5737
5762
|
(e: "selectionChange", keys: number[], items: T[]): void;
|
|
@@ -6111,10 +6136,10 @@ onChange?: ((value: number) => any) | undefined;
|
|
|
6111
6136
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
6112
6137
|
}>, {
|
|
6113
6138
|
disabled: boolean;
|
|
6114
|
-
defaultValue: number;
|
|
6115
6139
|
step: number;
|
|
6116
6140
|
min: number;
|
|
6117
6141
|
max: number;
|
|
6142
|
+
defaultValue: number;
|
|
6118
6143
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
6119
6144
|
trackRef: HTMLDivElement;
|
|
6120
6145
|
}, HTMLDivElement>;
|
|
@@ -6415,7 +6440,6 @@ disabled: boolean;
|
|
|
6415
6440
|
selectable: boolean;
|
|
6416
6441
|
checkable: boolean;
|
|
6417
6442
|
unstyled: boolean;
|
|
6418
|
-
multiple: boolean;
|
|
6419
6443
|
draggable: boolean | ((node: TreeNodeData) => boolean);
|
|
6420
6444
|
virtual: boolean;
|
|
6421
6445
|
indentSize: number;
|
|
@@ -6423,6 +6447,7 @@ blockNode: boolean;
|
|
|
6423
6447
|
directory: boolean;
|
|
6424
6448
|
animated: boolean;
|
|
6425
6449
|
checkStrictly: boolean;
|
|
6450
|
+
multiple: boolean;
|
|
6426
6451
|
defaultExpandAll: boolean;
|
|
6427
6452
|
autoExpandParent: boolean;
|
|
6428
6453
|
showSearch: boolean;
|
|
@@ -6440,7 +6465,7 @@ export declare const SgTreeNodeRow: DefineComponent<TreeNodeRowProps, {}, {}, {}
|
|
|
6440
6465
|
select: (key: TreeKey) => any;
|
|
6441
6466
|
drop: (evt: DragEvent, key: TreeKey) => any;
|
|
6442
6467
|
expand: (key: TreeKey) => any;
|
|
6443
|
-
dragOver: (evt: DragEvent, key: TreeKey) => any;
|
|
6468
|
+
dragOver: (evt: DragEvent, key: TreeKey, pos: 0 | 1 | -1) => any;
|
|
6444
6469
|
check: (key: TreeKey) => any;
|
|
6445
6470
|
dragStart: (evt: DragEvent, key: TreeKey) => any;
|
|
6446
6471
|
dragLeave: (evt: DragEvent, key: TreeKey) => any;
|
|
@@ -6454,7 +6479,7 @@ editCancel: (key: TreeKey) => any;
|
|
|
6454
6479
|
onSelect?: ((key: TreeKey) => any) | undefined;
|
|
6455
6480
|
onDrop?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
6456
6481
|
onExpand?: ((key: TreeKey) => any) | undefined;
|
|
6457
|
-
onDragOver?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
6482
|
+
onDragOver?: ((evt: DragEvent, key: TreeKey, pos: 0 | 1 | -1) => any) | undefined;
|
|
6458
6483
|
onCheck?: ((key: TreeKey) => any) | undefined;
|
|
6459
6484
|
onDragStart?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
6460
6485
|
onDragLeave?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|