@crystaldesign/diva-backoffice 24.13.0-beta.4 → 24.13.0-beta.6
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
|
@@ -7809,6 +7809,25 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
7809
7809
|
hidden: function hidden(data) {
|
|
7810
7810
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
|
7811
7811
|
}
|
|
7812
|
+
}, {
|
|
7813
|
+
name: ['settings', 'automaticVersioning'],
|
|
7814
|
+
label: t('backoffice.form.organizationdetails.items.automaticversioning'),
|
|
7815
|
+
permission: 'backoffice_admin_organizations',
|
|
7816
|
+
hidden: function hidden(data) {
|
|
7817
|
+
return (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'ASSOCIATION';
|
|
7818
|
+
},
|
|
7819
|
+
type: 'radio',
|
|
7820
|
+
optionType: 'button',
|
|
7821
|
+
options: [{
|
|
7822
|
+
label: t('backoffice.form.organizationdetails.items.na'),
|
|
7823
|
+
value: undefined
|
|
7824
|
+
}, {
|
|
7825
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
7826
|
+
value: true
|
|
7827
|
+
}, {
|
|
7828
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
7829
|
+
value: false
|
|
7830
|
+
}]
|
|
7812
7831
|
}, {
|
|
7813
7832
|
name: ['api2Location', 'vk'],
|
|
7814
7833
|
label: t('backoffice.form.organizationdetails.items.api2Location.vk'),
|
|
@@ -29498,7 +29517,7 @@ function TablePackages () {
|
|
|
29498
29517
|
},
|
|
29499
29518
|
disabled: function disabled(_ref2) {
|
|
29500
29519
|
var selectedNodes = _ref2.selectedNodes;
|
|
29501
|
-
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId;
|
|
29520
|
+
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId || !selectedNodes[0].data.name;
|
|
29502
29521
|
}
|
|
29503
29522
|
}, {
|
|
29504
29523
|
icon: /*#__PURE__*/jsx(UploadOutlined$1, {}),
|
|
@@ -29530,7 +29549,7 @@ function TablePackages () {
|
|
|
29530
29549
|
}(),
|
|
29531
29550
|
disabled: function disabled(_ref4) {
|
|
29532
29551
|
var selectedNodes = _ref4.selectedNodes;
|
|
29533
|
-
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId;
|
|
29552
|
+
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId || !selectedNodes[0].data.name;
|
|
29534
29553
|
}
|
|
29535
29554
|
}],
|
|
29536
29555
|
configuration: {
|
|
@@ -29641,7 +29660,7 @@ function TablePackages () {
|
|
|
29641
29660
|
headerName: 'backoffice.idmEnricher.general.label._id',
|
|
29642
29661
|
field: '_id',
|
|
29643
29662
|
editable: false,
|
|
29644
|
-
cellDataType: '
|
|
29663
|
+
cellDataType: 'objectId'
|
|
29645
29664
|
}, {
|
|
29646
29665
|
field: 'organizationId',
|
|
29647
29666
|
editable: false,
|
|
@@ -29928,7 +29947,7 @@ function TableProperties () {
|
|
|
29928
29947
|
})]
|
|
29929
29948
|
})
|
|
29930
29949
|
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
29931
|
-
gridId: 'crud-
|
|
29950
|
+
gridId: 'crud-grid_properties',
|
|
29932
29951
|
applicationData: applicationData,
|
|
29933
29952
|
configuration: {
|
|
29934
29953
|
type: 'dotnetSSM',
|
|
@@ -29943,14 +29962,55 @@ function TableProperties () {
|
|
|
29943
29962
|
floatingFilter: true,
|
|
29944
29963
|
colDef: [{
|
|
29945
29964
|
field: 'key',
|
|
29946
|
-
headerName: 'backoffice.idmEnricher.properties.label.key'
|
|
29965
|
+
headerName: 'backoffice.idmEnricher.properties.label.key',
|
|
29966
|
+
required: true,
|
|
29967
|
+
pinned: true
|
|
29968
|
+
}, {
|
|
29969
|
+
field: 'featureNos',
|
|
29970
|
+
headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
|
|
29971
|
+
cellDataType: 'lookup',
|
|
29972
|
+
editable: true,
|
|
29973
|
+
customParams: {
|
|
29974
|
+
nameField: 'featureNosDisplayTexts',
|
|
29975
|
+
displayLabelTemplate: '${name} (${value})',
|
|
29976
|
+
apiInterface: {
|
|
29977
|
+
read: apiConfig.enricherService + '/packages/${packageId}/lookup/features'
|
|
29978
|
+
},
|
|
29979
|
+
lookupValue: 'featureText',
|
|
29980
|
+
lookupKey: 'featureNo',
|
|
29981
|
+
multiple: true,
|
|
29982
|
+
translated: true
|
|
29983
|
+
},
|
|
29984
|
+
additionalFields: ['featureNosDisplayTexts'],
|
|
29985
|
+
isDictionary: true,
|
|
29986
|
+
pinned: true
|
|
29987
|
+
}, {
|
|
29988
|
+
field: 'optionKeys',
|
|
29989
|
+
headerName: 'backoffice.idmEnricher.renaming.label.optionKeys',
|
|
29990
|
+
cellDataType: 'lookup',
|
|
29991
|
+
editable: true,
|
|
29992
|
+
customParams: {
|
|
29993
|
+
nameField: 'optionKeysDisplayTexts',
|
|
29994
|
+
displayLabelTemplate: '${name} (${value})',
|
|
29995
|
+
apiInterface: {
|
|
29996
|
+
read: apiConfig.enricherService + '/packages/${packageId}/lookup/options'
|
|
29997
|
+
},
|
|
29998
|
+
lookupValue: 'optionText',
|
|
29999
|
+
lookupKey: 'optionKey',
|
|
30000
|
+
multiple: true,
|
|
30001
|
+
translated: true
|
|
30002
|
+
},
|
|
30003
|
+
additionalFields: ['optionKeysDisplayTexts'],
|
|
30004
|
+
isDictionary: true,
|
|
30005
|
+
pinned: true
|
|
29947
30006
|
}, {
|
|
29948
30007
|
headerName: 'backoffice.idmEnricher.properties.label.name',
|
|
29949
30008
|
marryChildren: true,
|
|
29950
30009
|
children: [{
|
|
29951
30010
|
field: 'name.DE',
|
|
29952
30011
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
29953
|
-
isDictionary: true
|
|
30012
|
+
isDictionary: true,
|
|
30013
|
+
pinned: true
|
|
29954
30014
|
}, {
|
|
29955
30015
|
field: 'name.EN',
|
|
29956
30016
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
@@ -29970,7 +30030,8 @@ function TableProperties () {
|
|
|
29970
30030
|
children: [{
|
|
29971
30031
|
field: 'value.DE',
|
|
29972
30032
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
29973
|
-
isDictionary: true
|
|
30033
|
+
isDictionary: true,
|
|
30034
|
+
pinned: true
|
|
29974
30035
|
}, {
|
|
29975
30036
|
field: 'value.EN',
|
|
29976
30037
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
@@ -29984,42 +30045,6 @@ function TableProperties () {
|
|
|
29984
30045
|
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
29985
30046
|
isDictionary: true
|
|
29986
30047
|
}]
|
|
29987
|
-
}, {
|
|
29988
|
-
field: 'featureNos',
|
|
29989
|
-
headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
|
|
29990
|
-
cellDataType: 'lookup',
|
|
29991
|
-
editable: true,
|
|
29992
|
-
customParams: {
|
|
29993
|
-
nameField: 'featureNosDisplayTexts',
|
|
29994
|
-
displayLabelTemplate: '${name} (${value})',
|
|
29995
|
-
apiInterface: {
|
|
29996
|
-
read: apiConfig.enricherService + '/packages/${packageId}/lookup/features'
|
|
29997
|
-
},
|
|
29998
|
-
lookupValue: 'featureText',
|
|
29999
|
-
lookupKey: 'featureNo',
|
|
30000
|
-
multiple: true,
|
|
30001
|
-
translated: true
|
|
30002
|
-
},
|
|
30003
|
-
additionalFields: ['featureNosDisplayTexts'],
|
|
30004
|
-
isDictionary: true
|
|
30005
|
-
}, {
|
|
30006
|
-
field: 'optionKeys',
|
|
30007
|
-
headerName: 'backoffice.idmEnricher.renaming.label.optionKeys',
|
|
30008
|
-
cellDataType: 'lookup',
|
|
30009
|
-
editable: true,
|
|
30010
|
-
customParams: {
|
|
30011
|
-
nameField: 'optionKeysDisplayTexts',
|
|
30012
|
-
displayLabelTemplate: '${name} (${value})',
|
|
30013
|
-
apiInterface: {
|
|
30014
|
-
read: apiConfig.enricherService + '/packages/${packageId}/lookup/options'
|
|
30015
|
-
},
|
|
30016
|
-
lookupValue: 'optionText',
|
|
30017
|
-
lookupKey: 'optionKey',
|
|
30018
|
-
multiple: true,
|
|
30019
|
-
translated: true
|
|
30020
|
-
},
|
|
30021
|
-
additionalFields: ['optionKeysDisplayTexts'],
|
|
30022
|
-
isDictionary: true
|
|
30023
30048
|
}, {
|
|
30024
30049
|
field: 'serieNos',
|
|
30025
30050
|
headerName: 'backoffice.idmEnricher.renaming.label.serieNos',
|
|
@@ -30627,7 +30652,7 @@ var RenamingTable = function RenamingTable(_ref) {
|
|
|
30627
30652
|
headerName: t('backoffice.idmEnricher.general.label._id'),
|
|
30628
30653
|
field: '_id',
|
|
30629
30654
|
editable: false,
|
|
30630
|
-
cellDataType: '
|
|
30655
|
+
cellDataType: 'objectId'
|
|
30631
30656
|
}])
|
|
30632
30657
|
}
|
|
30633
30658
|
})]
|
|
@@ -31098,8 +31123,8 @@ var ExclusivityTable = function ExclusivityTable(_ref) {
|
|
|
31098
31123
|
}, {
|
|
31099
31124
|
headerName: t('backoffice.idmEnricher.general.label._id'),
|
|
31100
31125
|
field: '_id',
|
|
31101
|
-
editable:
|
|
31102
|
-
cellDataType: '
|
|
31126
|
+
editable: true,
|
|
31127
|
+
cellDataType: 'objectId'
|
|
31103
31128
|
}])
|
|
31104
31129
|
}
|
|
31105
31130
|
})]
|
|
@@ -31215,7 +31240,7 @@ function TableTabGroups () {
|
|
|
31215
31240
|
headerName: 'backoffice.idmEnricher.general.label._id',
|
|
31216
31241
|
field: '_id',
|
|
31217
31242
|
editable: false,
|
|
31218
|
-
cellDataType: '
|
|
31243
|
+
cellDataType: 'objectId'
|
|
31219
31244
|
}]
|
|
31220
31245
|
}
|
|
31221
31246
|
})]
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,MAAM,CAAC,OAAO,gCAyKb"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map
CHANGED
|
@@ -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;AAQvC,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAiOb"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.13.0-beta.
|
|
3
|
+
"version": "24.13.0-beta.6",
|
|
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": "24.13.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "24.13.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "24.13.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "24.13.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "24.13.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "24.13.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "24.13.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "24.13.0-beta.6",
|
|
19
|
+
"@crystaldesign/content-item": "24.13.0-beta.6",
|
|
20
|
+
"@crystaldesign/diva-core": "24.13.0-beta.6",
|
|
21
|
+
"@crystaldesign/diva-utils": "24.13.0-beta.6",
|
|
22
|
+
"@crystaldesign/media-upload": "24.13.0-beta.6",
|
|
23
|
+
"@crystaldesign/rtf-editor": "24.13.0-beta.6",
|
|
24
|
+
"@crystaldesign/spreadsheet": "24.13.0-beta.6",
|
|
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": "de7be2a57cc30e2e66e145400d02bd54571fbc7c"
|
|
55
55
|
}
|