@burdenoff/microfe-ecoimpacthub 2026.509.101
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/README.md +12 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/ecoimpacthub/EcoImpactHubRoot.d.ts +5 -0
- package/dist/ecoimpacthub/EcoImpactHubRoot.d.ts.map +1 -0
- package/dist/ecoimpacthub/EcoImpactHubRoot.js +126 -0
- package/dist/ecoimpacthub/EcoImpactHubRoot.js.map +1 -0
- package/dist/ecoimpacthub/EcoImpactHubRoutes.d.ts +2 -0
- package/dist/ecoimpacthub/EcoImpactHubRoutes.d.ts.map +1 -0
- package/dist/ecoimpacthub/EcoImpactHubRoutes.js +55 -0
- package/dist/ecoimpacthub/EcoImpactHubRoutes.js.map +1 -0
- package/dist/ecoimpacthub/index.d.ts +5 -0
- package/dist/ecoimpacthub/index.d.ts.map +1 -0
- package/dist/ecoimpacthub/index.js +3 -0
- package/dist/ecoimpacthub/pages/ActionTrackerPage.d.ts +2 -0
- package/dist/ecoimpacthub/pages/ActionTrackerPage.d.ts.map +1 -0
- package/dist/ecoimpacthub/pages/ActionTrackerPage.js +449 -0
- package/dist/ecoimpacthub/pages/ActionTrackerPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/ChallengesPage.d.ts +2 -0
- package/dist/ecoimpacthub/pages/ChallengesPage.d.ts.map +1 -0
- package/dist/ecoimpacthub/pages/ChallengesPage.js +242 -0
- package/dist/ecoimpacthub/pages/ChallengesPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/CitizenSciencePage.d.ts +2 -0
- package/dist/ecoimpacthub/pages/CitizenSciencePage.d.ts.map +1 -0
- package/dist/ecoimpacthub/pages/CitizenSciencePage.js +443 -0
- package/dist/ecoimpacthub/pages/CitizenSciencePage.js.map +1 -0
- package/dist/ecoimpacthub/pages/CommunityPage.d.ts +2 -0
- package/dist/ecoimpacthub/pages/CommunityPage.d.ts.map +1 -0
- package/dist/ecoimpacthub/pages/CommunityPage.js +377 -0
- package/dist/ecoimpacthub/pages/CommunityPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/DashboardPage.d.ts +2 -0
- package/dist/ecoimpacthub/pages/DashboardPage.d.ts.map +1 -0
- package/dist/ecoimpacthub/pages/DashboardPage.js +380 -0
- package/dist/ecoimpacthub/pages/DashboardPage.js.map +1 -0
- package/dist/ecoimpacthub/pages/LearningPage.d.ts +2 -0
- package/dist/ecoimpacthub/pages/LearningPage.d.ts.map +1 -0
- package/dist/ecoimpacthub/pages/LearningPage.js +276 -0
- package/dist/ecoimpacthub/pages/LearningPage.js.map +1 -0
- package/dist/ecoimpacthub/providers/EcoImpactHubProvider.d.ts +6 -0
- package/dist/ecoimpacthub/providers/EcoImpactHubProvider.d.ts.map +1 -0
- package/dist/ecoimpacthub/providers/EcoImpactHubProvider.js +27 -0
- package/dist/ecoimpacthub/providers/EcoImpactHubProvider.js.map +1 -0
- package/dist/ecoimpacthub/store/ecoimpacthubStore.d.ts +135 -0
- package/dist/ecoimpacthub/store/ecoimpacthubStore.d.ts.map +1 -0
- package/dist/ecoimpacthub/store/ecoimpacthubStore.js +551 -0
- package/dist/ecoimpacthub/store/ecoimpacthubStore.js.map +1 -0
- package/dist/ecoimpacthub/types/index.d.ts +51 -0
- package/dist/ecoimpacthub/types/index.d.ts.map +1 -0
- package/dist/ecoimpacthub/utils/cn.d.ts +4 -0
- package/dist/ecoimpacthub/utils/cn.d.ts.map +1 -0
- package/dist/ecoimpacthub/utils/i18n.d.ts +6 -0
- package/dist/ecoimpacthub/utils/i18n.d.ts.map +1 -0
- package/dist/ecoimpacthub/utils/i18n.js +15 -0
- package/dist/ecoimpacthub/utils/i18n.js.map +1 -0
- package/dist/ecoimpacthub/utils/navigation.d.ts +2 -0
- package/dist/ecoimpacthub/utils/navigation.d.ts.map +1 -0
- package/dist/ecoimpacthub/utils/navigation.js +8 -0
- package/dist/ecoimpacthub/utils/navigation.js.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +18199 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +43046 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/package.json +107 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/ecoimpacthub/utils/i18n.ts
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
return t ? e.replace(/\{\{\s*(\w+)\s*\}\}/g, (e, n) => {
|
|
4
|
+
let r = t[n];
|
|
5
|
+
return r === void 0 ? `{{${n}}}` : String(r);
|
|
6
|
+
}) : e;
|
|
7
|
+
}
|
|
8
|
+
function t(t, n, r, i) {
|
|
9
|
+
let a = t(n, i);
|
|
10
|
+
return a === n ? e(r, i) : a;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as tWithFallback };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=i18n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.js","names":[],"sources":["../../../src/ecoimpacthub/utils/i18n.ts"],"sourcesContent":["import type { I18nContextValue } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\n\ntype TranslationParams = Record<string, string | number>;\n\nfunction interpolateFallback(fallback: string, params?: TranslationParams): string {\n if (!params) {\n return fallback;\n }\n\n return fallback.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g, (_, key: string) => {\n const value = params[key];\n return value === undefined ? `{{${key}}}` : String(value);\n });\n}\n\nexport function tWithFallback(\n t: I18nContextValue['t'],\n key: string,\n fallback: string,\n params?: TranslationParams\n): string {\n const translated = t(key, params);\n if (translated === key) {\n return interpolateFallback(fallback, params);\n }\n\n return translated;\n}\n"],"mappings":";AAIA,SAAS,EAAoB,GAAkB,GAAoC;AAKjF,QAJK,IAIE,EAAS,QAAQ,yBAAyB,GAAG,MAAgB;EAClE,IAAM,IAAQ,EAAO;AACrB,SAAO,MAAU,KAAA,IAAY,KAAK,EAAI,MAAM,OAAO,EAAM;GACzD,GANO;;AASX,SAAgB,EACd,GACA,GACA,GACA,GACQ;CACR,IAAM,IAAa,EAAE,GAAK,EAAO;AAKjC,QAJI,MAAe,IACV,EAAoB,GAAU,EAAO,GAGvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/ecoimpacthub/utils/navigation.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAIvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.js","names":[],"sources":["../../../src/ecoimpacthub/utils/navigation.ts"],"sourcesContent":["export function joinPath(basePath: string, relativePath: string): string {\n const cleanBase = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n const cleanPath = relativePath.startsWith('/') ? relativePath : `/${relativePath}`;\n return cleanBase + cleanPath;\n}\n"],"mappings":";AAAA,SAAgB,EAAS,GAAkB,GAA8B;AAGvE,SAFkB,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG,MACjD,EAAa,WAAW,IAAI,GAAG,IAAe,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-operations.d.ts","sourceRoot":"","sources":["../../src/generated/global-operations.ts"],"names":[],"mappings":""}
|