@crystaldesign/diva-backoffice 26.13.0-beta.19 → 26.13.0-beta.20

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.
@@ -95330,10 +95330,11 @@ function CollectionMembers(_ref) {
95330
95330
  field: 'serieNos',
95331
95331
  headerName: 'backoffice.idmCatalogEditor.collectionmembers.label.serieNos',
95332
95332
  cellDataType: 'lookup',
95333
+ // the series of a supplier collection are maintained by the publish
95333
95334
  editable: function editable(_ref2) {
95334
95335
  var data = _ref2.data,
95335
95336
  context = _ref2.context;
95336
- return (context === null || context === void 0 ? void 0 : context.isPasting) || !!data.enricherPackageId;
95337
+ return !collection.isSupplierCollection && ((context === null || context === void 0 ? void 0 : context.isPasting) || !!data.enricherPackageId);
95337
95338
  },
95338
95339
  customParams: {
95339
95340
  nameField: 'serieNosDisplayTexts',
@@ -95350,6 +95351,10 @@ function CollectionMembers(_ref) {
95350
95351
  type: 'equals',
95351
95352
  filterType: 'number'
95352
95353
  },
95354
+ // serie no. 0 (e.g. accessories) is not offered as a collection member; the API sends serieNo as a string
95355
+ filter: function filter(_, lookupData) {
95356
+ return String(lookupData.serieNo) !== '0';
95357
+ },
95353
95358
  multiple: true,
95354
95359
  translated: true
95355
95360
  },
@@ -95362,7 +95367,7 @@ function CollectionMembers(_ref) {
95362
95367
  cellDataType: 'objectId'
95363
95368
  }]
95364
95369
  };
95365
- }, [apiInterface, i18n.language, organizationId]);
95370
+ }, [apiInterface, i18n.language, organizationId, collection.isSupplierCollection]);
95366
95371
  return /*#__PURE__*/jsx(Spreadsheet, {
95367
95372
  gridId: 'crud-grid_collectionmembers',
95368
95373
  agentBoundParent: agentBoundParent,
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionMembers.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/CollectionMembers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,MAAM,4BAA4B,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAkGA"}
1
+ {"version":3,"file":"CollectionMembers.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/CollectionMembers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,MAAM,4BAA4B,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAqGA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.13.0-beta.19",
3
+ "version": "26.13.0-beta.20",
4
4
  "description": "Ant Design backoffice shell (configuration modules), the Diva Data Engine component hosting the IDM and enricher editors, and the Produkt Onboarding component hosting the Assortment Manager.",
5
5
  "license": "COMMERCIAL",
6
6
  "devDependencies": {
@@ -16,16 +16,16 @@
16
16
  "dependencies": {
17
17
  "@ant-design/icons": "6.3.4",
18
18
  "@babel/runtime": "7.24.7",
19
- "@crystaldesign/classification": "26.13.0-beta.19",
20
- "@crystaldesign/content-box": "26.13.0-beta.19",
21
- "@crystaldesign/content-item": "26.13.0-beta.19",
22
- "@crystaldesign/diva-agent": "26.13.0-beta.19",
23
- "@crystaldesign/diva-core": "26.13.0-beta.19",
24
- "@crystaldesign/diva-utils": "26.13.0-beta.19",
25
- "@crystaldesign/mass-configurator": "26.13.0-beta.19",
26
- "@crystaldesign/media-upload": "26.13.0-beta.19",
27
- "@crystaldesign/rtf-editor": "26.13.0-beta.19",
28
- "@crystaldesign/spreadsheet": "26.13.0-beta.19",
19
+ "@crystaldesign/classification": "26.13.0-beta.20",
20
+ "@crystaldesign/content-box": "26.13.0-beta.20",
21
+ "@crystaldesign/content-item": "26.13.0-beta.20",
22
+ "@crystaldesign/diva-agent": "26.13.0-beta.20",
23
+ "@crystaldesign/diva-core": "26.13.0-beta.20",
24
+ "@crystaldesign/diva-utils": "26.13.0-beta.20",
25
+ "@crystaldesign/mass-configurator": "26.13.0-beta.20",
26
+ "@crystaldesign/media-upload": "26.13.0-beta.20",
27
+ "@crystaldesign/rtf-editor": "26.13.0-beta.20",
28
+ "@crystaldesign/spreadsheet": "26.13.0-beta.20",
29
29
  "@dnd-kit/core": "^6.1.0",
30
30
  "@dnd-kit/sortable": "^8.0.0",
31
31
  "@dnd-kit/utilities": "^3.2.2",
@@ -63,5 +63,5 @@
63
63
  "suiteName": "diva-backoffice",
64
64
  "outputDirectory": "./test-reports"
65
65
  },
66
- "gitHead": "379ad0fe1fc5cdcb56eb85ec2a48d14c3788b19b"
66
+ "gitHead": "c2ccbc73d9da6d31fffaa527bfc490f3d2d57d01"
67
67
  }