@feedmepos/mf-common 1.29.30 → 1.29.31
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-d5c39378.js → CustomAttributesForm-d3d73f69.js} +1 -1
- package/dist/{ItemSelector-79166276.js → ItemSelector-2024413b.js} +1 -1
- package/dist/{RestaurantSelector-2868c784.js → RestaurantSelector-eda0b174.js} +1 -1
- package/dist/{app-c99df715.js → app-34901a67.js} +569 -576
- package/dist/app.js +2 -2
- package/dist/utils/dateTimeFormat.d.ts +9 -22
- 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-34901a67.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-34901a67.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "vue-router";
|
|
@@ -4,33 +4,20 @@
|
|
|
4
4
|
* country, rather than relying on the bare device locale.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Formats a stored "HH:mm"
|
|
8
|
-
*
|
|
9
|
-
* `hour12` is passed explicitly, which overrides it for that one caller.
|
|
7
|
+
* Formats a stored "HH:mm" (e.g. a scheduler time-of-day) for display.
|
|
8
|
+
* `hour12` overrides the country's convention for a single caller.
|
|
10
9
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Anchors on a fixed UTC instant + `timeZone: "UTC"` rather than "today" in
|
|
15
|
-
* the viewer's own zone, so a DST spring-forward gap can't turn a valid
|
|
16
|
-
* "HH:mm" into a nonexistent local time.
|
|
10
|
+
* Returns the raw input rather than throwing on bad data, since this renders
|
|
11
|
+
* API-supplied values. Anchored on a fixed UTC instant so a DST
|
|
12
|
+
* spring-forward gap can't make a valid "HH:mm" nonexistent.
|
|
17
13
|
*/
|
|
18
14
|
export declare function formatTimeOfDay(hhmm: string, locale: string, hour12?: boolean, country?: string): string;
|
|
19
|
-
/**
|
|
20
|
-
* Falls back to the input (stringified) instead of throwing on an unparsable
|
|
21
|
-
* date or an invalid locale tag -- same rationale as formatTimeOfDay above.
|
|
22
|
-
*/
|
|
15
|
+
/** Returns the stringified input rather than throwing, as formatTimeOfDay does. */
|
|
23
16
|
export declare function formatDateTime(date: Date | string | number, locale: string, opts?: Intl.DateTimeFormatOptions, country?: string): string;
|
|
24
17
|
/**
|
|
25
|
-
* Whether
|
|
26
|
-
*
|
|
27
|
-
*
|
|
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.
|
|
18
|
+
* Whether to render a 12-hour clock. `country` is the reliable signal and
|
|
19
|
+
* wins; with only `locale`, falls back to the pre-existing Intl-based guess
|
|
20
|
+
* for callers not yet passing `country`.
|
|
34
21
|
*/
|
|
35
22
|
export declare function prefersHour12(locale?: string, country?: string): boolean;
|
|
36
23
|
//# 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;AAgCH;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,CAmBR;AAED,mFAAmF;AACnF,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,CAgBR;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAWxE"}
|