@africanies/angular-web-sdk 0.1.7 → 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/{4082520855419352840 → 15302120112746851896}/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +30 -8
- package/.nx/cache/15302120112746851896/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -0
- package/.nx/cache/{4082520855419352840 → 15302120112746851896}/dist/libs/africanies-theme/tailwind-preset.cjs +89 -12
- package/.nx/cache/{4082520855419352840 → 15302120112746851896}/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +14 -4
- 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/types/africanies-africanies-core.d.ts +2748 -0
- package/.nx/cache/18393832731522001121/dist/libs/africanies-core/README.md +85 -0
- package/.nx/cache/{17491371155400585077 → 18393832731522001121}/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +139 -51
- package/.nx/cache/18393832731522001121/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -0
- package/.nx/cache/18393832731522001121/dist/libs/africanies-core/package.json +31 -0
- package/.nx/cache/{17491371155400585077 → 18393832731522001121}/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +14 -11
- package/.nx/cache/{3314955264390318442 → 3953970051755345887}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +775 -566
- package/.nx/cache/3953970051755345887/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +150 -119
- package/.nx/cache/{12276756491762927325 → 4225324930345532464}/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +34 -6
- package/.nx/cache/4225324930345532464/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -0
- package/.nx/cache/{12276756491762927325 → 4225324930345532464}/dist/libs/africanies-theme/tailwind-preset.cjs +104 -19
- package/.nx/cache/{12276756491762927325 → 4225324930345532464}/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +21 -2
- package/.nx/cache/5151121439688073678/dist/libs/africanies-icons/README.md +69 -0
- package/.nx/cache/5151121439688073678/dist/libs/africanies-icons/assets/icons.sprite.svg +1851 -0
- package/.nx/cache/5151121439688073678/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +833 -0
- package/.nx/cache/5151121439688073678/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +1 -0
- package/.nx/cache/5151121439688073678/dist/libs/africanies-icons/package.json +30 -0
- package/.nx/cache/5151121439688073678/dist/libs/africanies-icons/types/africanies-africanies-icons.d.ts +108 -0
- package/.nx/cache/877026836685850193/dist/libs/africanies-models/README.md +60 -0
- package/.nx/cache/877026836685850193/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs +613 -0
- package/.nx/cache/877026836685850193/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs.map +1 -0
- package/.nx/cache/877026836685850193/dist/libs/africanies-models/package.json +23 -0
- package/.nx/cache/877026836685850193/dist/libs/africanies-models/types/africanies-africanies-models.d.ts +1452 -0
- package/.nx/cache/{17499961385238663835 → 9406544675747598148}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +765 -615
- package/.nx/cache/9406544675747598148/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +170 -130
- package/.nx/cache/run.json +36 -36
- package/.nx/cache/terminalOutputs/{3017748574492080228 → 12565224028063674529} +16 -7
- package/.nx/cache/terminalOutputs/{8648260256613557249 → 13478445034325959094} +175 -172
- package/.nx/cache/terminalOutputs/{7126777490381568487 → 15149466893522345489} +10 -5
- package/.nx/cache/terminalOutputs/{4082520855419352840 → 15302120112746851896} +1 -1
- package/.nx/cache/terminalOutputs/15835338512221847842 +185 -0
- package/.nx/cache/terminalOutputs/{17491371155400585077 → 17289624717336768573} +1 -1
- package/.nx/cache/terminalOutputs/17571479482482478257 +35 -0
- package/.nx/cache/terminalOutputs/{9408529484792607601 → 17960163310445607219} +1 -1
- package/.nx/cache/terminalOutputs/18393832731522001121 +21 -0
- package/.nx/cache/terminalOutputs/3088264223473143358 +8 -0
- package/.nx/cache/terminalOutputs/{3314955264390318442 → 3953970051755345887} +1 -1
- package/.nx/cache/terminalOutputs/{12276756491762927325 → 4225324930345532464} +1 -1
- package/.nx/cache/terminalOutputs/4363587767476846758 +176 -0
- package/.nx/cache/terminalOutputs/5151121439688073678 +21 -0
- package/.nx/cache/terminalOutputs/7462873189468732296 +17 -0
- package/.nx/cache/terminalOutputs/8032148447904822353 +184 -182
- package/.nx/cache/terminalOutputs/8193462679279018087 +39 -0
- package/.nx/cache/terminalOutputs/877026836685850193 +21 -0
- package/.nx/cache/terminalOutputs/9406544675747598148 +21 -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 +6813 -0
- package/.nx/workspace-data/d/server-process.json +2 -2
- package/.nx/workspace-data/file-map.json +3490 -3432
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/project-graph.json +7 -2
- package/apps/playground/src/app/pages/tokens-page.ts +17 -13
- package/apps/playground/src/app/snippets/filters.snippets.ts +10 -0
- 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-icons/assets/icons.sprite.svg +7 -0
- package/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +1 -0
- package/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +1 -1
- package/dist/libs/africanies-icons/types/africanies-africanies-icons.d.ts +2 -2
- package/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs +22 -8
- package/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs.map +1 -1
- package/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +22 -10
- package/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -1
- package/dist/libs/africanies-theme/tailwind-preset.cjs +84 -16
- package/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +4 -2
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +723 -618
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -1
- package/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +142 -114
- package/libs/africanies-core/src/index.ts +1 -1
- package/libs/africanies-core/src/lib/notification/notification-link.ts +6 -1
- package/libs/africanies-icons/src/assets/icons.sprite.svg +7 -0
- package/libs/africanies-icons/src/lib/icon-name.ts +1 -0
- package/libs/africanies-models/src/lib/filters/configs/seed-configs.ts +22 -8
- package/libs/africanies-theme/src/lib/mode-color.safelist.ts +12 -0
- package/libs/africanies-theme/src/lib/mode-color.service.spec.ts +55 -0
- package/libs/africanies-theme/src/lib/mode-color.service.ts +11 -11
- package/libs/africanies-theme/tailwind-preset.cjs +84 -16
- package/libs/africanies-ui/src/lib/action-menu/action-menu.component.ts +3 -3
- package/libs/africanies-ui/src/lib/alert/alert.component.ts +4 -4
- package/libs/africanies-ui/src/lib/avatar/avatar-menu.component.ts +2 -2
- package/libs/africanies-ui/src/lib/button/button.component.spec.ts +7 -7
- package/libs/africanies-ui/src/lib/button/button.component.ts +5 -5
- package/libs/africanies-ui/src/lib/chip/chip.component.ts +4 -4
- package/libs/africanies-ui/src/lib/content-stack/content-stack.component.ts +1 -1
- package/libs/africanies-ui/src/lib/feedback/error-indicator.component.ts +3 -3
- package/libs/africanies-ui/src/lib/feedback/error-state.component.ts +2 -2
- package/libs/africanies-ui/src/lib/filters/filter-drawer.panel.ts +44 -27
- package/libs/africanies-ui/src/lib/forms/checkbox/checkbox.component.ts +2 -1
- package/libs/africanies-ui/src/lib/forms/file-upload/file-preview.dialog.ts +1 -1
- package/libs/africanies-ui/src/lib/forms/file-upload/file-upload.component.ts +1 -1
- package/libs/africanies-ui/src/lib/forms/form-field.classes.ts +36 -6
- package/libs/africanies-ui/src/lib/forms/otp-input/otp-input.component.ts +2 -1
- package/libs/africanies-ui/src/lib/forms/radio/radio.component.ts +2 -1
- package/libs/africanies-ui/src/lib/forms/select/select.component.ts +1 -1
- package/libs/africanies-ui/src/lib/forms/toggle/toggle.component.ts +1 -1
- package/libs/africanies-ui/src/lib/image/image.component.ts +1 -1
- package/libs/africanies-ui/src/lib/info-popover/info-popover.component.ts +2 -2
- package/libs/africanies-ui/src/lib/layout/app-shell-content-header.component.ts +1 -1
- package/libs/africanies-ui/src/lib/layout/app-shell-header.component.ts +14 -14
- package/libs/africanies-ui/src/lib/layout/app-shell.component.html +2 -2
- package/libs/africanies-ui/src/lib/layout/app-shell.component.ts +3 -3
- 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/libs/africanies-ui/src/lib/navigation/shipping-mode-switch/shipping-mode-switch.component.ts +6 -6
- package/libs/africanies-ui/src/lib/navigation/side-nav/africanies-side-nav.component.html +21 -13
- package/libs/africanies-ui/src/lib/navigation/side-nav/africanies-side-nav.component.ts +13 -7
- package/libs/africanies-ui/src/lib/notifications/notification-drawer.panel.ts +6 -6
- package/libs/africanies-ui/src/lib/overlay/confirm-dialog.component.ts +2 -2
- package/libs/africanies-ui/src/lib/overlay/drawer.service.ts +2 -2
- package/libs/africanies-ui/src/lib/overlay/modal.service.ts +3 -3
- package/libs/africanies-ui/src/lib/overlay/overlay-frame.component.ts +1 -1
- package/libs/africanies-ui/src/lib/pagination/pagination.component.ts +1 -1
- package/libs/africanies-ui/src/lib/stepper/stepper.component.ts +7 -7
- package/libs/africanies-ui/src/lib/table/table-column.ts +9 -0
- package/libs/africanies-ui/src/lib/table/table.component.spec.ts +99 -0
- package/libs/africanies-ui/src/lib/table/table.component.ts +72 -30
- package/libs/africanies-ui/src/lib/toast/toast-item.component.ts +6 -6
- package/package.json +1 -1
- package/svg/hand-coins.svg +9 -0
- package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
- package/.nx/cache/17491371155400585077/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
- package/.nx/cache/17499961385238663835/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
- package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
- package/.nx/cache/4082520855419352840/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
- package/.nx/cache/terminalOutputs/17499961385238663835 +0 -21
- /package/.nx/cache/{12276756491762927325 → 15302120112746851896}/dist/libs/africanies-theme/README.md +0 -0
- /package/.nx/cache/{12276756491762927325 → 15302120112746851896}/dist/libs/africanies-theme/package.json +0 -0
- /package/.nx/cache/{17491371155400585077 → 17289624717336768573}/dist/libs/africanies-core/README.md +0 -0
- /package/.nx/cache/{17491371155400585077 → 17289624717336768573}/dist/libs/africanies-core/package.json +0 -0
- /package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/README.md +0 -0
- /package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- /package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- /package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
- /package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
- /package/.nx/cache/{17499961385238663835 → 3953970051755345887}/dist/libs/africanies-ui/package.json +0 -0
- /package/.nx/cache/{4082520855419352840 → 4225324930345532464}/dist/libs/africanies-theme/README.md +0 -0
- /package/.nx/cache/{4082520855419352840 → 4225324930345532464}/dist/libs/africanies-theme/package.json +0 -0
- /package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/README.md +0 -0
- /package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- /package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- /package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
- /package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
- /package/.nx/cache/{3314955264390318442 → 9406544675747598148}/dist/libs/africanies-ui/package.json +0 -0
- /package/.nx/cache/terminalOutputs/{16279119293212733518 → 14005735098959303198} +0 -0
|
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
|
},
|
|
@@ -17328,6 +17328,11 @@
|
|
|
17328
17328
|
"target": "africanies-storage",
|
|
17329
17329
|
"type": "static"
|
|
17330
17330
|
},
|
|
17331
|
+
{
|
|
17332
|
+
"source": "africanies-theme",
|
|
17333
|
+
"target": "africanies-models",
|
|
17334
|
+
"type": "static"
|
|
17335
|
+
},
|
|
17331
17336
|
{
|
|
17332
17337
|
"source": "africanies-theme",
|
|
17333
17338
|
"target": "npm:jest-preset-angular",
|
|
@@ -42090,5 +42095,5 @@
|
|
|
42090
42095
|
},
|
|
42091
42096
|
"version": "6.0",
|
|
42092
42097
|
"errors": [],
|
|
42093
|
-
"computedAt":
|
|
42098
|
+
"computedAt": 1788792998977
|
|
42094
42099
|
}
|
|
@@ -177,48 +177,52 @@ export class TokensPage {
|
|
|
177
177
|
protected readonly colors: TokenSwatch[] = [
|
|
178
178
|
{ name: 'black', bgClass: 'bg-black', hex: '#000000', group: 'Core' },
|
|
179
179
|
{ name: 'white', bgClass: 'bg-white', hex: '#ffffff', group: 'Core' },
|
|
180
|
-
{ name: 'ink', bgClass: 'bg-ink', hex: '#
|
|
180
|
+
{ name: 'ink', bgClass: 'bg-ink', hex: '#172033', group: 'Core' },
|
|
181
181
|
{ name: 'ink-blue', bgClass: 'bg-ink-blue', hex: '#192a3e', group: 'Core' },
|
|
182
|
-
{ name: 'ink-brand', bgClass: 'bg-ink-brand', hex: '#
|
|
182
|
+
{ name: 'ink-brand', bgClass: 'bg-ink-brand', hex: '#172033', group: 'Core' },
|
|
183
183
|
{ name: 'ink-surface', bgClass: 'bg-ink-surface', hex: '#212529', group: 'Core' },
|
|
184
184
|
{ name: 'ink-950', bgClass: 'bg-ink-950', hex: '#272729', group: 'Core' },
|
|
185
|
-
{ name: '
|
|
186
|
-
{ name: 'neutral-
|
|
187
|
-
{ name: 'neutral-600', bgClass: 'bg-neutral-600', hex: '#
|
|
188
|
-
{ name: 'border', bgClass: 'bg-border', hex: '#
|
|
189
|
-
{ name: 'border-strong', bgClass: 'bg-border-strong', hex: '#
|
|
185
|
+
{ name: 'surface', bgClass: 'bg-surface', hex: '#ffffff', group: 'Neutral' },
|
|
186
|
+
{ name: 'neutral-500', bgClass: 'bg-neutral-500', hex: '#667185', group: 'Neutral' },
|
|
187
|
+
{ name: 'neutral-600', bgClass: 'bg-neutral-600', hex: '#526071', group: 'Neutral' },
|
|
188
|
+
{ name: 'border', bgClass: 'bg-border', hex: '#dde3ea', group: 'Neutral' },
|
|
189
|
+
{ name: 'border-strong', bgClass: 'bg-border-strong', hex: '#c4cdd8', group: 'Neutral' },
|
|
190
|
+
{ name: 'control', bgClass: 'bg-control', hex: '#8793a3', group: 'Neutral' },
|
|
191
|
+
{ name: 'focus', bgClass: 'bg-focus', hex: '#175cd3', group: 'Neutral' },
|
|
190
192
|
{
|
|
191
193
|
name: 'background-chrome',
|
|
192
194
|
bgClass: 'bg-background-chrome',
|
|
193
|
-
hex: '#
|
|
195
|
+
hex: '#f4f6f8',
|
|
194
196
|
group: 'Neutral',
|
|
195
197
|
},
|
|
196
198
|
{
|
|
197
199
|
name: 'background-well',
|
|
198
200
|
bgClass: 'bg-background-well',
|
|
199
|
-
hex: '#
|
|
201
|
+
hex: '#eef2f6',
|
|
200
202
|
group: 'Neutral',
|
|
201
203
|
},
|
|
202
204
|
{
|
|
203
205
|
name: 'background-welcome',
|
|
204
206
|
bgClass: 'bg-background-welcome',
|
|
205
|
-
hex: '#
|
|
207
|
+
hex: '#f8fafc',
|
|
206
208
|
group: 'Neutral',
|
|
207
209
|
},
|
|
208
210
|
{ name: 'export', bgClass: 'bg-export', hex: '#1cbd5d', group: 'Export (SFN)' },
|
|
211
|
+
{ name: 'export-strong', bgClass: 'bg-export-strong', hex: '#0b7a3e', group: 'Export (SFN)' },
|
|
209
212
|
{ name: 'export-light', bgClass: 'bg-export-light', hex: '#24dc6d', group: 'Export (SFN)' },
|
|
210
213
|
{ name: 'export-subtle', bgClass: 'bg-export-subtle', hex: '#e4fff3', group: 'Export (SFN)' },
|
|
211
|
-
{ name: 'export-tint', bgClass: 'bg-export-tint', hex: '#f2fff8', group: 'Export (SFN)' },
|
|
212
214
|
{ name: 'import', bgClass: 'bg-import', hex: '#f08829', group: 'Import (STN)' },
|
|
215
|
+
{ name: 'import-strong', bgClass: 'bg-import-strong', hex: '#9a4b0b', group: 'Import (STN)' },
|
|
213
216
|
{ name: 'import-light', bgClass: 'bg-import-light', hex: '#ffa95b', group: 'Import (STN)' },
|
|
214
217
|
{ name: 'import-subtle', bgClass: 'bg-import-subtle', hex: '#fffcef', group: 'Import (STN)' },
|
|
215
218
|
{ name: 'danger', bgClass: 'bg-danger', hex: '#ff001c', group: 'Feedback' },
|
|
216
|
-
{ name: 'danger-dark', bgClass: 'bg-danger-dark', hex: '#
|
|
219
|
+
{ name: 'danger-dark', bgClass: 'bg-danger-dark', hex: '#b4233c', group: 'Feedback' },
|
|
217
220
|
{ name: 'danger-strong', bgClass: 'bg-danger-strong', hex: '#C00B19', group: 'Feedback' },
|
|
218
221
|
{ name: 'danger-subtle', bgClass: 'bg-danger-subtle', hex: '#FFF2F2', group: 'Feedback' },
|
|
219
222
|
{ name: 'warning', bgClass: 'bg-warning', hex: '#DBB316', group: 'Feedback' },
|
|
220
|
-
{ name: 'warning-dark', bgClass: 'bg-warning-dark', hex: '#
|
|
223
|
+
{ name: 'warning-dark', bgClass: 'bg-warning-dark', hex: '#8a5a00', group: 'Feedback' },
|
|
221
224
|
{ name: 'warning-subtle', bgClass: 'bg-warning-subtle', hex: '#FFF6E6', group: 'Feedback' },
|
|
225
|
+
{ name: 'info', bgClass: 'bg-info', hex: '#175cd3', group: 'Feedback' },
|
|
222
226
|
];
|
|
223
227
|
|
|
224
228
|
protected colorsIn(group: string): TokenSwatch[] {
|
|
@@ -248,6 +248,16 @@ export const updateShipmentsFilterConfig: ModuleFilterConfigModel = {
|
|
|
248
248
|
{ value: '0', label: 'No' },
|
|
249
249
|
],
|
|
250
250
|
},
|
|
251
|
+
{
|
|
252
|
+
key: 'pay_later',
|
|
253
|
+
label: 'Pay Later',
|
|
254
|
+
type: 'enum',
|
|
255
|
+
exclusive: true,
|
|
256
|
+
options: [
|
|
257
|
+
{ value: 'credit', label: 'Credit' },
|
|
258
|
+
{ value: 'debit', label: 'Debit' },
|
|
259
|
+
],
|
|
260
|
+
},
|
|
251
261
|
],
|
|
252
262
|
};
|
|
253
263
|
`;
|
|
@@ -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();
|