@crystaldesign/diva-backoffice 25.14.0-beta.7 → 25.14.0-beta.9

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.
@@ -33956,18 +33956,26 @@ var TableProperties = observer(function () {
33956
33956
  additionalFields: ['featureNosDisplayTexts'],
33957
33957
  isDictionary: true
33958
33958
  }, {
33959
- field: 'optionKeys',
33959
+ field: 'optionIds',
33960
33960
  headerName: 'backoffice.idmEnricher.renaming.label.optionKeys',
33961
33961
  cellDataType: 'lookup',
33962
33962
  editable: !viewOnly,
33963
33963
  customParams: {
33964
33964
  nameField: 'optionKeysDisplayTexts',
33965
- displayLabelTemplate: '${name} (${value})',
33965
+ displayLabelTemplate: '${name} (${optionKeys}) in Features: ${optionFeatureNos}',
33966
+ lookupLabelTemplate: '${name} (${optionKey}) in Features: ${featureNos}',
33966
33967
  apiInterface: {
33967
33968
  read: apiConfig.enricherService + '/packages/${packageId}/lookup/options'
33968
33969
  },
33969
33970
  lookupValue: 'optionText',
33970
- lookupKey: 'optionKey',
33971
+ lookupKey: '_id',
33972
+ additionalMappings: [{
33973
+ lookupField: 'optionKey',
33974
+ targetField: 'optionKeys'
33975
+ }, {
33976
+ lookupField: 'featureNos',
33977
+ targetField: 'optionFeatureNos'
33978
+ }],
33971
33979
  multiple: true,
33972
33980
  translated: true,
33973
33981
  filter: {
@@ -33977,7 +33985,7 @@ var TableProperties = observer(function () {
33977
33985
  filter: '${featureNos}'
33978
33986
  }
33979
33987
  },
33980
- additionalFields: ['optionKeysDisplayTexts'],
33988
+ additionalFields: ['optionKeysDisplayTexts', 'optionKeys', 'optionFeatureNos'],
33981
33989
  isDictionary: true
33982
33990
  }, createTranslatedColumnConfig('name', 'backoffice.idmEnricher.properties.label.name', selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds, true), createTranslatedColumnConfig('value', 'backoffice.idmEnricher.properties.label.value', selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds, true), {
33983
33991
  field: 'serieNos',
@@ -43350,7 +43358,8 @@ function Items(_ref) {
43350
43358
  create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/optiongroups/${selectedOptionGroup}/options',
43351
43359
  restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/optiongroups/${selectedOptionGroup}/options/${optionKey}',
43352
43360
  "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/optiongroups/${selectedOptionGroup}/options/${optionKey}',
43353
- update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/optiongroups/${selectedOptionGroup}/options/${optionKey}'
43361
+ update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/optiongroups/${selectedOptionGroup}/options/${optionKey}',
43362
+ bulk: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/optiongroups/${selectedOptionGroup}/options/bulk'
43354
43363
  },
43355
43364
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
43356
43365
  floatingFilter: true,
@@ -43617,15 +43626,16 @@ function CollectionMembers(_ref) {
43617
43626
  headerName: 'backoffice.idmCatalogEditor.collectionmembers.label.serieNos',
43618
43627
  cellDataType: 'lookup',
43619
43628
  editable: function editable(_ref2) {
43620
- var data = _ref2.data;
43621
- return data.enricherPackageId;
43629
+ var data = _ref2.data,
43630
+ context = _ref2.context;
43631
+ return (context === null || context === void 0 ? void 0 : context.isPasting) || !!data.enricherPackageId;
43622
43632
  },
43623
43633
  customParams: {
43624
43634
  nameField: 'serieNosDisplayTexts',
43625
43635
  filterCellType: 'number',
43626
43636
  displayLabelTemplate: '${name} (${value})',
43627
43637
  apiInterface: {
43628
- read: apiConfig.enricherService + '/packages/${enricherPackageId}/lookup/series'
43638
+ read: apiConfig.enricherService + '/live/v3.0/catalogs/${__diva_context.additionalData.published.' + organizationId + '.liveCatalogId}/series'
43629
43639
  },
43630
43640
  lookupValue: 'seriesName',
43631
43641
  lookupKey: 'serieNo',
@@ -1 +1 @@
1
- {"version":3,"file":"OptionGroupOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,cAAc,EACd,eAAe,EACf,SAAS,EACT,mBAAmB,GACpB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;CACtB,qBA+DA"}
1
+ {"version":3,"file":"OptionGroupOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,cAAc,EACd,eAAe,EACf,SAAS,EACT,mBAAmB,GACpB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;CACtB,qBAgEA"}
@@ -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;AAEjF,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,GACV,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;CACnC,qBA0FA"}
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;AAEjF,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,GACV,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;CACnC,qBA8FA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC,eAAO,MAAM,eAAe;;CAyL1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC,eAAO,MAAM,eAAe;;CA8L1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.14.0-beta.7",
3
+ "version": "25.14.0-beta.9",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "25.14.0-beta.7",
19
- "@crystaldesign/content-item": "25.14.0-beta.7",
20
- "@crystaldesign/diva-core": "25.14.0-beta.7",
21
- "@crystaldesign/diva-utils": "25.14.0-beta.7",
22
- "@crystaldesign/media-upload": "25.14.0-beta.7",
23
- "@crystaldesign/rtf-editor": "25.14.0-beta.7",
24
- "@crystaldesign/spreadsheet": "25.14.0-beta.7",
18
+ "@crystaldesign/content-box": "25.14.0-beta.9",
19
+ "@crystaldesign/content-item": "25.14.0-beta.9",
20
+ "@crystaldesign/diva-core": "25.14.0-beta.9",
21
+ "@crystaldesign/diva-utils": "25.14.0-beta.9",
22
+ "@crystaldesign/media-upload": "25.14.0-beta.9",
23
+ "@crystaldesign/rtf-editor": "25.14.0-beta.9",
24
+ "@crystaldesign/spreadsheet": "25.14.0-beta.9",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "693e7181b643ed9a07460e500ef7cf23d561531c"
54
+ "gitHead": "34d4cd29985a4dab384defb5742a18443939f18d"
55
55
  }