@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.
Files changed (70) hide show
  1. package/README.md +12 -0
  2. package/dist/dev/main.d.ts +2 -0
  3. package/dist/dev/main.d.ts.map +1 -0
  4. package/dist/ecoimpacthub/EcoImpactHubRoot.d.ts +5 -0
  5. package/dist/ecoimpacthub/EcoImpactHubRoot.d.ts.map +1 -0
  6. package/dist/ecoimpacthub/EcoImpactHubRoot.js +126 -0
  7. package/dist/ecoimpacthub/EcoImpactHubRoot.js.map +1 -0
  8. package/dist/ecoimpacthub/EcoImpactHubRoutes.d.ts +2 -0
  9. package/dist/ecoimpacthub/EcoImpactHubRoutes.d.ts.map +1 -0
  10. package/dist/ecoimpacthub/EcoImpactHubRoutes.js +55 -0
  11. package/dist/ecoimpacthub/EcoImpactHubRoutes.js.map +1 -0
  12. package/dist/ecoimpacthub/index.d.ts +5 -0
  13. package/dist/ecoimpacthub/index.d.ts.map +1 -0
  14. package/dist/ecoimpacthub/index.js +3 -0
  15. package/dist/ecoimpacthub/pages/ActionTrackerPage.d.ts +2 -0
  16. package/dist/ecoimpacthub/pages/ActionTrackerPage.d.ts.map +1 -0
  17. package/dist/ecoimpacthub/pages/ActionTrackerPage.js +449 -0
  18. package/dist/ecoimpacthub/pages/ActionTrackerPage.js.map +1 -0
  19. package/dist/ecoimpacthub/pages/ChallengesPage.d.ts +2 -0
  20. package/dist/ecoimpacthub/pages/ChallengesPage.d.ts.map +1 -0
  21. package/dist/ecoimpacthub/pages/ChallengesPage.js +242 -0
  22. package/dist/ecoimpacthub/pages/ChallengesPage.js.map +1 -0
  23. package/dist/ecoimpacthub/pages/CitizenSciencePage.d.ts +2 -0
  24. package/dist/ecoimpacthub/pages/CitizenSciencePage.d.ts.map +1 -0
  25. package/dist/ecoimpacthub/pages/CitizenSciencePage.js +443 -0
  26. package/dist/ecoimpacthub/pages/CitizenSciencePage.js.map +1 -0
  27. package/dist/ecoimpacthub/pages/CommunityPage.d.ts +2 -0
  28. package/dist/ecoimpacthub/pages/CommunityPage.d.ts.map +1 -0
  29. package/dist/ecoimpacthub/pages/CommunityPage.js +377 -0
  30. package/dist/ecoimpacthub/pages/CommunityPage.js.map +1 -0
  31. package/dist/ecoimpacthub/pages/DashboardPage.d.ts +2 -0
  32. package/dist/ecoimpacthub/pages/DashboardPage.d.ts.map +1 -0
  33. package/dist/ecoimpacthub/pages/DashboardPage.js +380 -0
  34. package/dist/ecoimpacthub/pages/DashboardPage.js.map +1 -0
  35. package/dist/ecoimpacthub/pages/LearningPage.d.ts +2 -0
  36. package/dist/ecoimpacthub/pages/LearningPage.d.ts.map +1 -0
  37. package/dist/ecoimpacthub/pages/LearningPage.js +276 -0
  38. package/dist/ecoimpacthub/pages/LearningPage.js.map +1 -0
  39. package/dist/ecoimpacthub/providers/EcoImpactHubProvider.d.ts +6 -0
  40. package/dist/ecoimpacthub/providers/EcoImpactHubProvider.d.ts.map +1 -0
  41. package/dist/ecoimpacthub/providers/EcoImpactHubProvider.js +27 -0
  42. package/dist/ecoimpacthub/providers/EcoImpactHubProvider.js.map +1 -0
  43. package/dist/ecoimpacthub/store/ecoimpacthubStore.d.ts +135 -0
  44. package/dist/ecoimpacthub/store/ecoimpacthubStore.d.ts.map +1 -0
  45. package/dist/ecoimpacthub/store/ecoimpacthubStore.js +551 -0
  46. package/dist/ecoimpacthub/store/ecoimpacthubStore.js.map +1 -0
  47. package/dist/ecoimpacthub/types/index.d.ts +51 -0
  48. package/dist/ecoimpacthub/types/index.d.ts.map +1 -0
  49. package/dist/ecoimpacthub/utils/cn.d.ts +4 -0
  50. package/dist/ecoimpacthub/utils/cn.d.ts.map +1 -0
  51. package/dist/ecoimpacthub/utils/i18n.d.ts +6 -0
  52. package/dist/ecoimpacthub/utils/i18n.d.ts.map +1 -0
  53. package/dist/ecoimpacthub/utils/i18n.js +15 -0
  54. package/dist/ecoimpacthub/utils/i18n.js.map +1 -0
  55. package/dist/ecoimpacthub/utils/navigation.d.ts +2 -0
  56. package/dist/ecoimpacthub/utils/navigation.d.ts.map +1 -0
  57. package/dist/ecoimpacthub/utils/navigation.js +8 -0
  58. package/dist/ecoimpacthub/utils/navigation.js.map +1 -0
  59. package/dist/generated/global-operations.d.ts +2 -0
  60. package/dist/generated/global-operations.d.ts.map +1 -0
  61. package/dist/generated/global-types.d.ts +18199 -0
  62. package/dist/generated/global-types.d.ts.map +1 -0
  63. package/dist/generated/wspace-operations.d.ts +2 -0
  64. package/dist/generated/wspace-operations.d.ts.map +1 -0
  65. package/dist/generated/wspace-types.d.ts +43046 -0
  66. package/dist/generated/wspace-types.d.ts.map +1 -0
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.d.ts.map +1 -0
  69. package/dist/index.js +5 -0
  70. 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,2 @@
1
+ export declare function joinPath(basePath: string, relativePath: string): string;
2
+ //# sourceMappingURL=navigation.d.ts.map
@@ -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,8 @@
1
+ //#region src/ecoimpacthub/utils/navigation.ts
2
+ function e(e, t) {
3
+ return (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
4
+ }
5
+ //#endregion
6
+ export { e as joinPath };
7
+
8
+ //# sourceMappingURL=navigation.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=global-operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-operations.d.ts","sourceRoot":"","sources":["../../src/generated/global-operations.ts"],"names":[],"mappings":""}