@commercelayer/app-elements 5.1.7 → 5.2.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.
@@ -268,6 +268,7 @@ const e = {
268
268
  select_resource: "Select {{resource}}",
269
269
  show_less: "Show less",
270
270
  show_more: "Show more",
271
+ card_expires: "expires",
271
272
  saving: "Saving...",
272
273
  status: "Status",
273
274
  swap: "Swap",
@@ -509,8 +510,8 @@ The {{organization}} team`,
509
510
  confirm_return_cancellation: "Confirm that you want to cancel return #{{number}}",
510
511
  delete_error: "Could not cancel this return",
511
512
  info: "Info",
512
- timeline_requested_return: "{{email}} requested the return of {{count} item",
513
- timeline_requested_return_other: "{{email}} requested the return of {{count} items",
513
+ timeline_requested_return: "{{email}} requested the return of {{count}} item",
514
+ timeline_requested_return_other: "{{email}} requested the return of {{count}} items",
514
515
  timeline_shipped: "Return was <strong>shipped</strong>",
515
516
  timeline_received: "Return was <strong>received</strong>",
516
517
  timeline_cancelled: "Return was <strong>cancelled</strong>",
@@ -167,4 +167,10 @@ export declare function makeDateYearsRange({ now, yearsAgo, showMilliseconds }:
167
167
  date_from: string;
168
168
  date_to: string;
169
169
  };
170
+ /**
171
+ * Check if the given date is valid.
172
+ * @param date The date to check.
173
+ * @returns True if the date is valid, false otherwise.
174
+ */
175
+ export declare function isDateValid(date: Date): boolean;
170
176
  export {};
@@ -70,6 +70,7 @@ const e = {
70
70
  select_resource: "Seleziona {{resource}}",
71
71
  show_less: "Mostra meno",
72
72
  show_more: "Mostra di più",
73
+ card_expires: "scade",
73
74
  status: "Stato",
74
75
  swap: "Scambia",
75
76
  time_range: "Periodo",
@@ -68,6 +68,7 @@ declare const en: {
68
68
  select_resource: string;
69
69
  show_less: string;
70
70
  show_more: string;
71
+ card_expires: string;
71
72
  saving: string;
72
73
  status: string;
73
74
  swap: string;