@crystaldesign/diva-backoffice 25.1.0-beta.32 → 25.1.0-beta.34
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 +348 -10
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -32324,8 +32324,8 @@ function TablePartlistPos () {
|
|
|
32324
32324
|
dateFormat: 'LL',
|
|
32325
32325
|
floatingFilter: true,
|
|
32326
32326
|
colDef: [{
|
|
32327
|
-
|
|
32328
|
-
|
|
32327
|
+
headerName: 'backoffice.idmEnricher.partlistpos.label.partlistKey',
|
|
32328
|
+
field: 'partlistKey',
|
|
32329
32329
|
editable: false
|
|
32330
32330
|
}, {
|
|
32331
32331
|
headerName: 'backoffice.idmEnricher.partlistpos.label.itemRefSerieNo',
|
|
@@ -32359,7 +32359,7 @@ function TablePartlistPos () {
|
|
|
32359
32359
|
}]
|
|
32360
32360
|
}, {
|
|
32361
32361
|
headerName: 'backoffice.idmEnricher.partlistpos.label.itemRefTypeNo',
|
|
32362
|
-
|
|
32362
|
+
field: 'itemRefTypeNo',
|
|
32363
32363
|
editable: false
|
|
32364
32364
|
}, {
|
|
32365
32365
|
headerName: 'backoffice.idmEnricher.properties.partlistpos.itemRefTypeNoDisplayText',
|
|
@@ -32447,12 +32447,10 @@ function TablePartlistPos () {
|
|
|
32447
32447
|
}, {
|
|
32448
32448
|
headerName: 'backoffice.idmEnricher.partlistpos.label.retailPrefix',
|
|
32449
32449
|
field: 'retailPrefix',
|
|
32450
|
-
cellDataType: 'string',
|
|
32451
32450
|
editable: true
|
|
32452
32451
|
}, {
|
|
32453
32452
|
headerName: 'backoffice.idmEnricher.partlistpos.label.retailArtilceNumber',
|
|
32454
32453
|
field: 'retailArtilceNumber',
|
|
32455
|
-
cellDataType: 'string',
|
|
32456
32454
|
editable: true
|
|
32457
32455
|
}, {
|
|
32458
32456
|
field: 'organizationId',
|
|
@@ -33567,6 +33565,16 @@ function useModule (currentModules) {
|
|
|
33567
33565
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/detailinfos' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
33568
33566
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableDetailInfos')
|
|
33569
33567
|
})
|
|
33568
|
+
}, {
|
|
33569
|
+
key: 'partlists',
|
|
33570
|
+
style: {
|
|
33571
|
+
margin: 0
|
|
33572
|
+
},
|
|
33573
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
33574
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
33575
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/partlists' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
33576
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTablePartlists')
|
|
33577
|
+
})
|
|
33570
33578
|
}];
|
|
33571
33579
|
}, [catalogId]);
|
|
33572
33580
|
if (!catalogId) throw new Error('catalogId is required');
|
|
@@ -34683,7 +34691,6 @@ function TableOptions () {
|
|
|
34683
34691
|
}
|
|
34684
34692
|
|
|
34685
34693
|
function TableFeatureClasses () {
|
|
34686
|
-
var _root$contentStore$bo, _root$contentStore$ri;
|
|
34687
34694
|
var _useTranslation = useTranslation(),
|
|
34688
34695
|
t = _useTranslation.t;
|
|
34689
34696
|
var root = useStore();
|
|
@@ -34829,10 +34836,7 @@ function TableFeatureClasses () {
|
|
|
34829
34836
|
}, {
|
|
34830
34837
|
field: 'featureRefs'
|
|
34831
34838
|
}]
|
|
34832
|
-
}
|
|
34833
|
-
refSecondaryGrids: [(_root$contentStore$bo = root.contentStore.bottomToolBar.toolbarElement) !== null && _root$contentStore$bo !== void 0 ? _root$contentStore$bo : undefined, (_root$contentStore$ri = root.contentStore.rightToolBar.toolbarElement) !== null && _root$contentStore$ri !== void 0 ? _root$contentStore$ri : undefined].filter(function (element) {
|
|
34834
|
-
return element !== undefined;
|
|
34835
|
-
})
|
|
34839
|
+
}
|
|
34836
34840
|
})]
|
|
34837
34841
|
});
|
|
34838
34842
|
}
|
|
@@ -35203,6 +35207,10 @@ function OptionCombinations(_ref8) {
|
|
|
35203
35207
|
customParams: {
|
|
35204
35208
|
expandedEditor: OptionCombinationsExpandedEditor
|
|
35205
35209
|
}
|
|
35210
|
+
}] : decision.decisionType == 3 ? [{
|
|
35211
|
+
headerName: 'backoffice.idmCatalog.optionCombinations.label.actions',
|
|
35212
|
+
field: 'actions',
|
|
35213
|
+
cellDataType: 'text'
|
|
35206
35214
|
}] : []), [{
|
|
35207
35215
|
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
35208
35216
|
field: 'lastUpdatedDate',
|
|
@@ -35754,6 +35762,333 @@ function TableDetailInfos () {
|
|
|
35754
35762
|
});
|
|
35755
35763
|
}
|
|
35756
35764
|
|
|
35765
|
+
function PartlistPos(_ref) {
|
|
35766
|
+
var organizationId = _ref.organizationId,
|
|
35767
|
+
catalogId = _ref.catalogId,
|
|
35768
|
+
partlistId = _ref.partlistId,
|
|
35769
|
+
apiConfig = _ref.apiConfig,
|
|
35770
|
+
hooks = _ref.hooks;
|
|
35771
|
+
var _useTranslation = useTranslation(),
|
|
35772
|
+
t = _useTranslation.t;
|
|
35773
|
+
var visibility = [{
|
|
35774
|
+
name: t('backoffice.idmCatalog.partlistpos.label.visiblityDic.v0'),
|
|
35775
|
+
value: 0
|
|
35776
|
+
}, {
|
|
35777
|
+
name: t('backoffice.idmCatalog.partlistpos.label.visiblityDic.v1'),
|
|
35778
|
+
value: 1
|
|
35779
|
+
}];
|
|
35780
|
+
var applicationData = useMemo(function () {
|
|
35781
|
+
return {
|
|
35782
|
+
catalogId: catalogId,
|
|
35783
|
+
organizationId: organizationId,
|
|
35784
|
+
partlistId: partlistId
|
|
35785
|
+
};
|
|
35786
|
+
}, [catalogId, partlistId, organizationId]);
|
|
35787
|
+
var apiInterface = {
|
|
35788
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
|
|
35789
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
|
|
35790
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos',
|
|
35791
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos/${_id}',
|
|
35792
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${partlistId}/partlistpos/${_id}'
|
|
35793
|
+
};
|
|
35794
|
+
return /*#__PURE__*/jsx(Spreadsheet, {
|
|
35795
|
+
gridId: 'crud-grid_partlistpos',
|
|
35796
|
+
applicationData: applicationData,
|
|
35797
|
+
hooks: hooks,
|
|
35798
|
+
configuration: {
|
|
35799
|
+
type: 'dotnetSSM',
|
|
35800
|
+
apiInterface: apiInterface,
|
|
35801
|
+
dateFormat: 'LL',
|
|
35802
|
+
colDef: [{
|
|
35803
|
+
field: 'sequenceNo',
|
|
35804
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.sequenceNo',
|
|
35805
|
+
required: true,
|
|
35806
|
+
cellDataType: 'number'
|
|
35807
|
+
}, {
|
|
35808
|
+
field: 'itemRefSerieNo',
|
|
35809
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.itemRefSerieNo',
|
|
35810
|
+
cellDataType: 'lookup',
|
|
35811
|
+
editable: true,
|
|
35812
|
+
customParams: {
|
|
35813
|
+
filterCellType: 'number',
|
|
35814
|
+
nameField: 'itemRefSerieNoDisplayText',
|
|
35815
|
+
displayLabelTemplate: '${name} (${value})',
|
|
35816
|
+
apiInterface: {
|
|
35817
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series'
|
|
35818
|
+
},
|
|
35819
|
+
lookupValue: 'seriesName',
|
|
35820
|
+
lookupKey: 'serieNo',
|
|
35821
|
+
lookupKeyFilterType: {
|
|
35822
|
+
type: 'equals',
|
|
35823
|
+
filterType: 'number'
|
|
35824
|
+
},
|
|
35825
|
+
additionalMappings: [{
|
|
35826
|
+
lookupField: '_id',
|
|
35827
|
+
targetField: 'itemRefSerieId'
|
|
35828
|
+
}],
|
|
35829
|
+
multiple: false,
|
|
35830
|
+
translated: true
|
|
35831
|
+
},
|
|
35832
|
+
additionalFields: ['itemRefSerieNoDisplayText', 'itemRefSerieId'],
|
|
35833
|
+
isDictionary: true
|
|
35834
|
+
}, {
|
|
35835
|
+
field: 'itemRefTypeNo',
|
|
35836
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.itemRefTypeNo',
|
|
35837
|
+
cellDataType: 'lookup',
|
|
35838
|
+
customParams: {
|
|
35839
|
+
nameField: 'itemRefTypeNoDisplayText',
|
|
35840
|
+
displayLabelTemplate: '${name} (${value})',
|
|
35841
|
+
apiInterface: {
|
|
35842
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/${itemRefSerieId}/items'
|
|
35843
|
+
},
|
|
35844
|
+
lookupValue: 'shortText',
|
|
35845
|
+
lookupKey: 'typeNo',
|
|
35846
|
+
multiple: false,
|
|
35847
|
+
translated: true
|
|
35848
|
+
},
|
|
35849
|
+
additionalFields: ['itemRefTypeNoDisplayText'],
|
|
35850
|
+
isDictionary: true,
|
|
35851
|
+
editable: function editable(_ref2) {
|
|
35852
|
+
var data = _ref2.data;
|
|
35853
|
+
return !!data.itemRefSerieNo;
|
|
35854
|
+
}
|
|
35855
|
+
}, {
|
|
35856
|
+
field: 'decisions',
|
|
35857
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.decisions',
|
|
35858
|
+
cellDataType: 'lookup',
|
|
35859
|
+
editable: true,
|
|
35860
|
+
customParams: {
|
|
35861
|
+
filterCellType: 'number',
|
|
35862
|
+
nameField: 'decisionRefsDisplayTexts',
|
|
35863
|
+
displayLabelTemplate: '${name} (${value})',
|
|
35864
|
+
apiInterface: {
|
|
35865
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
|
|
35866
|
+
},
|
|
35867
|
+
lookupValue: 'decisionText',
|
|
35868
|
+
lookupKey: 'decisionNo',
|
|
35869
|
+
lookupKeyFilterType: {
|
|
35870
|
+
type: 'equals',
|
|
35871
|
+
filterType: 'number'
|
|
35872
|
+
},
|
|
35873
|
+
multiple: true,
|
|
35874
|
+
translated: true
|
|
35875
|
+
},
|
|
35876
|
+
additionalFields: ['decisionRefsDisplayTexts'],
|
|
35877
|
+
isDictionary: true
|
|
35878
|
+
}, {
|
|
35879
|
+
field: 'decisionPosCount',
|
|
35880
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.decisionPosCount',
|
|
35881
|
+
cellDataType: 'lookup',
|
|
35882
|
+
editable: true,
|
|
35883
|
+
customParams: {
|
|
35884
|
+
filterCellType: 'number',
|
|
35885
|
+
nameField: 'decisionPosCountDisplayText',
|
|
35886
|
+
displayLabelTemplate: '${name} (${value})',
|
|
35887
|
+
apiInterface: {
|
|
35888
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
|
|
35889
|
+
},
|
|
35890
|
+
lookupValue: 'decisionText',
|
|
35891
|
+
lookupKey: 'decisionNo',
|
|
35892
|
+
lookupKeyFilterType: {
|
|
35893
|
+
type: 'equals',
|
|
35894
|
+
filterType: 'number'
|
|
35895
|
+
},
|
|
35896
|
+
multiple: false,
|
|
35897
|
+
translated: true
|
|
35898
|
+
},
|
|
35899
|
+
additionalFields: ['decisionPosCountDisplayText'],
|
|
35900
|
+
isDictionary: true
|
|
35901
|
+
}, {
|
|
35902
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.posCountValue',
|
|
35903
|
+
field: 'posCountValue',
|
|
35904
|
+
cellDataType: 'number',
|
|
35905
|
+
defaultValue: 1,
|
|
35906
|
+
editable: true,
|
|
35907
|
+
required: true
|
|
35908
|
+
}, {
|
|
35909
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.posInvisibility',
|
|
35910
|
+
field: 'posInvisibility',
|
|
35911
|
+
defaultValue: 0,
|
|
35912
|
+
editable: true,
|
|
35913
|
+
cellDataType: 'enum',
|
|
35914
|
+
customParams: {
|
|
35915
|
+
enumData: visibility,
|
|
35916
|
+
displayLabelTemplate: '${name} (${value})'
|
|
35917
|
+
}
|
|
35918
|
+
}, {
|
|
35919
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
35920
|
+
field: 'lastUpdatedDate',
|
|
35921
|
+
cellDataType: 'dateString',
|
|
35922
|
+
editable: false
|
|
35923
|
+
}, {
|
|
35924
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
35925
|
+
field: 'createdDate',
|
|
35926
|
+
cellDataType: 'dateString',
|
|
35927
|
+
editable: false
|
|
35928
|
+
}, {
|
|
35929
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
35930
|
+
field: 'createdByDisplayText',
|
|
35931
|
+
editable: false
|
|
35932
|
+
}, {
|
|
35933
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
35934
|
+
field: 'lastUpdatedByDisplayText',
|
|
35935
|
+
editable: false
|
|
35936
|
+
}, {
|
|
35937
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
35938
|
+
field: '_id',
|
|
35939
|
+
editable: false
|
|
35940
|
+
}, {
|
|
35941
|
+
field: 'organizationId',
|
|
35942
|
+
editable: false,
|
|
35943
|
+
hide: true,
|
|
35944
|
+
lockVisible: true,
|
|
35945
|
+
suppressColumnsToolPanel: true,
|
|
35946
|
+
defaultValue: '${organizationId}'
|
|
35947
|
+
}, {
|
|
35948
|
+
field: 'catalogId',
|
|
35949
|
+
editable: false,
|
|
35950
|
+
hide: true,
|
|
35951
|
+
lockVisible: true,
|
|
35952
|
+
suppressColumnsToolPanel: true,
|
|
35953
|
+
defaultValue: '${catalogId}'
|
|
35954
|
+
}]
|
|
35955
|
+
}
|
|
35956
|
+
});
|
|
35957
|
+
}
|
|
35958
|
+
|
|
35959
|
+
function TablePartlists () {
|
|
35960
|
+
var _useTranslation = useTranslation(),
|
|
35961
|
+
t = _useTranslation.t;
|
|
35962
|
+
var root = useStore();
|
|
35963
|
+
var _useModule = useModule(['partlists']),
|
|
35964
|
+
catalogId = _useModule.catalogId,
|
|
35965
|
+
organizationId = _useModule.organizationId,
|
|
35966
|
+
updateNavigation = _useModule.updateNavigation,
|
|
35967
|
+
apiConfig = _useModule.apiConfig;
|
|
35968
|
+
var _React$useState = React.useState(),
|
|
35969
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
35970
|
+
selectedPartlist = _React$useState2[0],
|
|
35971
|
+
setSelectedPartlist = _React$useState2[1];
|
|
35972
|
+
useEffect(function () {
|
|
35973
|
+
if (selectedPartlist !== null && selectedPartlist !== void 0 && selectedPartlist._id) {
|
|
35974
|
+
root.contentStore.bottomToolBar.tools = [{
|
|
35975
|
+
id: 'partlistpos',
|
|
35976
|
+
name: t('backoffice.menu.items.label.IDMCatalogEditorTablePartlistpos'),
|
|
35977
|
+
element: /*#__PURE__*/jsx(PartlistPos, {
|
|
35978
|
+
organizationId: organizationId,
|
|
35979
|
+
catalogId: catalogId,
|
|
35980
|
+
apiConfig: apiConfig,
|
|
35981
|
+
partlistId: selectedPartlist._id
|
|
35982
|
+
}),
|
|
35983
|
+
startWidth: 300,
|
|
35984
|
+
defaultPinned: false,
|
|
35985
|
+
defaultOpen: false
|
|
35986
|
+
}];
|
|
35987
|
+
} else {
|
|
35988
|
+
root.contentStore.bottomToolBar.tools = [];
|
|
35989
|
+
}
|
|
35990
|
+
}, [selectedPartlist]);
|
|
35991
|
+
useEffect(function () {
|
|
35992
|
+
//remove partilstpos table, when partlists are unmounted
|
|
35993
|
+
return function () {
|
|
35994
|
+
root.contentStore.bottomToolBar.tools = [];
|
|
35995
|
+
};
|
|
35996
|
+
}, []);
|
|
35997
|
+
var applicationData = useMemo(function () {
|
|
35998
|
+
return {
|
|
35999
|
+
catalogId: catalogId,
|
|
36000
|
+
organizationId: organizationId
|
|
36001
|
+
};
|
|
36002
|
+
}, [catalogId]);
|
|
36003
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
36004
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
36005
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
36006
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTablePartlists'), /*#__PURE__*/jsx(Space$1, {
|
|
36007
|
+
style: {
|
|
36008
|
+
"float": 'right'
|
|
36009
|
+
},
|
|
36010
|
+
children: /*#__PURE__*/jsx(CatalogSelector, {
|
|
36011
|
+
selectedCatalog: catalogId,
|
|
36012
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
36013
|
+
return updateNavigation(id);
|
|
36014
|
+
},
|
|
36015
|
+
idmService: apiConfig.idmService,
|
|
36016
|
+
organizationId: organizationId
|
|
36017
|
+
})
|
|
36018
|
+
})]
|
|
36019
|
+
})
|
|
36020
|
+
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
36021
|
+
gridId: 'crud-grid_partlists',
|
|
36022
|
+
applicationData: applicationData,
|
|
36023
|
+
hooks: {
|
|
36024
|
+
onCellSelectionChanged: function onCellSelectionChanged(event) {
|
|
36025
|
+
if (event.selection.length == 1) {
|
|
36026
|
+
setSelectedPartlist(event.selection[0].node.data);
|
|
36027
|
+
} else {
|
|
36028
|
+
setSelectedPartlist(null);
|
|
36029
|
+
}
|
|
36030
|
+
}
|
|
36031
|
+
},
|
|
36032
|
+
configuration: {
|
|
36033
|
+
type: 'dotnetSSM',
|
|
36034
|
+
apiInterface: {
|
|
36035
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists',
|
|
36036
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists',
|
|
36037
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${_id}',
|
|
36038
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${_id}',
|
|
36039
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists/${_id}'
|
|
36040
|
+
},
|
|
36041
|
+
dateFormat: 'LL',
|
|
36042
|
+
colDef: [{
|
|
36043
|
+
field: 'partlistKey',
|
|
36044
|
+
headerName: 'backoffice.idmCatalog.partlist.label.partlistKey',
|
|
36045
|
+
required: true
|
|
36046
|
+
}, {
|
|
36047
|
+
field: 'comment',
|
|
36048
|
+
headerName: 'backoffice.idmCatalog.partlist.label.comment',
|
|
36049
|
+
required: true
|
|
36050
|
+
}, {
|
|
36051
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
36052
|
+
field: 'lastUpdatedDate',
|
|
36053
|
+
cellDataType: 'dateString',
|
|
36054
|
+
editable: false
|
|
36055
|
+
}, {
|
|
36056
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
36057
|
+
field: 'createdDate',
|
|
36058
|
+
cellDataType: 'dateString',
|
|
36059
|
+
editable: false
|
|
36060
|
+
}, {
|
|
36061
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
36062
|
+
field: 'createdByDisplayText',
|
|
36063
|
+
editable: false
|
|
36064
|
+
}, {
|
|
36065
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
36066
|
+
field: 'lastUpdatedByDisplayText',
|
|
36067
|
+
editable: false
|
|
36068
|
+
}, {
|
|
36069
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
36070
|
+
field: '_id',
|
|
36071
|
+
editable: false
|
|
36072
|
+
}, {
|
|
36073
|
+
field: 'organizationId',
|
|
36074
|
+
editable: false,
|
|
36075
|
+
hide: true,
|
|
36076
|
+
lockVisible: true,
|
|
36077
|
+
suppressColumnsToolPanel: true,
|
|
36078
|
+
defaultValue: '${organizationId}'
|
|
36079
|
+
}, {
|
|
36080
|
+
field: 'catalogId',
|
|
36081
|
+
editable: false,
|
|
36082
|
+
hide: true,
|
|
36083
|
+
lockVisible: true,
|
|
36084
|
+
suppressColumnsToolPanel: true,
|
|
36085
|
+
defaultValue: '${catalogId}'
|
|
36086
|
+
}]
|
|
36087
|
+
}
|
|
36088
|
+
})]
|
|
36089
|
+
});
|
|
36090
|
+
}
|
|
36091
|
+
|
|
35757
36092
|
function IDMCatalogEditor (_ref) {
|
|
35758
36093
|
_objectDestructuringEmpty(_ref);
|
|
35759
36094
|
return /*#__PURE__*/jsx("div", {
|
|
@@ -35789,6 +36124,9 @@ function Content$1() {
|
|
|
35789
36124
|
}), /*#__PURE__*/jsx(Route, {
|
|
35790
36125
|
path: ":catalogId/decisions",
|
|
35791
36126
|
element: /*#__PURE__*/jsx(TableDecisions, {})
|
|
36127
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
36128
|
+
path: ":catalogId/partlists",
|
|
36129
|
+
element: /*#__PURE__*/jsx(TablePartlists, {})
|
|
35792
36130
|
}), /*#__PURE__*/jsx(Route, {
|
|
35793
36131
|
path: ":catalogId/detailinfos",
|
|
35794
36132
|
element: /*#__PURE__*/jsx(TableDetailInfos, {})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionCombinations.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAgOrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,
|
|
1
|
+
{"version":3,"file":"OptionCombinations.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAgOrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBAkKA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
|
+
import { DivaSpreadsheetHooks } from '@crystaldesign/spreadsheet';
|
|
4
|
+
export default function PartlistPos({ organizationId, catalogId, partlistId, apiConfig, hooks, }: {
|
|
5
|
+
organizationId: string;
|
|
6
|
+
catalogId: string;
|
|
7
|
+
partlistId?: string;
|
|
8
|
+
apiConfig: ApiConfig;
|
|
9
|
+
hooks?: DivaSpreadsheetHooks<any>;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
//# sourceMappingURL=PartlistPos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,KAAK,GACN,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;CACnC,qBA8LA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAUxD,UAAU,KAAK;IACb,aAAa,EAAE,6BAA6B,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,KAAK,qBAMjC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAUlD,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAUlD,MAAM,CAAC,OAAO,gCAkKb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAUlD,MAAM,CAAC,OAAO,gCA0Ib"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;uCA+F5B,MAAM,YAAW,MAAM,EAAE;;;;EAmC7C"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePartlistPos/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/TablePartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAyPb"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "25.1.0-beta.
|
|
3
|
+
"version": "25.1.0-beta.34",
|
|
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.1.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "25.1.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "25.1.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "25.1.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "25.1.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "25.1.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "25.1.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "25.1.0-beta.34",
|
|
19
|
+
"@crystaldesign/content-item": "25.1.0-beta.34",
|
|
20
|
+
"@crystaldesign/diva-core": "25.1.0-beta.34",
|
|
21
|
+
"@crystaldesign/diva-utils": "25.1.0-beta.34",
|
|
22
|
+
"@crystaldesign/media-upload": "25.1.0-beta.34",
|
|
23
|
+
"@crystaldesign/rtf-editor": "25.1.0-beta.34",
|
|
24
|
+
"@crystaldesign/spreadsheet": "25.1.0-beta.34",
|
|
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": "08a36f341ca2ba0d92d08a145c231d0f16680b0c"
|
|
55
55
|
}
|