@africanies/angular-web-sdk 0.1.2 → 0.1.3

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 (57) hide show
  1. package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/README.md +46 -0
  2. package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +215 -0
  3. package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +1 -0
  4. package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/package.json +35 -0
  5. package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/tailwind-preset.cjs +245 -0
  6. package/.nx/cache/12276756491762927325/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +157 -0
  7. package/.nx/cache/17491371155400585077/dist/libs/africanies-core/README.md +85 -0
  8. package/.nx/cache/17491371155400585077/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +4546 -0
  9. package/.nx/cache/17491371155400585077/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -0
  10. package/.nx/cache/17491371155400585077/dist/libs/africanies-core/package.json +31 -0
  11. package/.nx/cache/17491371155400585077/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +2740 -0
  12. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/README.md +68 -0
  13. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
  14. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
  15. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +5 -0
  16. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/assets/carriers/dhl.svg +7 -0
  17. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +19291 -0
  18. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
  19. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/package.json +35 -0
  20. package/.nx/cache/3314955264390318442/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +5483 -0
  21. package/.nx/cache/run.json +38 -38
  22. package/.nx/cache/terminalOutputs/12276756491762927325 +21 -0
  23. package/.nx/cache/terminalOutputs/17491371155400585077 +21 -0
  24. package/.nx/cache/terminalOutputs/3017748574492080228 +28 -0
  25. package/.nx/cache/terminalOutputs/3314955264390318442 +21 -0
  26. package/.nx/cache/terminalOutputs/8648260256613557249 +173 -0
  27. package/.nx/cache/terminalOutputs/9408529484792607601 +6 -0
  28. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db +0 -0
  29. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-shm +0 -0
  30. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-wal +0 -0
  31. package/.nx/workspace-data/d/daemon.log +1659 -0
  32. package/.nx/workspace-data/d/server-process.json +2 -2
  33. package/.nx/workspace-data/file-map.json +3578 -3529
  34. package/.nx/workspace-data/nx_files.nxt +0 -0
  35. package/.nx/workspace-data/project-graph.json +5 -5
  36. package/.nx/workspace-data/source-maps.json +0 -80
  37. package/apps/playground/src/app/snippets/action-menu.snippets.ts +1 -0
  38. package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +1 -1
  39. package/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +1 -1
  40. package/dist/libs/africanies-core/package.json +3 -3
  41. package/dist/libs/africanies-theme/package.json +3 -3
  42. package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +318 -115
  43. package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -1
  44. package/dist/libs/africanies-ui/package.json +5 -5
  45. package/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +92 -19
  46. package/libs/africanies-core/package.json +3 -3
  47. package/libs/africanies-core/src/lib/payment-method/payment-method.mapper.spec.ts +15 -0
  48. package/libs/africanies-core/src/lib/payment-method/payment-method.mapper.ts +1 -2
  49. package/libs/africanies-theme/package.json +3 -3
  50. package/libs/africanies-ui/package.json +5 -5
  51. package/libs/africanies-ui/src/index.ts +6 -0
  52. package/libs/africanies-ui/src/lib/accordion/accordion.component.ts +135 -0
  53. package/libs/africanies-ui/src/lib/accordion/index.ts +7 -0
  54. package/libs/africanies-ui/src/lib/action-menu/action-menu.component.ts +84 -17
  55. package/libs/africanies-ui/src/lib/action-menu/menu-item.ts +19 -2
  56. package/libs/africanies-ui/src/lib/modules/africanies-feedback.module.ts +3 -1
  57. package/package.json +1 -1
Binary file
@@ -424,7 +424,7 @@
424
424
  "targetGroups": {},
425
425
  "js": {
426
426
  "packageName": "@africanies/africanies-theme",
427
- "packageVersion": "0.0.1",
427
+ "packageVersion": "0.0.2",
428
428
  "packageExports": {
429
429
  "./tailwind-preset": "./tailwind-preset.cjs"
430
430
  },
@@ -538,7 +538,7 @@
538
538
  "targetGroups": {},
539
539
  "js": {
540
540
  "packageName": "@africanies/africanies-core",
541
- "packageVersion": "0.0.2",
541
+ "packageVersion": "0.0.3",
542
542
  "isInPackageManagerWorkspaces": false
543
543
  }
544
544
  },
@@ -649,7 +649,7 @@
649
649
  "targetGroups": {},
650
650
  "js": {
651
651
  "packageName": "@africanies/africanies-ui",
652
- "packageVersion": "0.0.2",
652
+ "packageVersion": "0.0.4",
653
653
  "isInPackageManagerWorkspaces": false
654
654
  }
655
655
  },
@@ -826,7 +826,7 @@
826
826
  "targetGroups": {},
827
827
  "js": {
828
828
  "packageName": "@africanies/angular-web-sdk",
829
- "packageVersion": "0.1.2",
829
+ "packageVersion": "0.1.3",
830
830
  "isInPackageManagerWorkspaces": true
831
831
  }
832
832
  },
@@ -42090,5 +42090,5 @@
42090
42090
  },
42091
42091
  "version": "6.0",
42092
42092
  "errors": [],
42093
- "computedAt": 1787676035498
42093
+ "computedAt": 1787820861190
42094
42094
  }
@@ -148,10 +148,6 @@
148
148
  "libs/africanies-core/package.json",
149
149
  "nx/core/package-json"
150
150
  ],
151
- "metadata.description": [
152
- "libs/africanies-core/package.json",
153
- "nx/core/package-json"
154
- ],
155
151
  "metadata.js": [
156
152
  "libs/africanies-core/package.json",
157
153
  "nx/core/package-json"
@@ -164,14 +160,6 @@
164
160
  "libs/africanies-core/package.json",
165
161
  "nx/core/package-json"
166
162
  ],
167
- "metadata.js.packageExports": [
168
- "libs/africanies-core/package.json",
169
- "nx/core/package-json"
170
- ],
171
- "metadata.js.packageMain": [
172
- "libs/africanies-core/package.json",
173
- "nx/core/package-json"
174
- ],
175
163
  "metadata.js.isInPackageManagerWorkspaces": [
176
164
  "libs/africanies-core/package.json",
177
165
  "nx/core/package-json"
@@ -426,10 +414,6 @@
426
414
  "libs/africanies-icons/package.json",
427
415
  "nx/core/package-json"
428
416
  ],
429
- "metadata.description": [
430
- "libs/africanies-icons/package.json",
431
- "nx/core/package-json"
432
- ],
433
417
  "metadata.js": [
434
418
  "libs/africanies-icons/package.json",
435
419
  "nx/core/package-json"
@@ -442,14 +426,6 @@
442
426
  "libs/africanies-icons/package.json",
443
427
  "nx/core/package-json"
444
428
  ],
445
- "metadata.js.packageExports": [
446
- "libs/africanies-icons/package.json",
447
- "nx/core/package-json"
448
- ],
449
- "metadata.js.packageMain": [
450
- "libs/africanies-icons/package.json",
451
- "nx/core/package-json"
452
- ],
453
429
  "metadata.js.isInPackageManagerWorkspaces": [
454
430
  "libs/africanies-icons/package.json",
455
431
  "nx/core/package-json"
@@ -704,10 +680,6 @@
704
680
  "libs/africanies-models/package.json",
705
681
  "nx/core/package-json"
706
682
  ],
707
- "metadata.description": [
708
- "libs/africanies-models/package.json",
709
- "nx/core/package-json"
710
- ],
711
683
  "metadata.js": [
712
684
  "libs/africanies-models/package.json",
713
685
  "nx/core/package-json"
@@ -720,14 +692,6 @@
720
692
  "libs/africanies-models/package.json",
721
693
  "nx/core/package-json"
722
694
  ],
723
- "metadata.js.packageExports": [
724
- "libs/africanies-models/package.json",
725
- "nx/core/package-json"
726
- ],
727
- "metadata.js.packageMain": [
728
- "libs/africanies-models/package.json",
729
- "nx/core/package-json"
730
- ],
731
695
  "metadata.js.isInPackageManagerWorkspaces": [
732
696
  "libs/africanies-models/package.json",
733
697
  "nx/core/package-json"
@@ -982,10 +946,6 @@
982
946
  "libs/africanies-storage/package.json",
983
947
  "nx/core/package-json"
984
948
  ],
985
- "metadata.description": [
986
- "libs/africanies-storage/package.json",
987
- "nx/core/package-json"
988
- ],
989
949
  "metadata.js": [
990
950
  "libs/africanies-storage/package.json",
991
951
  "nx/core/package-json"
@@ -998,14 +958,6 @@
998
958
  "libs/africanies-storage/package.json",
999
959
  "nx/core/package-json"
1000
960
  ],
1001
- "metadata.js.packageExports": [
1002
- "libs/africanies-storage/package.json",
1003
- "nx/core/package-json"
1004
- ],
1005
- "metadata.js.packageMain": [
1006
- "libs/africanies-storage/package.json",
1007
- "nx/core/package-json"
1008
- ],
1009
961
  "metadata.js.isInPackageManagerWorkspaces": [
1010
962
  "libs/africanies-storage/package.json",
1011
963
  "nx/core/package-json"
@@ -1260,10 +1212,6 @@
1260
1212
  "libs/africanies-theme/package.json",
1261
1213
  "nx/core/package-json"
1262
1214
  ],
1263
- "metadata.description": [
1264
- "libs/africanies-theme/package.json",
1265
- "nx/core/package-json"
1266
- ],
1267
1215
  "metadata.js": [
1268
1216
  "libs/africanies-theme/package.json",
1269
1217
  "nx/core/package-json"
@@ -1280,10 +1228,6 @@
1280
1228
  "libs/africanies-theme/package.json",
1281
1229
  "nx/core/package-json"
1282
1230
  ],
1283
- "metadata.js.packageMain": [
1284
- "libs/africanies-theme/package.json",
1285
- "nx/core/package-json"
1286
- ],
1287
1231
  "metadata.js.isInPackageManagerWorkspaces": [
1288
1232
  "libs/africanies-theme/package.json",
1289
1233
  "nx/core/package-json"
@@ -1538,10 +1482,6 @@
1538
1482
  "libs/africanies-ui/package.json",
1539
1483
  "nx/core/package-json"
1540
1484
  ],
1541
- "metadata.description": [
1542
- "libs/africanies-ui/package.json",
1543
- "nx/core/package-json"
1544
- ],
1545
1485
  "metadata.js": [
1546
1486
  "libs/africanies-ui/package.json",
1547
1487
  "nx/core/package-json"
@@ -1554,14 +1494,6 @@
1554
1494
  "libs/africanies-ui/package.json",
1555
1495
  "nx/core/package-json"
1556
1496
  ],
1557
- "metadata.js.packageExports": [
1558
- "libs/africanies-ui/package.json",
1559
- "nx/core/package-json"
1560
- ],
1561
- "metadata.js.packageMain": [
1562
- "libs/africanies-ui/package.json",
1563
- "nx/core/package-json"
1564
- ],
1565
1497
  "metadata.js.isInPackageManagerWorkspaces": [
1566
1498
  "libs/africanies-ui/package.json",
1567
1499
  "nx/core/package-json"
@@ -2022,10 +1954,6 @@
2022
1954
  "package.json",
2023
1955
  "nx/core/package-json"
2024
1956
  ],
2025
- "metadata.description": [
2026
- "package.json",
2027
- "nx/core/package-json"
2028
- ],
2029
1957
  "metadata.js": [
2030
1958
  "package.json",
2031
1959
  "nx/core/package-json"
@@ -2038,14 +1966,6 @@
2038
1966
  "package.json",
2039
1967
  "nx/core/package-json"
2040
1968
  ],
2041
- "metadata.js.packageExports": [
2042
- "package.json",
2043
- "nx/core/package-json"
2044
- ],
2045
- "metadata.js.packageMain": [
2046
- "package.json",
2047
- "nx/core/package-json"
2048
- ],
2049
1969
  "metadata.js.isInPackageManagerWorkspaces": [
2050
1970
  "package.json",
2051
1971
  "nx/core/package-json"
@@ -32,6 +32,7 @@ export class ShipmentRowActionsDemoComponent {
32
32
  {
33
33
  label: 'Open',
34
34
  icon: 'eye',
35
+ routerLink: ['/shipments', '1'],
35
36
  onClick: () => this.lastAction.set('Open'),
36
37
  },
37
38
  {
@@ -2725,7 +2725,7 @@ function mapPaymentMethod(raw) {
2725
2725
  deleted_at: asNullableString(record['deleted_at'] ?? record['deletedAt']),
2726
2726
  created_at: asNullableString(record['created_at'] ?? record['createdAt']),
2727
2727
  updated_at: asNullableString(record['updated_at'] ?? record['updatedAt']),
2728
- currencies: mapArray(record['currencies'], mapPaymentMethodCurrency),
2728
+ currencies: mapList(record['currencies'], mapPaymentMethodCurrency),
2729
2729
  };
2730
2730
  }
2731
2731
  /**