@selfeesas/shared-components 1.19.1 → 1.20.1
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 +29 -29
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +11 -2
- package/dist/shared-components.es.js +9354 -9347
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
- package/src/styles/index.scss +75 -0
|
@@ -190,8 +190,8 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
190
190
|
persistKey: string;
|
|
191
191
|
pagination: Pagination;
|
|
192
192
|
defaultRowsPerPage: number;
|
|
193
|
-
selected: any[];
|
|
194
193
|
rowKey: string;
|
|
194
|
+
selected: any[];
|
|
195
195
|
selection: SelectionMode_2;
|
|
196
196
|
selectable: (row: any) => boolean;
|
|
197
197
|
showSelectAll: boolean;
|
|
@@ -227,8 +227,8 @@ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
227
227
|
}>>> & Readonly<{}>, {
|
|
228
228
|
size: Size;
|
|
229
229
|
iconColor: string;
|
|
230
|
-
titleSize: Size;
|
|
231
230
|
iconSize: Size;
|
|
231
|
+
titleSize: Size;
|
|
232
232
|
bodySize: Size;
|
|
233
233
|
subtitleSize: Size;
|
|
234
234
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1634,6 +1634,7 @@ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_Wi
|
|
|
1634
1634
|
label: string;
|
|
1635
1635
|
color: string;
|
|
1636
1636
|
disabled: boolean;
|
|
1637
|
+
disabledTooltip: undefined;
|
|
1637
1638
|
sheetName: string;
|
|
1638
1639
|
beforeExport: undefined;
|
|
1639
1640
|
onSuccess: undefined;
|
|
@@ -1645,6 +1646,7 @@ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_Wi
|
|
|
1645
1646
|
label: string;
|
|
1646
1647
|
color: string;
|
|
1647
1648
|
disabled: boolean;
|
|
1649
|
+
disabledTooltip: undefined;
|
|
1648
1650
|
sheetName: string;
|
|
1649
1651
|
beforeExport: undefined;
|
|
1650
1652
|
onSuccess: undefined;
|
|
@@ -1659,6 +1661,7 @@ export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_Wi
|
|
|
1659
1661
|
onError: (error: unknown) => void;
|
|
1660
1662
|
beforeExport: () => Promise<void> | void;
|
|
1661
1663
|
onSuccess: () => void;
|
|
1664
|
+
disabledTooltip: string;
|
|
1662
1665
|
sheetName: string;
|
|
1663
1666
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1664
1667
|
|
|
@@ -1670,6 +1673,7 @@ export declare interface ExportDataButtonProps {
|
|
|
1670
1673
|
label?: string;
|
|
1671
1674
|
color?: string;
|
|
1672
1675
|
disabled?: boolean;
|
|
1676
|
+
disabledTooltip?: string;
|
|
1673
1677
|
beforeExport?: () => Promise<void> | void;
|
|
1674
1678
|
onSuccess?: () => void;
|
|
1675
1679
|
onError?: (error: unknown) => void;
|
|
@@ -1713,6 +1717,8 @@ export declare function formatDateToDDMMYYYY(date: Date | string): string;
|
|
|
1713
1717
|
|
|
1714
1718
|
export declare function formatToISODateTime(dateString: string | null | undefined): string;
|
|
1715
1719
|
|
|
1720
|
+
export declare function getDateValidationError(dateStr: string): string | null;
|
|
1721
|
+
|
|
1716
1722
|
export declare function getFirstDayOfMonth(year: number, month: number): Date;
|
|
1717
1723
|
|
|
1718
1724
|
export declare function getLastDayOfMonth(year: number, month: number): Date;
|
|
@@ -1759,6 +1765,8 @@ export declare interface ImportErrorsDialogProps {
|
|
|
1759
1765
|
|
|
1760
1766
|
export declare function isDateSelectable(date: DateInput, minDateProps?: DateInput | null, maxDateProps?: DateInput | null, datesDisabled?: DisabledDate[]): boolean;
|
|
1761
1767
|
|
|
1768
|
+
export declare function isValidDate(dateStr: string): boolean;
|
|
1769
|
+
|
|
1762
1770
|
export declare const KpiStatCard: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<KpiStatCardProps>, {
|
|
1763
1771
|
icon: undefined;
|
|
1764
1772
|
iconColor: string;
|
|
@@ -2323,6 +2331,7 @@ export declare interface TableAction {
|
|
|
2323
2331
|
size?: string;
|
|
2324
2332
|
class?: string;
|
|
2325
2333
|
disabled?: boolean | ((row: any) => boolean);
|
|
2334
|
+
disabledTooltip?: string | ((row: any) => string);
|
|
2326
2335
|
visible?: boolean | ((row: any) => boolean);
|
|
2327
2336
|
handler: (row: any) => void;
|
|
2328
2337
|
isButton?: boolean;
|