@tracktor/shared-module 1.0.0-beta.6 → 1.0.0-beta.7
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/CHANGELOG.md +2 -2
- package/dist/components/Utils/DaysJSConfig.d.ts +1 -1
- package/dist/en-gK0dFos9.js +18 -0
- package/dist/fr-tYyGRO0d.js +22 -0
- package/dist/hooks/useAdapter/useAdapter.d.ts +1 -1
- package/dist/main-n8Gmn2zo.js +940 -0
- package/dist/main.js +19 -896
- package/dist/main.umd.cjs +10 -10
- package/package.json +1 -1
- package/dist/en-HVfn094c.js +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { c as o } from "./main-n8Gmn2zo.js";
|
|
2
|
+
var a = { exports: {} };
|
|
3
|
+
(function(t, _) {
|
|
4
|
+
(function(r, e) {
|
|
5
|
+
t.exports = e();
|
|
6
|
+
})(o, function() {
|
|
7
|
+
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(r) {
|
|
8
|
+
var e = ["th", "st", "nd", "rd"], n = r % 100;
|
|
9
|
+
return "[" + r + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
|
|
10
|
+
} };
|
|
11
|
+
});
|
|
12
|
+
})(a);
|
|
13
|
+
const s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14
|
+
__proto__: null
|
|
15
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
16
|
+
export {
|
|
17
|
+
s as e
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { c as m } from "./main-n8Gmn2zo.js";
|
|
2
|
+
import o from "dayjs";
|
|
3
|
+
var i = { exports: {} };
|
|
4
|
+
(function(n, s) {
|
|
5
|
+
(function(t, r) {
|
|
6
|
+
n.exports = r(o);
|
|
7
|
+
})(m, function(t) {
|
|
8
|
+
function r(e) {
|
|
9
|
+
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
|
10
|
+
}
|
|
11
|
+
var a = r(t), _ = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(e) {
|
|
12
|
+
return "" + e + (e === 1 ? "er" : "");
|
|
13
|
+
} };
|
|
14
|
+
return a.default.locale(_, null, !0), _;
|
|
15
|
+
});
|
|
16
|
+
})(i);
|
|
17
|
+
const l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
|
+
__proto__: null
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
+
export {
|
|
21
|
+
l as f
|
|
22
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @returns
|
|
4
4
|
*/
|
|
5
5
|
export declare const useAdapter: () => {
|
|
6
|
-
dateAdapter: (date: string | number |
|
|
6
|
+
dateAdapter: (date: string | number | import("dayjs").Dayjs | Date | null | undefined, format?: string) => string;
|
|
7
7
|
distanceAdapter: (distance?: string | number | null | undefined, metric?: string) => string;
|
|
8
8
|
filePathAdapter: (href?: string | null | {
|
|
9
9
|
pathname: string;
|