@forgeroute/ui 0.4.86 → 0.4.87
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/fesm2022/forgeroute-ui-offline.mjs +99 -18
- package/fesm2022/forgeroute-ui-offline.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-CioAOUhm.mjs → forgeroute-ui-ui-labels.es-jZuBPL40.mjs} +5 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-CioAOUhm.mjs.map → forgeroute-ui-ui-labels.es-jZuBPL40.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui.mjs +5 -1
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-offline.d.ts +33 -2
- package/types/forgeroute-ui.d.ts +4 -0
|
@@ -1866,6 +1866,10 @@ const UI_DEFAULT_LABELS = {
|
|
|
1866
1866
|
"connection.whatCanIDo": "What can I do?",
|
|
1867
1867
|
"connection.hide": "Hide",
|
|
1868
1868
|
"connection.savedOnDevice": "Saved on this device — will send when you're back online.",
|
|
1869
|
+
"connection.offline.noQueue.message": "This page needs a connection to continue. What you have entered stays on this page.",
|
|
1870
|
+
"connection.unreachable.noQueue.message": "We'll keep trying. What you have entered stays on this page.",
|
|
1871
|
+
"connection.slow.noQueue.message": "Things may take longer. Please wait and don't tap twice.",
|
|
1872
|
+
"connection.backOnline": "You're back online",
|
|
1869
1873
|
"connection.stillWorking": "Still working… please don't tap again.",
|
|
1870
1874
|
"connection.timeout.read": "This is taking too long. Check your connection and try again.",
|
|
1871
1875
|
"connection.thisAction": "This action",
|
|
@@ -67252,7 +67256,7 @@ const BUILT_IN_ENDONYMS = {
|
|
|
67252
67256
|
ko: "한국어",
|
|
67253
67257
|
ru: "Русский"
|
|
67254
67258
|
};
|
|
67255
|
-
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-
|
|
67259
|
+
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-jZuBPL40.mjs").then((m) => m.UI_LABELS_ES)]]);
|
|
67256
67260
|
const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
|
|
67257
67261
|
const baseOf = (tag) => normalizeTag(tag).split("-")[0];
|
|
67258
67262
|
const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
|