@crystaldesign/diva-backoffice 26.14.0-beta.16 → 26.14.0-beta.17
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 +107 -34
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts +6 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +2 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
- package/package.json +13 -13
package/build/esm/index.js
CHANGED
|
@@ -69752,6 +69752,17 @@ function ActionsExpandedEditor(_ref) {
|
|
|
69752
69752
|
});
|
|
69753
69753
|
}
|
|
69754
69754
|
|
|
69755
|
+
/** An array cell defaults to [], which the grid's scalar required check treats as filled. */
|
|
69756
|
+
function validateRuleActions(value, t) {
|
|
69757
|
+
if (Array.isArray(value) && value.some(function (action) {
|
|
69758
|
+
return typeof action === 'string' && action.trim().length > 0;
|
|
69759
|
+
})) return undefined;
|
|
69760
|
+
return t('aggrid.validation.required', {
|
|
69761
|
+
defaultValue: 'The {{field}} field is required.',
|
|
69762
|
+
field: t('backoffice.idmCatalog.optionCombinations.label.actions')
|
|
69763
|
+
});
|
|
69764
|
+
}
|
|
69765
|
+
|
|
69755
69766
|
/**
|
|
69756
69767
|
* Shared column bookkeeping for the IDM catalog tables that render one column per referenced
|
|
69757
69768
|
* feature (`OptionCombinations`, `PartlistPos`, `PriceFeatureGroupFinishes`,
|
|
@@ -71032,6 +71043,11 @@ function OptionCombinations(_ref) {
|
|
|
71032
71043
|
headerName: 'backoffice.idmCatalog.optionCombinations.label.actions',
|
|
71033
71044
|
field: 'actions',
|
|
71034
71045
|
cellDataType: 'array',
|
|
71046
|
+
required: true,
|
|
71047
|
+
cellValueValidator: function cellValueValidator(_ref4) {
|
|
71048
|
+
var value = _ref4.value;
|
|
71049
|
+
return validateRuleActions(value, t);
|
|
71050
|
+
},
|
|
71035
71051
|
customParams: {
|
|
71036
71052
|
expandedEditor: ActionsExpandedEditor,
|
|
71037
71053
|
expandedEditorProps: {
|
|
@@ -71049,8 +71065,8 @@ function OptionCombinations(_ref) {
|
|
|
71049
71065
|
useParser: true,
|
|
71050
71066
|
useFormatter: true
|
|
71051
71067
|
},
|
|
71052
|
-
valueFormatter: function valueFormatter(
|
|
71053
|
-
var value =
|
|
71068
|
+
valueFormatter: function valueFormatter(_ref5) {
|
|
71069
|
+
var value = _ref5.value;
|
|
71054
71070
|
if (Array.isArray(value)) {
|
|
71055
71071
|
var _action$split$;
|
|
71056
71072
|
var action = value.find(function (action) {
|
|
@@ -71060,8 +71076,8 @@ function OptionCombinations(_ref) {
|
|
|
71060
71076
|
}
|
|
71061
71077
|
return '';
|
|
71062
71078
|
},
|
|
71063
|
-
valueParser: function valueParser(
|
|
71064
|
-
var newValue =
|
|
71079
|
+
valueParser: function valueParser(_ref6) {
|
|
71080
|
+
var newValue = _ref6.newValue;
|
|
71065
71081
|
if (newValue == '') return undefined;
|
|
71066
71082
|
return ["SET_POS_COUNT_VALUE:".concat(newValue)];
|
|
71067
71083
|
},
|
|
@@ -74003,8 +74019,10 @@ function actionsColumn(ctx, decisions) {
|
|
|
74003
74019
|
// A count is a whole number, as the agent's cell check and the planner demand; 'abc' behind the action would load
|
|
74004
74020
|
// as no count at all.
|
|
74005
74021
|
cellValueValidator: function cellValueValidator(_ref11) {
|
|
74022
|
+
var _decisionOf2;
|
|
74006
74023
|
var value = _ref11.value,
|
|
74007
74024
|
data = _ref11.data;
|
|
74025
|
+
if (((_decisionOf2 = decisionOf(data)) === null || _decisionOf2 === void 0 ? void 0 : _decisionOf2.decisionType) === 2) return validateRuleActions(value, ctx.t);
|
|
74008
74026
|
if (!isCount(data)) return undefined;
|
|
74009
74027
|
var count = posCountOf$1(value);
|
|
74010
74028
|
if (!count) {
|
|
@@ -77615,7 +77633,7 @@ function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
77615
77633
|
* standalone publish button next to the package selector.
|
|
77616
77634
|
*/
|
|
77617
77635
|
function usePackagePublishing(_ref) {
|
|
77618
|
-
var _data$published, _root$dataStore$curre, _root$dataStore$curre2, _ref2, _inheritedPublishOrga, _basePublishState$org;
|
|
77636
|
+
var _data$published, _publishedData$failed, _root$dataStore$curre, _root$dataStore$curre2, _ref2, _inheritedPublishOrga, _basePublishState$org;
|
|
77619
77637
|
var packageId = _ref.packageId,
|
|
77620
77638
|
data = _ref.data,
|
|
77621
77639
|
organizationId = _ref.organizationId,
|
|
@@ -77657,6 +77675,8 @@ function usePackagePublishing(_ref) {
|
|
|
77657
77675
|
// the shared check, so the publish column also sees a release withdrawn from a parent organization
|
|
77658
77676
|
var releaseWithdrawn = isReleaseWithdrawn(data, organizationId);
|
|
77659
77677
|
var unpublishedChanges = hasUnpublishedChanges(publishedData === null || publishedData === void 0 ? void 0 : publishedData.publishDate, data === null || data === void 0 ? void 0 : data.lastUpdatedDate);
|
|
77678
|
+
//the live catalog could not import some media; publishing again imports them, even without a change of the package
|
|
77679
|
+
var failedMediaCount = !unpublishedChanges ? (_publishedData$failed = publishedData === null || publishedData === void 0 ? void 0 : publishedData.failedMediaCount) !== null && _publishedData$failed !== void 0 ? _publishedData$failed : 0 : 0;
|
|
77660
77680
|
//a parent organization's publication is inherited automatically, so an inherited package must not be published separately
|
|
77661
77681
|
var inheritedPublishOrganization = getInheritedPublishOrganization(data, organizationId, (_root$dataStore$curre = (_root$dataStore$curre2 = root.dataStore.currentOrganization) === null || _root$dataStore$curre2 === void 0 ? void 0 : _root$dataStore$curre2.parentOrganizations) !== null && _root$dataStore$curre !== void 0 ? _root$dataStore$curre : []);
|
|
77662
77682
|
var isInherited = !!inheritedPublishOrganization;
|
|
@@ -77748,6 +77768,9 @@ function usePackagePublishing(_ref) {
|
|
|
77748
77768
|
}
|
|
77749
77769
|
}, _callee, null, [[1, 24, 29, 32], [3, 13]]);
|
|
77750
77770
|
})), [apiConfig.authService, apiConfig.enricherService, packageId, organizationId, root.dataStore.jwt, modalState, data]);
|
|
77771
|
+
|
|
77772
|
+
//loading is set only once the organizations are fetched, so a second click before that would send a second request
|
|
77773
|
+
var publishInFlight = React.useRef(false);
|
|
77751
77774
|
var performPublish = React.useCallback(/*#__PURE__*/function () {
|
|
77752
77775
|
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(publish) {
|
|
77753
77776
|
var automaticPublishingOrgIds,
|
|
@@ -77762,76 +77785,84 @@ function usePackagePublishing(_ref) {
|
|
|
77762
77785
|
while (1) switch (_context2.prev = _context2.next) {
|
|
77763
77786
|
case 0:
|
|
77764
77787
|
automaticPublishingOrgIds = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : [];
|
|
77788
|
+
if (!publishInFlight.current) {
|
|
77789
|
+
_context2.next = 3;
|
|
77790
|
+
break;
|
|
77791
|
+
}
|
|
77792
|
+
return _context2.abrupt("return");
|
|
77793
|
+
case 3:
|
|
77794
|
+
publishInFlight.current = true;
|
|
77765
77795
|
setLoading(true);
|
|
77766
77796
|
setPendingAction(publish ? 'publish' : 'unpublish');
|
|
77767
77797
|
if (blockUiWhilePublishing) {
|
|
77768
77798
|
modalState.showLoadingModal(t("backoffice.idmEnricher.packages.label.".concat(publish ? 'publishing' : 'unpublishing')));
|
|
77769
77799
|
}
|
|
77770
|
-
_context2.prev =
|
|
77800
|
+
_context2.prev = 7;
|
|
77771
77801
|
url = "".concat(apiConfig.enricherService, "/packages/").concat(packageId, "/").concat(publish ? 'publish' : 'unpublish', "?organizationId=").concat(organizationId);
|
|
77772
77802
|
if (publish && automaticPublishingOrgIds.length > 0) {
|
|
77773
77803
|
url += '&automaticPublishingOrganizationIds=' + automaticPublishingOrgIds.join(',');
|
|
77774
77804
|
}
|
|
77775
|
-
_context2.next =
|
|
77805
|
+
_context2.next = 12;
|
|
77776
77806
|
return fetch(url, {
|
|
77777
77807
|
method: 'PUT',
|
|
77778
77808
|
headers: {
|
|
77779
77809
|
Authorization: "Bearer ".concat(root.dataStore.jwt)
|
|
77780
77810
|
}
|
|
77781
77811
|
});
|
|
77782
|
-
case
|
|
77812
|
+
case 12:
|
|
77783
77813
|
response = _context2.sent;
|
|
77784
77814
|
if (!(response.status == 202)) {
|
|
77785
|
-
_context2.next =
|
|
77815
|
+
_context2.next = 17;
|
|
77786
77816
|
break;
|
|
77787
77817
|
}
|
|
77788
77818
|
modalState.showWarningModal(t("backoffice.idmEnricher.packages.label.warning.".concat(publish ? 'publishing' : 'unpublishing')));
|
|
77789
|
-
_context2.next =
|
|
77819
|
+
_context2.next = 34;
|
|
77790
77820
|
break;
|
|
77791
|
-
case
|
|
77821
|
+
case 17:
|
|
77792
77822
|
if (!(response.status == 200)) {
|
|
77793
|
-
_context2.next =
|
|
77823
|
+
_context2.next = 21;
|
|
77794
77824
|
break;
|
|
77795
77825
|
}
|
|
77796
77826
|
modalState.closeModal();
|
|
77797
|
-
_context2.next =
|
|
77827
|
+
_context2.next = 34;
|
|
77798
77828
|
break;
|
|
77799
|
-
case 18:
|
|
77800
|
-
_context2.prev = 18;
|
|
77801
|
-
_context2.next = 21;
|
|
77802
|
-
return response.json();
|
|
77803
77829
|
case 21:
|
|
77830
|
+
_context2.prev = 21;
|
|
77831
|
+
_context2.next = 24;
|
|
77832
|
+
return response.json();
|
|
77833
|
+
case 24:
|
|
77804
77834
|
json = _context2.sent;
|
|
77805
77835
|
errorText = (_json$error = json.error) !== null && _json$error !== void 0 ? _json$error : json.Error;
|
|
77806
|
-
_context2.next =
|
|
77836
|
+
_context2.next = 33;
|
|
77807
77837
|
break;
|
|
77808
|
-
case
|
|
77809
|
-
_context2.prev =
|
|
77810
|
-
_context2.t0 = _context2["catch"](
|
|
77811
|
-
_context2.next =
|
|
77838
|
+
case 28:
|
|
77839
|
+
_context2.prev = 28;
|
|
77840
|
+
_context2.t0 = _context2["catch"](21);
|
|
77841
|
+
_context2.next = 32;
|
|
77812
77842
|
return response.text();
|
|
77813
|
-
case
|
|
77843
|
+
case 32:
|
|
77814
77844
|
errorText = _context2.sent;
|
|
77815
|
-
case
|
|
77845
|
+
case 33:
|
|
77816
77846
|
throw new Error((_errorText = errorText) !== null && _errorText !== void 0 ? _errorText : "Server error (".concat(response.status, ")"));
|
|
77817
|
-
case
|
|
77847
|
+
case 34:
|
|
77818
77848
|
onPublished();
|
|
77819
|
-
_context2.next =
|
|
77849
|
+
_context2.next = 40;
|
|
77820
77850
|
break;
|
|
77821
|
-
case 34:
|
|
77822
|
-
_context2.prev = 34;
|
|
77823
|
-
_context2.t1 = _context2["catch"](4);
|
|
77824
|
-
modalState.showErrorModal("Error on ".concat(publish ? 'publish' : 'unpublish', ": ").concat(_context2.t1 instanceof Error ? _context2.t1.message : String(_context2.t1)));
|
|
77825
77851
|
case 37:
|
|
77826
77852
|
_context2.prev = 37;
|
|
77853
|
+
_context2.t1 = _context2["catch"](7);
|
|
77854
|
+
modalState.showErrorModal("Error on ".concat(publish ? 'publish' : 'unpublish', ": ").concat(_context2.t1 instanceof Error ? _context2.t1.message : String(_context2.t1)));
|
|
77855
|
+
case 40:
|
|
77856
|
+
_context2.prev = 40;
|
|
77857
|
+
publishInFlight.current = false;
|
|
77827
77858
|
setLoading(false);
|
|
77828
77859
|
setPendingAction(null);
|
|
77829
|
-
return _context2.finish(
|
|
77830
|
-
case
|
|
77860
|
+
return _context2.finish(40);
|
|
77861
|
+
case 45:
|
|
77831
77862
|
case "end":
|
|
77832
77863
|
return _context2.stop();
|
|
77833
77864
|
}
|
|
77834
|
-
}, _callee2, null, [[
|
|
77865
|
+
}, _callee2, null, [[7, 37, 40, 45], [21, 28]]);
|
|
77835
77866
|
}));
|
|
77836
77867
|
return function (_x) {
|
|
77837
77868
|
return _ref4.apply(this, arguments);
|
|
@@ -77910,6 +77941,7 @@ function usePackagePublishing(_ref) {
|
|
|
77910
77941
|
isPublished: isPublished,
|
|
77911
77942
|
isReleaseWithdrawn: releaseWithdrawn,
|
|
77912
77943
|
unpublishedChanges: unpublishedChanges,
|
|
77944
|
+
failedMediaCount: failedMediaCount,
|
|
77913
77945
|
isInherited: isInherited,
|
|
77914
77946
|
inheritedTooltip: inheritedTooltip,
|
|
77915
77947
|
servedByBase: servedByBase,
|
|
@@ -78016,6 +78048,7 @@ function PackagePublishSwitch(_ref) {
|
|
|
78016
78048
|
isPublished = publishing.isPublished,
|
|
78017
78049
|
isReleaseWithdrawn = publishing.isReleaseWithdrawn,
|
|
78018
78050
|
unpublishedChanges = publishing.unpublishedChanges,
|
|
78051
|
+
failedMediaCount = publishing.failedMediaCount,
|
|
78019
78052
|
publishDisabled = publishing.disabled,
|
|
78020
78053
|
isInherited = publishing.isInherited,
|
|
78021
78054
|
inheritedTooltip = publishing.inheritedTooltip,
|
|
@@ -78110,11 +78143,33 @@ function PackagePublishSwitch(_ref) {
|
|
|
78110
78143
|
defaultValue: 'Erneut publizieren'
|
|
78111
78144
|
})
|
|
78112
78145
|
})]
|
|
78146
|
+
}), failedMediaCount > 0 && isPublished && /*#__PURE__*/jsxs(Fragment, {
|
|
78147
|
+
children: [/*#__PURE__*/jsx(Tag$1, {
|
|
78148
|
+
icon: /*#__PURE__*/jsx(WarningOutlined, {}),
|
|
78149
|
+
color: "warning",
|
|
78150
|
+
children: t('backoffice.idmEnricher.packages.label.failedMedia', {
|
|
78151
|
+
defaultValue: '{{count}} Medien fehlen',
|
|
78152
|
+
count: failedMediaCount
|
|
78153
|
+
})
|
|
78154
|
+
}), /*#__PURE__*/jsx(Button$1, {
|
|
78155
|
+
size: "small",
|
|
78156
|
+
style: {
|
|
78157
|
+
fontSize: token.fontSizeSM
|
|
78158
|
+
},
|
|
78159
|
+
icon: /*#__PURE__*/jsx(ReloadOutlined, {}),
|
|
78160
|
+
disabled: disabled,
|
|
78161
|
+
onClick: function onClick() {
|
|
78162
|
+
return _onChange(true);
|
|
78163
|
+
},
|
|
78164
|
+
children: t('backoffice.idmEnricher.packages.label.republish', {
|
|
78165
|
+
defaultValue: 'Erneut publizieren'
|
|
78166
|
+
})
|
|
78167
|
+
})]
|
|
78113
78168
|
}), !unpublishedChanges && isReleaseWithdrawn && /*#__PURE__*/jsx(Tag$1, {
|
|
78114
78169
|
icon: /*#__PURE__*/jsx(WarningOutlined, {}),
|
|
78115
78170
|
color: "error",
|
|
78116
78171
|
children: t('backoffice.idmEnricher.packages.label.releaseWithdrawn')
|
|
78117
|
-
}), !unpublishedChanges && !isReleaseWithdrawn && isPublished && /*#__PURE__*/jsx(Tag$1, {
|
|
78172
|
+
}), !unpublishedChanges && !failedMediaCount && !isReleaseWithdrawn && isPublished && /*#__PURE__*/jsx(Tag$1, {
|
|
78118
78173
|
icon: /*#__PURE__*/jsx(CheckCircleOutlined$1, {}),
|
|
78119
78174
|
color: "success",
|
|
78120
78175
|
children: t('backoffice.idmEnricher.packages.label.current', {
|
|
@@ -95223,6 +95278,7 @@ function PackagePublishControls(_ref) {
|
|
|
95223
95278
|
isPublished = publishing.isPublished,
|
|
95224
95279
|
isReleaseWithdrawn = publishing.isReleaseWithdrawn,
|
|
95225
95280
|
unpublishedChanges = publishing.unpublishedChanges,
|
|
95281
|
+
failedMediaCount = publishing.failedMediaCount,
|
|
95226
95282
|
disabled = publishing.disabled,
|
|
95227
95283
|
isInherited = publishing.isInherited,
|
|
95228
95284
|
inheritedTooltip = publishing.inheritedTooltip,
|
|
@@ -95275,6 +95331,23 @@ function PackagePublishControls(_ref) {
|
|
|
95275
95331
|
return _onChange(true);
|
|
95276
95332
|
}
|
|
95277
95333
|
})
|
|
95334
|
+
}), failedMediaCount > 0 && isPublished && /*#__PURE__*/jsx(Tooltip, {
|
|
95335
|
+
title: t('backoffice.idmEnricher.packages.label.failedMedia', {
|
|
95336
|
+
defaultValue: '{{count}} Medien fehlen',
|
|
95337
|
+
count: failedMediaCount
|
|
95338
|
+
}),
|
|
95339
|
+
trigger: ['hover', 'focus'],
|
|
95340
|
+
children: /*#__PURE__*/jsx(Button$1, {
|
|
95341
|
+
size: buttonSize,
|
|
95342
|
+
shape: "circle",
|
|
95343
|
+
icon: /*#__PURE__*/jsx(ReloadOutlined, {}),
|
|
95344
|
+
"aria-label": t('backoffice.idmEnricher.packages.label.republish', {
|
|
95345
|
+
defaultValue: 'Erneut publizieren'
|
|
95346
|
+
}),
|
|
95347
|
+
onClick: function onClick() {
|
|
95348
|
+
return _onChange(true);
|
|
95349
|
+
}
|
|
95350
|
+
})
|
|
95278
95351
|
}), isReleaseWithdrawn && !isPublishing && /*#__PURE__*/jsx(Tooltip, {
|
|
95279
95352
|
title: t('backoffice.idmEnricher.packages.label.releaseWithdrawn'),
|
|
95280
95353
|
children: /*#__PURE__*/jsx(Button$1, {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** An array cell defaults to [], which the grid's scalar required check treats as filled. */
|
|
2
|
+
export declare function validateRuleActions(value: unknown, t: (key: string, options?: {
|
|
3
|
+
defaultValue?: string;
|
|
4
|
+
field?: string;
|
|
5
|
+
}) => string): string | undefined;
|
|
6
|
+
//# sourceMappingURL=actionsRequired.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionsRequired.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,OAAO,EACd,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,MAAM,GAC9E,MAAM,GAAG,SAAS,CAMpB"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAQrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAiOA"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optionCombinationColumns.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"optionCombinationColumns.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAA6B,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE7E,qFAAqF;AACrF,MAAM,WAAW,8BAA8B;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB,qFAAqF;IACrF,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;CACjE;AAED,uGAAuG;AACvG,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CACpD;AAQD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,mBAAmB,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7H;AAED,sHAAsH;AACtH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,mBAAmB,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGtH;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,mBAAmB,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,EAAE,CASzI;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,8BAA8B,EAAE,SAAS,EAAE,mBAAmB,EAAE,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CA4CxH;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAM/H;AAUD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,8BAA8B,EAAE,SAAS,EAAE,mBAAmB,EAAE,GAAG,UAAU,CAAC,GAAG,CAAC,CA6DpH;AAED,qHAAqH;AACrH,wBAAgB,wBAAwB,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE,CAsD5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackagePublishSwitch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAGxF,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"PackagePublishSwitch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAGxF,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,KAAK,qBAkI1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackagePublishControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,2FAA2F;IAC3F,UAAU,CAAC,EAAE,QAAQ,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"PackagePublishControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,2FAA2F;IAC3F,UAAU,CAAC,EAAE,QAAQ,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,KAAK,qBA+E/E"}
|
|
@@ -21,6 +21,7 @@ export interface PackagePublishData {
|
|
|
21
21
|
[organizationId: string]: {
|
|
22
22
|
publishing?: boolean;
|
|
23
23
|
publishDate?: string;
|
|
24
|
+
failedMediaCount?: number;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
dependingPackages?: {
|
|
@@ -51,6 +52,7 @@ export declare function usePackagePublishing({ packageId, data, organizationId,
|
|
|
51
52
|
isPublished: boolean | undefined;
|
|
52
53
|
isReleaseWithdrawn: boolean;
|
|
53
54
|
unpublishedChanges: boolean;
|
|
55
|
+
failedMediaCount: number;
|
|
54
56
|
isInherited: boolean;
|
|
55
57
|
inheritedTooltip: string;
|
|
56
58
|
servedByBase: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAA0D,MAAM,mBAAmB,CAAC;AAEjH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAA0D,MAAM,mBAAmB,CAAC;AAEjH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAC;YAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;IACpH,iBAAiB,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxE,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;CAC3C;AAED,UAAU,0BAA0B;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,+GAA+G;IAC/G,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,wHAAwH;IACxH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,IAAI,EACJ,cAAc,EACd,SAAS,EACT,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,EAAE,0BAA0B;;;;;;;;;;;;;;;;;aAO6D,MAAM;qBAAe,MAAM;;;;;wBAuJjG,OAAO;;EAiC1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.14.0-beta.
|
|
3
|
+
"version": "26.14.0-beta.17",
|
|
4
4
|
"description": "Ant Design backoffice shell (configuration modules), the Diva Data Engine component hosting the IDM and enricher editors, and the Produkt Onboarding component hosting the Assortment Manager.",
|
|
5
5
|
"license": "COMMERCIAL",
|
|
6
6
|
"devDependencies": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ant-design/icons": "6.3.4",
|
|
18
18
|
"@babel/runtime": "7.24.7",
|
|
19
|
-
"@crystaldesign/classification": "26.14.0-beta.
|
|
20
|
-
"@crystaldesign/content-box": "26.14.0-beta.
|
|
21
|
-
"@crystaldesign/content-item": "26.14.0-beta.
|
|
22
|
-
"@crystaldesign/diva-agent": "26.14.0-beta.
|
|
23
|
-
"@crystaldesign/diva-core": "26.14.0-beta.
|
|
24
|
-
"@crystaldesign/diva-utils": "26.14.0-beta.
|
|
25
|
-
"@crystaldesign/mass-configurator": "26.14.0-beta.
|
|
26
|
-
"@crystaldesign/media-upload": "26.14.0-beta.
|
|
27
|
-
"@crystaldesign/rtf-editor": "26.14.0-beta.
|
|
28
|
-
"@crystaldesign/spreadsheet": "26.14.0-beta.
|
|
19
|
+
"@crystaldesign/classification": "26.14.0-beta.17",
|
|
20
|
+
"@crystaldesign/content-box": "26.14.0-beta.17",
|
|
21
|
+
"@crystaldesign/content-item": "26.14.0-beta.17",
|
|
22
|
+
"@crystaldesign/diva-agent": "26.14.0-beta.17",
|
|
23
|
+
"@crystaldesign/diva-core": "26.14.0-beta.17",
|
|
24
|
+
"@crystaldesign/diva-utils": "26.14.0-beta.17",
|
|
25
|
+
"@crystaldesign/mass-configurator": "26.14.0-beta.17",
|
|
26
|
+
"@crystaldesign/media-upload": "26.14.0-beta.17",
|
|
27
|
+
"@crystaldesign/rtf-editor": "26.14.0-beta.17",
|
|
28
|
+
"@crystaldesign/spreadsheet": "26.14.0-beta.17",
|
|
29
29
|
"@dnd-kit/core": "^6.1.0",
|
|
30
30
|
"@dnd-kit/sortable": "^8.0.0",
|
|
31
31
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"lodash": "^4.17.21",
|
|
42
42
|
"object-hash": "^3.0.0",
|
|
43
43
|
"react-collapsible": "^2.10.0",
|
|
44
|
-
"react-error-boundary": "^
|
|
44
|
+
"react-error-boundary": "^6.1.6",
|
|
45
45
|
"react-image-crop": "^11.0.7",
|
|
46
46
|
"react-infinite-scroll-component": "^6.1.0",
|
|
47
47
|
"react-org-tree": "^1.0.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"suiteName": "diva-backoffice",
|
|
63
63
|
"outputDirectory": "./test-reports"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "0f159d4c57d3266e0e8e328c9706930df0d44ad3"
|
|
66
66
|
}
|