@selfeesas/shared-components 1.5.2 → 1.5.4

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.
@@ -1516,6 +1516,17 @@ export declare interface PaginationOptions {
1516
1516
 
1517
1517
  export declare function parseDate(dateStr: string): Date;
1518
1518
 
1519
+ /**
1520
+ * Parses an ISO datetime string into a date string in the format DD-MM-YYYY and a time string in the format HH:MM:SS or HH:MM.
1521
+ * If the datetime string does not contain a valid date, an empty object with both date and time properties set to empty strings is returned.
1522
+ * @param {string} dateTimeString - The ISO datetime string to parse
1523
+ * @returns {{ date: string; time: string }} - The parsed date and time strings
1524
+ */
1525
+ export declare function parseISODateTime(dateTimeString: string): {
1526
+ date: string;
1527
+ time: string;
1528
+ };
1529
+
1519
1530
  export declare interface Particle {
1520
1531
  size: number;
1521
1532
  x: number;