@crystaldesign/diva-backoffice 24.14.0-beta.9 → 24.15.0-beta.1
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 +1126 -239
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatures/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatures/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/CatalogTable/useTableData.d.ts.map +1 -1
- package/build/types/backoffice/src/utils/ApiHandler.d.ts +1 -1
- package/build/types/backoffice/src/utils/ApiHandler.d.ts.map +1 -1
- package/package.json +11 -11
package/build/esm/index.js
CHANGED
|
@@ -844,9 +844,9 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
844
844
|
}, {
|
|
845
845
|
key: "delete",
|
|
846
846
|
value: function () {
|
|
847
|
-
var _delete2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mapping, mappingData, isApi2) {
|
|
847
|
+
var _delete2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mapping, mappingData, isApi2, sessionGuid) {
|
|
848
848
|
var _this$_rootStore3, _url, _ref6, _response$numItemsDel;
|
|
849
|
-
var jwt, url, response;
|
|
849
|
+
var jwt, url, headers, response;
|
|
850
850
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
851
851
|
while (1) switch (_context6.prev = _context6.next) {
|
|
852
852
|
case 0:
|
|
@@ -885,12 +885,13 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
885
885
|
url.searchParams.append(this._deleteIdField, id);
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
|
|
888
|
+
headers = {};
|
|
889
|
+
if (jwt) headers['Authorization'] = 'Bearer ' + jwt;
|
|
890
|
+
if (sessionGuid) headers['SessionGuid'] = sessionGuid;
|
|
891
|
+
_context6.next = 10;
|
|
889
892
|
return fetch((_url = url) === null || _url === void 0 ? void 0 : _url.toString(), {
|
|
890
893
|
method: isApi2 ? 'POST' : 'DELETE',
|
|
891
|
-
headers:
|
|
892
|
-
Authorization: 'Bearer ' + jwt
|
|
893
|
-
} : {})
|
|
894
|
+
headers: headers
|
|
894
895
|
}).then(/*#__PURE__*/function () {
|
|
895
896
|
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(r) {
|
|
896
897
|
var code, error, err;
|
|
@@ -926,7 +927,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
926
927
|
}
|
|
927
928
|
}, _callee5, null, [[1, 9]]);
|
|
928
929
|
}));
|
|
929
|
-
return function (
|
|
930
|
+
return function (_x16) {
|
|
930
931
|
return _ref5.apply(this, arguments);
|
|
931
932
|
};
|
|
932
933
|
}()).then(function (r) {
|
|
@@ -936,16 +937,16 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
936
937
|
return undefined;
|
|
937
938
|
}
|
|
938
939
|
});
|
|
939
|
-
case
|
|
940
|
+
case 10:
|
|
940
941
|
response = _context6.sent;
|
|
941
942
|
return _context6.abrupt("return", (_ref6 = (_response$numItemsDel = response === null || response === void 0 ? void 0 : response.numItemsDeleted) !== null && _response$numItemsDel !== void 0 ? _response$numItemsDel : response) !== null && _ref6 !== void 0 ? _ref6 : true);
|
|
942
|
-
case
|
|
943
|
+
case 12:
|
|
943
944
|
case "end":
|
|
944
945
|
return _context6.stop();
|
|
945
946
|
}
|
|
946
947
|
}, _callee6, this);
|
|
947
948
|
}));
|
|
948
|
-
function _delete(_x11, _x12, _x13, _x14) {
|
|
949
|
+
function _delete(_x11, _x12, _x13, _x14, _x15) {
|
|
949
950
|
return _delete2.apply(this, arguments);
|
|
950
951
|
}
|
|
951
952
|
return _delete;
|
|
@@ -984,7 +985,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
984
985
|
}
|
|
985
986
|
}, _callee7, this);
|
|
986
987
|
}));
|
|
987
|
-
function read(
|
|
988
|
+
function read(_x17, _x18, _x19) {
|
|
988
989
|
return _read.apply(this, arguments);
|
|
989
990
|
}
|
|
990
991
|
return read;
|
|
@@ -1037,7 +1038,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
1037
1038
|
}
|
|
1038
1039
|
}, _callee8, this);
|
|
1039
1040
|
}));
|
|
1040
|
-
function readList(
|
|
1041
|
+
function readList(_x20, _x21, _x22, _x23, _x24) {
|
|
1041
1042
|
return _readList.apply(this, arguments);
|
|
1042
1043
|
}
|
|
1043
1044
|
return readList;
|
|
@@ -1107,7 +1108,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
1107
1108
|
}
|
|
1108
1109
|
}, _callee9, this);
|
|
1109
1110
|
}));
|
|
1110
|
-
function readInternal(
|
|
1111
|
+
function readInternal(_x25, _x26, _x27, _x28, _x29) {
|
|
1111
1112
|
return _readInternal.apply(this, arguments);
|
|
1112
1113
|
}
|
|
1113
1114
|
return readInternal;
|
|
@@ -3718,7 +3719,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3718
3719
|
filterServerSide: true
|
|
3719
3720
|
},
|
|
3720
3721
|
create: '${api2}?function=SetMetaData',
|
|
3721
|
-
"delete": '${api2}?function=DeleteMetaData&CatalogCodex=${codex}
|
|
3722
|
+
"delete": '${api2}?function=DeleteMetaData&CatalogCodex=${codex}'
|
|
3722
3723
|
},
|
|
3723
3724
|
mapping: {
|
|
3724
3725
|
type: 'query',
|
|
@@ -3868,7 +3869,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3868
3869
|
}],
|
|
3869
3870
|
apiInterface: {
|
|
3870
3871
|
read: {
|
|
3871
|
-
list: '${api2}?function=GetBackofficePartlist&
|
|
3872
|
+
list: '${api2}?function=GetBackofficePartlist&catalogCodex=${catalogCodex}',
|
|
3872
3873
|
filterServerSide: true
|
|
3873
3874
|
},
|
|
3874
3875
|
create: '${api2}?function=SetJsonPartlist'
|
|
@@ -3878,9 +3879,6 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3878
3879
|
map: [{
|
|
3879
3880
|
sourceField: 'catalogCodex',
|
|
3880
3881
|
targetField: 'catalogCodex'
|
|
3881
|
-
}, {
|
|
3882
|
-
sourceField: 'sessionGuID',
|
|
3883
|
-
targetField: 'sessionGuID'
|
|
3884
3882
|
}, {
|
|
3885
3883
|
sourceField: 'newData',
|
|
3886
3884
|
targetField: 'newData'
|
|
@@ -8039,6 +8037,86 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
8039
8037
|
hidden: function hidden(data) {
|
|
8040
8038
|
return (data === null || data === void 0 ? void 0 : data.type) === 'ASSOCIATION' || (data === null || data === void 0 ? void 0 : data.type) === 'SUPPLIER' || (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER';
|
|
8041
8039
|
}
|
|
8040
|
+
}, {
|
|
8041
|
+
name: ['settings', 'enable3DExport'],
|
|
8042
|
+
label: t('backoffice.form.organizationdetails.items.settings.enable3DExport'),
|
|
8043
|
+
type: 'radio',
|
|
8044
|
+
optionType: 'button',
|
|
8045
|
+
options: [{
|
|
8046
|
+
label: t('backoffice.form.organizationdetails.items.vererbt'),
|
|
8047
|
+
value: undefined
|
|
8048
|
+
}, {
|
|
8049
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
8050
|
+
value: true
|
|
8051
|
+
}, {
|
|
8052
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
8053
|
+
value: false
|
|
8054
|
+
}],
|
|
8055
|
+
permission: 'backoffice_sys_admin_organizations'
|
|
8056
|
+
}, {
|
|
8057
|
+
name: ['settings', 'enableAR'],
|
|
8058
|
+
label: t('backoffice.form.organizationdetails.items.settings.enableAR'),
|
|
8059
|
+
permission: 'backoffice_sys_admin_organizations',
|
|
8060
|
+
type: 'radio',
|
|
8061
|
+
optionType: 'button',
|
|
8062
|
+
options: [{
|
|
8063
|
+
label: t('backoffice.form.organizationdetails.items.vererbt'),
|
|
8064
|
+
value: undefined
|
|
8065
|
+
}, {
|
|
8066
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
8067
|
+
value: true
|
|
8068
|
+
}, {
|
|
8069
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
8070
|
+
value: false
|
|
8071
|
+
}]
|
|
8072
|
+
}, {
|
|
8073
|
+
name: ['settings', 'enableARLeaflet'],
|
|
8074
|
+
label: t('backoffice.form.organizationdetails.items.settings.enableARLeaflet'),
|
|
8075
|
+
permission: 'backoffice_sys_admin_organizations',
|
|
8076
|
+
type: 'radio',
|
|
8077
|
+
optionType: 'button',
|
|
8078
|
+
options: [{
|
|
8079
|
+
label: t('backoffice.form.organizationdetails.items.vererbt'),
|
|
8080
|
+
value: undefined
|
|
8081
|
+
}, {
|
|
8082
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
8083
|
+
value: true
|
|
8084
|
+
}, {
|
|
8085
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
8086
|
+
value: false
|
|
8087
|
+
}]
|
|
8088
|
+
}, {
|
|
8089
|
+
name: ['settings', 'enableRTV'],
|
|
8090
|
+
label: t('backoffice.form.organizationdetails.items.settings.enableRTV'),
|
|
8091
|
+
permission: 'backoffice_sys_admin_organizations',
|
|
8092
|
+
type: 'radio',
|
|
8093
|
+
optionType: 'button',
|
|
8094
|
+
options: [{
|
|
8095
|
+
label: t('backoffice.form.organizationdetails.items.vererbt'),
|
|
8096
|
+
value: undefined
|
|
8097
|
+
}, {
|
|
8098
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
8099
|
+
value: true
|
|
8100
|
+
}, {
|
|
8101
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
8102
|
+
value: false
|
|
8103
|
+
}]
|
|
8104
|
+
}, {
|
|
8105
|
+
name: ['settings', 'forceRTV'],
|
|
8106
|
+
label: t('backoffice.form.organizationdetails.items.settings.forceRTV'),
|
|
8107
|
+
permission: 'backoffice_sys_admin_organizations',
|
|
8108
|
+
type: 'radio',
|
|
8109
|
+
optionType: 'button',
|
|
8110
|
+
options: [{
|
|
8111
|
+
label: t('backoffice.form.organizationdetails.items.vererbt'),
|
|
8112
|
+
value: undefined
|
|
8113
|
+
}, {
|
|
8114
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
8115
|
+
value: true
|
|
8116
|
+
}, {
|
|
8117
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
8118
|
+
value: false
|
|
8119
|
+
}]
|
|
8042
8120
|
}, {
|
|
8043
8121
|
name: ['settings', 'ruleDescWithoutParenthesis'],
|
|
8044
8122
|
label: t('backoffice.form.organizationdetails.items.settings.ruleDescWithoutParenthesis'),
|
|
@@ -26438,7 +26516,7 @@ function useTableData$1 (_ref) {
|
|
|
26438
26516
|
})) === null || _newData$filter === void 0 ? void 0 : _newData$filter[0];
|
|
26439
26517
|
mappingData = _objectSpread$j(_objectSpread$j({}, mappingData), state.mappingData);
|
|
26440
26518
|
_context2.next = 5;
|
|
26441
|
-
return apiHandler["delete"](id, (_configuration$delete = configuration.deleteMapping) !== null && _configuration$delete !== void 0 ? _configuration$delete : configuration.mapping, mappingData, true);
|
|
26519
|
+
return apiHandler["delete"](id, (_configuration$delete = configuration.deleteMapping) !== null && _configuration$delete !== void 0 ? _configuration$delete : configuration.mapping, mappingData, true, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid);
|
|
26442
26520
|
case 5:
|
|
26443
26521
|
deleteResult = _context2.sent;
|
|
26444
26522
|
if (deleteResult) {
|
|
@@ -26977,7 +27055,7 @@ function useTableData (_ref) {
|
|
|
26977
27055
|
genericProps: prefilter.toggle
|
|
26978
27056
|
} : undefined);
|
|
26979
27057
|
_context3.next = 14;
|
|
26980
|
-
return apiHandler.readList(parentMapping || configuration.mapping, mapping, ssf,
|
|
27058
|
+
return apiHandler.readList(parentMapping || configuration.mapping, mapping, ssf, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid, parseFilter(!(configuration !== null && configuration !== void 0 && (_configuration$filter15 = configuration.filter) !== null && _configuration$filter15 !== void 0 && (_configuration$filter15 = _configuration$filter15.toggle) !== null && _configuration$filter15 !== void 0 && _configuration$filter15.inQuery) ? (_prefilter$toggle = prefilter.toggle) !== null && _prefilter$toggle !== void 0 ? _prefilter$toggle : {} : {}, (_parseFilter = parseFilter(p.filters, undefined)) === null || _parseFilter === void 0 ? void 0 : _parseFilter.slice(1, -1)));
|
|
26981
27059
|
case 14:
|
|
26982
27060
|
data = _context3.sent;
|
|
26983
27061
|
currentUrl = apiHandler.getReadListUrl(parentMapping || configuration.mapping, mapping, ssf);
|
|
@@ -31661,45 +31739,93 @@ function TableCatalogs () {
|
|
|
31661
31739
|
organizationId = _useNavigation.organizationId,
|
|
31662
31740
|
apiConfig = _useNavigation.apiConfig,
|
|
31663
31741
|
updateNavigation = _useNavigation.updateNavigation;
|
|
31664
|
-
var
|
|
31665
|
-
|
|
31666
|
-
|
|
31667
|
-
|
|
31668
|
-
|
|
31669
|
-
|
|
31670
|
-
|
|
31671
|
-
|
|
31672
|
-
|
|
31673
|
-
|
|
31674
|
-
|
|
31675
|
-
|
|
31676
|
-
|
|
31677
|
-
|
|
31678
|
-
|
|
31679
|
-
|
|
31680
|
-
|
|
31681
|
-
|
|
31682
|
-
|
|
31683
|
-
|
|
31684
|
-
|
|
31685
|
-
|
|
31686
|
-
|
|
31687
|
-
|
|
31688
|
-
}
|
|
31689
|
-
|
|
31690
|
-
|
|
31691
|
-
|
|
31692
|
-
|
|
31693
|
-
|
|
31694
|
-
|
|
31695
|
-
|
|
31696
|
-
|
|
31697
|
-
|
|
31698
|
-
|
|
31699
|
-
|
|
31700
|
-
|
|
31701
|
-
|
|
31702
|
-
|
|
31742
|
+
var format = [{
|
|
31743
|
+
name: t('backoffice.idmCatalogEditor.items.label.arbeitsplattenhersteller'),
|
|
31744
|
+
value: 'A'
|
|
31745
|
+
}, {
|
|
31746
|
+
name: t('backoffice.idmCatalogEditor.items.label.badmoebelhersteller'),
|
|
31747
|
+
value: 'B'
|
|
31748
|
+
}, {
|
|
31749
|
+
name: t('backoffice.idmCatalogEditor.items.label.geraetehersteller'),
|
|
31750
|
+
value: 'G'
|
|
31751
|
+
}, {
|
|
31752
|
+
name: t('backoffice.idmCatalogEditor.items.label.kuechenmöbelhersteller'),
|
|
31753
|
+
value: 'K'
|
|
31754
|
+
}, {
|
|
31755
|
+
name: t('backoffice.idmCatalogEditor.items.label.bueromoebelhersteller'),
|
|
31756
|
+
value: 'O'
|
|
31757
|
+
}, {
|
|
31758
|
+
name: t('backoffice.idmCatalogEditor.items.label.polstermoebelhersteller'),
|
|
31759
|
+
value: 'P'
|
|
31760
|
+
}, {
|
|
31761
|
+
name: t('backoffice.idmCatalogEditor.items.label.sanitaerhersteller'),
|
|
31762
|
+
value: 'S'
|
|
31763
|
+
}, {
|
|
31764
|
+
name: t('backoffice.idmCatalogEditor.items.label.wohnmoebelhersteller'),
|
|
31765
|
+
value: 'W'
|
|
31766
|
+
}, {
|
|
31767
|
+
name: t('backoffice.idmCatalogEditor.items.label.zubehoerhersteller'),
|
|
31768
|
+
value: 'Z'
|
|
31769
|
+
}];
|
|
31770
|
+
var catalogMark = [{
|
|
31771
|
+
name: t('backoffice.idmCatalog.general.label.cm.K'),
|
|
31772
|
+
value: 'K'
|
|
31773
|
+
}, {
|
|
31774
|
+
name: t('backoffice.idmCatalog.general.label.cm.B'),
|
|
31775
|
+
value: 'B'
|
|
31776
|
+
}, {
|
|
31777
|
+
name: t('backoffice.idmCatalog.general.label.cm.V'),
|
|
31778
|
+
value: 'V'
|
|
31779
|
+
}, {
|
|
31780
|
+
name: t('backoffice.idmCatalog.general.label.cm.F'),
|
|
31781
|
+
value: 'F'
|
|
31782
|
+
}];
|
|
31783
|
+
var formOfAddress = [{
|
|
31784
|
+
name: t('backoffice.idmCatalog.general.label.foa.f1'),
|
|
31785
|
+
value: 1
|
|
31786
|
+
}, {
|
|
31787
|
+
name: t('backoffice.idmCatalog.general.label.foa.f2'),
|
|
31788
|
+
value: 2
|
|
31789
|
+
}];
|
|
31790
|
+
var priceDependent = [{
|
|
31791
|
+
name: t('backoffice.idmCatalog.general.label.priceDependent.p0'),
|
|
31792
|
+
value: false
|
|
31793
|
+
}, {
|
|
31794
|
+
name: t('backoffice.idmCatalog.general.label.priceDependent.p1'),
|
|
31795
|
+
value: true
|
|
31796
|
+
}];
|
|
31797
|
+
var unit = [{
|
|
31798
|
+
name: t('backoffice.idmCatalog.general.label.unit.u0'),
|
|
31799
|
+
value: 0
|
|
31800
|
+
}, {
|
|
31801
|
+
name: t('backoffice.idmCatalog.general.label.unit.u1'),
|
|
31802
|
+
value: 1
|
|
31803
|
+
}, {
|
|
31804
|
+
name: t('backoffice.idmCatalog.general.label.unit.u10'),
|
|
31805
|
+
value: 10
|
|
31806
|
+
}, {
|
|
31807
|
+
name: t('backoffice.idmCatalog.general.label.unit.u100'),
|
|
31808
|
+
value: 100
|
|
31809
|
+
}, {
|
|
31810
|
+
name: t('backoffice.idmCatalog.general.label.unit.u1000'),
|
|
31811
|
+
value: 1000
|
|
31812
|
+
}, {
|
|
31813
|
+
name: t('backoffice.idmCatalog.general.label.unit.1u000000'),
|
|
31814
|
+
value: 1000000
|
|
31815
|
+
}, {
|
|
31816
|
+
name: t('backoffice.idmCatalog.general.label.unit.u1000000000'),
|
|
31817
|
+
value: 1000000000
|
|
31818
|
+
}];
|
|
31819
|
+
var roundingType = [{
|
|
31820
|
+
name: t('backoffice.idmCatalog.general.label.roundingType.r1'),
|
|
31821
|
+
value: 1
|
|
31822
|
+
}, {
|
|
31823
|
+
name: t('backoffice.idmCatalog.general.label.roundingType.r2'),
|
|
31824
|
+
value: 2
|
|
31825
|
+
}, {
|
|
31826
|
+
name: t('backoffice.idmCatalog.general.label.roundingType.r3'),
|
|
31827
|
+
value: 3
|
|
31828
|
+
}];
|
|
31703
31829
|
var applicationData = useMemo(function () {
|
|
31704
31830
|
return {
|
|
31705
31831
|
organizationId: organizationId
|
|
@@ -31746,15 +31872,6 @@ function TableCatalogs () {
|
|
|
31746
31872
|
field: 'size',
|
|
31747
31873
|
cellDataType: 'number',
|
|
31748
31874
|
editable: false
|
|
31749
|
-
}, {
|
|
31750
|
-
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
31751
|
-
field: '_id',
|
|
31752
|
-
editable: false,
|
|
31753
|
-
cellDataType: 'id'
|
|
31754
|
-
}, {
|
|
31755
|
-
headerName: 'backoffice.idmCatalog.general.label.hash',
|
|
31756
|
-
field: 'hash',
|
|
31757
|
-
editable: false
|
|
31758
31875
|
}, {
|
|
31759
31876
|
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
31760
31877
|
field: 'lastUpdatedDate',
|
|
@@ -31776,58 +31893,20 @@ function TableCatalogs () {
|
|
|
31776
31893
|
}, {
|
|
31777
31894
|
headerName: 'backoffice.idmCatalog.general.label.comment',
|
|
31778
31895
|
field: 'comment'
|
|
31779
|
-
}, {
|
|
31780
|
-
headerName: 'backoffice.idmCatalog.general.label.version',
|
|
31781
|
-
children: [{
|
|
31782
|
-
headerName: 'backoffice.idmCatalog.general.label.major',
|
|
31783
|
-
field: 'major',
|
|
31784
|
-
cellDataType: 'number',
|
|
31785
|
-
editable: false
|
|
31786
|
-
}, {
|
|
31787
|
-
headerName: 'backoffice.idmCatalog.general.label.minor',
|
|
31788
|
-
field: 'minor',
|
|
31789
|
-
cellDataType: 'number',
|
|
31790
|
-
editable: false
|
|
31791
|
-
}, {
|
|
31792
|
-
headerName: 'backoffice.idmCatalog.general.label.revision',
|
|
31793
|
-
field: 'revision',
|
|
31794
|
-
cellDataType: 'number',
|
|
31795
|
-
editable: false
|
|
31796
|
-
}, {
|
|
31797
|
-
headerName: 'backoffice.idmCatalog.general.label.format',
|
|
31798
|
-
field: 'format',
|
|
31799
|
-
cellDataType: 'enum',
|
|
31800
|
-
customParams: {
|
|
31801
|
-
displayTexts: formatDic,
|
|
31802
|
-
values: Object.keys(formatDic),
|
|
31803
|
-
displayLabelTemplate: '${name} (${value})'
|
|
31804
|
-
}
|
|
31805
|
-
}]
|
|
31806
31896
|
}, {
|
|
31807
31897
|
headerName: 'backoffice.idmCatalog.general.label.catalog',
|
|
31808
31898
|
children: [{
|
|
31809
|
-
field: 'isoLanguageIds',
|
|
31810
|
-
headerName: 'backoffice.idmCatalog.general.label.isoLanguageIds',
|
|
31811
|
-
cellDataType: 'enum',
|
|
31812
|
-
editable: true,
|
|
31813
|
-
required: true,
|
|
31814
|
-
customParams: {
|
|
31815
|
-
values: ['DE', 'EN', 'FR', 'IT'],
|
|
31816
|
-
multiSelect: true
|
|
31817
|
-
}
|
|
31818
|
-
}, {
|
|
31819
|
-
headerName: 'backoffice.idmCatalog.general.label.currencyKey',
|
|
31820
|
-
field: 'currencyKey'
|
|
31821
|
-
}, {
|
|
31822
31899
|
headerName: 'backoffice.idmCatalog.general.label.catalogNumber',
|
|
31823
|
-
field: 'catalogNumber'
|
|
31900
|
+
field: 'catalogNumber',
|
|
31901
|
+
required: true
|
|
31824
31902
|
}, {
|
|
31825
31903
|
headerName: 'backoffice.idmCatalog.general.label.catalogName',
|
|
31826
31904
|
marryChildren: true,
|
|
31827
31905
|
children: [{
|
|
31828
31906
|
field: 'catalogName.DE',
|
|
31829
31907
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
31830
|
-
isDictionary: true
|
|
31908
|
+
isDictionary: true,
|
|
31909
|
+
required: true
|
|
31831
31910
|
}, {
|
|
31832
31911
|
field: 'catalogName.EN',
|
|
31833
31912
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
@@ -31844,24 +31923,45 @@ function TableCatalogs () {
|
|
|
31844
31923
|
}, {
|
|
31845
31924
|
headerName: 'backoffice.idmCatalog.general.label.validFromDate',
|
|
31846
31925
|
field: 'validFromDate',
|
|
31847
|
-
cellDataType: 'dateString'
|
|
31926
|
+
cellDataType: 'dateString',
|
|
31927
|
+
required: true
|
|
31848
31928
|
}, {
|
|
31849
31929
|
headerName: 'backoffice.idmCatalog.general.label.validUntilDate',
|
|
31850
31930
|
field: 'validUntilDate',
|
|
31851
|
-
cellDataType: 'dateString'
|
|
31931
|
+
cellDataType: 'dateString',
|
|
31932
|
+
required: true
|
|
31933
|
+
}, {
|
|
31934
|
+
field: 'isoLanguageIds',
|
|
31935
|
+
headerName: 'backoffice.idmCatalog.general.label.isoLanguageIds',
|
|
31936
|
+
cellDataType: 'enum',
|
|
31937
|
+
editable: true,
|
|
31938
|
+
required: true,
|
|
31939
|
+
customParams: {
|
|
31940
|
+
enumData: ['DE', 'EN', 'FR', 'IT'],
|
|
31941
|
+
multiple: true
|
|
31942
|
+
},
|
|
31943
|
+
defaultValue: ['DE']
|
|
31944
|
+
}, {
|
|
31945
|
+
headerName: 'backoffice.idmCatalog.general.label.currencyKey',
|
|
31946
|
+
field: 'currencyKey',
|
|
31947
|
+
required: true,
|
|
31948
|
+
defaultValue: 'EUR'
|
|
31852
31949
|
}, {
|
|
31853
31950
|
headerName: 'backoffice.idmCatalog.general.label.fileId',
|
|
31854
31951
|
field: 'fileId',
|
|
31855
|
-
cellDataType: 'boolean'
|
|
31952
|
+
cellDataType: 'boolean',
|
|
31953
|
+
defaultValue: true,
|
|
31954
|
+
required: true
|
|
31856
31955
|
}, {
|
|
31857
31956
|
headerName: 'backoffice.idmCatalog.general.label.catalogMark',
|
|
31858
31957
|
field: 'catalogMark',
|
|
31859
31958
|
cellDataType: 'enum',
|
|
31860
31959
|
customParams: {
|
|
31861
|
-
|
|
31862
|
-
values: Object.keys(catalogMarkDic),
|
|
31960
|
+
enumData: catalogMark,
|
|
31863
31961
|
displayLabelTemplate: '${name} (${value})'
|
|
31864
|
-
}
|
|
31962
|
+
},
|
|
31963
|
+
required: true,
|
|
31964
|
+
defaultValue: 'K'
|
|
31865
31965
|
}, {
|
|
31866
31966
|
headerName: 'backoffice.idmCatalog.general.label.catalogMergeType',
|
|
31867
31967
|
field: 'catalogMergeType',
|
|
@@ -31892,103 +31992,139 @@ function TableCatalogs () {
|
|
|
31892
31992
|
}]
|
|
31893
31993
|
}, {
|
|
31894
31994
|
headerName: 'backoffice.idmCatalog.general.label.fallbackLanguage',
|
|
31895
|
-
field: 'fallbackLanguage'
|
|
31995
|
+
field: 'fallbackLanguage',
|
|
31996
|
+
cellDataType: 'enum',
|
|
31997
|
+
editable: true,
|
|
31998
|
+
required: true,
|
|
31999
|
+
customParams: {
|
|
32000
|
+
enumData: ['DE', 'EN', 'FR', 'IT'],
|
|
32001
|
+
multiple: true
|
|
32002
|
+
},
|
|
32003
|
+
defaultValue: 'DE'
|
|
31896
32004
|
}]
|
|
31897
32005
|
}, {
|
|
31898
32006
|
headerName: 'backoffice.idmCatalog.general.label.identity',
|
|
31899
32007
|
children: [{
|
|
31900
32008
|
headerName: 'backoffice.idmCatalog.general.label.dataVersion',
|
|
31901
32009
|
field: 'dataVersion',
|
|
31902
|
-
cellDataType: 'dateString'
|
|
32010
|
+
cellDataType: 'dateString',
|
|
32011
|
+
required: true
|
|
31903
32012
|
}, {
|
|
31904
32013
|
field: 'catalogId',
|
|
31905
32014
|
headerName: 'backoffice.idmCatalog.general.label.catalogId',
|
|
31906
|
-
required: true
|
|
32015
|
+
required: true,
|
|
32016
|
+
defaultValue: v4()
|
|
31907
32017
|
}, {
|
|
31908
32018
|
field: 'catalogVersion',
|
|
31909
32019
|
headerName: 'backoffice.idmCatalog.general.label.catalogVersion',
|
|
31910
|
-
cellDataType: 'number'
|
|
32020
|
+
cellDataType: 'number',
|
|
32021
|
+
defaultValue: 1,
|
|
32022
|
+
required: true
|
|
31911
32023
|
}]
|
|
31912
32024
|
}, {
|
|
31913
32025
|
headerName: 'backoffice.idmCatalog.general.label.supplier',
|
|
31914
32026
|
children: [{
|
|
31915
32027
|
headerName: 'backoffice.idmCatalog.general.label.isoCountryId',
|
|
31916
|
-
field: 'isoCountryId'
|
|
32028
|
+
field: 'isoCountryId',
|
|
32029
|
+
required: true,
|
|
32030
|
+
defaultValue: 'DE'
|
|
31917
32031
|
}, {
|
|
31918
32032
|
field: 'glnNo',
|
|
31919
|
-
headerName: 'backoffice.idmCatalog.general.label.glnNo'
|
|
32033
|
+
headerName: 'backoffice.idmCatalog.general.label.glnNo',
|
|
32034
|
+
cellDataType: 'number',
|
|
32035
|
+
regex: '[0-9]{13}',
|
|
32036
|
+
required: true
|
|
31920
32037
|
}, {
|
|
31921
32038
|
field: 'weeeNo',
|
|
31922
32039
|
headerName: 'backoffice.idmCatalog.general.label.weeeNo'
|
|
31923
32040
|
}, {
|
|
31924
32041
|
headerName: 'backoffice.idmCatalog.general.label.manufacturerName1',
|
|
31925
|
-
field: 'manufacturerName1'
|
|
32042
|
+
field: 'manufacturerName1',
|
|
32043
|
+
required: true
|
|
31926
32044
|
}, {
|
|
31927
32045
|
headerName: 'backoffice.idmCatalog.general.label.manufacturerName2',
|
|
31928
32046
|
field: 'manufacturerName2'
|
|
31929
32047
|
}, {
|
|
31930
32048
|
headerName: 'backoffice.idmCatalog.general.label.email',
|
|
31931
|
-
field: 'email'
|
|
32049
|
+
field: 'email',
|
|
32050
|
+
regex: "[a-zA-Z0-9._%+\\-!#$%'*/=?^_`{|}~]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}"
|
|
31932
32051
|
}, {
|
|
31933
32052
|
headerName: 'backoffice.idmCatalog.general.label.internetAddress',
|
|
31934
32053
|
field: 'internetAddress'
|
|
31935
32054
|
}, {
|
|
31936
32055
|
headerName: 'backoffice.idmCatalog.general.label.street',
|
|
31937
|
-
field: 'street'
|
|
32056
|
+
field: 'street',
|
|
32057
|
+
required: true
|
|
31938
32058
|
}, {
|
|
31939
32059
|
headerName: 'backoffice.idmCatalog.general.label.zipCodeStreet',
|
|
31940
|
-
field: 'zipCodeStreet'
|
|
32060
|
+
field: 'zipCodeStreet',
|
|
32061
|
+
required: true
|
|
31941
32062
|
}, {
|
|
31942
32063
|
headerName: 'backoffice.idmCatalog.general.label.city',
|
|
31943
|
-
field: 'city'
|
|
32064
|
+
field: 'city',
|
|
32065
|
+
required: true
|
|
31944
32066
|
}, {
|
|
31945
32067
|
headerName: 'backoffice.idmCatalog.general.label.zipCodePostBox',
|
|
31946
|
-
field: 'zipCodePostBox'
|
|
32068
|
+
field: 'zipCodePostBox',
|
|
32069
|
+
customParams: {
|
|
32070
|
+
maxLength: 8
|
|
32071
|
+
}
|
|
31947
32072
|
}, {
|
|
31948
32073
|
headerName: 'backoffice.idmCatalog.general.label.postBox',
|
|
31949
|
-
field: 'postBox'
|
|
32074
|
+
field: 'postBox',
|
|
32075
|
+
regex: '[0-9a-zA-Z]{0,10}'
|
|
31950
32076
|
}, {
|
|
31951
|
-
headerName: 'backoffice.idmCatalog.general.label.
|
|
31952
|
-
field: 'telephoneSwitchBoard'
|
|
32077
|
+
headerName: 'backoffice.idmCatalog.general.label.telephone',
|
|
32078
|
+
field: 'telephoneSwitchBoard',
|
|
32079
|
+
required: true
|
|
31953
32080
|
}, {
|
|
31954
32081
|
headerName: 'backoffice.idmCatalog.general.label.faxSwitchBoard',
|
|
31955
|
-
field: 'faxSwitchBoard'
|
|
32082
|
+
field: 'faxSwitchBoard',
|
|
32083
|
+
required: true
|
|
31956
32084
|
}]
|
|
31957
32085
|
}, {
|
|
31958
32086
|
headerName: 'backoffice.idmCatalog.general.label.contact1',
|
|
31959
32087
|
children: [{
|
|
31960
32088
|
headerName: 'backoffice.idmCatalog.general.label.contactPersonNo',
|
|
31961
|
-
field: 'contactPersonNo1'
|
|
32089
|
+
field: 'contactPersonNo1',
|
|
32090
|
+
required: true,
|
|
32091
|
+
cellDataType: 'number',
|
|
32092
|
+
defaultValue: 1
|
|
31962
32093
|
}, {
|
|
31963
32094
|
headerName: 'backoffice.idmCatalog.general.label.contactRole',
|
|
31964
|
-
field: 'contactRole1'
|
|
32095
|
+
field: 'contactRole1',
|
|
32096
|
+
required: true
|
|
31965
32097
|
}, {
|
|
31966
32098
|
headerName: 'backoffice.idmCatalog.general.label.contactName',
|
|
31967
|
-
field: 'contactName1'
|
|
32099
|
+
field: 'contactName1',
|
|
32100
|
+
required: true
|
|
31968
32101
|
}, {
|
|
31969
32102
|
headerName: 'backoffice.idmCatalog.general.label.firstName',
|
|
31970
|
-
field: 'firstName1'
|
|
32103
|
+
field: 'firstName1',
|
|
32104
|
+
required: true
|
|
31971
32105
|
}, {
|
|
31972
32106
|
headerName: 'backoffice.idmCatalog.general.label.formOfAddress',
|
|
31973
32107
|
field: 'formOfAddress1',
|
|
31974
32108
|
cellDataType: 'enum',
|
|
31975
32109
|
customParams: {
|
|
31976
|
-
|
|
31977
|
-
values: Object.keys(formOfAddressDic),
|
|
32110
|
+
enumData: formOfAddress,
|
|
31978
32111
|
displayLabelTemplate: '${name} (${value})'
|
|
31979
|
-
}
|
|
32112
|
+
},
|
|
32113
|
+
required: true
|
|
31980
32114
|
}, {
|
|
31981
32115
|
headerName: 'backoffice.idmCatalog.general.label.department',
|
|
31982
32116
|
field: 'department1'
|
|
31983
32117
|
}, {
|
|
31984
32118
|
headerName: 'backoffice.idmCatalog.general.label.telephone',
|
|
31985
|
-
field: 'telephone1'
|
|
32119
|
+
field: 'telephone1',
|
|
32120
|
+
required: true
|
|
31986
32121
|
}, {
|
|
31987
32122
|
headerName: 'backoffice.idmCatalog.general.label.fax',
|
|
31988
32123
|
field: 'fax1'
|
|
31989
32124
|
}, {
|
|
31990
32125
|
headerName: 'backoffice.idmCatalog.general.label.email',
|
|
31991
|
-
field: 'email1'
|
|
32126
|
+
field: 'email1',
|
|
32127
|
+
regex: "[a-zA-Z0-9._%+\\-!#$%'*/=?^_`{|}~]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}"
|
|
31992
32128
|
}, {
|
|
31993
32129
|
headerName: 'backoffice.idmCatalog.general.label.street',
|
|
31994
32130
|
field: 'street1'
|
|
@@ -32000,7 +32136,9 @@ function TableCatalogs () {
|
|
|
32000
32136
|
field: 'city1'
|
|
32001
32137
|
}, {
|
|
32002
32138
|
headerName: 'backoffice.idmCatalog.general.label.isoCountryId',
|
|
32003
|
-
field: 'isoCountryId1'
|
|
32139
|
+
field: 'isoCountryId1',
|
|
32140
|
+
required: true,
|
|
32141
|
+
defaultValue: 'DE'
|
|
32004
32142
|
}]
|
|
32005
32143
|
}, {
|
|
32006
32144
|
headerName: 'backoffice.idmCatalog.general.label.contact2',
|
|
@@ -32018,8 +32156,7 @@ function TableCatalogs () {
|
|
|
32018
32156
|
field: 'formOfAddress2',
|
|
32019
32157
|
cellDataType: 'enum',
|
|
32020
32158
|
customParams: {
|
|
32021
|
-
|
|
32022
|
-
values: Object.keys(formOfAddressDic),
|
|
32159
|
+
enumData: formOfAddress,
|
|
32023
32160
|
displayLabelTemplate: '${name} (${value})'
|
|
32024
32161
|
}
|
|
32025
32162
|
}, {
|
|
@@ -32033,7 +32170,8 @@ function TableCatalogs () {
|
|
|
32033
32170
|
field: 'fax2'
|
|
32034
32171
|
}, {
|
|
32035
32172
|
headerName: 'backoffice.idmCatalog.general.label.email',
|
|
32036
|
-
field: 'email2'
|
|
32173
|
+
field: 'email2',
|
|
32174
|
+
regex: "[a-zA-Z0-9._%+\\-!#$%'*/=?^_`{|}~]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}"
|
|
32037
32175
|
}, {
|
|
32038
32176
|
headerName: 'backoffice.idmCatalog.general.label.street',
|
|
32039
32177
|
field: 'street2'
|
|
@@ -32058,8 +32196,7 @@ function TableCatalogs () {
|
|
|
32058
32196
|
field: 'widthX',
|
|
32059
32197
|
cellDataType: 'enum',
|
|
32060
32198
|
customParams: {
|
|
32061
|
-
|
|
32062
|
-
values: Object.keys(priceDependentDic),
|
|
32199
|
+
enumData: priceDependent,
|
|
32063
32200
|
displayLabelTemplate: '${name} (${value})'
|
|
32064
32201
|
}
|
|
32065
32202
|
}, {
|
|
@@ -32067,8 +32204,7 @@ function TableCatalogs () {
|
|
|
32067
32204
|
field: 'depthY',
|
|
32068
32205
|
cellDataType: 'enum',
|
|
32069
32206
|
customParams: {
|
|
32070
|
-
|
|
32071
|
-
values: Object.keys(priceDependentDic),
|
|
32207
|
+
enumData: priceDependent,
|
|
32072
32208
|
displayLabelTemplate: '${name} (${value})'
|
|
32073
32209
|
}
|
|
32074
32210
|
}, {
|
|
@@ -32076,8 +32212,7 @@ function TableCatalogs () {
|
|
|
32076
32212
|
field: 'heightZ',
|
|
32077
32213
|
cellDataType: 'enum',
|
|
32078
32214
|
customParams: {
|
|
32079
|
-
|
|
32080
|
-
values: Object.keys(priceDependentDic),
|
|
32215
|
+
enumData: priceDependent,
|
|
32081
32216
|
displayLabelTemplate: '${name} (${value})'
|
|
32082
32217
|
}
|
|
32083
32218
|
}, {
|
|
@@ -32085,8 +32220,7 @@ function TableCatalogs () {
|
|
|
32085
32220
|
field: 'basicUnit',
|
|
32086
32221
|
cellDataType: 'enum',
|
|
32087
32222
|
customParams: {
|
|
32088
|
-
|
|
32089
|
-
values: Object.keys(unitDic),
|
|
32223
|
+
enumData: unit,
|
|
32090
32224
|
displayLabelTemplate: '${name} (${value})'
|
|
32091
32225
|
}
|
|
32092
32226
|
}, {
|
|
@@ -32094,8 +32228,7 @@ function TableCatalogs () {
|
|
|
32094
32228
|
field: 'roundingUnit',
|
|
32095
32229
|
cellDataType: 'enum',
|
|
32096
32230
|
customParams: {
|
|
32097
|
-
|
|
32098
|
-
values: Object.keys(unitDic),
|
|
32231
|
+
enumData: unit,
|
|
32099
32232
|
displayLabelTemplate: '${name} (${value})'
|
|
32100
32233
|
}
|
|
32101
32234
|
}, {
|
|
@@ -32103,8 +32236,7 @@ function TableCatalogs () {
|
|
|
32103
32236
|
field: 'roundingType',
|
|
32104
32237
|
cellDataType: 'enum',
|
|
32105
32238
|
customParams: {
|
|
32106
|
-
|
|
32107
|
-
values: Object.keys(roundingTypeDic),
|
|
32239
|
+
enumData: roundingType,
|
|
32108
32240
|
displayLabelTemplate: '${name} (${value})'
|
|
32109
32241
|
}
|
|
32110
32242
|
}, {
|
|
@@ -32137,12 +32269,51 @@ function TableCatalogs () {
|
|
|
32137
32269
|
}, {
|
|
32138
32270
|
headerName: 'backoffice.idmCatalog.general.label.priceTypeRules',
|
|
32139
32271
|
field: 'priceTypeRules',
|
|
32140
|
-
cellDataType: 'array'
|
|
32141
|
-
|
|
32142
|
-
|
|
32143
|
-
|
|
32144
|
-
|
|
32272
|
+
cellDataType: 'array'
|
|
32273
|
+
}]
|
|
32274
|
+
}, {
|
|
32275
|
+
headerName: 'backoffice.idmCatalog.general.label.version',
|
|
32276
|
+
children: [{
|
|
32277
|
+
headerName: 'backoffice.idmCatalog.general.label.major',
|
|
32278
|
+
field: 'major',
|
|
32279
|
+
cellDataType: 'number',
|
|
32280
|
+
editable: false,
|
|
32281
|
+
defaultValue: 3,
|
|
32282
|
+
required: true
|
|
32283
|
+
}, {
|
|
32284
|
+
headerName: 'backoffice.idmCatalog.general.label.minor',
|
|
32285
|
+
field: 'minor',
|
|
32286
|
+
cellDataType: 'number',
|
|
32287
|
+
editable: false,
|
|
32288
|
+
defaultValue: 0,
|
|
32289
|
+
required: true
|
|
32290
|
+
}, {
|
|
32291
|
+
headerName: 'backoffice.idmCatalog.general.label.revision',
|
|
32292
|
+
field: 'revision',
|
|
32293
|
+
cellDataType: 'number',
|
|
32294
|
+
editable: false,
|
|
32295
|
+
defaultValue: 0,
|
|
32296
|
+
required: true
|
|
32297
|
+
}, {
|
|
32298
|
+
headerName: 'backoffice.idmCatalog.general.label.format',
|
|
32299
|
+
field: 'format',
|
|
32300
|
+
cellDataType: 'enum',
|
|
32301
|
+
customParams: {
|
|
32302
|
+
enumData: format,
|
|
32303
|
+
displayLabelTemplate: '${name} (${value})'
|
|
32304
|
+
},
|
|
32305
|
+
required: true,
|
|
32306
|
+
defaultValue: 'P'
|
|
32145
32307
|
}]
|
|
32308
|
+
}, {
|
|
32309
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
32310
|
+
field: '_id',
|
|
32311
|
+
editable: false,
|
|
32312
|
+
cellDataType: 'id'
|
|
32313
|
+
}, {
|
|
32314
|
+
headerName: 'backoffice.idmCatalog.general.label.hash',
|
|
32315
|
+
field: 'hash',
|
|
32316
|
+
editable: false
|
|
32146
32317
|
}]
|
|
32147
32318
|
}
|
|
32148
32319
|
})]
|
|
@@ -32223,7 +32394,7 @@ function PrefilterSelector (_ref) {
|
|
|
32223
32394
|
value: '${_id}'
|
|
32224
32395
|
},
|
|
32225
32396
|
autoSelectFirst: true,
|
|
32226
|
-
title: t('backoffice.menu.items.label.
|
|
32397
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures'),
|
|
32227
32398
|
value: selectedFeature,
|
|
32228
32399
|
onChange: function onChange(value) {
|
|
32229
32400
|
return setSelectedFeature ? setSelectedFeature(value) : null;
|
|
@@ -32270,15 +32441,55 @@ function useModule (currentModules) {
|
|
|
32270
32441
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/items' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32271
32442
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableItems')
|
|
32272
32443
|
})
|
|
32273
|
-
}
|
|
32274
|
-
|
|
32275
|
-
|
|
32276
|
-
|
|
32277
|
-
|
|
32278
|
-
|
|
32279
|
-
|
|
32280
|
-
|
|
32281
|
-
|
|
32444
|
+
}, {
|
|
32445
|
+
key: 'features',
|
|
32446
|
+
style: {
|
|
32447
|
+
margin: 0
|
|
32448
|
+
},
|
|
32449
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
32450
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
32451
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/features' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32452
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures')
|
|
32453
|
+
})
|
|
32454
|
+
}, {
|
|
32455
|
+
key: 'options',
|
|
32456
|
+
style: {
|
|
32457
|
+
margin: 0
|
|
32458
|
+
},
|
|
32459
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
32460
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
32461
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/options' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32462
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions')
|
|
32463
|
+
})
|
|
32464
|
+
}, {
|
|
32465
|
+
key: 'featureclasses',
|
|
32466
|
+
style: {
|
|
32467
|
+
margin: 0
|
|
32468
|
+
},
|
|
32469
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
32470
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
32471
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/featureclasses' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32472
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses')
|
|
32473
|
+
})
|
|
32474
|
+
}, {
|
|
32475
|
+
key: 'decisions',
|
|
32476
|
+
style: {
|
|
32477
|
+
margin: 0
|
|
32478
|
+
},
|
|
32479
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
32480
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
32481
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/decisions' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32482
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTableDecisions')
|
|
32483
|
+
})
|
|
32484
|
+
}];
|
|
32485
|
+
}, [catalogId]);
|
|
32486
|
+
if (!catalogId) throw new Error('catalogId is required');
|
|
32487
|
+
var updateNavigationModule = useCallback(function (currentCatalog) {
|
|
32488
|
+
var modules = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : currentModules;
|
|
32489
|
+
updateNavigation(currentCatalog, modules, '../');
|
|
32490
|
+
}, [updateNavigation]);
|
|
32491
|
+
useEffect(function () {
|
|
32492
|
+
root.contentStore.updateAdditionalElement('catalogs', menuItems, currentModules);
|
|
32282
32493
|
}, [menuItems, location.pathname]);
|
|
32283
32494
|
|
|
32284
32495
|
//updating tools
|
|
@@ -32320,39 +32531,95 @@ function TableItems () {
|
|
|
32320
32531
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
32321
32532
|
selectedSerie = _React$useState2[0],
|
|
32322
32533
|
setSelectedSerie = _React$useState2[1];
|
|
32323
|
-
var
|
|
32324
|
-
|
|
32325
|
-
|
|
32326
|
-
|
|
32327
|
-
|
|
32328
|
-
|
|
32329
|
-
|
|
32330
|
-
|
|
32331
|
-
|
|
32332
|
-
|
|
32333
|
-
|
|
32334
|
-
|
|
32335
|
-
|
|
32336
|
-
|
|
32337
|
-
|
|
32338
|
-
|
|
32339
|
-
|
|
32340
|
-
|
|
32341
|
-
|
|
32342
|
-
|
|
32343
|
-
|
|
32344
|
-
|
|
32345
|
-
|
|
32346
|
-
|
|
32347
|
-
|
|
32348
|
-
|
|
32349
|
-
|
|
32350
|
-
|
|
32351
|
-
|
|
32352
|
-
|
|
32353
|
-
|
|
32354
|
-
|
|
32355
|
-
|
|
32534
|
+
var itemIdentification = [{
|
|
32535
|
+
name: t('backoffice.idmCatalogEditor.items.label.catalogArticle'),
|
|
32536
|
+
value: 'K'
|
|
32537
|
+
}, {
|
|
32538
|
+
name: t('backoffice.idmCatalogEditor.items.label.planningAdvice'),
|
|
32539
|
+
value: '1'
|
|
32540
|
+
}, {
|
|
32541
|
+
name: t('backoffice.idmCatalogEditor.items.label.combination'),
|
|
32542
|
+
value: '2'
|
|
32543
|
+
}];
|
|
32544
|
+
var typeKey = [{
|
|
32545
|
+
name: t('backoffice.idmCatalogEditor.items.label.sessel'),
|
|
32546
|
+
value: '1'
|
|
32547
|
+
}, {
|
|
32548
|
+
name: t('backoffice.idmCatalogEditor.items.label.clubchair'),
|
|
32549
|
+
value: '2'
|
|
32550
|
+
}, {
|
|
32551
|
+
name: t('backoffice.idmCatalogEditor.items.label.relaxSessel'),
|
|
32552
|
+
value: '3'
|
|
32553
|
+
}, {
|
|
32554
|
+
name: t('backoffice.idmCatalogEditor.items.label.longChair'),
|
|
32555
|
+
value: '4'
|
|
32556
|
+
}, {
|
|
32557
|
+
name: t('backoffice.idmCatalogEditor.items.label.sofa'),
|
|
32558
|
+
value: '5'
|
|
32559
|
+
}, {
|
|
32560
|
+
name: t('backoffice.idmCatalogEditor.items.label.zwischenlement'),
|
|
32561
|
+
value: '6'
|
|
32562
|
+
}, {
|
|
32563
|
+
name: t('backoffice.idmCatalogEditor.items.label.eckelement'),
|
|
32564
|
+
value: '7'
|
|
32565
|
+
}, {
|
|
32566
|
+
name: t('backoffice.idmCatalogEditor.items.label.einzelliege'),
|
|
32567
|
+
value: '8'
|
|
32568
|
+
}, {
|
|
32569
|
+
name: t('backoffice.idmCatalogEditor.items.label.hocker'),
|
|
32570
|
+
value: '9'
|
|
32571
|
+
}, {
|
|
32572
|
+
name: t('backoffice.idmCatalogEditor.items.label.kissen'),
|
|
32573
|
+
value: '10'
|
|
32574
|
+
}, {
|
|
32575
|
+
name: t('backoffice.idmCatalogEditor.items.label.anstelltisch'),
|
|
32576
|
+
value: '11'
|
|
32577
|
+
}, {
|
|
32578
|
+
name: t('backoffice.idmCatalogEditor.items.label.esstisch'),
|
|
32579
|
+
value: '12'
|
|
32580
|
+
}, {
|
|
32581
|
+
name: t('backoffice.idmCatalogEditor.items.label.kombinationen'),
|
|
32582
|
+
value: '13'
|
|
32583
|
+
}, {
|
|
32584
|
+
name: t('backoffice.idmCatalogEditor.items.label.abschlusselement'),
|
|
32585
|
+
value: '14'
|
|
32586
|
+
}, {
|
|
32587
|
+
name: t('backoffice.idmCatalogEditor.items.label.bettsofa'),
|
|
32588
|
+
value: '15'
|
|
32589
|
+
}, {
|
|
32590
|
+
name: t('backoffice.idmCatalogEditor.items.label.sitzbank'),
|
|
32591
|
+
value: '16'
|
|
32592
|
+
}, {
|
|
32593
|
+
name: t('backoffice.idmCatalogEditor.items.label.stuhl'),
|
|
32594
|
+
value: '17'
|
|
32595
|
+
}, {
|
|
32596
|
+
name: t('backoffice.idmCatalogEditor.items.label.fussbank'),
|
|
32597
|
+
value: '18'
|
|
32598
|
+
}, {
|
|
32599
|
+
name: t('backoffice.idmCatalogEditor.items.label.kopfstuetze'),
|
|
32600
|
+
value: '19'
|
|
32601
|
+
}, {
|
|
32602
|
+
name: t('backoffice.idmCatalogEditor.items.label.leuchten'),
|
|
32603
|
+
value: '20'
|
|
32604
|
+
}, {
|
|
32605
|
+
name: t('backoffice.idmCatalogEditor.items.label.teppiche'),
|
|
32606
|
+
value: '21'
|
|
32607
|
+
}, {
|
|
32608
|
+
name: t('backoffice.idmCatalogEditor.items.label.kleinteile'),
|
|
32609
|
+
value: '22'
|
|
32610
|
+
}, {
|
|
32611
|
+
name: t('backoffice.idmCatalogEditor.items.label.polsterbetten'),
|
|
32612
|
+
value: '23'
|
|
32613
|
+
}, {
|
|
32614
|
+
name: t('backoffice.idmCatalogEditor.items.label.polsterbettgestelle'),
|
|
32615
|
+
value: '24'
|
|
32616
|
+
}, {
|
|
32617
|
+
name: t('backoffice.idmCatalogEditor.items.label.metrage'),
|
|
32618
|
+
value: '25'
|
|
32619
|
+
}, {
|
|
32620
|
+
name: t('backoffice.idmCatalogEditor.items.label.sonstiges'),
|
|
32621
|
+
value: '26'
|
|
32622
|
+
}];
|
|
32356
32623
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
32357
32624
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
32358
32625
|
title: /*#__PURE__*/jsxs("div", {
|
|
@@ -32466,8 +32733,7 @@ function TableItems () {
|
|
|
32466
32733
|
field: 'itemIdentification',
|
|
32467
32734
|
cellDataType: 'enum',
|
|
32468
32735
|
customParams: {
|
|
32469
|
-
|
|
32470
|
-
values: Object.keys(itemIdentificationDic),
|
|
32736
|
+
enumData: itemIdentification,
|
|
32471
32737
|
displayLabelTemplate: '${name} (${value})'
|
|
32472
32738
|
},
|
|
32473
32739
|
required: true
|
|
@@ -32479,8 +32745,7 @@ function TableItems () {
|
|
|
32479
32745
|
field: 'typeKey',
|
|
32480
32746
|
cellDataType: 'enum',
|
|
32481
32747
|
customParams: {
|
|
32482
|
-
|
|
32483
|
-
values: Object.keys(typeKeyDic),
|
|
32748
|
+
enumData: typeKey,
|
|
32484
32749
|
displayLabelTemplate: '${name} (${value})'
|
|
32485
32750
|
},
|
|
32486
32751
|
required: true
|
|
@@ -32649,12 +32914,19 @@ function TableSeries () {
|
|
|
32649
32914
|
organizationId = _useModule.organizationId,
|
|
32650
32915
|
updateNavigation = _useModule.updateNavigation,
|
|
32651
32916
|
apiConfig = _useModule.apiConfig;
|
|
32652
|
-
var
|
|
32653
|
-
|
|
32654
|
-
|
|
32655
|
-
|
|
32656
|
-
|
|
32657
|
-
|
|
32917
|
+
var purchaseRetailId = [{
|
|
32918
|
+
name: t('backoffice.idmCatalog.series.label.purchaseRetail.p0'),
|
|
32919
|
+
value: 0
|
|
32920
|
+
}, {
|
|
32921
|
+
name: t('backoffice.idmCatalog.series.label.purchaseRetail.p1'),
|
|
32922
|
+
value: 1
|
|
32923
|
+
}, {
|
|
32924
|
+
name: t('backoffice.idmCatalog.series.label.purchaseRetail.p2'),
|
|
32925
|
+
value: 2
|
|
32926
|
+
}, {
|
|
32927
|
+
name: t('backoffice.idmCatalog.series.label.purchaseRetail.p3'),
|
|
32928
|
+
value: 3
|
|
32929
|
+
}];
|
|
32658
32930
|
var applicationData = useMemo(function () {
|
|
32659
32931
|
return {
|
|
32660
32932
|
catalogId: catalogId,
|
|
@@ -32693,7 +32965,8 @@ function TableSeries () {
|
|
|
32693
32965
|
colDef: [{
|
|
32694
32966
|
field: 'serieNo',
|
|
32695
32967
|
headerName: 'backoffice.idmCatalog.series.label.serieNo',
|
|
32696
|
-
required: true
|
|
32968
|
+
required: true,
|
|
32969
|
+
cellDataType: 'number'
|
|
32697
32970
|
}, {
|
|
32698
32971
|
headerName: 'backoffice.idmCatalog.series.label.seriesName',
|
|
32699
32972
|
marryChildren: true,
|
|
@@ -32726,8 +32999,7 @@ function TableSeries () {
|
|
|
32726
32999
|
required: true,
|
|
32727
33000
|
cellDataType: 'enum',
|
|
32728
33001
|
customParams: {
|
|
32729
|
-
|
|
32730
|
-
values: Object.keys(purchaseRetailIdDic),
|
|
33002
|
+
enumData: purchaseRetailId,
|
|
32731
33003
|
displayLabelTemplate: '${name} (${value})'
|
|
32732
33004
|
}
|
|
32733
33005
|
}, {
|
|
@@ -32823,29 +33095,644 @@ function TableSeries () {
|
|
|
32823
33095
|
});
|
|
32824
33096
|
}
|
|
32825
33097
|
|
|
32826
|
-
function
|
|
32827
|
-
|
|
32828
|
-
|
|
32829
|
-
|
|
32830
|
-
|
|
32831
|
-
|
|
32832
|
-
|
|
32833
|
-
|
|
32834
|
-
|
|
33098
|
+
function TableFeatures () {
|
|
33099
|
+
var _useTranslation = useTranslation(),
|
|
33100
|
+
t = _useTranslation.t;
|
|
33101
|
+
var _useModule = useModule(['features']),
|
|
33102
|
+
catalogId = _useModule.catalogId,
|
|
33103
|
+
organizationId = _useModule.organizationId,
|
|
33104
|
+
updateNavigation = _useModule.updateNavigation,
|
|
33105
|
+
apiConfig = _useModule.apiConfig;
|
|
33106
|
+
var headerPosVariationType = [{
|
|
33107
|
+
name: t('backoffice.idmCatalog.features.label.vt.I'),
|
|
33108
|
+
value: 'I'
|
|
33109
|
+
}, {
|
|
33110
|
+
name: t('backoffice.idmCatalog.features.label.vt.K'),
|
|
33111
|
+
value: 'K'
|
|
33112
|
+
}, {
|
|
33113
|
+
name: t('backoffice.idmCatalog.features.label.vt.P'),
|
|
33114
|
+
value: 'P'
|
|
33115
|
+
}];
|
|
33116
|
+
var featureT = [{
|
|
33117
|
+
name: t('backoffice.idmCatalog.features.label.featureTDic.M'),
|
|
33118
|
+
value: 'M'
|
|
33119
|
+
}, {
|
|
33120
|
+
name: t('backoffice.idmCatalog.features.label.featureTDic.C'),
|
|
33121
|
+
value: 'C'
|
|
33122
|
+
}, {
|
|
33123
|
+
name: t('backoffice.idmCatalog.features.label.featureTDic.O'),
|
|
33124
|
+
value: 'O'
|
|
33125
|
+
}];
|
|
33126
|
+
var applicationData = useMemo(function () {
|
|
33127
|
+
return {
|
|
33128
|
+
catalogId: catalogId,
|
|
33129
|
+
organizationId: organizationId
|
|
33130
|
+
};
|
|
33131
|
+
}, [catalogId]);
|
|
33132
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
33133
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
33134
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
33135
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures'), /*#__PURE__*/jsx(Space$1, {
|
|
33136
|
+
style: {
|
|
33137
|
+
"float": 'right'
|
|
33138
|
+
},
|
|
33139
|
+
children: /*#__PURE__*/jsx(CatalogSelector, {
|
|
33140
|
+
selectedCatalog: catalogId,
|
|
33141
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
33142
|
+
return updateNavigation(id);
|
|
33143
|
+
},
|
|
33144
|
+
idmService: apiConfig.idmService
|
|
33145
|
+
})
|
|
33146
|
+
})]
|
|
33147
|
+
})
|
|
33148
|
+
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
33149
|
+
gridId: 'crud-grid_features',
|
|
33150
|
+
applicationData: applicationData,
|
|
33151
|
+
configuration: {
|
|
33152
|
+
type: 'dotnetSSM',
|
|
33153
|
+
apiInterface: {
|
|
33154
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features',
|
|
33155
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features',
|
|
33156
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${_id}',
|
|
33157
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${_id}',
|
|
33158
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${_id}'
|
|
33159
|
+
},
|
|
33160
|
+
dateFormat: 'LL',
|
|
33161
|
+
colDef: [{
|
|
33162
|
+
field: 'featureNo',
|
|
33163
|
+
headerName: 'backoffice.idmCatalog.features.label.featureNo',
|
|
33164
|
+
required: true
|
|
33165
|
+
}, {
|
|
33166
|
+
headerName: 'backoffice.idmCatalog.features.label.featureText',
|
|
33167
|
+
marryChildren: true,
|
|
33168
|
+
children: [{
|
|
33169
|
+
field: 'featureText.DE',
|
|
33170
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33171
|
+
isDictionary: true,
|
|
33172
|
+
required: true
|
|
33173
|
+
}, {
|
|
33174
|
+
field: 'featureText.EN',
|
|
33175
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33176
|
+
isDictionary: true
|
|
33177
|
+
}, {
|
|
33178
|
+
field: 'featureText.FR',
|
|
33179
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33180
|
+
isDictionary: true
|
|
33181
|
+
}, {
|
|
33182
|
+
field: 'featureText.IT',
|
|
33183
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33184
|
+
isDictionary: true
|
|
33185
|
+
}]
|
|
33186
|
+
}, {
|
|
33187
|
+
field: 'sequenceNo',
|
|
33188
|
+
headerName: 'backoffice.idmCatalog.features.label.sequenceNo',
|
|
33189
|
+
required: true,
|
|
33190
|
+
cellDataType: 'number'
|
|
33191
|
+
}, {
|
|
33192
|
+
field: 'headerPosVariationType',
|
|
33193
|
+
headerName: 'backoffice.idmCatalog.features.label.headerPosVariationType',
|
|
33194
|
+
required: true,
|
|
33195
|
+
cellDataType: 'enum',
|
|
33196
|
+
customParams: {
|
|
33197
|
+
enumData: headerPosVariationType,
|
|
33198
|
+
displayLabelTemplate: '${name} (${value})'
|
|
33199
|
+
}
|
|
33200
|
+
}, {
|
|
33201
|
+
field: 'featureT',
|
|
33202
|
+
headerName: 'backoffice.idmCatalog.features.label.featureT',
|
|
33203
|
+
cellDataType: 'enum',
|
|
33204
|
+
customParams: {
|
|
33205
|
+
enumData: featureT,
|
|
33206
|
+
displayLabelTemplate: '${name} (${value})'
|
|
33207
|
+
}
|
|
33208
|
+
}, {
|
|
33209
|
+
field: 'measureUnit',
|
|
33210
|
+
headerName: 'backoffice.idmCatalog.features.label.measureUnit'
|
|
33211
|
+
}, {
|
|
33212
|
+
field: 'measureParameter',
|
|
33213
|
+
headerName: 'backoffice.idmCatalog.features.label.measureParameter'
|
|
33214
|
+
}, {
|
|
33215
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
33216
|
+
field: 'lastUpdatedDate',
|
|
33217
|
+
cellDataType: 'dateString',
|
|
33218
|
+
editable: false
|
|
33219
|
+
}, {
|
|
33220
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
33221
|
+
field: 'createdDate',
|
|
33222
|
+
cellDataType: 'dateString',
|
|
33223
|
+
editable: false
|
|
33224
|
+
}, {
|
|
33225
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
33226
|
+
field: 'createdByDisplayText',
|
|
33227
|
+
editable: false
|
|
33228
|
+
}, {
|
|
33229
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
33230
|
+
field: 'lastUpdatedByDisplayText',
|
|
33231
|
+
editable: false
|
|
33232
|
+
}, {
|
|
33233
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
33234
|
+
field: '_id',
|
|
33235
|
+
editable: false
|
|
33236
|
+
}, {
|
|
33237
|
+
field: 'organizationId',
|
|
33238
|
+
editable: false,
|
|
33239
|
+
hide: true,
|
|
33240
|
+
lockVisible: true,
|
|
33241
|
+
suppressColumnsToolPanel: true,
|
|
33242
|
+
defaultValue: '${organizationId}'
|
|
33243
|
+
}, {
|
|
33244
|
+
field: 'catalogId',
|
|
33245
|
+
editable: false,
|
|
33246
|
+
hide: true,
|
|
33247
|
+
lockVisible: true,
|
|
33248
|
+
suppressColumnsToolPanel: true,
|
|
33249
|
+
defaultValue: '${catalogId}'
|
|
33250
|
+
}]
|
|
33251
|
+
}
|
|
33252
|
+
})]
|
|
32835
33253
|
});
|
|
32836
33254
|
}
|
|
32837
|
-
|
|
32838
|
-
|
|
32839
|
-
|
|
32840
|
-
|
|
32841
|
-
|
|
32842
|
-
|
|
32843
|
-
|
|
32844
|
-
|
|
32845
|
-
|
|
32846
|
-
|
|
32847
|
-
|
|
32848
|
-
|
|
33255
|
+
|
|
33256
|
+
function TableOptions () {
|
|
33257
|
+
var _useTranslation = useTranslation(),
|
|
33258
|
+
t = _useTranslation.t;
|
|
33259
|
+
var _useModule = useModule(['options']),
|
|
33260
|
+
catalogId = _useModule.catalogId,
|
|
33261
|
+
updateNavigation = _useModule.updateNavigation,
|
|
33262
|
+
apiConfig = _useModule.apiConfig,
|
|
33263
|
+
organizationId = _useModule.organizationId;
|
|
33264
|
+
var _React$useState = React.useState(),
|
|
33265
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
33266
|
+
selectedFeature = _React$useState2[0],
|
|
33267
|
+
setSelectedFeature = _React$useState2[1];
|
|
33268
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
33269
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
33270
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
33271
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'), /*#__PURE__*/jsxs(Space$1, {
|
|
33272
|
+
style: {
|
|
33273
|
+
"float": 'right'
|
|
33274
|
+
},
|
|
33275
|
+
children: [/*#__PURE__*/jsx(CatalogSelector, {
|
|
33276
|
+
selectedCatalog: catalogId,
|
|
33277
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
33278
|
+
return updateNavigation(id);
|
|
33279
|
+
},
|
|
33280
|
+
idmService: apiConfig.idmService
|
|
33281
|
+
}), /*#__PURE__*/jsx(PrefilterSelector, {
|
|
33282
|
+
type: 'option',
|
|
33283
|
+
catalogId: catalogId,
|
|
33284
|
+
selectedFeature: selectedFeature,
|
|
33285
|
+
setSelectedFeature: setSelectedFeature,
|
|
33286
|
+
idmService: apiConfig.idmService
|
|
33287
|
+
})]
|
|
33288
|
+
})]
|
|
33289
|
+
})
|
|
33290
|
+
}), selectedFeature && /*#__PURE__*/jsx(Spreadsheet, {
|
|
33291
|
+
gridId: 'crud-grid_options',
|
|
33292
|
+
applicationData: {
|
|
33293
|
+
organizationId: organizationId,
|
|
33294
|
+
catalogId: catalogId
|
|
33295
|
+
},
|
|
33296
|
+
configuration: {
|
|
33297
|
+
type: 'dotnetSSM',
|
|
33298
|
+
idCol: 'optionKey',
|
|
33299
|
+
apiInterface: {
|
|
33300
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/' + (selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature._id) + '/options',
|
|
33301
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/' + (selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature._id) + '/options',
|
|
33302
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/' + (selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature._id) + '/options/${optionKey}',
|
|
33303
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/' + (selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature._id) + '/options/${optionKey}',
|
|
33304
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/' + (selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature._id) + '/options/${optionKey}'
|
|
33305
|
+
},
|
|
33306
|
+
dateFormat: 'LL',
|
|
33307
|
+
floatingFilter: true,
|
|
33308
|
+
colDef: [{
|
|
33309
|
+
field: 'optionKey',
|
|
33310
|
+
required: true,
|
|
33311
|
+
unique: true
|
|
33312
|
+
}, {
|
|
33313
|
+
headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
|
|
33314
|
+
field: 'sequenceNo',
|
|
33315
|
+
cellDataType: 'number'
|
|
33316
|
+
}, {
|
|
33317
|
+
headerName: 'backoffice.idmCatalog.common.label.texts',
|
|
33318
|
+
children: [{
|
|
33319
|
+
headerName: 'backoffice.idmCatalog.options.label.optionText',
|
|
33320
|
+
marryChildren: true,
|
|
33321
|
+
children: [{
|
|
33322
|
+
field: 'optionText.DE',
|
|
33323
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33324
|
+
isDictionary: true,
|
|
33325
|
+
required: true
|
|
33326
|
+
}, {
|
|
33327
|
+
field: 'optionText.EN',
|
|
33328
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33329
|
+
isDictionary: true
|
|
33330
|
+
}, {
|
|
33331
|
+
field: 'optionText.FR',
|
|
33332
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33333
|
+
isDictionary: true
|
|
33334
|
+
}, {
|
|
33335
|
+
field: 'optionText.IT',
|
|
33336
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33337
|
+
isDictionary: true
|
|
33338
|
+
}]
|
|
33339
|
+
}, {
|
|
33340
|
+
headerName: 'backoffice.idmCatalog.options.label.optionCommentText',
|
|
33341
|
+
marryChildren: true,
|
|
33342
|
+
children: [{
|
|
33343
|
+
field: 'optionCommentText.DE',
|
|
33344
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33345
|
+
isDictionary: true
|
|
33346
|
+
}, {
|
|
33347
|
+
field: 'optionCommentText.EN',
|
|
33348
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33349
|
+
isDictionary: true
|
|
33350
|
+
}, {
|
|
33351
|
+
field: 'optionCommentText.FR',
|
|
33352
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33353
|
+
isDictionary: true
|
|
33354
|
+
}, {
|
|
33355
|
+
field: 'optionCommentText.IT',
|
|
33356
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33357
|
+
isDictionary: true
|
|
33358
|
+
}]
|
|
33359
|
+
}, {
|
|
33360
|
+
headerName: 'backoffice.idmCatalog.options.label.optionFreeText',
|
|
33361
|
+
field: 'optionFreeText',
|
|
33362
|
+
cellDataType: 'boolean'
|
|
33363
|
+
}]
|
|
33364
|
+
}, {
|
|
33365
|
+
headerName: 'backoffice.idmCatalog.items.label.validation',
|
|
33366
|
+
children: [{
|
|
33367
|
+
headerName: 'backoffice.idmCatalog.general.label.validFromDate',
|
|
33368
|
+
field: 'validFromDate',
|
|
33369
|
+
cellDataType: 'dateString'
|
|
33370
|
+
}, {
|
|
33371
|
+
headerName: 'backoffice.idmCatalog.general.label.validUntilDate',
|
|
33372
|
+
field: 'validUntilDate',
|
|
33373
|
+
cellDataType: 'dateString'
|
|
33374
|
+
}]
|
|
33375
|
+
}, {
|
|
33376
|
+
headerName: 'backoffice.idmCatalog.options.label.material',
|
|
33377
|
+
children: [{
|
|
33378
|
+
headerName: 'backoffice.idmCatalog.options.label.materialNo',
|
|
33379
|
+
field: 'materialNo'
|
|
33380
|
+
}, {
|
|
33381
|
+
headerName: 'backoffice.idmCatalog.options.label.materialColorR',
|
|
33382
|
+
field: 'materialColorR',
|
|
33383
|
+
cellDataType: 'number'
|
|
33384
|
+
}, {
|
|
33385
|
+
headerName: 'backoffice.idmCatalog.options.label.materialColorG',
|
|
33386
|
+
field: 'materialColorG',
|
|
33387
|
+
cellDataType: 'number'
|
|
33388
|
+
}, {
|
|
33389
|
+
headerName: 'backoffice.idmCatalog.options.label.materialColorB',
|
|
33390
|
+
field: 'materialColorR',
|
|
33391
|
+
cellDataType: 'number'
|
|
33392
|
+
}]
|
|
33393
|
+
}, {
|
|
33394
|
+
headerName: 'backoffice.idmCatalog.options.label.measurement',
|
|
33395
|
+
children: [{
|
|
33396
|
+
headerName: 'backoffice.idmCatalog.options.label.measureNo',
|
|
33397
|
+
field: 'measureNo'
|
|
33398
|
+
}, {
|
|
33399
|
+
headerName: 'backoffice.idmCatalog.options.label.measureValue',
|
|
33400
|
+
field: 'measureValue',
|
|
33401
|
+
cellDataType: 'number'
|
|
33402
|
+
}, {
|
|
33403
|
+
headerName: 'backoffice.idmCatalog.options.label.measureUnit',
|
|
33404
|
+
field: 'measureUnit'
|
|
33405
|
+
}]
|
|
33406
|
+
}, {
|
|
33407
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
33408
|
+
field: 'lastUpdatedDate',
|
|
33409
|
+
cellDataType: 'dateString',
|
|
33410
|
+
editable: false
|
|
33411
|
+
}, {
|
|
33412
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
33413
|
+
field: 'lastUpdatedByDisplayText',
|
|
33414
|
+
editable: false
|
|
33415
|
+
}, {
|
|
33416
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
33417
|
+
field: 'createdDate',
|
|
33418
|
+
cellDataType: 'dateString',
|
|
33419
|
+
editable: false
|
|
33420
|
+
}, {
|
|
33421
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
33422
|
+
field: 'createdByDisplayText',
|
|
33423
|
+
editable: false
|
|
33424
|
+
}]
|
|
33425
|
+
}
|
|
33426
|
+
})]
|
|
33427
|
+
});
|
|
33428
|
+
}
|
|
33429
|
+
|
|
33430
|
+
function TableFeatureClasses () {
|
|
33431
|
+
var _useTranslation = useTranslation(),
|
|
33432
|
+
t = _useTranslation.t;
|
|
33433
|
+
var _useModule = useModule(['featureclasses']),
|
|
33434
|
+
catalogId = _useModule.catalogId,
|
|
33435
|
+
organizationId = _useModule.organizationId,
|
|
33436
|
+
updateNavigation = _useModule.updateNavigation,
|
|
33437
|
+
apiConfig = _useModule.apiConfig;
|
|
33438
|
+
var applicationData = useMemo(function () {
|
|
33439
|
+
return {
|
|
33440
|
+
catalogId: catalogId,
|
|
33441
|
+
organizationId: organizationId
|
|
33442
|
+
};
|
|
33443
|
+
}, [catalogId]);
|
|
33444
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
33445
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
33446
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
33447
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses'), /*#__PURE__*/jsx(Space$1, {
|
|
33448
|
+
style: {
|
|
33449
|
+
"float": 'right'
|
|
33450
|
+
},
|
|
33451
|
+
children: /*#__PURE__*/jsx(CatalogSelector, {
|
|
33452
|
+
selectedCatalog: catalogId,
|
|
33453
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
33454
|
+
return updateNavigation(id);
|
|
33455
|
+
},
|
|
33456
|
+
idmService: apiConfig.idmService
|
|
33457
|
+
})
|
|
33458
|
+
})]
|
|
33459
|
+
})
|
|
33460
|
+
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
33461
|
+
gridId: 'crud-grid_featureclasses',
|
|
33462
|
+
applicationData: applicationData,
|
|
33463
|
+
configuration: {
|
|
33464
|
+
type: 'dotnetSSM',
|
|
33465
|
+
apiInterface: {
|
|
33466
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses',
|
|
33467
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses',
|
|
33468
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses/${_id}',
|
|
33469
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses/${_id}',
|
|
33470
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses/${_id}'
|
|
33471
|
+
},
|
|
33472
|
+
dateFormat: 'LL',
|
|
33473
|
+
colDef: [{
|
|
33474
|
+
field: 'featureClassNo',
|
|
33475
|
+
headerName: 'backoffice.idmCatalog.featureclasses.label.featureClassNo',
|
|
33476
|
+
required: true
|
|
33477
|
+
}, {
|
|
33478
|
+
headerName: 'backoffice.idmCatalog.featureclasses.label.featureClassName',
|
|
33479
|
+
marryChildren: true,
|
|
33480
|
+
children: [{
|
|
33481
|
+
field: 'featureClassName.DE',
|
|
33482
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33483
|
+
isDictionary: true
|
|
33484
|
+
}, {
|
|
33485
|
+
field: 'featureClassName.EN',
|
|
33486
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33487
|
+
isDictionary: true
|
|
33488
|
+
}, {
|
|
33489
|
+
field: 'featureClassName.FR',
|
|
33490
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33491
|
+
isDictionary: true
|
|
33492
|
+
}, {
|
|
33493
|
+
field: 'featureClassName.IT',
|
|
33494
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33495
|
+
isDictionary: true
|
|
33496
|
+
}]
|
|
33497
|
+
}, {
|
|
33498
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
33499
|
+
field: 'lastUpdatedDate',
|
|
33500
|
+
cellDataType: 'dateString',
|
|
33501
|
+
editable: false
|
|
33502
|
+
}, {
|
|
33503
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
33504
|
+
field: 'createdDate',
|
|
33505
|
+
cellDataType: 'dateString',
|
|
33506
|
+
editable: false
|
|
33507
|
+
}, {
|
|
33508
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
33509
|
+
field: 'createdByDisplayText',
|
|
33510
|
+
editable: false
|
|
33511
|
+
}, {
|
|
33512
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
33513
|
+
field: 'lastUpdatedByDisplayText',
|
|
33514
|
+
editable: false
|
|
33515
|
+
}, {
|
|
33516
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
33517
|
+
field: '_id',
|
|
33518
|
+
editable: false
|
|
33519
|
+
}, {
|
|
33520
|
+
field: 'organizationId',
|
|
33521
|
+
editable: false,
|
|
33522
|
+
hide: true,
|
|
33523
|
+
lockVisible: true,
|
|
33524
|
+
suppressColumnsToolPanel: true,
|
|
33525
|
+
defaultValue: '${organizationId}'
|
|
33526
|
+
}, {
|
|
33527
|
+
field: 'catalogId',
|
|
33528
|
+
editable: false,
|
|
33529
|
+
hide: true,
|
|
33530
|
+
lockVisible: true,
|
|
33531
|
+
suppressColumnsToolPanel: true,
|
|
33532
|
+
defaultValue: '${catalogId}'
|
|
33533
|
+
}]
|
|
33534
|
+
}
|
|
33535
|
+
})]
|
|
33536
|
+
});
|
|
33537
|
+
}
|
|
33538
|
+
|
|
33539
|
+
function TableDecisions () {
|
|
33540
|
+
var _useTranslation = useTranslation(),
|
|
33541
|
+
t = _useTranslation.t;
|
|
33542
|
+
var _useModule = useModule(['decisions']),
|
|
33543
|
+
catalogId = _useModule.catalogId,
|
|
33544
|
+
organizationId = _useModule.organizationId,
|
|
33545
|
+
updateNavigation = _useModule.updateNavigation,
|
|
33546
|
+
apiConfig = _useModule.apiConfig;
|
|
33547
|
+
var decisionType = [{
|
|
33548
|
+
name: t('backoffice.idmCatalog.decisions.label.type.d0'),
|
|
33549
|
+
value: 0
|
|
33550
|
+
}, {
|
|
33551
|
+
name: t('backoffice.idmCatalog.decisions.label.type.d1'),
|
|
33552
|
+
value: 1
|
|
33553
|
+
}, {
|
|
33554
|
+
name: t('backoffice.idmCatalog.decisions.label.type.d2'),
|
|
33555
|
+
value: 2
|
|
33556
|
+
}, {
|
|
33557
|
+
name: t('backoffice.idmCatalog.decisions.label.type.d3'),
|
|
33558
|
+
value: 3
|
|
33559
|
+
}];
|
|
33560
|
+
var applicationData = useMemo(function () {
|
|
33561
|
+
return {
|
|
33562
|
+
catalogId: catalogId,
|
|
33563
|
+
organizationId: organizationId
|
|
33564
|
+
};
|
|
33565
|
+
}, [catalogId]);
|
|
33566
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
33567
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
33568
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
33569
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTableDecisions'), /*#__PURE__*/jsx(Space$1, {
|
|
33570
|
+
style: {
|
|
33571
|
+
"float": 'right'
|
|
33572
|
+
},
|
|
33573
|
+
children: /*#__PURE__*/jsx(CatalogSelector, {
|
|
33574
|
+
selectedCatalog: catalogId,
|
|
33575
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
33576
|
+
return updateNavigation(id);
|
|
33577
|
+
},
|
|
33578
|
+
idmService: apiConfig.idmService
|
|
33579
|
+
})
|
|
33580
|
+
})]
|
|
33581
|
+
})
|
|
33582
|
+
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
33583
|
+
gridId: 'crud-grid_decisions',
|
|
33584
|
+
applicationData: applicationData,
|
|
33585
|
+
configuration: {
|
|
33586
|
+
type: 'dotnetSSM',
|
|
33587
|
+
apiInterface: {
|
|
33588
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions',
|
|
33589
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions',
|
|
33590
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions/${_id}',
|
|
33591
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions/${_id}',
|
|
33592
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions/${_id}'
|
|
33593
|
+
},
|
|
33594
|
+
dateFormat: 'LL',
|
|
33595
|
+
colDef: [{
|
|
33596
|
+
field: 'decisionNo',
|
|
33597
|
+
headerName: 'backoffice.idmCatalog.decisions.label.decisionNo',
|
|
33598
|
+
required: true
|
|
33599
|
+
}, {
|
|
33600
|
+
headerName: 'backoffice.idmCatalog.decisions.label.decisionText',
|
|
33601
|
+
marryChildren: true,
|
|
33602
|
+
children: [{
|
|
33603
|
+
field: 'decisionText.DE',
|
|
33604
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33605
|
+
isDictionary: true,
|
|
33606
|
+
required: true
|
|
33607
|
+
}, {
|
|
33608
|
+
field: 'decisionText.EN',
|
|
33609
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33610
|
+
isDictionary: true
|
|
33611
|
+
}, {
|
|
33612
|
+
field: 'decisionText.FR',
|
|
33613
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33614
|
+
isDictionary: true
|
|
33615
|
+
}, {
|
|
33616
|
+
field: 'decisionText.IT',
|
|
33617
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33618
|
+
isDictionary: true
|
|
33619
|
+
}]
|
|
33620
|
+
}, {
|
|
33621
|
+
field: 'comment',
|
|
33622
|
+
headerName: 'backoffice.idmCatalog.decisions.label.comment'
|
|
33623
|
+
}, {
|
|
33624
|
+
field: 'prio',
|
|
33625
|
+
headerName: 'backoffice.idmCatalog.decisions.label.prio',
|
|
33626
|
+
required: true,
|
|
33627
|
+
cellDataType: 'number'
|
|
33628
|
+
}, {
|
|
33629
|
+
field: 'decisionType',
|
|
33630
|
+
headerName: 'backoffice.idmCatalog.decisions.label.decisionType',
|
|
33631
|
+
required: true,
|
|
33632
|
+
cellDataType: 'enum',
|
|
33633
|
+
customParams: {
|
|
33634
|
+
enumData: decisionType,
|
|
33635
|
+
displayLabelTemplate: '${name} (${value})'
|
|
33636
|
+
}
|
|
33637
|
+
}, {
|
|
33638
|
+
field: 'featureRefs',
|
|
33639
|
+
headerName: 'backoffice.idmCatalogEditor.items.label.featureRefs',
|
|
33640
|
+
cellDataType: 'lookup',
|
|
33641
|
+
editable: true,
|
|
33642
|
+
customParams: {
|
|
33643
|
+
nameField: 'featureRefsDisplayTexts',
|
|
33644
|
+
displayLabelTemplate: '${name} (${value})',
|
|
33645
|
+
apiInterface: {
|
|
33646
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features'
|
|
33647
|
+
},
|
|
33648
|
+
lookupValue: 'featureText',
|
|
33649
|
+
lookupKey: 'featureNo',
|
|
33650
|
+
lookupKeyFilterType: {
|
|
33651
|
+
type: 'equals',
|
|
33652
|
+
filterType: 'number'
|
|
33653
|
+
},
|
|
33654
|
+
multiple: true,
|
|
33655
|
+
translated: true
|
|
33656
|
+
},
|
|
33657
|
+
additionalFields: ['featureRefsDisplayTexts'],
|
|
33658
|
+
isDictionary: true
|
|
33659
|
+
}, {
|
|
33660
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
33661
|
+
field: 'lastUpdatedDate',
|
|
33662
|
+
cellDataType: 'dateString',
|
|
33663
|
+
editable: false
|
|
33664
|
+
}, {
|
|
33665
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
33666
|
+
field: 'createdDate',
|
|
33667
|
+
cellDataType: 'dateString',
|
|
33668
|
+
editable: false
|
|
33669
|
+
}, {
|
|
33670
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
33671
|
+
field: 'createdByDisplayText',
|
|
33672
|
+
editable: false
|
|
33673
|
+
}, {
|
|
33674
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
33675
|
+
field: 'lastUpdatedByDisplayText',
|
|
33676
|
+
editable: false
|
|
33677
|
+
}, {
|
|
33678
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
33679
|
+
field: '_id',
|
|
33680
|
+
editable: false
|
|
33681
|
+
}, {
|
|
33682
|
+
field: 'organizationId',
|
|
33683
|
+
editable: false,
|
|
33684
|
+
hide: true,
|
|
33685
|
+
lockVisible: true,
|
|
33686
|
+
suppressColumnsToolPanel: true,
|
|
33687
|
+
defaultValue: '${organizationId}'
|
|
33688
|
+
}, {
|
|
33689
|
+
field: 'catalogId',
|
|
33690
|
+
editable: false,
|
|
33691
|
+
hide: true,
|
|
33692
|
+
lockVisible: true,
|
|
33693
|
+
suppressColumnsToolPanel: true,
|
|
33694
|
+
defaultValue: '${catalogId}'
|
|
33695
|
+
}]
|
|
33696
|
+
}
|
|
33697
|
+
})]
|
|
33698
|
+
});
|
|
33699
|
+
}
|
|
33700
|
+
|
|
33701
|
+
function IDMCatalogEditor (_ref) {
|
|
33702
|
+
_objectDestructuringEmpty(_ref);
|
|
33703
|
+
return /*#__PURE__*/jsx("div", {
|
|
33704
|
+
style: {
|
|
33705
|
+
height: '85vh',
|
|
33706
|
+
display: 'flex',
|
|
33707
|
+
flexDirection: 'column'
|
|
33708
|
+
},
|
|
33709
|
+
children: /*#__PURE__*/jsx(Content$1, {})
|
|
33710
|
+
});
|
|
33711
|
+
}
|
|
33712
|
+
function Content$1() {
|
|
33713
|
+
return /*#__PURE__*/jsxs(Routes, {
|
|
33714
|
+
children: [/*#__PURE__*/jsx(Route, {
|
|
33715
|
+
index: true,
|
|
33716
|
+
path: "",
|
|
33717
|
+
element: /*#__PURE__*/jsx(TableCatalogs, {})
|
|
33718
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33719
|
+
path: ":catalogId/series",
|
|
33720
|
+
element: /*#__PURE__*/jsx(TableSeries, {})
|
|
33721
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33722
|
+
path: ":catalogId/items",
|
|
33723
|
+
element: /*#__PURE__*/jsx(TableItems, {})
|
|
33724
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33725
|
+
path: ":catalogId/features",
|
|
33726
|
+
element: /*#__PURE__*/jsx(TableFeatures, {})
|
|
33727
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33728
|
+
path: ":catalogId/options",
|
|
33729
|
+
element: /*#__PURE__*/jsx(TableOptions, {})
|
|
33730
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33731
|
+
path: ":catalogId/featureclasses",
|
|
33732
|
+
element: /*#__PURE__*/jsx(TableFeatureClasses, {})
|
|
33733
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33734
|
+
path: ":catalogId/decisions",
|
|
33735
|
+
element: /*#__PURE__*/jsx(TableDecisions, {})
|
|
32849
33736
|
})]
|
|
32850
33737
|
});
|
|
32851
33738
|
}
|