@1337exp/taoui 5.51.0 → 5.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { ComponentCustomProps } from 'vue';
1
3
  import { ComponentOptionsMixin } from 'vue';
2
4
  import { ComponentProvideOptions } from 'vue';
3
5
  import { ComputedRef } from 'vue';
@@ -7,6 +9,9 @@ import { Plugin as Plugin_2 } from 'vue';
7
9
  import { PropType } from 'vue';
8
10
  import { PublicProps } from 'vue';
9
11
  import { Ref } from 'vue';
12
+ import { ShallowUnwrapRef } from 'vue';
13
+ import { VNode } from 'vue';
14
+ import { VNodeProps } from 'vue';
10
15
  import { WritableComputedRef } from 'vue';
11
16
 
12
17
  declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
@@ -2228,16 +2233,19 @@ to: undefined;
2228
2233
  newTab: boolean;
2229
2234
  private: boolean;
2230
2235
  exactPath: boolean;
2236
+ underline: string;
2231
2237
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_56<Props_17>, {
2232
2238
  to: undefined;
2233
2239
  newTab: boolean;
2234
2240
  private: boolean;
2235
2241
  exactPath: boolean;
2242
+ underline: string;
2236
2243
  }>>> & Readonly<{}>, {
2237
2244
  to: string | Record<string, unknown>;
2238
2245
  newTab: boolean;
2239
2246
  private: boolean;
2240
2247
  exactPath: boolean;
2248
+ underline: "always" | "hover" | "none";
2241
2249
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2242
2250
 
2243
2251
  declare const __VLS_component_51: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_57<Props_18>, {
@@ -2245,16 +2253,19 @@ to: undefined;
2245
2253
  newTab: boolean;
2246
2254
  private: boolean;
2247
2255
  exactPath: boolean;
2256
+ underline: string;
2248
2257
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_57<Props_18>, {
2249
2258
  to: undefined;
2250
2259
  newTab: boolean;
2251
2260
  private: boolean;
2252
2261
  exactPath: boolean;
2262
+ underline: string;
2253
2263
  }>>> & Readonly<{}>, {
2254
2264
  to: string | Record<string, unknown>;
2255
2265
  newTab: boolean;
2256
2266
  private: boolean;
2257
2267
  exactPath: boolean;
2268
+ underline: "always" | "hover" | "none";
2258
2269
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2259
2270
 
2260
2271
  declare const __VLS_component_52: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_58<{
@@ -3060,104 +3071,6 @@ bordered: boolean;
3060
3071
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3061
3072
 
3062
3073
  declare const __VLS_component_67: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_76<{
3063
- columns: TaoTableColumn[];
3064
- rows?: Record<string, unknown>[];
3065
- rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
3066
- loading?: boolean;
3067
- emptyText?: string;
3068
- /** Зебра. `true` / `odd` — с первой строки, `even` — со второй. */
3069
- striped?: boolean | "odd" | "even";
3070
- /** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
3071
- size?: TaoSize;
3072
- hover?: boolean;
3073
- /** Подсветка шапки. */
3074
- head?: boolean;
3075
- /** Горизонтальные линии между рядами. */
3076
- lines?: boolean;
3077
- sticky?: boolean;
3078
- /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3079
- maxHeight?: TaoLength;
3080
- clickable?: boolean;
3081
- sort?: TaoTableSort | null;
3082
- caption?: string;
3083
- /** The outer frame; not set, it follows the frames context (`.tao-frames-soft`). / Внешняя рамка; не задан — идёт за контекстом рамок. */
3084
- bordered?: boolean;
3085
- }>, {
3086
- rows: () => never[];
3087
- rowKey: string;
3088
- loading: boolean;
3089
- striped: boolean;
3090
- hover: boolean;
3091
- head: boolean;
3092
- lines: boolean;
3093
- sticky: boolean;
3094
- maxHeight: string;
3095
- clickable: boolean;
3096
- sort: null;
3097
- caption: string;
3098
- bordered: undefined;
3099
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3100
- change: (value: TaoTableSort | null) => void;
3101
- "update:sort": (value: TaoTableSort | null) => void;
3102
- "row-click": (row: Record<string, unknown>, index: number) => void;
3103
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_76<{
3104
- columns: TaoTableColumn[];
3105
- rows?: Record<string, unknown>[];
3106
- rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
3107
- loading?: boolean;
3108
- emptyText?: string;
3109
- /** Зебра. `true` / `odd` — с первой строки, `even` — со второй. */
3110
- striped?: boolean | "odd" | "even";
3111
- /** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
3112
- size?: TaoSize;
3113
- hover?: boolean;
3114
- /** Подсветка шапки. */
3115
- head?: boolean;
3116
- /** Горизонтальные линии между рядами. */
3117
- lines?: boolean;
3118
- sticky?: boolean;
3119
- /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
3120
- maxHeight?: TaoLength;
3121
- clickable?: boolean;
3122
- sort?: TaoTableSort | null;
3123
- caption?: string;
3124
- /** The outer frame; not set, it follows the frames context (`.tao-frames-soft`). / Внешняя рамка; не задан — идёт за контекстом рамок. */
3125
- bordered?: boolean;
3126
- }>, {
3127
- rows: () => never[];
3128
- rowKey: string;
3129
- loading: boolean;
3130
- striped: boolean;
3131
- hover: boolean;
3132
- head: boolean;
3133
- lines: boolean;
3134
- sticky: boolean;
3135
- maxHeight: string;
3136
- clickable: boolean;
3137
- sort: null;
3138
- caption: string;
3139
- bordered: undefined;
3140
- }>>> & Readonly<{
3141
- onChange?: ((value: TaoTableSort | null) => any) | undefined;
3142
- "onUpdate:sort"?: ((value: TaoTableSort | null) => any) | undefined;
3143
- "onRow-click"?: ((row: Record<string, unknown>, index: number) => any) | undefined;
3144
- }>, {
3145
- sort: TaoTableSort | null;
3146
- caption: string;
3147
- head: boolean;
3148
- loading: boolean;
3149
- bordered: boolean;
3150
- hover: boolean;
3151
- sticky: boolean;
3152
- rows: Record<string, unknown>[];
3153
- maxHeight: TaoLength;
3154
- clickable: boolean;
3155
- lines: boolean;
3156
- rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
3157
- striped: boolean | "odd" | "even";
3158
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3159
-
3160
- declare const __VLS_component_68: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_77<{
3161
3074
  page?: number;
3162
3075
  total?: number;
3163
3076
  pageSize?: number;
@@ -3206,7 +3119,7 @@ pageInput: boolean;
3206
3119
  change: (value: number) => void;
3207
3120
  "update:page": (value: number) => void;
3208
3121
  "update:pageSize": (value: number) => void;
3209
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_77<{
3122
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_76<{
3210
3123
  page?: number;
3211
3124
  total?: number;
3212
3125
  pageSize?: number;
@@ -3266,58 +3179,13 @@ jump: number;
3266
3179
  pageInput: boolean | number;
3267
3180
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3268
3181
 
3269
- declare const __VLS_component_69: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_78<{
3182
+ declare const __VLS_component_68: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_77<{
3270
3183
  title?: string;
3271
- }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_78<{
3184
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_71<__VLS_TypePropsToRuntimeProps_77<{
3272
3185
  title?: string;
3273
3186
  }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3274
3187
 
3275
- declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
3276
- padding: undefined;
3277
- radius: undefined;
3278
- shadow: boolean;
3279
- shadowBottomOnly: boolean;
3280
- hover: boolean;
3281
- active: boolean;
3282
- overflow: boolean;
3283
- flush: boolean;
3284
- surface: string;
3285
- closable: boolean;
3286
- stripe: undefined;
3287
- stripeTone: string;
3288
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3289
- close: () => void;
3290
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
3291
- padding: undefined;
3292
- radius: undefined;
3293
- shadow: boolean;
3294
- shadowBottomOnly: boolean;
3295
- hover: boolean;
3296
- active: boolean;
3297
- overflow: boolean;
3298
- flush: boolean;
3299
- surface: string;
3300
- closable: boolean;
3301
- stripe: undefined;
3302
- stripeTone: string;
3303
- }>>> & Readonly<{
3304
- onClose?: (() => any) | undefined;
3305
- }>, {
3306
- surface: TaoSurface;
3307
- closable: boolean;
3308
- radius: TaoLength;
3309
- padding: TaoLength | TaoLength[];
3310
- shadow: boolean;
3311
- hover: boolean;
3312
- stripe: TaoStripe;
3313
- stripeTone: TaoStripeTone;
3314
- shadowBottomOnly: boolean;
3315
- active: boolean;
3316
- overflow: boolean;
3317
- flush: boolean;
3318
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3319
-
3320
- declare const __VLS_component_70: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_79<{
3188
+ declare const __VLS_component_69: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_78<{
3321
3189
  /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
3322
3190
  size?: TaoSize;
3323
3191
  /** Рамка, как у списка файлов. */
@@ -3344,7 +3212,7 @@ divided: boolean;
3344
3212
  empty: boolean;
3345
3213
  ariaLabel: string;
3346
3214
  roving: boolean;
3347
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_79<{
3215
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_72<__VLS_TypePropsToRuntimeProps_78<{
3348
3216
  /** Row height; items inherit it. Without it — the size of ancestors. / Высота строк, item наследует. Без него — размер предков. */
3349
3217
  size?: TaoSize;
3350
3218
  /** Рамка, как у списка файлов. */
@@ -3379,7 +3247,52 @@ divided: boolean;
3379
3247
  roving: boolean;
3380
3248
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3381
3249
 
3382
- declare const __VLS_component_71: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_80<{
3250
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
3251
+ padding: undefined;
3252
+ radius: undefined;
3253
+ shadow: boolean;
3254
+ shadowBottomOnly: boolean;
3255
+ hover: boolean;
3256
+ active: boolean;
3257
+ overflow: boolean;
3258
+ flush: boolean;
3259
+ surface: string;
3260
+ closable: boolean;
3261
+ stripe: undefined;
3262
+ stripeTone: string;
3263
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3264
+ close: () => void;
3265
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
3266
+ padding: undefined;
3267
+ radius: undefined;
3268
+ shadow: boolean;
3269
+ shadowBottomOnly: boolean;
3270
+ hover: boolean;
3271
+ active: boolean;
3272
+ overflow: boolean;
3273
+ flush: boolean;
3274
+ surface: string;
3275
+ closable: boolean;
3276
+ stripe: undefined;
3277
+ stripeTone: string;
3278
+ }>>> & Readonly<{
3279
+ onClose?: (() => any) | undefined;
3280
+ }>, {
3281
+ surface: TaoSurface;
3282
+ closable: boolean;
3283
+ radius: TaoLength;
3284
+ padding: TaoLength | TaoLength[];
3285
+ shadow: boolean;
3286
+ hover: boolean;
3287
+ stripe: TaoStripe;
3288
+ stripeTone: TaoStripeTone;
3289
+ shadowBottomOnly: boolean;
3290
+ active: boolean;
3291
+ overflow: boolean;
3292
+ flush: boolean;
3293
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3294
+
3295
+ declare const __VLS_component_70: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_79<{
3383
3296
  title?: string;
3384
3297
  description?: string;
3385
3298
  selected?: boolean;
@@ -3402,7 +3315,7 @@ clickable: boolean;
3402
3315
  actionAlways: boolean;
3403
3316
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3404
3317
  click: (event: MouseEvent) => void;
3405
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_80<{
3318
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_73<__VLS_TypePropsToRuntimeProps_79<{
3406
3319
  title?: string;
3407
3320
  description?: string;
3408
3321
  selected?: boolean;
@@ -3435,7 +3348,7 @@ clickable: boolean;
3435
3348
  actionAlways: boolean;
3436
3349
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3437
3350
 
3438
- declare const __VLS_component_72: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_82<{
3351
+ declare const __VLS_component_71: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_81<{
3439
3352
  modelValue: boolean;
3440
3353
  title?: string;
3441
3354
  /**
@@ -3488,7 +3401,7 @@ swipeThreshold: number;
3488
3401
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3489
3402
  close: (...args: any[]) => void;
3490
3403
  "update:modelValue": (...args: any[]) => void;
3491
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_82<{
3404
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_81<{
3492
3405
  modelValue: boolean;
3493
3406
  title?: string;
3494
3407
  /**
@@ -3551,7 +3464,7 @@ swipeToClose: boolean;
3551
3464
  swipeThreshold: number;
3552
3465
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3553
3466
 
3554
- declare const __VLS_component_73: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_80<__VLS_TypePropsToRuntimeProps_86<{
3467
+ declare const __VLS_component_72: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_79<__VLS_TypePropsToRuntimeProps_85<{
3555
3468
  modelValue?: number;
3556
3469
  peek?: number;
3557
3470
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. With `centered`: how many whole slides around the middle one. */
@@ -3606,7 +3519,7 @@ pausable: boolean;
3606
3519
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3607
3520
  change: (value: number) => void;
3608
3521
  "update:modelValue": (value: number) => void;
3609
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_80<__VLS_TypePropsToRuntimeProps_86<{
3522
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_79<__VLS_TypePropsToRuntimeProps_85<{
3610
3523
  modelValue?: number;
3611
3524
  peek?: number;
3612
3525
  /** How many slides fit in the viewport. 5 = product strip. 1 = one card. With `centered`: how many whole slides around the middle one. */
@@ -3673,7 +3586,7 @@ indicator: "dots" | "bars" | "progress";
3673
3586
  pausable: boolean;
3674
3587
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3675
3588
 
3676
- declare const __VLS_component_74: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_81<__VLS_TypePropsToRuntimeProps_87<{
3589
+ declare const __VLS_component_73: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_80<__VLS_TypePropsToRuntimeProps_86<{
3677
3590
  items?: TaoStageItem[];
3678
3591
  /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
3679
3592
  direction?: "row" | "column";
@@ -3683,7 +3596,7 @@ statusLabels?: Partial<Record<TaoStageStatus, string>>;
3683
3596
  items: () => never[];
3684
3597
  direction: string;
3685
3598
  statusLabels: () => {};
3686
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_81<__VLS_TypePropsToRuntimeProps_87<{
3599
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_80<__VLS_TypePropsToRuntimeProps_86<{
3687
3600
  items?: TaoStageItem[];
3688
3601
  /** `column` (default) — steps top to bottom, `row` — left to right. / `column` — сверху вниз, `row` — слева направо. */
3689
3602
  direction?: "row" | "column";
@@ -3925,10 +3838,10 @@ declare type __VLS_NonUndefinedable_85<T> = T extends undefined ? never : T;
3925
3838
 
3926
3839
  declare type __VLS_NonUndefinedable_86<T> = T extends undefined ? never : T;
3927
3840
 
3928
- declare type __VLS_NonUndefinedable_87<T> = T extends undefined ? never : T;
3929
-
3930
3841
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
3931
3842
 
3843
+ declare type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
3844
+
3932
3845
  declare type __VLS_Prettify<T> = {
3933
3846
  [K in keyof T]: T[K];
3934
3847
  } & {};
@@ -4830,23 +4743,7 @@ declare function __VLS_template_66(): {
4830
4743
  "close-icon"?(_: {}): any;
4831
4744
  };
4832
4745
 
4833
- declare function __VLS_template_67(): Partial<Record<`cell-${string}`, (_: {
4834
- row: Record<string, unknown>;
4835
- column: TaoTableColumn<Record<string, unknown>>;
4836
- value: unknown;
4837
- index: number;
4838
- }) => any>> & {
4839
- empty?(_: {}): any;
4840
- cell?(_: {
4841
- row: Record<string, unknown>;
4842
- column: TaoTableColumn<Record<string, unknown>>;
4843
- value: unknown;
4844
- index: number;
4845
- }): any;
4846
- loading?(_: {}): any;
4847
- };
4848
-
4849
- declare function __VLS_template_68(): {
4746
+ declare function __VLS_template_67(): {
4850
4747
  total?(_: {
4851
4748
  from: number;
4852
4749
  to: number;
@@ -4856,12 +4753,17 @@ declare function __VLS_template_68(): {
4856
4753
  "next-icon"?(_: {}): any;
4857
4754
  };
4858
4755
 
4859
- declare function __VLS_template_69(): {
4756
+ declare function __VLS_template_68(): {
4860
4757
  icon?(_: {}): any;
4861
4758
  default?(_: {}): any;
4862
4759
  action?(_: {}): any;
4863
4760
  };
4864
4761
 
4762
+ declare function __VLS_template_69(): {
4763
+ empty?(_: {}): any;
4764
+ default?(_: {}): any;
4765
+ };
4766
+
4865
4767
  declare function __VLS_template_7(): Readonly<{
4866
4768
  /** A picture or a carousel at the top. / Картинка или карусель сверху. */
4867
4769
  media?(): unknown;
@@ -4891,11 +4793,6 @@ declare function __VLS_template_7(): Readonly<{
4891
4793
  };
4892
4794
 
4893
4795
  declare function __VLS_template_70(): {
4894
- empty?(_: {}): any;
4895
- default?(_: {}): any;
4896
- };
4897
-
4898
- declare function __VLS_template_71(): {
4899
4796
  prefix?(_: {}): any;
4900
4797
  default?(_: {}): any;
4901
4798
  description?(_: {}): any;
@@ -4903,7 +4800,7 @@ declare function __VLS_template_71(): {
4903
4800
  action?(_: {}): any;
4904
4801
  };
4905
4802
 
4906
- declare function __VLS_template_72(): {
4803
+ declare function __VLS_template_71(): {
4907
4804
  header?(_: {
4908
4805
  close: typeof close_2;
4909
4806
  }): any;
@@ -4912,7 +4809,7 @@ declare function __VLS_template_72(): {
4912
4809
  footer?(_: {}): any;
4913
4810
  };
4914
4811
 
4915
- declare function __VLS_template_73(): Readonly<{
4812
+ declare function __VLS_template_72(): Readonly<{
4916
4813
  default(): unknown;
4917
4814
  prev(props: {
4918
4815
  disabled: boolean;
@@ -4958,7 +4855,7 @@ declare function __VLS_template_73(): Readonly<{
4958
4855
  }): unknown;
4959
4856
  };
4960
4857
 
4961
- declare function __VLS_template_74(): Readonly<{
4858
+ declare function __VLS_template_73(): Readonly<{
4962
4859
  default(props: {
4963
4860
  item: TaoStageItem;
4964
4861
  index: number;
@@ -5764,15 +5661,6 @@ declare type __VLS_TypePropsToRuntimeProps_86<T> = {
5764
5661
  };
5765
5662
  };
5766
5663
 
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
-
5776
5664
  declare type __VLS_TypePropsToRuntimeProps_9<T> = {
5777
5665
  [K in keyof T]-?: {} extends Pick<T, K> ? {
5778
5666
  type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
@@ -6185,61 +6073,61 @@ declare type __VLS_WithDefaults_7<P, D> = {
6185
6073
  };
6186
6074
 
6187
6075
  declare type __VLS_WithDefaults_70<P, D> = {
6188
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_70<P[K] & {
6076
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_71<P[K] & {
6189
6077
  default: D[K];
6190
6078
  }> : P[K];
6191
6079
  };
6192
6080
 
6193
6081
  declare type __VLS_WithDefaults_71<P, D> = {
6194
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_71<P[K] & {
6082
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_72<P[K] & {
6195
6083
  default: D[K];
6196
6084
  }> : P[K];
6197
6085
  };
6198
6086
 
6199
6087
  declare type __VLS_WithDefaults_72<P, D> = {
6200
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_72<P[K] & {
6088
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_73<P[K] & {
6201
6089
  default: D[K];
6202
6090
  }> : P[K];
6203
6091
  };
6204
6092
 
6205
6093
  declare type __VLS_WithDefaults_73<P, D> = {
6206
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_73<P[K] & {
6094
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_74<P[K] & {
6207
6095
  default: D[K];
6208
6096
  }> : P[K];
6209
6097
  };
6210
6098
 
6211
6099
  declare type __VLS_WithDefaults_74<P, D> = {
6212
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_74<P[K] & {
6100
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_75<P[K] & {
6213
6101
  default: D[K];
6214
6102
  }> : P[K];
6215
6103
  };
6216
6104
 
6217
6105
  declare type __VLS_WithDefaults_75<P, D> = {
6218
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_75<P[K] & {
6106
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_76<P[K] & {
6219
6107
  default: D[K];
6220
6108
  }> : P[K];
6221
6109
  };
6222
6110
 
6223
6111
  declare type __VLS_WithDefaults_76<P, D> = {
6224
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_76<P[K] & {
6112
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_77<P[K] & {
6225
6113
  default: D[K];
6226
6114
  }> : P[K];
6227
6115
  };
6228
6116
 
6229
6117
  declare type __VLS_WithDefaults_77<P, D> = {
6230
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_77<P[K] & {
6118
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_78<P[K] & {
6231
6119
  default: D[K];
6232
6120
  }> : P[K];
6233
6121
  };
6234
6122
 
6235
6123
  declare type __VLS_WithDefaults_78<P, D> = {
6236
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_78<P[K] & {
6124
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_79<P[K] & {
6237
6125
  default: D[K];
6238
6126
  }> : P[K];
6239
6127
  };
6240
6128
 
6241
6129
  declare type __VLS_WithDefaults_79<P, D> = {
6242
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_79<P[K] & {
6130
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_80<P[K] & {
6243
6131
  default: D[K];
6244
6132
  }> : P[K];
6245
6133
  };
@@ -6251,12 +6139,6 @@ declare type __VLS_WithDefaults_8<P, D> = {
6251
6139
  };
6252
6140
 
6253
6141
  declare type __VLS_WithDefaults_80<P, D> = {
6254
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_80<P[K] & {
6255
- default: D[K];
6256
- }> : P[K];
6257
- };
6258
-
6259
- declare type __VLS_WithDefaults_81<P, D> = {
6260
6142
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_81<P[K] & {
6261
6143
  default: D[K];
6262
6144
  }> : P[K];
@@ -6694,12 +6576,6 @@ declare type __VLS_WithTemplateSlots_73<T, S> = T & {
6694
6576
  };
6695
6577
  };
6696
6578
 
6697
- declare type __VLS_WithTemplateSlots_74<T, S> = T & {
6698
- new (): {
6699
- $slots: S;
6700
- };
6701
- };
6702
-
6703
6579
  declare type __VLS_WithTemplateSlots_8<T, S> = T & {
6704
6580
  new (): {
6705
6581
  $slots: S;
@@ -7114,6 +6990,13 @@ declare interface Props_17 {
7114
6990
  newTab?: boolean;
7115
6991
  private?: boolean;
7116
6992
  exactPath?: boolean;
6993
+ /**
6994
+ * Underline: `always` (the default: in a line of text a link must not rest on colour alone), `hover` (only under the pointer
6995
+ * and the keyboard focus: for a link that is clear from its place, a menu, a card title), `none`.
6996
+ * Подчёркивание: `always` (по умолчанию: в строке текста ссылка не должна держаться на одном цвете), `hover` (только под
6997
+ * курсором и фокусом: ссылка, понятная по месту, пункт меню, заголовок карточки), `none`.
6998
+ */
6999
+ underline?: 'always' | 'hover' | 'none';
7117
7000
  }
7118
7001
 
7119
7002
  declare interface Props_18 {
@@ -7123,6 +7006,8 @@ declare interface Props_18 {
7123
7006
  newTab?: boolean;
7124
7007
  private?: boolean;
7125
7008
  exactPath?: boolean;
7009
+ /** As in TaoLink; here `none`: the card is the sign of a link, not the line. / Как у TaoLink; здесь `none`: ссылку показывает карточка, а не линия. */
7010
+ underline?: 'always' | 'hover' | 'none';
7126
7011
  }
7127
7012
 
7128
7013
  declare interface Props_19 {
@@ -7381,7 +7266,7 @@ export declare type TaoAnchor = HTMLElement | TaoVirtualAnchor;
7381
7266
 
7382
7267
  export declare const TaoAnimatedBorder: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, ReturnType<typeof __VLS_template_31>>;
7383
7268
 
7384
- export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_83<{
7269
+ export declare const TaoAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_82<{
7385
7270
  src?: string;
7386
7271
  name?: string;
7387
7272
  alt?: string;
@@ -7406,7 +7291,7 @@ size: string;
7406
7291
  dot: boolean;
7407
7292
  count: undefined;
7408
7293
  dotLabels: () => {};
7409
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_83<{
7294
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_76<__VLS_TypePropsToRuntimeProps_82<{
7410
7295
  src?: string;
7411
7296
  name?: string;
7412
7297
  alt?: string;
@@ -7445,10 +7330,10 @@ declare type TaoAvatarDot = TaoTone;
7445
7330
 
7446
7331
  export declare const TaoBlock: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
7447
7332
 
7448
- export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_78<__VLS_TypePropsToRuntimeProps_84<{
7333
+ export declare const TaoBreadcrumb: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_83<{
7449
7334
  items: TaoBreadcrumbItem[];
7450
7335
  ariaLabel?: string;
7451
- }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_78<__VLS_TypePropsToRuntimeProps_84<{
7336
+ }>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_77<__VLS_TypePropsToRuntimeProps_83<{
7452
7337
  items: TaoBreadcrumbItem[];
7453
7338
  ariaLabel?: string;
7454
7339
  }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -7464,7 +7349,7 @@ export declare const TaoCalendar: __VLS_WithTemplateSlots_58<typeof __VLS_compon
7464
7349
 
7465
7350
  export declare const TaoCard: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, ReturnType<typeof __VLS_template_7>>;
7466
7351
 
7467
- export declare const TaoCarousel: __VLS_WithTemplateSlots_73<typeof __VLS_component_73, ReturnType<typeof __VLS_template_73>>;
7352
+ export declare const TaoCarousel: __VLS_WithTemplateSlots_72<typeof __VLS_component_72, ReturnType<typeof __VLS_template_72>>;
7468
7353
 
7469
7354
  /** The colours a chart library needs, resolved to `rgb()` / `rgba()` strings. / Цвета для библиотеки графиков в rgb(). */
7470
7355
  export declare interface TaoChartTheme {
@@ -7755,13 +7640,13 @@ export declare const TaoContextMenu: __VLS_WithTemplateSlots_49<typeof __VLS_com
7755
7640
 
7756
7641
  export declare const TaoCopy: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, ReturnType<typeof __VLS_template_16>>;
7757
7642
 
7758
- export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_79<__VLS_TypePropsToRuntimeProps_85<{
7643
+ export declare const TaoCounter: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_78<__VLS_TypePropsToRuntimeProps_84<{
7759
7644
  value?: number;
7760
7645
  maxDigits?: number;
7761
7646
  }>, {
7762
7647
  value: number;
7763
7648
  maxDigits: number;
7764
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_79<__VLS_TypePropsToRuntimeProps_85<{
7649
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_78<__VLS_TypePropsToRuntimeProps_84<{
7765
7650
  value?: number;
7766
7651
  maxDigits?: number;
7767
7652
  }>, {
@@ -7863,11 +7748,11 @@ export declare interface TaoDonutSegment {
7863
7748
  color?: string;
7864
7749
  }
7865
7750
 
7866
- export declare const TaoDrawer: __VLS_WithTemplateSlots_72<typeof __VLS_component_72, ReturnType<typeof __VLS_template_72>>;
7751
+ export declare const TaoDrawer: __VLS_WithTemplateSlots_71<typeof __VLS_component_71, ReturnType<typeof __VLS_template_71>>;
7867
7752
 
7868
7753
  export declare const TaoDropdownMenu: __VLS_WithTemplateSlots_37<typeof __VLS_component_37, ReturnType<typeof __VLS_template_37>>;
7869
7754
 
7870
- export declare const TaoEmpty: __VLS_WithTemplateSlots_69<typeof __VLS_component_69, ReturnType<typeof __VLS_template_69>>;
7755
+ export declare const TaoEmpty: __VLS_WithTemplateSlots_68<typeof __VLS_component_68, ReturnType<typeof __VLS_template_68>>;
7871
7756
 
7872
7757
  export declare const TaoFieldset: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, ReturnType<typeof __VLS_template_30>>;
7873
7758
 
@@ -8018,9 +7903,9 @@ export declare type TaoLength = number | string;
8018
7903
 
8019
7904
  export declare const TaoLink: __VLS_WithTemplateSlots_50<typeof __VLS_component_50, ReturnType<typeof __VLS_template_50>>;
8020
7905
 
8021
- export declare const TaoList: __VLS_WithTemplateSlots_70<typeof __VLS_component_70, ReturnType<typeof __VLS_template_70>>;
7906
+ export declare const TaoList: __VLS_WithTemplateSlots_69<typeof __VLS_component_69, ReturnType<typeof __VLS_template_69>>;
8022
7907
 
8023
- export declare const TaoListItem: __VLS_WithTemplateSlots_71<typeof __VLS_component_71, ReturnType<typeof __VLS_template_71>>;
7908
+ export declare const TaoListItem: __VLS_WithTemplateSlots_70<typeof __VLS_component_70, ReturnType<typeof __VLS_template_70>>;
8024
7909
 
8025
7910
  export declare const TaoLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_27<Props_11>, {
8026
7911
  variant: string;
@@ -8476,7 +8361,7 @@ export declare interface TaoNavItem {
8476
8361
  */
8477
8362
  export declare type TaoNavLayout = 'auto' | 'bar' | 'rail' | 'drawer';
8478
8363
 
8479
- export declare const TaoPagination: __VLS_WithTemplateSlots_68<typeof __VLS_component_68, ReturnType<typeof __VLS_template_68>>;
8364
+ export declare const TaoPagination: __VLS_WithTemplateSlots_67<typeof __VLS_component_67, ReturnType<typeof __VLS_template_67>>;
8480
8365
 
8481
8366
  export declare type TaoPaginationItem = {
8482
8367
  type: 'page';
@@ -8830,7 +8715,7 @@ export declare interface TaoSelectOption {
8830
8715
  /** One size scale for every control. / Единая шкала размеров для всех контролов. */
8831
8716
  export declare type TaoSize = 'small' | 'medium' | 'large';
8832
8717
 
8833
- export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_81<{
8718
+ export declare const TaoSkeleton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_80<{
8834
8719
  variant?: "text" | "title" | "circle" | "rect";
8835
8720
  lines?: number;
8836
8721
  width?: string;
@@ -8840,7 +8725,7 @@ variant: string;
8840
8725
  lines: number;
8841
8726
  width: string;
8842
8727
  height: string;
8843
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_75<__VLS_TypePropsToRuntimeProps_81<{
8728
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_74<__VLS_TypePropsToRuntimeProps_80<{
8844
8729
  variant?: "text" | "title" | "circle" | "rect";
8845
8730
  lines?: number;
8846
8731
  width?: string;
@@ -9039,7 +8924,7 @@ export declare interface TaoStageItem {
9039
8924
  status?: TaoStageStatus;
9040
8925
  }
9041
8926
 
9042
- export declare const TaoStages: __VLS_WithTemplateSlots_74<typeof __VLS_component_74, ReturnType<typeof __VLS_template_74>>;
8927
+ export declare const TaoStages: __VLS_WithTemplateSlots_73<typeof __VLS_component_73, ReturnType<typeof __VLS_template_73>>;
9043
8928
 
9044
8929
  export declare type TaoStageStatus = 'wait' | 'work' | 'ok' | 'bad';
9045
8930
 
@@ -9071,19 +8956,97 @@ export declare interface TaoTabItem {
9071
8956
  disabled?: boolean;
9072
8957
  }
9073
8958
 
9074
- export declare const TaoTable: __VLS_WithTemplateSlots_67<typeof __VLS_component_67, ReturnType<typeof __VLS_template_67>>;
8959
+ export declare const TaoTable: <T extends object = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify_70<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8960
+ props: __VLS_Prettify_70<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
8961
+ readonly onChange?: ((value: TaoTableSort | null) => any) | undefined;
8962
+ readonly "onUpdate:sort"?: ((value: TaoTableSort | null) => any) | undefined;
8963
+ readonly "onRow-click"?: ((row: T, index: number) => any) | undefined;
8964
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>) & {
8965
+ /** `T` is inferred from `rows`: an interface, a class or a plain object. / `T` берётся из `rows`: interface, класс или обычный объект. */
8966
+ columns: readonly TaoTableColumn<NoInfer<T>>[];
8967
+ rows?: readonly T[];
8968
+ rowKey?: TaoTableRowKey<T>;
8969
+ loading?: boolean;
8970
+ emptyText?: string;
8971
+ /** Зебра. `true` / `odd` — с первой строки, `even` — со второй. */
8972
+ striped?: boolean | "odd" | "even";
8973
+ /** Cell padding and text; also the size of controls inside cells. Without it — the size of ancestors. / Отступы и текст ячеек, заодно размер контролов в ячейках. Без него — размер предков. */
8974
+ size?: TaoSize;
8975
+ hover?: boolean;
8976
+ /** Подсветка шапки. */
8977
+ head?: boolean;
8978
+ /** Горизонтальные линии между рядами. */
8979
+ lines?: boolean;
8980
+ sticky?: boolean;
8981
+ /** Number — px, string — any CSS length. / Число — px, строка — любая CSS-длина. */
8982
+ maxHeight?: TaoLength;
8983
+ clickable?: boolean;
8984
+ sort?: TaoTableSort | null;
8985
+ caption?: string;
8986
+ /** The outer frame; not set, it follows the frames context (`.tao-frames-soft`). / Внешняя рамка; не задан — идёт за контекстом рамок. */
8987
+ bordered?: boolean;
8988
+ /**
8989
+ * The table is never narrower than this (a number is px, a string any CSS length); in a narrower place it scrolls sideways
8990
+ * instead of squeezing its columns into words. Not under `stack` cards.
8991
+ * Таблица не уже этого (число — px, строка — любая CSS-длина); в более узком месте она прокручивается вбок, а не сжимает колонки
8992
+ * в столбики. В карточках `stack` не действует.
8993
+ */
8994
+ minWidth?: TaoLength;
8995
+ /**
8996
+ * In a place narrower than 600px (the width of the table itself, not of the window) every row turns into a card: each cell is
8997
+ * shown under its column label. No JavaScript: a container query.
8998
+ * В месте уже 600px (ширина самой таблицы, не окна) каждая строка становится карточкой: ячейка под подписью своей колонки.
8999
+ * Без JavaScript: контейнерный запрос.
9000
+ */
9001
+ stack?: boolean;
9002
+ }, keyof VNodeProps | keyof AllowedComponentProps>> & {} & (VNodeProps & AllowedComponentProps & ComponentCustomProps);
9003
+ expose(exposed: ShallowUnwrapRef< {}>): void;
9004
+ attrs: any;
9005
+ slots: ReturnType<() => Partial<Record<`cell-${string}`, (_: {
9006
+ row: T;
9007
+ column: TaoTableColumn<NoInfer<T>>;
9008
+ value: unknown;
9009
+ index: number;
9010
+ }) => any>> & {
9011
+ empty?(_: {}): any;
9012
+ cell?(_: {
9013
+ row: T;
9014
+ column: TaoTableColumn<NoInfer<T>>;
9015
+ value: unknown;
9016
+ index: number;
9017
+ }): any;
9018
+ loading?(_: {}): any;
9019
+ }>;
9020
+ emit: ((evt: "change", value: TaoTableSort | null) => void) & ((evt: "update:sort", value: TaoTableSort | null) => void) & ((evt: "row-click", row: T, index: number) => void);
9021
+ }>) => VNode & {
9022
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
9023
+ };
9075
9024
 
9076
9025
  export declare type TaoTableAlign = 'left' | 'center' | 'right';
9077
9026
 
9078
- export declare interface TaoTableColumn<T extends Record<string, unknown> = Record<string, unknown>> {
9027
+ /**
9028
+ * A column. `T` is the type of a row: an interface or a class will do (the rows were `Record<string, unknown>[]`, which an interface
9029
+ * does not satisfy). Without `T` (`TaoTableColumn[]`) the column goes with rows of any type.
9030
+ * Колонка. `T` — тип строки: подойдёт и interface, и класс (строки были `Record<string, unknown>[]`, а interface к такому типу не
9031
+ * приводится). Без `T` (`TaoTableColumn[]`) колонка идёт с любыми строками.
9032
+ */
9033
+ export declare interface TaoTableColumn<T extends object = any> {
9079
9034
  key: string;
9080
9035
  label: string;
9081
9036
  align?: TaoTableAlign;
9082
9037
  width?: string | number;
9083
9038
  sortable?: boolean;
9084
- value?: (row: T) => unknown;
9039
+ /** No line break in the cells of this column (a code, a date, a flag); in the cards of `stack` they wrap again. / Без переноса строк в ячейках колонки (код, дата, флаг); в карточках `stack` перенос возвращается. */
9040
+ nowrap?: boolean;
9041
+ /** The column is never narrower than this (a number is px, a string any CSS length). / Колонка не уже этого (число — px, строка — любая CSS-длина). */
9042
+ minWidth?: string | number;
9043
+ /** What the cell shows instead of `row[key]`. / Что показать в ячейке вместо `row[key]`. */
9044
+ value?(row: T): unknown;
9085
9045
  }
9086
9046
 
9047
+ /** A row key: the name of a field (`'id'`) or a function; a number or a string. / Ключ строки: имя поля или функция. */
9048
+ export declare type TaoTableRowKey<T extends object = any> = string | ((row: T, index: number) => string | number);
9049
+
9087
9050
  export declare interface TaoTableSort {
9088
9051
  key: string;
9089
9052
  dir: 'asc' | 'desc';