@crystaldesign/diva-backoffice 25.5.0-beta.23 → 25.5.0-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/esm/index.js
CHANGED
@@ -30599,8 +30599,9 @@ function useModule$1 (currentModules) {
|
|
30599
30599
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30600
30600
|
label: /*#__PURE__*/jsx(Link, {
|
30601
30601
|
to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/catalogs' + (searchParams ? '?' + searchParams.toString() : ''),
|
30602
|
-
children: t('backoffice.menu.items.label.
|
30603
|
-
})
|
30602
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingCatalogs')
|
30603
|
+
}),
|
30604
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingCatalogs')
|
30604
30605
|
}, {
|
30605
30606
|
key: 'series',
|
30606
30607
|
style: {
|
@@ -30609,8 +30610,9 @@ function useModule$1 (currentModules) {
|
|
30609
30610
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30610
30611
|
label: /*#__PURE__*/jsx(Link, {
|
30611
30612
|
to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/series' + (searchParams ? '?' + searchParams.toString() : ''),
|
30612
|
-
children: t('backoffice.menu.items.label.
|
30613
|
-
})
|
30613
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
|
30614
|
+
}),
|
30615
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
|
30614
30616
|
}]), [{
|
30615
30617
|
key: 'features',
|
30616
30618
|
style: {
|
@@ -30619,8 +30621,9 @@ function useModule$1 (currentModules) {
|
|
30619
30621
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30620
30622
|
label: /*#__PURE__*/jsx(Link, {
|
30621
30623
|
to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/features' + (searchParams ? '?' + searchParams.toString() : ''),
|
30622
|
-
children: t('backoffice.menu.items.label.
|
30623
|
-
})
|
30624
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
|
30625
|
+
}),
|
30626
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
|
30624
30627
|
}, {
|
30625
30628
|
key: 'options',
|
30626
30629
|
style: {
|
@@ -30629,8 +30632,9 @@ function useModule$1 (currentModules) {
|
|
30629
30632
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30630
30633
|
label: /*#__PURE__*/jsx(Link, {
|
30631
30634
|
to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/options' + (searchParams ? '?' + searchParams.toString() : ''),
|
30632
|
-
children: t('backoffice.menu.items.label.
|
30633
|
-
})
|
30635
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
|
30636
|
+
}),
|
30637
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
|
30634
30638
|
}, {
|
30635
30639
|
key: 'items',
|
30636
30640
|
style: {
|
@@ -30639,8 +30643,9 @@ function useModule$1 (currentModules) {
|
|
30639
30643
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30640
30644
|
label: /*#__PURE__*/jsx(Link, {
|
30641
30645
|
to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/items' + (searchParams ? '?' + searchParams.toString() : ''),
|
30642
|
-
children: t('backoffice.menu.items.label.
|
30643
|
-
})
|
30646
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
|
30647
|
+
}),
|
30648
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
|
30644
30649
|
}], _toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
|
30645
30650
|
key: 'detailInfos',
|
30646
30651
|
style: {
|
@@ -30649,8 +30654,9 @@ function useModule$1 (currentModules) {
|
|
30649
30654
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30650
30655
|
label: /*#__PURE__*/jsx(Link, {
|
30651
30656
|
to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/detailInfos' + (searchParams ? '?' + searchParams.toString() : ''),
|
30652
|
-
children: t('backoffice.menu.items.label.
|
30653
|
-
})
|
30657
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingDetailInfos')
|
30658
|
+
}),
|
30659
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingDetailInfos')
|
30654
30660
|
}]))
|
30655
30661
|
}, {
|
30656
30662
|
key: 'tabgroups',
|
@@ -30661,7 +30667,8 @@ function useModule$1 (currentModules) {
|
|
30661
30667
|
label: /*#__PURE__*/jsx(Link, {
|
30662
30668
|
to: 'catalogs/idmeditor/packages/' + packageId + '/tabgroups' + (searchParams ? '?' + searchParams.toString() : ''),
|
30663
30669
|
children: t('backoffice.menu.items.label.IDMEnricherEditorTableTabGroups')
|
30664
|
-
})
|
30670
|
+
}),
|
30671
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableTabGroups')
|
30665
30672
|
}, {
|
30666
30673
|
key: 'exclusivity',
|
30667
30674
|
style: {
|
@@ -30670,54 +30677,58 @@ function useModule$1 (currentModules) {
|
|
30670
30677
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30671
30678
|
label: t('backoffice.menu.items.label.IDMEnricherEditorTableExclusivity'),
|
30672
30679
|
children: [].concat(_toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
|
30673
|
-
key: '
|
30680
|
+
key: 'eseries',
|
30674
30681
|
style: {
|
30675
30682
|
margin: 0
|
30676
30683
|
},
|
30677
30684
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30678
30685
|
label: /*#__PURE__*/jsx(Link, {
|
30679
|
-
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/
|
30680
|
-
children: t('backoffice.menu.items.label.
|
30681
|
-
})
|
30686
|
+
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/eseries' + (searchParams ? '?' + searchParams.toString() : ''),
|
30687
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
|
30688
|
+
}),
|
30689
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
|
30682
30690
|
}]), [{
|
30683
|
-
key: '
|
30691
|
+
key: 'efeatures',
|
30684
30692
|
style: {
|
30685
30693
|
margin: 0
|
30686
30694
|
},
|
30687
30695
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30688
30696
|
label: /*#__PURE__*/jsx(Link, {
|
30689
|
-
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/
|
30690
|
-
children: t('backoffice.menu.items.label.
|
30691
|
-
})
|
30697
|
+
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/efeatures' + (searchParams ? '?' + searchParams.toString() : ''),
|
30698
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
|
30699
|
+
}),
|
30700
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
|
30692
30701
|
}, {
|
30693
|
-
key: '
|
30702
|
+
key: 'eoptions',
|
30694
30703
|
style: {
|
30695
30704
|
margin: 0
|
30696
30705
|
},
|
30697
30706
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30698
30707
|
label: /*#__PURE__*/jsx(Link, {
|
30699
|
-
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/
|
30700
|
-
children: t('backoffice.menu.items.label.
|
30701
|
-
})
|
30708
|
+
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/eoptions' + (searchParams ? '?' + searchParams.toString() : ''),
|
30709
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
|
30710
|
+
}),
|
30711
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
|
30702
30712
|
}, {
|
30703
|
-
key: '
|
30713
|
+
key: 'eitems',
|
30704
30714
|
style: {
|
30705
30715
|
margin: 0
|
30706
30716
|
},
|
30707
30717
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30708
30718
|
label: /*#__PURE__*/jsx(Link, {
|
30709
|
-
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/
|
30710
|
-
children: t('backoffice.menu.items.label.
|
30711
|
-
})
|
30719
|
+
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/eitems' + (searchParams ? '?' + searchParams.toString() : ''),
|
30720
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
|
30721
|
+
}),
|
30722
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
|
30712
30723
|
}], _toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
|
30713
|
-
key: '
|
30724
|
+
key: 'edetailInfos',
|
30714
30725
|
style: {
|
30715
30726
|
margin: 0
|
30716
30727
|
},
|
30717
30728
|
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
30718
30729
|
label: /*#__PURE__*/jsx(Link, {
|
30719
|
-
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/
|
30720
|
-
children: t('backoffice.menu.items.label.
|
30730
|
+
to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/edetailInfos' + (searchParams ? '?' + searchParams.toString() : ''),
|
30731
|
+
children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingDetailInfos')
|
30721
30732
|
})
|
30722
30733
|
}]))
|
30723
30734
|
}, {
|
@@ -30729,7 +30740,8 @@ function useModule$1 (currentModules) {
|
|
30729
30740
|
label: /*#__PURE__*/jsx(Link, {
|
30730
30741
|
to: 'catalogs/idmeditor/packages/' + packageId + '/properties' + (searchParams ? '?' + searchParams.toString() : ''),
|
30731
30742
|
children: t('backoffice.menu.items.label.IDMEnricherEditorTableProperties')
|
30732
|
-
})
|
30743
|
+
}),
|
30744
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableProperties')
|
30733
30745
|
}].concat(_toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
|
30734
30746
|
key: 'partlistpos',
|
30735
30747
|
style: {
|
@@ -30739,7 +30751,8 @@ function useModule$1 (currentModules) {
|
|
30739
30751
|
label: /*#__PURE__*/jsx(Link, {
|
30740
30752
|
to: 'catalogs/idmeditor/packages/' + packageId + '/partlistpos' + (searchParams ? '?' + searchParams.toString() : ''),
|
30741
30753
|
children: t('backoffice.menu.items.label.IDMEnricherEditorTablePartlistPos')
|
30742
|
-
})
|
30754
|
+
}),
|
30755
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTablePartlistPos')
|
30743
30756
|
}, {
|
30744
30757
|
key: 'groups',
|
30745
30758
|
style: {
|
@@ -30749,7 +30762,8 @@ function useModule$1 (currentModules) {
|
|
30749
30762
|
label: /*#__PURE__*/jsx(Link, {
|
30750
30763
|
to: 'catalogs/idmeditor/packages/' + packageId + '/groups' + (searchParams ? '?' + searchParams.toString() : ''),
|
30751
30764
|
children: t('backoffice.menu.items.label.IDMEnricherEditorTableGroups')
|
30752
|
-
})
|
30765
|
+
}),
|
30766
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTableGroups')
|
30753
30767
|
}, {
|
30754
30768
|
key: 'pricelists',
|
30755
30769
|
style: {
|
@@ -30759,7 +30773,8 @@ function useModule$1 (currentModules) {
|
|
30759
30773
|
label: /*#__PURE__*/jsx(Link, {
|
30760
30774
|
to: 'catalogs/idmeditor/packages/' + packageId + '/pricelists' + (searchParams ? '?' + searchParams.toString() : ''),
|
30761
30775
|
children: t('backoffice.menu.items.label.IDMEnricherEditorTablePriceLists')
|
30762
|
-
})
|
30776
|
+
}),
|
30777
|
+
title: t('backoffice.menu.items.label.IDMEnricherEditorTablePriceLists')
|
30763
30778
|
}]));
|
30764
30779
|
}, [packageId, selectedPackage, searchParams]);
|
30765
30780
|
if (!packageId) throw new Error('packageId is required');
|
@@ -32937,7 +32952,7 @@ var ExclusivitySerie = function ExclusivitySerie() {
|
|
32937
32952
|
return getConfig(t);
|
32938
32953
|
}, [i18n.language]);
|
32939
32954
|
return /*#__PURE__*/jsx(ExclusivityTable, {
|
32940
|
-
type: "
|
32955
|
+
type: "eseries",
|
32941
32956
|
config: config['serie']
|
32942
32957
|
});
|
32943
32958
|
};
|
@@ -32949,7 +32964,7 @@ var ExclusivityFeature = function ExclusivityFeature() {
|
|
32949
32964
|
return getConfig(t);
|
32950
32965
|
}, [i18n.language]);
|
32951
32966
|
return /*#__PURE__*/jsx(ExclusivityTable, {
|
32952
|
-
type: "
|
32967
|
+
type: "efeatures",
|
32953
32968
|
config: config['feature']
|
32954
32969
|
});
|
32955
32970
|
};
|
@@ -32961,7 +32976,7 @@ var ExclusivityExclusivityDetailInfo = function ExclusivityExclusivityDetailInfo
|
|
32961
32976
|
return getConfig(t);
|
32962
32977
|
}, [i18n.language]);
|
32963
32978
|
return /*#__PURE__*/jsx(ExclusivityTable, {
|
32964
|
-
type: "
|
32979
|
+
type: "edetailInfos",
|
32965
32980
|
config: config['detailInfo']
|
32966
32981
|
});
|
32967
32982
|
};
|
@@ -32973,7 +32988,7 @@ var ExclusivitySerieItems = function ExclusivitySerieItems() {
|
|
32973
32988
|
return getConfig(t);
|
32974
32989
|
}, [i18n.language]);
|
32975
32990
|
return /*#__PURE__*/jsx(ExclusivityTable, {
|
32976
|
-
type: "
|
32991
|
+
type: "eitems",
|
32977
32992
|
config: config['item']
|
32978
32993
|
});
|
32979
32994
|
};
|
@@ -32985,7 +33000,7 @@ var ExclusivityFeatureOption = function ExclusivityFeatureOption() {
|
|
32985
33000
|
return getConfig(t);
|
32986
33001
|
}, [i18n.language]);
|
32987
33002
|
return /*#__PURE__*/jsx(ExclusivityTable, {
|
32988
|
-
type: "
|
33003
|
+
type: "eoptions",
|
32989
33004
|
config: config['option']
|
32990
33005
|
});
|
32991
33006
|
};
|
@@ -33002,23 +33017,23 @@ var ExclusivityTable = observer(function (_ref) {
|
|
33002
33017
|
selectedSerie = _useModule.selectedSerie;
|
33003
33018
|
var apiInterface = useMemo(function () {
|
33004
33019
|
var patchId = '${_id}';
|
33005
|
-
if (type === '
|
33006
|
-
if (type === '
|
33020
|
+
if (type === 'eitems') patchId = '${typeNo}';
|
33021
|
+
if (type === 'eoptions') patchId = '${optionKey}';
|
33007
33022
|
var patchId2 = '${_id}';
|
33008
|
-
if (type === '
|
33023
|
+
if (type === 'eoptions') patchId2 = '${featureNos}';
|
33009
33024
|
var subType = 'features';
|
33010
|
-
if (type === '
|
33011
|
-
if (type === '
|
33012
|
-
if (type === '
|
33013
|
-
var listType = type === '
|
33025
|
+
if (type === 'eseries' || type === 'eitems') subType = 'series';
|
33026
|
+
if (type === 'edetailInfos') subType = 'detailInfos';
|
33027
|
+
if (type === 'eoptions') subType = 'options';
|
33028
|
+
var listType = type === 'eitems' ? 'items' : 'options';
|
33014
33029
|
return {
|
33015
|
-
read: !['
|
33016
|
-
update: !['
|
33030
|
+
read: !['eitems'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType,
|
33031
|
+
update: !['eitems', 'eoptions'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId : type === 'eoptions' ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId + '?featureNos=' + patchId2 : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType + '/' + patchId
|
33017
33032
|
};
|
33018
33033
|
}, [type]);
|
33019
33034
|
var oldDataRef = useRef();
|
33020
33035
|
var applicationData = useMemo(function () {
|
33021
|
-
if (type === '
|
33036
|
+
if (type === 'eitems' && !selectedSerie) {
|
33022
33037
|
return oldDataRef.current;
|
33023
33038
|
}
|
33024
33039
|
var newData = {
|
@@ -33031,13 +33046,13 @@ var ExclusivityTable = observer(function (_ref) {
|
|
33031
33046
|
return newData;
|
33032
33047
|
}, [type, packageId, organizationId, selectedSerie]);
|
33033
33048
|
var showTable = useMemo(function () {
|
33034
|
-
return selectedPackage && (!['
|
33049
|
+
return selectedPackage && (!['eitems'].includes(type) || type === 'eitems' && applicationData);
|
33035
33050
|
}, [type, applicationData, selectedPackage]);
|
33036
33051
|
var configuration = useMemo(function () {
|
33037
33052
|
return {
|
33038
33053
|
type: 'dotnetSSM',
|
33039
33054
|
apiInterface: apiInterface,
|
33040
|
-
idCol: type === '
|
33055
|
+
idCol: type === 'eitems' ? 'typeNo' : type === 'eoptions' ? '_id' : undefined,
|
33041
33056
|
dateFormat: 'DD.MM.YYYY, HH:mm:ss',
|
33042
33057
|
floatingFilter: true,
|
33043
33058
|
colDef: [{
|
@@ -33072,7 +33087,7 @@ var ExclusivityTable = observer(function (_ref) {
|
|
33072
33087
|
},
|
33073
33088
|
children: [/*#__PURE__*/jsx(PackageSelector$1, {
|
33074
33089
|
modules: ['exclusivity', type]
|
33075
|
-
}), type === '
|
33090
|
+
}), type === 'eitems' && /*#__PURE__*/jsx(SeriesSelector$3, {
|
33076
33091
|
modules: ['exclusivity', type],
|
33077
33092
|
dataSet: 'exclusivities'
|
33078
33093
|
})]
|
@@ -34598,19 +34613,19 @@ function Content$3() {
|
|
34598
34613
|
path: ":packageId/tabgroups",
|
34599
34614
|
element: /*#__PURE__*/jsx(TableTabGroups, {})
|
34600
34615
|
}), /*#__PURE__*/jsx(Route, {
|
34601
|
-
path: ":packageId/exclusivity/
|
34616
|
+
path: ":packageId/exclusivity/eseries",
|
34602
34617
|
element: /*#__PURE__*/jsx(ExclusivitySerie, {})
|
34603
34618
|
}), /*#__PURE__*/jsx(Route, {
|
34604
|
-
path: ":packageId/exclusivity/
|
34619
|
+
path: ":packageId/exclusivity/eitems",
|
34605
34620
|
element: /*#__PURE__*/jsx(ExclusivitySerieItems, {})
|
34606
34621
|
}), /*#__PURE__*/jsx(Route, {
|
34607
|
-
path: ":packageId/exclusivity/
|
34622
|
+
path: ":packageId/exclusivity/edetailInfos",
|
34608
34623
|
element: /*#__PURE__*/jsx(ExclusivityExclusivityDetailInfo, {})
|
34609
34624
|
}), /*#__PURE__*/jsx(Route, {
|
34610
|
-
path: ":packageId/exclusivity/
|
34625
|
+
path: ":packageId/exclusivity/efeatures",
|
34611
34626
|
element: /*#__PURE__*/jsx(ExclusivityFeature, {})
|
34612
34627
|
}), /*#__PURE__*/jsx(Route, {
|
34613
|
-
path: ":packageId/exclusivity/
|
34628
|
+
path: ":packageId/exclusivity/eoptions",
|
34614
34629
|
element: /*#__PURE__*/jsx(ExclusivityFeatureOption, {})
|
34615
34630
|
}), /*#__PURE__*/jsx(Route, {
|
34616
34631
|
path: ":packageId/properties",
|
@@ -35873,7 +35888,8 @@ function useModule (currentModules) {
|
|
35873
35888
|
label: /*#__PURE__*/jsx(Link, {
|
35874
35889
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/series' + (searchParams ? '?' + searchParams.toString() : ''),
|
35875
35890
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableSeries')
|
35876
|
-
})
|
35891
|
+
}),
|
35892
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableSeries')
|
35877
35893
|
}, {
|
35878
35894
|
key: 'features',
|
35879
35895
|
style: {
|
@@ -35883,7 +35899,8 @@ function useModule (currentModules) {
|
|
35883
35899
|
label: /*#__PURE__*/jsx(Link, {
|
35884
35900
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/features' + (searchParams ? '?' + searchParams.toString() : ''),
|
35885
35901
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures')
|
35886
|
-
})
|
35902
|
+
}),
|
35903
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures')
|
35887
35904
|
}, {
|
35888
35905
|
key: 'options',
|
35889
35906
|
style: {
|
@@ -35893,7 +35910,8 @@ function useModule (currentModules) {
|
|
35893
35910
|
label: /*#__PURE__*/jsx(Link, {
|
35894
35911
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/options' + (searchParams ? '?' + searchParams.toString() : ''),
|
35895
35912
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions')
|
35896
|
-
})
|
35913
|
+
}),
|
35914
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions')
|
35897
35915
|
}, {
|
35898
35916
|
key: 'optiongroups',
|
35899
35917
|
style: {
|
@@ -35903,7 +35921,8 @@ function useModule (currentModules) {
|
|
35903
35921
|
label: /*#__PURE__*/jsx(Link, {
|
35904
35922
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/optiongroups' + (searchParams ? '?' + searchParams.toString() : ''),
|
35905
35923
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableOptionGroups')
|
35906
|
-
})
|
35924
|
+
}),
|
35925
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableOptionGroups')
|
35907
35926
|
}, {
|
35908
35927
|
key: 'featureclasses',
|
35909
35928
|
style: {
|
@@ -35913,7 +35932,8 @@ function useModule (currentModules) {
|
|
35913
35932
|
label: /*#__PURE__*/jsx(Link, {
|
35914
35933
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/featureclasses' + (searchParams ? '?' + searchParams.toString() : ''),
|
35915
35934
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses')
|
35916
|
-
})
|
35935
|
+
}),
|
35936
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses')
|
35917
35937
|
}, {
|
35918
35938
|
key: 'items',
|
35919
35939
|
style: {
|
@@ -35923,7 +35943,8 @@ function useModule (currentModules) {
|
|
35923
35943
|
label: /*#__PURE__*/jsx(Link, {
|
35924
35944
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/items' + (searchParams ? '?' + searchParams.toString() : ''),
|
35925
35945
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableItems')
|
35926
|
-
})
|
35946
|
+
}),
|
35947
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableItems')
|
35927
35948
|
}, {
|
35928
35949
|
key: 'decisions',
|
35929
35950
|
style: {
|
@@ -35933,7 +35954,8 @@ function useModule (currentModules) {
|
|
35933
35954
|
label: /*#__PURE__*/jsx(Link, {
|
35934
35955
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/decisions' + (searchParams ? '?' + searchParams.toString() : ''),
|
35935
35956
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableDecisions')
|
35936
|
-
})
|
35957
|
+
}),
|
35958
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableDecisions')
|
35937
35959
|
}, {
|
35938
35960
|
key: 'partlists',
|
35939
35961
|
style: {
|
@@ -35943,7 +35965,8 @@ function useModule (currentModules) {
|
|
35943
35965
|
label: /*#__PURE__*/jsx(Link, {
|
35944
35966
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/partlists' + (searchParams ? '?' + searchParams.toString() : ''),
|
35945
35967
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTablePartlists')
|
35946
|
-
})
|
35968
|
+
}),
|
35969
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTablePartlists')
|
35947
35970
|
}, {
|
35948
35971
|
key: 'detailinfos',
|
35949
35972
|
style: {
|
@@ -35953,7 +35976,8 @@ function useModule (currentModules) {
|
|
35953
35976
|
label: /*#__PURE__*/jsx(Link, {
|
35954
35977
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/detailinfos' + (searchParams ? '?' + searchParams.toString() : ''),
|
35955
35978
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableDetailInfos')
|
35956
|
-
})
|
35979
|
+
}),
|
35980
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTableDetailInfos')
|
35957
35981
|
}, {
|
35958
35982
|
key: 'pricefeaturegroups',
|
35959
35983
|
style: {
|
@@ -35963,7 +35987,8 @@ function useModule (currentModules) {
|
|
35963
35987
|
label: /*#__PURE__*/jsx(Link, {
|
35964
35988
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/pricefeaturegroups' + (searchParams ? '?' + searchParams.toString() : ''),
|
35965
35989
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTablePriceFeatureGroups')
|
35966
|
-
})
|
35990
|
+
}),
|
35991
|
+
title: t('backoffice.menu.items.label.IDMCatalogEditorTablePriceFeatureGroups')
|
35967
35992
|
}, {
|
35968
35993
|
key: 'prices',
|
35969
35994
|
style: {
|
@@ -35973,7 +35998,8 @@ function useModule (currentModules) {
|
|
35973
35998
|
label: /*#__PURE__*/jsx(Link, {
|
35974
35999
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/prices' + (searchParams ? '?' + searchParams.toString() : ''),
|
35975
36000
|
children: t('backoffice.menu.prices.label.IDMCatalogEditorTablePrices')
|
35976
|
-
})
|
36001
|
+
}),
|
36002
|
+
title: t('backoffice.menu.prices.label.IDMCatalogEditorTablePrices')
|
35977
36003
|
}];
|
35978
36004
|
}, [catalogId]);
|
35979
36005
|
if (!catalogId) throw new Error('catalogId is required');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useModule.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useModule.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;EAuKhD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMEnricherEditor/hooks/useModule.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;;
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMEnricherEditor/hooks/useModule.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;;EA+QhD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
3
|
-
"version": "25.5.0-beta.
|
3
|
+
"version": "25.5.0-beta.24",
|
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.5.0-beta.
|
19
|
-
"@crystaldesign/content-item": "25.5.0-beta.
|
20
|
-
"@crystaldesign/diva-core": "25.5.0-beta.
|
21
|
-
"@crystaldesign/diva-utils": "25.5.0-beta.
|
22
|
-
"@crystaldesign/media-upload": "25.5.0-beta.
|
23
|
-
"@crystaldesign/rtf-editor": "25.5.0-beta.
|
24
|
-
"@crystaldesign/spreadsheet": "25.5.0-beta.
|
18
|
+
"@crystaldesign/content-box": "25.5.0-beta.24",
|
19
|
+
"@crystaldesign/content-item": "25.5.0-beta.24",
|
20
|
+
"@crystaldesign/diva-core": "25.5.0-beta.24",
|
21
|
+
"@crystaldesign/diva-utils": "25.5.0-beta.24",
|
22
|
+
"@crystaldesign/media-upload": "25.5.0-beta.24",
|
23
|
+
"@crystaldesign/rtf-editor": "25.5.0-beta.24",
|
24
|
+
"@crystaldesign/spreadsheet": "25.5.0-beta.24",
|
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": "b0281d1b0a636e6ec318b25ce2f3c29d5fec5d49"
|
55
55
|
}
|