@crystaldesign/diva-backoffice 26.4.0-beta.11 → 26.4.0-beta.12
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
|
@@ -38202,7 +38202,7 @@ var Prices = observer(function (_ref) {
|
|
|
38202
38202
|
setNodeDataValue({
|
|
38203
38203
|
pfgPricefactors: newFactors
|
|
38204
38204
|
});
|
|
38205
|
-
}, [selectedSerie]);
|
|
38205
|
+
}, [selectedSerie, pricelist, setNodeDataValue]);
|
|
38206
38206
|
var updatePfgPriority = useCallback(function (priceFeatureGroupItem, value) {
|
|
38207
38207
|
var _newPriority$selected;
|
|
38208
38208
|
if (!selectedSerie) return;
|
|
@@ -38819,10 +38819,13 @@ var TablePriceList = observer(function () {
|
|
|
38819
38819
|
},
|
|
38820
38820
|
onDataUpdated: function onDataUpdated(event) {
|
|
38821
38821
|
var current = event.updates.find(function (update) {
|
|
38822
|
-
|
|
38822
|
+
var _update$node, _update$node2;
|
|
38823
|
+
return ((_update$node = update.node) === null || _update$node === void 0 ? void 0 : _update$node.id) && ((_update$node2 = update.node) === null || _update$node2 === void 0 ? void 0 : _update$node2.id) === selectedNodeId;
|
|
38823
38824
|
});
|
|
38824
38825
|
if (current) {
|
|
38825
38826
|
setSelectedPriceList(current.data);
|
|
38827
|
+
} else {
|
|
38828
|
+
setSelectedPriceList(undefined);
|
|
38826
38829
|
}
|
|
38827
38830
|
}
|
|
38828
38831
|
};
|
|
@@ -42907,12 +42910,12 @@ var Features$2 = /*#__PURE__*/forwardRef(function Features(_ref, ref) {
|
|
|
42907
42910
|
}, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, organizationId]);
|
|
42908
42911
|
var apiInterface = useMemo(function () {
|
|
42909
42912
|
return {
|
|
42910
|
-
read: apiConfig.idmService + '/
|
|
42911
|
-
create: apiConfig.idmService + '/
|
|
42912
|
-
restore: apiConfig.idmService + '/
|
|
42913
|
-
"delete": apiConfig.idmService + '/
|
|
42914
|
-
update: apiConfig.idmService + '/
|
|
42915
|
-
bulk: apiConfig.idmService + '/
|
|
42913
|
+
read: apiConfig.idmService + '/catalogs/${catalogId}/features',
|
|
42914
|
+
create: apiConfig.idmService + '/catalogs/${catalogId}/features',
|
|
42915
|
+
restore: apiConfig.idmService + '/catalogs/${catalogId}/features/${_id}',
|
|
42916
|
+
"delete": apiConfig.idmService + '/catalogs/${catalogId}/features/${_id}',
|
|
42917
|
+
update: apiConfig.idmService + '/catalogs/${catalogId}/features/${_id}',
|
|
42918
|
+
bulk: apiConfig.idmService + '/catalogs/${catalogId}/features/bulk'
|
|
42916
42919
|
};
|
|
42917
42920
|
}, [apiConfig.idmService]);
|
|
42918
42921
|
var configuration = useMemo(function () {
|
|
@@ -42950,7 +42953,7 @@ var Features$2 = /*#__PURE__*/forwardRef(function Features(_ref, ref) {
|
|
|
42950
42953
|
displayLabelTemplate: '${value}',
|
|
42951
42954
|
lookupLabelTemplate: '${name} (${value})',
|
|
42952
42955
|
apiInterface: {
|
|
42953
|
-
read: apiConfig.idmService + '/
|
|
42956
|
+
read: apiConfig.idmService + '/features'
|
|
42954
42957
|
},
|
|
42955
42958
|
lookupKey: 'featureNo',
|
|
42956
42959
|
lookupValue: 'featureText',
|
|
@@ -43060,12 +43063,12 @@ function Features$1(_ref) {
|
|
|
43060
43063
|
return {
|
|
43061
43064
|
type: 'dotnetSSM',
|
|
43062
43065
|
apiInterface: {
|
|
43063
|
-
read: apiConfig.idmService + '/
|
|
43064
|
-
create: readOnly ? undefined : apiConfig.idmService + '/
|
|
43065
|
-
restore: readOnly ? undefined : apiConfig.idmService + '/
|
|
43066
|
-
"delete": readOnly ? undefined : apiConfig.idmService + '/
|
|
43067
|
-
update: readOnly ? undefined : apiConfig.idmService + '/
|
|
43068
|
-
bulk: readOnly ? undefined : apiConfig.idmService + '/
|
|
43066
|
+
read: apiConfig.idmService + '/features',
|
|
43067
|
+
create: readOnly ? undefined : apiConfig.idmService + '/features',
|
|
43068
|
+
restore: readOnly ? undefined : apiConfig.idmService + '/features/${_id}/restore',
|
|
43069
|
+
"delete": readOnly ? undefined : apiConfig.idmService + '/features/${_id}',
|
|
43070
|
+
update: readOnly ? undefined : apiConfig.idmService + '/features/${_id}',
|
|
43071
|
+
bulk: readOnly ? undefined : apiConfig.idmService + '/features/bulk'
|
|
43069
43072
|
},
|
|
43070
43073
|
dateFormat: 'DD.MM.YYYY, HH:mm:ss',
|
|
43071
43074
|
colDef: [{
|
|
@@ -43175,7 +43178,7 @@ var TableFeatures$2 = observer(function () {
|
|
|
43175
43178
|
case 0:
|
|
43176
43179
|
_context.prev = 0;
|
|
43177
43180
|
_context.next = 3;
|
|
43178
|
-
return fetch(apiConfig.idmService + "/
|
|
43181
|
+
return fetch(apiConfig.idmService + "/catalogs/".concat(catalogId, "/features/global"), {
|
|
43179
43182
|
method: 'POST',
|
|
43180
43183
|
headers: {
|
|
43181
43184
|
Authorization: "Bearer ".concat(jwt)
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CAoUzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.4.0-beta.
|
|
3
|
+
"version": "26.4.0-beta.12",
|
|
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": "6.1.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "26.4.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "26.4.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "26.4.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "26.4.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "26.4.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "26.4.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "26.4.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "26.4.0-beta.12",
|
|
19
|
+
"@crystaldesign/content-item": "26.4.0-beta.12",
|
|
20
|
+
"@crystaldesign/diva-core": "26.4.0-beta.12",
|
|
21
|
+
"@crystaldesign/diva-utils": "26.4.0-beta.12",
|
|
22
|
+
"@crystaldesign/media-upload": "26.4.0-beta.12",
|
|
23
|
+
"@crystaldesign/rtf-editor": "26.4.0-beta.12",
|
|
24
|
+
"@crystaldesign/spreadsheet": "26.4.0-beta.12",
|
|
25
25
|
"@google/model-viewer": "3.5.0",
|
|
26
26
|
"ag-charts-community": "^10.1.0",
|
|
27
27
|
"ag-charts-react": "^10.1.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
},
|
|
53
53
|
"module": "build/esm/index.js",
|
|
54
54
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "50af4780f8aebef52b0dc8967ff4b9f6a46547f6"
|
|
56
56
|
}
|