@crystaldesign/diva-backoffice 25.14.0-beta.1 → 25.14.0-beta.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.
package/build/esm/index.js
CHANGED
|
@@ -40594,7 +40594,7 @@ function Features(_ref) {
|
|
|
40594
40594
|
headerName: 'backoffice.idmCatalog.features.label.featureNo',
|
|
40595
40595
|
required: true,
|
|
40596
40596
|
unique: true
|
|
40597
|
-
}, createTranslatedColumnConfig('featureText', 'backoffice.idmCatalog.features.label.featureText', ['DE', 'EN'], true), {
|
|
40597
|
+
}, createTranslatedColumnConfig('featureText', 'backoffice.idmCatalog.features.label.featureText', ['DE', 'EN', 'FR', 'IT'], true), {
|
|
40598
40598
|
field: 'sequenceNo',
|
|
40599
40599
|
headerName: 'backoffice.idmCatalog.features.label.sequenceNo',
|
|
40600
40600
|
required: true,
|
|
@@ -43543,9 +43543,9 @@ function CollectionMembers(_ref) {
|
|
|
43543
43543
|
var collection = _ref.collection,
|
|
43544
43544
|
organizationId = _ref.organizationId,
|
|
43545
43545
|
apiConfig = _ref.apiConfig;
|
|
43546
|
-
var _useTranslation = useTranslation()
|
|
43547
|
-
|
|
43548
|
-
i18n = _useTranslation.i18n;
|
|
43546
|
+
var _useTranslation = useTranslation();
|
|
43547
|
+
_useTranslation.t;
|
|
43548
|
+
var i18n = _useTranslation.i18n;
|
|
43549
43549
|
var applicationData = useMemo(function () {
|
|
43550
43550
|
return {
|
|
43551
43551
|
organizationId: organizationId,
|
|
@@ -43586,28 +43586,24 @@ function CollectionMembers(_ref) {
|
|
|
43586
43586
|
lookupKey: '_id',
|
|
43587
43587
|
multiple: false,
|
|
43588
43588
|
translated: false,
|
|
43589
|
-
//add it to the row context, so it can be used
|
|
43589
|
+
//add it to the row context, so it can be used for filtering but will not be saved to the server
|
|
43590
43590
|
additionalMappings: [{
|
|
43591
43591
|
lookupField: 'published',
|
|
43592
43592
|
targetField: '__diva_context.additionalData.published'
|
|
43593
|
-
}]
|
|
43593
|
+
}],
|
|
43594
|
+
filter: function filter(_, lookupData) {
|
|
43595
|
+
var _lookupData$published;
|
|
43596
|
+
return (_lookupData$published = lookupData.published) === null || _lookupData$published === void 0 ? void 0 : _lookupData$published[organizationId];
|
|
43597
|
+
}
|
|
43594
43598
|
},
|
|
43595
43599
|
additionalFields: ['enricherPackageName'],
|
|
43596
|
-
isDictionary: false
|
|
43597
|
-
cellValueValidator: function cellValueValidator(_ref2) {
|
|
43598
|
-
var _data$__diva_context;
|
|
43599
|
-
var data = _ref2.data;
|
|
43600
|
-
if (!((_data$__diva_context = data.__diva_context) !== null && _data$__diva_context !== void 0 && (_data$__diva_context = _data$__diva_context.additionalData) !== null && _data$__diva_context !== void 0 && (_data$__diva_context = _data$__diva_context.published) !== null && _data$__diva_context !== void 0 && _data$__diva_context[organizationId])) {
|
|
43601
|
-
return t('backoffice.idmCatalogEditor.collection.enricherPackage.notPublishedError');
|
|
43602
|
-
}
|
|
43603
|
-
return undefined;
|
|
43604
|
-
}
|
|
43600
|
+
isDictionary: false
|
|
43605
43601
|
}, {
|
|
43606
43602
|
field: 'serieNos',
|
|
43607
43603
|
headerName: 'backoffice.idmCatalogEditor.collectionmembers.label.serieNos',
|
|
43608
43604
|
cellDataType: 'lookup',
|
|
43609
|
-
editable: function editable(
|
|
43610
|
-
var data =
|
|
43605
|
+
editable: function editable(_ref2) {
|
|
43606
|
+
var data = _ref2.data;
|
|
43611
43607
|
return data.enricherPackageId;
|
|
43612
43608
|
},
|
|
43613
43609
|
customParams: {
|
|
@@ -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,
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "25.14.0-beta.
|
|
3
|
+
"version": "25.14.0-beta.3",
|
|
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.
|
|
19
|
-
"@crystaldesign/content-item": "25.14.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "25.14.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "25.14.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "25.14.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "25.14.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "25.14.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "25.14.0-beta.3",
|
|
19
|
+
"@crystaldesign/content-item": "25.14.0-beta.3",
|
|
20
|
+
"@crystaldesign/diva-core": "25.14.0-beta.3",
|
|
21
|
+
"@crystaldesign/diva-utils": "25.14.0-beta.3",
|
|
22
|
+
"@crystaldesign/media-upload": "25.14.0-beta.3",
|
|
23
|
+
"@crystaldesign/rtf-editor": "25.14.0-beta.3",
|
|
24
|
+
"@crystaldesign/spreadsheet": "25.14.0-beta.3",
|
|
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": "
|
|
54
|
+
"gitHead": "ca2ef2a9e7b81f5e670f48fae04b41582c2fec9f"
|
|
55
55
|
}
|