@1337exp/taoui 5.49.2 → 5.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/README.md +7 -6
- package/README.ru.md +7 -6
- package/dist/index.d.ts +479 -143
- package/dist/index.js +3096 -2189
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/skills/taoui/SKILL.md +12 -7
- package/skills/taoui/references/components.md +1416 -1392
- package/skills/taoui/references/patterns.md +273 -241
- package/skills/taoui/references/starters.md +435 -0
- package/src/styles/base.css +4 -4
- package/src/styles/tokens/primitives.css +8 -5
- package/src/styles/tokens/semantic.css +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -415,14 +415,14 @@ size: TaoSize;
|
|
|
415
415
|
tone: TaoToneName;
|
|
416
416
|
variant: "primary" | "secondary" | "ghost" | "text";
|
|
417
417
|
modelValue: TaoModeChoice;
|
|
418
|
-
system: boolean;
|
|
419
418
|
apply: boolean;
|
|
419
|
+
system: boolean;
|
|
420
420
|
toLightLabel: string;
|
|
421
421
|
toDarkLabel: string;
|
|
422
422
|
toSystemLabel: string;
|
|
423
423
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
424
424
|
|
|
425
|
-
declare const __VLS_component_18: DefineComponent<ExtractPropTypes<
|
|
425
|
+
declare const __VLS_component_18: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<Props_6>, {
|
|
426
426
|
step: null;
|
|
427
427
|
index: number;
|
|
428
428
|
count: number;
|
|
@@ -440,7 +440,7 @@ progressLabel: undefined;
|
|
|
440
440
|
prev: () => void;
|
|
441
441
|
next: () => void;
|
|
442
442
|
skip: () => void;
|
|
443
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
443
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_19<Props_6>, {
|
|
444
444
|
step: null;
|
|
445
445
|
index: number;
|
|
446
446
|
count: number;
|
|
@@ -474,9 +474,9 @@ doneLabel: string;
|
|
|
474
474
|
progressLabel: string;
|
|
475
475
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
476
476
|
|
|
477
|
-
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<
|
|
477
|
+
declare const __VLS_component_19: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<Props_7>, {
|
|
478
478
|
free: boolean;
|
|
479
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
479
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_20<Props_7>, {
|
|
480
480
|
free: boolean;
|
|
481
481
|
}>>> & Readonly<{}>, {
|
|
482
482
|
free: boolean;
|
|
@@ -508,14 +508,14 @@ stripe: TaoStripe;
|
|
|
508
508
|
stripeTone: TaoStripeTone;
|
|
509
509
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
510
510
|
|
|
511
|
-
declare const __VLS_component_20: DefineComponent<ExtractPropTypes<
|
|
511
|
+
declare const __VLS_component_20: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_21<Props_8>, {
|
|
512
512
|
tag: string;
|
|
513
513
|
justify: string;
|
|
514
514
|
align: string;
|
|
515
515
|
direction: string;
|
|
516
516
|
wrap: string;
|
|
517
517
|
gap: string;
|
|
518
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
518
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_21<Props_8>, {
|
|
519
519
|
tag: string;
|
|
520
520
|
justify: string;
|
|
521
521
|
align: string;
|
|
@@ -531,11 +531,11 @@ justify: TaoJustify;
|
|
|
531
531
|
direction: "row" | "row-reverse" | "column" | "column-reverse";
|
|
532
532
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
533
533
|
|
|
534
|
-
declare const __VLS_component_21: DefineComponent<ExtractPropTypes<
|
|
534
|
+
declare const __VLS_component_21: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_22<Props_9>, {
|
|
535
535
|
block: boolean;
|
|
536
536
|
expand: boolean;
|
|
537
537
|
direction: string;
|
|
538
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
538
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_22<Props_9>, {
|
|
539
539
|
block: boolean;
|
|
540
540
|
expand: boolean;
|
|
541
541
|
direction: string;
|
|
@@ -545,7 +545,7 @@ direction: "row" | "column";
|
|
|
545
545
|
expand: boolean;
|
|
546
546
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
547
547
|
|
|
548
|
-
declare const __VLS_component_22: DefineComponent<ExtractPropTypes<
|
|
548
|
+
declare const __VLS_component_22: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_23<{
|
|
549
549
|
/** The smallest tile width of a catalog (auto-fill). Ignored with `cols`. / Минимальная ширина плитки каталога. */
|
|
550
550
|
min?: TaoLength;
|
|
551
551
|
/**
|
|
@@ -568,7 +568,7 @@ min: string;
|
|
|
568
568
|
cols: number;
|
|
569
569
|
gap: string;
|
|
570
570
|
rowHeight: undefined;
|
|
571
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
571
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_23<{
|
|
572
572
|
/** The smallest tile width of a catalog (auto-fill). Ignored with `cols`. / Минимальная ширина плитки каталога. */
|
|
573
573
|
min?: TaoLength;
|
|
574
574
|
/**
|
|
@@ -598,7 +598,7 @@ cols: TaoResponsive<number>;
|
|
|
598
598
|
rowHeight: TaoLength;
|
|
599
599
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
600
600
|
|
|
601
|
-
declare const __VLS_component_23: DefineComponent<ExtractPropTypes<
|
|
601
|
+
declare const __VLS_component_23: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_24<{
|
|
602
602
|
/**
|
|
603
603
|
* Columns to take: a number or `'full'`, or one per width class, `{ compact: 'full', expanded: 4 }`.
|
|
604
604
|
* Сколько колонок: число или `'full'`, или по классам ширины.
|
|
@@ -618,7 +618,7 @@ order?: TaoResponsive<number>;
|
|
|
618
618
|
col: number;
|
|
619
619
|
row: number;
|
|
620
620
|
order: number;
|
|
621
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
621
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_24<{
|
|
622
622
|
/**
|
|
623
623
|
* Columns to take: a number or `'full'`, or one per width class, `{ compact: 'full', expanded: 4 }`.
|
|
624
624
|
* Сколько колонок: число или `'full'`, или по классам ширины.
|
|
@@ -644,7 +644,7 @@ row: TaoResponsive<number>;
|
|
|
644
644
|
order: TaoResponsive<number>;
|
|
645
645
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
646
646
|
|
|
647
|
-
declare const __VLS_component_24: DefineComponent<ExtractPropTypes<
|
|
647
|
+
declare const __VLS_component_24: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_25<{
|
|
648
648
|
modelValue?: number;
|
|
649
649
|
direction?: TaoSplitDirection;
|
|
650
650
|
unit?: TaoSplitUnit;
|
|
@@ -663,7 +663,7 @@ resizable: boolean;
|
|
|
663
663
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
664
664
|
change: (value: number) => void;
|
|
665
665
|
"update:modelValue": (value: number) => void;
|
|
666
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
666
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_25<{
|
|
667
667
|
modelValue?: number;
|
|
668
668
|
direction?: TaoSplitDirection;
|
|
669
669
|
unit?: TaoSplitUnit;
|
|
@@ -691,15 +691,15 @@ minEnd: number;
|
|
|
691
691
|
resizable: boolean;
|
|
692
692
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
693
693
|
|
|
694
|
-
declare const __VLS_component_25: DefineComponent<ExtractPropTypes<
|
|
694
|
+
declare const __VLS_component_25: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_26<Props_10>, {
|
|
695
695
|
margin: string;
|
|
696
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
696
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_26<Props_10>, {
|
|
697
697
|
margin: string;
|
|
698
698
|
}>>> & Readonly<{}>, {
|
|
699
699
|
margin: string;
|
|
700
700
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
701
701
|
|
|
702
|
-
declare const __VLS_component_26: DefineComponent<ExtractPropTypes<
|
|
702
|
+
declare const __VLS_component_26: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<Props_12>, {
|
|
703
703
|
src: string;
|
|
704
704
|
alt: string;
|
|
705
705
|
pixelated: boolean;
|
|
@@ -708,7 +708,7 @@ placeholderText: string;
|
|
|
708
708
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
709
709
|
error: (...args: any[]) => void;
|
|
710
710
|
load: (...args: any[]) => void;
|
|
711
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
711
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<Props_12>, {
|
|
712
712
|
src: string;
|
|
713
713
|
alt: string;
|
|
714
714
|
pixelated: boolean;
|
|
@@ -725,7 +725,7 @@ lazy: boolean;
|
|
|
725
725
|
placeholderText: string;
|
|
726
726
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
727
727
|
|
|
728
|
-
declare const __VLS_component_27: DefineComponent<ExtractPropTypes<
|
|
728
|
+
declare const __VLS_component_27: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_29<{
|
|
729
729
|
/** Checked state without v-model. / Состояние без v-model. */
|
|
730
730
|
checked?: boolean;
|
|
731
731
|
modelValue?: boolean;
|
|
@@ -746,7 +746,7 @@ indeterminate: boolean;
|
|
|
746
746
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
747
747
|
change: (value: boolean) => void;
|
|
748
748
|
"update:modelValue": (value: boolean) => void;
|
|
749
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
749
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_29<{
|
|
750
750
|
/** Checked state without v-model. / Состояние без v-model. */
|
|
751
751
|
checked?: boolean;
|
|
752
752
|
modelValue?: boolean;
|
|
@@ -776,14 +776,14 @@ checked: boolean;
|
|
|
776
776
|
indeterminate: boolean;
|
|
777
777
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
778
778
|
|
|
779
|
-
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<
|
|
779
|
+
declare const __VLS_component_28: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_30<Props_13>, {
|
|
780
780
|
tone: undefined;
|
|
781
781
|
clickable: boolean;
|
|
782
782
|
closable: boolean;
|
|
783
783
|
flat: boolean;
|
|
784
784
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
785
785
|
close: (event: MouseEvent) => void;
|
|
786
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
786
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_30<Props_13>, {
|
|
787
787
|
tone: undefined;
|
|
788
788
|
clickable: boolean;
|
|
789
789
|
closable: boolean;
|
|
@@ -797,7 +797,7 @@ tone: TaoTone;
|
|
|
797
797
|
clickable: boolean;
|
|
798
798
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
799
799
|
|
|
800
|
-
declare const __VLS_component_29: DefineComponent<ExtractPropTypes<
|
|
800
|
+
declare const __VLS_component_29: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<{
|
|
801
801
|
/** `solid` — обычная линия. `dashed` — пунктир. `colored` — акцент. `gap` — пустой отступ. */
|
|
802
802
|
variant?: "solid" | "dashed" | "colored" | "gap";
|
|
803
803
|
/** Height of `gap`. Spacing, not a control: does not inherit. / Высота `gap`. Отступ, не контрол: не наследуется. */
|
|
@@ -811,7 +811,7 @@ variant: string;
|
|
|
811
811
|
size: string;
|
|
812
812
|
text: string;
|
|
813
813
|
fade: boolean;
|
|
814
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
814
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_31<{
|
|
815
815
|
/** `solid` — обычная линия. `dashed` — пунктир. `colored` — акцент. `gap` — пустой отступ. */
|
|
816
816
|
variant?: "solid" | "dashed" | "colored" | "gap";
|
|
817
817
|
/** Height of `gap`. Spacing, not a control: does not inherit. / Высота `gap`. Отступ, не контрол: не наследуется. */
|
|
@@ -863,14 +863,14 @@ variant: "outline" | "filled" | "plain";
|
|
|
863
863
|
modelValue: string | number;
|
|
864
864
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
865
865
|
|
|
866
|
-
declare const __VLS_component_30: DefineComponent<ExtractPropTypes<
|
|
866
|
+
declare const __VLS_component_30: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
|
|
867
867
|
legend?: string;
|
|
868
868
|
/** Подпись на верхней рамке. */
|
|
869
869
|
align?: "start" | "center" | "end";
|
|
870
870
|
}>, {
|
|
871
871
|
legend: string;
|
|
872
872
|
align: string;
|
|
873
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
873
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_32<{
|
|
874
874
|
legend?: string;
|
|
875
875
|
/** Подпись на верхней рамке. */
|
|
876
876
|
align?: "start" | "center" | "end";
|
|
@@ -882,7 +882,7 @@ legend: string;
|
|
|
882
882
|
align: "start" | "center" | "end";
|
|
883
883
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
884
884
|
|
|
885
|
-
declare const __VLS_component_31: DefineComponent<ExtractPropTypes<
|
|
885
|
+
declare const __VLS_component_31: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_33<Props_14>, {
|
|
886
886
|
variant: string;
|
|
887
887
|
tone: undefined;
|
|
888
888
|
colors: undefined;
|
|
@@ -891,7 +891,7 @@ speed: number;
|
|
|
891
891
|
glow: number;
|
|
892
892
|
light: boolean;
|
|
893
893
|
radius: undefined;
|
|
894
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
894
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_33<Props_14>, {
|
|
895
895
|
variant: string;
|
|
896
896
|
tone: undefined;
|
|
897
897
|
colors: undefined;
|
|
@@ -911,7 +911,7 @@ light: boolean;
|
|
|
911
911
|
radius: TaoLength;
|
|
912
912
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
913
913
|
|
|
914
|
-
declare const __VLS_component_32: DefineComponent<ExtractPropTypes<
|
|
914
|
+
declare const __VLS_component_32: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_35<Props_15>, {
|
|
915
915
|
variant: string;
|
|
916
916
|
side: string;
|
|
917
917
|
offset: undefined;
|
|
@@ -923,7 +923,7 @@ bottom: number;
|
|
|
923
923
|
zIndex: number;
|
|
924
924
|
boundary: number;
|
|
925
925
|
outline: undefined;
|
|
926
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
926
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_35<Props_15>, {
|
|
927
927
|
variant: string;
|
|
928
928
|
side: string;
|
|
929
929
|
offset: undefined;
|
|
@@ -949,7 +949,7 @@ zIndex: number;
|
|
|
949
949
|
boundary: number;
|
|
950
950
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
951
951
|
|
|
952
|
-
declare const __VLS_component_33: DefineComponent<ExtractPropTypes<
|
|
952
|
+
declare const __VLS_component_33: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<{
|
|
953
953
|
minWidth?: number;
|
|
954
954
|
maxWidth?: number;
|
|
955
955
|
progress?: number;
|
|
@@ -964,7 +964,7 @@ progress: number;
|
|
|
964
964
|
height: number;
|
|
965
965
|
showPercentage: boolean;
|
|
966
966
|
animated: boolean;
|
|
967
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
967
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_36<{
|
|
968
968
|
minWidth?: number;
|
|
969
969
|
maxWidth?: number;
|
|
970
970
|
progress?: number;
|
|
@@ -988,31 +988,31 @@ showPercentage: boolean | "top" | "right";
|
|
|
988
988
|
animated: boolean;
|
|
989
989
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
990
990
|
|
|
991
|
-
declare const __VLS_component_34: DefineComponent<ExtractPropTypes<
|
|
991
|
+
declare const __VLS_component_34: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_37<TaoSliderBaseProps & {
|
|
992
992
|
modelValue: number;
|
|
993
993
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
994
994
|
change: (value: number) => void;
|
|
995
995
|
"update:modelValue": (value: number) => void;
|
|
996
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
996
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_37<TaoSliderBaseProps & {
|
|
997
997
|
modelValue: number;
|
|
998
998
|
}>>> & Readonly<{
|
|
999
999
|
onChange?: ((value: number) => any) | undefined;
|
|
1000
1000
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1001
1001
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1002
1002
|
|
|
1003
|
-
declare const __VLS_component_35: DefineComponent<ExtractPropTypes<
|
|
1003
|
+
declare const __VLS_component_35: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_38<TaoSliderBaseProps & {
|
|
1004
1004
|
modelValue: [number, number];
|
|
1005
1005
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1006
1006
|
change: (value: [number, number]) => void;
|
|
1007
1007
|
"update:modelValue": (value: [number, number]) => void;
|
|
1008
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1008
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_38<TaoSliderBaseProps & {
|
|
1009
1009
|
modelValue: [number, number];
|
|
1010
1010
|
}>>> & Readonly<{
|
|
1011
1011
|
onChange?: ((value: [number, number]) => any) | undefined;
|
|
1012
1012
|
"onUpdate:modelValue"?: ((value: [number, number]) => any) | undefined;
|
|
1013
1013
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1014
1014
|
|
|
1015
|
-
declare const __VLS_component_36: DefineComponent<ExtractPropTypes<
|
|
1015
|
+
declare const __VLS_component_36: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_39<Props_16>, {
|
|
1016
1016
|
modelValue: () => never[];
|
|
1017
1017
|
accept: string;
|
|
1018
1018
|
multiple: boolean;
|
|
@@ -1023,7 +1023,7 @@ change: (files: File[]) => void;
|
|
|
1023
1023
|
"update:modelValue": (files: File[]) => void;
|
|
1024
1024
|
reject: (files: File[]) => void;
|
|
1025
1025
|
"clear-request": () => void;
|
|
1026
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1026
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_39<Props_16>, {
|
|
1027
1027
|
modelValue: () => never[];
|
|
1028
1028
|
accept: string;
|
|
1029
1029
|
multiple: boolean;
|
|
@@ -1042,7 +1042,7 @@ multiple: boolean;
|
|
|
1042
1042
|
showClear: boolean;
|
|
1043
1043
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1044
1044
|
|
|
1045
|
-
declare const __VLS_component_37: DefineComponent<ExtractPropTypes<
|
|
1045
|
+
declare const __VLS_component_37: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_40<{
|
|
1046
1046
|
/** Entries: items, submenus, checkboxes, radios, separators (see TaoMenuItem). / Пункты: обычные, подменю, чекбоксы, радио, разделители. */
|
|
1047
1047
|
items?: TaoMenuItem[];
|
|
1048
1048
|
/** Where the list opens against the button; flips when there is no room. / Где открывается список; при нехватке места переворачивается. */
|
|
@@ -1071,6 +1071,16 @@ dots?: "vertical" | "horizontal";
|
|
|
1071
1071
|
* уходит из порядка Tab и по-прежнему открывается нажатием.
|
|
1072
1072
|
*/
|
|
1073
1073
|
tabbable?: boolean;
|
|
1074
|
+
/**
|
|
1075
|
+
* The button fills the width (and the height) of its place and draws nothing of its own: no padding, no
|
|
1076
|
+
* background, the corners of its parent. For a trigger that is a whole chip of your own in `#button` (the
|
|
1077
|
+
* project of an app under the main action of TaoNav, an account in a header): the chip is the button, the hover
|
|
1078
|
+
* and the focus ring go round it.
|
|
1079
|
+
* Кнопка занимает ширину (и высоту) своего места и не рисует ничего своего: без отступа, без фона, с углами
|
|
1080
|
+
* родителя. Для кнопки, которая целиком ваша «фишка» в `#button` (проект приложения под главным действием TaoNav,
|
|
1081
|
+
* аккаунт в шапке): фишка и есть кнопка, наведение и рамка фокуса обходят её.
|
|
1082
|
+
*/
|
|
1083
|
+
block?: boolean;
|
|
1074
1084
|
}>, {
|
|
1075
1085
|
items: () => never[];
|
|
1076
1086
|
placement: string;
|
|
@@ -1078,9 +1088,10 @@ closeOnScroll: boolean;
|
|
|
1078
1088
|
size: undefined;
|
|
1079
1089
|
dots: string;
|
|
1080
1090
|
tabbable: boolean;
|
|
1091
|
+
block: boolean;
|
|
1081
1092
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1082
1093
|
select: (id: string) => void;
|
|
1083
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1094
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_40<{
|
|
1084
1095
|
/** Entries: items, submenus, checkboxes, radios, separators (see TaoMenuItem). / Пункты: обычные, подменю, чекбоксы, радио, разделители. */
|
|
1085
1096
|
items?: TaoMenuItem[];
|
|
1086
1097
|
/** Where the list opens against the button; flips when there is no room. / Где открывается список; при нехватке места переворачивается. */
|
|
@@ -1109,6 +1120,16 @@ dots?: "vertical" | "horizontal";
|
|
|
1109
1120
|
* уходит из порядка Tab и по-прежнему открывается нажатием.
|
|
1110
1121
|
*/
|
|
1111
1122
|
tabbable?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* The button fills the width (and the height) of its place and draws nothing of its own: no padding, no
|
|
1125
|
+
* background, the corners of its parent. For a trigger that is a whole chip of your own in `#button` (the
|
|
1126
|
+
* project of an app under the main action of TaoNav, an account in a header): the chip is the button, the hover
|
|
1127
|
+
* and the focus ring go round it.
|
|
1128
|
+
* Кнопка занимает ширину (и высоту) своего места и не рисует ничего своего: без отступа, без фона, с углами
|
|
1129
|
+
* родителя. Для кнопки, которая целиком ваша «фишка» в `#button` (проект приложения под главным действием TaoNav,
|
|
1130
|
+
* аккаунт в шапке): фишка и есть кнопка, наведение и рамка фокуса обходят её.
|
|
1131
|
+
*/
|
|
1132
|
+
block?: boolean;
|
|
1112
1133
|
}>, {
|
|
1113
1134
|
items: () => never[];
|
|
1114
1135
|
placement: string;
|
|
@@ -1116,18 +1137,20 @@ closeOnScroll: boolean;
|
|
|
1116
1137
|
size: undefined;
|
|
1117
1138
|
dots: string;
|
|
1118
1139
|
tabbable: boolean;
|
|
1140
|
+
block: boolean;
|
|
1119
1141
|
}>>> & Readonly<{
|
|
1120
1142
|
onSelect?: ((id: string) => any) | undefined;
|
|
1121
1143
|
}>, {
|
|
1122
1144
|
size: TaoSize;
|
|
1123
1145
|
items: TaoMenuItem[];
|
|
1124
1146
|
dots: "vertical" | "horizontal";
|
|
1147
|
+
block: boolean;
|
|
1125
1148
|
placement: TaoPlacement;
|
|
1126
1149
|
closeOnScroll: boolean;
|
|
1127
1150
|
tabbable: boolean;
|
|
1128
1151
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1129
1152
|
|
|
1130
|
-
declare const __VLS_component_38: DefineComponent<ExtractPropTypes<
|
|
1153
|
+
declare const __VLS_component_38: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_41<{
|
|
1131
1154
|
items: TaoMenuItem[];
|
|
1132
1155
|
open: boolean;
|
|
1133
1156
|
/**
|
|
@@ -1149,8 +1172,12 @@ placement?: TaoPlacement;
|
|
|
1149
1172
|
/** Accessible name of the menu. / Имя меню для скринридера. */
|
|
1150
1173
|
label?: string;
|
|
1151
1174
|
/**
|
|
1152
|
-
* Close when the page
|
|
1153
|
-
*
|
|
1175
|
+
* Close when the page, or a scroll container that holds the anchor, scrolls: the place the menu is for moves away.
|
|
1176
|
+
* A scroll elsewhere (an autoplaying carousel, a live log) and inside the menu does not count. For a point the holder
|
|
1177
|
+
* is the element under it when the menu opens. A root menu only.
|
|
1178
|
+
* Закрывать при прокрутке страницы или контейнера, в котором лежит якорь: место, для которого меню, уезжает.
|
|
1179
|
+
* Прокрутка в другом месте (карусель с автопрокруткой, живой лог) и внутри меню не считается. Для точки держатель —
|
|
1180
|
+
* элемент под ней в момент открытия. Только корневое меню.
|
|
1154
1181
|
*/
|
|
1155
1182
|
closeOnScroll?: boolean;
|
|
1156
1183
|
}>, {
|
|
@@ -1162,7 +1189,7 @@ close: (reason: TaoMenuCloseReason) => void;
|
|
|
1162
1189
|
select: (id: string) => void;
|
|
1163
1190
|
enter: () => void;
|
|
1164
1191
|
edge: (direction: "prev" | "next") => void;
|
|
1165
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1192
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_41<{
|
|
1166
1193
|
items: TaoMenuItem[];
|
|
1167
1194
|
open: boolean;
|
|
1168
1195
|
/**
|
|
@@ -1184,8 +1211,12 @@ placement?: TaoPlacement;
|
|
|
1184
1211
|
/** Accessible name of the menu. / Имя меню для скринридера. */
|
|
1185
1212
|
label?: string;
|
|
1186
1213
|
/**
|
|
1187
|
-
* Close when the page
|
|
1188
|
-
*
|
|
1214
|
+
* Close when the page, or a scroll container that holds the anchor, scrolls: the place the menu is for moves away.
|
|
1215
|
+
* A scroll elsewhere (an autoplaying carousel, a live log) and inside the menu does not count. For a point the holder
|
|
1216
|
+
* is the element under it when the menu opens. A root menu only.
|
|
1217
|
+
* Закрывать при прокрутке страницы или контейнера, в котором лежит якорь: место, для которого меню, уезжает.
|
|
1218
|
+
* Прокрутка в другом месте (карусель с автопрокруткой, живой лог) и внутри меню не считается. Для точки держатель —
|
|
1219
|
+
* элемент под ней в момент открытия. Только корневое меню.
|
|
1189
1220
|
*/
|
|
1190
1221
|
closeOnScroll?: boolean;
|
|
1191
1222
|
}>, {
|
|
@@ -1203,7 +1234,7 @@ placement: TaoPlacement;
|
|
|
1203
1234
|
closeOnScroll: boolean;
|
|
1204
1235
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1205
1236
|
|
|
1206
|
-
declare const __VLS_component_39: DefineComponent<ExtractPropTypes<
|
|
1237
|
+
declare const __VLS_component_39: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_42<{
|
|
1207
1238
|
/** The top entries: `{ id, label, items }` for a menu, `{ id, label }` for a plain action. / Верхние пункты. */
|
|
1208
1239
|
items: TaoMenuItem[];
|
|
1209
1240
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
@@ -1221,7 +1252,7 @@ closeOnScroll: boolean;
|
|
|
1221
1252
|
bordered: undefined;
|
|
1222
1253
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1223
1254
|
select: (id: string) => void;
|
|
1224
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1255
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_42<{
|
|
1225
1256
|
/** The top entries: `{ id, label, items }` for a menu, `{ id, label }` for a plain action. / Верхние пункты. */
|
|
1226
1257
|
items: TaoMenuItem[];
|
|
1227
1258
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
@@ -1254,7 +1285,7 @@ size?: TaoSize;
|
|
|
1254
1285
|
size?: TaoSize;
|
|
1255
1286
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1256
1287
|
|
|
1257
|
-
declare const __VLS_component_40: DefineComponent<ExtractPropTypes<
|
|
1288
|
+
declare const __VLS_component_40: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_43<{
|
|
1258
1289
|
/** Accessible name: «Formatting», «Tools». / Доступное имя: «Форматирование», «Инструменты». */
|
|
1259
1290
|
label?: string;
|
|
1260
1291
|
/** The controls inside, as for any control. / Размер контролов внутри, как у любого контрола. */
|
|
@@ -1284,7 +1315,7 @@ overflow: boolean;
|
|
|
1284
1315
|
overflowLabel: undefined;
|
|
1285
1316
|
}>>, {
|
|
1286
1317
|
reveal: typeof reveal;
|
|
1287
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1318
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_43<{
|
|
1288
1319
|
/** Accessible name: «Formatting», «Tools». / Доступное имя: «Форматирование», «Инструменты». */
|
|
1289
1320
|
label?: string;
|
|
1290
1321
|
/** The controls inside, as for any control. / Размер контролов внутри, как у любого контрола. */
|
|
@@ -1322,7 +1353,7 @@ orientation: TaoToolbarOrientation;
|
|
|
1322
1353
|
overflowLabel: string;
|
|
1323
1354
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1324
1355
|
|
|
1325
|
-
declare const __VLS_component_41: DefineComponent<ExtractPropTypes<
|
|
1356
|
+
declare const __VLS_component_41: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_44<{
|
|
1326
1357
|
/** Accessible name of the group: «Text style», «Alignment». / Доступное имя группы. */
|
|
1327
1358
|
label?: string;
|
|
1328
1359
|
/** A sunken pill behind the group: its buttons read as one set. / Утопленная подложка: кнопки читаются как набор. */
|
|
@@ -1333,7 +1364,7 @@ pinned?: boolean;
|
|
|
1333
1364
|
label: undefined;
|
|
1334
1365
|
inset: boolean;
|
|
1335
1366
|
pinned: boolean;
|
|
1336
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1367
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_44<{
|
|
1337
1368
|
/** Accessible name of the group: «Text style», «Alignment». / Доступное имя группы. */
|
|
1338
1369
|
label?: string;
|
|
1339
1370
|
/** A sunken pill behind the group: its buttons read as one set. / Утопленная подложка: кнопки читаются как набор. */
|
|
@@ -1350,7 +1381,7 @@ inset: boolean;
|
|
|
1350
1381
|
pinned: boolean;
|
|
1351
1382
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1352
1383
|
|
|
1353
|
-
declare const __VLS_component_42: DefineComponent<ExtractPropTypes<
|
|
1384
|
+
declare const __VLS_component_42: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_47<{
|
|
1354
1385
|
/** The parts. Without them the ring shows `value` of `max`. / Части. Без них кольцо показывает value из max. */
|
|
1355
1386
|
segments?: TaoDonutSegment[];
|
|
1356
1387
|
value?: number;
|
|
@@ -1374,7 +1405,7 @@ label: undefined;
|
|
|
1374
1405
|
size: number;
|
|
1375
1406
|
thickness: number;
|
|
1376
1407
|
legend: boolean;
|
|
1377
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1408
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_47<{
|
|
1378
1409
|
/** The parts. Without them the ring shows `value` of `max`. / Части. Без них кольцо показывает value из max. */
|
|
1379
1410
|
segments?: TaoDonutSegment[];
|
|
1380
1411
|
value?: number;
|
|
@@ -1409,7 +1440,7 @@ segments: TaoDonutSegment[];
|
|
|
1409
1440
|
thickness: number;
|
|
1410
1441
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1411
1442
|
|
|
1412
|
-
declare const __VLS_component_43: DefineComponent<ExtractPropTypes<
|
|
1443
|
+
declare const __VLS_component_43: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_48<{
|
|
1413
1444
|
/** One array per row, one value per column; `null` is no data. / Массив на строку, значение на столбец; null — нет данных. */
|
|
1414
1445
|
values: readonly (readonly (number | null)[])[];
|
|
1415
1446
|
/** The row names: «Mon», «Tue». / Имена строк. */
|
|
@@ -1446,7 +1477,7 @@ colLabels: string;
|
|
|
1446
1477
|
cellHeight: undefined;
|
|
1447
1478
|
gap: number;
|
|
1448
1479
|
format: undefined;
|
|
1449
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1480
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_48<{
|
|
1450
1481
|
/** One array per row, one value per column; `null` is no data. / Массив на строку, значение на столбец; null — нет данных. */
|
|
1451
1482
|
values: readonly (readonly (number | null)[])[];
|
|
1452
1483
|
/** The row names: «Mon», «Tue». / Имена строк. */
|
|
@@ -1496,7 +1527,7 @@ colLabels: "top" | "bottom";
|
|
|
1496
1527
|
cellHeight: number;
|
|
1497
1528
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1498
1529
|
|
|
1499
|
-
declare const __VLS_component_44: DefineComponent<ExtractPropTypes<
|
|
1530
|
+
declare const __VLS_component_44: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_49<{
|
|
1500
1531
|
items: TaoNavItem[];
|
|
1501
1532
|
/** The id of the current section (`aria-current="page"`). / id текущего раздела. */
|
|
1502
1533
|
modelValue?: string;
|
|
@@ -1515,6 +1546,15 @@ moreLabel?: string;
|
|
|
1515
1546
|
*/
|
|
1516
1547
|
floating?: boolean;
|
|
1517
1548
|
/**
|
|
1549
|
+
* The shell of an app that fills its box (give the parent a height: `html, body, #app { height: 100% }`): TaoNav
|
|
1550
|
+
* takes all of it, the page scrolls inside its own panes instead of the document, and the footer stands at the
|
|
1551
|
+
* bottom of the side panel. Nothing scrolls as a document, so no page scrollbar comes and goes and nothing shifts.
|
|
1552
|
+
* Оболочка приложения на всю высоту своего блока (дайте родителю высоту: `html, body, #app { height: 100% }`):
|
|
1553
|
+
* TaoNav занимает её целиком, страница прокручивается внутри своих панелей, а не документом, подвал стоит внизу
|
|
1554
|
+
* боковой панели. Документ не прокручивается, поэтому полоса страницы не появляется и не исчезает, ничего не сдвигается.
|
|
1555
|
+
*/
|
|
1556
|
+
fill?: boolean;
|
|
1557
|
+
/**
|
|
1518
1558
|
* How the current section is marked: `pill` — a tint behind the item; `line` — the accent colour and a short line
|
|
1519
1559
|
* (under the item in the bar look, along its start edge in the rail and the side panel).
|
|
1520
1560
|
* Как отмечен текущий раздел: `pill` — подложка под пунктом; `line` — цвет акцента и короткая черта (под пунктом
|
|
@@ -1543,13 +1583,14 @@ maxBarItems: number;
|
|
|
1543
1583
|
ariaLabel: undefined;
|
|
1544
1584
|
moreLabel: undefined;
|
|
1545
1585
|
floating: boolean;
|
|
1586
|
+
fill: boolean;
|
|
1546
1587
|
indicator: string;
|
|
1547
1588
|
surface: string;
|
|
1548
1589
|
badgeTone: string;
|
|
1549
1590
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1550
1591
|
select: (id: string, event: Event) => void;
|
|
1551
1592
|
"update:modelValue": (id: string) => void;
|
|
1552
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1593
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_49<{
|
|
1553
1594
|
items: TaoNavItem[];
|
|
1554
1595
|
/** The id of the current section (`aria-current="page"`). / id текущего раздела. */
|
|
1555
1596
|
modelValue?: string;
|
|
@@ -1568,6 +1609,15 @@ moreLabel?: string;
|
|
|
1568
1609
|
*/
|
|
1569
1610
|
floating?: boolean;
|
|
1570
1611
|
/**
|
|
1612
|
+
* The shell of an app that fills its box (give the parent a height: `html, body, #app { height: 100% }`): TaoNav
|
|
1613
|
+
* takes all of it, the page scrolls inside its own panes instead of the document, and the footer stands at the
|
|
1614
|
+
* bottom of the side panel. Nothing scrolls as a document, so no page scrollbar comes and goes and nothing shifts.
|
|
1615
|
+
* Оболочка приложения на всю высоту своего блока (дайте родителю высоту: `html, body, #app { height: 100% }`):
|
|
1616
|
+
* TaoNav занимает её целиком, страница прокручивается внутри своих панелей, а не документом, подвал стоит внизу
|
|
1617
|
+
* боковой панели. Документ не прокручивается, поэтому полоса страницы не появляется и не исчезает, ничего не сдвигается.
|
|
1618
|
+
*/
|
|
1619
|
+
fill?: boolean;
|
|
1620
|
+
/**
|
|
1571
1621
|
* How the current section is marked: `pill` — a tint behind the item; `line` — the accent colour and a short line
|
|
1572
1622
|
* (under the item in the bar look, along its start edge in the rail and the side panel).
|
|
1573
1623
|
* Как отмечен текущий раздел: `pill` — подложка под пунктом; `line` — цвет акцента и короткая черта (под пунктом
|
|
@@ -1596,6 +1646,7 @@ maxBarItems: number;
|
|
|
1596
1646
|
ariaLabel: undefined;
|
|
1597
1647
|
moreLabel: undefined;
|
|
1598
1648
|
floating: boolean;
|
|
1649
|
+
fill: boolean;
|
|
1599
1650
|
indicator: string;
|
|
1600
1651
|
surface: string;
|
|
1601
1652
|
badgeTone: string;
|
|
@@ -1603,6 +1654,7 @@ badgeTone: string;
|
|
|
1603
1654
|
onSelect?: ((id: string, event: Event) => any) | undefined;
|
|
1604
1655
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
1605
1656
|
}>, {
|
|
1657
|
+
fill: boolean;
|
|
1606
1658
|
surface: TaoSurface;
|
|
1607
1659
|
ariaLabel: string;
|
|
1608
1660
|
modelValue: string;
|
|
@@ -1614,7 +1666,7 @@ floating: boolean;
|
|
|
1614
1666
|
badgeTone: "accent" | "neutral";
|
|
1615
1667
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1616
1668
|
|
|
1617
|
-
declare const __VLS_component_45: DefineComponent<ExtractPropTypes<
|
|
1669
|
+
declare const __VLS_component_45: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_50<{
|
|
1618
1670
|
nodes: TaoTreeNode[];
|
|
1619
1671
|
/** Ids of the expanded nodes (`v-model:expanded`); without it the tree keeps them itself. / id раскрытых узлов. */
|
|
1620
1672
|
expanded?: string[];
|
|
@@ -1629,9 +1681,43 @@ checked?: string[];
|
|
|
1629
1681
|
load?: (node: TaoTreeNode) => Promise<TaoTreeNode[]>;
|
|
1630
1682
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1631
1683
|
size?: TaoSize;
|
|
1684
|
+
/**
|
|
1685
|
+
* The context menu of a row (right click, the Menu key, Shift+F10): a list, or `(node, selected) => items`.
|
|
1686
|
+
* A right click outside the selection selects that row first; the pick comes as `menu-select`.
|
|
1687
|
+
* Контекстное меню строки (правый клик, клавиша Menu, Shift+F10): список или `(node, selected) => items`.
|
|
1688
|
+
* Правый клик вне выбора сначала выбирает строку; выбранный пункт приходит в `menu-select`.
|
|
1689
|
+
*/
|
|
1690
|
+
menu?: TaoTreeMenu;
|
|
1691
|
+
/**
|
|
1692
|
+
* `@move`: the rows can be dragged to another place, and cut / copied and pasted with Ctrl+X / Ctrl+C / Ctrl+V. The
|
|
1693
|
+
* tree changes nothing: make the move in your data (`moveTreeNodes`); return a promise and the rows wait for it,
|
|
1694
|
+
* a rejected one comes as `move-error`. A prop, not only an event, so the tree can wait for what it returns.
|
|
1695
|
+
* `@move`: строки можно перетащить в другое место, а также вырезать / скопировать и вставить (Ctrl+X / Ctrl+C /
|
|
1696
|
+
* Ctrl+V). Дерево ничего не меняет: перенос делаете вы в своих данных (`moveTreeNodes`); верните обещание, и
|
|
1697
|
+
* строки его подождут, отклонённое придёт в `move-error`. Проп, а не только событие: дерево ждёт его ответ.
|
|
1698
|
+
*/
|
|
1699
|
+
onMove?: (move: TaoTreeMove) => unknown;
|
|
1700
|
+
/**
|
|
1701
|
+
* The order of the rows: `none` the data's (a drag can put a row between others), `name` folders first and by
|
|
1702
|
+
* name, or your compare. With a sort a drag only changes the folder: onto a folder puts the rows in it, onto
|
|
1703
|
+
* any other row into that row's folder. The tree sorts what it shows; `nodes` stays as it is.
|
|
1704
|
+
* Порядок строк: `none` — как в данных (перенос ставит строку между другими), `name` — папки первыми и по имени,
|
|
1705
|
+
* или своё сравнение. С сортировкой перенос меняет только папку: на папку — в неё, на другую строку — в её
|
|
1706
|
+
* папку. Дерево сортирует то, что показывает; `nodes` не меняется.
|
|
1707
|
+
*/
|
|
1708
|
+
sort?: TaoTreeSort;
|
|
1709
|
+
/** Which rows can be moved (with `@move`); all but disabled ones by default. / Какие строки можно переносить. */
|
|
1710
|
+
movable?: boolean | ((node: TaoTreeNode) => boolean);
|
|
1711
|
+
/**
|
|
1712
|
+
* May the rows go there: false shows a «no» cursor and no mark (a file into a file is already refused).
|
|
1713
|
+
* Можно ли туда: false — курсор «нельзя» и нет метки (файл в файл и так не принимается).
|
|
1714
|
+
*/
|
|
1715
|
+
canDrop?: (move: TaoTreeMove) => boolean;
|
|
1632
1716
|
/** Accessible name of the tree. / Имя дерева для скринридера. */
|
|
1633
1717
|
ariaLabel?: string;
|
|
1634
1718
|
loadingLabel?: string;
|
|
1719
|
+
/** Accessible name of the context menu. / Имя контекстного меню для скринридера. */
|
|
1720
|
+
menuLabel?: string;
|
|
1635
1721
|
}>, {
|
|
1636
1722
|
expanded: undefined;
|
|
1637
1723
|
selection: string;
|
|
@@ -1640,15 +1726,25 @@ checkable: boolean;
|
|
|
1640
1726
|
checked: undefined;
|
|
1641
1727
|
load: undefined;
|
|
1642
1728
|
size: undefined;
|
|
1729
|
+
menu: undefined;
|
|
1730
|
+
onMove: undefined;
|
|
1731
|
+
sort: string;
|
|
1732
|
+
movable: boolean;
|
|
1733
|
+
canDrop: undefined;
|
|
1643
1734
|
ariaLabel: undefined;
|
|
1644
1735
|
loadingLabel: undefined;
|
|
1736
|
+
menuLabel: undefined;
|
|
1645
1737
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1738
|
+
menu: (node: TaoTreeNode, event: MouseEvent | KeyboardEvent) => void;
|
|
1646
1739
|
select: (node: TaoTreeNode) => void;
|
|
1740
|
+
open: (node: TaoTreeNode) => void;
|
|
1647
1741
|
"update:expanded": (ids: string[]) => void;
|
|
1648
1742
|
"update:selected": (value: string | string[] | null) => void;
|
|
1649
1743
|
"update:checked": (ids: string[]) => void;
|
|
1650
1744
|
"load-error": (node: TaoTreeNode, error: unknown) => void;
|
|
1651
|
-
|
|
1745
|
+
"menu-select": (id: string, node: TaoTreeNode, selected: string[]) => void;
|
|
1746
|
+
"move-error": (move: TaoTreeMove, error: unknown) => void;
|
|
1747
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_50<{
|
|
1652
1748
|
nodes: TaoTreeNode[];
|
|
1653
1749
|
/** Ids of the expanded nodes (`v-model:expanded`); without it the tree keeps them itself. / id раскрытых узлов. */
|
|
1654
1750
|
expanded?: string[];
|
|
@@ -1663,9 +1759,43 @@ checked?: string[];
|
|
|
1663
1759
|
load?: (node: TaoTreeNode) => Promise<TaoTreeNode[]>;
|
|
1664
1760
|
/** Without it the size of ancestors. / Без него — размер предков. */
|
|
1665
1761
|
size?: TaoSize;
|
|
1762
|
+
/**
|
|
1763
|
+
* The context menu of a row (right click, the Menu key, Shift+F10): a list, or `(node, selected) => items`.
|
|
1764
|
+
* A right click outside the selection selects that row first; the pick comes as `menu-select`.
|
|
1765
|
+
* Контекстное меню строки (правый клик, клавиша Menu, Shift+F10): список или `(node, selected) => items`.
|
|
1766
|
+
* Правый клик вне выбора сначала выбирает строку; выбранный пункт приходит в `menu-select`.
|
|
1767
|
+
*/
|
|
1768
|
+
menu?: TaoTreeMenu;
|
|
1769
|
+
/**
|
|
1770
|
+
* `@move`: the rows can be dragged to another place, and cut / copied and pasted with Ctrl+X / Ctrl+C / Ctrl+V. The
|
|
1771
|
+
* tree changes nothing: make the move in your data (`moveTreeNodes`); return a promise and the rows wait for it,
|
|
1772
|
+
* a rejected one comes as `move-error`. A prop, not only an event, so the tree can wait for what it returns.
|
|
1773
|
+
* `@move`: строки можно перетащить в другое место, а также вырезать / скопировать и вставить (Ctrl+X / Ctrl+C /
|
|
1774
|
+
* Ctrl+V). Дерево ничего не меняет: перенос делаете вы в своих данных (`moveTreeNodes`); верните обещание, и
|
|
1775
|
+
* строки его подождут, отклонённое придёт в `move-error`. Проп, а не только событие: дерево ждёт его ответ.
|
|
1776
|
+
*/
|
|
1777
|
+
onMove?: (move: TaoTreeMove) => unknown;
|
|
1778
|
+
/**
|
|
1779
|
+
* The order of the rows: `none` the data's (a drag can put a row between others), `name` folders first and by
|
|
1780
|
+
* name, or your compare. With a sort a drag only changes the folder: onto a folder puts the rows in it, onto
|
|
1781
|
+
* any other row into that row's folder. The tree sorts what it shows; `nodes` stays as it is.
|
|
1782
|
+
* Порядок строк: `none` — как в данных (перенос ставит строку между другими), `name` — папки первыми и по имени,
|
|
1783
|
+
* или своё сравнение. С сортировкой перенос меняет только папку: на папку — в неё, на другую строку — в её
|
|
1784
|
+
* папку. Дерево сортирует то, что показывает; `nodes` не меняется.
|
|
1785
|
+
*/
|
|
1786
|
+
sort?: TaoTreeSort;
|
|
1787
|
+
/** Which rows can be moved (with `@move`); all but disabled ones by default. / Какие строки можно переносить. */
|
|
1788
|
+
movable?: boolean | ((node: TaoTreeNode) => boolean);
|
|
1789
|
+
/**
|
|
1790
|
+
* May the rows go there: false shows a «no» cursor and no mark (a file into a file is already refused).
|
|
1791
|
+
* Можно ли туда: false — курсор «нельзя» и нет метки (файл в файл и так не принимается).
|
|
1792
|
+
*/
|
|
1793
|
+
canDrop?: (move: TaoTreeMove) => boolean;
|
|
1666
1794
|
/** Accessible name of the tree. / Имя дерева для скринридера. */
|
|
1667
1795
|
ariaLabel?: string;
|
|
1668
1796
|
loadingLabel?: string;
|
|
1797
|
+
/** Accessible name of the context menu. / Имя контекстного меню для скринридера. */
|
|
1798
|
+
menuLabel?: string;
|
|
1669
1799
|
}>, {
|
|
1670
1800
|
expanded: undefined;
|
|
1671
1801
|
selection: string;
|
|
@@ -1674,27 +1804,43 @@ checkable: boolean;
|
|
|
1674
1804
|
checked: undefined;
|
|
1675
1805
|
load: undefined;
|
|
1676
1806
|
size: undefined;
|
|
1807
|
+
menu: undefined;
|
|
1808
|
+
onMove: undefined;
|
|
1809
|
+
sort: string;
|
|
1810
|
+
movable: boolean;
|
|
1811
|
+
canDrop: undefined;
|
|
1677
1812
|
ariaLabel: undefined;
|
|
1678
1813
|
loadingLabel: undefined;
|
|
1814
|
+
menuLabel: undefined;
|
|
1679
1815
|
}>>> & Readonly<{
|
|
1816
|
+
onMenu?: ((node: TaoTreeNode, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
1680
1817
|
onSelect?: ((node: TaoTreeNode) => any) | undefined;
|
|
1818
|
+
onOpen?: ((node: TaoTreeNode) => any) | undefined;
|
|
1681
1819
|
"onUpdate:expanded"?: ((ids: string[]) => any) | undefined;
|
|
1682
1820
|
"onUpdate:selected"?: ((value: string | string[] | null) => any) | undefined;
|
|
1683
1821
|
"onUpdate:checked"?: ((ids: string[]) => any) | undefined;
|
|
1684
1822
|
"onLoad-error"?: ((node: TaoTreeNode, error: unknown) => any) | undefined;
|
|
1823
|
+
"onMenu-select"?: ((id: string, node: TaoTreeNode, selected: string[]) => any) | undefined;
|
|
1824
|
+
"onMove-error"?: ((move: TaoTreeMove, error: unknown) => any) | undefined;
|
|
1685
1825
|
}>, {
|
|
1826
|
+
sort: TaoTreeSort;
|
|
1686
1827
|
size: TaoSize;
|
|
1828
|
+
menu: TaoTreeMenu;
|
|
1687
1829
|
load: (node: TaoTreeNode) => Promise<TaoTreeNode[]>;
|
|
1688
1830
|
ariaLabel: string;
|
|
1689
1831
|
checked: string[];
|
|
1690
1832
|
selected: string | string[] | null;
|
|
1833
|
+
menuLabel: string;
|
|
1691
1834
|
expanded: string[];
|
|
1692
1835
|
selection: TaoTreeSelection;
|
|
1693
1836
|
checkable: boolean;
|
|
1837
|
+
onMove: (move: TaoTreeMove) => unknown;
|
|
1838
|
+
movable: boolean | ((node: TaoTreeNode) => boolean);
|
|
1839
|
+
canDrop: (move: TaoTreeMove) => boolean;
|
|
1694
1840
|
loadingLabel: string;
|
|
1695
1841
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1696
1842
|
|
|
1697
|
-
declare const __VLS_component_46: DefineComponent<ExtractPropTypes<
|
|
1843
|
+
declare const __VLS_component_46: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_51<{
|
|
1698
1844
|
items: TaoChecklistItem[];
|
|
1699
1845
|
modelValue?: (string | number)[];
|
|
1700
1846
|
legend?: string;
|
|
@@ -1726,7 +1872,7 @@ counterText: undefined;
|
|
|
1726
1872
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1727
1873
|
change: (values: (string | number)[]) => void;
|
|
1728
1874
|
"update:modelValue": (values: (string | number)[]) => void;
|
|
1729
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1875
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_51<{
|
|
1730
1876
|
items: TaoChecklistItem[];
|
|
1731
1877
|
modelValue?: (string | number)[];
|
|
1732
1878
|
legend?: string;
|
|
@@ -1771,7 +1917,7 @@ selectAllLabel: string;
|
|
|
1771
1917
|
counterText: string;
|
|
1772
1918
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1773
1919
|
|
|
1774
|
-
declare const __VLS_component_47: DefineComponent<ExtractPropTypes<
|
|
1920
|
+
declare const __VLS_component_47: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_52<{
|
|
1775
1921
|
items: TaoTimelineItem[];
|
|
1776
1922
|
/** The id of the current event. / id текущего события. */
|
|
1777
1923
|
active?: string;
|
|
@@ -1783,7 +1929,7 @@ size?: TaoSize;
|
|
|
1783
1929
|
active: undefined;
|
|
1784
1930
|
align: string;
|
|
1785
1931
|
size: undefined;
|
|
1786
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
1932
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_52<{
|
|
1787
1933
|
items: TaoTimelineItem[];
|
|
1788
1934
|
/** The id of the current event. / id текущего события. */
|
|
1789
1935
|
active?: string;
|
|
@@ -1801,7 +1947,7 @@ active: string;
|
|
|
1801
1947
|
align: TaoTimelineAlign;
|
|
1802
1948
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1803
1949
|
|
|
1804
|
-
declare const __VLS_component_48: DefineComponent<ExtractPropTypes<
|
|
1950
|
+
declare const __VLS_component_48: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_53<{
|
|
1805
1951
|
/** The line; or put anything inline into the default slot. / Строка; или что угодно строчное в слот. */
|
|
1806
1952
|
text?: string;
|
|
1807
1953
|
/** Pixels per second. / Пикселей в секунду. */
|
|
@@ -1868,7 +2014,7 @@ reverse: boolean;
|
|
|
1868
2014
|
}>>, {
|
|
1869
2015
|
/** Measures again (after the content changed in a way the marquee cannot see). / Перемерить. */
|
|
1870
2016
|
measure: typeof measure;
|
|
1871
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2017
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_53<{
|
|
1872
2018
|
/** The line; or put anything inline into the default slot. / Строка; или что угодно строчное в слот. */
|
|
1873
2019
|
text?: string;
|
|
1874
2020
|
/** Pixels per second. / Пикселей в секунду. */
|
|
@@ -1945,7 +2091,7 @@ pauseOnHover: boolean;
|
|
|
1945
2091
|
roundPause: boolean;
|
|
1946
2092
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1947
2093
|
|
|
1948
|
-
declare const __VLS_component_49: DefineComponent<ExtractPropTypes<
|
|
2094
|
+
declare const __VLS_component_49: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_54<{
|
|
1949
2095
|
items: TaoMenuItem[];
|
|
1950
2096
|
/** Leave the browser's own menu alone. / Не трогать меню браузера. */
|
|
1951
2097
|
disabled?: boolean;
|
|
@@ -1968,7 +2114,7 @@ open: (point: {
|
|
|
1968
2114
|
x: number;
|
|
1969
2115
|
y: number;
|
|
1970
2116
|
}) => void;
|
|
1971
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2117
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_54<{
|
|
1972
2118
|
items: TaoMenuItem[];
|
|
1973
2119
|
/** Leave the browser's own menu alone. / Не трогать меню браузера. */
|
|
1974
2120
|
disabled?: boolean;
|
|
@@ -2077,12 +2223,12 @@ modelValue: number | null;
|
|
|
2077
2223
|
controls: boolean;
|
|
2078
2224
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2079
2225
|
|
|
2080
|
-
declare const __VLS_component_50: DefineComponent<ExtractPropTypes<
|
|
2226
|
+
declare const __VLS_component_50: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_56<Props_17>, {
|
|
2081
2227
|
to: undefined;
|
|
2082
2228
|
newTab: boolean;
|
|
2083
2229
|
private: boolean;
|
|
2084
2230
|
exactPath: boolean;
|
|
2085
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2231
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_56<Props_17>, {
|
|
2086
2232
|
to: undefined;
|
|
2087
2233
|
newTab: boolean;
|
|
2088
2234
|
private: boolean;
|
|
@@ -2094,12 +2240,12 @@ private: boolean;
|
|
|
2094
2240
|
exactPath: boolean;
|
|
2095
2241
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2096
2242
|
|
|
2097
|
-
declare const __VLS_component_51: DefineComponent<ExtractPropTypes<
|
|
2243
|
+
declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_57<Props_18>, {
|
|
2098
2244
|
to: undefined;
|
|
2099
2245
|
newTab: boolean;
|
|
2100
2246
|
private: boolean;
|
|
2101
2247
|
exactPath: boolean;
|
|
2102
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2248
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_57<Props_18>, {
|
|
2103
2249
|
to: undefined;
|
|
2104
2250
|
newTab: boolean;
|
|
2105
2251
|
private: boolean;
|
|
@@ -2111,13 +2257,13 @@ private: boolean;
|
|
|
2111
2257
|
exactPath: boolean;
|
|
2112
2258
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2113
2259
|
|
|
2114
|
-
declare const __VLS_component_52: DefineComponent<ExtractPropTypes<
|
|
2260
|
+
declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_58<{
|
|
2115
2261
|
label?: string;
|
|
2116
2262
|
hint?: string;
|
|
2117
2263
|
error?: string;
|
|
2118
2264
|
/** Size of the control inside. / Размер контрола внутри. */
|
|
2119
2265
|
size?: TaoSize;
|
|
2120
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2266
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_58<{
|
|
2121
2267
|
label?: string;
|
|
2122
2268
|
hint?: string;
|
|
2123
2269
|
error?: string;
|
|
@@ -2125,7 +2271,7 @@ error?: string;
|
|
|
2125
2271
|
size?: TaoSize;
|
|
2126
2272
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2127
2273
|
|
|
2128
|
-
declare const __VLS_component_53: DefineComponent<ExtractPropTypes<
|
|
2274
|
+
declare const __VLS_component_53: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
|
|
2129
2275
|
modelValue?: string | number | null;
|
|
2130
2276
|
options?: TaoSelectOption[];
|
|
2131
2277
|
placeholder?: string;
|
|
@@ -2151,7 +2297,7 @@ clearable: boolean;
|
|
|
2151
2297
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2152
2298
|
change: (value: string | number | null) => void;
|
|
2153
2299
|
"update:modelValue": (value: string | number | null) => void;
|
|
2154
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2300
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_59<{
|
|
2155
2301
|
modelValue?: string | number | null;
|
|
2156
2302
|
options?: TaoSelectOption[];
|
|
2157
2303
|
placeholder?: string;
|
|
@@ -2185,7 +2331,7 @@ clearable: boolean;
|
|
|
2185
2331
|
options: TaoSelectOption[];
|
|
2186
2332
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2187
2333
|
|
|
2188
|
-
declare const __VLS_component_54: DefineComponent<ExtractPropTypes<
|
|
2334
|
+
declare const __VLS_component_54: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
|
|
2189
2335
|
modelValue?: string | number | null;
|
|
2190
2336
|
options?: TaoSelectOption[];
|
|
2191
2337
|
placeholder?: string;
|
|
@@ -2219,7 +2365,7 @@ variant: string;
|
|
|
2219
2365
|
change: (value: string | number | null) => void;
|
|
2220
2366
|
"update:modelValue": (value: string | number | null) => void;
|
|
2221
2367
|
create: (value: string) => void;
|
|
2222
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2368
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_62<{
|
|
2223
2369
|
modelValue?: string | number | null;
|
|
2224
2370
|
options?: TaoSelectOption[];
|
|
2225
2371
|
placeholder?: string;
|
|
@@ -2263,7 +2409,7 @@ options: TaoSelectOption[];
|
|
|
2263
2409
|
allowCreate: boolean;
|
|
2264
2410
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2265
2411
|
|
|
2266
|
-
declare const __VLS_component_55: DefineComponent<ExtractPropTypes<
|
|
2412
|
+
declare const __VLS_component_55: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<Props_19>, {
|
|
2267
2413
|
limit: number;
|
|
2268
2414
|
}>>, {
|
|
2269
2415
|
/** Puts the focus in the field. / Ставит фокус в поле. */
|
|
@@ -2273,7 +2419,7 @@ reset: () => void;
|
|
|
2273
2419
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2274
2420
|
select: (item: TaoCommandItem) => void;
|
|
2275
2421
|
escape: () => void;
|
|
2276
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2422
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_64<Props_19>, {
|
|
2277
2423
|
limit: number;
|
|
2278
2424
|
}>>> & Readonly<{
|
|
2279
2425
|
onSelect?: ((item: TaoCommandItem) => any) | undefined;
|
|
@@ -2282,7 +2428,7 @@ onEscape?: (() => any) | undefined;
|
|
|
2282
2428
|
limit: number;
|
|
2283
2429
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2284
2430
|
|
|
2285
|
-
declare const __VLS_component_56: DefineComponent<ExtractPropTypes<
|
|
2431
|
+
declare const __VLS_component_56: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<Props_20>, {
|
|
2286
2432
|
limit: number;
|
|
2287
2433
|
surface: string;
|
|
2288
2434
|
modal: boolean;
|
|
@@ -2291,7 +2437,7 @@ fullscreen: string;
|
|
|
2291
2437
|
close: () => void;
|
|
2292
2438
|
select: (item: TaoCommandItem) => void;
|
|
2293
2439
|
"update:modelValue": (open: boolean) => void;
|
|
2294
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2440
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_65<Props_20>, {
|
|
2295
2441
|
limit: number;
|
|
2296
2442
|
surface: string;
|
|
2297
2443
|
modal: boolean;
|
|
@@ -2307,7 +2453,7 @@ limit: number;
|
|
|
2307
2453
|
fullscreen: boolean | "narrow";
|
|
2308
2454
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2309
2455
|
|
|
2310
|
-
declare const __VLS_component_57: DefineComponent<ExtractPropTypes<
|
|
2456
|
+
declare const __VLS_component_57: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_66<{
|
|
2311
2457
|
/** The value of the active tab (`v-model`); it may be none of them (no document open). / Значение активной вкладки. */
|
|
2312
2458
|
modelValue: string;
|
|
2313
2459
|
items: readonly TaoDocTab[];
|
|
@@ -2328,7 +2474,7 @@ change: (value: string) => void;
|
|
|
2328
2474
|
"update:modelValue": (value: string) => void;
|
|
2329
2475
|
pin: (value: string) => void;
|
|
2330
2476
|
reorder: (from: number, to: number) => void;
|
|
2331
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2477
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_66<{
|
|
2332
2478
|
/** The value of the active tab (`v-model`); it may be none of them (no document open). / Значение активной вкладки. */
|
|
2333
2479
|
modelValue: string;
|
|
2334
2480
|
items: readonly TaoDocTab[];
|
|
@@ -2351,7 +2497,7 @@ onPin?: ((value: string) => any) | undefined;
|
|
|
2351
2497
|
onReorder?: ((from: number, to: number) => any) | undefined;
|
|
2352
2498
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2353
2499
|
|
|
2354
|
-
declare const __VLS_component_58: DefineComponent<ExtractPropTypes<
|
|
2500
|
+
declare const __VLS_component_58: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_67<{
|
|
2355
2501
|
/** `single`: `v-model` is `YYYY-MM-DD`; `range`: `{ start, end }`. / `single` — строка `YYYY-MM-DD`; `range` — `{ start, end }`. */
|
|
2356
2502
|
mode?: "single" | "range";
|
|
2357
2503
|
modelValue?: string | TaoDateRangeValue | null;
|
|
@@ -2373,7 +2519,7 @@ focus: () => Promise<void>;
|
|
|
2373
2519
|
view: () => void;
|
|
2374
2520
|
change: (value: string | TaoDateRangeValue | null) => void;
|
|
2375
2521
|
"update:modelValue": (value: string | TaoDateRangeValue | null) => void;
|
|
2376
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2522
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_67<{
|
|
2377
2523
|
/** `single`: `v-model` is `YYYY-MM-DD`; `range`: `{ start, end }`. / `single` — строка `YYYY-MM-DD`; `range` — `{ start, end }`. */
|
|
2378
2524
|
mode?: "single" | "range";
|
|
2379
2525
|
modelValue?: string | TaoDateRangeValue | null;
|
|
@@ -2400,7 +2546,7 @@ modelValue: string | TaoDateRangeValue | null;
|
|
|
2400
2546
|
min: string;
|
|
2401
2547
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2402
2548
|
|
|
2403
|
-
declare const __VLS_component_59: DefineComponent<ExtractPropTypes<
|
|
2549
|
+
declare const __VLS_component_59: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_68<{
|
|
2404
2550
|
modelValue?: string | null;
|
|
2405
2551
|
placeholder?: string;
|
|
2406
2552
|
disabled?: boolean;
|
|
@@ -2443,7 +2589,7 @@ format: undefined;
|
|
|
2443
2589
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2444
2590
|
change: (value: string | null) => void;
|
|
2445
2591
|
"update:modelValue": (value: string | null) => void;
|
|
2446
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2592
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_68<{
|
|
2447
2593
|
modelValue?: string | null;
|
|
2448
2594
|
placeholder?: string;
|
|
2449
2595
|
disabled?: boolean;
|
|
@@ -2569,7 +2715,7 @@ allowRemove: boolean;
|
|
|
2569
2715
|
forceMaxLimit: boolean;
|
|
2570
2716
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2571
2717
|
|
|
2572
|
-
declare const __VLS_component_60: DefineComponent<ExtractPropTypes<
|
|
2718
|
+
declare const __VLS_component_60: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_69<{
|
|
2573
2719
|
modelValue?: TaoDateRangeValue | null;
|
|
2574
2720
|
placeholder?: string;
|
|
2575
2721
|
disabled?: boolean;
|
|
@@ -2592,7 +2738,7 @@ max: undefined;
|
|
|
2592
2738
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2593
2739
|
change: (value: TaoDateRangeValue | null) => void;
|
|
2594
2740
|
"update:modelValue": (value: TaoDateRangeValue | null) => void;
|
|
2595
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2741
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_69<{
|
|
2596
2742
|
modelValue?: TaoDateRangeValue | null;
|
|
2597
2743
|
placeholder?: string;
|
|
2598
2744
|
disabled?: boolean;
|
|
@@ -2623,7 +2769,7 @@ modelValue: TaoDateRangeValue | null;
|
|
|
2623
2769
|
min: string;
|
|
2624
2770
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2625
2771
|
|
|
2626
|
-
declare const __VLS_component_61: DefineComponent<ExtractPropTypes<
|
|
2772
|
+
declare const __VLS_component_61: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_70<{
|
|
2627
2773
|
modelValue?: boolean;
|
|
2628
2774
|
label?: string;
|
|
2629
2775
|
disabled?: boolean;
|
|
@@ -2647,7 +2793,7 @@ loading: boolean;
|
|
|
2647
2793
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2648
2794
|
change: (value: boolean) => void;
|
|
2649
2795
|
"update:modelValue": (value: boolean) => void;
|
|
2650
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2796
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_70<{
|
|
2651
2797
|
modelValue?: boolean;
|
|
2652
2798
|
label?: string;
|
|
2653
2799
|
disabled?: boolean;
|
|
@@ -2679,7 +2825,7 @@ error: boolean;
|
|
|
2679
2825
|
modelValue: boolean;
|
|
2680
2826
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2681
2827
|
|
|
2682
|
-
declare const __VLS_component_62: DefineComponent<ExtractPropTypes<
|
|
2828
|
+
declare const __VLS_component_62: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_71<{
|
|
2683
2829
|
value: TaoRadioValue;
|
|
2684
2830
|
modelValue?: TaoRadioValue;
|
|
2685
2831
|
name?: string;
|
|
@@ -2696,7 +2842,7 @@ error: boolean;
|
|
|
2696
2842
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2697
2843
|
change: (value: TaoRadioValue) => void;
|
|
2698
2844
|
"update:modelValue": (value: TaoRadioValue) => void;
|
|
2699
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2845
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_71<{
|
|
2700
2846
|
value: TaoRadioValue;
|
|
2701
2847
|
modelValue?: TaoRadioValue;
|
|
2702
2848
|
name?: string;
|
|
@@ -2719,7 +2865,7 @@ disabled: boolean;
|
|
|
2719
2865
|
error: boolean;
|
|
2720
2866
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2721
2867
|
|
|
2722
|
-
declare const __VLS_component_63: DefineComponent<ExtractPropTypes<
|
|
2868
|
+
declare const __VLS_component_63: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_72<{
|
|
2723
2869
|
modelValue?: TaoRadioValue;
|
|
2724
2870
|
name?: string;
|
|
2725
2871
|
legend?: string;
|
|
@@ -2736,7 +2882,7 @@ direction: string;
|
|
|
2736
2882
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2737
2883
|
change: (value: TaoRadioValue) => void;
|
|
2738
2884
|
"update:modelValue": (value: TaoRadioValue) => void;
|
|
2739
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2885
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_72<{
|
|
2740
2886
|
modelValue?: TaoRadioValue;
|
|
2741
2887
|
name?: string;
|
|
2742
2888
|
legend?: string;
|
|
@@ -2759,7 +2905,7 @@ error: boolean;
|
|
|
2759
2905
|
direction: "row" | "column";
|
|
2760
2906
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2761
2907
|
|
|
2762
|
-
declare const __VLS_component_64: DefineComponent<ExtractPropTypes<
|
|
2908
|
+
declare const __VLS_component_64: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_73<{
|
|
2763
2909
|
modelValue?: TaoRadioValue;
|
|
2764
2910
|
name?: string;
|
|
2765
2911
|
legend?: string;
|
|
@@ -2778,7 +2924,7 @@ block: boolean;
|
|
|
2778
2924
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2779
2925
|
change: (value: TaoRadioValue) => void;
|
|
2780
2926
|
"update:modelValue": (value: TaoRadioValue) => void;
|
|
2781
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2927
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_73<{
|
|
2782
2928
|
modelValue?: TaoRadioValue;
|
|
2783
2929
|
name?: string;
|
|
2784
2930
|
legend?: string;
|
|
@@ -2803,7 +2949,7 @@ error: boolean;
|
|
|
2803
2949
|
block: boolean;
|
|
2804
2950
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2805
2951
|
|
|
2806
|
-
declare const __VLS_component_65: DefineComponent<ExtractPropTypes<
|
|
2952
|
+
declare const __VLS_component_65: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_74<{
|
|
2807
2953
|
value: TaoRadioValue;
|
|
2808
2954
|
modelValue?: TaoRadioValue;
|
|
2809
2955
|
name?: string;
|
|
@@ -2819,7 +2965,7 @@ disabled: boolean;
|
|
|
2819
2965
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2820
2966
|
change: (value: TaoRadioValue) => void;
|
|
2821
2967
|
"update:modelValue": (value: TaoRadioValue) => void;
|
|
2822
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
2968
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_74<{
|
|
2823
2969
|
value: TaoRadioValue;
|
|
2824
2970
|
modelValue?: TaoRadioValue;
|
|
2825
2971
|
name?: string;
|
|
@@ -2841,7 +2987,7 @@ icon: string;
|
|
|
2841
2987
|
disabled: boolean;
|
|
2842
2988
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2843
2989
|
|
|
2844
|
-
declare const __VLS_component_66: DefineComponent<ExtractPropTypes<
|
|
2990
|
+
declare const __VLS_component_66: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_75<{
|
|
2845
2991
|
/** Status color. / Цвет статуса. */
|
|
2846
2992
|
tone?: TaoTone;
|
|
2847
2993
|
title?: string;
|
|
@@ -2872,7 +3018,7 @@ bordered: undefined;
|
|
|
2872
3018
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2873
3019
|
close: () => void;
|
|
2874
3020
|
"update:collapsed": (value: boolean) => void;
|
|
2875
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3021
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_75<{
|
|
2876
3022
|
/** Status color. / Цвет статуса. */
|
|
2877
3023
|
tone?: TaoTone;
|
|
2878
3024
|
title?: string;
|
|
@@ -2913,7 +3059,7 @@ collapsed: boolean;
|
|
|
2913
3059
|
bordered: boolean;
|
|
2914
3060
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2915
3061
|
|
|
2916
|
-
declare const __VLS_component_67: DefineComponent<ExtractPropTypes<
|
|
3062
|
+
declare const __VLS_component_67: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_76<{
|
|
2917
3063
|
columns: TaoTableColumn[];
|
|
2918
3064
|
rows?: Record<string, unknown>[];
|
|
2919
3065
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -2954,7 +3100,7 @@ bordered: undefined;
|
|
|
2954
3100
|
change: (value: TaoTableSort | null) => void;
|
|
2955
3101
|
"update:sort": (value: TaoTableSort | null) => void;
|
|
2956
3102
|
"row-click": (row: Record<string, unknown>, index: number) => void;
|
|
2957
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3103
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_76<{
|
|
2958
3104
|
columns: TaoTableColumn[];
|
|
2959
3105
|
rows?: Record<string, unknown>[];
|
|
2960
3106
|
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
@@ -3011,7 +3157,7 @@ rowKey: string | ((row: Record<string, unknown>, index: number) => string | numb
|
|
|
3011
3157
|
striped: boolean | "odd" | "even";
|
|
3012
3158
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3013
3159
|
|
|
3014
|
-
declare const __VLS_component_68: DefineComponent<ExtractPropTypes<
|
|
3160
|
+
declare const __VLS_component_68: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_77<{
|
|
3015
3161
|
page?: number;
|
|
3016
3162
|
total?: number;
|
|
3017
3163
|
pageSize?: number;
|
|
@@ -3060,7 +3206,7 @@ pageInput: boolean;
|
|
|
3060
3206
|
change: (value: number) => void;
|
|
3061
3207
|
"update:page": (value: number) => void;
|
|
3062
3208
|
"update:pageSize": (value: number) => void;
|
|
3063
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3209
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_77<{
|
|
3064
3210
|
page?: number;
|
|
3065
3211
|
total?: number;
|
|
3066
3212
|
pageSize?: number;
|
|
@@ -3120,9 +3266,9 @@ jump: number;
|
|
|
3120
3266
|
pageInput: boolean | number;
|
|
3121
3267
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3122
3268
|
|
|
3123
|
-
declare const __VLS_component_69: DefineComponent<ExtractPropTypes<
|
|
3269
|
+
declare const __VLS_component_69: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_78<{
|
|
3124
3270
|
title?: string;
|
|
3125
|
-
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3271
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_78<{
|
|
3126
3272
|
title?: string;
|
|
3127
3273
|
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3128
3274
|
|
|
@@ -3171,7 +3317,7 @@ overflow: boolean;
|
|
|
3171
3317
|
flush: boolean;
|
|
3172
3318
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3173
3319
|
|
|
3174
|
-
declare const __VLS_component_70: DefineComponent<ExtractPropTypes<
|
|
3320
|
+
declare const __VLS_component_70: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_79<{
|
|
3175
3321
|
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
3176
3322
|
size?: TaoSize;
|
|
3177
3323
|
/** Рамка, как у списка файлов. */
|
|
@@ -3198,7 +3344,7 @@ divided: boolean;
|
|
|
3198
3344
|
empty: boolean;
|
|
3199
3345
|
ariaLabel: string;
|
|
3200
3346
|
roving: boolean;
|
|
3201
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3347
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_79<{
|
|
3202
3348
|
/** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
|
|
3203
3349
|
size?: TaoSize;
|
|
3204
3350
|
/** Рамка, как у списка файлов. */
|
|
@@ -3233,7 +3379,7 @@ divided: boolean;
|
|
|
3233
3379
|
roving: boolean;
|
|
3234
3380
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3235
3381
|
|
|
3236
|
-
declare const __VLS_component_71: DefineComponent<ExtractPropTypes<
|
|
3382
|
+
declare const __VLS_component_71: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_80<{
|
|
3237
3383
|
title?: string;
|
|
3238
3384
|
description?: string;
|
|
3239
3385
|
selected?: boolean;
|
|
@@ -3256,7 +3402,7 @@ clickable: boolean;
|
|
|
3256
3402
|
actionAlways: boolean;
|
|
3257
3403
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3258
3404
|
click: (event: MouseEvent) => void;
|
|
3259
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3405
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_80<{
|
|
3260
3406
|
title?: string;
|
|
3261
3407
|
description?: string;
|
|
3262
3408
|
selected?: boolean;
|
|
@@ -3289,7 +3435,7 @@ clickable: boolean;
|
|
|
3289
3435
|
actionAlways: boolean;
|
|
3290
3436
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3291
3437
|
|
|
3292
|
-
declare const __VLS_component_72: DefineComponent<ExtractPropTypes<
|
|
3438
|
+
declare const __VLS_component_72: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_82<{
|
|
3293
3439
|
modelValue: boolean;
|
|
3294
3440
|
title?: string;
|
|
3295
3441
|
/**
|
|
@@ -3342,7 +3488,7 @@ swipeThreshold: number;
|
|
|
3342
3488
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3343
3489
|
close: (...args: any[]) => void;
|
|
3344
3490
|
"update:modelValue": (...args: any[]) => void;
|
|
3345
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3491
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_82<{
|
|
3346
3492
|
modelValue: boolean;
|
|
3347
3493
|
title?: string;
|
|
3348
3494
|
/**
|
|
@@ -3405,7 +3551,7 @@ swipeToClose: boolean;
|
|
|
3405
3551
|
swipeThreshold: number;
|
|
3406
3552
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3407
3553
|
|
|
3408
|
-
declare const __VLS_component_73: DefineComponent<ExtractPropTypes<
|
|
3554
|
+
declare const __VLS_component_73: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_80<__VLS_TypePropsToRuntimeProps_86<{
|
|
3409
3555
|
modelValue?: number;
|
|
3410
3556
|
peek?: number;
|
|
3411
3557
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. With `centered`: how many whole slides around the middle one. */
|
|
@@ -3460,7 +3606,7 @@ pausable: boolean;
|
|
|
3460
3606
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3461
3607
|
change: (value: number) => void;
|
|
3462
3608
|
"update:modelValue": (value: number) => void;
|
|
3463
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3609
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_80<__VLS_TypePropsToRuntimeProps_86<{
|
|
3464
3610
|
modelValue?: number;
|
|
3465
3611
|
peek?: number;
|
|
3466
3612
|
/** How many slides fit in the viewport. 5 = product strip. 1 = one card. With `centered`: how many whole slides around the middle one. */
|
|
@@ -3527,7 +3673,7 @@ indicator: "dots" | "bars" | "progress";
|
|
|
3527
3673
|
pausable: boolean;
|
|
3528
3674
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3529
3675
|
|
|
3530
|
-
declare const __VLS_component_74: DefineComponent<ExtractPropTypes<
|
|
3676
|
+
declare const __VLS_component_74: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_81<__VLS_TypePropsToRuntimeProps_87<{
|
|
3531
3677
|
items?: TaoStageItem[];
|
|
3532
3678
|
/** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
|
|
3533
3679
|
direction?: "row" | "column";
|
|
@@ -3537,7 +3683,7 @@ statusLabels?: Partial<Record<TaoStageStatus, string>>;
|
|
|
3537
3683
|
items: () => never[];
|
|
3538
3684
|
direction: string;
|
|
3539
3685
|
statusLabels: () => {};
|
|
3540
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
3686
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_81<__VLS_TypePropsToRuntimeProps_87<{
|
|
3541
3687
|
items?: TaoStageItem[];
|
|
3542
3688
|
/** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
|
|
3543
3689
|
direction?: "row" | "column";
|
|
@@ -3779,6 +3925,8 @@ declare type __VLS_NonUndefinedable_85<T> = T extends undefined ? never : T;
|
|
|
3779
3925
|
|
|
3780
3926
|
declare type __VLS_NonUndefinedable_86<T> = T extends undefined ? never : T;
|
|
3781
3927
|
|
|
3928
|
+
declare type __VLS_NonUndefinedable_87<T> = T extends undefined ? never : T;
|
|
3929
|
+
|
|
3782
3930
|
declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
|
|
3783
3931
|
|
|
3784
3932
|
declare type __VLS_Prettify<T> = {
|
|
@@ -4097,6 +4245,10 @@ declare type __VLS_Prettify_80<T> = {
|
|
|
4097
4245
|
[K in keyof T]: T[K];
|
|
4098
4246
|
} & {};
|
|
4099
4247
|
|
|
4248
|
+
declare type __VLS_Prettify_81<T> = {
|
|
4249
|
+
[K in keyof T]: T[K];
|
|
4250
|
+
} & {};
|
|
4251
|
+
|
|
4100
4252
|
declare type __VLS_Prettify_9<T> = {
|
|
4101
4253
|
[K in keyof T]: T[K];
|
|
4102
4254
|
} & {};
|
|
@@ -5612,6 +5764,15 @@ declare type __VLS_TypePropsToRuntimeProps_86<T> = {
|
|
|
5612
5764
|
};
|
|
5613
5765
|
};
|
|
5614
5766
|
|
|
5767
|
+
declare type __VLS_TypePropsToRuntimeProps_87<T> = {
|
|
5768
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
5769
|
+
type: PropType<__VLS_NonUndefinedable_87<T[K]>>;
|
|
5770
|
+
} : {
|
|
5771
|
+
type: PropType<T[K]>;
|
|
5772
|
+
required: true;
|
|
5773
|
+
};
|
|
5774
|
+
};
|
|
5775
|
+
|
|
5615
5776
|
declare type __VLS_TypePropsToRuntimeProps_9<T> = {
|
|
5616
5777
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
5617
5778
|
type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
|
|
@@ -6095,6 +6256,12 @@ declare type __VLS_WithDefaults_80<P, D> = {
|
|
|
6095
6256
|
}> : P[K];
|
|
6096
6257
|
};
|
|
6097
6258
|
|
|
6259
|
+
declare type __VLS_WithDefaults_81<P, D> = {
|
|
6260
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_81<P[K] & {
|
|
6261
|
+
default: D[K];
|
|
6262
|
+
}> : P[K];
|
|
6263
|
+
};
|
|
6264
|
+
|
|
6098
6265
|
declare type __VLS_WithDefaults_9<P, D> = {
|
|
6099
6266
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
|
|
6100
6267
|
default: D[K];
|
|
@@ -6594,6 +6761,9 @@ export declare interface ColorModelOptions {
|
|
|
6594
6761
|
precision?: number;
|
|
6595
6762
|
}
|
|
6596
6763
|
|
|
6764
|
+
/** Folders first, then the labels by `Intl.Collator` with numbers as numbers. / Папки первыми, затем подписи. */
|
|
6765
|
+
export declare function compareTreeNodes(locale?: string): (a: TaoTreeNode, b: TaoTreeNode) => number;
|
|
6766
|
+
|
|
6597
6767
|
declare const confirm_2: TaoConfirmApi;
|
|
6598
6768
|
export { confirm_2 as confirm }
|
|
6599
6769
|
|
|
@@ -6724,6 +6894,16 @@ export declare function mergeRanges(ranges: readonly [number, number][]): [numbe
|
|
|
6724
6894
|
*/
|
|
6725
6895
|
export declare function moveTarget(from: number, over: number, after: boolean, count: number): number | null;
|
|
6726
6896
|
|
|
6897
|
+
/**
|
|
6898
|
+
* The tree with a move made, for an app that keeps its data as `TaoTreeNode[]`: a new array, the nodes it passes
|
|
6899
|
+
* through copied, the others kept. A copy (`move.copy`) needs new ids, so it is the app's to make; this helper moves.
|
|
6900
|
+
* Children loaded by `load` are not in `nodes`: such an app moves them in its own store.
|
|
6901
|
+
* Дерево с выполненным переносом, для приложения, которое хранит данные как `TaoTreeNode[]`: новый массив, узлы по пути
|
|
6902
|
+
* скопированы, остальные те же. Копии (`move.copy`) нужны новые id, их делает приложение; помощник переносит.
|
|
6903
|
+
* Дети, подгруженные через `load`, не лежат в `nodes`: такое приложение переносит их в своём хранилище.
|
|
6904
|
+
*/
|
|
6905
|
+
export declare function moveTreeNodes(nodes: readonly TaoTreeNode[], move: Pick<TaoTreeMove, 'ids' | 'parentId' | 'index'>): TaoTreeNode[];
|
|
6906
|
+
|
|
6727
6907
|
declare interface NodeSlot {
|
|
6728
6908
|
node: TaoTreeNode;
|
|
6729
6909
|
level: number;
|
|
@@ -7201,7 +7381,7 @@ export declare type TaoAnchor = HTMLElement | TaoVirtualAnchor;
|
|
|
7201
7381
|
|
|
7202
7382
|
export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, ReturnType<typeof __VLS_template_31>>;
|
|
7203
7383
|
|
|
7204
|
-
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<
|
|
7384
|
+
export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_83<{
|
|
7205
7385
|
src?: string;
|
|
7206
7386
|
name?: string;
|
|
7207
7387
|
alt?: string;
|
|
@@ -7226,7 +7406,7 @@ size: string;
|
|
|
7226
7406
|
dot: boolean;
|
|
7227
7407
|
count: undefined;
|
|
7228
7408
|
dotLabels: () => {};
|
|
7229
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
7409
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_83<{
|
|
7230
7410
|
src?: string;
|
|
7231
7411
|
name?: string;
|
|
7232
7412
|
alt?: string;
|
|
@@ -7265,10 +7445,10 @@ declare type TaoAvatarDot = TaoTone;
|
|
|
7265
7445
|
|
|
7266
7446
|
export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
7267
7447
|
|
|
7268
|
-
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<
|
|
7448
|
+
export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_78<__VLS_TypePropsToRuntimeProps_84<{
|
|
7269
7449
|
items: TaoBreadcrumbItem[];
|
|
7270
7450
|
ariaLabel?: string;
|
|
7271
|
-
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
7451
|
+
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_78<__VLS_TypePropsToRuntimeProps_84<{
|
|
7272
7452
|
items: TaoBreadcrumbItem[];
|
|
7273
7453
|
ariaLabel?: string;
|
|
7274
7454
|
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -7331,7 +7511,7 @@ export declare interface TaoChecklistItem {
|
|
|
7331
7511
|
disabled?: boolean;
|
|
7332
7512
|
}
|
|
7333
7513
|
|
|
7334
|
-
export declare const TaoColorInput: DefineComponent<ExtractPropTypes<
|
|
7514
|
+
export declare const TaoColorInput: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
|
|
7335
7515
|
/** Color as a hex string. / Цвет строкой hex. */
|
|
7336
7516
|
modelValue: string;
|
|
7337
7517
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -7367,7 +7547,7 @@ clearable: boolean;
|
|
|
7367
7547
|
change: (hex: string) => void;
|
|
7368
7548
|
"update:modelValue": (hex: string) => void;
|
|
7369
7549
|
"update:mode": (mode: ColorMode) => void;
|
|
7370
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
7550
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_60<{
|
|
7371
7551
|
/** Color as a hex string. / Цвет строкой hex. */
|
|
7372
7552
|
modelValue: string;
|
|
7373
7553
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -7413,7 +7593,7 @@ eyedropper: boolean;
|
|
|
7413
7593
|
clearable: boolean;
|
|
7414
7594
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7415
7595
|
|
|
7416
|
-
export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<
|
|
7596
|
+
export declare const TaoColorPicker: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
|
|
7417
7597
|
/** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
|
|
7418
7598
|
modelValue: string;
|
|
7419
7599
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -7445,7 +7625,7 @@ disabled: boolean;
|
|
|
7445
7625
|
change: (hex: string) => void;
|
|
7446
7626
|
"update:modelValue": (hex: string) => void;
|
|
7447
7627
|
"update:mode": (mode: ColorMode) => void;
|
|
7448
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
7628
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_61<{
|
|
7449
7629
|
/** Color as a hex string; also accepts anything `parseColor` reads. / Цвет строкой hex; понимает и всё, что читает `parseColor`. */
|
|
7450
7630
|
modelValue: string;
|
|
7451
7631
|
/** The opacity strip and `#rrggbbaa`. / Полоса прозрачности и `#rrggbbaa`. */
|
|
@@ -7575,13 +7755,13 @@ export declare const TaoContextMenu: __VLS_WithTemplateSlots_49<typeof __VLS_com
|
|
|
7575
7755
|
|
|
7576
7756
|
export declare const TaoCopy: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, ReturnType<typeof __VLS_template_16>>;
|
|
7577
7757
|
|
|
7578
|
-
export declare const TaoCounter: DefineComponent<ExtractPropTypes<
|
|
7758
|
+
export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_79<__VLS_TypePropsToRuntimeProps_85<{
|
|
7579
7759
|
value?: number;
|
|
7580
7760
|
maxDigits?: number;
|
|
7581
7761
|
}>, {
|
|
7582
7762
|
value: number;
|
|
7583
7763
|
maxDigits: number;
|
|
7584
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
7764
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_79<__VLS_TypePropsToRuntimeProps_85<{
|
|
7585
7765
|
value?: number;
|
|
7586
7766
|
maxDigits?: number;
|
|
7587
7767
|
}>, {
|
|
@@ -7760,6 +7940,79 @@ export declare type TaoJustify = 'flex-start' | 'flex-end' | 'center' | 'normal'
|
|
|
7760
7940
|
|
|
7761
7941
|
export declare const TaoKbd: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, ReturnType<typeof __VLS_template_12>>;
|
|
7762
7942
|
|
|
7943
|
+
/**
|
|
7944
|
+
* The name of a language in that language itself (an autonym): `ru` → `Русский`, `en` → `English`, `pt-BR` → `Português (Brasil)`.
|
|
7945
|
+
* It comes from the engine (`Intl.DisplayNames`), so there is no table to keep; where the engine does not know the code (or has
|
|
7946
|
+
* no `Intl.DisplayNames`) the code in capitals is the name. The first letter is capitalised: a list of names reads as a list.
|
|
7947
|
+
* Название языка на нём самом (автоним): `ru` → `Русский`, `en` → `English`. Берётся у движка (`Intl.DisplayNames`), таблицу
|
|
7948
|
+
* вести не нужно; где движок код не знает (или нет `Intl.DisplayNames`), названием служит код заглавными. Первая буква
|
|
7949
|
+
* заглавная: список названий читается как список.
|
|
7950
|
+
*/
|
|
7951
|
+
export declare function taoLanguageName(code: string): string;
|
|
7952
|
+
|
|
7953
|
+
/** A language: its code, and its name when the engine's autonym is not what you want. / Язык: код и, если автоним движка не годится, название. */
|
|
7954
|
+
export declare interface TaoLanguageOption {
|
|
7955
|
+
code: string;
|
|
7956
|
+
label?: string;
|
|
7957
|
+
}
|
|
7958
|
+
|
|
7959
|
+
export declare const TaoLanguageSwitch: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<{
|
|
7960
|
+
/** The code of the language in use, `v-model`. / Код языка, который сейчас включён, `v-model`. */
|
|
7961
|
+
modelValue?: string;
|
|
7962
|
+
/** The languages: codes (`'ru'`) or `{ code, label }`. The name of a code is the language in itself (`Русский`, `English`). / Языки: коды или `{ code, label }`. Название кода — сам язык на себе. */
|
|
7963
|
+
languages: readonly (string | TaoLanguageOption)[];
|
|
7964
|
+
/** Write the language to `<html lang>` (the browser, a screen reader and the hyphenation take it from there). Turn it off to do it yourself. / Писать язык в `<html lang>`. Выключите, чтобы делать это самим. */
|
|
7965
|
+
apply?: boolean;
|
|
7966
|
+
/** Only the globe, no name beside it: a phone, a narrow rail. The name stays in the accessible name. / Только глобус, без названия рядом: телефон, узкая рейка. Название остаётся в доступном имени. */
|
|
7967
|
+
iconOnly?: boolean;
|
|
7968
|
+
size?: TaoSize;
|
|
7969
|
+
/** Where the list opens against the button. / Где открывается список. */
|
|
7970
|
+
placement?: TaoPlacement;
|
|
7971
|
+
/** The name of the switch (the label of the button and of the list); the built-in text is «Language». / Имя переключателя. */
|
|
7972
|
+
label?: string;
|
|
7973
|
+
}>, {
|
|
7974
|
+
modelValue: undefined;
|
|
7975
|
+
apply: boolean;
|
|
7976
|
+
iconOnly: boolean;
|
|
7977
|
+
size: undefined;
|
|
7978
|
+
placement: string;
|
|
7979
|
+
label: undefined;
|
|
7980
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7981
|
+
change: (code: string) => void;
|
|
7982
|
+
"update:modelValue": (code: string) => void;
|
|
7983
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_18<{
|
|
7984
|
+
/** The code of the language in use, `v-model`. / Код языка, который сейчас включён, `v-model`. */
|
|
7985
|
+
modelValue?: string;
|
|
7986
|
+
/** The languages: codes (`'ru'`) or `{ code, label }`. The name of a code is the language in itself (`Русский`, `English`). / Языки: коды или `{ code, label }`. Название кода — сам язык на себе. */
|
|
7987
|
+
languages: readonly (string | TaoLanguageOption)[];
|
|
7988
|
+
/** Write the language to `<html lang>` (the browser, a screen reader and the hyphenation take it from there). Turn it off to do it yourself. / Писать язык в `<html lang>`. Выключите, чтобы делать это самим. */
|
|
7989
|
+
apply?: boolean;
|
|
7990
|
+
/** Only the globe, no name beside it: a phone, a narrow rail. The name stays in the accessible name. / Только глобус, без названия рядом: телефон, узкая рейка. Название остаётся в доступном имени. */
|
|
7991
|
+
iconOnly?: boolean;
|
|
7992
|
+
size?: TaoSize;
|
|
7993
|
+
/** Where the list opens against the button. / Где открывается список. */
|
|
7994
|
+
placement?: TaoPlacement;
|
|
7995
|
+
/** The name of the switch (the label of the button and of the list); the built-in text is «Language». / Имя переключателя. */
|
|
7996
|
+
label?: string;
|
|
7997
|
+
}>, {
|
|
7998
|
+
modelValue: undefined;
|
|
7999
|
+
apply: boolean;
|
|
8000
|
+
iconOnly: boolean;
|
|
8001
|
+
size: undefined;
|
|
8002
|
+
placement: string;
|
|
8003
|
+
label: undefined;
|
|
8004
|
+
}>>> & Readonly<{
|
|
8005
|
+
onChange?: ((code: string) => any) | undefined;
|
|
8006
|
+
"onUpdate:modelValue"?: ((code: string) => any) | undefined;
|
|
8007
|
+
}>, {
|
|
8008
|
+
size: TaoSize;
|
|
8009
|
+
label: string;
|
|
8010
|
+
modelValue: string;
|
|
8011
|
+
placement: TaoPlacement;
|
|
8012
|
+
apply: boolean;
|
|
8013
|
+
iconOnly: boolean;
|
|
8014
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
8015
|
+
|
|
7763
8016
|
/** Length prop: a number is pixels, a string goes to CSS as is (`1rem`, `50%`, `var(--tao-space-4)`). / Число — пиксели, строка уходит в CSS как есть. */
|
|
7764
8017
|
export declare type TaoLength = number | string;
|
|
7765
8018
|
|
|
@@ -7769,7 +8022,7 @@ export declare const TaoList: __VLS_WithTemplateSlots_70<typeof __VLS_component_
|
|
|
7769
8022
|
|
|
7770
8023
|
export declare const TaoListItem: __VLS_WithTemplateSlots_71<typeof __VLS_component_71, ReturnType<typeof __VLS_template_71>>;
|
|
7771
8024
|
|
|
7772
|
-
export declare const TaoLoader: DefineComponent<ExtractPropTypes<
|
|
8025
|
+
export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<Props_11>, {
|
|
7773
8026
|
variant: string;
|
|
7774
8027
|
size: undefined;
|
|
7775
8028
|
tone: undefined;
|
|
@@ -7777,7 +8030,7 @@ color: undefined;
|
|
|
7777
8030
|
inline: boolean;
|
|
7778
8031
|
label: undefined;
|
|
7779
8032
|
decorative: boolean;
|
|
7780
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
8033
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<Props_11>, {
|
|
7781
8034
|
variant: string;
|
|
7782
8035
|
size: undefined;
|
|
7783
8036
|
tone: undefined;
|
|
@@ -7864,6 +8117,10 @@ export declare interface TaoLocale {
|
|
|
7864
8117
|
toDarkLabel: string;
|
|
7865
8118
|
toSystemLabel: string;
|
|
7866
8119
|
};
|
|
8120
|
+
/** The name of the language switch: the label of its button and of its list. / Имя переключателя языка: подпись кнопки и списка. */
|
|
8121
|
+
languageSwitch: {
|
|
8122
|
+
label: string;
|
|
8123
|
+
};
|
|
7867
8124
|
loader: {
|
|
7868
8125
|
label: string;
|
|
7869
8126
|
};
|
|
@@ -7903,6 +8160,20 @@ export declare interface TaoLocale {
|
|
|
7903
8160
|
tree: {
|
|
7904
8161
|
ariaLabel: string;
|
|
7905
8162
|
loadingLabel: string;
|
|
8163
|
+
/** The context menu (5.51.0; optional for locales written before, English then). / Контекстное меню. */
|
|
8164
|
+
menuLabel?: string;
|
|
8165
|
+
/**
|
|
8166
|
+
* Moving rows (5.51.0, optional): `{item}` is the name of a row or `countLabel`, `{target}` the folder or `rootLabel`.
|
|
8167
|
+
* Перенос строк (5.51.0, необязательно): `{item}` — имя строки или `countLabel`, `{target}` — папка или `rootLabel`.
|
|
8168
|
+
*/
|
|
8169
|
+
countLabel?: TaoText;
|
|
8170
|
+
rootLabel?: string;
|
|
8171
|
+
cutText?: string;
|
|
8172
|
+
copyText?: string;
|
|
8173
|
+
movedText?: string;
|
|
8174
|
+
copiedText?: string;
|
|
8175
|
+
canceledText?: string;
|
|
8176
|
+
refusedText?: string;
|
|
7906
8177
|
};
|
|
7907
8178
|
/** `counterText`: `{checked}`, `{total}`. */
|
|
7908
8179
|
checklist: {
|
|
@@ -8041,6 +8312,8 @@ export declare interface TaoMenuActionItem {
|
|
|
8041
8312
|
type?: 'item';
|
|
8042
8313
|
id: string;
|
|
8043
8314
|
label: string;
|
|
8315
|
+
/** The language of the label when it differs from the page (`lang` of the row): a screen reader reads it in that language. / Язык подписи, если он не язык страницы (`lang` строки): скринридер читает её на этом языке. */
|
|
8316
|
+
lang?: string;
|
|
8044
8317
|
/** Icon name for TaoIcon. / Имя иконки для TaoIcon. */
|
|
8045
8318
|
icon?: string;
|
|
8046
8319
|
/** Shortcut as a ready string to show («Ctrl+S», «⌘S»); the menu does not parse or listen to it. / Готовая строка для показа. */
|
|
@@ -8056,6 +8329,8 @@ export declare interface TaoMenuCheckboxItem {
|
|
|
8056
8329
|
type: 'checkbox';
|
|
8057
8330
|
id: string;
|
|
8058
8331
|
label: string;
|
|
8332
|
+
/** The language of the label when it differs from the page (`lang` of the row): a screen reader reads it in that language. / Язык подписи, если он не язык страницы (`lang` строки): скринридер читает её на этом языке. */
|
|
8333
|
+
lang?: string;
|
|
8059
8334
|
checked: boolean;
|
|
8060
8335
|
shortcut?: string;
|
|
8061
8336
|
disabled?: boolean;
|
|
@@ -8073,6 +8348,8 @@ export declare type TaoMenuItem = TaoMenuActionItem | TaoMenuCheckboxItem | TaoM
|
|
|
8073
8348
|
export declare interface TaoMenuLabelItem {
|
|
8074
8349
|
type: 'label';
|
|
8075
8350
|
label: string;
|
|
8351
|
+
/** The language of the label when it differs from the page (`lang` of the row): a screen reader reads it in that language. / Язык подписи, если он не язык страницы (`lang` строки): скринридер читает её на этом языке. */
|
|
8352
|
+
lang?: string;
|
|
8076
8353
|
}
|
|
8077
8354
|
|
|
8078
8355
|
export declare interface TaoMenuRadioItem {
|
|
@@ -8081,6 +8358,8 @@ export declare interface TaoMenuRadioItem {
|
|
|
8081
8358
|
/** Radios of one group: the checked one is the value. / Радио одной группы. */
|
|
8082
8359
|
group: string;
|
|
8083
8360
|
label: string;
|
|
8361
|
+
/** The language of the label when it differs from the page (`lang` of the row): a screen reader reads it in that language. / Язык подписи, если он не язык страницы (`lang` строки): скринридер читает её на этом языке. */
|
|
8362
|
+
lang?: string;
|
|
8084
8363
|
checked: boolean;
|
|
8085
8364
|
shortcut?: string;
|
|
8086
8365
|
disabled?: boolean;
|
|
@@ -8090,7 +8369,7 @@ export declare interface TaoMenuSeparatorItem {
|
|
|
8090
8369
|
type: 'separator';
|
|
8091
8370
|
}
|
|
8092
8371
|
|
|
8093
|
-
export declare const TaoMeter: DefineComponent<ExtractPropTypes<
|
|
8372
|
+
export declare const TaoMeter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_46<{
|
|
8094
8373
|
value: number;
|
|
8095
8374
|
min?: number;
|
|
8096
8375
|
max?: number;
|
|
@@ -8115,7 +8394,7 @@ optimum: undefined;
|
|
|
8115
8394
|
label: undefined;
|
|
8116
8395
|
valueText: boolean;
|
|
8117
8396
|
tone: undefined;
|
|
8118
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
8397
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_46<{
|
|
8119
8398
|
value: number;
|
|
8120
8399
|
min?: number;
|
|
8121
8400
|
max?: number;
|
|
@@ -8237,7 +8516,7 @@ export declare type TaoPaletteMode = 'dark' | 'light';
|
|
|
8237
8516
|
*/
|
|
8238
8517
|
export declare const taoPalettes: readonly TaoPaletteDef[];
|
|
8239
8518
|
|
|
8240
|
-
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<
|
|
8519
|
+
export declare const TaoPinCode: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_55<{
|
|
8241
8520
|
/** Number of cells. Not needed with `format` (it is counted from the mask). / Число ячеек. С `format` не нужно (считается по маске). */
|
|
8242
8521
|
length?: number;
|
|
8243
8522
|
/**
|
|
@@ -8297,7 +8576,7 @@ change: (value: string) => void;
|
|
|
8297
8576
|
"update:modelValue": (value: string) => void;
|
|
8298
8577
|
active: (el: HTMLInputElement | null, index: number) => void;
|
|
8299
8578
|
complete: (value: string) => void;
|
|
8300
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
8579
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_55<{
|
|
8301
8580
|
/** Number of cells. Not needed with `format` (it is counted from the mask). / Число ячеек. С `format` не нужно (считается по маске). */
|
|
8302
8581
|
length?: number;
|
|
8303
8582
|
/**
|
|
@@ -8399,7 +8678,7 @@ export declare interface TaoPluralForms {
|
|
|
8399
8678
|
|
|
8400
8679
|
export declare const TaoPopover: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, ReturnType<typeof __VLS_template_13>>;
|
|
8401
8680
|
|
|
8402
|
-
export declare const TaoPresetInput: DefineComponent<ExtractPropTypes<
|
|
8681
|
+
export declare const TaoPresetInput: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
|
|
8403
8682
|
/** The value, `v-model`: an option's value, or a number typed by hand (`custom`). / Значение, `v-model`: значение пункта или число, набранное руками (`custom`). */
|
|
8404
8683
|
modelValue?: TaoPresetValue;
|
|
8405
8684
|
/**
|
|
@@ -8442,7 +8721,7 @@ prevLabel: undefined;
|
|
|
8442
8721
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8443
8722
|
change: (value: TaoPresetValue) => void;
|
|
8444
8723
|
"update:modelValue": (value: TaoPresetValue) => void;
|
|
8445
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
8724
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_63<{
|
|
8446
8725
|
/** The value, `v-model`: an option's value, or a number typed by hand (`custom`). / Значение, `v-model`: значение пункта или число, набранное руками (`custom`). */
|
|
8447
8726
|
modelValue?: TaoPresetValue;
|
|
8448
8727
|
/**
|
|
@@ -8551,7 +8830,7 @@ export declare interface TaoSelectOption {
|
|
|
8551
8830
|
/** One size scale for every control. / Единая шкала размеров для всех контролов. */
|
|
8552
8831
|
export declare type TaoSize = 'small' | 'medium' | 'large';
|
|
8553
8832
|
|
|
8554
|
-
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<
|
|
8833
|
+
export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_81<{
|
|
8555
8834
|
variant?: "text" | "title" | "circle" | "rect";
|
|
8556
8835
|
lines?: number;
|
|
8557
8836
|
width?: string;
|
|
@@ -8561,7 +8840,7 @@ variant: string;
|
|
|
8561
8840
|
lines: number;
|
|
8562
8841
|
width: string;
|
|
8563
8842
|
height: string;
|
|
8564
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
8843
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_81<{
|
|
8565
8844
|
variant?: "text" | "title" | "circle" | "rect";
|
|
8566
8845
|
lines?: number;
|
|
8567
8846
|
width?: string;
|
|
@@ -8686,7 +8965,7 @@ export declare type TaoSliderZoneTone = 'accent' | 'success' | 'warning' | 'dang
|
|
|
8686
8965
|
|
|
8687
8966
|
export declare const TaoSpace: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, ReturnType<typeof __VLS_template_21>>;
|
|
8688
8967
|
|
|
8689
|
-
export declare const TaoSparkline: DefineComponent<ExtractPropTypes<
|
|
8968
|
+
export declare const TaoSparkline: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
|
|
8690
8969
|
/** The series; `null` is a gap. / Ряд; `null` — разрыв. */
|
|
8691
8970
|
values: (number | null)[];
|
|
8692
8971
|
/** What it shows, for a screen reader: «Visits, last 30 days». / Что показывает, для скринридера. */
|
|
@@ -8709,7 +8988,7 @@ dot: boolean;
|
|
|
8709
8988
|
min: undefined;
|
|
8710
8989
|
max: undefined;
|
|
8711
8990
|
height: number;
|
|
8712
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
8991
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_45<{
|
|
8713
8992
|
/** The series; `null` is a gap. / Ряд; `null` — разрыв. */
|
|
8714
8993
|
values: (number | null)[];
|
|
8715
8994
|
/** What it shows, for a screen reader: «Visits, last 30 days». / Что показывает, для скринридера. */
|
|
@@ -8817,7 +9096,7 @@ export declare const TaoTag: __VLS_WithTemplateSlots_28<typeof __VLS_component_2
|
|
|
8817
9096
|
/** A text: a plain string (the same for every number) or plural forms. / Текст: просто строка (одна на любое число) или формы множественного числа. */
|
|
8818
9097
|
export declare type TaoText = string | TaoPluralForms;
|
|
8819
9098
|
|
|
8820
|
-
export declare const TaoTextarea: DefineComponent<ExtractPropTypes<
|
|
9099
|
+
export declare const TaoTextarea: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
|
|
8821
9100
|
placeholder?: string;
|
|
8822
9101
|
spellcheck?: boolean;
|
|
8823
9102
|
autocomplete?: string;
|
|
@@ -8883,7 +9162,7 @@ change: (...args: any[]) => void;
|
|
|
8883
9162
|
focus: (...args: any[]) => void;
|
|
8884
9163
|
keydown: (...args: any[]) => void;
|
|
8885
9164
|
"update:modelValue": (...args: any[]) => void;
|
|
8886
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
9165
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_34<{
|
|
8887
9166
|
placeholder?: string;
|
|
8888
9167
|
spellcheck?: boolean;
|
|
8889
9168
|
autocomplete?: string;
|
|
@@ -9167,6 +9446,38 @@ export declare const TaoTree: __VLS_WithTemplateSlots_45<typeof __VLS_component_
|
|
|
9167
9446
|
/** The state of a checkbox: `mixed` is a parent with only some of its leaves checked. / Состояние чекбокса. */
|
|
9168
9447
|
export declare type TaoTreeCheckState = 'checked' | 'unchecked' | 'mixed';
|
|
9169
9448
|
|
|
9449
|
+
/** How a drop meets the row it is aimed at. / Как перенос встаёт относительно строки. */
|
|
9450
|
+
export declare type TaoTreeDropPosition = 'before' | 'after' | 'inside';
|
|
9451
|
+
|
|
9452
|
+
/**
|
|
9453
|
+
* The context menu of a row: a list for every row, or a function of the node and the ids the menu acts on (the selection
|
|
9454
|
+
* after the right click, see `menuSelection`). An empty list leaves the browser's own menu.
|
|
9455
|
+
* Контекстное меню строки: один список для всех строк или функция от узла и id, на которые действует меню (выбор после
|
|
9456
|
+
* правого клика, см. `menuSelection`). Пустой список оставляет меню браузера.
|
|
9457
|
+
*/
|
|
9458
|
+
export declare type TaoTreeMenu = TaoMenuItem[] | ((node: TaoTreeNode, selected: string[]) => TaoMenuItem[]);
|
|
9459
|
+
|
|
9460
|
+
/**
|
|
9461
|
+
* A move the tree asks the app to make (`@move`). The tree never changes `nodes`: the app moves the data (or sends it to a
|
|
9462
|
+
* server), and the tree shows the result. `index` is the place among the children of `parentId` once the moved nodes
|
|
9463
|
+
* are taken out of it, so `moveTreeNodes` (or a `splice`) can use it as it is.
|
|
9464
|
+
* Перенос, который дерево просит сделать приложение (`@move`). Дерево не меняет `nodes`: данные переносит приложение (или
|
|
9465
|
+
* отправляет на сервер), а дерево показывает результат. `index` — место среди детей `parentId`, когда переносимые узлы
|
|
9466
|
+
* из них уже вынуты, поэтому `moveTreeNodes` (или `splice`) берёт его как есть.
|
|
9467
|
+
*/
|
|
9468
|
+
export declare interface TaoTreeMove {
|
|
9469
|
+
/** The moved nodes, the topmost only (a child goes with its parent), in the order of the rows. / Переносимые узлы. */
|
|
9470
|
+
ids: string[];
|
|
9471
|
+
/** The new parent; null for the top level. / Новый родитель; null — верхний уровень. */
|
|
9472
|
+
parentId: string | null;
|
|
9473
|
+
index: number;
|
|
9474
|
+
/** The row the drop was aimed at, and how. / Строка, на которую целились, и как. */
|
|
9475
|
+
targetId: string;
|
|
9476
|
+
position: TaoTreeDropPosition;
|
|
9477
|
+
/** Ctrl or Alt was held (or Ctrl+C was used): the app puts copies with new ids. / Копия, а не перенос. */
|
|
9478
|
+
copy: boolean;
|
|
9479
|
+
}
|
|
9480
|
+
|
|
9170
9481
|
/**
|
|
9171
9482
|
* One node of TaoTree: a file, a folder, an object. A plain data tree; the tree never changes it.
|
|
9172
9483
|
* Один узел TaoTree: файл, папка, объект. Простое дерево данных; TaoTree его не меняет.
|
|
@@ -9183,11 +9494,36 @@ export declare interface TaoTreeNode {
|
|
|
9183
9494
|
*/
|
|
9184
9495
|
hasChildren?: boolean;
|
|
9185
9496
|
disabled?: boolean;
|
|
9497
|
+
/**
|
|
9498
|
+
* A quiet note after the label: «library root», «3 files», a branch name. It is part of the row's accessible name.
|
|
9499
|
+
* Тихая подпись после имени: «library root», «3 файла», имя ветки. Входит в доступное имя строки.
|
|
9500
|
+
*/
|
|
9501
|
+
hint?: string;
|
|
9502
|
+
/**
|
|
9503
|
+
* The colour of the label: `muted` for an excluded or ignored node, the others for a state (added, changed, broken).
|
|
9504
|
+
* Not the only sign of a state for a screen reader: say it in `hint` or the label too.
|
|
9505
|
+
* Цвет подписи: `muted` для исключённого или игнорируемого узла, остальные для состояния (добавлен, изменён, сломан).
|
|
9506
|
+
* Для скринридера это не единственный признак: скажите о состоянии и в `hint` или подписи.
|
|
9507
|
+
*/
|
|
9508
|
+
tone?: TaoTreeTone;
|
|
9186
9509
|
}
|
|
9187
9510
|
|
|
9188
9511
|
/** `none` — nothing to select, `single` — one node, `multiple` — a set. / Режим выбора. */
|
|
9189
9512
|
export declare type TaoTreeSelection = 'none' | 'single' | 'multiple';
|
|
9190
9513
|
|
|
9514
|
+
/**
|
|
9515
|
+
* The order of the rows: `none` keeps the order of the data (and rows can be dragged between each other), `name` puts
|
|
9516
|
+
* folders first and sorts by name as people read it («file 2» before «file 10»), a function is your own compare. With a
|
|
9517
|
+
* sort the order is the tree's, so a drag only changes the folder, never the place among siblings.
|
|
9518
|
+
* Порядок строк: `none` держит порядок данных (и строки можно ставить между другими), `name` ставит папки первыми и
|
|
9519
|
+
* сортирует по имени так, как читают люди («файл 2» раньше «файл 10»), функция — своё сравнение. С сортировкой порядок
|
|
9520
|
+
* задаёт дерево, поэтому перенос меняет только папку, а не место среди соседей.
|
|
9521
|
+
*/
|
|
9522
|
+
export declare type TaoTreeSort = 'none' | 'name' | ((a: TaoTreeNode, b: TaoTreeNode) => number);
|
|
9523
|
+
|
|
9524
|
+
/** The colour of a row's label. / Цвет подписи строки. */
|
|
9525
|
+
export declare type TaoTreeTone = 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger';
|
|
9526
|
+
|
|
9191
9527
|
declare const TaoUI: Plugin_2<[TaoUIOptions?]>;
|
|
9192
9528
|
export { TaoUI }
|
|
9193
9529
|
export default TaoUI;
|