@skygraph/vue 0.6.2 → 0.6.4
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +660 -340
- package/dist/index.js +8880 -8413
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/style.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -135,10 +135,47 @@ 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
|
-
declare const __VLS_component_17: DefineComponent<
|
|
144
|
+
declare const __VLS_component_17: DefineComponent<RateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
145
|
+
change: (value: number) => any;
|
|
146
|
+
"update:modelValue": (value: number) => any;
|
|
147
|
+
}, string, PublicProps, Readonly<RateProps> & Readonly<{
|
|
148
|
+
onChange?: ((value: number) => any) | undefined;
|
|
149
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
150
|
+
}>, {
|
|
151
|
+
disabled: boolean;
|
|
152
|
+
count: number;
|
|
153
|
+
defaultValue: number;
|
|
154
|
+
allowHalf: boolean;
|
|
155
|
+
character: string;
|
|
156
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
157
|
+
|
|
158
|
+
declare const __VLS_component_18: DefineComponent<ColorPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
159
|
+
change: (value: string) => any;
|
|
160
|
+
"update:modelValue": (value: string) => any;
|
|
161
|
+
openChange: (open: boolean) => any;
|
|
162
|
+
}, string, PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
163
|
+
onChange?: ((value: string) => any) | undefined;
|
|
164
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
165
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
166
|
+
}>, {
|
|
167
|
+
size: "small" | "middle" | "large";
|
|
168
|
+
disabled: boolean;
|
|
169
|
+
open: boolean;
|
|
170
|
+
trigger: "click" | "hover";
|
|
171
|
+
format: "hex" | "rgb";
|
|
172
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
173
|
+
wrapperRef: HTMLDivElement;
|
|
174
|
+
satPanelRef: HTMLDivElement;
|
|
175
|
+
hueBarRef: HTMLDivElement;
|
|
176
|
+
}, HTMLDivElement>;
|
|
177
|
+
|
|
178
|
+
declare const __VLS_component_19: DefineComponent<CalendarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
142
179
|
select: (value: Date) => any;
|
|
143
180
|
change: (value: Date) => any;
|
|
144
181
|
"update:modelValue": (value: Date) => any;
|
|
@@ -155,8 +192,8 @@ onModeChange?: ((mode: "month" | "year") => any) | undefined;
|
|
|
155
192
|
onRangeChange?: ((range: [Date | null, Date | null]) => any) | undefined;
|
|
156
193
|
onMultipleChange?: ((dates: Date[]) => any) | undefined;
|
|
157
194
|
}>, {
|
|
158
|
-
fullscreen: boolean;
|
|
159
195
|
mode: "month" | "year";
|
|
196
|
+
fullscreen: boolean;
|
|
160
197
|
maxEvents: number;
|
|
161
198
|
weekStartDay: number;
|
|
162
199
|
showWeekNumber: boolean;
|
|
@@ -165,42 +202,6 @@ rangeSelection: boolean;
|
|
|
165
202
|
multipleSelection: boolean;
|
|
166
203
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
167
204
|
|
|
168
|
-
declare const __VLS_component_18: DefineComponent<UploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
169
|
-
change: (files: UploadFile[]) => any;
|
|
170
|
-
"update:modelValue": (files: UploadFile[]) => any;
|
|
171
|
-
remove: (file: UploadFile) => any;
|
|
172
|
-
}, string, PublicProps, Readonly<UploadProps> & Readonly<{
|
|
173
|
-
onChange?: ((files: UploadFile[]) => any) | undefined;
|
|
174
|
-
"onUpdate:modelValue"?: ((files: UploadFile[]) => any) | undefined;
|
|
175
|
-
onRemove?: ((file: UploadFile) => any) | undefined;
|
|
176
|
-
}>, {
|
|
177
|
-
disabled: boolean;
|
|
178
|
-
drag: boolean;
|
|
179
|
-
multiple: boolean;
|
|
180
|
-
listType: "text" | "picture" | "picture-card";
|
|
181
|
-
showUploadList: boolean;
|
|
182
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
183
|
-
inputRef: HTMLInputElement;
|
|
184
|
-
}, HTMLDivElement>;
|
|
185
|
-
|
|
186
|
-
declare const __VLS_component_19: DefineComponent<TransferProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
187
|
-
search: (direction: "left" | "right", value: string) => any;
|
|
188
|
-
change: (keys: string[], direction: "left" | "right", moveKeys: string[]) => any;
|
|
189
|
-
"update:modelValue": (keys: string[]) => any;
|
|
190
|
-
selectChange: (leftKeys: string[], rightKeys: string[]) => any;
|
|
191
|
-
}, string, PublicProps, Readonly<TransferProps> & Readonly<{
|
|
192
|
-
onSearch?: ((direction: "left" | "right", value: string) => any) | undefined;
|
|
193
|
-
onChange?: ((keys: string[], direction: "left" | "right", moveKeys: string[]) => any) | undefined;
|
|
194
|
-
"onUpdate:modelValue"?: ((keys: string[]) => any) | undefined;
|
|
195
|
-
onSelectChange?: ((leftKeys: string[], rightKeys: string[]) => any) | undefined;
|
|
196
|
-
}>, {
|
|
197
|
-
disabled: boolean;
|
|
198
|
-
showSearch: boolean;
|
|
199
|
-
titles: [string, string];
|
|
200
|
-
oneWay: boolean;
|
|
201
|
-
showSelectAll: boolean;
|
|
202
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
203
|
-
|
|
204
205
|
declare const __VLS_component_2: DefineComponent<DiagramProps, {
|
|
205
206
|
print: (opts?: PrintOptions) => void;
|
|
206
207
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -263,12 +264,49 @@ rootRef: HTMLDivElement;
|
|
|
263
264
|
canvasRef: HTMLDivElement;
|
|
264
265
|
}, HTMLDivElement>;
|
|
265
266
|
|
|
266
|
-
declare const __VLS_component_20: DefineComponent<
|
|
267
|
+
declare const __VLS_component_20: DefineComponent<UploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
268
|
+
change: (files: UploadFile[]) => any;
|
|
269
|
+
"update:modelValue": (files: UploadFile[]) => any;
|
|
270
|
+
remove: (file: UploadFile) => any;
|
|
271
|
+
}, string, PublicProps, Readonly<UploadProps> & Readonly<{
|
|
272
|
+
onChange?: ((files: UploadFile[]) => any) | undefined;
|
|
273
|
+
"onUpdate:modelValue"?: ((files: UploadFile[]) => any) | undefined;
|
|
274
|
+
onRemove?: ((file: UploadFile) => any) | undefined;
|
|
275
|
+
}>, {
|
|
276
|
+
disabled: boolean;
|
|
277
|
+
drag: boolean;
|
|
278
|
+
multiple: boolean;
|
|
279
|
+
listType: "text" | "picture" | "picture-card";
|
|
280
|
+
showUploadList: boolean;
|
|
281
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
282
|
+
inputRef: HTMLInputElement;
|
|
283
|
+
}, HTMLDivElement>;
|
|
284
|
+
|
|
285
|
+
declare const __VLS_component_21: DefineComponent<TransferProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
286
|
+
search: (direction: "left" | "right", value: string) => any;
|
|
287
|
+
change: (keys: string[], direction: "left" | "right", moveKeys: string[]) => any;
|
|
288
|
+
"update:modelValue": (keys: string[]) => any;
|
|
289
|
+
selectChange: (leftKeys: string[], rightKeys: string[]) => any;
|
|
290
|
+
}, string, PublicProps, Readonly<TransferProps> & Readonly<{
|
|
291
|
+
onSearch?: ((direction: "left" | "right", value: string) => any) | undefined;
|
|
292
|
+
onChange?: ((keys: string[], direction: "left" | "right", moveKeys: string[]) => any) | undefined;
|
|
293
|
+
"onUpdate:modelValue"?: ((keys: string[]) => any) | undefined;
|
|
294
|
+
onSelectChange?: ((leftKeys: string[], rightKeys: string[]) => any) | undefined;
|
|
295
|
+
}>, {
|
|
296
|
+
disabled: boolean;
|
|
297
|
+
showSearch: boolean;
|
|
298
|
+
showCount: boolean;
|
|
299
|
+
titles: [string, string];
|
|
300
|
+
oneWay: boolean;
|
|
301
|
+
showSelectAll: boolean;
|
|
302
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
303
|
+
|
|
304
|
+
declare const __VLS_component_22: DefineComponent<SpinProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SpinProps> & Readonly<{}>, {
|
|
267
305
|
spinning: boolean;
|
|
268
306
|
fullscreen: boolean;
|
|
269
307
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
270
308
|
|
|
271
|
-
declare const
|
|
309
|
+
declare const __VLS_component_23: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
272
310
|
close: () => any;
|
|
273
311
|
ok: () => any;
|
|
274
312
|
}, string, PublicProps, Readonly<ModalProps> & Readonly<{
|
|
@@ -279,10 +317,11 @@ width: number | string;
|
|
|
279
317
|
okType: "primary" | "default" | "dashed" | "text";
|
|
280
318
|
confirmLoading: boolean;
|
|
281
319
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
320
|
+
scopeRef: HTMLSpanElement;
|
|
282
321
|
trapRef: HTMLDivElement;
|
|
283
322
|
}, any>;
|
|
284
323
|
|
|
285
|
-
declare const
|
|
324
|
+
declare const __VLS_component_24: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
286
325
|
close: () => any;
|
|
287
326
|
}, string, PublicProps, Readonly<DrawerProps> & Readonly<{
|
|
288
327
|
onClose?: (() => any) | undefined;
|
|
@@ -294,10 +333,11 @@ placement: "left" | "right" | "top" | "bottom";
|
|
|
294
333
|
closable: boolean;
|
|
295
334
|
maskClosable: boolean;
|
|
296
335
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
336
|
+
scopeRef: HTMLSpanElement;
|
|
297
337
|
trapRef: HTMLDivElement;
|
|
298
338
|
}, any>;
|
|
299
339
|
|
|
300
|
-
declare const
|
|
340
|
+
declare const __VLS_component_25: DefineComponent<PopconfirmProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
301
341
|
cancel: () => any;
|
|
302
342
|
confirm: () => any;
|
|
303
343
|
}, string, PublicProps, Readonly<PopconfirmProps> & Readonly<{
|
|
@@ -311,23 +351,36 @@ wrapperRef: HTMLDivElement;
|
|
|
311
351
|
trapRef: HTMLDivElement;
|
|
312
352
|
}, HTMLDivElement>;
|
|
313
353
|
|
|
314
|
-
declare const
|
|
354
|
+
declare const __VLS_component_26: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
315
355
|
title: string;
|
|
316
356
|
placement: "top" | "bottom" | "left" | "right";
|
|
317
357
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
318
358
|
|
|
319
|
-
declare const
|
|
359
|
+
declare const __VLS_component_27: DefineComponent<ResultProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ResultProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
320
360
|
|
|
321
|
-
declare const
|
|
361
|
+
declare const __VLS_component_28: DefineComponent<EmptyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
322
362
|
|
|
323
|
-
declare const
|
|
363
|
+
declare const __VLS_component_29: DefineComponent<SkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
324
364
|
title: boolean | SkeletonTitle;
|
|
325
365
|
loading: boolean;
|
|
326
366
|
active: boolean;
|
|
327
367
|
paragraph: boolean | SkeletonParagraph;
|
|
328
368
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
329
369
|
|
|
330
|
-
declare const
|
|
370
|
+
declare const __VLS_component_3: DefineComponent<DashboardProps, {
|
|
371
|
+
print: (opts?: {
|
|
372
|
+
fileName?: string;
|
|
373
|
+
}) => void;
|
|
374
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DashboardProps> & Readonly<{}>, {
|
|
375
|
+
unstyled: boolean;
|
|
376
|
+
columns: number;
|
|
377
|
+
rowHeight: number;
|
|
378
|
+
gap: number;
|
|
379
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
380
|
+
rootRef: HTMLDivElement;
|
|
381
|
+
}, HTMLDivElement>;
|
|
382
|
+
|
|
383
|
+
declare const __VLS_component_30: DefineComponent<TabsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
331
384
|
change: (key: string) => any;
|
|
332
385
|
}, string, PublicProps, Readonly<TabsProps> & Readonly<{
|
|
333
386
|
onChange?: ((key: string) => any) | undefined;
|
|
@@ -335,7 +388,7 @@ onChange?: ((key: string) => any) | undefined;
|
|
|
335
388
|
type: "line" | "card";
|
|
336
389
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
337
390
|
|
|
338
|
-
declare const
|
|
391
|
+
declare const __VLS_component_31: DefineComponent<BreadcrumbProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
339
392
|
itemClick: (item: BreadcrumbItem, index: number) => any;
|
|
340
393
|
}, string, PublicProps, Readonly<BreadcrumbProps> & Readonly<{
|
|
341
394
|
onItemClick?: ((item: BreadcrumbItem, index: number) => any) | undefined;
|
|
@@ -343,20 +396,7 @@ onItemClick?: ((item: BreadcrumbItem, index: number) => any) | undefined;
|
|
|
343
396
|
separator: string;
|
|
344
397
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
345
398
|
|
|
346
|
-
declare const
|
|
347
|
-
print: (opts?: {
|
|
348
|
-
fileName?: string;
|
|
349
|
-
}) => void;
|
|
350
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DashboardProps> & Readonly<{}>, {
|
|
351
|
-
unstyled: boolean;
|
|
352
|
-
columns: number;
|
|
353
|
-
rowHeight: number;
|
|
354
|
-
gap: number;
|
|
355
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
356
|
-
rootRef: HTMLDivElement;
|
|
357
|
-
}, HTMLDivElement>;
|
|
358
|
-
|
|
359
|
-
declare const __VLS_component_30: DefineComponent<ExtractPropTypes< {
|
|
399
|
+
declare const __VLS_component_32: DefineComponent<ExtractPropTypes< {
|
|
360
400
|
items: {
|
|
361
401
|
type: PropType<DropdownItem[]>;
|
|
362
402
|
required: true;
|
|
@@ -411,7 +451,106 @@ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
|
411
451
|
wrapperRef: HTMLDivElement;
|
|
412
452
|
}, any>;
|
|
413
453
|
|
|
414
|
-
declare const
|
|
454
|
+
declare const __VLS_component_33: DefineComponent<ExtractPropTypes< {
|
|
455
|
+
current: {
|
|
456
|
+
type: NumberConstructor;
|
|
457
|
+
required: true;
|
|
458
|
+
};
|
|
459
|
+
total: {
|
|
460
|
+
type: NumberConstructor;
|
|
461
|
+
required: true;
|
|
462
|
+
};
|
|
463
|
+
pageSize: {
|
|
464
|
+
type: NumberConstructor;
|
|
465
|
+
default: number;
|
|
466
|
+
};
|
|
467
|
+
showTotal: {
|
|
468
|
+
type: PropType<boolean | PaginationTotalRenderer>;
|
|
469
|
+
default: boolean;
|
|
470
|
+
};
|
|
471
|
+
disabled: {
|
|
472
|
+
type: BooleanConstructor;
|
|
473
|
+
default: undefined;
|
|
474
|
+
};
|
|
475
|
+
simple: {
|
|
476
|
+
type: BooleanConstructor;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
479
|
+
showSizeChanger: {
|
|
480
|
+
type: BooleanConstructor;
|
|
481
|
+
default: boolean;
|
|
482
|
+
};
|
|
483
|
+
pageSizeOptions: {
|
|
484
|
+
type: PropType<number[]>;
|
|
485
|
+
default: () => number[];
|
|
486
|
+
};
|
|
487
|
+
showQuickJumper: {
|
|
488
|
+
type: BooleanConstructor;
|
|
489
|
+
default: boolean;
|
|
490
|
+
};
|
|
491
|
+
unstyled: {
|
|
492
|
+
type: BooleanConstructor;
|
|
493
|
+
default: boolean;
|
|
494
|
+
};
|
|
495
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
496
|
+
change: (page: number) => any;
|
|
497
|
+
pageSizeChange: (size: number) => any;
|
|
498
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
499
|
+
current: {
|
|
500
|
+
type: NumberConstructor;
|
|
501
|
+
required: true;
|
|
502
|
+
};
|
|
503
|
+
total: {
|
|
504
|
+
type: NumberConstructor;
|
|
505
|
+
required: true;
|
|
506
|
+
};
|
|
507
|
+
pageSize: {
|
|
508
|
+
type: NumberConstructor;
|
|
509
|
+
default: number;
|
|
510
|
+
};
|
|
511
|
+
showTotal: {
|
|
512
|
+
type: PropType<boolean | PaginationTotalRenderer>;
|
|
513
|
+
default: boolean;
|
|
514
|
+
};
|
|
515
|
+
disabled: {
|
|
516
|
+
type: BooleanConstructor;
|
|
517
|
+
default: undefined;
|
|
518
|
+
};
|
|
519
|
+
simple: {
|
|
520
|
+
type: BooleanConstructor;
|
|
521
|
+
default: boolean;
|
|
522
|
+
};
|
|
523
|
+
showSizeChanger: {
|
|
524
|
+
type: BooleanConstructor;
|
|
525
|
+
default: boolean;
|
|
526
|
+
};
|
|
527
|
+
pageSizeOptions: {
|
|
528
|
+
type: PropType<number[]>;
|
|
529
|
+
default: () => number[];
|
|
530
|
+
};
|
|
531
|
+
showQuickJumper: {
|
|
532
|
+
type: BooleanConstructor;
|
|
533
|
+
default: boolean;
|
|
534
|
+
};
|
|
535
|
+
unstyled: {
|
|
536
|
+
type: BooleanConstructor;
|
|
537
|
+
default: boolean;
|
|
538
|
+
};
|
|
539
|
+
}>> & Readonly<{
|
|
540
|
+
onChange?: ((page: number) => any) | undefined;
|
|
541
|
+
onPageSizeChange?: ((size: number) => any) | undefined;
|
|
542
|
+
}>, {
|
|
543
|
+
pageSize: number;
|
|
544
|
+
disabled: boolean;
|
|
545
|
+
unstyled: boolean;
|
|
546
|
+
showTotal: boolean | PaginationTotalRenderer;
|
|
547
|
+
simple: boolean;
|
|
548
|
+
showSizeChanger: boolean;
|
|
549
|
+
pageSizeOptions: number[];
|
|
550
|
+
showQuickJumper: boolean;
|
|
551
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
552
|
+
|
|
553
|
+
declare const __VLS_component_34: DefineComponent<StepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
415
554
|
change: (current: number) => any;
|
|
416
555
|
}, string, PublicProps, Readonly<StepsProps> & Readonly<{
|
|
417
556
|
onChange?: ((current: number) => any) | undefined;
|
|
@@ -421,7 +560,7 @@ type: "default" | "navigation";
|
|
|
421
560
|
clickable: boolean;
|
|
422
561
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
423
562
|
|
|
424
|
-
declare const
|
|
563
|
+
declare const __VLS_component_35: DefineComponent<ExtractPropTypes< {
|
|
425
564
|
options: {
|
|
426
565
|
type: PropType<SegmentedOption[]>;
|
|
427
566
|
required: true;
|
|
@@ -499,17 +638,17 @@ onChange?: ((value: string) => any) | undefined;
|
|
|
499
638
|
size: SizeType;
|
|
500
639
|
value: string;
|
|
501
640
|
disabled: boolean;
|
|
641
|
+
block: boolean;
|
|
502
642
|
modelValue: string;
|
|
503
643
|
unstyled: boolean;
|
|
504
644
|
defaultValue: string;
|
|
505
|
-
block: boolean;
|
|
506
645
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
507
646
|
|
|
508
|
-
declare const
|
|
647
|
+
declare const __VLS_component_36: DefineComponent<BadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
509
648
|
overflowCount: number;
|
|
510
649
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
511
650
|
|
|
512
|
-
declare const
|
|
651
|
+
declare const __VLS_component_37: DefineComponent<TagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
513
652
|
close: () => any;
|
|
514
653
|
}, string, PublicProps, Readonly<TagProps> & Readonly<{
|
|
515
654
|
onClose?: (() => any) | undefined;
|
|
@@ -518,15 +657,46 @@ bordered: boolean;
|
|
|
518
657
|
color: "default" | "success" | "error" | "warning" | "processing" | string;
|
|
519
658
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
520
659
|
|
|
521
|
-
declare const
|
|
660
|
+
declare const __VLS_component_38: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
|
|
522
661
|
shape: "circle" | "square";
|
|
523
662
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
524
663
|
|
|
525
|
-
declare const
|
|
664
|
+
declare const __VLS_component_39: DefineComponent<TimelineProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineProps> & Readonly<{}>, {
|
|
526
665
|
mode: "left" | "right" | "alternate";
|
|
527
666
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
528
667
|
|
|
529
|
-
declare const
|
|
668
|
+
declare const __VLS_component_4: DefineComponent<DashboardEditorProps, {
|
|
669
|
+
print: (opts?: {
|
|
670
|
+
fileName?: string;
|
|
671
|
+
}) => void;
|
|
672
|
+
getLayout: () => {
|
|
673
|
+
id: string;
|
|
674
|
+
title?: string | undefined;
|
|
675
|
+
x: number;
|
|
676
|
+
y: number;
|
|
677
|
+
w?: number | undefined;
|
|
678
|
+
h?: number | undefined;
|
|
679
|
+
className?: string | undefined;
|
|
680
|
+
style?: DashboardStyle | undefined;
|
|
681
|
+
}[];
|
|
682
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
683
|
+
"layout-change": (widgets: DashboardWidget[]) => any;
|
|
684
|
+
}, string, PublicProps, Readonly<DashboardEditorProps> & Readonly<{
|
|
685
|
+
"onLayout-change"?: ((widgets: DashboardWidget[]) => any) | undefined;
|
|
686
|
+
}>, {
|
|
687
|
+
unstyled: boolean;
|
|
688
|
+
columns: number;
|
|
689
|
+
draggable: boolean;
|
|
690
|
+
rowHeight: number;
|
|
691
|
+
gap: number;
|
|
692
|
+
resizable: boolean;
|
|
693
|
+
minW: number;
|
|
694
|
+
minH: number;
|
|
695
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
696
|
+
rootRef: HTMLDivElement;
|
|
697
|
+
}, HTMLDivElement>;
|
|
698
|
+
|
|
699
|
+
declare const __VLS_component_40: DefineComponent<CollapseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
530
700
|
change: (activeKey: string[]) => any;
|
|
531
701
|
}, string, PublicProps, Readonly<CollapseProps> & Readonly<{
|
|
532
702
|
onChange?: ((activeKey: string[]) => any) | undefined;
|
|
@@ -537,7 +707,7 @@ expandIconPosition: "start" | "end";
|
|
|
537
707
|
ghost: boolean;
|
|
538
708
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
539
709
|
|
|
540
|
-
declare const
|
|
710
|
+
declare const __VLS_component_41: DefineComponent<ExtractPropTypes< {
|
|
541
711
|
type: {
|
|
542
712
|
type: PropType<"default" | "primary" | "dashed" | "text" | "link">;
|
|
543
713
|
default: string;
|
|
@@ -610,45 +780,14 @@ onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
|
610
780
|
}>, {
|
|
611
781
|
size: SizeType;
|
|
612
782
|
disabled: boolean;
|
|
613
|
-
type: "link" | "text" | "default" | "
|
|
783
|
+
type: "link" | "text" | "default" | "primary" | "dashed";
|
|
784
|
+
block: boolean;
|
|
614
785
|
unstyled: boolean;
|
|
615
786
|
loading: boolean;
|
|
616
|
-
block: boolean;
|
|
617
787
|
htmlType: "button" | "reset" | "submit";
|
|
618
788
|
danger: boolean;
|
|
619
789
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
620
790
|
|
|
621
|
-
declare const __VLS_component_4: DefineComponent<DashboardEditorProps, {
|
|
622
|
-
print: (opts?: {
|
|
623
|
-
fileName?: string;
|
|
624
|
-
}) => void;
|
|
625
|
-
getLayout: () => {
|
|
626
|
-
id: string;
|
|
627
|
-
title?: string | undefined;
|
|
628
|
-
x: number;
|
|
629
|
-
y: number;
|
|
630
|
-
w?: number | undefined;
|
|
631
|
-
h?: number | undefined;
|
|
632
|
-
className?: string | undefined;
|
|
633
|
-
style?: DashboardStyle | undefined;
|
|
634
|
-
}[];
|
|
635
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
636
|
-
"layout-change": (widgets: DashboardWidget[]) => any;
|
|
637
|
-
}, string, PublicProps, Readonly<DashboardEditorProps> & Readonly<{
|
|
638
|
-
"onLayout-change"?: ((widgets: DashboardWidget[]) => any) | undefined;
|
|
639
|
-
}>, {
|
|
640
|
-
unstyled: boolean;
|
|
641
|
-
columns: number;
|
|
642
|
-
draggable: boolean;
|
|
643
|
-
rowHeight: number;
|
|
644
|
-
gap: number;
|
|
645
|
-
resizable: boolean;
|
|
646
|
-
minW: number;
|
|
647
|
-
minH: number;
|
|
648
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
649
|
-
rootRef: HTMLDivElement;
|
|
650
|
-
}, HTMLDivElement>;
|
|
651
|
-
|
|
652
791
|
declare const __VLS_component_5: DefineComponent<EventTimelineProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<EventTimelineProps> & Readonly<{}>, {
|
|
653
792
|
orientation: TimelineOrientation;
|
|
654
793
|
unstyled: boolean;
|
|
@@ -864,16 +1003,12 @@ declare function __VLS_template_16(): {
|
|
|
864
1003
|
|
|
865
1004
|
declare function __VLS_template_17(): {
|
|
866
1005
|
attrs: Partial<{}>;
|
|
867
|
-
slots:
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
/** Custom header renderer; receives panel value + mode + handlers. */
|
|
874
|
-
header(props: CalendarHeaderSlotProps): unknown;
|
|
875
|
-
/** Extra content inside a day or month cell. */
|
|
876
|
-
cell(props: CalendarCellSlotProps): unknown;
|
|
1006
|
+
slots: {
|
|
1007
|
+
character?(_: {
|
|
1008
|
+
index: number;
|
|
1009
|
+
value: number;
|
|
1010
|
+
}): any;
|
|
1011
|
+
default?(_: {}): any;
|
|
877
1012
|
};
|
|
878
1013
|
refs: {};
|
|
879
1014
|
rootEl: HTMLDivElement;
|
|
@@ -882,11 +1017,14 @@ declare function __VLS_template_17(): {
|
|
|
882
1017
|
declare function __VLS_template_18(): {
|
|
883
1018
|
attrs: Partial<{}>;
|
|
884
1019
|
slots: {
|
|
885
|
-
|
|
886
|
-
|
|
1020
|
+
text?(_: {
|
|
1021
|
+
color: string;
|
|
1022
|
+
}): any;
|
|
887
1023
|
};
|
|
888
1024
|
refs: {
|
|
889
|
-
|
|
1025
|
+
wrapperRef: HTMLDivElement;
|
|
1026
|
+
satPanelRef: HTMLDivElement;
|
|
1027
|
+
hueBarRef: HTMLDivElement;
|
|
890
1028
|
};
|
|
891
1029
|
rootEl: HTMLDivElement;
|
|
892
1030
|
};
|
|
@@ -894,15 +1032,15 @@ declare function __VLS_template_18(): {
|
|
|
894
1032
|
declare function __VLS_template_19(): {
|
|
895
1033
|
attrs: Partial<{}>;
|
|
896
1034
|
slots: Readonly<{
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1035
|
+
/** Custom header renderer; receives panel value + mode + handlers. */
|
|
1036
|
+
header(props: CalendarHeaderSlotProps): unknown;
|
|
1037
|
+
/** Extra content inside a day or month cell. */
|
|
1038
|
+
cell(props: CalendarCellSlotProps): unknown;
|
|
901
1039
|
}> & {
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
1040
|
+
/** Custom header renderer; receives panel value + mode + handlers. */
|
|
1041
|
+
header(props: CalendarHeaderSlotProps): unknown;
|
|
1042
|
+
/** Extra content inside a day or month cell. */
|
|
1043
|
+
cell(props: CalendarCellSlotProps): unknown;
|
|
906
1044
|
};
|
|
907
1045
|
refs: {};
|
|
908
1046
|
rootEl: HTMLDivElement;
|
|
@@ -927,6 +1065,35 @@ declare function __VLS_template_2(): {
|
|
|
927
1065
|
};
|
|
928
1066
|
|
|
929
1067
|
declare function __VLS_template_20(): {
|
|
1068
|
+
attrs: Partial<{}>;
|
|
1069
|
+
slots: {
|
|
1070
|
+
drag?(_: {}): any;
|
|
1071
|
+
default?(_: {}): any;
|
|
1072
|
+
};
|
|
1073
|
+
refs: {
|
|
1074
|
+
inputRef: HTMLInputElement;
|
|
1075
|
+
};
|
|
1076
|
+
rootEl: HTMLDivElement;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
declare function __VLS_template_21(): {
|
|
1080
|
+
attrs: Partial<{}>;
|
|
1081
|
+
slots: Readonly<{
|
|
1082
|
+
item(props: {
|
|
1083
|
+
item: TransferItem;
|
|
1084
|
+
side: "left" | "right";
|
|
1085
|
+
}): unknown;
|
|
1086
|
+
}> & {
|
|
1087
|
+
item(props: {
|
|
1088
|
+
item: TransferItem;
|
|
1089
|
+
side: "left" | "right";
|
|
1090
|
+
}): unknown;
|
|
1091
|
+
};
|
|
1092
|
+
refs: {};
|
|
1093
|
+
rootEl: HTMLDivElement;
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
declare function __VLS_template_22(): {
|
|
930
1097
|
attrs: Partial<{}>;
|
|
931
1098
|
slots: Readonly<{
|
|
932
1099
|
default(props: Record<string, never>): unknown;
|
|
@@ -939,7 +1106,7 @@ declare function __VLS_template_20(): {
|
|
|
939
1106
|
rootEl: any;
|
|
940
1107
|
};
|
|
941
1108
|
|
|
942
|
-
declare function
|
|
1109
|
+
declare function __VLS_template_23(): {
|
|
943
1110
|
attrs: Partial<{}>;
|
|
944
1111
|
slots: Readonly<{
|
|
945
1112
|
default(props: Record<string, never>): unknown;
|
|
@@ -949,12 +1116,13 @@ declare function __VLS_template_21(): {
|
|
|
949
1116
|
footer(props: Record<string, never>): unknown;
|
|
950
1117
|
};
|
|
951
1118
|
refs: {
|
|
1119
|
+
scopeRef: HTMLSpanElement;
|
|
952
1120
|
trapRef: HTMLDivElement;
|
|
953
1121
|
};
|
|
954
1122
|
rootEl: any;
|
|
955
1123
|
};
|
|
956
1124
|
|
|
957
|
-
declare function
|
|
1125
|
+
declare function __VLS_template_24(): {
|
|
958
1126
|
attrs: Partial<{}>;
|
|
959
1127
|
slots: Readonly<{
|
|
960
1128
|
default(props: Record<string, never>): unknown;
|
|
@@ -964,12 +1132,13 @@ declare function __VLS_template_22(): {
|
|
|
964
1132
|
footer(props: Record<string, never>): unknown;
|
|
965
1133
|
};
|
|
966
1134
|
refs: {
|
|
1135
|
+
scopeRef: HTMLSpanElement;
|
|
967
1136
|
trapRef: HTMLDivElement;
|
|
968
1137
|
};
|
|
969
1138
|
rootEl: any;
|
|
970
1139
|
};
|
|
971
1140
|
|
|
972
|
-
declare function
|
|
1141
|
+
declare function __VLS_template_25(): {
|
|
973
1142
|
attrs: Partial<{}>;
|
|
974
1143
|
slots: Readonly<{
|
|
975
1144
|
default(props: Record<string, never>): unknown;
|
|
@@ -983,7 +1152,7 @@ declare function __VLS_template_23(): {
|
|
|
983
1152
|
rootEl: HTMLDivElement;
|
|
984
1153
|
};
|
|
985
1154
|
|
|
986
|
-
declare function
|
|
1155
|
+
declare function __VLS_template_26(): {
|
|
987
1156
|
attrs: Partial<{}>;
|
|
988
1157
|
slots: Readonly<{
|
|
989
1158
|
default(props: Record<string, never>): unknown;
|
|
@@ -996,35 +1165,41 @@ declare function __VLS_template_24(): {
|
|
|
996
1165
|
rootEl: any;
|
|
997
1166
|
};
|
|
998
1167
|
|
|
999
|
-
declare function
|
|
1168
|
+
declare function __VLS_template_27(): {
|
|
1000
1169
|
attrs: Partial<{}>;
|
|
1001
1170
|
slots: Readonly<{
|
|
1002
1171
|
default(props: Record<string, never>): unknown;
|
|
1003
1172
|
icon(props: Record<string, never>): unknown;
|
|
1004
1173
|
extra(props: Record<string, never>): unknown;
|
|
1174
|
+
title(props: Record<string, never>): unknown;
|
|
1175
|
+
subTitle(props: Record<string, never>): unknown;
|
|
1005
1176
|
}> & {
|
|
1006
1177
|
default(props: Record<string, never>): unknown;
|
|
1007
1178
|
icon(props: Record<string, never>): unknown;
|
|
1008
1179
|
extra(props: Record<string, never>): unknown;
|
|
1180
|
+
title(props: Record<string, never>): unknown;
|
|
1181
|
+
subTitle(props: Record<string, never>): unknown;
|
|
1009
1182
|
};
|
|
1010
1183
|
refs: {};
|
|
1011
1184
|
rootEl: any;
|
|
1012
1185
|
};
|
|
1013
1186
|
|
|
1014
|
-
declare function
|
|
1187
|
+
declare function __VLS_template_28(): {
|
|
1015
1188
|
attrs: Partial<{}>;
|
|
1016
1189
|
slots: Readonly<{
|
|
1017
1190
|
default(props: Record<string, never>): unknown;
|
|
1018
1191
|
image(props: Record<string, never>): unknown;
|
|
1192
|
+
description(props: Record<string, never>): unknown;
|
|
1019
1193
|
}> & {
|
|
1020
1194
|
default(props: Record<string, never>): unknown;
|
|
1021
1195
|
image(props: Record<string, never>): unknown;
|
|
1196
|
+
description(props: Record<string, never>): unknown;
|
|
1022
1197
|
};
|
|
1023
1198
|
refs: {};
|
|
1024
1199
|
rootEl: any;
|
|
1025
1200
|
};
|
|
1026
1201
|
|
|
1027
|
-
declare function
|
|
1202
|
+
declare function __VLS_template_29(): {
|
|
1028
1203
|
attrs: Partial<{}>;
|
|
1029
1204
|
slots: Readonly<{
|
|
1030
1205
|
default(props: Record<string, never>): unknown;
|
|
@@ -1035,7 +1210,24 @@ declare function __VLS_template_27(): {
|
|
|
1035
1210
|
rootEl: any;
|
|
1036
1211
|
};
|
|
1037
1212
|
|
|
1038
|
-
declare function
|
|
1213
|
+
declare function __VLS_template_3(): {
|
|
1214
|
+
attrs: Partial<{}>;
|
|
1215
|
+
slots: Readonly<{
|
|
1216
|
+
widget(props: {
|
|
1217
|
+
widget: DashboardWidget;
|
|
1218
|
+
}): unknown;
|
|
1219
|
+
}> & {
|
|
1220
|
+
widget(props: {
|
|
1221
|
+
widget: DashboardWidget;
|
|
1222
|
+
}): unknown;
|
|
1223
|
+
};
|
|
1224
|
+
refs: {
|
|
1225
|
+
rootRef: HTMLDivElement;
|
|
1226
|
+
};
|
|
1227
|
+
rootEl: HTMLDivElement;
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
declare function __VLS_template_30(): {
|
|
1039
1231
|
attrs: Partial<{}>;
|
|
1040
1232
|
slots: Readonly<{
|
|
1041
1233
|
default(props: {
|
|
@@ -1062,7 +1254,7 @@ declare function __VLS_template_28(): {
|
|
|
1062
1254
|
rootEl: any;
|
|
1063
1255
|
};
|
|
1064
1256
|
|
|
1065
|
-
declare function
|
|
1257
|
+
declare function __VLS_template_31(): {
|
|
1066
1258
|
attrs: Partial<{}>;
|
|
1067
1259
|
slots: Readonly<{
|
|
1068
1260
|
item(props: {
|
|
@@ -1079,24 +1271,7 @@ declare function __VLS_template_29(): {
|
|
|
1079
1271
|
rootEl: any;
|
|
1080
1272
|
};
|
|
1081
1273
|
|
|
1082
|
-
declare function
|
|
1083
|
-
attrs: Partial<{}>;
|
|
1084
|
-
slots: Readonly<{
|
|
1085
|
-
widget(props: {
|
|
1086
|
-
widget: DashboardWidget;
|
|
1087
|
-
}): unknown;
|
|
1088
|
-
}> & {
|
|
1089
|
-
widget(props: {
|
|
1090
|
-
widget: DashboardWidget;
|
|
1091
|
-
}): unknown;
|
|
1092
|
-
};
|
|
1093
|
-
refs: {
|
|
1094
|
-
rootRef: HTMLDivElement;
|
|
1095
|
-
};
|
|
1096
|
-
rootEl: HTMLDivElement;
|
|
1097
|
-
};
|
|
1098
|
-
|
|
1099
|
-
declare function __VLS_template_30(): {
|
|
1274
|
+
declare function __VLS_template_32(): {
|
|
1100
1275
|
attrs: Partial<{}>;
|
|
1101
1276
|
slots: Readonly<{
|
|
1102
1277
|
default(props: Record<string, never>): unknown;
|
|
@@ -1121,7 +1296,34 @@ declare function __VLS_template_30(): {
|
|
|
1121
1296
|
rootEl: any;
|
|
1122
1297
|
};
|
|
1123
1298
|
|
|
1124
|
-
declare function
|
|
1299
|
+
declare function __VLS_template_33(): {
|
|
1300
|
+
attrs: Partial<{}>;
|
|
1301
|
+
slots: Readonly<{
|
|
1302
|
+
/**
|
|
1303
|
+
* Custom renderer for the total label. Receives the total count and the
|
|
1304
|
+
* current visible range `[start, end]` — equivalent to the
|
|
1305
|
+
* `showTotal` function prop.
|
|
1306
|
+
*/
|
|
1307
|
+
total(slot: {
|
|
1308
|
+
total: number;
|
|
1309
|
+
range: [number, number];
|
|
1310
|
+
}): unknown;
|
|
1311
|
+
}> & {
|
|
1312
|
+
/**
|
|
1313
|
+
* Custom renderer for the total label. Receives the total count and the
|
|
1314
|
+
* current visible range `[start, end]` — equivalent to the
|
|
1315
|
+
* `showTotal` function prop.
|
|
1316
|
+
*/
|
|
1317
|
+
total(slot: {
|
|
1318
|
+
total: number;
|
|
1319
|
+
range: [number, number];
|
|
1320
|
+
}): unknown;
|
|
1321
|
+
};
|
|
1322
|
+
refs: {};
|
|
1323
|
+
rootEl: any;
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
declare function __VLS_template_34(): {
|
|
1125
1327
|
attrs: Partial<{}>;
|
|
1126
1328
|
slots: Readonly<{
|
|
1127
1329
|
icon(props: {
|
|
@@ -1140,7 +1342,7 @@ declare function __VLS_template_31(): {
|
|
|
1140
1342
|
rootEl: any;
|
|
1141
1343
|
};
|
|
1142
1344
|
|
|
1143
|
-
declare function
|
|
1345
|
+
declare function __VLS_template_35(): {
|
|
1144
1346
|
attrs: Partial<{}>;
|
|
1145
1347
|
slots: Readonly<{
|
|
1146
1348
|
icon(props: {
|
|
@@ -1157,7 +1359,7 @@ declare function __VLS_template_32(): {
|
|
|
1157
1359
|
rootEl: any;
|
|
1158
1360
|
};
|
|
1159
1361
|
|
|
1160
|
-
declare function
|
|
1362
|
+
declare function __VLS_template_36(): {
|
|
1161
1363
|
attrs: Partial<{}>;
|
|
1162
1364
|
slots: Readonly<{
|
|
1163
1365
|
default(props: Record<string, never>): unknown;
|
|
@@ -1168,7 +1370,7 @@ declare function __VLS_template_33(): {
|
|
|
1168
1370
|
rootEl: any;
|
|
1169
1371
|
};
|
|
1170
1372
|
|
|
1171
|
-
declare function
|
|
1373
|
+
declare function __VLS_template_37(): {
|
|
1172
1374
|
attrs: Partial<{}>;
|
|
1173
1375
|
slots: Readonly<{
|
|
1174
1376
|
default(props: Record<string, never>): unknown;
|
|
@@ -1179,7 +1381,7 @@ declare function __VLS_template_34(): {
|
|
|
1179
1381
|
rootEl: any;
|
|
1180
1382
|
};
|
|
1181
1383
|
|
|
1182
|
-
declare function
|
|
1384
|
+
declare function __VLS_template_38(): {
|
|
1183
1385
|
attrs: Partial<{}>;
|
|
1184
1386
|
slots: Readonly<{
|
|
1185
1387
|
default(props: Record<string, never>): unknown;
|
|
@@ -1192,7 +1394,7 @@ declare function __VLS_template_35(): {
|
|
|
1192
1394
|
rootEl: any;
|
|
1193
1395
|
};
|
|
1194
1396
|
|
|
1195
|
-
declare function
|
|
1397
|
+
declare function __VLS_template_39(): {
|
|
1196
1398
|
attrs: Partial<{}>;
|
|
1197
1399
|
slots: Readonly<{
|
|
1198
1400
|
/** Per-item content override. `isPending` is `true` for the synthetic pending tail. */
|
|
@@ -1241,7 +1443,24 @@ declare function __VLS_template_36(): {
|
|
|
1241
1443
|
rootEl: any;
|
|
1242
1444
|
};
|
|
1243
1445
|
|
|
1244
|
-
declare function
|
|
1446
|
+
declare function __VLS_template_4(): {
|
|
1447
|
+
attrs: Partial<{}>;
|
|
1448
|
+
slots: Readonly<{
|
|
1449
|
+
widget(props: {
|
|
1450
|
+
widget: DashboardWidget;
|
|
1451
|
+
}): unknown;
|
|
1452
|
+
}> & {
|
|
1453
|
+
widget(props: {
|
|
1454
|
+
widget: DashboardWidget;
|
|
1455
|
+
}): unknown;
|
|
1456
|
+
};
|
|
1457
|
+
refs: {
|
|
1458
|
+
rootRef: HTMLDivElement;
|
|
1459
|
+
};
|
|
1460
|
+
rootEl: HTMLDivElement;
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
declare function __VLS_template_40(): {
|
|
1245
1464
|
attrs: Partial<{}>;
|
|
1246
1465
|
slots: Readonly<{
|
|
1247
1466
|
panel(props: {
|
|
@@ -1256,7 +1475,7 @@ declare function __VLS_template_37(): {
|
|
|
1256
1475
|
rootEl: any;
|
|
1257
1476
|
};
|
|
1258
1477
|
|
|
1259
|
-
declare function
|
|
1478
|
+
declare function __VLS_template_41(): {
|
|
1260
1479
|
attrs: Partial<{}>;
|
|
1261
1480
|
slots: Readonly<{
|
|
1262
1481
|
default(props: Record<string, never>): unknown;
|
|
@@ -1269,23 +1488,6 @@ declare function __VLS_template_38(): {
|
|
|
1269
1488
|
rootEl: HTMLButtonElement;
|
|
1270
1489
|
};
|
|
1271
1490
|
|
|
1272
|
-
declare function __VLS_template_4(): {
|
|
1273
|
-
attrs: Partial<{}>;
|
|
1274
|
-
slots: Readonly<{
|
|
1275
|
-
widget(props: {
|
|
1276
|
-
widget: DashboardWidget;
|
|
1277
|
-
}): unknown;
|
|
1278
|
-
}> & {
|
|
1279
|
-
widget(props: {
|
|
1280
|
-
widget: DashboardWidget;
|
|
1281
|
-
}): unknown;
|
|
1282
|
-
};
|
|
1283
|
-
refs: {
|
|
1284
|
-
rootRef: HTMLDivElement;
|
|
1285
|
-
};
|
|
1286
|
-
rootEl: HTMLDivElement;
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1289
1491
|
declare function __VLS_template_5(): {
|
|
1290
1492
|
attrs: Partial<{}>;
|
|
1291
1493
|
slots: Readonly<{
|
|
@@ -1457,8 +1659,14 @@ declare type __VLS_TemplateResult_37 = ReturnType<typeof __VLS_template_37>;
|
|
|
1457
1659
|
|
|
1458
1660
|
declare type __VLS_TemplateResult_38 = ReturnType<typeof __VLS_template_38>;
|
|
1459
1661
|
|
|
1662
|
+
declare type __VLS_TemplateResult_39 = ReturnType<typeof __VLS_template_39>;
|
|
1663
|
+
|
|
1460
1664
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1461
1665
|
|
|
1666
|
+
declare type __VLS_TemplateResult_40 = ReturnType<typeof __VLS_template_40>;
|
|
1667
|
+
|
|
1668
|
+
declare type __VLS_TemplateResult_41 = ReturnType<typeof __VLS_template_41>;
|
|
1669
|
+
|
|
1462
1670
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1463
1671
|
|
|
1464
1672
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
@@ -1673,6 +1881,24 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
1673
1881
|
};
|
|
1674
1882
|
};
|
|
1675
1883
|
|
|
1884
|
+
declare type __VLS_WithTemplateSlots_40<T, S> = T & {
|
|
1885
|
+
new (): {
|
|
1886
|
+
$slots: S;
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
declare type __VLS_WithTemplateSlots_41<T, S> = T & {
|
|
1891
|
+
new (): {
|
|
1892
|
+
$slots: S;
|
|
1893
|
+
};
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
declare type __VLS_WithTemplateSlots_42<T, S> = T & {
|
|
1897
|
+
new (): {
|
|
1898
|
+
$slots: S;
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
|
|
1676
1902
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1677
1903
|
new (): {
|
|
1678
1904
|
$slots: S;
|
|
@@ -1950,6 +2176,9 @@ export declare function buildPageRule(opts?: PrintOptions): string;
|
|
|
1950
2176
|
*/
|
|
1951
2177
|
export declare function buildPrintHtml(fragment: string, opts?: PrintOptions, documentRef?: Document | null): string;
|
|
1952
2178
|
|
|
2179
|
+
/** Builds a CSS-variable map from a theme's `token` + `cssVars`. */
|
|
2180
|
+
export declare function buildThemeVars(theme?: ThemeConfig): Record<string, string>;
|
|
2181
|
+
|
|
1953
2182
|
export declare interface ButtonProps {
|
|
1954
2183
|
/** Visual style variant. */
|
|
1955
2184
|
type?: 'default' | 'primary' | 'dashed' | 'text' | 'link';
|
|
@@ -2123,6 +2352,8 @@ export declare interface CascaderProps {
|
|
|
2123
2352
|
maxTagCount?: number;
|
|
2124
2353
|
/** Load children for a node when `isLeaf: false` and `children` is empty. */
|
|
2125
2354
|
loadData?: (selectedOptions: CascaderOption[]) => void;
|
|
2355
|
+
/** Inline styles applied to the dropdown panel (parity with React). */
|
|
2356
|
+
dropdownStyle?: CSSProperties;
|
|
2126
2357
|
/** Strips built-in styling. */
|
|
2127
2358
|
unstyled?: boolean;
|
|
2128
2359
|
/** Size token. */
|
|
@@ -2485,6 +2716,15 @@ export declare interface ColorPickerProps {
|
|
|
2485
2716
|
size?: 'small' | 'middle' | 'large';
|
|
2486
2717
|
/** Strips built-in styling. */
|
|
2487
2718
|
unstyled?: boolean;
|
|
2719
|
+
/**
|
|
2720
|
+
* Accessible name for the trigger button. The trigger only shows a color
|
|
2721
|
+
* swatch (and optional `showText`), so without a programmatic name the
|
|
2722
|
+
* `button-name` axe rule flags the control. Provide either `ariaLabel`
|
|
2723
|
+
* or `ariaLabelledby`; if `showText` renders text, that text is enough.
|
|
2724
|
+
*/
|
|
2725
|
+
ariaLabel?: string;
|
|
2726
|
+
/** Id(s) of the element(s) that label the trigger. */
|
|
2727
|
+
ariaLabelledby?: string;
|
|
2488
2728
|
}
|
|
2489
2729
|
|
|
2490
2730
|
/** Описание агрегации одной колонки. */
|
|
@@ -2511,8 +2751,20 @@ export declare interface ConfigProviderProps {
|
|
|
2511
2751
|
disabled?: boolean;
|
|
2512
2752
|
/** Enables bordered styling for nested components when true. */
|
|
2513
2753
|
bordered?: boolean;
|
|
2754
|
+
/** Text / layout direction applied via the `dir` attribute. */
|
|
2755
|
+
direction?: Direction;
|
|
2514
2756
|
/** Locale messages shallow-merged with the parent provider when set. */
|
|
2515
2757
|
locale?: SgLocale;
|
|
2758
|
+
/** Theme preset + token overrides applied to a scope wrapper. */
|
|
2759
|
+
theme?: ThemeConfig;
|
|
2760
|
+
/** Returns the mount node for popups. */
|
|
2761
|
+
getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement;
|
|
2762
|
+
/** Returns the scroll/target container for affix-like positioning. */
|
|
2763
|
+
getTargetContainer?: () => HTMLElement;
|
|
2764
|
+
/** Global override for the default empty state. */
|
|
2765
|
+
renderEmpty?: RenderEmptyHandler;
|
|
2766
|
+
/** Content-Security-Policy options for injected styles. */
|
|
2767
|
+
csp?: CSPConfig;
|
|
2516
2768
|
}
|
|
2517
2769
|
|
|
2518
2770
|
export declare interface Core {
|
|
@@ -2537,6 +2789,12 @@ export declare function createEmptyEditorSchema(): EditorSchema;
|
|
|
2537
2789
|
|
|
2538
2790
|
export declare function createFieldFromPaletteType(type: FieldType, existingNames: string[]): EditorField;
|
|
2539
2791
|
|
|
2792
|
+
/** Content-Security-Policy options for runtime-injected styles. */
|
|
2793
|
+
export declare interface CSPConfig {
|
|
2794
|
+
/** `nonce` attribute applied to dynamically created `<style>` tags. */
|
|
2795
|
+
nonce?: string;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2540
2798
|
export declare interface DashboardEditorProps extends DashboardProps {
|
|
2541
2799
|
/** Allow drag-to-move on widget headers. @default true */
|
|
2542
2800
|
draggable?: boolean;
|
|
@@ -2950,6 +3208,9 @@ export declare interface DiagramProps {
|
|
|
2950
3208
|
/** Selection management mode for the diagram. Mirrors React. */
|
|
2951
3209
|
export declare type DiagramSelectionMode = 'single' | 'multi' | 'lasso';
|
|
2952
3210
|
|
|
3211
|
+
/** Text/layout direction shared by descendant components. */
|
|
3212
|
+
export declare type Direction = 'ltr' | 'rtl';
|
|
3213
|
+
|
|
2953
3214
|
/** Options accepted by `downloadSvgAsPng`. */
|
|
2954
3215
|
export declare interface DownloadPngOptions {
|
|
2955
3216
|
/** File name (with or without `.png` suffix). @default 'chart.png' */
|
|
@@ -3859,6 +4120,18 @@ export declare interface InputProps {
|
|
|
3859
4120
|
unstyled?: boolean;
|
|
3860
4121
|
/** Shows a loading spinner. */
|
|
3861
4122
|
loading?: boolean;
|
|
4123
|
+
/**
|
|
4124
|
+
* Exposes invalid state to assistive technologies. Accepts a string token
|
|
4125
|
+
* (`'true'` / `'false'` / `'grammar'` / `'spelling'`); the prop is
|
|
4126
|
+
* intentionally string-only so Vue's Boolean prop coercion does not
|
|
4127
|
+
* default it to `false` when the consumer omits it. Pass strings — e.g.
|
|
4128
|
+
* `aria-invalid="true"`.
|
|
4129
|
+
*/
|
|
4130
|
+
ariaInvalid?: 'false' | 'true' | 'grammar' | 'spelling';
|
|
4131
|
+
/** Marks the field as required for assistive technologies. */
|
|
4132
|
+
ariaRequired?: 'false' | 'true';
|
|
4133
|
+
/** Connects the input to description / error nodes for assistive technologies. */
|
|
4134
|
+
ariaDescribedby?: string;
|
|
3862
4135
|
}
|
|
3863
4136
|
|
|
3864
4137
|
export declare interface JSONSchema extends JSONSchemaProperty {
|
|
@@ -4209,6 +4482,12 @@ export declare interface NotificationConfig {
|
|
|
4209
4482
|
key?: string;
|
|
4210
4483
|
onClose?: () => void;
|
|
4211
4484
|
placement?: 'topRight' | 'topLeft' | 'bottomRight' | 'bottomLeft';
|
|
4485
|
+
/**
|
|
4486
|
+
* Inline styles applied to the toast card — chiefly per-toast CSS variable
|
|
4487
|
+
* overrides so callers can re-theme a single notification (parity with the
|
|
4488
|
+
* React `notification.open({ style })` option).
|
|
4489
|
+
*/
|
|
4490
|
+
style?: CSSProperties;
|
|
4212
4491
|
}
|
|
4213
4492
|
|
|
4214
4493
|
export declare interface NotificationContainerProps {
|
|
@@ -4281,8 +4560,12 @@ export declare interface PaginationProps {
|
|
|
4281
4560
|
total: number;
|
|
4282
4561
|
/** Items per page. @default 10 */
|
|
4283
4562
|
pageSize?: number;
|
|
4284
|
-
/**
|
|
4285
|
-
|
|
4563
|
+
/**
|
|
4564
|
+
* Whether the total count is displayed. When a function is passed it
|
|
4565
|
+
* receives `(total, [start, end])` and returns the rendered content
|
|
4566
|
+
* (parity with the React `showTotal` callback).
|
|
4567
|
+
*/
|
|
4568
|
+
showTotal?: boolean | PaginationTotalRenderer;
|
|
4286
4569
|
/** Disables all controls. */
|
|
4287
4570
|
disabled?: boolean;
|
|
4288
4571
|
/** Renders prev/next with current/total only. */
|
|
@@ -4297,6 +4580,14 @@ export declare interface PaginationProps {
|
|
|
4297
4580
|
unstyled?: boolean;
|
|
4298
4581
|
}
|
|
4299
4582
|
|
|
4583
|
+
/**
|
|
4584
|
+
* Renderer for the "total" label. Receives the total count and the current
|
|
4585
|
+
* visible range `[start, end]`. Return either a plain string or an array of
|
|
4586
|
+
* `VNode`s (e.g. `h('span', ...)`). Mirrors the React `showTotal` function
|
|
4587
|
+
* signature.
|
|
4588
|
+
*/
|
|
4589
|
+
declare type PaginationTotalRenderer = (total: number, range: [number, number]) => string | number | VNode | VNode[];
|
|
4590
|
+
|
|
4300
4591
|
export declare const PALETTE_DATA_TYPE = "application/x-sg-sfe-palette-type";
|
|
4301
4592
|
|
|
4302
4593
|
export declare interface PaletteItem {
|
|
@@ -4539,7 +4830,7 @@ export declare interface RateProps {
|
|
|
4539
4830
|
count?: number;
|
|
4540
4831
|
/** Allows half steps. */
|
|
4541
4832
|
allowHalf?: boolean;
|
|
4542
|
-
/** Custom character (defaults to ★). */
|
|
4833
|
+
/** Custom character (defaults to ★). Prefer the `character` slot for nodes. */
|
|
4543
4834
|
character?: string;
|
|
4544
4835
|
/** Disables interaction. */
|
|
4545
4836
|
disabled?: boolean;
|
|
@@ -4547,6 +4838,9 @@ export declare interface RateProps {
|
|
|
4547
4838
|
unstyled?: boolean;
|
|
4548
4839
|
}
|
|
4549
4840
|
|
|
4841
|
+
/** Customizes the empty state rendered by data components (`Empty`, `Table`, …). */
|
|
4842
|
+
export declare type RenderEmptyHandler = (componentName?: string) => VNodeChild;
|
|
4843
|
+
|
|
4550
4844
|
/** Resolve a `brush` prop into a `ChartBrushConfig | null`. */
|
|
4551
4845
|
export declare function resolveBrushConfig(brush: boolean | ChartBrushConfig | undefined): ChartBrushConfig | null;
|
|
4552
4846
|
|
|
@@ -4863,6 +5157,15 @@ export declare interface SelectProps {
|
|
|
4863
5157
|
size?: 'small' | 'middle' | 'large';
|
|
4864
5158
|
/** Strips built-in styling (renders native <select>). */
|
|
4865
5159
|
unstyled?: boolean;
|
|
5160
|
+
/**
|
|
5161
|
+
* Accessible name for the styled trigger. Required for the styled
|
|
5162
|
+
* (non-`unstyled`) variant when there is no surrounding `<label htmlFor=...>`
|
|
5163
|
+
* — the trigger is a `<div role="combobox">` and a parent `<label>` cannot
|
|
5164
|
+
* associate. WCAG 4.1.2 expects a name for every interactive control.
|
|
5165
|
+
*/
|
|
5166
|
+
ariaLabel?: string;
|
|
5167
|
+
/** Id(s) of the element(s) that label this control. */
|
|
5168
|
+
ariaLabelledby?: string;
|
|
4866
5169
|
}
|
|
4867
5170
|
|
|
4868
5171
|
/**
|
|
@@ -4913,9 +5216,9 @@ wrapperRef: HTMLDivElement;
|
|
|
4913
5216
|
|
|
4914
5217
|
export declare const SgAutoField: DefineComponent<AutoFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AutoFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4915
5218
|
|
|
4916
|
-
export declare const SgAvatar:
|
|
5219
|
+
export declare const SgAvatar: __VLS_WithTemplateSlots_39<typeof __VLS_component_38, __VLS_TemplateResult_38["slots"]>;
|
|
4917
5220
|
|
|
4918
|
-
export declare const SgBadge:
|
|
5221
|
+
export declare const SgBadge: __VLS_WithTemplateSlots_37<typeof __VLS_component_36, __VLS_TemplateResult_36["slots"]>;
|
|
4919
5222
|
|
|
4920
5223
|
export declare const SgBarChart: DefineComponent<BarChartProps, {
|
|
4921
5224
|
print: (opts?: {
|
|
@@ -4935,11 +5238,11 @@ rootRef: HTMLDivElement;
|
|
|
4935
5238
|
svgRef: SVGSVGElement;
|
|
4936
5239
|
}, HTMLDivElement>;
|
|
4937
5240
|
|
|
4938
|
-
export declare const SgBreadcrumb:
|
|
5241
|
+
export declare const SgBreadcrumb: __VLS_WithTemplateSlots_32<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
4939
5242
|
|
|
4940
|
-
export declare const SgButton:
|
|
5243
|
+
export declare const SgButton: __VLS_WithTemplateSlots_42<typeof __VLS_component_41, __VLS_TemplateResult_41["slots"]>;
|
|
4941
5244
|
|
|
4942
|
-
export declare const SgCalendar:
|
|
5245
|
+
export declare const SgCalendar: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
4943
5246
|
|
|
4944
5247
|
/** Locale strings for {@link SgCalendar} and the DatePicker calendar grid. */
|
|
4945
5248
|
export declare interface SgCalendarLocale {
|
|
@@ -5074,27 +5377,9 @@ unstyled: boolean;
|
|
|
5074
5377
|
|
|
5075
5378
|
export declare const SgCheckbox: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
5076
5379
|
|
|
5077
|
-
export declare const SgCollapse:
|
|
5380
|
+
export declare const SgCollapse: __VLS_WithTemplateSlots_41<typeof __VLS_component_40, __VLS_TemplateResult_40["slots"]>;
|
|
5078
5381
|
|
|
5079
|
-
export declare const SgColorPicker:
|
|
5080
|
-
change: (value: string) => any;
|
|
5081
|
-
"update:modelValue": (value: string) => any;
|
|
5082
|
-
openChange: (open: boolean) => any;
|
|
5083
|
-
}, string, PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
5084
|
-
onChange?: ((value: string) => any) | undefined;
|
|
5085
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
5086
|
-
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
5087
|
-
}>, {
|
|
5088
|
-
size: "small" | "middle" | "large";
|
|
5089
|
-
disabled: boolean;
|
|
5090
|
-
open: boolean;
|
|
5091
|
-
trigger: "click" | "hover";
|
|
5092
|
-
format: "hex" | "rgb";
|
|
5093
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
5094
|
-
wrapperRef: HTMLDivElement;
|
|
5095
|
-
satPanelRef: HTMLDivElement;
|
|
5096
|
-
hueBarRef: HTMLDivElement;
|
|
5097
|
-
}, HTMLDivElement>;
|
|
5382
|
+
export declare const SgColorPicker: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
5098
5383
|
|
|
5099
5384
|
/**
|
|
5100
5385
|
* Global Skygraph component configuration merged through Vue provide/inject.
|
|
@@ -5111,13 +5396,29 @@ export declare interface SgConfig {
|
|
|
5111
5396
|
disabled?: boolean;
|
|
5112
5397
|
/** Enables bordered styling for nested components when true. */
|
|
5113
5398
|
bordered?: boolean;
|
|
5399
|
+
/** Text / layout direction (`ltr` by default) applied via the `dir` attribute. */
|
|
5400
|
+
direction?: Direction;
|
|
5114
5401
|
/** Locale messages shallow-merged with the parent provider when set. */
|
|
5115
5402
|
locale?: SgLocale;
|
|
5403
|
+
/** Theme preset + token overrides applied to a scope wrapper. */
|
|
5404
|
+
theme?: ThemeConfig;
|
|
5405
|
+
/**
|
|
5406
|
+
* Returns the mount node for popups (dropdowns, tooltips, pickers). Defaults
|
|
5407
|
+
* to `document.body` in consumers. Useful to keep overlays inside a scrolling
|
|
5408
|
+
* or scoped container.
|
|
5409
|
+
*/
|
|
5410
|
+
getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement;
|
|
5411
|
+
/** Returns the scroll/target container for affix-like positioning. */
|
|
5412
|
+
getTargetContainer?: () => HTMLElement;
|
|
5413
|
+
/** Global override for the default empty state. */
|
|
5414
|
+
renderEmpty?: RenderEmptyHandler;
|
|
5415
|
+
/** Content-Security-Policy options for injected styles. */
|
|
5416
|
+
csp?: CSPConfig;
|
|
5116
5417
|
}
|
|
5117
5418
|
|
|
5118
5419
|
export declare const sgConfigKey: InjectionKey<ComputedRef<SgConfig>>;
|
|
5119
5420
|
|
|
5120
|
-
export declare const SgConfigProvider:
|
|
5421
|
+
export declare const SgConfigProvider: __VLS_WithTemplateSlots_22<DefineComponent<ExtractPropTypes< {
|
|
5121
5422
|
size: {
|
|
5122
5423
|
type: PropType<SizeType>;
|
|
5123
5424
|
default: undefined;
|
|
@@ -5130,10 +5431,34 @@ bordered: {
|
|
|
5130
5431
|
type: BooleanConstructor;
|
|
5131
5432
|
default: undefined;
|
|
5132
5433
|
};
|
|
5434
|
+
direction: {
|
|
5435
|
+
type: PropType<Direction>;
|
|
5436
|
+
default: undefined;
|
|
5437
|
+
};
|
|
5133
5438
|
locale: {
|
|
5134
5439
|
type: PropType<SgLocale>;
|
|
5135
5440
|
default: undefined;
|
|
5136
5441
|
};
|
|
5442
|
+
theme: {
|
|
5443
|
+
type: PropType<ThemeConfig>;
|
|
5444
|
+
default: undefined;
|
|
5445
|
+
};
|
|
5446
|
+
getPopupContainer: {
|
|
5447
|
+
type: PropType<(triggerNode?: HTMLElement) => HTMLElement>;
|
|
5448
|
+
default: undefined;
|
|
5449
|
+
};
|
|
5450
|
+
getTargetContainer: {
|
|
5451
|
+
type: PropType<() => HTMLElement>;
|
|
5452
|
+
default: undefined;
|
|
5453
|
+
};
|
|
5454
|
+
renderEmpty: {
|
|
5455
|
+
type: PropType<RenderEmptyHandler>;
|
|
5456
|
+
default: undefined;
|
|
5457
|
+
};
|
|
5458
|
+
csp: {
|
|
5459
|
+
type: PropType<CSPConfig>;
|
|
5460
|
+
default: undefined;
|
|
5461
|
+
};
|
|
5137
5462
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5138
5463
|
size: {
|
|
5139
5464
|
type: PropType<SizeType>;
|
|
@@ -5147,15 +5472,45 @@ bordered: {
|
|
|
5147
5472
|
type: BooleanConstructor;
|
|
5148
5473
|
default: undefined;
|
|
5149
5474
|
};
|
|
5475
|
+
direction: {
|
|
5476
|
+
type: PropType<Direction>;
|
|
5477
|
+
default: undefined;
|
|
5478
|
+
};
|
|
5150
5479
|
locale: {
|
|
5151
5480
|
type: PropType<SgLocale>;
|
|
5152
5481
|
default: undefined;
|
|
5153
5482
|
};
|
|
5483
|
+
theme: {
|
|
5484
|
+
type: PropType<ThemeConfig>;
|
|
5485
|
+
default: undefined;
|
|
5486
|
+
};
|
|
5487
|
+
getPopupContainer: {
|
|
5488
|
+
type: PropType<(triggerNode?: HTMLElement) => HTMLElement>;
|
|
5489
|
+
default: undefined;
|
|
5490
|
+
};
|
|
5491
|
+
getTargetContainer: {
|
|
5492
|
+
type: PropType<() => HTMLElement>;
|
|
5493
|
+
default: undefined;
|
|
5494
|
+
};
|
|
5495
|
+
renderEmpty: {
|
|
5496
|
+
type: PropType<RenderEmptyHandler>;
|
|
5497
|
+
default: undefined;
|
|
5498
|
+
};
|
|
5499
|
+
csp: {
|
|
5500
|
+
type: PropType<CSPConfig>;
|
|
5501
|
+
default: undefined;
|
|
5502
|
+
};
|
|
5154
5503
|
}>> & Readonly<{}>, {
|
|
5155
5504
|
size: SizeType;
|
|
5505
|
+
direction: Direction;
|
|
5156
5506
|
disabled: boolean;
|
|
5157
5507
|
bordered: boolean;
|
|
5158
5508
|
locale: SgLocale;
|
|
5509
|
+
theme: ThemeConfig;
|
|
5510
|
+
getPopupContainer: (triggerNode?: HTMLElement) => HTMLElement;
|
|
5511
|
+
getTargetContainer: () => HTMLElement;
|
|
5512
|
+
renderEmpty: RenderEmptyHandler;
|
|
5513
|
+
csp: CSPConfig;
|
|
5159
5514
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
5160
5515
|
default(props: Record<string, never>): unknown;
|
|
5161
5516
|
}> & {
|
|
@@ -5269,11 +5624,11 @@ colon: boolean;
|
|
|
5269
5624
|
|
|
5270
5625
|
export declare const SgDiagram: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
5271
5626
|
|
|
5272
|
-
export declare const SgDrawer:
|
|
5627
|
+
export declare const SgDrawer: __VLS_WithTemplateSlots_25<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
5273
5628
|
|
|
5274
|
-
export declare const SgDropdown:
|
|
5629
|
+
export declare const SgDropdown: __VLS_WithTemplateSlots_33<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
5275
5630
|
|
|
5276
|
-
export declare const SgEmpty:
|
|
5631
|
+
export declare const SgEmpty: __VLS_WithTemplateSlots_29<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
5277
5632
|
|
|
5278
5633
|
export declare const SgEventTimeline: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
5279
5634
|
|
|
@@ -5543,16 +5898,16 @@ onSelect?: ((...args: any[]) => any) | undefined;
|
|
|
5543
5898
|
onOpenChange?: ((...args: any[]) => any) | undefined;
|
|
5544
5899
|
}>, {
|
|
5545
5900
|
selectedKeys: string[] | undefined;
|
|
5546
|
-
|
|
5901
|
+
theme: "light" | "dark";
|
|
5547
5902
|
mode: "vertical" | "horizontal" | "inline";
|
|
5903
|
+
unstyled: boolean;
|
|
5548
5904
|
defaultSelectedKeys: string[];
|
|
5549
5905
|
openKeys: string[] | undefined;
|
|
5550
5906
|
inlineCollapsed: boolean;
|
|
5551
5907
|
defaultOpenKeys: string[];
|
|
5552
|
-
theme: "dark" | "light";
|
|
5553
5908
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5554
5909
|
|
|
5555
|
-
export declare const SgModal:
|
|
5910
|
+
export declare const SgModal: __VLS_WithTemplateSlots_24<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
5556
5911
|
|
|
5557
5912
|
/**
|
|
5558
5913
|
* Subscribes to the global notification store and renders matching toasts.
|
|
@@ -5582,104 +5937,7 @@ unstyled: boolean;
|
|
|
5582
5937
|
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
5583
5938
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5584
5939
|
|
|
5585
|
-
export declare const SgPagination:
|
|
5586
|
-
current: {
|
|
5587
|
-
type: NumberConstructor;
|
|
5588
|
-
required: true;
|
|
5589
|
-
};
|
|
5590
|
-
total: {
|
|
5591
|
-
type: NumberConstructor;
|
|
5592
|
-
required: true;
|
|
5593
|
-
};
|
|
5594
|
-
pageSize: {
|
|
5595
|
-
type: NumberConstructor;
|
|
5596
|
-
default: number;
|
|
5597
|
-
};
|
|
5598
|
-
showTotal: {
|
|
5599
|
-
type: BooleanConstructor;
|
|
5600
|
-
default: boolean;
|
|
5601
|
-
};
|
|
5602
|
-
disabled: {
|
|
5603
|
-
type: BooleanConstructor;
|
|
5604
|
-
default: undefined;
|
|
5605
|
-
};
|
|
5606
|
-
simple: {
|
|
5607
|
-
type: BooleanConstructor;
|
|
5608
|
-
default: boolean;
|
|
5609
|
-
};
|
|
5610
|
-
showSizeChanger: {
|
|
5611
|
-
type: BooleanConstructor;
|
|
5612
|
-
default: boolean;
|
|
5613
|
-
};
|
|
5614
|
-
pageSizeOptions: {
|
|
5615
|
-
type: PropType<number[]>;
|
|
5616
|
-
default: () => number[];
|
|
5617
|
-
};
|
|
5618
|
-
showQuickJumper: {
|
|
5619
|
-
type: BooleanConstructor;
|
|
5620
|
-
default: boolean;
|
|
5621
|
-
};
|
|
5622
|
-
unstyled: {
|
|
5623
|
-
type: BooleanConstructor;
|
|
5624
|
-
default: boolean;
|
|
5625
|
-
};
|
|
5626
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5627
|
-
change: (page: number) => any;
|
|
5628
|
-
pageSizeChange: (size: number) => any;
|
|
5629
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5630
|
-
current: {
|
|
5631
|
-
type: NumberConstructor;
|
|
5632
|
-
required: true;
|
|
5633
|
-
};
|
|
5634
|
-
total: {
|
|
5635
|
-
type: NumberConstructor;
|
|
5636
|
-
required: true;
|
|
5637
|
-
};
|
|
5638
|
-
pageSize: {
|
|
5639
|
-
type: NumberConstructor;
|
|
5640
|
-
default: number;
|
|
5641
|
-
};
|
|
5642
|
-
showTotal: {
|
|
5643
|
-
type: BooleanConstructor;
|
|
5644
|
-
default: boolean;
|
|
5645
|
-
};
|
|
5646
|
-
disabled: {
|
|
5647
|
-
type: BooleanConstructor;
|
|
5648
|
-
default: undefined;
|
|
5649
|
-
};
|
|
5650
|
-
simple: {
|
|
5651
|
-
type: BooleanConstructor;
|
|
5652
|
-
default: boolean;
|
|
5653
|
-
};
|
|
5654
|
-
showSizeChanger: {
|
|
5655
|
-
type: BooleanConstructor;
|
|
5656
|
-
default: boolean;
|
|
5657
|
-
};
|
|
5658
|
-
pageSizeOptions: {
|
|
5659
|
-
type: PropType<number[]>;
|
|
5660
|
-
default: () => number[];
|
|
5661
|
-
};
|
|
5662
|
-
showQuickJumper: {
|
|
5663
|
-
type: BooleanConstructor;
|
|
5664
|
-
default: boolean;
|
|
5665
|
-
};
|
|
5666
|
-
unstyled: {
|
|
5667
|
-
type: BooleanConstructor;
|
|
5668
|
-
default: boolean;
|
|
5669
|
-
};
|
|
5670
|
-
}>> & Readonly<{
|
|
5671
|
-
onChange?: ((page: number) => any) | undefined;
|
|
5672
|
-
onPageSizeChange?: ((size: number) => any) | undefined;
|
|
5673
|
-
}>, {
|
|
5674
|
-
pageSize: number;
|
|
5675
|
-
disabled: boolean;
|
|
5676
|
-
unstyled: boolean;
|
|
5677
|
-
showTotal: boolean;
|
|
5678
|
-
simple: boolean;
|
|
5679
|
-
showSizeChanger: boolean;
|
|
5680
|
-
pageSizeOptions: number[];
|
|
5681
|
-
showQuickJumper: boolean;
|
|
5682
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5940
|
+
export declare const SgPagination: __VLS_WithTemplateSlots_34<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
5683
5941
|
|
|
5684
5942
|
export declare const SgPieChart: DefineComponent<PieChartProps, {
|
|
5685
5943
|
print: (opts?: {
|
|
@@ -5715,7 +5973,7 @@ placeholder: string;
|
|
|
5715
5973
|
autoFocus: boolean;
|
|
5716
5974
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5717
5975
|
|
|
5718
|
-
export declare const SgPopconfirm:
|
|
5976
|
+
export declare const SgPopconfirm: __VLS_WithTemplateSlots_26<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
5719
5977
|
|
|
5720
5978
|
export declare const SgProgress: DefineComponent<ProgressProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
5721
5979
|
status: "normal" | "success" | "error" | "active";
|
|
@@ -5764,19 +6022,7 @@ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
|
5764
6022
|
wrapperRef: HTMLDivElement;
|
|
5765
6023
|
}, HTMLDivElement>;
|
|
5766
6024
|
|
|
5767
|
-
export declare const SgRate:
|
|
5768
|
-
change: (value: number) => any;
|
|
5769
|
-
"update:modelValue": (value: number) => any;
|
|
5770
|
-
}, string, PublicProps, Readonly<RateProps> & Readonly<{
|
|
5771
|
-
onChange?: ((value: number) => any) | undefined;
|
|
5772
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
5773
|
-
}>, {
|
|
5774
|
-
disabled: boolean;
|
|
5775
|
-
defaultValue: number;
|
|
5776
|
-
count: number;
|
|
5777
|
-
allowHalf: boolean;
|
|
5778
|
-
character: string;
|
|
5779
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6025
|
+
export declare const SgRate: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
5780
6026
|
|
|
5781
6027
|
export declare const SgResourceCalendar: DefineComponent<ResourceCalendarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5782
6028
|
conflict: (conflicts: {
|
|
@@ -5802,7 +6048,7 @@ resizable: boolean;
|
|
|
5802
6048
|
sidebarWidth: number;
|
|
5803
6049
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5804
6050
|
|
|
5805
|
-
export declare const SgResult:
|
|
6051
|
+
export declare const SgResult: __VLS_WithTemplateSlots_28<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
5806
6052
|
|
|
5807
6053
|
export declare const SgSchemaForm: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
5808
6054
|
|
|
@@ -5848,7 +6094,7 @@ allowClear: boolean;
|
|
|
5848
6094
|
inputRef: HTMLInputElement;
|
|
5849
6095
|
}, any>;
|
|
5850
6096
|
|
|
5851
|
-
export declare const SgSegmented:
|
|
6097
|
+
export declare const SgSegmented: __VLS_WithTemplateSlots_36<typeof __VLS_component_35, __VLS_TemplateResult_35["slots"]>;
|
|
5852
6098
|
|
|
5853
6099
|
export declare const SgSelect: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5854
6100
|
blur: () => any;
|
|
@@ -5868,7 +6114,7 @@ multiple: boolean;
|
|
|
5868
6114
|
wrapperRef: HTMLDivElement;
|
|
5869
6115
|
}, any>;
|
|
5870
6116
|
|
|
5871
|
-
export declare const SgSkeleton:
|
|
6117
|
+
export declare const SgSkeleton: __VLS_WithTemplateSlots_30<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
5872
6118
|
|
|
5873
6119
|
export declare const SgSlider: DefineComponent<SliderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5874
6120
|
change: (value: number) => any;
|
|
@@ -5878,17 +6124,17 @@ onChange?: ((value: number) => any) | undefined;
|
|
|
5878
6124
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
5879
6125
|
}>, {
|
|
5880
6126
|
disabled: boolean;
|
|
5881
|
-
defaultValue: number;
|
|
5882
6127
|
step: number;
|
|
5883
6128
|
min: number;
|
|
5884
6129
|
max: number;
|
|
6130
|
+
defaultValue: number;
|
|
5885
6131
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
5886
6132
|
trackRef: HTMLDivElement;
|
|
5887
6133
|
}, HTMLDivElement>;
|
|
5888
6134
|
|
|
5889
|
-
export declare const SgSpin:
|
|
6135
|
+
export declare const SgSpin: __VLS_WithTemplateSlots_23<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
5890
6136
|
|
|
5891
|
-
export declare const SgSteps:
|
|
6137
|
+
export declare const SgSteps: __VLS_WithTemplateSlots_35<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
5892
6138
|
|
|
5893
6139
|
export declare const SgSubmitButton: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
5894
6140
|
|
|
@@ -5896,9 +6142,9 @@ export declare const SgSwitch: __VLS_WithTemplateSlots_16<typeof __VLS_component
|
|
|
5896
6142
|
|
|
5897
6143
|
export declare const SgTable: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5898
6144
|
|
|
5899
|
-
export declare const SgTabs:
|
|
6145
|
+
export declare const SgTabs: __VLS_WithTemplateSlots_31<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
5900
6146
|
|
|
5901
|
-
export declare const SgTag:
|
|
6147
|
+
export declare const SgTag: __VLS_WithTemplateSlots_38<typeof __VLS_component_37, __VLS_TemplateResult_37["slots"]>;
|
|
5902
6148
|
|
|
5903
6149
|
export declare const SgTagInput: DefineComponent<TagInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5904
6150
|
focus: (ev: FocusEvent) => any;
|
|
@@ -5936,7 +6182,38 @@ loading: boolean;
|
|
|
5936
6182
|
rows: number;
|
|
5937
6183
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5938
6184
|
|
|
5939
|
-
|
|
6185
|
+
/**
|
|
6186
|
+
* Friendly design-token overrides. Each entry is mapped to a `--sg-*` CSS
|
|
6187
|
+
* custom property and emitted onto a `display: contents` scope wrapper, so
|
|
6188
|
+
* overrides cascade to every descendant without affecting layout.
|
|
6189
|
+
*
|
|
6190
|
+
* Numeric values for length-like tokens (`borderRadius`, `fontSize`) are
|
|
6191
|
+
* suffixed with `px`; everything else is emitted verbatim.
|
|
6192
|
+
*/
|
|
6193
|
+
export declare interface SgThemeToken {
|
|
6194
|
+
/** Brand / primary color → `--sg-color-primary`. */
|
|
6195
|
+
colorPrimary?: string;
|
|
6196
|
+
/** Success color → `--sg-color-success`. */
|
|
6197
|
+
colorSuccess?: string;
|
|
6198
|
+
/** Warning color → `--sg-color-warning`. */
|
|
6199
|
+
colorWarning?: string;
|
|
6200
|
+
/** Error / danger color → `--sg-color-error`. */
|
|
6201
|
+
colorError?: string;
|
|
6202
|
+
/** Base text color → `--sg-color-text`. */
|
|
6203
|
+
colorText?: string;
|
|
6204
|
+
/** Base background color → `--sg-color-bg`. */
|
|
6205
|
+
colorBg?: string;
|
|
6206
|
+
/** Base border color → `--sg-color-border`. */
|
|
6207
|
+
colorBorder?: string;
|
|
6208
|
+
/** Base corner radius → `--sg-border-radius` (number ⇒ px). */
|
|
6209
|
+
borderRadius?: number | string;
|
|
6210
|
+
/** Base font size → `--sg-font-size` (number ⇒ px). */
|
|
6211
|
+
fontSize?: number | string;
|
|
6212
|
+
/** Base font family → `--sg-font-sans`. */
|
|
6213
|
+
fontFamily?: string;
|
|
6214
|
+
}
|
|
6215
|
+
|
|
6216
|
+
export declare const SgTimeline: __VLS_WithTemplateSlots_40<typeof __VLS_component_39, __VLS_TemplateResult_39["slots"]>;
|
|
5940
6217
|
|
|
5941
6218
|
export declare const SgTimePicker: DefineComponent<TimePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5942
6219
|
change: (value: string) => any;
|
|
@@ -5991,9 +6268,9 @@ showSecond: boolean;
|
|
|
5991
6268
|
wrapperRef: HTMLDivElement;
|
|
5992
6269
|
}, HTMLDivElement>;
|
|
5993
6270
|
|
|
5994
|
-
export declare const SgTooltip:
|
|
6271
|
+
export declare const SgTooltip: __VLS_WithTemplateSlots_27<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
5995
6272
|
|
|
5996
|
-
export declare const SgTransfer:
|
|
6273
|
+
export declare const SgTransfer: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
5997
6274
|
|
|
5998
6275
|
/**
|
|
5999
6276
|
* Class-based enter/leave animation that mirrors the React `Transition` contract.
|
|
@@ -6151,7 +6428,6 @@ disabled: boolean;
|
|
|
6151
6428
|
selectable: boolean;
|
|
6152
6429
|
checkable: boolean;
|
|
6153
6430
|
unstyled: boolean;
|
|
6154
|
-
multiple: boolean;
|
|
6155
6431
|
draggable: boolean | ((node: TreeNodeData) => boolean);
|
|
6156
6432
|
virtual: boolean;
|
|
6157
6433
|
indentSize: number;
|
|
@@ -6159,6 +6435,7 @@ blockNode: boolean;
|
|
|
6159
6435
|
directory: boolean;
|
|
6160
6436
|
animated: boolean;
|
|
6161
6437
|
checkStrictly: boolean;
|
|
6438
|
+
multiple: boolean;
|
|
6162
6439
|
defaultExpandAll: boolean;
|
|
6163
6440
|
autoExpandParent: boolean;
|
|
6164
6441
|
showSearch: boolean;
|
|
@@ -6176,7 +6453,7 @@ export declare const SgTreeNodeRow: DefineComponent<TreeNodeRowProps, {}, {}, {}
|
|
|
6176
6453
|
select: (key: TreeKey) => any;
|
|
6177
6454
|
drop: (evt: DragEvent, key: TreeKey) => any;
|
|
6178
6455
|
expand: (key: TreeKey) => any;
|
|
6179
|
-
dragOver: (evt: DragEvent, key: TreeKey) => any;
|
|
6456
|
+
dragOver: (evt: DragEvent, key: TreeKey, pos: 0 | 1 | -1) => any;
|
|
6180
6457
|
check: (key: TreeKey) => any;
|
|
6181
6458
|
dragStart: (evt: DragEvent, key: TreeKey) => any;
|
|
6182
6459
|
dragLeave: (evt: DragEvent, key: TreeKey) => any;
|
|
@@ -6190,7 +6467,7 @@ editCancel: (key: TreeKey) => any;
|
|
|
6190
6467
|
onSelect?: ((key: TreeKey) => any) | undefined;
|
|
6191
6468
|
onDrop?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
6192
6469
|
onExpand?: ((key: TreeKey) => any) | undefined;
|
|
6193
|
-
onDragOver?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
6470
|
+
onDragOver?: ((evt: DragEvent, key: TreeKey, pos: 0 | 1 | -1) => any) | undefined;
|
|
6194
6471
|
onCheck?: ((key: TreeKey) => any) | undefined;
|
|
6195
6472
|
onDragStart?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
6196
6473
|
onDragLeave?: ((evt: DragEvent, key: TreeKey) => any) | undefined;
|
|
@@ -6234,7 +6511,7 @@ wrapperRef: HTMLDivElement;
|
|
|
6234
6511
|
searchRef: HTMLInputElement;
|
|
6235
6512
|
}, HTMLDivElement>;
|
|
6236
6513
|
|
|
6237
|
-
export declare const SgUpload:
|
|
6514
|
+
export declare const SgUpload: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
6238
6515
|
|
|
6239
6516
|
export declare const SgVirtualList: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6240
6517
|
props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & VirtualListProps<T> & Partial<{}>> & PublicProps;
|
|
@@ -6843,6 +7120,26 @@ export declare interface TextareaProps {
|
|
|
6843
7120
|
size?: 'small' | 'middle' | 'large';
|
|
6844
7121
|
/** Strips built-in styling. */
|
|
6845
7122
|
unstyled?: boolean;
|
|
7123
|
+
/** Exposes invalid state to assistive technologies. */
|
|
7124
|
+
ariaInvalid?: boolean | 'false' | 'true' | 'grammar' | 'spelling';
|
|
7125
|
+
/** Connects the textarea to description / error nodes for assistive technologies. */
|
|
7126
|
+
ariaDescribedby?: string;
|
|
7127
|
+
/** Marks the field as required for assistive technologies. */
|
|
7128
|
+
ariaRequired?: boolean | 'false' | 'true';
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7131
|
+
/**
|
|
7132
|
+
* Theme configuration. Combines a built-in light/dark preset (`mode`),
|
|
7133
|
+
* friendly token overrides (`token`), and an escape hatch for raw CSS
|
|
7134
|
+
* variables (`cssVars`). All three are applied to a scope wrapper.
|
|
7135
|
+
*/
|
|
7136
|
+
export declare interface ThemeConfig {
|
|
7137
|
+
/** Built-in palette preset applied via `data-sg-theme`. */
|
|
7138
|
+
mode?: 'light' | 'dark';
|
|
7139
|
+
/** Friendly token overrides mapped to `--sg-*` variables. */
|
|
7140
|
+
token?: SgThemeToken;
|
|
7141
|
+
/** Raw CSS variable overrides (full names, e.g. `{ '--sg-color-link': '#f50' }`). */
|
|
7142
|
+
cssVars?: Record<string, string>;
|
|
6846
7143
|
}
|
|
6847
7144
|
|
|
6848
7145
|
export declare interface TimelineEvent {
|
|
@@ -6943,6 +7240,16 @@ export declare interface TimePickerProps {
|
|
|
6943
7240
|
disabledMinutes?: (hour: number) => number[];
|
|
6944
7241
|
/** Second values to disable for the currently picked hour + minute. */
|
|
6945
7242
|
disabledSeconds?: (hour: number, minute: number) => number[];
|
|
7243
|
+
/**
|
|
7244
|
+
* Reserved for read-only input behavior (mirrors the React adapter; the
|
|
7245
|
+
* Vue trigger is already a non-editable button so this is a no-op kept
|
|
7246
|
+
* for parity).
|
|
7247
|
+
*/
|
|
7248
|
+
inputReadOnly?: boolean;
|
|
7249
|
+
/** Accessible name for the trigger button. */
|
|
7250
|
+
ariaLabel?: string;
|
|
7251
|
+
/** Id(s) of the element(s) that label the trigger. */
|
|
7252
|
+
ariaLabelledby?: string;
|
|
6946
7253
|
}
|
|
6947
7254
|
|
|
6948
7255
|
export declare interface TimeRangePickerProps {
|
|
@@ -7040,6 +7347,13 @@ export declare interface TransferProps {
|
|
|
7040
7347
|
defaultTargetKeys?: string[];
|
|
7041
7348
|
/** Show search input on each pane. */
|
|
7042
7349
|
showSearch?: boolean;
|
|
7350
|
+
/**
|
|
7351
|
+
* Custom search predicate. When omitted, a case-insensitive title substring
|
|
7352
|
+
* match is used. Mirrors the React `filterOption` prop.
|
|
7353
|
+
*/
|
|
7354
|
+
filterOption?: (inputValue: string, item: TransferItem) => boolean;
|
|
7355
|
+
/** Search input placeholder (overrides locale). */
|
|
7356
|
+
searchPlaceholder?: string;
|
|
7043
7357
|
/** Pane titles, [left, right]. */
|
|
7044
7358
|
titles?: [string, string];
|
|
7045
7359
|
/** Disables interaction. */
|
|
@@ -7048,6 +7362,8 @@ export declare interface TransferProps {
|
|
|
7048
7362
|
oneWay?: boolean;
|
|
7049
7363
|
/** Show select-all checkbox in the panel header. */
|
|
7050
7364
|
showSelectAll?: boolean;
|
|
7365
|
+
/** Shows the `selected/total items` count line. @default true */
|
|
7366
|
+
showCount?: boolean;
|
|
7051
7367
|
/** Enable client pagination. */
|
|
7052
7368
|
pagination?: boolean | {
|
|
7053
7369
|
pageSize?: number;
|
|
@@ -7475,18 +7791,22 @@ export declare function useComputed<T = unknown>(core: Core, path: string): Ref<
|
|
|
7475
7791
|
export declare function useConfig(): ComputedRef<SgConfig>;
|
|
7476
7792
|
|
|
7477
7793
|
/**
|
|
7478
|
-
* Resolves effective `size` and `
|
|
7794
|
+
* Resolves effective `size`, `disabled`, and `direction` from props, context,
|
|
7795
|
+
* and explicit defaults.
|
|
7479
7796
|
*/
|
|
7480
7797
|
export declare function useConfigWithDefaults(props: {
|
|
7481
7798
|
size?: SizeType;
|
|
7482
7799
|
disabled?: boolean;
|
|
7800
|
+
direction?: Direction;
|
|
7483
7801
|
}, defaults?: {
|
|
7484
7802
|
size?: SizeType;
|
|
7485
7803
|
disabled?: boolean;
|
|
7486
7804
|
bordered?: boolean;
|
|
7805
|
+
direction?: Direction;
|
|
7487
7806
|
}): {
|
|
7488
7807
|
resolvedSize: ComputedRef<SizeType>;
|
|
7489
7808
|
resolvedDisabled: ComputedRef<boolean>;
|
|
7809
|
+
resolvedDirection: ComputedRef<Direction>;
|
|
7490
7810
|
};
|
|
7491
7811
|
|
|
7492
7812
|
/**
|