@selfeesas/shared-components 1.6.0 → 1.7.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.
@@ -19,10 +19,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsT
19
19
 
20
20
  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>;
21
21
 
22
- declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<Props_2>, {
22
+ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<Props_2>, {
23
23
  to: string;
24
24
  useDiv: boolean;
25
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<Props_2>, {
25
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<Props_2>, {
26
26
  to: string;
27
27
  useDiv: boolean;
28
28
  }>>> & Readonly<{}>, {
@@ -30,7 +30,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
30
30
  useDiv: boolean;
31
31
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
32
32
 
33
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<SelfeeCardProps>, {
33
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<SelfeeCardProps>, {
34
34
  showHeader: boolean;
35
35
  colorScheme: string;
36
36
  shadowIntensity: string;
@@ -45,7 +45,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefa
45
45
  subtitle: string;
46
46
  title: string;
47
47
  contentGap: boolean;
48
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<SelfeeCardProps>, {
48
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<SelfeeCardProps>, {
49
49
  showHeader: boolean;
50
50
  colorScheme: string;
51
51
  shadowIntensity: string;
@@ -77,14 +77,14 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefa
77
77
  contentGap: boolean | string;
78
78
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
79
79
 
80
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<SmartFiltersProps>, {
80
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<SmartFiltersProps>, {
81
81
  containerClass: string;
82
82
  rowClass: string;
83
83
  activeHiddenCount: number;
84
84
  hasActiveFilters: boolean;
85
85
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
86
86
  reset: () => void;
87
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<SmartFiltersProps>, {
87
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<SmartFiltersProps>, {
88
88
  containerClass: string;
89
89
  rowClass: string;
90
90
  activeHiddenCount: number;
@@ -98,7 +98,7 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefa
98
98
  activeHiddenCount: number;
99
99
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
100
100
 
101
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<CustomTableProps>, {
101
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToOption_24<CustomTableProps>, {
102
102
  filter: null;
103
103
  loading: boolean;
104
104
  pagination: () => {
@@ -147,7 +147,7 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefa
147
147
  "selection-change": (...args: any[]) => void;
148
148
  "data-loaded": (...args: any[]) => void;
149
149
  "loading-change": (...args: any[]) => void;
150
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<CustomTableProps>, {
150
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToOption_24<CustomTableProps>, {
151
151
  filter: null;
152
152
  loading: boolean;
153
153
  pagination: () => {
@@ -208,14 +208,14 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefa
208
208
  filterSelected: Record<string, any>;
209
209
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
210
210
 
211
- declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToOption_24<StatCardProps>, {
211
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToOption_25<StatCardProps>, {
212
212
  size: string;
213
213
  titleSize: string;
214
214
  iconColor: string;
215
215
  iconSize: string;
216
216
  bodySize: string;
217
217
  subtitleSize: string;
218
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToOption_24<StatCardProps>, {
218
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToOption_25<StatCardProps>, {
219
219
  size: string;
220
220
  titleSize: string;
221
221
  iconColor: string;
@@ -267,6 +267,8 @@ declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
267
267
 
268
268
  declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
269
269
 
270
+ declare type __VLS_NonUndefinedable_26<T> = T extends undefined ? never : T;
271
+
270
272
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
271
273
 
272
274
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
@@ -329,6 +331,10 @@ declare type __VLS_PrettifyLocal_2<T> = {
329
331
  [K in keyof T]: T[K];
330
332
  } & {};
331
333
 
334
+ declare type __VLS_PrettifyLocal_20<T> = {
335
+ [K in keyof T]: T[K];
336
+ } & {};
337
+
332
338
  declare type __VLS_PrettifyLocal_3<T> = {
333
339
  [K in keyof T]: T[K];
334
340
  } & {};
@@ -655,6 +661,15 @@ declare type __VLS_TypePropsToOption_25<T> = {
655
661
  };
656
662
  };
657
663
 
664
+ declare type __VLS_TypePropsToOption_26<T> = {
665
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
666
+ type: PropType<__VLS_NonUndefinedable_26<T[K]>>;
667
+ } : {
668
+ type: PropType<T[K]>;
669
+ required: true;
670
+ };
671
+ };
672
+
658
673
  declare type __VLS_TypePropsToOption_3<T> = {
659
674
  [K in keyof T]-?: {} extends Pick<T, K> ? {
660
675
  type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
@@ -790,6 +805,12 @@ declare type __VLS_WithDefaults_2<P, D> = {
790
805
  }> : P[K];
791
806
  };
792
807
 
808
+ declare type __VLS_WithDefaults_20<P, D> = {
809
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_20<P[K] & {
810
+ default: D[K];
811
+ }> : P[K];
812
+ };
813
+
793
814
  declare type __VLS_WithDefaults_3<P, D> = {
794
815
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
795
816
  default: D[K];
@@ -1414,7 +1435,7 @@ export declare interface ExportButtonProps<T = any> {
1414
1435
  onError?: (error: unknown) => void;
1415
1436
  }
1416
1437
 
1417
- export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToOption_25<ExportDataButtonProps>, {
1438
+ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<ExportDataButtonProps>, {
1418
1439
  label: string;
1419
1440
  color: string;
1420
1441
  disabled: boolean;
@@ -1425,7 +1446,7 @@ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_Wi
1425
1446
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1426
1447
  success: () => void;
1427
1448
  error: (error: unknown) => void;
1428
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToOption_25<ExportDataButtonProps>, {
1449
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<ExportDataButtonProps>, {
1429
1450
  label: string;
1430
1451
  color: string;
1431
1452
  disabled: boolean;
@@ -1506,6 +1527,41 @@ export declare function getLastThreeFullMonths(currentDate?: Date): {
1506
1527
  to: string;
1507
1528
  };
1508
1529
 
1530
+ export declare interface ImportError {
1531
+ line?: number | null;
1532
+ message: string;
1533
+ }
1534
+
1535
+ export declare const ImportErrorsDialog: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<ImportErrorsDialogProps>, {
1536
+ title: string;
1537
+ subtitle: undefined;
1538
+ lineLabel: string;
1539
+ closeLabel: string;
1540
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1541
+ "update:modelValue": (value: boolean) => void;
1542
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<ImportErrorsDialogProps>, {
1543
+ title: string;
1544
+ subtitle: undefined;
1545
+ lineLabel: string;
1546
+ closeLabel: string;
1547
+ }>>> & Readonly<{
1548
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1549
+ }>, {
1550
+ title: string;
1551
+ closeLabel: string;
1552
+ subtitle: string;
1553
+ lineLabel: string;
1554
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1555
+
1556
+ export declare interface ImportErrorsDialogProps {
1557
+ modelValue: boolean;
1558
+ errors: ImportError[];
1559
+ title?: string;
1560
+ subtitle?: string;
1561
+ lineLabel?: string;
1562
+ closeLabel?: string;
1563
+ }
1564
+
1509
1565
  export declare function isDateSelectable(date: DateInput, minDateProps?: DateInput | null, maxDateProps?: DateInput | null, datesDisabled?: DisabledDate[]): boolean;
1510
1566
 
1511
1567
  export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
@@ -1603,7 +1659,7 @@ export declare interface Particle {
1603
1659
  opacity: number;
1604
1660
  }
1605
1661
 
1606
- export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<PersistentDateRangeProps>, {
1662
+ export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<PersistentDateRangeProps>, {
1607
1663
  modelValue: () => {
1608
1664
  from: string;
1609
1665
  to: string;
@@ -1638,7 +1694,7 @@ export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS
1638
1694
  "update:modelValue": (value: DateRangeValue) => void;
1639
1695
  clear: () => void;
1640
1696
  "update:dateRange": (value: DateRangeValue) => void;
1641
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<PersistentDateRangeProps>, {
1697
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<PersistentDateRangeProps>, {
1642
1698
  modelValue: () => {
1643
1699
  from: string;
1644
1700
  to: string;