@selfeesas/shared-components 1.7.1 → 1.8.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.
- package/dist/assets/shared-components.css +1 -1
- package/dist/shared-components.cjs.js +15 -15
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +46 -2
- package/dist/shared-components.es.js +1117 -1078
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -269,6 +269,8 @@ declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
|
|
|
269
269
|
|
|
270
270
|
declare type __VLS_NonUndefinedable_26<T> = T extends undefined ? never : T;
|
|
271
271
|
|
|
272
|
+
declare type __VLS_NonUndefinedable_27<T> = T extends undefined ? never : T;
|
|
273
|
+
|
|
272
274
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
273
275
|
|
|
274
276
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -335,6 +337,10 @@ declare type __VLS_PrettifyLocal_20<T> = {
|
|
|
335
337
|
[K in keyof T]: T[K];
|
|
336
338
|
} & {};
|
|
337
339
|
|
|
340
|
+
declare type __VLS_PrettifyLocal_21<T> = {
|
|
341
|
+
[K in keyof T]: T[K];
|
|
342
|
+
} & {};
|
|
343
|
+
|
|
338
344
|
declare type __VLS_PrettifyLocal_3<T> = {
|
|
339
345
|
[K in keyof T]: T[K];
|
|
340
346
|
} & {};
|
|
@@ -670,6 +676,15 @@ declare type __VLS_TypePropsToOption_26<T> = {
|
|
|
670
676
|
};
|
|
671
677
|
};
|
|
672
678
|
|
|
679
|
+
declare type __VLS_TypePropsToOption_27<T> = {
|
|
680
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
681
|
+
type: PropType<__VLS_NonUndefinedable_27<T[K]>>;
|
|
682
|
+
} : {
|
|
683
|
+
type: PropType<T[K]>;
|
|
684
|
+
required: true;
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
|
|
673
688
|
declare type __VLS_TypePropsToOption_3<T> = {
|
|
674
689
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
675
690
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -811,6 +826,12 @@ declare type __VLS_WithDefaults_20<P, D> = {
|
|
|
811
826
|
}> : P[K];
|
|
812
827
|
};
|
|
813
828
|
|
|
829
|
+
declare type __VLS_WithDefaults_21<P, D> = {
|
|
830
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_21<P[K] & {
|
|
831
|
+
default: D[K];
|
|
832
|
+
}> : P[K];
|
|
833
|
+
};
|
|
834
|
+
|
|
814
835
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
815
836
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
|
|
816
837
|
default: D[K];
|
|
@@ -1442,7 +1463,7 @@ export declare interface ExportButtonProps<T = any> {
|
|
|
1442
1463
|
onError?: (error: unknown) => void;
|
|
1443
1464
|
}
|
|
1444
1465
|
|
|
1445
|
-
export declare const ExportDataButton: DefineComponent<ExtractPropTypes<
|
|
1466
|
+
export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToOption_27<ExportDataButtonProps>, {
|
|
1446
1467
|
label: string;
|
|
1447
1468
|
color: string;
|
|
1448
1469
|
disabled: boolean;
|
|
@@ -1453,7 +1474,7 @@ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_Wi
|
|
|
1453
1474
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1454
1475
|
success: () => void;
|
|
1455
1476
|
error: (error: unknown) => void;
|
|
1456
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1477
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToOption_27<ExportDataButtonProps>, {
|
|
1457
1478
|
label: string;
|
|
1458
1479
|
color: string;
|
|
1459
1480
|
disabled: boolean;
|
|
@@ -1571,6 +1592,29 @@ export declare interface ImportErrorsDialogProps {
|
|
|
1571
1592
|
|
|
1572
1593
|
export declare function isDateSelectable(date: DateInput, minDateProps?: DateInput | null, maxDateProps?: DateInput | null, datesDisabled?: DisabledDate[]): boolean;
|
|
1573
1594
|
|
|
1595
|
+
export declare const KpiStatCard: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<KpiStatCardProps>, {
|
|
1596
|
+
icon: undefined;
|
|
1597
|
+
iconColor: string;
|
|
1598
|
+
progressColor: string;
|
|
1599
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<KpiStatCardProps>, {
|
|
1600
|
+
icon: undefined;
|
|
1601
|
+
iconColor: string;
|
|
1602
|
+
progressColor: string;
|
|
1603
|
+
}>>> & Readonly<{}>, {
|
|
1604
|
+
icon: string;
|
|
1605
|
+
iconColor: string;
|
|
1606
|
+
progressColor: string;
|
|
1607
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1608
|
+
|
|
1609
|
+
declare interface KpiStatCardProps {
|
|
1610
|
+
title: string;
|
|
1611
|
+
value: number;
|
|
1612
|
+
total: number;
|
|
1613
|
+
icon?: string;
|
|
1614
|
+
iconColor?: string;
|
|
1615
|
+
progressColor?: string;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1574
1618
|
export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1575
1619
|
|
|
1576
1620
|
export declare interface LayoutProps {
|