@feedmepos/mf-common 1.29.29 → 1.29.30
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/{CustomAttributesForm-da87b3e3.js → CustomAttributesForm-d5c39378.js} +1 -1
- package/dist/{ItemSelector-03f95123.js → ItemSelector-79166276.js} +1 -1
- package/dist/{RestaurantSelector-77c5ac00.js → RestaurantSelector-2868c784.js} +1 -1
- package/dist/{app-4f2ed6fe.js → app-c99df715.js} +2651 -2609
- package/dist/app.js +2 -2
- package/dist/composables/useAppLocale.d.ts +1 -0
- package/dist/composables/useAppLocale.d.ts.map +1 -1
- package/dist/utils/dateTimeFormat.d.ts +14 -9
- package/dist/utils/dateTimeFormat.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as s } from "./app-
|
|
2
|
-
import { G as m, E as u, x as M, N as p, Q as E, F as P, H as S, h as c, I as d, P as g, _ as C, R as _, g as h, S as A, K as F, r as R, m as T, n as f, B as y, J as O, q as L, i as D, s as I, U as Q, A as U, y as b, z as G, o as N, p as v, T as w, L as x, V as B, k as V, u as Y, j as z, w as H, t as W, M as j, D as k, C as q } from "./app-
|
|
1
|
+
import { v as s } from "./app-c99df715.js";
|
|
2
|
+
import { G as m, E as u, x as M, N as p, Q as E, F as P, H as S, h as c, I as d, P as g, _ as C, R as _, g as h, S as A, K as F, r as R, m as T, n as f, B as y, J as O, q as L, i as D, s as I, U as Q, A as U, y as b, z as G, o as N, p as v, T as w, L as x, V as B, k as V, u as Y, j as z, w as H, t as W, M as j, D as k, C as q } from "./app-c99df715.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "vue-router";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAppLocale.d.ts","sourceRoot":"","sources":["../../../src/composables/useAppLocale.ts"],"names":[],"mappings":"AA0BA;;;;;;GAMG;AACH,wBAAgB,YAAY
|
|
1
|
+
{"version":3,"file":"useAppLocale.d.ts","sourceRoot":"","sources":["../../../src/composables/useAppLocale.ts"],"names":[],"mappings":"AA0BA;;;;;;GAMG;AACH,wBAAgB,YAAY;;;EAc3B"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Formats a stored "HH:mm" value (e.g. a scheduler time-of-day) for display.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* Hour cycle follows the business's country (see getHourCycle above) unless
|
|
9
|
+
* `hour12` is passed explicitly, which overrides it for that one caller.
|
|
10
10
|
*
|
|
11
11
|
* Falls back to the raw input instead of throwing on a malformed "HH:mm" or
|
|
12
12
|
* an invalid locale tag -- this is called with API-provided data, and a bad
|
|
@@ -15,17 +15,22 @@
|
|
|
15
15
|
* the viewer's own zone, so a DST spring-forward gap can't turn a valid
|
|
16
16
|
* "HH:mm" into a nonexistent local time.
|
|
17
17
|
*/
|
|
18
|
-
export declare function formatTimeOfDay(hhmm: string, locale: string, hour12?: boolean): string;
|
|
18
|
+
export declare function formatTimeOfDay(hhmm: string, locale: string, hour12?: boolean, country?: string): string;
|
|
19
19
|
/**
|
|
20
20
|
* Falls back to the input (stringified) instead of throwing on an unparsable
|
|
21
21
|
* date or an invalid locale tag -- same rationale as formatTimeOfDay above.
|
|
22
22
|
*/
|
|
23
|
-
export declare function formatDateTime(date: Date | string | number, locale: string, opts?: Intl.DateTimeFormatOptions): string;
|
|
23
|
+
export declare function formatDateTime(date: Date | string | number, locale: string, opts?: Intl.DateTimeFormatOptions, country?: string): string;
|
|
24
24
|
/**
|
|
25
|
-
* Whether the
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
25
|
+
* Whether the business's country conventionally uses a 12-hour clock.
|
|
26
|
+
*
|
|
27
|
+
* `country` is the reliable signal (see COUNTRY_HOUR_CYCLE above) and wins
|
|
28
|
+
* whenever given. The old single-arg signature took a locale tag, so a
|
|
29
|
+
* caller passing only `locale` (not yet updated to also pass `country`)
|
|
30
|
+
* falls back to the previous Intl.resolvedOptions-based detection on that
|
|
31
|
+
* tag -- not the fix, but not a silent wrong answer either: this is the
|
|
32
|
+
* exact previous behavior, preserved for callers that haven't threaded
|
|
33
|
+
* `country` through yet.
|
|
29
34
|
*/
|
|
30
|
-
export declare function prefersHour12(locale
|
|
35
|
+
export declare function prefersHour12(locale?: string, country?: string): boolean;
|
|
31
36
|
//# sourceMappingURL=dateTimeFormat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateTimeFormat.d.ts","sourceRoot":"","sources":["../../../src/utils/dateTimeFormat.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"dateTimeFormat.d.ts","sourceRoot":"","sources":["../../../src/utils/dateTimeFormat.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsDH;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,CAoBR;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,EAC5B,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,IAAI,CAAC,qBAAmE,EAC9E,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,CAoBR;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAWxE"}
|