@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.
- package/dist/{CodeEditorComponent-7z-H3aDG.js → CodeEditorComponent-sOC76yJV.js} +1 -1
- package/dist/{InputDateComponent-dyq5Qnln.js → InputDateComponent-BUnPCCDe.js} +1097 -1012
- package/dist/{en-vqJxCbTh.js → en-BmYJPi7w.js} +3 -2
- package/dist/helpers/date.d.ts +6 -0
- package/dist/{it-FJl9M3rv.js → it-BG6oL8Br.js} +1 -0
- package/dist/locales/en.d.ts +1 -0
- package/dist/{main-CJaq1k9U.js → main-Bc7WPO8T.js} +3154 -3133
- package/dist/main.d.ts +1 -1
- package/dist/main.js +32 -31
- package/dist/style.css +1 -1
- package/dist/ui/forms/InputDate/InputDateComponent.d.ts +7 -1
- package/dist/ui/forms/InputDateRange/InputDateRange.d.ts +1 -1
- package/dist/ui/resources/ResourcePaymentMethod.d.ts +5 -1
- package/package.json +2 -1
|
@@ -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>",
|
package/dist/helpers/date.d.ts
CHANGED
|
@@ -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 {};
|