@selfeesas/shared-components 0.4.26 → 0.4.28

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.
@@ -25,6 +25,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
25
25
  services: () => {};
26
26
  conditionals: () => {};
27
27
  actions: () => never[];
28
+ rowClasses: undefined;
28
29
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
29
30
  "update:pagination": (...args: any[]) => void;
30
31
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToOption_11<CustomTableProps>, {
@@ -34,6 +35,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
34
35
  services: () => {};
35
36
  conditionals: () => {};
36
37
  actions: () => never[];
38
+ rowClasses: undefined;
37
39
  }>>> & Readonly<{
38
40
  "onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
39
41
  }>, {
@@ -43,6 +45,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
43
45
  services: CustomTableServices;
44
46
  conditionals: CustomTableConditionals;
45
47
  actions: TableAction[] | ((row: any) => TableAction[]);
48
+ rowClasses: string | ((row: any) => string);
46
49
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
47
50
 
48
51
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -59,6 +62,8 @@ declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
59
62
 
60
63
  declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
61
64
 
65
+ declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
66
+
62
67
  declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
63
68
 
64
69
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
@@ -83,6 +88,10 @@ declare type __VLS_PrettifyLocal_10<T> = {
83
88
  [K in keyof T]: T[K];
84
89
  } & {};
85
90
 
91
+ declare type __VLS_PrettifyLocal_11<T> = {
92
+ [K in keyof T]: T[K];
93
+ } & {};
94
+
86
95
  declare type __VLS_PrettifyLocal_2<T> = {
87
96
  [K in keyof T]: T[K];
88
97
  } & {};
@@ -255,6 +264,15 @@ declare type __VLS_TypePropsToOption_15<T> = {
255
264
  };
256
265
  };
257
266
 
267
+ declare type __VLS_TypePropsToOption_16<T> = {
268
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
269
+ type: PropType<__VLS_NonUndefinedable_16<T[K]>>;
270
+ } : {
271
+ type: PropType<T[K]>;
272
+ required: true;
273
+ };
274
+ };
275
+
258
276
  declare type __VLS_TypePropsToOption_2<T> = {
259
277
  [K in keyof T]-?: {} extends Pick<T, K> ? {
260
278
  type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
@@ -339,6 +357,12 @@ declare type __VLS_WithDefaults_10<P, D> = {
339
357
  }> : P[K];
340
358
  };
341
359
 
360
+ declare type __VLS_WithDefaults_11<P, D> = {
361
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_11<P[K] & {
362
+ default: D[K];
363
+ }> : P[K];
364
+ };
365
+
342
366
  declare type __VLS_WithDefaults_2<P, D> = {
343
367
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
344
368
  default: D[K];
@@ -482,6 +506,41 @@ export declare interface CheckboxOption {
482
506
  disabled?: boolean;
483
507
  }
484
508
 
509
+ export declare const ConfirmDeleteDialog: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToOption_16<ConfirmDeleteDialogProps>, {
510
+ icon: string;
511
+ color: string;
512
+ confirmLabel: string;
513
+ cancelLabel: string;
514
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
515
+ "update:modelValue": (value: boolean) => void;
516
+ confirm: () => void;
517
+ cancel: () => void;
518
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToOption_16<ConfirmDeleteDialogProps>, {
519
+ icon: string;
520
+ color: string;
521
+ confirmLabel: string;
522
+ cancelLabel: string;
523
+ }>>> & Readonly<{
524
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
525
+ onConfirm?: (() => any) | undefined;
526
+ onCancel?: (() => any) | undefined;
527
+ }>, {
528
+ color: string;
529
+ icon: string;
530
+ confirmLabel: string;
531
+ cancelLabel: string;
532
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
533
+
534
+ declare interface ConfirmDeleteDialogProps {
535
+ modelValue: boolean;
536
+ title: string;
537
+ message: string;
538
+ icon?: string;
539
+ color?: string;
540
+ confirmLabel?: string;
541
+ cancelLabel?: string;
542
+ }
543
+
485
544
  export declare interface Context {
486
545
  store: Store;
487
546
  route: RouteLocationNormalizedLoaded;
@@ -520,6 +579,7 @@ export declare interface CustomTableProps {
520
579
  conditionals?: CustomTableConditionals;
521
580
  actions?: TableAction[] | ((row: any) => TableAction[]);
522
581
  showSkeleton?: boolean;
582
+ rowClasses?: string | ((row: any) => string);
523
583
  }
524
584
 
525
585
  export declare interface CustomTableServices {