@lystech/core 3.0.124 → 3.0.126

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/index.d.ts CHANGED
@@ -238,6 +238,11 @@ export declare function ClientOrderBill({ bill }: {
238
238
  bill: CustomerBill;
239
239
  }): JSX.Element;
240
240
 
241
+ export declare function ClosingCountdown({ closing, onElapsed }: {
242
+ closing: ShopClosing;
243
+ onElapsed?: () => void;
244
+ }): JSX.Element | null;
245
+
241
246
  export declare function CollectionInvitationSelector({ onCollectionSelected, currentCollectionUID, collectionsSelectorTitle, showOptions, allowAutoSelect }: Props_5): JSX.Element | null;
242
247
 
243
248
  export declare type CollectionInvitationType = {
@@ -450,6 +455,9 @@ declare interface DataGridRow {
450
455
 
451
456
  export declare function fetchAvailableCollections(): Promise<any>;
452
457
 
458
+ /** « 2 j 03 h 15 min 09 s » ; les unités nulles de tête disparaissent. */
459
+ export declare function formatCountdown(ms: number): string;
460
+
453
461
  export declare function formatDateToReadable(date: string | Date | number, showHours?: boolean): string;
454
462
 
455
463
  export declare function formatTime(date: string | Date | number): string;
@@ -1040,6 +1048,11 @@ export declare interface ShopCatalogProduct {
1040
1048
  [key: string]: any;
1041
1049
  }
1042
1050
 
1051
+ declare interface ShopClosing {
1052
+ closeAt: string;
1053
+ message: string;
1054
+ }
1055
+
1043
1056
  export declare function ShopPage({ currentCollectionUID, pleaseSelectACollectionToStartText, noShopAvailableText, noShopAvailableImageSrc, noShopOrInvitationFoundText, pleaseLogInText, returnToLocationAfterLogin, onCollectionSelected, onClickReturnToLogin }: Props_2): JSX.Element;
1044
1057
 
1045
1058
  export declare type ShopProduct = any & {