@africanies/angular-web-sdk 0.1.11 → 0.1.13
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/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +66 -1
- package/.nx/cache/13293303228070520113/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -0
- package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +6 -1
- package/.nx/cache/{6673686859704879504 → 13387631073062967069}/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +31 -13
- package/.nx/cache/13387631073062967069/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -0
- package/.nx/cache/{6673686859704879504 → 13387631073062967069}/dist/libs/africanies-theme/tailwind-preset.cjs +85 -17
- package/.nx/cache/{6673686859704879504 → 13387631073062967069}/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +7 -3
- package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/README.md +31 -0
- package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs +249 -0
- package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs.map +1 -0
- package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/package.json +26 -0
- package/.nx/cache/16704640000606796352/dist/libs/africanies-storage/types/africanies-africanies-storage.d.ts +210 -0
- package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +2998 -1122
- package/.nx/cache/2427575433215940812/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/{14995846848874973576 → 2427575433215940812}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +450 -140
- package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/assets/icons.sprite.svg +7 -0
- package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +7 -0
- package/.nx/cache/7730350229628359718/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +1 -0
- package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/types/africanies-africanies-icons.d.ts +2 -2
- package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +2572 -962
- package/.nx/cache/7821397806208783174/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/{14876618240301288353 → 7821397806208783174}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +460 -147
- package/.nx/cache/run.json +35 -35
- package/.nx/cache/terminalOutputs/10603154579345867998 +397 -0
- package/.nx/cache/terminalOutputs/12354163057083828162 +80 -0
- package/.nx/cache/terminalOutputs/{9040451482998546630 → 13293303228070520113} +1 -1
- package/.nx/cache/terminalOutputs/{6673686859704879504 → 13387631073062967069} +1 -1
- package/.nx/cache/terminalOutputs/{14061940909886036014 → 14876351543379349919} +46 -43
- package/.nx/cache/terminalOutputs/15336883221450327589 +21 -0
- package/.nx/cache/terminalOutputs/16208231681037145050 +87 -0
- package/.nx/cache/terminalOutputs/{13466509747676776487 → 16704640000606796352} +6 -6
- package/.nx/cache/terminalOutputs/1811006905937373707 +74 -0
- package/.nx/cache/terminalOutputs/2005781115771702035 +8 -0
- package/.nx/cache/terminalOutputs/2360743690449633551 +21 -0
- package/.nx/cache/terminalOutputs/{14876618240301288353 → 2427575433215940812} +2 -2
- package/.nx/cache/terminalOutputs/2981230413857865352 +8 -0
- package/.nx/cache/terminalOutputs/3243550283886864639 +8 -0
- package/.nx/cache/terminalOutputs/3380188914363501109 +231 -0
- package/.nx/cache/terminalOutputs/3699068646900552690 +8 -0
- package/.nx/cache/terminalOutputs/5175669339257931410 +8 -0
- package/.nx/cache/terminalOutputs/6040230831125637867 +8 -0
- package/.nx/cache/terminalOutputs/7730350229628359718 +21 -0
- package/.nx/cache/terminalOutputs/{14995846848874973576 → 7821397806208783174} +2 -2
- package/.nx/cache/terminalOutputs/8098730470212963224 +87 -0
- package/.nx/cache/terminalOutputs/8928690901537686687 +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 +4176 -0
- package/.nx/workspace-data/d/server-process.json +2 -2
- package/.nx/workspace-data/file-map.json +2995 -2989
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/project-graph.json +2 -2
- package/apps/playground/src/app/pages/forms-page.ts +70 -14
- package/apps/playground/src/app/snippets/forms.snippets.ts +41 -6
- package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +60 -0
- package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -1
- package/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +6 -0
- package/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +1 -1
- package/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs +6 -0
- package/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs.map +1 -1
- package/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +6 -0
- package/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -1
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +1323 -85
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -1
- package/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +201 -15
- package/libs/africanies-core/src/lib/auth/auth-token.service.ts +3 -0
- package/libs/africanies-core/src/lib/auth/auth.service.ts +3 -0
- package/libs/africanies-core/src/lib/country/country.service.ts +3 -0
- package/libs/africanies-core/src/lib/currency/currency.service.ts +3 -0
- package/libs/africanies-core/src/lib/document/document.service.ts +3 -0
- package/libs/africanies-core/src/lib/file/file.service.ts +3 -0
- package/libs/africanies-core/src/lib/filters/filter-options.resolver.ts +3 -0
- package/libs/africanies-core/src/lib/http/api-client.ts +3 -0
- package/libs/africanies-core/src/lib/mode/mode-config.service.ts +3 -0
- package/libs/africanies-core/src/lib/notification/notification.service.ts +3 -0
- package/libs/africanies-core/src/lib/overlay/route-overlay.service.ts +3 -0
- package/libs/africanies-core/src/lib/payment-method/payment-method.service.ts +3 -0
- package/libs/africanies-core/src/lib/plan/plan.service.ts +3 -0
- package/libs/africanies-core/src/lib/product/product.service.ts +3 -0
- package/libs/africanies-core/src/lib/service/service.service.ts +3 -0
- package/libs/africanies-core/src/lib/shipment-method/shipment-method.service.ts +3 -0
- package/libs/africanies-core/src/lib/shipping/shipping-mode.service.ts +3 -0
- package/libs/africanies-core/src/lib/user/user.service.ts +3 -0
- package/libs/africanies-core/src/lib/warehouse/warehouse.service.ts +3 -0
- package/libs/africanies-core/src/lib/zone/zone.service.ts +3 -0
- package/libs/africanies-icons/src/lib/africanies-icon.component.ts +3 -0
- package/libs/africanies-icons/src/lib/icon-registry.service.ts +3 -0
- package/libs/africanies-storage/src/lib/local-storage.service.ts +3 -0
- package/libs/africanies-storage/src/lib/session-storage.service.ts +3 -0
- package/libs/africanies-theme/src/lib/mode-color.service.ts +3 -0
- package/libs/africanies-theme/src/lib/theme.service.ts +3 -0
- package/libs/africanies-ui/src/index.ts +18 -0
- package/libs/africanies-ui/src/lib/accordion/accordion.component.ts +3 -0
- package/libs/africanies-ui/src/lib/action-menu/action-menu-trigger.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/action-menu/action-menu.component.ts +3 -0
- package/libs/africanies-ui/src/lib/alert/alert.component.ts +3 -0
- package/libs/africanies-ui/src/lib/avatar/avatar-menu.component.ts +3 -0
- package/libs/africanies-ui/src/lib/avatar/avatar.component.ts +3 -0
- package/libs/africanies-ui/src/lib/brand/brand-logo.component.ts +3 -0
- package/libs/africanies-ui/src/lib/button/button.component.ts +3 -0
- package/libs/africanies-ui/src/lib/carrier/carrier-logo.component.ts +3 -0
- package/libs/africanies-ui/src/lib/chip/chip.component.ts +3 -0
- package/libs/africanies-ui/src/lib/content-stack/content-stack.component.ts +3 -0
- package/libs/africanies-ui/src/lib/copy-button/copy-button.component.ts +3 -0
- package/libs/africanies-ui/src/lib/feedback/async-state.component.ts +3 -0
- package/libs/africanies-ui/src/lib/feedback/empty-state.component.ts +3 -0
- package/libs/africanies-ui/src/lib/feedback/error-indicator.component.ts +3 -0
- package/libs/africanies-ui/src/lib/feedback/error-state.component.ts +3 -0
- package/libs/africanies-ui/src/lib/feedback/loading-state.component.ts +3 -0
- package/libs/africanies-ui/src/lib/filters/filter-drawer.panel.ts +3 -0
- package/libs/africanies-ui/src/lib/filters/filter-drawer.service.ts +3 -0
- package/libs/africanies-ui/src/lib/filters/filter-query.service.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/address-input/address-input.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/address-input/google-places.service.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/checkbox/checkbox.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/date-picker/date-picker.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/file-upload/camera-capture.dialog.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/file-upload/file-preview.dialog.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/file-upload/file-upload.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/index.ts +20 -0
- package/libs/africanies-ui/src/lib/forms/number-input/number-input.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/otp-input/otp-input.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/index.ts +21 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-codes.ts +264 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.component.ts +480 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.types.ts +35 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.utils.spec.ts +81 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.utils.ts +275 -0
- package/libs/africanies-ui/src/lib/forms/radio/radio.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/search-combobox/search-combobox.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/select/select.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/text-input/text-input.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/textarea/textarea.component.ts +3 -0
- package/libs/africanies-ui/src/lib/forms/toggle/toggle.component.ts +3 -0
- package/libs/africanies-ui/src/lib/image/image.component.ts +3 -0
- package/libs/africanies-ui/src/lib/info-popover/info-popover-content.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/info-popover/info-popover-trigger.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/info-popover/info-popover.component.ts +3 -0
- package/libs/africanies-ui/src/lib/layout/app-shell-content-header.component.ts +3 -0
- package/libs/africanies-ui/src/lib/layout/app-shell-header-slot.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/layout/app-shell-header.component.ts +9 -0
- package/libs/africanies-ui/src/lib/layout/app-shell.component.ts +3 -0
- package/libs/africanies-ui/src/lib/layout/header-weather.spec.ts +62 -94
- package/libs/africanies-ui/src/lib/layout/header-weather.ts +54 -61
- package/libs/africanies-ui/src/lib/layout/page-header.component.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-actions.module.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-feedback.module.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-forms.module.ts +5 -0
- package/libs/africanies-ui/src/lib/modules/africanies-info-popover.module.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-navigation.module.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-stepper.module.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-table.module.ts +3 -0
- package/libs/africanies-ui/src/lib/modules/africanies-tooltip.module.ts +3 -0
- package/libs/africanies-ui/src/lib/navigation/breadcrumb/breadcrumb.component.ts +3 -0
- package/libs/africanies-ui/src/lib/navigation/segment/segment.component.ts +5 -1
- package/libs/africanies-ui/src/lib/navigation/shipping-mode-switch/shipping-mode-switch.component.ts +3 -0
- package/libs/africanies-ui/src/lib/navigation/side-nav/africanies-side-nav.component.ts +3 -0
- package/libs/africanies-ui/src/lib/navigation/tabs/tab-def.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/navigation/tabs/tabs.component.ts +3 -0
- package/libs/africanies-ui/src/lib/notifications/notification-drawer.panel.ts +3 -0
- package/libs/africanies-ui/src/lib/notifications/notification-drawer.service.ts +3 -0
- package/libs/africanies-ui/src/lib/overlay/confirm-dialog.component.ts +3 -0
- package/libs/africanies-ui/src/lib/overlay/confirm.service.ts +3 -0
- package/libs/africanies-ui/src/lib/overlay/drawer.service.ts +3 -0
- package/libs/africanies-ui/src/lib/overlay/modal.service.ts +3 -0
- package/libs/africanies-ui/src/lib/overlay/overlay-frame.component.ts +9 -0
- package/libs/africanies-ui/src/lib/pagination/pagination.component.ts +3 -0
- package/libs/africanies-ui/src/lib/stepper/step-def.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/stepper/stepper.component.ts +3 -0
- package/libs/africanies-ui/src/lib/table/cell-def.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/table/header-cell-def.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/table/row-detail-def.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/table/table.component.ts +3 -0
- package/libs/africanies-ui/src/lib/toast/toast-host.component.ts +4 -1
- package/libs/africanies-ui/src/lib/toast/toast-item.component.ts +3 -0
- package/libs/africanies-ui/src/lib/toast/toast.service.ts +3 -0
- package/libs/africanies-ui/src/lib/tooltip/tooltip-trigger.directive.ts +3 -0
- package/libs/africanies-ui/src/lib/tooltip/tooltip.component.ts +3 -0
- package/package.json +1 -1
- package/.nx/cache/13466509747676776487/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/README.md +0 -60
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs +0 -599
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs.map +0 -1
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/package.json +0 -23
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/types/africanies-africanies-models.d.ts +0 -1452
- package/.nx/cache/14876618240301288353/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
- package/.nx/cache/14995846848874973576/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +0 -221
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/tailwind-preset.cjs +0 -253
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +0 -166
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +0 -1
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/README.md +0 -46
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/package.json +0 -35
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/README.md +0 -85
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +0 -4511
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/package.json +0 -31
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +0 -2741
- package/.nx/cache/terminalOutputs/13555699813138069787 +0 -6
- package/.nx/cache/terminalOutputs/14416694322692463866 +0 -108
- package/.nx/cache/terminalOutputs/1446890025183346611 +0 -32
- package/.nx/cache/terminalOutputs/17394769338046050914 +0 -8
- package/.nx/cache/terminalOutputs/17626862048742598274 +0 -21
- package/.nx/cache/terminalOutputs/6337357866566791975 +0 -6
- package/.nx/cache/terminalOutputs/6664915487114632770 +0 -44
- package/.nx/cache/terminalOutputs/783228502946611950 +0 -19
- package/.nx/cache/terminalOutputs/7978448102466861029 +0 -32
- /package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/README.md +0 -0
- /package/.nx/cache/{13466509747676776487 → 13293303228070520113}/dist/libs/africanies-core/package.json +0 -0
- /package/.nx/cache/{17626862048742598274 → 13387631073062967069}/dist/libs/africanies-theme/README.md +0 -0
- /package/.nx/cache/{17626862048742598274 → 13387631073062967069}/dist/libs/africanies-theme/package.json +0 -0
- /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/README.md +0 -0
- /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
- /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
- /package/.nx/cache/{14876618240301288353 → 2427575433215940812}/dist/libs/africanies-ui/package.json +0 -0
- /package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/README.md +0 -0
- /package/.nx/cache/{6664915487114632770 → 7730350229628359718}/dist/libs/africanies-icons/package.json +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/README.md +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/package.json +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.13",
|
|
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": 1789139553650
|
|
42099
42099
|
}
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
type FileUploadResult,
|
|
12
12
|
NumberInputComponent,
|
|
13
13
|
OtpInputComponent,
|
|
14
|
+
PhoneInputComponent,
|
|
14
15
|
RadioComponent,
|
|
15
16
|
type RadioOption,
|
|
16
17
|
SelectComponent,
|
|
@@ -30,6 +31,7 @@ import {
|
|
|
30
31
|
FORMS_LIVE_VALUES,
|
|
31
32
|
FORMS_NUMBER,
|
|
32
33
|
FORMS_OTP,
|
|
34
|
+
FORMS_PHONE,
|
|
33
35
|
FORMS_SELECT,
|
|
34
36
|
FORMS_TEXT,
|
|
35
37
|
FORMS_TEXTAREA,
|
|
@@ -48,6 +50,7 @@ import {
|
|
|
48
50
|
TextareaComponent,
|
|
49
51
|
SelectComponent,
|
|
50
52
|
AddressInputComponent,
|
|
53
|
+
PhoneInputComponent,
|
|
51
54
|
NumberInputComponent,
|
|
52
55
|
OtpInputComponent,
|
|
53
56
|
FileUploadComponent,
|
|
@@ -134,6 +137,33 @@ import {
|
|
|
134
137
|
</div>
|
|
135
138
|
</app-demo-section>
|
|
136
139
|
|
|
140
|
+
<app-demo-section
|
|
141
|
+
title="Phone input"
|
|
142
|
+
hint="International number — flag + dial code + national digits. [(value)] is E.164 (e.g. +2348012345678) so edit screens can prepopulate from the API string."
|
|
143
|
+
[code]="phoneCode"
|
|
144
|
+
>
|
|
145
|
+
<div class="grid gap-5 md:grid-cols-2">
|
|
146
|
+
<africanies-phone-input
|
|
147
|
+
label="Consignee phone"
|
|
148
|
+
hint="Prefilled from a stored E.164 value"
|
|
149
|
+
countryIso2="NG"
|
|
150
|
+
[(value)]="phone"
|
|
151
|
+
/>
|
|
152
|
+
<africanies-phone-input
|
|
153
|
+
label="Locked sender phone"
|
|
154
|
+
countryIso2="GH"
|
|
155
|
+
[lockCountry]="true"
|
|
156
|
+
[(value)]="lockedPhone"
|
|
157
|
+
/>
|
|
158
|
+
<africanies-phone-input
|
|
159
|
+
label="Phone with error"
|
|
160
|
+
error="Enter a valid mobile number"
|
|
161
|
+
countryIso2="US"
|
|
162
|
+
[(value)]="phoneError"
|
|
163
|
+
/>
|
|
164
|
+
</div>
|
|
165
|
+
</app-demo-section>
|
|
166
|
+
|
|
137
167
|
<app-demo-section
|
|
138
168
|
title="Select"
|
|
139
169
|
hint="Choose from a list — searchable, creatable free text, and multi-select for tags and filters."
|
|
@@ -357,6 +387,12 @@ import {
|
|
|
357
387
|
{{ tracking() || '—' }}
|
|
358
388
|
</dd>
|
|
359
389
|
</div>
|
|
390
|
+
<div>
|
|
391
|
+
<dt class="text-neutral-600">Phone</dt>
|
|
392
|
+
<dd class="m-0 font-medium text-ink dark:text-white">
|
|
393
|
+
{{ phone() || '—' }}
|
|
394
|
+
</dd>
|
|
395
|
+
</div>
|
|
360
396
|
<div>
|
|
361
397
|
<dt class="text-neutral-600">Amount</dt>
|
|
362
398
|
<dd class="m-0 font-medium text-ink dark:text-white">
|
|
@@ -403,14 +439,17 @@ import {
|
|
|
403
439
|
`,
|
|
404
440
|
})
|
|
405
441
|
export class FormsPage {
|
|
406
|
-
protected readonly tracking = signal('');
|
|
407
|
-
protected readonly reference = signal('');
|
|
442
|
+
protected readonly tracking = signal('AWB-10482');
|
|
443
|
+
protected readonly reference = signal('PO-7781');
|
|
408
444
|
protected readonly email = signal('not-an-email');
|
|
409
445
|
protected readonly locked = signal('WH-LOCKED-01');
|
|
410
|
-
protected readonly instructions = signal('');
|
|
446
|
+
protected readonly instructions = signal('Fragile — keep upright');
|
|
411
447
|
protected readonly notesError = signal('x'.repeat(12));
|
|
412
448
|
protected readonly amount = signal<number | null>(12500);
|
|
413
449
|
protected readonly weight = signal<number | null>(24.5);
|
|
450
|
+
protected readonly phone = signal('+2348012345678');
|
|
451
|
+
protected readonly lockedPhone = signal('+233244123456');
|
|
452
|
+
protected readonly phoneError = signal('+15551212');
|
|
414
453
|
protected readonly warehouses = signal<SelectOption<string>[]>([
|
|
415
454
|
{ label: 'Lagos Hub', value: 'los', prefix: 'warehouse', suffix: 'globe' },
|
|
416
455
|
{ label: 'Accra Depot', value: 'acc', prefix: 'warehouse' },
|
|
@@ -422,24 +461,31 @@ export class FormsPage {
|
|
|
422
461
|
},
|
|
423
462
|
{ label: 'Cairo Gateway', value: 'cai', prefix: 'warehouse' },
|
|
424
463
|
]);
|
|
425
|
-
protected readonly selectedWarehouse = signal<SelectOption<string> | null>(
|
|
426
|
-
|
|
427
|
-
|
|
464
|
+
protected readonly selectedWarehouse = signal<SelectOption<string> | null>({
|
|
465
|
+
label: 'Lagos Hub',
|
|
466
|
+
value: 'los',
|
|
467
|
+
prefix: 'warehouse',
|
|
468
|
+
suffix: 'globe',
|
|
469
|
+
});
|
|
428
470
|
protected readonly tags = signal<SelectOption<string>[]>([
|
|
429
471
|
{ label: 'Fragile', value: 'fragile', prefix: 'warning' },
|
|
430
472
|
{ label: 'Priority', value: 'priority', prefix: 'alarm' },
|
|
431
473
|
{ label: 'Bonded', value: 'bonded', prefix: 'anchor' },
|
|
432
474
|
]);
|
|
433
|
-
protected readonly selectedTags = signal<SelectOption<string>[]>([
|
|
475
|
+
protected readonly selectedTags = signal<SelectOption<string>[]>([
|
|
476
|
+
{ label: 'Fragile', value: 'fragile', prefix: 'warning' },
|
|
477
|
+
{ label: 'Priority', value: 'priority', prefix: 'alarm' },
|
|
478
|
+
]);
|
|
434
479
|
protected readonly incoterms: SelectOption<string>[] = [
|
|
435
480
|
{ label: 'DDP', value: 'ddp' },
|
|
436
481
|
{ label: 'DAP', value: 'dap' },
|
|
437
482
|
{ label: 'EXW', value: 'exw' },
|
|
438
483
|
{ label: 'FOB', value: 'fob' },
|
|
439
484
|
];
|
|
440
|
-
protected readonly selectedIncoterm = signal<SelectOption<string> | null>(
|
|
441
|
-
|
|
442
|
-
|
|
485
|
+
protected readonly selectedIncoterm = signal<SelectOption<string> | null>({
|
|
486
|
+
label: 'DDP',
|
|
487
|
+
value: 'ddp',
|
|
488
|
+
});
|
|
443
489
|
protected readonly carriers: SelectOption<string>[] = [
|
|
444
490
|
{
|
|
445
491
|
label: 'DHL Express',
|
|
@@ -453,7 +499,16 @@ export class FormsPage {
|
|
|
453
499
|
protected readonly selectedCarrier = signal<SelectOption<string> | null>(
|
|
454
500
|
null,
|
|
455
501
|
);
|
|
456
|
-
protected readonly pickupAddress = signal<AddressPlace | null>(
|
|
502
|
+
protected readonly pickupAddress = signal<AddressPlace | null>({
|
|
503
|
+
placeId: 'place-lagos-1',
|
|
504
|
+
formattedAddress: '12 Broad Street, Lagos, Nigeria',
|
|
505
|
+
name: '12 Broad Street',
|
|
506
|
+
lat: 6.4541,
|
|
507
|
+
lng: 3.3947,
|
|
508
|
+
locality: 'Lagos',
|
|
509
|
+
country: 'Nigeria',
|
|
510
|
+
countryCode: 'NG',
|
|
511
|
+
});
|
|
457
512
|
protected readonly lastPlaceSelected = signal<AddressPlace | null>(null);
|
|
458
513
|
protected readonly signature = signal(true);
|
|
459
514
|
protected readonly insured = signal(false);
|
|
@@ -469,12 +524,12 @@ export class FormsPage {
|
|
|
469
524
|
];
|
|
470
525
|
protected readonly serviceLevel = signal<string | null>('standard');
|
|
471
526
|
protected readonly readyDate = signal<string | null>('2026-08-15');
|
|
472
|
-
protected readonly cutoffDate = signal<string | null>(
|
|
527
|
+
protected readonly cutoffDate = signal<string | null>('2026-08-14');
|
|
473
528
|
protected readonly files = signal<FileUploadResult[]>([]);
|
|
474
529
|
protected readonly buttonFiles = signal<FileUploadResult[]>([]);
|
|
475
530
|
protected readonly compactFiles = signal<FileUploadResult[]>([]);
|
|
476
|
-
protected readonly otpCodeValue = signal('');
|
|
477
|
-
protected readonly otpPin = signal('');
|
|
531
|
+
protected readonly otpCodeValue = signal('482913');
|
|
532
|
+
protected readonly otpPin = signal('7391');
|
|
478
533
|
protected readonly otpError = signal('0000');
|
|
479
534
|
protected readonly lastOtpCompleted = signal('');
|
|
480
535
|
protected readonly otpResendCount = signal(0);
|
|
@@ -482,6 +537,7 @@ export class FormsPage {
|
|
|
482
537
|
protected readonly textCode = FORMS_TEXT;
|
|
483
538
|
protected readonly textareaCode = FORMS_TEXTAREA;
|
|
484
539
|
protected readonly numberCode = FORMS_NUMBER;
|
|
540
|
+
protected readonly phoneCode = FORMS_PHONE;
|
|
485
541
|
protected readonly selectCode = FORMS_SELECT;
|
|
486
542
|
protected readonly addressCode = FORMS_ADDRESS;
|
|
487
543
|
protected readonly choiceCode = FORMS_CHOICE;
|
|
@@ -41,8 +41,8 @@ import { TextInputComponent } from '@africanies/africanies-ui';
|
|
|
41
41
|
\`,
|
|
42
42
|
})
|
|
43
43
|
export class ShipmentReferenceFormComponent {
|
|
44
|
-
protected readonly tracking = signal('');
|
|
45
|
-
protected readonly reference = signal('');
|
|
44
|
+
protected readonly tracking = signal('AWB-10482');
|
|
45
|
+
protected readonly reference = signal('PO-7781');
|
|
46
46
|
protected readonly email = signal('not-an-email');
|
|
47
47
|
protected readonly locked = signal('WH-LOCKED-01');
|
|
48
48
|
}
|
|
@@ -79,8 +79,8 @@ import { TextareaComponent } from '@africanies/africanies-ui';
|
|
|
79
79
|
\`,
|
|
80
80
|
})
|
|
81
81
|
export class ShipmentInstructionsFormComponent {
|
|
82
|
-
protected readonly instructions = signal('');
|
|
83
|
-
protected readonly notesError = signal('');
|
|
82
|
+
protected readonly instructions = signal('Fragile — keep upright');
|
|
83
|
+
protected readonly notesError = signal('x'.repeat(12));
|
|
84
84
|
}
|
|
85
85
|
`;
|
|
86
86
|
|
|
@@ -122,6 +122,41 @@ export class ShipmentValueFormComponent {
|
|
|
122
122
|
}
|
|
123
123
|
`;
|
|
124
124
|
|
|
125
|
+
export /**
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
const FORMS_PHONE = `
|
|
129
|
+
// [(value)] is an E.164 string (+234…). Edit screens prepopulate from the API
|
|
130
|
+
// phone field; countryIso2 is a hint when dial codes are shared (e.g. +1).
|
|
131
|
+
|
|
132
|
+
import { Component, signal } from '@angular/core';
|
|
133
|
+
import { PhoneInputComponent } from '@africanies/africanies-ui';
|
|
134
|
+
|
|
135
|
+
@Component({
|
|
136
|
+
selector: 'app-consignee-phone-form',
|
|
137
|
+
standalone: true,
|
|
138
|
+
imports: [PhoneInputComponent],
|
|
139
|
+
template: \`
|
|
140
|
+
<africanies-phone-input
|
|
141
|
+
label="Consignee phone"
|
|
142
|
+
countryIso2="NG"
|
|
143
|
+
[(value)]="phone"
|
|
144
|
+
/>
|
|
145
|
+
|
|
146
|
+
<africanies-phone-input
|
|
147
|
+
label="Locked sender phone"
|
|
148
|
+
countryIso2="GH"
|
|
149
|
+
[lockCountry]="true"
|
|
150
|
+
[(value)]="lockedPhone"
|
|
151
|
+
/>
|
|
152
|
+
\`,
|
|
153
|
+
})
|
|
154
|
+
export class ConsigneePhoneFormComponent {
|
|
155
|
+
protected readonly phone = signal('+2348012345678');
|
|
156
|
+
protected readonly lockedPhone = signal('+233244123456');
|
|
157
|
+
}
|
|
158
|
+
`;
|
|
159
|
+
|
|
125
160
|
export /**
|
|
126
161
|
*
|
|
127
162
|
*/
|
|
@@ -476,8 +511,8 @@ import { OtpInputComponent } from '@africanies/africanies-ui';
|
|
|
476
511
|
\`,
|
|
477
512
|
})
|
|
478
513
|
export class VerifyOtpFormComponent {
|
|
479
|
-
protected readonly code = signal('');
|
|
480
|
-
protected readonly pin = signal('');
|
|
514
|
+
protected readonly code = signal('482913');
|
|
515
|
+
protected readonly pin = signal('7391');
|
|
481
516
|
|
|
482
517
|
protected verify(code: string): void {
|
|
483
518
|
// POST /auth/verify { code }
|
|
@@ -48,6 +48,9 @@ const DEFAULT_MODE = 'sfn';
|
|
|
48
48
|
* console.log(shipping.mode()); // 'stn'
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
|
+
/**
|
|
52
|
+
* Signal-based holder for the active {@link ShippingMode}.
|
|
53
|
+
*/
|
|
51
54
|
class ShippingModeService {
|
|
52
55
|
storage = inject(SessionStorageService);
|
|
53
56
|
injector = inject(Injector);
|
|
@@ -970,6 +973,9 @@ function mapResourcePayload(id, raw, mapOne, mapMany) {
|
|
|
970
973
|
* });
|
|
971
974
|
* ```
|
|
972
975
|
*/
|
|
976
|
+
/**
|
|
977
|
+
* Endpoint-agnostic HTTP façade over Angular {@link HttpClient}.
|
|
978
|
+
*/
|
|
973
979
|
class ApiClient {
|
|
974
980
|
http = inject(HttpClient);
|
|
975
981
|
config = inject(AFRICANIES_SDK_CONFIG);
|
|
@@ -1295,6 +1301,9 @@ function resolveModeRegionConfig(config, mode, countryCode) {
|
|
|
1295
1301
|
* }
|
|
1296
1302
|
* ```
|
|
1297
1303
|
*/
|
|
1304
|
+
/**
|
|
1305
|
+
* Source of truth for region currency and measurement units (STN / SFN).
|
|
1306
|
+
*/
|
|
1298
1307
|
class ModeConfigService {
|
|
1299
1308
|
api = inject(ApiClient);
|
|
1300
1309
|
storage = inject(STORAGE_TOKEN);
|
|
@@ -1456,6 +1465,9 @@ const AUTH_FORGOT_PASSWORD_PATH = '/auth/forgot/password';
|
|
|
1456
1465
|
* });
|
|
1457
1466
|
* ```
|
|
1458
1467
|
*/
|
|
1468
|
+
/**
|
|
1469
|
+
* Unauthenticated auth endpoints (`POST /auth/…`).
|
|
1470
|
+
*/
|
|
1459
1471
|
class AuthService {
|
|
1460
1472
|
api = inject(ApiClient);
|
|
1461
1473
|
/**
|
|
@@ -1502,6 +1514,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
1502
1514
|
* });
|
|
1503
1515
|
* ```
|
|
1504
1516
|
*/
|
|
1517
|
+
/**
|
|
1518
|
+
* Holds the bearer access token used by {@link authInterceptor}.
|
|
1519
|
+
*/
|
|
1505
1520
|
class AuthTokenService {
|
|
1506
1521
|
storage = inject(STORAGE_TOKEN);
|
|
1507
1522
|
api = inject(ApiClient);
|
|
@@ -1914,6 +1929,9 @@ const COUNTRY_CACHE_TTL_MS = 5 * 60_000;
|
|
|
1914
1929
|
* countries.readById(1).subscribe((res) => console.log(res.data?.name));
|
|
1915
1930
|
* ```
|
|
1916
1931
|
*/
|
|
1932
|
+
/**
|
|
1933
|
+
* Public country utility reads (`GET /public/country/read/{id?}`).
|
|
1934
|
+
*/
|
|
1917
1935
|
class CountryService {
|
|
1918
1936
|
api = inject(ApiClient);
|
|
1919
1937
|
read(id = null, params) {
|
|
@@ -2117,6 +2135,9 @@ const DOCUMENT_CACHE_TTL_MS = 5 * 60_000;
|
|
|
2117
2135
|
* });
|
|
2118
2136
|
* ```
|
|
2119
2137
|
*/
|
|
2138
|
+
/**
|
|
2139
|
+
* Public document catalog reads (`GET /public/document/read/{id?}`).
|
|
2140
|
+
*/
|
|
2120
2141
|
class DocumentService {
|
|
2121
2142
|
api = inject(ApiClient);
|
|
2122
2143
|
read(id = null, params) {
|
|
@@ -2240,6 +2261,9 @@ const PLAN_CACHE_TTL_MS = 5 * 60_000;
|
|
|
2240
2261
|
* });
|
|
2241
2262
|
* ```
|
|
2242
2263
|
*/
|
|
2264
|
+
/**
|
|
2265
|
+
* Public subscription-plan reads (`GET /public/plan/read/{id?}`).
|
|
2266
|
+
*/
|
|
2243
2267
|
class PlanService {
|
|
2244
2268
|
api = inject(ApiClient);
|
|
2245
2269
|
read(id = null, params) {
|
|
@@ -2337,6 +2361,9 @@ const SERVICE_CACHE_TTL_MS = 5 * 60_000;
|
|
|
2337
2361
|
* services.readById(3).subscribe((res) => console.log(res.data?.name));
|
|
2338
2362
|
* ```
|
|
2339
2363
|
*/
|
|
2364
|
+
/**
|
|
2365
|
+
* Public subscription-service reads (`GET /public/service/read/{id?}`).
|
|
2366
|
+
*/
|
|
2340
2367
|
class ServiceService {
|
|
2341
2368
|
api = inject(ApiClient);
|
|
2342
2369
|
read(id = null, params) {
|
|
@@ -2539,6 +2566,9 @@ const CURRENCY_CACHE_TTL_MS = 5 * 60_000;
|
|
|
2539
2566
|
* currencies.readById(5).subscribe((res) => console.log(res.data?.name));
|
|
2540
2567
|
* ```
|
|
2541
2568
|
*/
|
|
2569
|
+
/**
|
|
2570
|
+
* Currency App Settings API (`GET /currency/read/{id?}` plus create / update / delete).
|
|
2571
|
+
*/
|
|
2542
2572
|
class CurrencyService {
|
|
2543
2573
|
api = inject(ApiClient);
|
|
2544
2574
|
read(id = null, params) {
|
|
@@ -2741,6 +2771,9 @@ const PAYMENT_METHOD_CACHE_TTL_MS = 5 * 60_000;
|
|
|
2741
2771
|
* });
|
|
2742
2772
|
* ```
|
|
2743
2773
|
*/
|
|
2774
|
+
/**
|
|
2775
|
+
* Payment-method App Settings API (`GET /payment_method/read/{id?}` plus update).
|
|
2776
|
+
*/
|
|
2744
2777
|
class PaymentMethodService {
|
|
2745
2778
|
api = inject(ApiClient);
|
|
2746
2779
|
read(id = null, params) {
|
|
@@ -2944,6 +2977,9 @@ const SHIPMENT_METHOD_CACHE_TTL_MS = 5 * 60_000;
|
|
|
2944
2977
|
* methods.readById(12).subscribe((res) => console.log(res.data?.name));
|
|
2945
2978
|
* ```
|
|
2946
2979
|
*/
|
|
2980
|
+
/**
|
|
2981
|
+
* Shipment method / carrier utility reads (`GET /shipment_method/read/{id?}`).
|
|
2982
|
+
*/
|
|
2947
2983
|
class ShipmentMethodService {
|
|
2948
2984
|
api = inject(ApiClient);
|
|
2949
2985
|
read(id = null, params) {
|
|
@@ -3085,6 +3121,9 @@ const WAREHOUSE_CACHE_TTL_MS = 5 * 60_000;
|
|
|
3085
3121
|
* warehouses.readById(37).subscribe((res) => console.log(res.data?.name));
|
|
3086
3122
|
* ```
|
|
3087
3123
|
*/
|
|
3124
|
+
/**
|
|
3125
|
+
* Warehouse utility reads (`GET /warehouse/read/{id?}`).
|
|
3126
|
+
*/
|
|
3088
3127
|
class WarehouseService {
|
|
3089
3128
|
api = inject(ApiClient);
|
|
3090
3129
|
read(id = null, params) {
|
|
@@ -3180,6 +3219,9 @@ const ZONE_CACHE_TTL_MS = 5 * 60_000;
|
|
|
3180
3219
|
* zones.readById(1).subscribe((res) => console.log(res.data?.name));
|
|
3181
3220
|
* ```
|
|
3182
3221
|
*/
|
|
3222
|
+
/**
|
|
3223
|
+
* Zone utility reads (`GET /zone/read/records/{id?}`).
|
|
3224
|
+
*/
|
|
3183
3225
|
class ZoneService {
|
|
3184
3226
|
api = inject(ApiClient);
|
|
3185
3227
|
read(id = null, params) {
|
|
@@ -3552,6 +3594,9 @@ function mapUser(raw) {
|
|
|
3552
3594
|
* });
|
|
3553
3595
|
* ```
|
|
3554
3596
|
*/
|
|
3597
|
+
/**
|
|
3598
|
+
* Current authenticated user (`GET /user`).
|
|
3599
|
+
*/
|
|
3555
3600
|
class UserService {
|
|
3556
3601
|
api = inject(ApiClient);
|
|
3557
3602
|
/**
|
|
@@ -3692,6 +3737,9 @@ function mapNotificationInboxItem(notification) {
|
|
|
3692
3737
|
* });
|
|
3693
3738
|
* ```
|
|
3694
3739
|
*/
|
|
3740
|
+
/**
|
|
3741
|
+
* Authenticated user notifications (`GET /user/notifications/read/{id?}`).
|
|
3742
|
+
*/
|
|
3695
3743
|
class NotificationService {
|
|
3696
3744
|
api = inject(ApiClient);
|
|
3697
3745
|
read(id = null, params) {
|
|
@@ -3957,6 +4005,9 @@ function isLegacyPortalHost(hostname) {
|
|
|
3957
4005
|
* });
|
|
3958
4006
|
* ```
|
|
3959
4007
|
*/
|
|
4008
|
+
/**
|
|
4009
|
+
* File utility reads (`POST /file/read`).
|
|
4010
|
+
*/
|
|
3960
4011
|
class FileService {
|
|
3961
4012
|
api = inject(ApiClient);
|
|
3962
4013
|
/**
|
|
@@ -4090,6 +4141,9 @@ const PRODUCT_CACHE_TTL_MS = 5 * 60_000;
|
|
|
4090
4141
|
* products.readById(6280).subscribe((res) => console.log(res.data?.name));
|
|
4091
4142
|
* ```
|
|
4092
4143
|
*/
|
|
4144
|
+
/**
|
|
4145
|
+
* Product utility reads (`GET /product/read/{id?}`).
|
|
4146
|
+
*/
|
|
4093
4147
|
class ProductService {
|
|
4094
4148
|
api = inject(ApiClient);
|
|
4095
4149
|
read(id = null, params) {
|
|
@@ -4228,6 +4282,9 @@ const SDK_FILTER_OPTIONS_SOURCES = new Set([
|
|
|
4228
4282
|
* });
|
|
4229
4283
|
* ```
|
|
4230
4284
|
*/
|
|
4285
|
+
/**
|
|
4286
|
+
* Resolves filter drawer select options from built-in SDK catalog services.
|
|
4287
|
+
*/
|
|
4231
4288
|
class FilterOptionsResolver {
|
|
4232
4289
|
warehouses = inject(WarehouseService);
|
|
4233
4290
|
shipmentMethods = inject(ShipmentMethodService);
|
|
@@ -4347,6 +4404,9 @@ const OVERLAY_ROUTE_CONFIGS = new InjectionToken('AFRICANIES_OVERLAY_ROUTE_CONFI
|
|
|
4347
4404
|
* Modal/drawer implementations live in `@africanies/africanies-ui` and are injected through
|
|
4348
4405
|
* {@link MODAL_SERVICE} / {@link DRAWER_SERVICE} to avoid a circular dependency.
|
|
4349
4406
|
*/
|
|
4407
|
+
/**
|
|
4408
|
+
* Keeps query-param state in sync with modal/drawer overlays.
|
|
4409
|
+
*/
|
|
4350
4410
|
class RouteOverlayService {
|
|
4351
4411
|
route = inject(ActivatedRoute);
|
|
4352
4412
|
router = inject(Router);
|