@crystaldesign/diva-backoffice 26.11.0-beta.19 → 26.11.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.
package/build/esm/index.js
CHANGED
|
@@ -54953,6 +54953,28 @@ function Content$7() {
|
|
|
54953
54953
|
});
|
|
54954
54954
|
}
|
|
54955
54955
|
|
|
54956
|
+
/**
|
|
54957
|
+
* The enrichment views a property can be offered on - the PropertyEntityType names the enricher service filters the
|
|
54958
|
+
* "add property" picker by. A definition naming NONE is offered on all of them, which is what every definition
|
|
54959
|
+
* written before this field looks like.
|
|
54960
|
+
*/
|
|
54961
|
+
var ENTITY_TYPES = [{
|
|
54962
|
+
value: 'Serie',
|
|
54963
|
+
label: 'backoffice.idmPropertyDefinitions.entityType.serie',
|
|
54964
|
+
fallback: 'Serie'
|
|
54965
|
+
}, {
|
|
54966
|
+
value: 'Item',
|
|
54967
|
+
label: 'backoffice.idmPropertyDefinitions.entityType.item',
|
|
54968
|
+
fallback: 'Artikel'
|
|
54969
|
+
}, {
|
|
54970
|
+
value: 'Feature',
|
|
54971
|
+
label: 'backoffice.idmPropertyDefinitions.entityType.feature',
|
|
54972
|
+
fallback: 'Variante'
|
|
54973
|
+
}, {
|
|
54974
|
+
value: 'Option',
|
|
54975
|
+
label: 'backoffice.idmPropertyDefinitions.entityType.option',
|
|
54976
|
+
fallback: 'Option'
|
|
54977
|
+
}];
|
|
54956
54978
|
function TablePropertyDefinitions () {
|
|
54957
54979
|
var root = useStore();
|
|
54958
54980
|
var _useTranslation = useTranslation(),
|
|
@@ -55019,6 +55041,25 @@ function TablePropertyDefinitions () {
|
|
|
55019
55041
|
headerName: 'backoffice.idmPropertyDefinitions.label.codexKey',
|
|
55020
55042
|
field: 'codexKey',
|
|
55021
55043
|
editable: true
|
|
55044
|
+
}, {
|
|
55045
|
+
headerName: 'backoffice.idmPropertyDefinitions.label.entityTypes',
|
|
55046
|
+
field: 'entityTypes',
|
|
55047
|
+
cellDataType: 'enum',
|
|
55048
|
+
editable: true,
|
|
55049
|
+
customParams: {
|
|
55050
|
+
enumData: ENTITY_TYPES.map(function (_ref) {
|
|
55051
|
+
var value = _ref.value,
|
|
55052
|
+
label = _ref.label,
|
|
55053
|
+
fallback = _ref.fallback;
|
|
55054
|
+
return {
|
|
55055
|
+
value: value,
|
|
55056
|
+
name: t(label, {
|
|
55057
|
+
defaultValue: fallback
|
|
55058
|
+
})
|
|
55059
|
+
};
|
|
55060
|
+
}),
|
|
55061
|
+
multiple: true
|
|
55062
|
+
}
|
|
55022
55063
|
}, {
|
|
55023
55064
|
headerName: 'backoffice.idmEnricher.general.label.lastUpdatedDate',
|
|
55024
55065
|
field: 'lastUpdatedDate',
|
|
@@ -55051,7 +55092,7 @@ function TablePropertyDefinitions () {
|
|
|
55051
55092
|
defaultValue: '${organizationId}'
|
|
55052
55093
|
}]
|
|
55053
55094
|
};
|
|
55054
|
-
}, [apiInterface]);
|
|
55095
|
+
}, [apiInterface, t]);
|
|
55055
55096
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
55056
55097
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
55057
55098
|
title: t('backoffice.menu.items.label.IDMPropertyDefinitionsEditorTablePropertyDefinitions')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,MAAM,CAAC,OAAO,gCAkIb"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.11.0-beta.
|
|
3
|
+
"version": "26.11.0-beta.20",
|
|
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.1.0",
|
|
18
18
|
"@babel/runtime": "7.24.7",
|
|
19
|
-
"@crystaldesign/content-box": "26.11.0-beta.
|
|
20
|
-
"@crystaldesign/content-item": "26.11.0-beta.
|
|
21
|
-
"@crystaldesign/diva-agent": "26.11.0-beta.
|
|
22
|
-
"@crystaldesign/diva-core": "26.11.0-beta.
|
|
23
|
-
"@crystaldesign/diva-utils": "26.11.0-beta.
|
|
24
|
-
"@crystaldesign/media-upload": "26.11.0-beta.
|
|
25
|
-
"@crystaldesign/rtf-editor": "26.11.0-beta.
|
|
26
|
-
"@crystaldesign/spreadsheet": "26.11.0-beta.
|
|
19
|
+
"@crystaldesign/content-box": "26.11.0-beta.20",
|
|
20
|
+
"@crystaldesign/content-item": "26.11.0-beta.20",
|
|
21
|
+
"@crystaldesign/diva-agent": "26.11.0-beta.20",
|
|
22
|
+
"@crystaldesign/diva-core": "26.11.0-beta.20",
|
|
23
|
+
"@crystaldesign/diva-utils": "26.11.0-beta.20",
|
|
24
|
+
"@crystaldesign/media-upload": "26.11.0-beta.20",
|
|
25
|
+
"@crystaldesign/rtf-editor": "26.11.0-beta.20",
|
|
26
|
+
"@crystaldesign/spreadsheet": "26.11.0-beta.20",
|
|
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": "
|
|
60
|
+
"gitHead": "4aa89cfcd9373e2320c54ea136f3c93970ed2b24"
|
|
61
61
|
}
|