@retailcrm/embed-ui-v1-components 0.9.12 → 0.9.13

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/host.css CHANGED
@@ -3985,6 +3985,325 @@
3985
3985
  opacity: 1;
3986
3986
  visibility: visible;
3987
3987
  }
3988
+ .ui-v1-table {
3989
+ font-size: 14px;
3990
+ font-weight: 400;
3991
+ line-height: 1.42857143;
3992
+ --ui-v1-table-border-width: 1px;
3993
+ --ui-v1-table-rounding: 0;
3994
+ --ui-v1-table-rounding-start-start: var(--ui-v1-table-rounding);
3995
+ --ui-v1-table-rounding-start-end: var(--ui-v1-table-rounding);
3996
+ --ui-v1-table-rounding-end-start: var(--ui-v1-table-rounding);
3997
+ --ui-v1-table-rounding-end-end: var(--ui-v1-table-rounding);
3998
+ --ui-v1-table-cell-padding-x: 16px;
3999
+ --ui-v1-table-cell-padding-y: 16px;
4000
+ --ui-v1-table-cell-padding-block-start: var(--ui-v1-table-cell-padding-y);
4001
+ --ui-v1-table-cell-padding-inline-end: var(--ui-v1-table-cell-padding-x);
4002
+ --ui-v1-table-cell-padding-block-end: var(--ui-v1-table-cell-padding-y);
4003
+ --ui-v1-table-cell-padding-inline-start: var(--ui-v1-table-cell-padding-x);
4004
+ --ui-v1-table-head-cell-padding-block-start: var(--ui-v1-table-cell-padding-block-start);
4005
+ --ui-v1-table-head-cell-padding-block-end: var(--ui-v1-table-cell-padding-block-end);
4006
+ --ui-v1-table-body-cell-padding-block-start: var(--ui-v1-table-cell-padding-block-start);
4007
+ --ui-v1-table-body-cell-padding-block-end: var(--ui-v1-table-cell-padding-block-end);
4008
+ --ui-v1-table-group-head-padding-block-start: calc(var(--ui-v1-table-body-cell-padding-block-start) / 2);
4009
+ --ui-v1-table-group-head-padding-block-end: calc(var(--ui-v1-table-body-cell-padding-block-end) / 2);
4010
+ --ui-v1-table-head-background: #F4F6F8;
4011
+ --ui-v1-table-group-head-background: #F4F6F8;
4012
+ --ui-v1-table-padding-start: var(--ui-v1-table-cell-padding-inline-start, var(--ui-v1-table-cell-padding-x));
4013
+ --ui-v1-table-padding-end: var(--ui-v1-table-cell-padding-inline-end, var(--ui-v1-table-cell-padding-x));
4014
+ --ui-v1-table-effective-padding-start: var(--ui-v1-table-padding-start);
4015
+ --ui-v1-table-effective-padding-end: var(--ui-v1-table-padding-end);
4016
+ width: 100%;
4017
+ border-collapse: separate;
4018
+ border-spacing: 0;
4019
+ color: #1E2248;
4020
+ background: #fff;
4021
+ table-layout: auto;
4022
+ border-start-start-radius: var(--ui-v1-table-rounding-start-start);
4023
+ border-start-end-radius: var(--ui-v1-table-rounding-start-end);
4024
+ border-end-start-radius: var(--ui-v1-table-rounding-end-start);
4025
+ border-end-end-radius: var(--ui-v1-table-rounding-end-end);
4026
+ }
4027
+ .ui-v1-table,
4028
+ .ui-v1-table *,
4029
+ .ui-v1-table *::before,
4030
+ .ui-v1-table *::after {
4031
+ box-sizing: border-box;
4032
+ }
4033
+ .ui-v1-table_fixed {
4034
+ table-layout: fixed;
4035
+ }
4036
+ .ui-v1-table_bordered {
4037
+ --ui-v1-table-rounding: 6px;
4038
+ --ui-v1-table-effective-padding-start: calc(var(--ui-v1-table-padding-start) - var(--ui-v1-table-border-width));
4039
+ --ui-v1-table-effective-padding-end: calc(var(--ui-v1-table-padding-end) - var(--ui-v1-table-border-width));
4040
+ border: var(--ui-v1-table-border-width) solid #DEE2E6;
4041
+ border-start-start-radius: var(--ui-v1-table-rounding-start-start);
4042
+ border-start-end-radius: var(--ui-v1-table-rounding-start-end);
4043
+ border-end-start-radius: var(--ui-v1-table-rounding-end-start);
4044
+ border-end-end-radius: var(--ui-v1-table-rounding-end-end);
4045
+ }
4046
+ .ui-v1-table__section_head .ui-v1-table__head-cell {
4047
+ background: var(--ui-v1-table-head-background);
4048
+ border-bottom: 1px solid #DEE2E6;
4049
+ }
4050
+ .ui-v1-table__section_head:first-child .ui-v1-table__row:first-child .ui-v1-table__head-cell:first-child,
4051
+ .ui-v1-table__section_head:first-child .ui-v1-table__row:first-child .ui-v1-table__body-cell:first-child,
4052
+ .ui-v1-table__section_body:first-child .ui-v1-table__row:first-child .ui-v1-table__body-cell:first-child {
4053
+ border-start-start-radius: var(--ui-v1-table-rounding-start-start);
4054
+ }
4055
+ .ui-v1-table__section_head:first-child .ui-v1-table__row:first-child .ui-v1-table__head-cell:last-child,
4056
+ .ui-v1-table__section_head:first-child .ui-v1-table__row:first-child .ui-v1-table__body-cell:last-child,
4057
+ .ui-v1-table__section_body:first-child .ui-v1-table__row:first-child .ui-v1-table__body-cell:last-child {
4058
+ border-start-end-radius: var(--ui-v1-table-rounding-start-end);
4059
+ }
4060
+ .ui-v1-table__section_foot:last-child .ui-v1-table__row:last-child .ui-v1-table__body-cell:first-child,
4061
+ .ui-v1-table__section_body:last-child .ui-v1-table__row:last-child .ui-v1-table__body-cell:first-child {
4062
+ border-end-start-radius: var(--ui-v1-table-rounding-end-start);
4063
+ }
4064
+ .ui-v1-table__section_foot:last-child .ui-v1-table__row:last-child .ui-v1-table__body-cell:last-child,
4065
+ .ui-v1-table__section_body:last-child .ui-v1-table__row:last-child .ui-v1-table__body-cell:last-child {
4066
+ border-end-end-radius: var(--ui-v1-table-rounding-end-end);
4067
+ }
4068
+ .ui-v1-table__section_body .ui-v1-table__body-cell,
4069
+ .ui-v1-table__section_foot .ui-v1-table__body-cell {
4070
+ border-bottom: 1px solid #DEE2E6;
4071
+ }
4072
+ .ui-v1-table__section_foot .ui-v1-table__body-cell {
4073
+ border-bottom: none;
4074
+ }
4075
+ .ui-v1-table_bordered > .ui-v1-table__section_body > .ui-v1-table__row:last-child > .ui-v1-table__body-cell {
4076
+ border-bottom: none;
4077
+ }
4078
+ .ui-v1-table__section_head .ui-v1-table__row:hover .ui-v1-table__head-cell {
4079
+ background: var(--ui-v1-table-head-background);
4080
+ }
4081
+ .ui-v1-table__section_body .ui-v1-table__row:hover .ui-v1-table__body-cell {
4082
+ background: #F9FAFB;
4083
+ }
4084
+ .ui-v1-table__head-cell,
4085
+ .ui-v1-table__body-cell {
4086
+ padding-inline-end: var(--ui-v1-table-cell-padding-inline-end);
4087
+ padding-inline-start: var(--ui-v1-table-cell-padding-inline-start);
4088
+ text-align: left;
4089
+ white-space: normal;
4090
+ }
4091
+ .ui-v1-table__head-cell:first-child,
4092
+ .ui-v1-table__body-cell:first-child {
4093
+ padding-inline-start: var(--ui-v1-table-effective-padding-start);
4094
+ }
4095
+ .ui-v1-table__head-cell:last-child,
4096
+ .ui-v1-table__body-cell:last-child {
4097
+ padding-inline-end: var(--ui-v1-table-effective-padding-end);
4098
+ }
4099
+ .ui-v1-table__head-cell {
4100
+ height: 40px;
4101
+ padding-block-start: var(--ui-v1-table-head-cell-padding-block-start);
4102
+ padding-block-end: var(--ui-v1-table-head-cell-padding-block-end);
4103
+ color: #8A96A6;
4104
+ vertical-align: middle;
4105
+ font-size: 12px;
4106
+ font-weight: 500;
4107
+ line-height: 1.16666667;
4108
+ }
4109
+ .ui-v1-table__head-cell_align-center {
4110
+ text-align: center;
4111
+ }
4112
+ .ui-v1-table__head-cell_align-right {
4113
+ text-align: right;
4114
+ }
4115
+ .ui-v1-table__body-cell {
4116
+ padding-block-start: var(--ui-v1-table-body-cell-padding-block-start);
4117
+ padding-block-end: var(--ui-v1-table-body-cell-padding-block-end);
4118
+ vertical-align: middle;
4119
+ background: #fff;
4120
+ }
4121
+ .ui-v1-table__body-cell_align-center {
4122
+ text-align: center;
4123
+ }
4124
+ .ui-v1-table__body-cell_align-right {
4125
+ text-align: right;
4126
+ }
4127
+ .ui-v1-table__body-cell_valign-top {
4128
+ vertical-align: top;
4129
+ }
4130
+ .ui-v1-table__body-cell_valign-bottom {
4131
+ vertical-align: bottom;
4132
+ }
4133
+ .ui-v1-table__body-cell_theme-group {
4134
+ padding-block-start: var(--ui-v1-table-group-head-padding-block-start);
4135
+ padding-block-end: var(--ui-v1-table-group-head-padding-block-end);
4136
+ background: var(--ui-v1-table-group-head-background);
4137
+ font-size: 12px;
4138
+ font-weight: 400;
4139
+ line-height: 1.16666667;
4140
+ }
4141
+ .ui-v1-table__body-cell_trim {
4142
+ padding-inline: 0;
4143
+ }
4144
+ .ui-v1-table__head-cell_trim {
4145
+ padding-inline: 0;
4146
+ }
4147
+ .ui-v1-table__section_head .ui-v1-table__head-cell:first-child.ui-v1-table__head-cell_trim,
4148
+ .ui-v1-table__section_body .ui-v1-table__body-cell:first-child.ui-v1-table__body-cell_trim {
4149
+ padding-inline-end: 8px;
4150
+ }
4151
+ .ui-v1-table__section_head .ui-v1-table__head-cell:last-child.ui-v1-table__head-cell_trim,
4152
+ .ui-v1-table__section_body .ui-v1-table__body-cell:last-child.ui-v1-table__body-cell_trim {
4153
+ padding-inline-start: 8px;
4154
+ }
4155
+ .ui-v1-table__section_foot .ui-v1-table__body-cell.ui-v1-table__footer-cell {
4156
+ padding: 0;
4157
+ background: #fff;
4158
+ }
4159
+ .ui-v1-table__section_foot .ui-v1-table__body-cell.ui-v1-table__footer-cell:first-child {
4160
+ padding-inline-start: 0;
4161
+ }
4162
+ .ui-v1-table__section_foot .ui-v1-table__body-cell.ui-v1-table__footer-cell:last-child {
4163
+ padding-inline-end: 0;
4164
+ }
4165
+ .ui-v1-table__section_body .ui-v1-table__row:hover .ui-v1-table__body-cell_theme-group {
4166
+ background: var(--ui-v1-table-group-head-background);
4167
+ }
4168
+ .ui-v1-table__row_interactive {
4169
+ cursor: pointer;
4170
+ }
4171
+ .ui-v1-table__empty {
4172
+ color: #8A96A6;
4173
+ }
4174
+ .ui-v1-table__group-head {
4175
+ color: #636F7F;
4176
+ }
4177
+ .ui-v1-table__sorter {
4178
+ display: inline-flex;
4179
+ align-items: center;
4180
+ gap: 4px;
4181
+ padding: 0;
4182
+ margin: 0;
4183
+ color: inherit;
4184
+ font: inherit;
4185
+ line-height: inherit;
4186
+ text-align: inherit;
4187
+ vertical-align: top;
4188
+ background: transparent;
4189
+ border: none;
4190
+ cursor: pointer;
4191
+ }
4192
+ .ui-v1-table__sorter-icon {
4193
+ width: 16px;
4194
+ min-width: 16px;
4195
+ height: 16px;
4196
+ flex-shrink: 0;
4197
+ }
4198
+ .ui-v1-table__sorter-path {
4199
+ fill: #AFB9C3;
4200
+ }
4201
+ .ui-v1-table__sorter-path_active {
4202
+ fill: #005EEB;
4203
+ }
4204
+ .ui-v1-table__sorter-label {
4205
+ min-width: 0;
4206
+ }
4207
+ .ui-v1-table__footer {
4208
+ display: flex;
4209
+ flex-direction: column;
4210
+ min-width: 0;
4211
+ }
4212
+ .ui-v1-table__footer-meta {
4213
+ display: flex;
4214
+ align-items: center;
4215
+ justify-content: flex-end;
4216
+ min-height: 40px;
4217
+ padding-block: 0;
4218
+ padding-inline-end: var(--ui-v1-table-effective-padding-end);
4219
+ padding-inline-start: var(--ui-v1-table-effective-padding-start);
4220
+ color: #8A96A6;
4221
+ background: #F4F6F8;
4222
+ border-top: 1px solid #DEE2E6;
4223
+ font-weight: 500;
4224
+ }
4225
+ .ui-v1-table__footer-controls {
4226
+ display: flex;
4227
+ align-items: stretch;
4228
+ justify-content: space-between;
4229
+ min-width: 0;
4230
+ background: #fff;
4231
+ border-top: 1px solid #DEE2E6;
4232
+ }
4233
+ .ui-v1-table__footer-main,
4234
+ .ui-v1-table__footer-side {
4235
+ display: flex;
4236
+ align-items: stretch;
4237
+ min-width: 0;
4238
+ }
4239
+ .ui-v1-table__footer-main {
4240
+ flex: 1 1 auto;
4241
+ }
4242
+ .ui-v1-table__footer-side {
4243
+ flex: 0 0 auto;
4244
+ margin-inline-start: auto;
4245
+ }
4246
+ .ui-v1-table__footer-section {
4247
+ min-width: 0;
4248
+ padding: 16px var(--ui-v1-table-cell-padding-x);
4249
+ white-space: nowrap;
4250
+ }
4251
+ .ui-v1-table__footer-main > *,
4252
+ .ui-v1-table__footer-side > * {
4253
+ display: block;
4254
+ min-width: 0;
4255
+ padding-block: 16px;
4256
+ white-space: nowrap;
4257
+ }
4258
+ .ui-v1-table__footer-main > :first-child {
4259
+ padding-inline-start: var(--ui-v1-table-effective-padding-start);
4260
+ }
4261
+ .ui-v1-table__footer-main > :last-child {
4262
+ padding-inline-end: var(--ui-v1-table-effective-padding-end);
4263
+ }
4264
+ .ui-v1-table__footer-side > :first-child {
4265
+ padding-inline-start: var(--ui-v1-table-effective-padding-start);
4266
+ }
4267
+ .ui-v1-table__footer-side > :last-child {
4268
+ padding-inline-end: var(--ui-v1-table-effective-padding-end);
4269
+ }
4270
+ .ui-v1-table__footer-main > * + *,
4271
+ .ui-v1-table__footer-side > * {
4272
+ border-left: 1px solid #DEE2E6;
4273
+ }
4274
+ .ui-v1-table__footer-button {
4275
+ display: inline-block;
4276
+ padding: 0;
4277
+ color: #005EEB;
4278
+ font: inherit;
4279
+ line-height: inherit;
4280
+ vertical-align: baseline;
4281
+ white-space: inherit;
4282
+ background: transparent;
4283
+ border: none;
4284
+ cursor: pointer;
4285
+ text-decoration: none;
4286
+ }
4287
+ .ui-v1-table__footer-button:active .ui-v1-table__footer-button-content {
4288
+ transform: scale3d(0.985, 0.985, 1);
4289
+ }
4290
+ .ui-v1-table__footer-button:focus-visible {
4291
+ outline: none;
4292
+ text-decoration: underline;
4293
+ text-underline-offset: 2px;
4294
+ }
4295
+ .ui-v1-table__footer-button:focus {
4296
+ outline: none;
4297
+ }
4298
+ .ui-v1-table__footer-button-content {
4299
+ display: inline-flex;
4300
+ align-items: center;
4301
+ justify-content: center;
4302
+ line-height: inherit;
4303
+ transform-origin: center center;
4304
+ transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
4305
+ white-space: inherit;
4306
+ }
3988
4307
  .ui-v1-tag-wrapper {
3989
4308
  display: inline-block;
3990
4309
  max-width: 100%;
package/dist/host.d.ts CHANGED
@@ -15,6 +15,7 @@ import { Plugin as Plugin_2 } from 'vue';
15
15
  import { PropType } from 'vue';
16
16
  import { PublicProps } from 'vue';
17
17
  import { Ref } from 'vue';
18
+ import { SerializedEvent } from '@omnicajs/vue-remote/types/events';
18
19
  import { Side } from '@floating-ui/dom';
19
20
  import { SlotsType } from 'vue';
20
21
  import { Strategy } from '@floating-ui/dom';
@@ -236,7 +237,12 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
236
237
  };
237
238
  };
238
239
  declare type Adaptation = 'flip' | 'shift';
239
- declare enum ALIGN {
240
+ export declare enum ALIGN {
241
+ LEFT = "left",
242
+ CENTER = "center",
243
+ RIGHT = "right"
244
+ }
245
+ declare enum ALIGN_2 {
240
246
  LEFT = "left",
241
247
  RIGHT = "right"
242
248
  }
@@ -263,6 +269,9 @@ declare enum APPEARANCE_4 {
263
269
  POPUP = "popup",
264
270
  HINT = "hint"
265
271
  }
272
+ export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
273
+ export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
274
+ export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
266
275
  declare enum COLLAPSE_BEHAVIOUR {
267
276
  DISPOSE = "dispose",
268
277
  HIDE = "hide"
@@ -283,7 +292,41 @@ declare enum COLOR_2 {
283
292
  RED = "red",
284
293
  YELLOW = "yellow"
285
294
  }
295
+ export declare type Column<T> = {
296
+ id: string;
297
+ label: string;
298
+ width?: Numeric;
299
+ minWidth?: Numeric;
300
+ maxWidth?: Numeric;
301
+ align: ALIGN | `${ALIGN}`;
302
+ valign: VALIGN | `${VALIGN}`;
303
+ trim: boolean;
304
+ getColspan: (row: T, index: number) => number | undefined;
305
+ getRowspan: (row: T, index: number) => number | undefined;
306
+ };
286
307
  export declare const createProvider: () => Provider;
308
+ export declare type CssClass = string | Record<string, boolean> | Array<string | Record<string, boolean>>;
309
+ export declare type DataForCell<T> = {
310
+ row: T;
311
+ index: number;
312
+ key: RowKey;
313
+ expanded: boolean;
314
+ toggle: () => void;
315
+ column: Column<T>;
316
+ };
317
+ export declare type DataForFooter<T, GroupData> = {
318
+ columnsCount: number;
319
+ rowsCount: number;
320
+ groupsCount: number;
321
+ groups: readonly Group<T, GroupData>[];
322
+ };
323
+ export declare type DataForGroupHead<T, GroupData> = {
324
+ group: Group<T, GroupData>;
325
+ index: number;
326
+ };
327
+ export declare type DataForLabel<T> = {
328
+ column: Column<T>;
329
+ };
287
330
  declare type DateFormatter = (date: Date, omitYear?: boolean) => string;
288
331
  declare type DefineComponent<PropsOrPropOptions = object, M extends MethodOptions = MethodOptions, E extends EmitsOptions = EmitsOptions, EE extends string = string, PP = PublicProps, Props = ResolveProps<PropsOrPropOptions, E>, Defaults = ExtractDefaultPropTypes<PropsOrPropOptions>, S extends SlotsType = SlotsType, LC extends Record<string, Component> = Record<string, Component>, Directives extends Record<string, Directive> = Record<string, Directive>, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, MakeDefaultsOptional extends boolean = true, TypeRefs extends Record<string, unknown> = Record<string, unknown>, TypeEl extends Element = Element> = DefineComponent_2<PropsOrPropOptions, Record<string, never>, Record<string, never>, Record<string, never>, M, ComponentOptionsMixin, ComponentOptionsMixin, E, EE, PP, Props, Defaults, S, LC, Directives, Exposed, Provide, MakeDefaultsOptional, TypeRefs, TypeEl>;
289
332
  declare type Delay = {
@@ -291,11 +334,15 @@ declare type Delay = {
291
334
  hide?: number;
292
335
  };
293
336
  declare type Dimensions = `${number}x${number}` | `${number}x-` | `-x${number}`;
294
- declare enum DIRECTION {
337
+ export declare enum DIRECTION {
338
+ ASC = "asc",
339
+ DESC = "desc"
340
+ }
341
+ declare enum DIRECTION_2 {
295
342
  LEFT = "left",
296
343
  RIGHT = "right"
297
344
  }
298
- declare enum DIRECTION_2 {
345
+ declare enum DIRECTION_3 {
299
346
  HORIZONTAL = "horizontal",
300
347
  VERTICAL = "vertical"
301
348
  }
@@ -305,6 +352,12 @@ declare type FloatingOptions = {
305
352
  offsetCrossAxis?: number | string;
306
353
  strategy?: Strategy;
307
354
  };
355
+ export declare type Group<T, GroupData> = {
356
+ key: RowKey;
357
+ data: GroupData;
358
+ rows: readonly T[];
359
+ };
360
+ export declare type GroupBy<T, GroupData> = (rows: readonly T[]) => Group<T, GroupData>[];
308
361
  export declare const I18nPlugin: Plugin_2;
309
362
  export declare const ImageWorkersKey: InjectionKey<Ref<string[]>>;
310
363
  declare enum INPUTMODE {
@@ -347,6 +400,25 @@ declare type QuickOption = {
347
400
  value: Exclude<QuickDate, null>;
348
401
  };
349
402
  declare type ResolveProps<PropsOrPropOptions, E extends EmitsOptions> = Readonly<PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions> & (Record<string, never> extends E ? Record<string, never> : EmitsToProps<E>);
403
+ export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
404
+ class?: CssClass;
405
+ };
406
+ export declare type RowAttrsGetter<T> = (row: T, index: number) => RowAttrs;
407
+ export declare type RowClassGetter<T> = (row: T, index: number) => CssClass;
408
+ export declare type RowClickPayload<T> = {
409
+ row: T;
410
+ index: number;
411
+ key: RowKey;
412
+ expanded: boolean;
413
+ toggle: () => void;
414
+ };
415
+ export declare type RowKey = string | number;
416
+ export declare type RowKeyGetter<T> = (row: T, index: number) => RowKey;
417
+ export declare type RowRendererArgs<T> = {
418
+ row: T;
419
+ index: number;
420
+ key: RowKey;
421
+ };
350
422
  declare enum SCROLLING {
351
423
  NORMAL = "normal",
352
424
  NATIVE = "native",
@@ -634,7 +706,7 @@ declare type UiDateProperties = {
634
706
  export declare const UiError: DefineComponent<UiErrorProperties>;
635
707
  declare type UiErrorProperties = {
636
708
  message: string;
637
- align?: ALIGN | `${ALIGN}`;
709
+ align?: ALIGN_2 | `${ALIGN_2}`;
638
710
  ellipsis?: boolean;
639
711
  };
640
712
  export declare const UiImage: DefineComponent<UiImageProperties>;
@@ -698,7 +770,7 @@ declare type UiModalSidebarProperties = {
698
770
  id?: string;
699
771
  opened?: boolean;
700
772
  closable?: boolean;
701
- direction?: DIRECTION | `${DIRECTION}`;
773
+ direction?: DIRECTION_2 | `${DIRECTION_2}`;
702
774
  disposeTimeout?: number | string | null;
703
775
  fixed?: boolean;
704
776
  scrolling?: SCROLLING | `${SCROLLING}`;
@@ -741,7 +813,7 @@ declare type UiNumberStepperProperties = {
741
813
  disabled?: boolean;
742
814
  readonly?: boolean;
743
815
  required?: boolean;
744
- direction?: DIRECTION_2 | `${DIRECTION_2}`;
816
+ direction?: DIRECTION_3 | `${DIRECTION_3}`;
745
817
  size?: SIZE_4 | `${SIZE_4}`;
746
818
  outlined?: boolean;
747
819
  textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
@@ -855,6 +927,104 @@ declare type UiSwitchProperties = {
855
927
  square?: boolean;
856
928
  disabled?: boolean;
857
929
  };
930
+ export declare const UiTableBodyCell: DefineComponent<UiTableBodyCellProperties>;
931
+ export declare type UiTableBodyCellProperties = {
932
+ align?: ALIGN | `${ALIGN}`;
933
+ valign?: VALIGN | `${VALIGN}`;
934
+ colspan?: number;
935
+ rowspan?: number;
936
+ trim?: boolean;
937
+ theme?: UiTableBodyCellTheme;
938
+ };
939
+ export declare type UiTableBodyCellTheme = 'default' | 'group';
940
+ export declare const UiTableCol: DefineComponent<UiTableColProperties>;
941
+ export declare type UiTableColProperties = {
942
+ width?: Numeric;
943
+ minWidth?: Numeric;
944
+ maxWidth?: Numeric;
945
+ };
946
+ export declare type UiTableColumnProperties<T> = {
947
+ label?: string;
948
+ width?: Numeric;
949
+ minWidth?: Numeric;
950
+ maxWidth?: Numeric;
951
+ align?: ALIGN | `${ALIGN}`;
952
+ valign?: VALIGN | `${VALIGN}`;
953
+ trim?: boolean;
954
+ colspan?: (row: T, index: number) => number | undefined;
955
+ rowspan?: (row: T, index: number) => number | undefined;
956
+ };
957
+ export declare type UiTableColumnSlots<T> = {
958
+ default?: (props: DataForCell<T>) => unknown;
959
+ cell?: (props: DataForCell<T>) => unknown;
960
+ label?: (props: DataForLabel<T>) => unknown;
961
+ };
962
+ export declare type UiTableEmits<T> = {
963
+ 'row:click': [
964
+ payload: RowClickPayload<T>,
965
+ event: SerializedEvent
966
+ ];
967
+ };
968
+ export declare const UiTableFooterButton: DefineComponent_2<UiTableFooterButtonProperties>;
969
+ export declare type UiTableFooterButtonProperties = {
970
+ type?: UiTableFooterButtonType;
971
+ };
972
+ export declare type UiTableFooterButtonType = 'button' | 'submit' | 'reset';
973
+ export declare const UiTableFooterSection: DefineComponent_2<UiTableFooterSectionProperties>;
974
+ export declare type UiTableFooterSectionProperties = Record<string, never>;
975
+ export declare const UiTableHeadCell: DefineComponent<UiTableHeadCellProperties>;
976
+ export declare type UiTableHeadCellProperties = {
977
+ align?: ALIGN | `${ALIGN}`;
978
+ trim?: boolean;
979
+ };
980
+ export declare type UiTableMethods<RowKeyValue extends RowKey = RowKey> = {
981
+ resetExpanded(): void;
982
+ expand(key: RowKeyValue): void;
983
+ collapse(key: RowKeyValue): void;
984
+ toggle(key: RowKeyValue): void;
985
+ };
986
+ export declare type UiTableProperties<T, GroupData = undefined> = {
987
+ rows: readonly T[];
988
+ rowKey?: keyof T | RowKeyGetter<T>;
989
+ headless?: boolean;
990
+ bordered?: boolean;
991
+ fixed?: boolean;
992
+ rowClass?: CssClass | RowClassGetter<T>;
993
+ rowAttrs?: RowAttrsGetter<T>;
994
+ groupBy?: GroupBy<T, GroupData>;
995
+ groupHeadClass?: CssClass;
996
+ groupBodyClass?: CssClass;
997
+ };
998
+ export declare const UiTableRoot: DefineComponent<UiTableRootProperties>;
999
+ export declare type UiTableRootProperties = {
1000
+ bordered?: boolean;
1001
+ fixed?: boolean;
1002
+ };
1003
+ export declare const UiTableRow: DefineComponent<UiTableRowProperties>;
1004
+ export declare type UiTableRowProperties = {
1005
+ interactive?: boolean;
1006
+ expanded?: boolean;
1007
+ };
1008
+ export declare const UiTableSection: DefineComponent<UiTableSectionProperties>;
1009
+ export declare type UiTableSectionKind = 'head' | 'body' | 'foot';
1010
+ export declare type UiTableSectionProperties = {
1011
+ kind?: UiTableSectionKind;
1012
+ };
1013
+ export declare type UiTableSlots<T, GroupData = undefined> = {
1014
+ default?: () => unknown;
1015
+ expand?: (props: RowRendererArgs<T>) => unknown;
1016
+ footer?: (props: DataForFooter<T, GroupData>) => unknown;
1017
+ 'footer-summary'?: (props: DataForFooter<T, GroupData>) => unknown;
1018
+ 'footer-page-size'?: (props: DataForFooter<T, GroupData>) => unknown;
1019
+ 'footer-export'?: (props: DataForFooter<T, GroupData>) => unknown;
1020
+ 'footer-pagination'?: (props: DataForFooter<T, GroupData>) => unknown;
1021
+ 'group-head'?: (props: DataForGroupHead<T, GroupData>) => unknown;
1022
+ empty?: () => unknown;
1023
+ };
1024
+ export declare const UiTableSorter: DefineComponent_2<UiTableSorterProperties>;
1025
+ export declare type UiTableSorterProperties = {
1026
+ direction?: DIRECTION | `${DIRECTION}` | null;
1027
+ };
858
1028
  export declare const UiTag: DefineComponent<UiTagProperties>;
859
1029
  declare type UiTagProperties = {
860
1030
  size?: SIZE_9 | `${SIZE_9}`;
@@ -945,6 +1115,11 @@ declare type UiYandexMapProperties = {
945
1115
  apiKey: string;
946
1116
  address?: string;
947
1117
  };
1118
+ export declare enum VALIGN {
1119
+ TOP = "top",
1120
+ MIDDLE = "middle",
1121
+ BOTTOM = "bottom"
1122
+ }
948
1123
  declare enum VARIANT {
949
1124
  PRIMARY = "primary",
950
1125
  WARNING = "warning",