@selfeesas/shared-components 0.4.27 → 0.4.29

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.
@@ -62,6 +62,8 @@ declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
62
62
 
63
63
  declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
64
64
 
65
+ declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
66
+
65
67
  declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
66
68
 
67
69
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
@@ -86,6 +88,10 @@ declare type __VLS_PrettifyLocal_10<T> = {
86
88
  [K in keyof T]: T[K];
87
89
  } & {};
88
90
 
91
+ declare type __VLS_PrettifyLocal_11<T> = {
92
+ [K in keyof T]: T[K];
93
+ } & {};
94
+
89
95
  declare type __VLS_PrettifyLocal_2<T> = {
90
96
  [K in keyof T]: T[K];
91
97
  } & {};
@@ -258,6 +264,15 @@ declare type __VLS_TypePropsToOption_15<T> = {
258
264
  };
259
265
  };
260
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
+
261
276
  declare type __VLS_TypePropsToOption_2<T> = {
262
277
  [K in keyof T]-?: {} extends Pick<T, K> ? {
263
278
  type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
@@ -342,6 +357,12 @@ declare type __VLS_WithDefaults_10<P, D> = {
342
357
  }> : P[K];
343
358
  };
344
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
+
345
366
  declare type __VLS_WithDefaults_2<P, D> = {
346
367
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
347
368
  default: D[K];
@@ -485,6 +506,41 @@ export declare interface CheckboxOption {
485
506
  disabled?: boolean;
486
507
  }
487
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
+
488
544
  export declare interface Context {
489
545
  store: Store;
490
546
  route: RouteLocationNormalizedLoaded;
@@ -804,13 +860,16 @@ export declare const NavButton: DefineComponent<ExtractPropTypes<__VLS_WithDefau
804
860
  to: undefined;
805
861
  labelTo: undefined;
806
862
  params: () => {};
863
+ query: () => {};
807
864
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption_2<NavButtonProps>, {
808
865
  to: undefined;
809
866
  labelTo: undefined;
810
867
  params: () => {};
868
+ query: () => {};
811
869
  }>>> & Readonly<{}>, {
812
870
  to: string;
813
871
  params: RouteParamsRaw;
872
+ query: Record<string, string>;
814
873
  labelTo: string;
815
874
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
816
875
 
@@ -820,6 +879,7 @@ export declare interface NavButtonProps {
820
879
  labelFrom: string;
821
880
  labelTo?: string;
822
881
  params?: RouteParamsRaw;
882
+ query?: Record<string, string>;
823
883
  }
824
884
 
825
885
  export declare interface NavContext {