@crystaldesign/diva-backoffice 26.11.0-rc.1 → 26.12.0-beta.2

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.
@@ -38042,9 +38042,15 @@ var TablePackages = observer(function () {
38042
38042
  apiInterface: {
38043
38043
  read: apiConfig.authService + "/organizations/".concat(organizationId, "/related")
38044
38044
  },
38045
+ // Sub-organizations inherit the package automatically, so releasing it to them explicitly is redundant
38045
38046
  filter: function filter(_, lookupData) {
38046
- return lookupData._id !== organizationId;
38047
+ var _lookupData$parentOrg;
38048
+ return lookupData._id !== organizationId && !((_lookupData$parentOrg = lookupData.parentOrganizations) !== null && _lookupData$parentOrg !== void 0 && _lookupData$parentOrg.includes(organizationId));
38047
38049
  },
38050
+ // Fetch-only: the lookup requests just the configured fields, and the filter needs the parent chain
38051
+ additionalMappings: [{
38052
+ lookupField: 'parentOrganizations'
38053
+ }],
38048
38054
  lookupValue: 'displayName',
38049
38055
  lookupKey: '_id',
38050
38056
  serverType: 'nodejs',
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgCpD,eAAO,MAAM,aAAa;;CAqdxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgCpD,eAAO,MAAM,aAAa;;CAwdxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.11.0-rc.1",
3
+ "version": "26.12.0-beta.2",
4
4
  "description": "Ant Design backoffice shell: configuration plus the IDM and enricher editors.",
5
5
  "license": "COMMERCIAL",
6
6
  "devDependencies": {
@@ -16,14 +16,14 @@
16
16
  "dependencies": {
17
17
  "@ant-design/icons": "6.3.4",
18
18
  "@babel/runtime": "7.24.7",
19
- "@crystaldesign/content-box": "26.11.0-rc.1",
20
- "@crystaldesign/content-item": "26.11.0-rc.1",
21
- "@crystaldesign/diva-agent": "26.11.0-rc.1",
22
- "@crystaldesign/diva-core": "26.11.0-rc.1",
23
- "@crystaldesign/diva-utils": "26.11.0-rc.1",
24
- "@crystaldesign/media-upload": "26.11.0-rc.1",
25
- "@crystaldesign/rtf-editor": "26.11.0-rc.1",
26
- "@crystaldesign/spreadsheet": "26.11.0-rc.1",
19
+ "@crystaldesign/content-box": "26.12.0-beta.2",
20
+ "@crystaldesign/content-item": "26.12.0-beta.2",
21
+ "@crystaldesign/diva-agent": "26.12.0-beta.2",
22
+ "@crystaldesign/diva-core": "26.12.0-beta.2",
23
+ "@crystaldesign/diva-utils": "26.12.0-beta.2",
24
+ "@crystaldesign/media-upload": "26.12.0-beta.2",
25
+ "@crystaldesign/rtf-editor": "26.12.0-beta.2",
26
+ "@crystaldesign/spreadsheet": "26.12.0-beta.2",
27
27
  "@dnd-kit/core": "^6.1.0",
28
28
  "@dnd-kit/sortable": "^8.0.0",
29
29
  "@dnd-kit/utilities": "^3.2.2",
@@ -57,5 +57,5 @@
57
57
  },
58
58
  "module": "build/esm/index.js",
59
59
  "types": "./build/types/backoffice/src/index.d.ts",
60
- "gitHead": "5d71eae2a6901df3a2f7dbb2a4f2c51d2a153102"
60
+ "gitHead": "8d5d90340389f63400e7132ee77ae87d970da4c9"
61
61
  }