@dative-gpi/foundation-core-services 1.0.127 → 1.0.128-fix-mobile

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.
@@ -2,7 +2,6 @@ import { ref } from "vue";
2
2
 
3
3
  import { DeviceExplorerElementDetails, type DeviceExplorerElementDetailsDTO, type DeviceExplorerElementFilters, DeviceExplorerElementInfos, type DeviceExplorerElementInfosDTO, type DeviceOrganisationDetails, type GroupDetails } from "@dative-gpi/foundation-core-domain/models";
4
4
  import { type AddOrUpdateCallback, type DeleteCallback, type NotifyEvent, onCollectionChanged } from "@dative-gpi/bones-ui";
5
- import { fromDeviceOrganisation, fromGroup } from "@dative-gpi/foundation-shared-domain/tools";
6
5
  import { ServiceFactory } from "@dative-gpi/bones-ui/core";
7
6
 
8
7
  import { DEVICE_EXPLORER_ELEMENTS_URL } from "../../config/urls";
@@ -57,7 +56,7 @@ export const useDeviceExplorerElements = () => {
57
56
  switch(ev) {
58
57
  case "add":
59
58
  case "update":
60
- (onCollectionChangedCustom as AddOrUpdateCallback<DeviceExplorerElementInfos>)(ev, fromDeviceOrganisation(el));
59
+ (onCollectionChangedCustom as AddOrUpdateCallback<DeviceExplorerElementInfos>)(ev, DeviceExplorerElementInfos.fromDeviceOrganisation(el));
61
60
  break;
62
61
  case "delete":
63
62
  (onCollectionChangedCustom as DeleteCallback)(ev, el);
@@ -69,7 +68,7 @@ export const useDeviceExplorerElements = () => {
69
68
  switch(ev) {
70
69
  case "add":
71
70
  case "update":
72
- (onCollectionChangedCustom as AddOrUpdateCallback<DeviceExplorerElementInfos>)(ev, fromGroup(el));
71
+ (onCollectionChangedCustom as AddOrUpdateCallback<DeviceExplorerElementInfos>)(ev, DeviceExplorerElementInfos.fromGroup(el));
73
72
  break;
74
73
  case "delete":
75
74
  (onCollectionChangedCustom as DeleteCallback)(ev, el);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-core-services",
3
3
  "sideEffects": false,
4
- "version": "1.0.127",
4
+ "version": "1.0.128-fix-mobile",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,7 +10,7 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-core-domain": "1.0.127"
13
+ "@dative-gpi/foundation-core-domain": "1.0.128-fix-mobile"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -18,5 +18,5 @@
18
18
  "vue": "^3.4.38",
19
19
  "vue-router": "^4.3.0"
20
20
  },
21
- "gitHead": "b0ad78457ad86632d841709d3fc3951a8e44c667"
21
+ "gitHead": "099789bb7c9a4134f9ee0aba08d805b673cbb977"
22
22
  }