@africanies/angular-web-sdk 0.1.8 → 0.1.9
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/.angular/cache/22.0.9/playground/.tsbuildinfo +1 -1
- package/.nx/cache/17289624717336768573/dist/libs/africanies-core/README.md +85 -0
- package/.nx/cache/17289624717336768573/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +4639 -0
- package/.nx/cache/17289624717336768573/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -0
- package/.nx/cache/17289624717336768573/dist/libs/africanies-core/package.json +31 -0
- package/.nx/cache/17289624717336768573/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +2748 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/README.md +68 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +5 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/assets/carriers/dhl.svg +7 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +19500 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/package.json +35 -0
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +5521 -0
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/README.md +46 -0
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +243 -0
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -0
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/package.json +35 -0
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/tailwind-preset.cjs +330 -0
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +176 -0
- package/.nx/cache/run.json +25 -25
- package/.nx/cache/terminalOutputs/12565224028063674529 +37 -0
- package/.nx/cache/terminalOutputs/13478445034325959094 +176 -0
- package/.nx/cache/terminalOutputs/15835338512221847842 +184 -182
- package/.nx/cache/terminalOutputs/17289624717336768573 +21 -0
- package/.nx/cache/terminalOutputs/17571479482482478257 +35 -0
- package/.nx/cache/terminalOutputs/3088264223473143358 +8 -0
- package/.nx/cache/terminalOutputs/3953970051755345887 +21 -0
- package/.nx/cache/terminalOutputs/4225324930345532464 +21 -0
- package/.nx/cache/terminalOutputs/4363587767476846758 +176 -0
- package/.nx/cache/terminalOutputs/8193462679279018087 +39 -0
- package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db +0 -0
- package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-shm +0 -0
- package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-wal +0 -0
- package/.nx/workspace-data/d/daemon.log +4460 -0
- package/.nx/workspace-data/d/server-process.json +2 -2
- package/.nx/workspace-data/file-map.json +2998 -3006
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/project-graph.json +2 -2
- package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +6 -1
- package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -1
- package/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +6 -1
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +30 -55
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -1
- package/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +14 -16
- package/libs/africanies-core/src/index.ts +1 -1
- package/libs/africanies-core/src/lib/notification/notification-link.ts +6 -1
- package/libs/africanies-ui/src/lib/layout/app-shell-header.component.ts +9 -9
- package/libs/africanies-ui/src/lib/layout/header-greeting.util.ts +0 -2
- package/libs/africanies-ui/src/lib/layout/header-weather.spec.ts +11 -40
- package/libs/africanies-ui/src/lib/layout/header-weather.ts +22 -63
- package/package.json +1 -1
|
Binary file
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"targetGroups": {},
|
|
827
827
|
"js": {
|
|
828
828
|
"packageName": "@africanies/angular-web-sdk",
|
|
829
|
-
"packageVersion": "0.1.
|
|
829
|
+
"packageVersion": "0.1.9",
|
|
830
830
|
"isInPackageManagerWorkspaces": true
|
|
831
831
|
}
|
|
832
832
|
},
|
|
@@ -42095,5 +42095,5 @@
|
|
|
42095
42095
|
},
|
|
42096
42096
|
"version": "6.0",
|
|
42097
42097
|
"errors": [],
|
|
42098
|
-
"computedAt":
|
|
42098
|
+
"computedAt": 1788792998977
|
|
42099
42099
|
}
|
|
@@ -3767,7 +3767,10 @@ const SHIPMENT_APP_BY_MODE = {
|
|
|
3767
3767
|
};
|
|
3768
3768
|
const QUERY_SHIPMENT_APP = 'shipment_app';
|
|
3769
3769
|
const LEGACY_PORTAL_HOST = /^(?:test-)?(?:admin|customer)-(?:export|import)\.africaniestest\.com$/i;
|
|
3770
|
-
/**
|
|
3770
|
+
/**
|
|
3771
|
+
* Signed export downloads and other hosts that must not be rewritten in-app.
|
|
3772
|
+
* @param link
|
|
3773
|
+
*/
|
|
3771
3774
|
function isNotificationExternalLink(link) {
|
|
3772
3775
|
const trimmed = decodeNotificationLink(link).trim();
|
|
3773
3776
|
if (!trimmed) {
|
|
@@ -3794,6 +3797,8 @@ function isNotificationExternalLink(link) {
|
|
|
3794
3797
|
* - Legacy portal hosts become relative `/portal/...` paths with query preserved.
|
|
3795
3798
|
* - When the notification already includes `shipment_app`, it is kept as-is.
|
|
3796
3799
|
* - Otherwise classic host / `shipment_app` rewriting applies for portal URLs.
|
|
3800
|
+
* @param link
|
|
3801
|
+
* @param mode
|
|
3797
3802
|
*/
|
|
3798
3803
|
function resolveNotificationLinkForMode(link, mode) {
|
|
3799
3804
|
const trimmed = decodeNotificationLink(asString(link)).trim();
|