prlg-ui 1.8.114 → 1.8.116

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
@@ -157,7 +157,7 @@ declare const __VLS_component_19: DefineComponent<__VLS_Props_30, {}, {}, {}, {}
157
157
  declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
158
158
  "update:currentPage": (value: number) => any;
159
159
  "update:perPage": (value: number) => any;
160
- "update:selectedRows": (value: DataItem | DataItem[]) => any;
160
+ "update:selectedRows": (value: DataItem | DataItem[] | null) => any;
161
161
  } & {
162
162
  rowClickHandler: (value: {
163
163
  data: any;
@@ -170,7 +170,7 @@ index: number;
170
170
  }) => any) | undefined;
171
171
  "onUpdate:currentPage"?: ((value: number) => any) | undefined;
172
172
  "onUpdate:perPage"?: ((value: number) => any) | undefined;
173
- "onUpdate:selectedRows"?: ((value: DataItem | DataItem[]) => any) | undefined;
173
+ "onUpdate:selectedRows"?: ((value: DataItem | DataItem[] | null) => any) | undefined;
174
174
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
175
175
  tableRef: HTMLTableElement;
176
176
  tableBodyRef: CreateComponentPublicInstanceWithMixins<Readonly<TableBodyProps> & Readonly<{
@@ -247,10 +247,15 @@ visible: boolean;
247
247
  declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
248
248
  "update:modelValue": (value: any) => any;
249
249
  } & {
250
- change: (value?: string | number | object | undefined) => any;
250
+ change: (value: string | number | boolean | any[] | null) => any;
251
+ "update:modelValue": (value: string | number | boolean | any[] | null) => any;
252
+ "update:checked": (value: boolean) => any;
253
+ "update:indeterminate": (value: boolean) => any;
251
254
  }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
252
- onChange?: ((value?: string | number | object | undefined) => any) | undefined;
253
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
255
+ onChange?: ((value: string | number | boolean | any[] | null) => any) | undefined;
256
+ "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | null) => any) | undefined;
257
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
258
+ "onUpdate:indeterminate"?: ((value: boolean) => any) | undefined;
254
259
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
255
260
 
256
261
  declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -467,11 +472,11 @@ declare type __VLS_Props_4 = {
467
472
  falseValue?: string | boolean;
468
473
  name?: string;
469
474
  disabled?: boolean;
470
- checked?: boolean;
471
475
  indeterminate?: boolean;
472
476
  size?: "small" | "default" | "large";
473
477
  error?: boolean;
474
478
  errorText?: string;
479
+ checked?: boolean;
475
480
  };
476
481
 
477
482
  declare type __VLS_Props_5 = {
@@ -487,6 +492,7 @@ declare type __VLS_Props_6 = {
487
492
  size?: "small" | "default" | "large";
488
493
  name?: string;
489
494
  customId?: string;
495
+ checked?: boolean;
490
496
  };
491
497
 
492
498
  declare type __VLS_Props_7 = InputTextProps;
@@ -506,7 +512,7 @@ declare type __VLS_Props_9 = Props;
506
512
  declare type __VLS_PublicProps = {
507
513
  "currentPage"?: number;
508
514
  "perPage"?: number;
509
- 'selectedRows'?: DataItem[] | DataItem;
515
+ 'selectedRows'?: DataItem[] | DataItem | null;
510
516
  } & __VLS_Props_2;
511
517
 
512
518
  declare type __VLS_PublicProps_10 = {
@@ -558,7 +564,7 @@ declare type __VLS_PublicProps_2 = {
558
564
  } & __VLS_Props_3;
559
565
 
560
566
  declare type __VLS_PublicProps_3 = {
561
- modelValue?: string[] | string | boolean | any | null;
567
+ modelValue?: string | boolean | any | null | any[];
562
568
  } & __VLS_Props_4;
563
569
 
564
570
  declare type __VLS_PublicProps_4 = {
@@ -833,10 +839,8 @@ declare function __VLS_template_3(): {
833
839
 
834
840
  declare function __VLS_template_4(): {
835
841
  attrs: Partial<{}>;
836
- slots: Readonly<{
837
- label(): any;
838
- }> & {
839
- label(): any;
842
+ slots: {
843
+ label?(_: {}): any;
840
844
  };
841
845
  refs: {};
842
846
  rootEl: HTMLLabelElement;
@@ -861,13 +865,7 @@ declare function __VLS_template_6(): {
861
865
  option?(_: {
862
866
  option: DropdownOption;
863
867
  selected: boolean;
864
- multiple: true;
865
- handleSelect: () => void;
866
- }): any;
867
- option?(_: {
868
- option: DropdownOption;
869
- selected: boolean;
870
- multiple: false;
868
+ multiple: boolean;
871
869
  handleSelect: () => void;
872
870
  }): any;
873
871
  };
@@ -1857,7 +1855,8 @@ export declare const Tab: __VLS_WithTemplateSlots_23<typeof __VLS_component_23,
1857
1855
  declare interface TableBodyProps {
1858
1856
  columns: Column_2[];
1859
1857
  data: DataItem[];
1860
- selectedRows: DataItem[] | DataItem;
1858
+ selectedRows: DataItem[] | DataItem | null;
1859
+ dataKey?: string;
1861
1860
  size: TableSize;
1862
1861
  colorHovered: boolean;
1863
1862
  scroller?: {
@@ -1876,6 +1875,8 @@ declare type TableProps = {
1876
1875
  theme?: 'default';
1877
1876
  /** Данные */
1878
1877
  data: DataItem[];
1878
+ /** Ключ для уникальной идентификации строк */
1879
+ dataKey?: string;
1879
1880
  /** Размер таблицы */
1880
1881
  size?: TableSize;
1881
1882
  /** Поля для сортировки */