urfu-ui-kit-vue 0.0.6 → 0.0.8

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
@@ -115,14 +115,19 @@ pageSizeChange: (size: number) => any;
115
115
  onPageChange?: ((page: number) => any) | undefined;
116
116
  onPageSizeChange?: ((size: number) => any) | undefined;
117
117
  }>, {
118
- marginTop: number;
118
+ marginTop: number | string;
119
119
  dataLength: number;
120
120
  pageWindow: number;
121
121
  pageSizeOptions: number[];
122
122
  hideResults: boolean;
123
123
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
124
124
 
125
- declare const __VLS_component_11: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
125
+ declare const __VLS_component_11: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
126
+ title: string;
127
+ id: string;
128
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
129
+
130
+ declare const __VLS_component_12: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
126
131
  hide: () => any;
127
132
  fadeOutEnd: () => any;
128
133
  }, string, PublicProps, Readonly<Props_14> & Readonly<{
@@ -134,20 +139,21 @@ right: string;
134
139
  variant: NotificationVariant_2;
135
140
  top: string;
136
141
  zIndex: string;
137
- autoHide: boolean;
138
142
  duration: number;
143
+ autoHide: boolean;
139
144
  fadeOutDuration: number;
140
145
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
141
146
 
142
- declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
147
+ declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
143
148
 
144
- declare const __VLS_component_13: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
149
+ declare const __VLS_component_14: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
145
150
  className: string;
151
+ mobileFixed: boolean;
146
152
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
147
153
  barRef: HTMLElement;
148
154
  }, HTMLElement>;
149
155
 
150
- declare const __VLS_component_14: DefineComponent<Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
156
+ declare const __VLS_component_15: DefineComponent<Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
151
157
  cancel: () => any;
152
158
  }, string, PublicProps, Readonly<Props_21> & Readonly<{
153
159
  onCancel?: (() => any) | undefined;
@@ -156,16 +162,21 @@ active: boolean;
156
162
  ariaLabel: string;
157
163
  maxHeight: string;
158
164
  height: string;
159
- className: string;
160
165
  maxWidth: string;
161
- notCloseClickOnBack: boolean;
166
+ portalOn: boolean;
162
167
  ariaLabelledby: string;
168
+ className: string;
169
+ notCloseClickOnBack: boolean;
163
170
  closeOnEscape: boolean;
171
+ closeButtonInside: boolean;
172
+ trapFocus: boolean;
164
173
  lockScroll: boolean;
165
174
  unmountOnClose: boolean;
166
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
175
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
176
+ bodyRef: HTMLDivElement;
177
+ }, any>;
167
178
 
168
- declare const __VLS_component_15: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
179
+ declare const __VLS_component_16: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
169
180
  applySort: (field: string | undefined, dir: "desc" | "asc" | undefined) => any;
170
181
  setSortField: (field: string) => any;
171
182
  toggleSortDir: () => any;
@@ -187,7 +198,7 @@ mobileSortStyle: "select" | "segments" | "menu";
187
198
  mobileCardCollapsible: boolean;
188
199
  mobileCardLabels: boolean;
189
200
  mobileMaxVisible: number;
190
- mobileCardColumns: 1 | 2;
201
+ mobileCardColumns: 1 | 2 | 3;
191
202
  mobileCardGap: number | string;
192
203
  mobileCardDivider: boolean;
193
204
  mobileCardFlat: boolean;
@@ -196,12 +207,13 @@ sortMenuRef: HTMLDivElement;
196
207
  sortSegRef: HTMLDivElement;
197
208
  }, HTMLDivElement>;
198
209
 
199
- declare const __VLS_component_16: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
210
+ declare const __VLS_component_17: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
200
211
  flat: boolean;
201
212
  body: MobileField[];
202
213
  details: MobileField[];
203
214
  title: undefined;
204
215
  inline: MobileField[];
216
+ columns: 1 | 2 | 3;
205
217
  showLabels: boolean;
206
218
  titleLabel: undefined;
207
219
  titleHideLabel: boolean;
@@ -210,9 +222,24 @@ titleLabelColor: string;
210
222
  subtitle: undefined;
211
223
  subtitleColor: string;
212
224
  divider: boolean;
213
- columns: 1 | 2;
214
225
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
215
226
 
227
+ declare const __VLS_component_18: DefineComponent<ConfirmModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
228
+ cancel: () => any;
229
+ confirm: () => any;
230
+ }, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{
231
+ onCancel?: (() => any) | undefined;
232
+ onConfirm?: (() => any) | undefined;
233
+ }>, {
234
+ portalOn: boolean;
235
+ trapFocus: boolean;
236
+ description: string;
237
+ confirmText: string;
238
+ cancelText: string;
239
+ confirmVariant: ButtonVariant_2;
240
+ confirmDisabled: boolean;
241
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
242
+
216
243
  declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
217
244
  change: (event: Event) => any;
218
245
  click: (event: MouseEvent) => any;
@@ -264,6 +291,7 @@ declare const __VLS_component_5: DefineComponent<__VLS_Props_4, {}, {}, {}, {},
264
291
  variant: StatusVariant;
265
292
  size: StatusSize;
266
293
  id: string;
294
+ truncate: boolean;
267
295
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
268
296
 
269
297
  declare const __VLS_component_6: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
@@ -272,7 +300,7 @@ position: TooltipPosition;
272
300
  tooltipText: string;
273
301
  isActive: boolean;
274
302
  showWhenActive: boolean;
275
- tooltipStyle: Record<string, string>;
303
+ tooltipStyle: CSSProperties;
276
304
  autoPosition: boolean;
277
305
  fullWidth: boolean;
278
306
  portalOn: boolean;
@@ -281,7 +309,20 @@ tooltipRef: HTMLDivElement;
281
309
  triggerRef: HTMLSpanElement;
282
310
  }, HTMLDivElement>;
283
311
 
284
- declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
312
+ declare const __VLS_component_7: DefineComponent<CardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
313
+ toggle: (value: boolean) => any;
314
+ "update:open": (value: boolean) => any;
315
+ }, string, PublicProps, Readonly<CardProps> & Readonly<{
316
+ onToggle?: ((value: boolean) => any) | undefined;
317
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
318
+ }>, {
319
+ header: string;
320
+ open: boolean;
321
+ className: string;
322
+ bordered: boolean;
323
+ collapsible: boolean;
324
+ defaultOpen: boolean;
325
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
285
326
 
286
327
  declare const __VLS_component_8: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_9> & Readonly<{}>, {
287
328
  error: string | boolean;
@@ -289,9 +330,9 @@ title: string;
289
330
  required: boolean;
290
331
  inline: boolean;
291
332
  gap: string | number;
333
+ className: string;
292
334
  hint: string;
293
335
  htmlFor: string;
294
- className: string;
295
336
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
296
337
 
297
338
  declare const __VLS_component_9: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
@@ -303,6 +344,10 @@ declare type __VLS_PrettifyLocal<T> = {
303
344
  [K in keyof T]: T[K];
304
345
  } & {};
305
346
 
347
+ declare type __VLS_PrettifyLocal_2<T> = {
348
+ [K in keyof T]: T[K];
349
+ } & {};
350
+
306
351
  declare type __VLS_Props = {
307
352
  /** Управляемое состояние через v-model. */
308
353
  modelValue?: boolean;
@@ -354,6 +399,7 @@ declare type __VLS_Props_4 = {
354
399
  size?: StatusSize;
355
400
  /** HTML id элемента. */
356
401
  id?: string;
402
+ truncate?: boolean;
357
403
  };
358
404
 
359
405
  declare type __VLS_Props_5 = {
@@ -368,16 +414,16 @@ declare type __VLS_Props_5 = {
368
414
  /** HTML id для элемента подсказки. */
369
415
  id?: string;
370
416
  /** Дополнительные inline-стили для элемента подсказки. */
371
- tooltipStyle?: Record<string, string>;
417
+ tooltipStyle?: CSSProperties;
372
418
  /**
373
419
  * Автоматически определять позицию по доступному месту в viewport.
374
- * Приоритет fallback: top → right → bottom → left.
420
+ * Сначала запрошенная сторона, затем противоположная и остальные стороны.
375
421
  * Если включено — `position` используется только как стартовая попытка.
376
422
  */
377
423
  autoPosition?: boolean;
378
424
  /**
379
425
  * Растянуть обёртку и триггер на всю ширину контейнера. Нужно, когда подсказкой
380
- * оборачивается поле ввода: по умолчанию обёртка `inline-block` сжимается по
426
+ * оборачивается поле ввода: по умолчанию обёртка `inline-flex` сжимается по
381
427
  * контенту, и поле внутри получает `width: 100%` от сжатой обёртки.
382
428
  */
383
429
  fullWidth?: boolean;
@@ -422,10 +468,12 @@ declare type __VLS_Props_7 = {
422
468
  mobileCardCollapsible?: boolean;
423
469
  mobileCardLabels?: boolean;
424
470
  mobileMaxVisible?: number;
425
- mobileCardColumns?: 1 | 2;
471
+ mobileCardColumns?: 1 | 2 | 3;
426
472
  mobileCardGap?: number | string;
427
473
  mobileCardDivider?: boolean;
428
474
  mobileCardFlat?: boolean;
475
+ mobileCardInset?: boolean;
476
+ mobileCardDensity?: 'normal' | 'compact';
429
477
  };
430
478
 
431
479
  /**
@@ -447,7 +495,9 @@ declare type __VLS_Props_8 = {
447
495
  flat?: boolean;
448
496
  divider?: boolean;
449
497
  showLabels?: boolean;
450
- columns?: 1 | 2;
498
+ columns?: 1 | 2 | 3;
499
+ inset?: boolean;
500
+ density?: 'normal' | 'compact';
451
501
  };
452
502
 
453
503
  declare function __VLS_template(): {
@@ -479,7 +529,7 @@ declare function __VLS_template_11(): {
479
529
  default?(_: {}): any;
480
530
  };
481
531
  refs: {};
482
- rootEl: any;
532
+ rootEl: HTMLDivElement;
483
533
  };
484
534
 
485
535
  declare function __VLS_template_12(): {
@@ -492,6 +542,15 @@ declare function __VLS_template_12(): {
492
542
  };
493
543
 
494
544
  declare function __VLS_template_13(): {
545
+ attrs: Partial<{}>;
546
+ slots: {
547
+ default?(_: {}): any;
548
+ };
549
+ refs: {};
550
+ rootEl: any;
551
+ };
552
+
553
+ declare function __VLS_template_14(): {
495
554
  attrs: Partial<{}>;
496
555
  slots: {
497
556
  default?(_: {}): any;
@@ -502,19 +561,22 @@ declare function __VLS_template_13(): {
502
561
  rootEl: HTMLElement;
503
562
  };
504
563
 
505
- declare function __VLS_template_14(): {
564
+ declare function __VLS_template_15(): {
506
565
  attrs: Partial<{}>;
507
566
  slots: {
508
567
  default?(_: {}): any;
509
568
  };
510
- refs: {};
569
+ refs: {
570
+ bodyRef: HTMLDivElement;
571
+ };
511
572
  rootEl: any;
512
573
  };
513
574
 
514
- declare function __VLS_template_15(): {
575
+ declare function __VLS_template_16(): {
515
576
  attrs: Partial<{}>;
516
577
  slots: {
517
578
  'mobile-toolbar'?(_: {}): any;
579
+ empty?(_: {}): any;
518
580
  'mobile-card'?(_: {
519
581
  key: string;
520
582
  row: TableRow;
@@ -528,7 +590,7 @@ declare function __VLS_template_15(): {
528
590
  rootEl: HTMLDivElement;
529
591
  };
530
592
 
531
- declare function __VLS_template_16(): {
593
+ declare function __VLS_template_17(): {
532
594
  attrs: Partial<{}>;
533
595
  slots: {
534
596
  titleLabel?(_: {}): any;
@@ -538,6 +600,15 @@ declare function __VLS_template_16(): {
538
600
  rootEl: HTMLDivElement;
539
601
  };
540
602
 
603
+ declare function __VLS_template_18(): {
604
+ attrs: Partial<{}>;
605
+ slots: {
606
+ description?(_: {}): any;
607
+ };
608
+ refs: {};
609
+ rootEl: any;
610
+ };
611
+
541
612
  declare function __VLS_template_2(): {
542
613
  attrs: Partial<{}>;
543
614
  slots: {
@@ -571,6 +642,7 @@ declare function __VLS_template_5(): {
571
642
  attrs: Partial<{}>;
572
643
  slots: {
573
644
  default?(_: {}): any;
645
+ default?(_: {}): any;
574
646
  };
575
647
  refs: {};
576
648
  rootEl: HTMLDivElement;
@@ -592,6 +664,9 @@ declare function __VLS_template_6(): {
592
664
  declare function __VLS_template_7(): {
593
665
  attrs: Partial<{}>;
594
666
  slots: {
667
+ header?(_: {}): any;
668
+ default?(_: {}): any;
669
+ default?(_: {}): any;
595
670
  default?(_: {}): any;
596
671
  };
597
672
  refs: {};
@@ -632,6 +707,10 @@ declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
632
707
 
633
708
  declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
634
709
 
710
+ declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
711
+
712
+ declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
713
+
635
714
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
636
715
 
637
716
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -720,6 +799,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
720
799
  };
721
800
  };
722
801
 
802
+ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
803
+ new (): {
804
+ $slots: S;
805
+ };
806
+ };
807
+
723
808
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
724
809
  new (): {
725
810
  $slots: S;
@@ -762,12 +847,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
762
847
  };
763
848
  };
764
849
 
765
- export declare const Accordion: __VLS_WithTemplateSlots_12<DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
766
- title: string;
767
- id: string;
768
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
769
- default?(_: {}): any;
770
- }>;
850
+ export declare const Accordion: __VLS_WithTemplateSlots_12<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
771
851
 
772
852
  export declare type BordersType = 'horizontal' | 'vertical' | 'none' | 'both';
773
853
 
@@ -794,6 +874,8 @@ declare type ButtonType = typeof BUTTON_TYPES[number];
794
874
 
795
875
  declare type ButtonVariant = typeof VARIANTS[number];
796
876
 
877
+ declare type ButtonVariant_2 = typeof VARIANTS[number];
878
+
797
879
  export declare const Calendar: DefineComponent<Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
798
880
  "update:modelValue": (value: Date | null) => any;
799
881
  "update:optionState": (value: string) => any;
@@ -807,20 +889,29 @@ title: string;
807
889
  modelValue: Date | null;
808
890
  id: string;
809
891
  placeholder: string;
810
- styleInputContainer: Record<string, string>;
811
- styleTitle: Record<string, string>;
812
892
  rowGap: string | number;
813
893
  columnGap: string | number;
894
+ styleInputContainer: CSSProperties;
895
+ styleTitle: CSSProperties;
896
+ validationText: string;
814
897
  tooltipMaxWidth: string | number;
815
898
  hintText: string;
816
899
  wheelEdit: boolean;
817
900
  showHint: boolean;
818
- validationText: string;
819
901
  className: string;
820
902
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
821
903
 
822
904
  export declare const Card: __VLS_WithTemplateSlots_8<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
823
905
 
906
+ export declare interface CardProps {
907
+ className?: string;
908
+ bordered?: boolean;
909
+ collapsible?: boolean;
910
+ header?: string;
911
+ defaultOpen?: boolean;
912
+ open?: boolean;
913
+ }
914
+
824
915
  /** Тип для слота #cell / #cell-${field}. */
825
916
  export declare interface CellSlotProps<TRow extends TableRow = TableRow> {
826
917
  row: TRow;
@@ -833,13 +924,17 @@ export declare const Checkbox: __VLS_WithTemplateSlots_2<typeof __VLS_component_
833
924
  export declare const ColumnSettings: DefineComponent<ColumnSettingsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
834
925
  "update:visible": (value: Set<string>) => any;
835
926
  "update:pinned": (value: Set<string>) => any;
927
+ "update:order": (value: string[]) => any;
836
928
  }, string, PublicProps, Readonly<ColumnSettingsProps> & Readonly<{
837
929
  "onUpdate:visible"?: ((value: Set<string>) => any) | undefined;
838
930
  "onUpdate:pinned"?: ((value: Set<string>) => any) | undefined;
931
+ "onUpdate:order"?: ((value: string[]) => any) | undefined;
839
932
  }>, {
840
933
  icon: IconName;
841
934
  variant: ColumnSettingsVariant;
842
935
  title: string;
936
+ order: readonly string[];
937
+ reorderable: boolean;
843
938
  pinned: ReadonlySet<string> | readonly string[];
844
939
  pinLabel: string;
845
940
  buttonLabel: string;
@@ -861,6 +956,8 @@ export declare interface ColumnSettingsOption {
861
956
  export declare interface ColumnSettingsProps {
862
957
  options: readonly ColumnSettingsOption[];
863
958
  visible: ReadonlySet<string> | readonly string[];
959
+ order?: readonly string[];
960
+ reorderable?: boolean;
864
961
  pinned?: ReadonlySet<string> | readonly string[];
865
962
  pinLabel?: string;
866
963
  variant?: ColumnSettingsVariant;
@@ -893,10 +990,27 @@ export declare interface ConfigureUiKitOptions {
893
990
  responsive?: UiKitResponsivePreset;
894
991
  }
895
992
 
993
+ export declare const ConfirmModal: __VLS_WithTemplateSlots_20<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
994
+
995
+ export declare interface ConfirmModalProps extends Props_21 {
996
+ title: string;
997
+ description?: string;
998
+ confirmText?: string;
999
+ cancelText?: string;
1000
+ confirmVariant?: ButtonVariant_2;
1001
+ confirmDisabled?: boolean;
1002
+ }
1003
+
896
1004
  export declare type DateSegment = 'day' | 'month' | 'year';
897
1005
 
898
1006
  export declare const DEFAULT_SIZE: ComponentSize;
899
1007
 
1008
+ export declare interface FieldAccessibilityProps {
1009
+ ariaLabel?: string;
1010
+ ariaLabelledby?: string;
1011
+ ariaDescribedby?: string;
1012
+ }
1013
+
900
1014
  export declare interface FilterDateState {
901
1015
  id: string;
902
1016
  type: string;
@@ -954,6 +1068,8 @@ declare type IconName = typeof ICON_NAMES[number];
954
1068
  export declare const incrementDateSegment: (value: string, segment: DateSegment, delta: number) => string;
955
1069
 
956
1070
  declare interface InputBaseProps {
1071
+ styleInputContainer?: CSSProperties;
1072
+ styleTitle?: CSSProperties;
957
1073
  title?: string;
958
1074
  required?: boolean;
959
1075
  disabled?: boolean;
@@ -988,6 +1104,7 @@ errorAbsolute: boolean;
988
1104
  minHeight: string | number;
989
1105
  tableView: boolean;
990
1106
  maxLength: number;
1107
+ counterLayout: "flow" | "gap";
991
1108
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
992
1109
  textareaRef: HTMLTextAreaElement;
993
1110
  }, HTMLDivElement>;
@@ -1006,17 +1123,17 @@ disabled: boolean;
1006
1123
  title: string;
1007
1124
  modelValue: File[];
1008
1125
  id: string;
1009
- required: boolean;
1010
1126
  name: string;
1127
+ required: boolean;
1011
1128
  lineUp: boolean;
1012
1129
  rowGap: string | number;
1013
1130
  columnGap: string | number;
1014
1131
  errorAbsolute: boolean;
1132
+ multiple: boolean;
1015
1133
  loadingInfo: string;
1016
1134
  filesInfo: string;
1017
1135
  sizeInfo: string;
1018
1136
  showLoading: boolean;
1019
- multiple: boolean;
1020
1137
  hideLoaderAfterSelect: number;
1021
1138
  accept: string[];
1022
1139
  maxFileSize: number;
@@ -1037,9 +1154,9 @@ disabled: boolean;
1037
1154
  title: string;
1038
1155
  modelValue: string | number;
1039
1156
  id: string;
1157
+ name: string;
1040
1158
  required: boolean;
1041
1159
  placeholder: string;
1042
- name: string;
1043
1160
  lineUp: boolean;
1044
1161
  rowGap: string | number;
1045
1162
  columnGap: string | number;
@@ -1067,9 +1184,9 @@ disabled: boolean;
1067
1184
  title: string;
1068
1185
  modelValue: string;
1069
1186
  id: string;
1187
+ name: string;
1070
1188
  required: boolean;
1071
1189
  placeholder: string;
1072
- name: string;
1073
1190
  lineUp: boolean;
1074
1191
  rowGap: string | number;
1075
1192
  columnGap: string | number;
@@ -1091,21 +1208,21 @@ disabled: boolean;
1091
1208
  title: string;
1092
1209
  modelValue: string;
1093
1210
  id: string;
1211
+ name: string;
1094
1212
  required: boolean;
1095
1213
  placeholder: string;
1096
- name: string;
1097
- styleInputContainer: Record<string, string>;
1098
- styleTitle: Record<string, string>;
1099
1214
  lineUp: boolean;
1100
1215
  rowGap: string | number;
1101
1216
  columnGap: string | number;
1102
1217
  errorAbsolute: boolean;
1218
+ styleInputContainer: CSSProperties;
1219
+ styleTitle: CSSProperties;
1220
+ styleInput: CSSProperties;
1103
1221
  tooltipMaxWidth: string | number;
1104
1222
  hintText: string;
1105
1223
  isClearable: boolean;
1106
1224
  wheelEdit: boolean;
1107
1225
  showHint: boolean;
1108
- styleInput: Record<string, string>;
1109
1226
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
1110
1227
  rootRef: HTMLDivElement;
1111
1228
  inputRef: HTMLInputElement;
@@ -1149,6 +1266,7 @@ inputRef: HTMLInputElement;
1149
1266
  }, HTMLInputElement>;
1150
1267
 
1151
1268
  export declare const Menu: __VLS_WithTemplateSlots_16<DefineComponent< {
1269
+ id?: string;
1152
1270
  menuData?: MenuDataItem[];
1153
1271
  activeSection?: string | number;
1154
1272
  showMenu?: boolean;
@@ -1164,6 +1282,7 @@ LinkComponent?: Component;
1164
1282
  clickSection: (item: MenuDataItem) => any;
1165
1283
  clickSwitchMenu: (show: boolean) => any;
1166
1284
  }, string, PublicProps, Readonly<{
1285
+ id?: string;
1167
1286
  menuData?: MenuDataItem[];
1168
1287
  activeSection?: string | number;
1169
1288
  showMenu?: boolean;
@@ -1180,14 +1299,14 @@ onClickSection?: ((item: MenuDataItem) => any) | undefined;
1180
1299
  onClickSwitchMenu?: ((show: boolean) => any) | undefined;
1181
1300
  }>, {
1182
1301
  type: "collapsible";
1302
+ maxWidth: string | number;
1303
+ minWidth: string | number;
1183
1304
  className: string;
1184
1305
  menuData: MenuDataItem[];
1185
1306
  activeSection: string | number;
1186
1307
  showMenu: boolean;
1187
1308
  paddingUl: string;
1188
1309
  foldedWidth: string | number;
1189
- maxWidth: string | number;
1190
- minWidth: string | number;
1191
1310
  overlayMaxWidth: number;
1192
1311
  LinkComponent: Component;
1193
1312
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -1230,9 +1349,12 @@ declare interface MobileField {
1230
1349
  headerTooltip?: string;
1231
1350
  /** Длинное значение сворачивается и раскрывается по тапу (`column.mobileCollapsible`). */
1232
1351
  collapsible?: boolean;
1352
+ expandLines?: number;
1353
+ gridSpan?: 2 | 'narrow' | 'full';
1354
+ gridRowSpan?: 2;
1233
1355
  }
1234
1356
 
1235
- export declare const Modal: __VLS_WithTemplateSlots_17<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1357
+ export declare const Modal: __VLS_WithTemplateSlots_17<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1236
1358
 
1237
1359
  /** Названия месяцев для списка в шапке календаря (совпадают с React-китом). */
1238
1360
  export declare const MONTH_NAMES: string[];
@@ -1251,17 +1373,19 @@ size: ComponentSize;
1251
1373
  disabled: boolean;
1252
1374
  title: string;
1253
1375
  modelValue: OptionItem[];
1254
- options: OptionItem[];
1255
1376
  required: boolean;
1377
+ options: OptionItem[];
1256
1378
  placeholder: string;
1379
+ lineUp: boolean;
1257
1380
  portalOn: PortalMode;
1258
- tableView: boolean;
1259
1381
  validationOn: boolean;
1260
1382
  validationText: string;
1383
+ tableView: boolean;
1261
1384
  className: string;
1385
+ loading: boolean;
1262
1386
  absoluteValidationText: boolean;
1387
+ noScroll: boolean;
1263
1388
  isSearchable: boolean;
1264
- loading: boolean;
1265
1389
  withSelectAll: boolean;
1266
1390
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
1267
1391
  triggerRef: HTMLDivElement;
@@ -1271,7 +1395,7 @@ dropdownRef: HTMLDivElement;
1271
1395
 
1272
1396
  export declare function nextSort(current: ListSortState, field: string): ListSortState;
1273
1397
 
1274
- declare const Notification_2: __VLS_WithTemplateSlots_13<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1398
+ declare const Notification_2: __VLS_WithTemplateSlots_13<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1275
1399
  export { Notification_2 as Notification }
1276
1400
 
1277
1401
  export declare type NotificationApi = NotificationService;
@@ -1288,7 +1412,7 @@ declare interface NotificationOptions_2 {
1288
1412
  }
1289
1413
  export { NotificationOptions_2 as NotificationOptions }
1290
1414
 
1291
- export declare const NotificationProvider: __VLS_WithTemplateSlots_14<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1415
+ export declare const NotificationProvider: __VLS_WithTemplateSlots_14<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1292
1416
 
1293
1417
  export declare interface NotificationService {
1294
1418
  showNotification: (options: NotificationOptions_2 | string, message?: VNodeChild, extra?: Partial<NotificationOptions_2>) => string | number;
@@ -1319,7 +1443,7 @@ declare interface PaginationProps {
1319
1443
  pageSizeOptions?: number[];
1320
1444
  hideResults?: boolean;
1321
1445
  /** Внешний отступ сверху (px) — как в React-ките, чтобы не править стили у потребителя. */
1322
- marginTop?: number;
1446
+ marginTop?: number | string;
1323
1447
  }
1324
1448
 
1325
1449
  /** Парсит строку «дд.мм.гггг» в Date (полдень локального времени). null при невалидном вводе. */
@@ -1363,7 +1487,7 @@ declare interface Props_10 {
1363
1487
  pageSizeOptions?: number[];
1364
1488
  hideResults?: boolean;
1365
1489
  /** Внешний отступ сверху, px. Нужен, когда пагинация идёт вплотную к таблице. */
1366
- marginTop?: number;
1490
+ marginTop?: number | string;
1367
1491
  }
1368
1492
 
1369
1493
  declare interface Props_11 {
@@ -1374,6 +1498,7 @@ declare interface Props_12 {
1374
1498
  tabsData?: TabItem[];
1375
1499
  activeTab?: string | number;
1376
1500
  variant?: 'line' | 'segment';
1501
+ fullWidth?: boolean;
1377
1502
  }
1378
1503
 
1379
1504
  declare interface Props_13 {
@@ -1395,17 +1520,23 @@ declare interface Props_14 {
1395
1520
 
1396
1521
  declare interface Props_15 {
1397
1522
  className?: string;
1523
+ mobileFixed?: boolean;
1398
1524
  }
1399
1525
 
1400
1526
  declare interface Props_16 {
1527
+ id?: string;
1401
1528
  placeholder?: string;
1402
1529
  modelValue?: string;
1403
1530
  className?: string;
1404
1531
  disabled?: boolean;
1405
1532
  }
1406
1533
 
1407
- declare interface Props_17 {
1534
+ declare interface Props_17 extends FieldAccessibilityProps {
1535
+ styleSelectContainer?: CSSProperties;
1536
+ styleTitle?: CSSProperties;
1537
+ styleSelect?: CSSProperties;
1408
1538
  title?: string;
1539
+ variant?: 'field' | 'button';
1409
1540
  required?: boolean;
1410
1541
  options?: OptionItem[];
1411
1542
  placeholder?: string;
@@ -1432,7 +1563,11 @@ declare interface Props_17 {
1432
1563
  columnGap?: string | number;
1433
1564
  }
1434
1565
 
1435
- declare interface Props_18 {
1566
+ declare interface Props_18 extends FieldAccessibilityProps {
1567
+ lineUp?: boolean;
1568
+ styleSelectContainer?: CSSProperties;
1569
+ styleTitle?: CSSProperties;
1570
+ styleSelect?: CSSProperties;
1436
1571
  title?: string;
1437
1572
  required?: boolean;
1438
1573
  options?: OptionItem[];
@@ -1453,6 +1588,8 @@ declare interface Props_18 {
1453
1588
  isSearchable?: boolean;
1454
1589
  /** Поле не принимает ввод: список не раскрывается, теги не снимаются. */
1455
1590
  disabled?: boolean;
1591
+ /** Снять ограничение высоты списка; прокрутка страницы не блокируется. */
1592
+ noScroll?: boolean;
1456
1593
  /**
1457
1594
  * Управляемая строка поиска (`v-model:input-value`). Если не передана, компонент
1458
1595
  * держит её сам. Задавать вместе с серверным поиском по событию `inputChange`.
@@ -1468,7 +1605,10 @@ declare interface Props_18 {
1468
1605
  withSelectAll?: boolean;
1469
1606
  }
1470
1607
 
1471
- declare interface Props_19 {
1608
+ declare interface Props_19 extends FieldAccessibilityProps {
1609
+ styleSelectContainer?: CSSProperties;
1610
+ styleTitle?: CSSProperties;
1611
+ styleSelect?: CSSProperties;
1472
1612
  title?: string;
1473
1613
  required?: boolean;
1474
1614
  options?: OptionItem[];
@@ -1507,9 +1647,12 @@ declare interface Props_2 {
1507
1647
  size?: string | number;
1508
1648
  color?: string;
1509
1649
  ariaLabel?: string;
1650
+ rotate?: number;
1510
1651
  }
1511
1652
 
1512
1653
  declare interface Props_20 {
1654
+ styleSelectContainer?: CSSProperties;
1655
+ styleTitle?: CSSProperties;
1513
1656
  title?: string;
1514
1657
  required?: boolean;
1515
1658
  placeholder?: string;
@@ -1539,6 +1682,7 @@ declare interface Props_20 {
1539
1682
 
1540
1683
  declare interface Props_21 {
1541
1684
  active?: boolean;
1685
+ portalOn?: boolean;
1542
1686
  maxWidth?: string;
1543
1687
  maxHeight?: string;
1544
1688
  height?: string;
@@ -1553,6 +1697,10 @@ declare interface Props_21 {
1553
1697
  * потребителей Escape уже занят собственными обработчиками.
1554
1698
  */
1555
1699
  closeOnEscape?: boolean;
1700
+ /** Разместить крестик в контенте и зарезервировать место у заголовка. */
1701
+ closeButtonInside?: boolean;
1702
+ /** Focus stays inside the top modal and returns to its trigger on close. */
1703
+ trapFocus?: boolean;
1556
1704
  /**
1557
1705
  * Блокировать прокрутку страницы под окном. Выключено по умолчанию: приложения
1558
1706
  * работают внутри Qiankun, и стиль `document.body` затрагивает оболочку ЛК целиком.
@@ -1579,7 +1727,7 @@ declare interface Props_22 {
1579
1727
  className?: string;
1580
1728
  }
1581
1729
 
1582
- declare interface Props_23 {
1730
+ declare interface Props_23 extends FieldAccessibilityProps {
1583
1731
  modelValue?: Date | null;
1584
1732
  title?: string;
1585
1733
  placeholder?: string;
@@ -1607,9 +1755,9 @@ declare interface Props_23 {
1607
1755
  disabled?: boolean;
1608
1756
  className?: string;
1609
1757
  /** Inline-стили обёртки заголовка и поля. */
1610
- styleInputContainer?: Record<string, string>;
1758
+ styleInputContainer?: CSSProperties;
1611
1759
  /** Inline-стили заголовка. */
1612
- styleTitle?: Record<string, string>;
1760
+ styleTitle?: CSSProperties;
1613
1761
  /**
1614
1762
  * Редактирование даты колесом мыши, стрелками ↑↓ и переход между сегментами по Enter.
1615
1763
  * По умолчанию выключено — поле работает как обычный masked-input (только ввод).
@@ -1646,7 +1794,8 @@ declare interface Props_24 {
1646
1794
  isClearable?: boolean;
1647
1795
  }
1648
1796
 
1649
- declare interface Props_3 extends InputBaseProps {
1797
+ declare interface Props_3 extends InputBaseProps, FieldAccessibilityProps {
1798
+ styleInput?: CSSProperties;
1650
1799
  modelValue?: string;
1651
1800
  placeholder?: string;
1652
1801
  id?: string;
@@ -1657,14 +1806,16 @@ declare interface Props_3 extends InputBaseProps {
1657
1806
  tableView?: boolean;
1658
1807
  }
1659
1808
 
1660
- declare interface Props_4 extends InputBaseProps {
1809
+ declare interface Props_4 extends InputBaseProps, FieldAccessibilityProps {
1810
+ styleInput?: CSSProperties;
1661
1811
  modelValue?: string;
1662
1812
  placeholder?: string;
1663
1813
  id?: string;
1664
1814
  name?: string;
1665
1815
  }
1666
1816
 
1667
- declare interface Props_5 extends InputBaseProps {
1817
+ declare interface Props_5 extends InputBaseProps, FieldAccessibilityProps {
1818
+ styleInput?: CSSProperties;
1668
1819
  modelValue?: string;
1669
1820
  placeholder?: string;
1670
1821
  id?: string;
@@ -1675,9 +1826,11 @@ declare interface Props_5 extends InputBaseProps {
1675
1826
  minHeight?: string | number;
1676
1827
  maxHeight?: string | number;
1677
1828
  maxLength?: number;
1829
+ /** flow сохраняет высоту счётчика; gap размещает его в промежутке формы. */
1830
+ counterLayout?: 'flow' | 'gap';
1678
1831
  }
1679
1832
 
1680
- declare interface Props_6 extends InputBaseProps {
1833
+ declare interface Props_6 extends InputBaseProps, FieldAccessibilityProps {
1681
1834
  modelValue?: string | number;
1682
1835
  placeholder?: string;
1683
1836
  id?: string;
@@ -1694,7 +1847,7 @@ declare interface Props_6 extends InputBaseProps {
1694
1847
  hintText?: string;
1695
1848
  }
1696
1849
 
1697
- declare interface Props_7 extends InputBaseProps {
1850
+ declare interface Props_7 extends InputBaseProps, FieldAccessibilityProps {
1698
1851
  modelValue?: File[];
1699
1852
  id?: string;
1700
1853
  name?: string;
@@ -1709,7 +1862,7 @@ declare interface Props_7 extends InputBaseProps {
1709
1862
  fileNamePattern?: RegExp;
1710
1863
  }
1711
1864
 
1712
- declare interface Props_8 extends InputBaseProps {
1865
+ declare interface Props_8 extends InputBaseProps, FieldAccessibilityProps {
1713
1866
  modelValue?: string;
1714
1867
  placeholder?: string;
1715
1868
  id?: string;
@@ -1731,11 +1884,11 @@ declare interface Props_8 extends InputBaseProps {
1731
1884
  /** Текст подсказки. */
1732
1885
  hintText?: string;
1733
1886
  /** Inline-стили обёртки заголовка и поля. */
1734
- styleInputContainer?: Record<string, string>;
1887
+ styleInputContainer?: CSSProperties;
1735
1888
  /** Inline-стили заголовка. */
1736
- styleTitle?: Record<string, string>;
1889
+ styleTitle?: CSSProperties;
1737
1890
  /** Inline-стили самого поля ввода. */
1738
- styleInput?: Record<string, string>;
1891
+ styleInput?: CSSProperties;
1739
1892
  }
1740
1893
 
1741
1894
  /**
@@ -1777,6 +1930,9 @@ export declare const RadioGroup: __VLS_WithTemplateSlots_4<typeof __VLS_componen
1777
1930
 
1778
1931
  declare type RadioGroupValue = string | number | undefined;
1779
1932
 
1933
+ /** Удалённые ключи исключаются, новые добавляются в порядке исходной схемы. */
1934
+ export declare function reconcileColumnOrder<Key extends string>(keys: readonly Key[], order?: readonly Key[]): Key[];
1935
+
1780
1936
  /**
1781
1937
  * Итоговый размер с учётом устаревшего `tableView`.
1782
1938
  *
@@ -1815,7 +1971,7 @@ disabled: boolean;
1815
1971
  modelValue: string;
1816
1972
  placeholder: string;
1817
1973
  className: string;
1818
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1974
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1819
1975
 
1820
1976
  export declare const SearchSelect: DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1821
1977
  "update:modelValue": (value: OptionItem | null) => any;
@@ -1831,20 +1987,20 @@ size: ComponentSize;
1831
1987
  disabled: boolean;
1832
1988
  title: string;
1833
1989
  modelValue: OptionItem | null;
1834
- options: OptionItem[];
1835
1990
  required: boolean;
1991
+ options: OptionItem[];
1836
1992
  placeholder: string;
1837
1993
  lineUp: boolean;
1838
1994
  rowGap: string | number;
1839
1995
  columnGap: string | number;
1840
1996
  portalOn: PortalMode;
1841
- tableView: boolean;
1842
- isClearable: boolean;
1843
1997
  validationOn: boolean;
1844
1998
  validationText: string;
1999
+ tableView: boolean;
2000
+ isClearable: boolean;
1845
2001
  className: string;
1846
- absoluteValidationText: boolean;
1847
2002
  loading: boolean;
2003
+ absoluteValidationText: boolean;
1848
2004
  emptyOptionsText: string;
1849
2005
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
1850
2006
  triggerRef: HTMLDivElement;
@@ -1857,21 +2013,22 @@ export declare const Select: DefineComponent<Props_17, {}, {}, {}, {}, Component
1857
2013
  "onUpdate:modelValue"?: ((value: OptionItem | null) => any) | undefined;
1858
2014
  }>, {
1859
2015
  error: string | boolean;
2016
+ variant: "field" | "button";
1860
2017
  size: ComponentSize;
1861
2018
  disabled: boolean;
1862
2019
  title: string;
1863
2020
  modelValue: OptionItem | null;
1864
- options: OptionItem[];
1865
2021
  required: boolean;
2022
+ options: OptionItem[];
1866
2023
  placeholder: string;
1867
2024
  lineUp: boolean;
1868
2025
  rowGap: string | number;
1869
2026
  columnGap: string | number;
1870
2027
  portalOn: PortalMode;
1871
- tableView: boolean;
1872
- isClearable: boolean;
1873
2028
  validationOn: boolean;
1874
2029
  validationText: string;
2030
+ tableView: boolean;
2031
+ isClearable: boolean;
1875
2032
  className: string;
1876
2033
  absoluteValidationText: boolean;
1877
2034
  noScroll: boolean;
@@ -1883,8 +2040,8 @@ dropdownRef: HTMLDivElement;
1883
2040
  declare const SIZES: readonly ["medium", "small"];
1884
2041
 
1885
2042
  export declare const Skeleton: DefineComponent<Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_22> & Readonly<{}>, {
1886
- width: string | number;
1887
2043
  height: string | number;
2044
+ width: string | number;
1888
2045
  borderRadius: string | number;
1889
2046
  gap: string | number;
1890
2047
  className: string;
@@ -1914,7 +2071,7 @@ declare type StatusSize = 'medium' | 'large';
1914
2071
 
1915
2072
  declare type StatusVariant = 'warning' | 'info' | 'neutral' | 'success' | 'danger' | 'intermediate' | 'prepared' | '';
1916
2073
 
1917
- export declare const StickyActionBar: __VLS_WithTemplateSlots_15<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2074
+ export declare const StickyActionBar: __VLS_WithTemplateSlots_15<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1918
2075
 
1919
2076
  export declare const Switch: __VLS_WithTemplateSlots_5<DefineComponent<SwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1920
2077
  change: (value: boolean) => any;
@@ -1954,15 +2111,17 @@ export declare const Table: <TRow extends TableRow>(__VLS_props: NonNullable<Awa
1954
2111
  readonly onPageChange?: ((page: number) => any) | undefined;
1955
2112
  readonly onPageSizeChange?: ((size: number) => any) | undefined;
1956
2113
  readonly "onUpdate:filteredData"?: ((rows: TRow[]) => any) | undefined;
2114
+ readonly "onUpdate:filters"?: ((filters: TableFilterState) => any) | undefined;
1957
2115
  readonly "onUpdate:sort"?: ((sort: {
1958
2116
  column: string | null;
1959
2117
  asc: boolean | null;
1960
2118
  }) => any) | undefined;
1961
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onDrop" | "onPageChange" | "onPageSizeChange" | "onUpdate:filteredData" | "onUpdate:sort"> & TableProps<TRow> & Partial<{}>> & PublicProps;
2119
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onDrop" | "onPageChange" | "onPageSizeChange" | "onUpdate:filteredData" | "onUpdate:filters" | "onUpdate:sort"> & TableProps<TRow> & Partial<{}>> & PublicProps;
1962
2120
  expose(exposed: ShallowUnwrapRef<TableExposed<TRow>>): void;
1963
2121
  attrs: any;
1964
2122
  slots: Readonly<{
1965
2123
  empty?: () => unknown;
2124
+ 'empty-filter'?: () => unknown;
1966
2125
  cell?: (props: CellSlotProps<TRow>) => unknown;
1967
2126
  header?: (props: HeaderSlotProps<TRow>) => unknown;
1968
2127
  /** Своя панель над карточками в мобильном виде (вместо штатной сортировки). */
@@ -1976,8 +2135,11 @@ export declare const Table: <TRow extends TableRow>(__VLS_props: NonNullable<Awa
1976
2135
  [x: `cell-${string}`]: ((props: CellSlotProps<TRow>) => unknown) | undefined;
1977
2136
  } & {
1978
2137
  [x: `header-${string}`]: ((props: HeaderSlotProps<TRow>) => unknown) | undefined;
2138
+ } & {
2139
+ [x: `filter-${string}`]: ((props: TableFilterContext) => unknown) | undefined;
1979
2140
  }> & {
1980
2141
  empty?: () => unknown;
2142
+ 'empty-filter'?: () => unknown;
1981
2143
  cell?: (props: CellSlotProps<TRow>) => unknown;
1982
2144
  header?: (props: HeaderSlotProps<TRow>) => unknown;
1983
2145
  /** Своя панель над карточками в мобильном виде (вместо штатной сортировки). */
@@ -1991,12 +2153,14 @@ export declare const Table: <TRow extends TableRow>(__VLS_props: NonNullable<Awa
1991
2153
  [x: `cell-${string}`]: ((props: CellSlotProps<TRow>) => unknown) | undefined;
1992
2154
  } & {
1993
2155
  [x: `header-${string}`]: ((props: HeaderSlotProps<TRow>) => unknown) | undefined;
2156
+ } & {
2157
+ [x: `filter-${string}`]: ((props: TableFilterContext) => unknown) | undefined;
1994
2158
  };
1995
2159
  emit: ((evt: "drop", payload: {
1996
2160
  fromIndex: number;
1997
2161
  toIndex: number;
1998
2162
  event: DragEvent;
1999
- }) => void) & ((evt: "pageChange", page: number) => void) & ((evt: "pageSizeChange", size: number) => void) & ((evt: "update:filteredData", rows: TRow[]) => void) & ((evt: "update:sort", sort: {
2163
+ }) => void) & ((evt: "pageChange", page: number) => void) & ((evt: "pageSizeChange", size: number) => void) & ((evt: "update:filteredData", rows: TRow[]) => void) & ((evt: "update:filters", filters: TableFilterState) => void) & ((evt: "update:sort", sort: {
2000
2164
  column: string | null;
2001
2165
  asc: boolean | null;
2002
2166
  }) => void);
@@ -2031,6 +2195,7 @@ export declare interface TableColumn<TRow extends TableRow = TableRow> {
2031
2195
  * ФИО по фамилии, версии по номерам. Важнее `filterValuePath`. При сортировке по
2032
2196
  * убыванию результат инвертируется — компаратор всегда пишется «по возрастанию».
2033
2197
  */
2198
+ sortValue?: (row: TRow) => unknown;
2034
2199
  sortComparator?: (a: TRow, b: TRow) => number;
2035
2200
  /** Заголовок карточки. Если не задано ни у одной колонки — берётся первая. */
2036
2201
  mobilePrimary?: boolean;
@@ -2049,6 +2214,10 @@ export declare interface TableColumn<TRow extends TableRow = TableRow> {
2049
2214
  * шевроном, значение обрезается по высоте и раскрывается по тапу.
2050
2215
  */
2051
2216
  mobileCollapsible?: boolean;
2217
+ mobileExpandLines?: number;
2218
+ mobileGridSpan?: 2 | 'narrow' | 'full';
2219
+ mobileGridRowSpan?: 2;
2220
+ renderMobile?: (row: TRow, index: number) => VNode | string | number | null;
2052
2221
  /** Подпись поля в карточке, если она отличается от заголовка колонки. */
2053
2222
  mobileLabel?: string;
2054
2223
  /** Цвет значения в карточке. */
@@ -2057,6 +2226,11 @@ export declare interface TableColumn<TRow extends TableRow = TableRow> {
2057
2226
  mobileLabelColor?: string;
2058
2227
  /** Включить фильтр. */
2059
2228
  filterable?: boolean;
2229
+ filterConditions?: boolean;
2230
+ filterWidth?: number | string;
2231
+ filterActive?: boolean;
2232
+ filterSelectedCount?: number;
2233
+ renderFilter?: (context: TableFilterContext) => VNode | null;
2060
2234
  /** Тип фильтра. */
2061
2235
  filterType?: TableFilterType;
2062
2236
  /**
@@ -2096,6 +2270,8 @@ export declare interface TableColumn<TRow extends TableRow = TableRow> {
2096
2270
  renderHeader?: () => VNode | string | number | null;
2097
2271
  }
2098
2272
 
2273
+ export declare type TableDateFilter = FilterDateState;
2274
+
2099
2275
  /** Императивный API через `defineExpose`. */
2100
2276
  export declare interface TableExposed<TRow extends TableRow = TableRow> {
2101
2277
  resetFilters: () => void;
@@ -2103,11 +2279,54 @@ export declare interface TableExposed<TRow extends TableRow = TableRow> {
2103
2279
  getFilteredData: () => TRow[];
2104
2280
  }
2105
2281
 
2282
+ export declare interface TableFilterContext {
2283
+ filters: TableFilterState;
2284
+ setFilters: (next: TableFilterState | ((previous: TableFilterState) => TableFilterState)) => void;
2285
+ close: () => void;
2286
+ }
2287
+
2288
+ export declare interface TableFilterOption<Value = unknown> {
2289
+ value: Value;
2290
+ label: string;
2291
+ }
2292
+
2293
+ export declare const TableFilterOptions: <Value>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2294
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
2295
+ readonly onSort?: (() => any) | undefined;
2296
+ readonly "onUpdate:values"?: ((values: Value[]) => any) | undefined;
2297
+ readonly "onUpdate:search"?: ((search: string) => any) | undefined;
2298
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onSort" | "onUpdate:values" | "onUpdate:search"> & TableFilterOptionsProps<Value> & Partial<{}>> & PublicProps;
2299
+ expose(exposed: ShallowUnwrapRef< {}>): void;
2300
+ attrs: any;
2301
+ slots: {
2302
+ 'condition-control'?(_: {}): any;
2303
+ };
2304
+ emit: ((evt: "sort") => void) & ((evt: "update:values", values: Value[]) => void) & ((evt: "update:search", search: string) => void);
2305
+ }>) => VNode & {
2306
+ __ctx?: Awaited<typeof __VLS_setup>;
2307
+ };
2308
+
2309
+ export declare interface TableFilterOptionsProps<Value = unknown> {
2310
+ options: readonly TableFilterOption<Value>[];
2311
+ values: readonly Value[];
2312
+ search?: string;
2313
+ searchLabel?: string;
2314
+ sort?: 'asc' | 'desc';
2315
+ sortable?: boolean;
2316
+ sortUnavailableReason?: string;
2317
+ optionsAlreadyFiltered?: boolean;
2318
+ }
2319
+
2320
+ export declare interface TableFilterState {
2321
+ uncheckedValues: Record<string, unknown[]>;
2322
+ dates: TableDateFilter[];
2323
+ }
2324
+
2106
2325
  export declare type TableFilterType = 'string' | 'number' | 'date' | 'boolean';
2107
2326
 
2108
- export declare const TableMobileCard: __VLS_WithTemplateSlots_19<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2327
+ export declare const TableMobileCard: __VLS_WithTemplateSlots_19<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2109
2328
 
2110
- export declare const TableMobileView: __VLS_WithTemplateSlots_18<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2329
+ export declare const TableMobileView: __VLS_WithTemplateSlots_18<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2111
2330
 
2112
2331
  export declare interface TableProps<TRow extends TableRow = TableRow> {
2113
2332
  /** Данные таблицы. */
@@ -2135,6 +2354,9 @@ export declare interface TableProps<TRow extends TableRow = TableRow> {
2135
2354
  * колонок возвращаются в исходное состояние (например, при смене набора данных).
2136
2355
  */
2137
2356
  filterResetParam?: unknown;
2357
+ filterMode?: 'client' | 'server';
2358
+ filters?: TableFilterState;
2359
+ defaultFilters?: TableFilterState;
2138
2360
  /**
2139
2361
  * Сортировка при первом рендере: поле и направление. Нужна, чтобы таблица (и панель
2140
2362
  * сортировки мобильного вида) открывалась в осмысленном порядке.
@@ -2165,11 +2387,13 @@ export declare interface TableProps<TRow extends TableRow = TableRow> {
2165
2387
  /** Сколько полей оставить видимыми; остальные — под тап. */
2166
2388
  mobileMaxVisible?: number;
2167
2389
  /** Раскладка полей карточки: одна колонка или две. */
2168
- mobileCardColumns?: 1 | 2;
2390
+ mobileCardColumns?: 1 | 2 | 3;
2169
2391
  /** Зазор между карточками. */
2170
2392
  mobileCardGap?: number | string;
2171
2393
  /** Карточки без рамки и фона (для вложения в обрамлённый контейнер). */
2172
2394
  mobileCardFlat?: boolean;
2395
+ mobileCardInset?: boolean;
2396
+ mobileCardDensity?: 'normal' | 'compact';
2173
2397
  /** Тонкая линия-разделитель между карточками. */
2174
2398
  mobileCardDivider?: boolean;
2175
2399
  /** Показывать панель сортировки (по умолчанию — если есть сортируемые колонки). */
@@ -2192,6 +2416,8 @@ export declare interface TableProps<TRow extends TableRow = TableRow> {
2192
2416
  filterEmptyLabel?: string;
2193
2417
  /** Сообщение в одной строке таблицы при пустых данных. */
2194
2418
  messageForEmptyTable?: string;
2419
+ /** Client filter excluded every original row; custom content via empty-filter slot. */
2420
+ messageForEmptyFilter?: string;
2195
2421
  /** Отдельная подпись пустого карточного вида; 'off' скрывает её. */
2196
2422
  mobileMessageForEmptyTable?: string | 'off';
2197
2423
  /** Контент, отображаемый вместо таблицы при пустых данных. */
@@ -2246,9 +2472,17 @@ tabClick: (tab: TabItem) => any;
2246
2472
  onTabClick?: ((tab: TabItem) => any) | undefined;
2247
2473
  }>, {
2248
2474
  variant: "line" | "segment";
2475
+ fullWidth: boolean;
2249
2476
  tabsData: TabItem[];
2250
2477
  activeTab: string | number;
2251
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2478
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
2479
+ containerRef: HTMLDivElement;
2480
+ moreRef: HTMLDivElement;
2481
+ triggerRef: HTMLButtonElement;
2482
+ menuRef: HTMLDivElement;
2483
+ measureRef: HTMLDivElement;
2484
+ moreMeasureRef: HTMLButtonElement;
2485
+ }, HTMLDivElement>;
2252
2486
 
2253
2487
  export declare const Textarea: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2254
2488
  change: (event: Event) => any;
@@ -2262,14 +2496,14 @@ disabled: boolean;
2262
2496
  title: string;
2263
2497
  modelValue: string;
2264
2498
  id: string;
2499
+ name: string;
2265
2500
  required: boolean;
2266
2501
  placeholder: string;
2267
- name: string;
2268
2502
  lineUp: boolean;
2269
2503
  rowGap: string | number;
2270
2504
  columnGap: string | number;
2271
2505
  errorAbsolute: boolean;
2272
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2506
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2273
2507
 
2274
2508
  export declare const Tooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2275
2509
 
@@ -2303,10 +2537,10 @@ lineUp: boolean;
2303
2537
  rowGap: string | number;
2304
2538
  columnGap: string | number;
2305
2539
  portalOn: PortalMode;
2306
- tableView: boolean;
2307
- isClearable: boolean;
2308
2540
  validationOn: boolean;
2309
2541
  validationText: string;
2542
+ tableView: boolean;
2543
+ isClearable: boolean;
2310
2544
  className: string;
2311
2545
  absoluteValidationText: boolean;
2312
2546
  isSearchable: boolean;
@@ -2322,6 +2556,9 @@ export declare type UiKitViewport = 'desktop' | 'tablet' | 'mobile';
2322
2556
 
2323
2557
  export declare function useAutoId(providedId?: string | number | null, prefix?: string): string;
2324
2558
 
2559
+ /** Register a custom child Teleport; Vue native focus events do not cross Teleports. */
2560
+ export declare function useModalFocusPortal(root: Ref<HTMLElement | null>): void;
2561
+
2325
2562
  export declare function useNotification(): NotificationService;
2326
2563
 
2327
2564
  /** Состояние и готовые пропсы для Pagination с автоматическим ограничением страницы. */
@@ -2350,7 +2587,7 @@ export declare interface UsePaginationOptions {
2350
2587
 
2351
2588
  export declare type UsePaginationResult = ReturnType<typeof usePagination>;
2352
2589
 
2353
- export declare function useTableSort(): {
2590
+ export declare function useTableSort<T = unknown>(options?: UseTableSortOptions<T>): {
2354
2591
  sort: Ref< {
2355
2592
  column: string | null;
2356
2593
  asc: boolean | null;
@@ -2358,10 +2595,23 @@ export declare function useTableSort(): {
2358
2595
  column: string | null;
2359
2596
  asc: boolean | null;
2360
2597
  }>;
2361
- toggleSort: (field: string) => void;
2598
+ toggleSort: (clickedField: string) => void;
2362
2599
  resetSort: () => void;
2600
+ field: ComputedRef<string | undefined>;
2601
+ dir: ComputedRef<SortDir | undefined>;
2602
+ setSort: (nextField?: string, nextDir?: SortDir) => void;
2603
+ toggle: (clickedField: string) => void;
2604
+ sortData: (rows: T[]) => T[];
2363
2605
  };
2364
2606
 
2607
+ export declare interface UseTableSortOptions<T> {
2608
+ defaultField?: string;
2609
+ defaultDir?: SortDir;
2610
+ getValue?: (row: T, field: string) => unknown;
2611
+ locale?: string;
2612
+ onChange?: (field?: string, dir?: SortDir) => void;
2613
+ }
2614
+
2365
2615
  export declare type UseTableSortResult = ReturnType<typeof useTableSort>;
2366
2616
 
2367
2617
  /** Общий брейкпоинт для структурных решений, которые нельзя выразить через CSS. */