@selfeesas/shared-components 1.7.1 → 1.9.0

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.
@@ -13,8 +13,10 @@ import { Router } from 'vue-router';
13
13
 
14
14
  declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_6<SelfeeHeaderProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
15
  "project-change": (...args: any[]) => void;
16
+ "menu-toggle": (...args: any[]) => void;
16
17
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_6<SelfeeHeaderProps>>> & Readonly<{
17
18
  "onProject-change"?: ((...args: any[]) => any) | undefined;
19
+ "onMenu-toggle"?: ((...args: any[]) => any) | undefined;
18
20
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
19
21
 
20
22
  declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_9<LayoutProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_9<LayoutProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -269,6 +271,8 @@ declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
269
271
 
270
272
  declare type __VLS_NonUndefinedable_26<T> = T extends undefined ? never : T;
271
273
 
274
+ declare type __VLS_NonUndefinedable_27<T> = T extends undefined ? never : T;
275
+
272
276
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
273
277
 
274
278
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
@@ -335,6 +339,10 @@ declare type __VLS_PrettifyLocal_20<T> = {
335
339
  [K in keyof T]: T[K];
336
340
  } & {};
337
341
 
342
+ declare type __VLS_PrettifyLocal_21<T> = {
343
+ [K in keyof T]: T[K];
344
+ } & {};
345
+
338
346
  declare type __VLS_PrettifyLocal_3<T> = {
339
347
  [K in keyof T]: T[K];
340
348
  } & {};
@@ -670,6 +678,15 @@ declare type __VLS_TypePropsToOption_26<T> = {
670
678
  };
671
679
  };
672
680
 
681
+ declare type __VLS_TypePropsToOption_27<T> = {
682
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
683
+ type: PropType<__VLS_NonUndefinedable_27<T[K]>>;
684
+ } : {
685
+ type: PropType<T[K]>;
686
+ required: true;
687
+ };
688
+ };
689
+
673
690
  declare type __VLS_TypePropsToOption_3<T> = {
674
691
  [K in keyof T]-?: {} extends Pick<T, K> ? {
675
692
  type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
@@ -811,6 +828,12 @@ declare type __VLS_WithDefaults_20<P, D> = {
811
828
  }> : P[K];
812
829
  };
813
830
 
831
+ declare type __VLS_WithDefaults_21<P, D> = {
832
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_21<P[K] & {
833
+ default: D[K];
834
+ }> : P[K];
835
+ };
836
+
814
837
  declare type __VLS_WithDefaults_3<P, D> = {
815
838
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
816
839
  default: D[K];
@@ -1442,7 +1465,7 @@ export declare interface ExportButtonProps<T = any> {
1442
1465
  onError?: (error: unknown) => void;
1443
1466
  }
1444
1467
 
1445
- export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<ExportDataButtonProps>, {
1468
+ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToOption_27<ExportDataButtonProps>, {
1446
1469
  label: string;
1447
1470
  color: string;
1448
1471
  disabled: boolean;
@@ -1453,7 +1476,7 @@ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_Wi
1453
1476
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1454
1477
  success: () => void;
1455
1478
  error: (error: unknown) => void;
1456
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<ExportDataButtonProps>, {
1479
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToOption_27<ExportDataButtonProps>, {
1457
1480
  label: string;
1458
1481
  color: string;
1459
1482
  disabled: boolean;
@@ -1571,6 +1594,29 @@ export declare interface ImportErrorsDialogProps {
1571
1594
 
1572
1595
  export declare function isDateSelectable(date: DateInput, minDateProps?: DateInput | null, maxDateProps?: DateInput | null, datesDisabled?: DisabledDate[]): boolean;
1573
1596
 
1597
+ export declare const KpiStatCard: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<KpiStatCardProps>, {
1598
+ icon: undefined;
1599
+ iconColor: string;
1600
+ progressColor: string;
1601
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<KpiStatCardProps>, {
1602
+ icon: undefined;
1603
+ iconColor: string;
1604
+ progressColor: string;
1605
+ }>>> & Readonly<{}>, {
1606
+ icon: string;
1607
+ iconColor: string;
1608
+ progressColor: string;
1609
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1610
+
1611
+ declare interface KpiStatCardProps {
1612
+ title: string;
1613
+ value: number;
1614
+ total: number;
1615
+ icon?: string;
1616
+ iconColor?: string;
1617
+ progressColor?: string;
1618
+ }
1619
+
1574
1620
  export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1575
1621
 
1576
1622
  export declare interface LayoutProps {
@@ -1958,6 +2004,7 @@ export declare interface SelfeeHeaderProps {
1958
2004
  }>;
1959
2005
  currentPath?: string;
1960
2006
  environment?: string;
2007
+ showMenuToggle?: boolean;
1961
2008
  }
1962
2009
 
1963
2010
  export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToOption_16<SelfeeLoaderProps>, {