@commercetools-frontend-extensions/change-history 8.36.0 → 8.37.0
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.
|
@@ -85,7 +85,7 @@ import { oneLineTrim } from 'common-tags';
|
|
|
85
85
|
import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
|
|
86
86
|
|
|
87
87
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
88
|
-
var version = "8.
|
|
88
|
+
var version = "8.37.0";
|
|
89
89
|
|
|
90
90
|
// EXAMPLE
|
|
91
91
|
// export const FEATURE_FLAG_NAME = 'featureFlagName';
|
|
@@ -1564,8 +1564,8 @@ const PRECISION_TYPES = {
|
|
|
1564
1564
|
centPrecision: 'centPrecision'
|
|
1565
1565
|
};
|
|
1566
1566
|
|
|
1567
|
-
function ownKeys$
|
|
1568
|
-
function _objectSpread$
|
|
1567
|
+
function ownKeys$1m(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1568
|
+
function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1m(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1m(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1569
1569
|
function getFractionedAmount(moneyValue) {
|
|
1570
1570
|
const _moneyValue$fractionD = moneyValue.fractionDigits,
|
|
1571
1571
|
fractionDigits = _moneyValue$fractionD === void 0 ? 2 : _moneyValue$fractionD;
|
|
@@ -1576,7 +1576,7 @@ function getFractionedAmount(moneyValue) {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
function formatMoney(moneyValue, intl, options) {
|
|
1578
1578
|
if (moneyValue === null) return;
|
|
1579
|
-
return intl.formatNumber(getFractionedAmount(moneyValue), _objectSpread$
|
|
1579
|
+
return intl.formatNumber(getFractionedAmount(moneyValue), _objectSpread$1m({
|
|
1580
1580
|
style: 'currency',
|
|
1581
1581
|
currency: moneyValue.currencyCode,
|
|
1582
1582
|
minimumFractionDigits: moneyValue.fractionDigits
|
|
@@ -1601,8 +1601,8 @@ function formatCustomerName(_ref) {
|
|
|
1601
1601
|
return jsx(NoValueFallback, {});
|
|
1602
1602
|
}
|
|
1603
1603
|
|
|
1604
|
-
function ownKeys$
|
|
1605
|
-
function _objectSpread$
|
|
1604
|
+
function ownKeys$1l(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1605
|
+
function _objectSpread$1l(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1l(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1l(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1606
1606
|
const resourceTypesWithNoLabel = ['key-value-document', 'review'];
|
|
1607
1607
|
const parentTypesWithNoLabel = ['product-selection'];
|
|
1608
1608
|
const getReferenceLabel = (referenceValue, language, languages) => {
|
|
@@ -1688,7 +1688,7 @@ const ReferenceTypeChange = props => {
|
|
|
1688
1688
|
referenceType: String(true)
|
|
1689
1689
|
}));
|
|
1690
1690
|
const resourceType = intl.formatMessage(getEntityTypeNameMessage(props.typeId));
|
|
1691
|
-
const label = getReferenceLabel(_objectSpread$
|
|
1691
|
+
const label = getReferenceLabel(_objectSpread$1l({
|
|
1692
1692
|
id: props.id,
|
|
1693
1693
|
typeId: props.typeId
|
|
1694
1694
|
}, props.expandedProps), language, languages);
|
|
@@ -1746,8 +1746,8 @@ const changeItemLabelStyles = process.env.NODE_ENV === "production" ? {
|
|
|
1746
1746
|
};
|
|
1747
1747
|
|
|
1748
1748
|
const _excluded$l = ["id", "typeId"];
|
|
1749
|
-
function ownKeys$
|
|
1750
|
-
function _objectSpread$
|
|
1749
|
+
function ownKeys$1k(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1750
|
+
function _objectSpread$1k(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys$1k(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys$1k(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1751
1751
|
const ChangeItemValueByType = props => {
|
|
1752
1752
|
const intl = useIntl();
|
|
1753
1753
|
if (props.value === null || props.value === undefined) return jsx(NoValueLabel, {});
|
|
@@ -1797,7 +1797,7 @@ const ChangeItemValueByType = props => {
|
|
|
1797
1797
|
css: productAttributeValuesStyles,
|
|
1798
1798
|
children: [jsx(Text.Detail, {
|
|
1799
1799
|
isItalic: true,
|
|
1800
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
1800
|
+
children: jsx(FormattedMessage, _objectSpread$1k(_objectSpread$1k({}, messages$1l.attributeItem), {}, {
|
|
1801
1801
|
values: {
|
|
1802
1802
|
b: getBoldText,
|
|
1803
1803
|
index: index + 1
|
|
@@ -1852,8 +1852,8 @@ const ComposedChange = props => jsx("div", {
|
|
|
1852
1852
|
});
|
|
1853
1853
|
ComposedChange.displayName = 'ComposedChange';
|
|
1854
1854
|
|
|
1855
|
-
function ownKeys$
|
|
1856
|
-
function _objectSpread$
|
|
1855
|
+
function ownKeys$1j(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1856
|
+
function _objectSpread$1j(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1j(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1j(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1857
1857
|
const CustomFieldChange = props => {
|
|
1858
1858
|
const _useApplicationContex = useApplicationContext(applicationContext => ({
|
|
1859
1859
|
language: applicationContext.dataLocale,
|
|
@@ -1877,7 +1877,7 @@ const CustomFieldChange = props => {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
};
|
|
1879
1879
|
return jsx(ComposedChange, {
|
|
1880
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
1880
|
+
label: jsx(FormattedMessage, _objectSpread$1j(_objectSpread$1j({}, messages$1l.customFieldLabel), {}, {
|
|
1881
1881
|
values: {
|
|
1882
1882
|
b: getBoldText,
|
|
1883
1883
|
customField: props.change.previousValue?.label ? localize({
|
|
@@ -1894,8 +1894,8 @@ const CustomFieldChange = props => {
|
|
|
1894
1894
|
};
|
|
1895
1895
|
CustomFieldChange.displayName = 'CustomFieldChange';
|
|
1896
1896
|
|
|
1897
|
-
function ownKeys$
|
|
1898
|
-
function _objectSpread$
|
|
1897
|
+
function ownKeys$1i(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1898
|
+
function _objectSpread$1i(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$1i(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$1i(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1899
1899
|
const CustomTypeChange = props => {
|
|
1900
1900
|
var _context;
|
|
1901
1901
|
const _useApplicationContex = useApplicationContext(applicationContext => ({
|
|
@@ -1914,7 +1914,7 @@ const CustomTypeChange = props => {
|
|
|
1914
1914
|
language: language,
|
|
1915
1915
|
fallbackOrder: languages
|
|
1916
1916
|
})
|
|
1917
|
-
}) : jsx(FormattedMessage, _objectSpread$
|
|
1917
|
+
}) : jsx(FormattedMessage, _objectSpread$1i(_objectSpread$1i({}, messages$1l.customTypeIdLabel), {}, {
|
|
1918
1918
|
values: {
|
|
1919
1919
|
customTypeId: props.value.type.id
|
|
1920
1920
|
}
|
|
@@ -1955,8 +1955,8 @@ const JsonDisplay = props => {
|
|
|
1955
1955
|
};
|
|
1956
1956
|
JsonDisplay.displayame = 'JsonDisplay';
|
|
1957
1957
|
|
|
1958
|
-
function ownKeys$
|
|
1959
|
-
function _objectSpread$
|
|
1958
|
+
function ownKeys$1h(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1959
|
+
function _objectSpread$1h(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$1h(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$1h(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1960
1960
|
/**
|
|
1961
1961
|
* Maps custom type fields object property into an array
|
|
1962
1962
|
*
|
|
@@ -1981,13 +1981,13 @@ function transformCustomTypeValue(value) {
|
|
|
1981
1981
|
}
|
|
1982
1982
|
const mapCustomTypeFieldsToArray = value => {
|
|
1983
1983
|
var _context;
|
|
1984
|
-
return _objectSpread$
|
|
1984
|
+
return _objectSpread$1h(_objectSpread$1h({}, value), {}, {
|
|
1985
1985
|
fields: value?.fields ? _mapInstanceProperty(_context = _Object$entries(value.fields)).call(_context, _ref => {
|
|
1986
1986
|
let _ref2 = _slicedToArray(_ref, 2),
|
|
1987
1987
|
key = _ref2[0],
|
|
1988
1988
|
entry = _ref2[1];
|
|
1989
1989
|
const entryValue = entry.value !== undefined ? entry.value : entry;
|
|
1990
|
-
return _objectSpread$
|
|
1990
|
+
return _objectSpread$1h(_objectSpread$1h({}, entry), {}, {
|
|
1991
1991
|
name: key,
|
|
1992
1992
|
value: transformCustomTypeValue(entryValue)
|
|
1993
1993
|
});
|
|
@@ -2360,8 +2360,8 @@ var businessUnitChangeMessages = defineMessages({
|
|
|
2360
2360
|
}
|
|
2361
2361
|
});
|
|
2362
2362
|
|
|
2363
|
-
function ownKeys$
|
|
2364
|
-
function _objectSpread$
|
|
2363
|
+
function ownKeys$1g(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2364
|
+
function _objectSpread$1g(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys$1g(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys$1g(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2365
2365
|
const formatRoleAssignmentsForChangeAssociate = (roleAssignments, intl) => _mapInstanceProperty(roleAssignments).call(roleAssignments, roleAssignment => jsx(Text.Detail, {
|
|
2366
2366
|
children: `${roleAssignment.associateRole.key}: ${roleAssignment.inheritance === 'Disabled' ? intl.formatMessage(businessUnitChangeMessages.inheritanceDisabled) : intl.formatMessage(businessUnitChangeMessages.inheritanceEnabled)}`
|
|
2367
2367
|
}, roleAssignment.associateRole.key)) || jsx(NoValueLabel, {});
|
|
@@ -2425,7 +2425,7 @@ const BusinessUnitChanges = props => {
|
|
|
2425
2425
|
case ResourceChangeInput.ChangeAddress:
|
|
2426
2426
|
{
|
|
2427
2427
|
return jsx(ComposedChange, {
|
|
2428
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
2428
|
+
label: jsx(FormattedMessage, _objectSpread$1g(_objectSpread$1g({}, messages$1l.addressIdLabel), {}, {
|
|
2429
2429
|
values: {
|
|
2430
2430
|
b: getBoldText,
|
|
2431
2431
|
addressId: props.value.id
|
|
@@ -2479,7 +2479,7 @@ const BusinessUnitChanges = props => {
|
|
|
2479
2479
|
{
|
|
2480
2480
|
return jsx(ComposedChange, {
|
|
2481
2481
|
label: jsxs(Fragment, {
|
|
2482
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
2482
|
+
children: [jsx(FormattedMessage, _objectSpread$1g(_objectSpread$1g({}, messages$1l.customFieldLabel), {}, {
|
|
2483
2483
|
values: {
|
|
2484
2484
|
b: getBoldText,
|
|
2485
2485
|
customField: props.change.previousValue?.label ? localize({
|
|
@@ -2489,7 +2489,7 @@ const BusinessUnitChanges = props => {
|
|
|
2489
2489
|
fallbackOrder: languages
|
|
2490
2490
|
}) : props.change.name
|
|
2491
2491
|
}
|
|
2492
|
-
})), jsx("br", {}), jsx(FormattedMessage, _objectSpread$
|
|
2492
|
+
})), jsx("br", {}), jsx(FormattedMessage, _objectSpread$1g(_objectSpread$1g({}, messages$1l.addressIdLabel), {}, {
|
|
2493
2493
|
values: {
|
|
2494
2494
|
b: getBoldText,
|
|
2495
2495
|
addressId: props.change.address.id
|
|
@@ -2509,7 +2509,7 @@ const BusinessUnitChanges = props => {
|
|
|
2509
2509
|
case ResourceChangeInput.SetAddressCustomType:
|
|
2510
2510
|
{
|
|
2511
2511
|
return jsx(ComposedChange, {
|
|
2512
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
2512
|
+
label: jsx(FormattedMessage, _objectSpread$1g(_objectSpread$1g({}, messages$1l.addressIdLabel), {}, {
|
|
2513
2513
|
values: {
|
|
2514
2514
|
b: getBoldText,
|
|
2515
2515
|
addressId: props.change.address.id
|
|
@@ -2560,10 +2560,10 @@ const BusinessUnitChanges = props => {
|
|
|
2560
2560
|
};
|
|
2561
2561
|
BusinessUnitChanges.displayName = 'BusinessUnitChanges';
|
|
2562
2562
|
|
|
2563
|
-
function ownKeys$
|
|
2564
|
-
function _objectSpread$
|
|
2563
|
+
function ownKeys$1f(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2564
|
+
function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1f(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1f(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2565
2565
|
const mapDiffToChange = (totalDiff, diff) => {
|
|
2566
|
-
return _objectSpread$
|
|
2566
|
+
return _objectSpread$1f(_objectSpread$1f({}, totalDiff), {}, {
|
|
2567
2567
|
[diff.path[0]]: {
|
|
2568
2568
|
previousValue: diff.lhs,
|
|
2569
2569
|
nextValue: diff.rhs
|
|
@@ -2604,8 +2604,8 @@ const LocalizeChange = props => {
|
|
|
2604
2604
|
};
|
|
2605
2605
|
LocalizeChange.displayName = 'LocalizeChange';
|
|
2606
2606
|
|
|
2607
|
-
function ownKeys$
|
|
2608
|
-
function _objectSpread$
|
|
2607
|
+
function ownKeys$1e(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2608
|
+
function _objectSpread$1e(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1e(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1e(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2609
2609
|
const getChangeValue = (change, value) => {
|
|
2610
2610
|
if (!value) return jsx(NoValueLabel, {});
|
|
2611
2611
|
switch (change.change) {
|
|
@@ -2641,7 +2641,7 @@ const AssetChange = props => {
|
|
|
2641
2641
|
});
|
|
2642
2642
|
}
|
|
2643
2643
|
return jsx(ComposedChange, {
|
|
2644
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
2644
|
+
label: jsx(FormattedMessage, _objectSpread$1e(_objectSpread$1e({}, messages$1l.assetLabel), {}, {
|
|
2645
2645
|
values: {
|
|
2646
2646
|
b: getBoldText,
|
|
2647
2647
|
asset: localize({
|
|
@@ -2777,8 +2777,8 @@ const CategoryChanges = props => {
|
|
|
2777
2777
|
};
|
|
2778
2778
|
CategoryChanges.displayName = 'CategoryChanges';
|
|
2779
2779
|
|
|
2780
|
-
function ownKeys$
|
|
2781
|
-
function _objectSpread$
|
|
2780
|
+
function ownKeys$1d(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2781
|
+
function _objectSpread$1d(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1d(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1d(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2782
2782
|
const ChannelChanges = props => {
|
|
2783
2783
|
switch (props.change.change) {
|
|
2784
2784
|
case ResourceChangeInput.ChangeDescription:
|
|
@@ -2809,7 +2809,7 @@ const ChannelChanges = props => {
|
|
|
2809
2809
|
return jsxs(Spacings.Stack, {
|
|
2810
2810
|
scale: "xs",
|
|
2811
2811
|
children: [jsx("div", {
|
|
2812
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
2812
|
+
children: jsx(FormattedMessage, _objectSpread$1d(_objectSpread$1d({}, messages$1l.averageRatingLabel), {}, {
|
|
2813
2813
|
values: {
|
|
2814
2814
|
averageRating: props.value?.averageRating,
|
|
2815
2815
|
highestRating: props.value?.highestRating,
|
|
@@ -2817,7 +2817,7 @@ const ChannelChanges = props => {
|
|
|
2817
2817
|
}
|
|
2818
2818
|
}))
|
|
2819
2819
|
}), jsx("div", {
|
|
2820
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
2820
|
+
children: jsx(FormattedMessage, _objectSpread$1d(_objectSpread$1d({}, messages$1l.numberOfReviewsLabel), {}, {
|
|
2821
2821
|
values: {
|
|
2822
2822
|
count: props.value?.count
|
|
2823
2823
|
}
|
|
@@ -2833,7 +2833,7 @@ const ChannelChanges = props => {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
case ResourceChangeInput.SetGeoLocation:
|
|
2835
2835
|
{
|
|
2836
|
-
return props.value ? jsx(FormattedMessage, _objectSpread$
|
|
2836
|
+
return props.value ? jsx(FormattedMessage, _objectSpread$1d(_objectSpread$1d({}, messages$1l.geoLocationLabel), {}, {
|
|
2837
2837
|
values: {
|
|
2838
2838
|
type: props.value.type,
|
|
2839
2839
|
longitude: props.value.coordinates[0],
|
|
@@ -4374,9 +4374,9 @@ var messages$Y = defineMessages({
|
|
|
4374
4374
|
}
|
|
4375
4375
|
});
|
|
4376
4376
|
|
|
4377
|
-
function ownKeys$
|
|
4378
|
-
function _objectSpread$
|
|
4379
|
-
var changeMessages = _objectSpread$
|
|
4377
|
+
function ownKeys$1c(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4378
|
+
function _objectSpread$1c(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1c(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1c(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4379
|
+
var changeMessages = _objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c(_objectSpread$1c({}, assetsMessages), messages$1k), messages$1j), messages$1i), messages$1h), messages$1g), commonMessages), messages$1e), messages$1f), messages$1d), messages$1c), messages$1b), messages$1a), messages$19), messages$18), messages$17), messages$16), messages$14), messages$15), messages$13), messages$12), messages$11), messages$10), messages$_), messages$Z), messages$Y), messages$$);
|
|
4380
4380
|
|
|
4381
4381
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$n() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
4382
4382
|
const tableStyles = process.env.NODE_ENV === "production" ? {
|
|
@@ -4499,8 +4499,8 @@ const FormattedDateTime = props => {
|
|
|
4499
4499
|
};
|
|
4500
4500
|
FormattedDateTime.displayName = 'FormattedDateTime';
|
|
4501
4501
|
|
|
4502
|
-
function ownKeys$
|
|
4503
|
-
function _objectSpread$
|
|
4502
|
+
function ownKeys$1b(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4503
|
+
function _objectSpread$1b(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$1b(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$1b(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4504
4504
|
const MAX_LINES = 12;
|
|
4505
4505
|
const MAX_CHARS = 2000;
|
|
4506
4506
|
const isChangeValueLarge$1 = value => {
|
|
@@ -4605,7 +4605,7 @@ const CustomObjectChanges = props => {
|
|
|
4605
4605
|
{
|
|
4606
4606
|
return isChangeValueLarge$1(props.change.previousValue) || isChangeValueLarge$1(props.change.nextValue) ? jsxs("div", {
|
|
4607
4607
|
css: productAttributeValuesStyles,
|
|
4608
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
4608
|
+
children: [jsx(FormattedMessage, _objectSpread$1b(_objectSpread$1b({}, messages$1l.pathLabel), {}, {
|
|
4609
4609
|
values: {
|
|
4610
4610
|
path: props.change.path,
|
|
4611
4611
|
b: getBoldText
|
|
@@ -4618,7 +4618,7 @@ const CustomObjectChanges = props => {
|
|
|
4618
4618
|
})
|
|
4619
4619
|
})]
|
|
4620
4620
|
}) : jsx(ComposedChange, {
|
|
4621
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
4621
|
+
label: jsx(FormattedMessage, _objectSpread$1b(_objectSpread$1b({}, messages$1l.pathLabel), {}, {
|
|
4622
4622
|
values: {
|
|
4623
4623
|
path: props.change.path,
|
|
4624
4624
|
b: getBoldText
|
|
@@ -4636,7 +4636,7 @@ const CustomObjectChanges = props => {
|
|
|
4636
4636
|
{
|
|
4637
4637
|
return jsxs("div", {
|
|
4638
4638
|
css: productAttributeValuesStyles,
|
|
4639
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
4639
|
+
children: [jsx(FormattedMessage, _objectSpread$1b(_objectSpread$1b({}, messages$1l.pathLabel), {}, {
|
|
4640
4640
|
values: {
|
|
4641
4641
|
path: props.change.path,
|
|
4642
4642
|
b: getBoldText
|
|
@@ -4656,7 +4656,7 @@ const CustomObjectChanges = props => {
|
|
|
4656
4656
|
{
|
|
4657
4657
|
return jsxs("div", {
|
|
4658
4658
|
css: productAttributeValuesStyles,
|
|
4659
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
4659
|
+
children: [jsx(FormattedMessage, _objectSpread$1b(_objectSpread$1b({}, messages$1l.pathLabel), {}, {
|
|
4660
4660
|
values: {
|
|
4661
4661
|
path: props.change.path,
|
|
4662
4662
|
b: getBoldText
|
|
@@ -4683,8 +4683,8 @@ const CustomObjectChanges = props => {
|
|
|
4683
4683
|
CustomObjectChanges.displayName = 'CustomObjectChanges';
|
|
4684
4684
|
|
|
4685
4685
|
const _excluded$j = ["typeId", "id"];
|
|
4686
|
-
function ownKeys$
|
|
4687
|
-
function _objectSpread$
|
|
4686
|
+
function ownKeys$1a(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4687
|
+
function _objectSpread$1a(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$1a(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$1a(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4688
4688
|
const CustomerChanges = props => {
|
|
4689
4689
|
switch (props.change.change) {
|
|
4690
4690
|
case ResourceChangeInput.SetStores:
|
|
@@ -4723,7 +4723,7 @@ const CustomerChanges = props => {
|
|
|
4723
4723
|
case ResourceChangeInput.ChangeAddress:
|
|
4724
4724
|
{
|
|
4725
4725
|
return jsx(ComposedChange, {
|
|
4726
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
4726
|
+
label: jsx(FormattedMessage, _objectSpread$1a(_objectSpread$1a({}, messages$1l.addressIdLabel), {}, {
|
|
4727
4727
|
values: {
|
|
4728
4728
|
b: getBoldText,
|
|
4729
4729
|
addressId: props.value.id
|
|
@@ -4775,8 +4775,8 @@ const CustomerChanges = props => {
|
|
|
4775
4775
|
CustomerChanges.displayName = 'CustomerChanges';
|
|
4776
4776
|
|
|
4777
4777
|
const _excluded$i = ["typeId", "id"];
|
|
4778
|
-
function ownKeys$
|
|
4779
|
-
function _objectSpread$
|
|
4778
|
+
function ownKeys$19(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4779
|
+
function _objectSpread$19(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$19(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$19(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4780
4780
|
const DiscountChanges = props => {
|
|
4781
4781
|
var _context;
|
|
4782
4782
|
const intl = useIntl();
|
|
@@ -4795,7 +4795,7 @@ const DiscountChanges = props => {
|
|
|
4795
4795
|
return jsxs(Spacings.Stack, {
|
|
4796
4796
|
scale: "xs",
|
|
4797
4797
|
children: [jsx("div", {
|
|
4798
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4798
|
+
children: jsx(FormattedMessage, _objectSpread$19(_objectSpread$19({}, messages$1l.validFromLabel), {}, {
|
|
4799
4799
|
values: {
|
|
4800
4800
|
date: props.value.validFrom ? jsx(FormattedDateTime, {
|
|
4801
4801
|
type: "datetime",
|
|
@@ -4806,7 +4806,7 @@ const DiscountChanges = props => {
|
|
|
4806
4806
|
}
|
|
4807
4807
|
}))
|
|
4808
4808
|
}), jsx("div", {
|
|
4809
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4809
|
+
children: jsx(FormattedMessage, _objectSpread$19(_objectSpread$19({}, messages$1l.validUntilLabel), {}, {
|
|
4810
4810
|
values: {
|
|
4811
4811
|
date: props.value.validUntil ? jsx(FormattedDateTime, {
|
|
4812
4812
|
type: "datetime",
|
|
@@ -4847,7 +4847,7 @@ const DiscountChanges = props => {
|
|
|
4847
4847
|
return jsxs(Spacings.Stack, {
|
|
4848
4848
|
scale: "xs",
|
|
4849
4849
|
children: [jsx("div", {
|
|
4850
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4850
|
+
children: jsx(FormattedMessage, _objectSpread$19(_objectSpread$19({}, messages$1l.predicateTypeLabel), {}, {
|
|
4851
4851
|
values: {
|
|
4852
4852
|
predicateType: jsx("b", {
|
|
4853
4853
|
children: props.value.type
|
|
@@ -4900,8 +4900,8 @@ const DiscountChanges = props => {
|
|
|
4900
4900
|
DiscountChanges.displayName = 'DiscountChanges';
|
|
4901
4901
|
|
|
4902
4902
|
const _excluded$h = ["typeId", "id"];
|
|
4903
|
-
function ownKeys$
|
|
4904
|
-
function _objectSpread$
|
|
4903
|
+
function ownKeys$18(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4904
|
+
function _objectSpread$18(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$18(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$18(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4905
4905
|
const InventoryEntryChanges = props => {
|
|
4906
4906
|
switch (props.change.change) {
|
|
4907
4907
|
case ResourceChangeInput.SetCustomType:
|
|
@@ -4920,13 +4920,13 @@ const InventoryEntryChanges = props => {
|
|
|
4920
4920
|
return jsxs(Spacings.Stack, {
|
|
4921
4921
|
scale: "xs",
|
|
4922
4922
|
children: [jsx("div", {
|
|
4923
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4923
|
+
children: jsx(FormattedMessage, _objectSpread$18(_objectSpread$18({}, messages$1l.quantityOnStockLabel), {}, {
|
|
4924
4924
|
values: {
|
|
4925
4925
|
quantity: props.value.quantityOnStock
|
|
4926
4926
|
}
|
|
4927
4927
|
}))
|
|
4928
4928
|
}), jsx("div", {
|
|
4929
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4929
|
+
children: jsx(FormattedMessage, _objectSpread$18(_objectSpread$18({}, messages$1l.availableQuantityLabel), {}, {
|
|
4930
4930
|
values: {
|
|
4931
4931
|
quantity: props.value.availableQuantity
|
|
4932
4932
|
}
|
|
@@ -4934,7 +4934,7 @@ const InventoryEntryChanges = props => {
|
|
|
4934
4934
|
})]
|
|
4935
4935
|
});
|
|
4936
4936
|
case ResourceChangeInput.SetRestockableInDays:
|
|
4937
|
-
return jsx(FormattedMessage, _objectSpread$
|
|
4937
|
+
return jsx(FormattedMessage, _objectSpread$18(_objectSpread$18({}, messages$1l.setRestockableInDaysLabel), {}, {
|
|
4938
4938
|
values: {
|
|
4939
4939
|
day: props.value
|
|
4940
4940
|
}
|
|
@@ -4971,36 +4971,36 @@ const InventoryEntryChanges = props => {
|
|
|
4971
4971
|
};
|
|
4972
4972
|
InventoryEntryChanges.displayName = 'InventoryEntryChanges';
|
|
4973
4973
|
|
|
4974
|
-
function ownKeys$
|
|
4975
|
-
function _objectSpread$
|
|
4974
|
+
function ownKeys$17(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4975
|
+
function _objectSpread$17(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$17(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$17(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4976
4976
|
const TrackingDataChange = props => props.value ? jsxs(Spacings.Stack, {
|
|
4977
4977
|
scale: "xs",
|
|
4978
4978
|
children: [props.value.trackingId && jsx("div", {
|
|
4979
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4979
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.trackingIdLabel), {}, {
|
|
4980
4980
|
values: {
|
|
4981
4981
|
trackingId: props.value.trackingId
|
|
4982
4982
|
}
|
|
4983
4983
|
}))
|
|
4984
4984
|
}), props.value.carrier && jsx("div", {
|
|
4985
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4985
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.carrierLabel), {}, {
|
|
4986
4986
|
values: {
|
|
4987
4987
|
carrier: props.value.carrier
|
|
4988
4988
|
}
|
|
4989
4989
|
}))
|
|
4990
4990
|
}), props.value.provider && jsx("div", {
|
|
4991
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4991
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.providerLabel), {}, {
|
|
4992
4992
|
values: {
|
|
4993
4993
|
provider: props.value.provider
|
|
4994
4994
|
}
|
|
4995
4995
|
}))
|
|
4996
4996
|
}), props.value.providerTransaction && jsx("div", {
|
|
4997
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
4997
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.providerTransactionLabel), {}, {
|
|
4998
4998
|
values: {
|
|
4999
4999
|
providerTransaction: props.value.providerTransaction
|
|
5000
5000
|
}
|
|
5001
5001
|
}))
|
|
5002
5002
|
}), props.value.isReturn !== undefined && jsx("div", {
|
|
5003
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5003
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.isReturnLabel), {}, {
|
|
5004
5004
|
values: {
|
|
5005
5005
|
isReturn: _JSON$stringify(props.value.isReturn)
|
|
5006
5006
|
}
|
|
@@ -5011,25 +5011,25 @@ TrackingDataChange.displayName = 'TrackingDataChange';
|
|
|
5011
5011
|
const MeasurementsChange = props => props.value ? jsxs(Spacings.Stack, {
|
|
5012
5012
|
scale: "xs",
|
|
5013
5013
|
children: [props.value.heightInMillimeter && jsx("div", {
|
|
5014
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5014
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.heightInMillimeterLabel), {}, {
|
|
5015
5015
|
values: {
|
|
5016
5016
|
heightInMillimeter: props.value.heightInMillimeter
|
|
5017
5017
|
}
|
|
5018
5018
|
}))
|
|
5019
5019
|
}), props.value.lengthInMillimeter && jsx("div", {
|
|
5020
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5020
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.lengthInMillimeterLabel), {}, {
|
|
5021
5021
|
values: {
|
|
5022
5022
|
lengthInMillimeter: props.value.lengthInMillimeter
|
|
5023
5023
|
}
|
|
5024
5024
|
}))
|
|
5025
5025
|
}), props.value.widthInMillimeter && jsx("div", {
|
|
5026
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5026
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.widthInMillimeterLabel), {}, {
|
|
5027
5027
|
values: {
|
|
5028
5028
|
widthInMillimeter: props.value.widthInMillimeter
|
|
5029
5029
|
}
|
|
5030
5030
|
}))
|
|
5031
5031
|
}), props.value.weightInGram && jsx("div", {
|
|
5032
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5032
|
+
children: jsx(FormattedMessage, _objectSpread$17(_objectSpread$17({}, messages$1l.weightInGramLabel), {}, {
|
|
5033
5033
|
values: {
|
|
5034
5034
|
weightInGram: props.value.weightInGram
|
|
5035
5035
|
}
|
|
@@ -5038,8 +5038,8 @@ const MeasurementsChange = props => props.value ? jsxs(Spacings.Stack, {
|
|
|
5038
5038
|
}) : jsx(NoValueLabel, {});
|
|
5039
5039
|
MeasurementsChange.displayName = 'MeasurementsChange';
|
|
5040
5040
|
|
|
5041
|
-
function ownKeys$
|
|
5042
|
-
function _objectSpread$
|
|
5041
|
+
function ownKeys$16(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5042
|
+
function _objectSpread$16(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$16(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$16(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5043
5043
|
const SetCustomerChange = props => {
|
|
5044
5044
|
if (!props.value) return jsx(NoValueLabel, {});
|
|
5045
5045
|
if (!props.value.email) return props.value.id;
|
|
@@ -5047,19 +5047,19 @@ const SetCustomerChange = props => {
|
|
|
5047
5047
|
css: productAttributeValuesStyles,
|
|
5048
5048
|
children: jsxs(Spacings.Stack, {
|
|
5049
5049
|
scale: "xs",
|
|
5050
|
-
children: [props.value.email && jsx(FormattedMessage, _objectSpread$
|
|
5050
|
+
children: [props.value.email && jsx(FormattedMessage, _objectSpread$16(_objectSpread$16({}, messages$1l.customerEmailLabel), {}, {
|
|
5051
5051
|
values: {
|
|
5052
5052
|
email: props.value.email
|
|
5053
5053
|
}
|
|
5054
|
-
})), props.value.firstName && jsx(FormattedMessage, _objectSpread$
|
|
5054
|
+
})), props.value.firstName && jsx(FormattedMessage, _objectSpread$16(_objectSpread$16({}, messages$1l.customerFirstNameLabel), {}, {
|
|
5055
5055
|
values: {
|
|
5056
5056
|
firstName: props.value.firstName
|
|
5057
5057
|
}
|
|
5058
|
-
})), props.value.lastName && jsx(FormattedMessage, _objectSpread$
|
|
5058
|
+
})), props.value.lastName && jsx(FormattedMessage, _objectSpread$16(_objectSpread$16({}, messages$1l.customerLastNameLabel), {}, {
|
|
5059
5059
|
values: {
|
|
5060
5060
|
lastName: props.value.lastName
|
|
5061
5061
|
}
|
|
5062
|
-
})), props.value.customerNumber && jsx(FormattedMessage, _objectSpread$
|
|
5062
|
+
})), props.value.customerNumber && jsx(FormattedMessage, _objectSpread$16(_objectSpread$16({}, messages$1l.customerNumberLabel), {}, {
|
|
5063
5063
|
values: {
|
|
5064
5064
|
customerNumber: props.value.customerNumber
|
|
5065
5065
|
}
|
|
@@ -5069,21 +5069,21 @@ const SetCustomerChange = props => {
|
|
|
5069
5069
|
};
|
|
5070
5070
|
SetCustomerChange.displayName = 'SetCustomerChange';
|
|
5071
5071
|
|
|
5072
|
-
function ownKeys$
|
|
5073
|
-
function _objectSpread$
|
|
5072
|
+
function ownKeys$15(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5073
|
+
function _objectSpread$15(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$15(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$15(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5074
5074
|
const ShippingRateChange = props => {
|
|
5075
5075
|
var _context;
|
|
5076
5076
|
const intl = useIntl();
|
|
5077
5077
|
return jsxs(Spacings.Stack, {
|
|
5078
5078
|
scale: "xs",
|
|
5079
5079
|
children: [jsx(Text.Detail, {
|
|
5080
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5080
|
+
children: jsx(FormattedMessage, _objectSpread$15(_objectSpread$15({}, messages$1l.shippingRatePriceLabel), {}, {
|
|
5081
5081
|
values: {
|
|
5082
5082
|
price: formatMoney(props.value.price, intl)
|
|
5083
5083
|
}
|
|
5084
5084
|
}))
|
|
5085
5085
|
}), props.value.freeAbove && jsx(Text.Detail, {
|
|
5086
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5086
|
+
children: jsx(FormattedMessage, _objectSpread$15(_objectSpread$15({}, messages$1l.shippingRateFreeAboveLabel), {}, {
|
|
5087
5087
|
values: {
|
|
5088
5088
|
freeAbove: formatMoney(props.value.freeAbove, intl)
|
|
5089
5089
|
}
|
|
@@ -5102,7 +5102,7 @@ const ShippingRateChange = props => {
|
|
|
5102
5102
|
children: jsxs(Spacings.Stack, {
|
|
5103
5103
|
scale: "xs",
|
|
5104
5104
|
children: [jsx(Text.Detail, {
|
|
5105
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5105
|
+
children: jsx(FormattedMessage, _objectSpread$15(_objectSpread$15({}, messages$1l.shippingRatePriceLabel), {}, {
|
|
5106
5106
|
values: {
|
|
5107
5107
|
price: formatMoney(tier.price, intl)
|
|
5108
5108
|
}
|
|
@@ -5110,17 +5110,17 @@ const ShippingRateChange = props => {
|
|
|
5110
5110
|
}), jsx(Spacings.Inline, {
|
|
5111
5111
|
scale: "xs",
|
|
5112
5112
|
children: jsxs(Text.Detail, {
|
|
5113
|
-
children: [tier.minimumCentAmount && jsx(FormattedMessage, _objectSpread$
|
|
5113
|
+
children: [tier.minimumCentAmount && jsx(FormattedMessage, _objectSpread$15(_objectSpread$15({}, messages$1l.cartValueShippingRateTierLabel), {}, {
|
|
5114
5114
|
values: {
|
|
5115
|
-
minimumCentAmount: formatMoney(_objectSpread$
|
|
5115
|
+
minimumCentAmount: formatMoney(_objectSpread$15(_objectSpread$15({}, tier.price), {}, {
|
|
5116
5116
|
centAmount: tier.minimumCentAmount
|
|
5117
5117
|
}), intl)
|
|
5118
5118
|
}
|
|
5119
|
-
})), tier.score && jsx(FormattedMessage, _objectSpread$
|
|
5119
|
+
})), tier.score && jsx(FormattedMessage, _objectSpread$15(_objectSpread$15({}, messages$1l.cartScoreShippingRateTierLabel), {}, {
|
|
5120
5120
|
values: {
|
|
5121
5121
|
score: tier.score
|
|
5122
5122
|
}
|
|
5123
|
-
})), tier.value && jsx(FormattedMessage, _objectSpread$
|
|
5123
|
+
})), tier.value && jsx(FormattedMessage, _objectSpread$15(_objectSpread$15({}, messages$1l.cartClassificationShippingRateTierLabel), {}, {
|
|
5124
5124
|
values: {
|
|
5125
5125
|
key: tier.value
|
|
5126
5126
|
}
|
|
@@ -5135,8 +5135,8 @@ const ShippingRateChange = props => {
|
|
|
5135
5135
|
};
|
|
5136
5136
|
ShippingRateChange.displayName = 'ShippingRateChange';
|
|
5137
5137
|
|
|
5138
|
-
function ownKeys$
|
|
5139
|
-
function _objectSpread$
|
|
5138
|
+
function ownKeys$14(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5139
|
+
function _objectSpread$14(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$14(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$14(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5140
5140
|
const ShippingRateInputChange = props => {
|
|
5141
5141
|
const _useApplicationContex = useApplicationContext(applicationContext => ({
|
|
5142
5142
|
language: applicationContext.dataLocale,
|
|
@@ -5158,7 +5158,7 @@ const ShippingRateInputChange = props => {
|
|
|
5158
5158
|
}), jsx(Spacings.Inline, {
|
|
5159
5159
|
scale: "xs",
|
|
5160
5160
|
children: jsx(Text.Detail, {
|
|
5161
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5161
|
+
children: jsx(FormattedMessage, _objectSpread$14(_objectSpread$14({}, messages$1l.valueLabel), {}, {
|
|
5162
5162
|
values: {
|
|
5163
5163
|
value: props.value.score || localize({
|
|
5164
5164
|
obj: props.value,
|
|
@@ -5174,8 +5174,8 @@ const ShippingRateInputChange = props => {
|
|
|
5174
5174
|
};
|
|
5175
5175
|
ShippingRateInputChange.displayName = 'ShippingRateInputChange';
|
|
5176
5176
|
|
|
5177
|
-
function ownKeys$
|
|
5178
|
-
function _objectSpread$
|
|
5177
|
+
function ownKeys$13(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5178
|
+
function _objectSpread$13(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$13(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$13(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5179
5179
|
const TaxRateChange = props => {
|
|
5180
5180
|
var _context;
|
|
5181
5181
|
return jsxs(Spacings.Stack, {
|
|
@@ -5188,7 +5188,7 @@ const TaxRateChange = props => {
|
|
|
5188
5188
|
children: props.value.name
|
|
5189
5189
|
})]
|
|
5190
5190
|
}), jsx(Text.Detail, {
|
|
5191
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5191
|
+
children: jsx(FormattedMessage, _objectSpread$13(_objectSpread$13({}, props.value.includedInPrice ? messages$1l.taxRateAmountIncludedInPriceLabel : messages$1l.taxRateAmountNotIncludedInPriceLabel), {}, {
|
|
5192
5192
|
values: {
|
|
5193
5193
|
amount: props.value.amount
|
|
5194
5194
|
}
|
|
@@ -5214,21 +5214,21 @@ const TaxRateChange = props => {
|
|
|
5214
5214
|
};
|
|
5215
5215
|
TaxRateChange.displayName = 'TaxRateChange';
|
|
5216
5216
|
|
|
5217
|
-
function ownKeys$
|
|
5218
|
-
function _objectSpread$
|
|
5217
|
+
function ownKeys$12(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5218
|
+
function _objectSpread$12(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$12(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$12(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5219
5219
|
const TaxedPriceChange = props => {
|
|
5220
5220
|
var _context;
|
|
5221
5221
|
const intl = useIntl();
|
|
5222
5222
|
return jsxs(Spacings.Stack, {
|
|
5223
5223
|
scale: "xs",
|
|
5224
5224
|
children: [jsx(Text.Detail, {
|
|
5225
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5225
|
+
children: jsx(FormattedMessage, _objectSpread$12(_objectSpread$12({}, messages$1l.totalNetLabel), {}, {
|
|
5226
5226
|
values: {
|
|
5227
5227
|
totalNet: formatMoney(props.value.totalNet, intl)
|
|
5228
5228
|
}
|
|
5229
5229
|
}))
|
|
5230
5230
|
}), jsx(Text.Detail, {
|
|
5231
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5231
|
+
children: jsx(FormattedMessage, _objectSpread$12(_objectSpread$12({}, messages$1l.totalGrossLabel), {}, {
|
|
5232
5232
|
values: {
|
|
5233
5233
|
totalGross: formatMoney(props.value.totalGross, intl)
|
|
5234
5234
|
}
|
|
@@ -5248,7 +5248,7 @@ const TaxedPriceChange = props => {
|
|
|
5248
5248
|
children: taxPortion.name
|
|
5249
5249
|
})]
|
|
5250
5250
|
}), jsx(Text.Detail, {
|
|
5251
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5251
|
+
children: jsx(FormattedMessage, _objectSpread$12(_objectSpread$12({}, messages$1l.taxPortionItemLabel), {}, {
|
|
5252
5252
|
values: {
|
|
5253
5253
|
amount: formatMoney(taxPortion.amount, intl),
|
|
5254
5254
|
rate: taxPortion.rate
|
|
@@ -5424,23 +5424,23 @@ var messages$X = defineMessages({
|
|
|
5424
5424
|
|
|
5425
5425
|
const _excluded$g = ["typeId", "id"],
|
|
5426
5426
|
_excluded2$4 = ["typeId", "id"];
|
|
5427
|
-
function ownKeys$
|
|
5428
|
-
function _objectSpread$
|
|
5427
|
+
function ownKeys$11(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5428
|
+
function _objectSpread$11(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context7 = ownKeys$11(Object(t), !0)).call(_context7, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context8 = ownKeys$11(Object(t))).call(_context8, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5429
5429
|
const lineItemPropsMessages = {
|
|
5430
|
-
name: jsx(FormattedMessage, _objectSpread$
|
|
5431
|
-
price: jsx(FormattedMessage, _objectSpread$
|
|
5432
|
-
quantity: jsx(FormattedMessage, _objectSpread$
|
|
5433
|
-
totalPrice: jsx(FormattedMessage, _objectSpread$
|
|
5434
|
-
variantId: jsx(FormattedMessage, _objectSpread$
|
|
5435
|
-
variantSku: jsx(FormattedMessage, _objectSpread$
|
|
5430
|
+
name: jsx(FormattedMessage, _objectSpread$11({}, messages$X.nameColumnLabel)),
|
|
5431
|
+
price: jsx(FormattedMessage, _objectSpread$11({}, messages$X.priceColumnLabel)),
|
|
5432
|
+
quantity: jsx(FormattedMessage, _objectSpread$11({}, messages$X.quantityColumnLabel)),
|
|
5433
|
+
totalPrice: jsx(FormattedMessage, _objectSpread$11({}, messages$X.totalPriceColumnLabel)),
|
|
5434
|
+
variantId: jsx(FormattedMessage, _objectSpread$11({}, messages$X.variantIdColumnLabel)),
|
|
5435
|
+
variantSku: jsx(FormattedMessage, _objectSpread$11({}, messages$X.variantSkuColumnLabel))
|
|
5436
5436
|
};
|
|
5437
5437
|
const customLineItemsPropsMessages = {
|
|
5438
|
-
name: jsx(FormattedMessage, _objectSpread$
|
|
5439
|
-
slug: jsx(FormattedMessage, _objectSpread$
|
|
5440
|
-
quantity: jsx(FormattedMessage, _objectSpread$
|
|
5441
|
-
totalPrice: jsx(FormattedMessage, _objectSpread$
|
|
5438
|
+
name: jsx(FormattedMessage, _objectSpread$11({}, messages$X.nameColumnLabel)),
|
|
5439
|
+
slug: jsx(FormattedMessage, _objectSpread$11({}, messages$X.slugColumnLabel)),
|
|
5440
|
+
quantity: jsx(FormattedMessage, _objectSpread$11({}, messages$X.quantityColumnLabel)),
|
|
5441
|
+
totalPrice: jsx(FormattedMessage, _objectSpread$11({}, messages$X.totalPriceColumnLabel))
|
|
5442
5442
|
};
|
|
5443
|
-
const getLineItemLabel = (lineItemChange, language, languages) => jsx(FormattedMessage, _objectSpread$
|
|
5443
|
+
const getLineItemLabel = (lineItemChange, language, languages) => jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.lineItemLabel), {}, {
|
|
5444
5444
|
values: {
|
|
5445
5445
|
b: getBoldText,
|
|
5446
5446
|
item: localize({
|
|
@@ -5453,7 +5453,7 @@ const getLineItemLabel = (lineItemChange, language, languages) => jsx(FormattedM
|
|
|
5453
5453
|
variant: lineItemChange.variant
|
|
5454
5454
|
}
|
|
5455
5455
|
}));
|
|
5456
|
-
const getCustomLineItemLabel = (customLineItemChange, language, languages) => jsx(FormattedMessage, _objectSpread$
|
|
5456
|
+
const getCustomLineItemLabel = (customLineItemChange, language, languages) => jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.customLineItemLabel), {}, {
|
|
5457
5457
|
values: {
|
|
5458
5458
|
b: getBoldText,
|
|
5459
5459
|
item: localize({
|
|
@@ -5515,7 +5515,7 @@ const OrderChanges = props => {
|
|
|
5515
5515
|
{
|
|
5516
5516
|
var _context, _context2;
|
|
5517
5517
|
return jsx(ComposedChange, {
|
|
5518
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5518
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelLabel), {}, {
|
|
5519
5519
|
values: {
|
|
5520
5520
|
b: getBoldText,
|
|
5521
5521
|
parcelDate: formatDateTime('datetime', props.change.parcel?.createdAt, {
|
|
@@ -5526,7 +5526,7 @@ const OrderChanges = props => {
|
|
|
5526
5526
|
nextValue: jsx(Spacings.Stack, {
|
|
5527
5527
|
scale: "xs",
|
|
5528
5528
|
children: props.change.nextValue.length > 0 ? _mapInstanceProperty(_context = props.change.nextValue).call(_context, next => jsx("div", {
|
|
5529
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5529
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelInfoLabel), {}, {
|
|
5530
5530
|
values: {
|
|
5531
5531
|
parcelId: next.id,
|
|
5532
5532
|
parcelQuantity: next.quantity
|
|
@@ -5537,7 +5537,7 @@ const OrderChanges = props => {
|
|
|
5537
5537
|
previousValue: jsx(Spacings.Stack, {
|
|
5538
5538
|
scale: "xs",
|
|
5539
5539
|
children: props.change.previousValue.length > 0 ? _mapInstanceProperty(_context2 = props.change.previousValue).call(_context2, prev => jsx("div", {
|
|
5540
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5540
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelInfoLabel), {}, {
|
|
5541
5541
|
values: {
|
|
5542
5542
|
parcelId: prev.id,
|
|
5543
5543
|
parcelQuantity: prev.quantity
|
|
@@ -5551,7 +5551,7 @@ const OrderChanges = props => {
|
|
|
5551
5551
|
{
|
|
5552
5552
|
var _context3, _context4;
|
|
5553
5553
|
return jsx(ComposedChange, {
|
|
5554
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5554
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.deliveryLabel), {}, {
|
|
5555
5555
|
values: {
|
|
5556
5556
|
b: getBoldText,
|
|
5557
5557
|
delivery: props.change.deliveryId
|
|
@@ -5560,7 +5560,7 @@ const OrderChanges = props => {
|
|
|
5560
5560
|
nextValue: jsx(Spacings.Stack, {
|
|
5561
5561
|
scale: "xs",
|
|
5562
5562
|
children: props.change.nextValue.length > 0 ? _mapInstanceProperty(_context3 = props.change.nextValue).call(_context3, next => jsx("div", {
|
|
5563
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5563
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelInfoLabel), {}, {
|
|
5564
5564
|
values: {
|
|
5565
5565
|
parcelId: next.id,
|
|
5566
5566
|
parcelQuantity: next.quantity
|
|
@@ -5571,7 +5571,7 @@ const OrderChanges = props => {
|
|
|
5571
5571
|
previousValue: jsx(Spacings.Stack, {
|
|
5572
5572
|
scale: "xs",
|
|
5573
5573
|
children: props.change.previousValue.length > 0 ? _mapInstanceProperty(_context4 = props.change.previousValue).call(_context4, prev => jsx("div", {
|
|
5574
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5574
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelInfoLabel), {}, {
|
|
5575
5575
|
values: {
|
|
5576
5576
|
parcelId: prev.id,
|
|
5577
5577
|
parcelQuantity: prev.quantity
|
|
@@ -5584,7 +5584,7 @@ const OrderChanges = props => {
|
|
|
5584
5584
|
case ResourceChangeInput.UpdateItemShippingAddress:
|
|
5585
5585
|
{
|
|
5586
5586
|
return jsx(ComposedChange, {
|
|
5587
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5587
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.addressKeyLabel), {}, {
|
|
5588
5588
|
values: {
|
|
5589
5589
|
b: getBoldText,
|
|
5590
5590
|
addressKey: props.change.previousValue.key || props.change.nextValue.key
|
|
@@ -5602,7 +5602,7 @@ const OrderChanges = props => {
|
|
|
5602
5602
|
nextValue: jsx(Spacings.Stack, {
|
|
5603
5603
|
scale: "xs",
|
|
5604
5604
|
children: props.change.nextValue?.targets.length > 0 ? props.change.nextValue?.targets.map(target => jsx("div", {
|
|
5605
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5605
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.itemShippingAddressLabel), {}, {
|
|
5606
5606
|
values: target
|
|
5607
5607
|
}))
|
|
5608
5608
|
}, `${props?.change?.change}-next-${target.id}-${target.quantity}`)) : jsx(NoValueLabel, {})
|
|
@@ -5610,7 +5610,7 @@ const OrderChanges = props => {
|
|
|
5610
5610
|
previousValue: jsx(Spacings.Stack, {
|
|
5611
5611
|
scale: "xs",
|
|
5612
5612
|
children: props.change.previousValue?.targets.length > 0 ? props.change.previousValue?.targets.map(target => jsx("div", {
|
|
5613
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5613
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.itemShippingAddressLabel), {}, {
|
|
5614
5614
|
values: target
|
|
5615
5615
|
}))
|
|
5616
5616
|
}, `${props?.change?.change}-prev-${target.id}-${target.quantity}`)) : jsx(NoValueLabel, {})
|
|
@@ -5620,7 +5620,7 @@ const OrderChanges = props => {
|
|
|
5620
5620
|
case ResourceChangeInput.SetParcelTrackingData:
|
|
5621
5621
|
{
|
|
5622
5622
|
return jsx(ComposedChange, {
|
|
5623
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5623
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelLabel), {}, {
|
|
5624
5624
|
values: {
|
|
5625
5625
|
b: getBoldText,
|
|
5626
5626
|
parcelDate: formatDateTime('datetime', props.change.parcel?.createdAt, {
|
|
@@ -5639,7 +5639,7 @@ const OrderChanges = props => {
|
|
|
5639
5639
|
case ResourceChangeInput.SetParcelMeasurements:
|
|
5640
5640
|
{
|
|
5641
5641
|
return jsx(ComposedChange, {
|
|
5642
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5642
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.parcelLabel), {}, {
|
|
5643
5643
|
values: {
|
|
5644
5644
|
b: getBoldText,
|
|
5645
5645
|
parcelDate: formatDateTime('datetime', props.change.parcel?.createdAt, {
|
|
@@ -5661,7 +5661,7 @@ const OrderChanges = props => {
|
|
|
5661
5661
|
const value = props.value || props.change.previousValue;
|
|
5662
5662
|
return jsx("div", {
|
|
5663
5663
|
css: productAttributeValuesStyles,
|
|
5664
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5664
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.removeDeliveryLabel), {}, {
|
|
5665
5665
|
values: {
|
|
5666
5666
|
deliveryDate: value?.createdAt ? formatDateTime('datetime', value?.createdAt, {
|
|
5667
5667
|
locale: intl.locale
|
|
@@ -5678,7 +5678,7 @@ const OrderChanges = props => {
|
|
|
5678
5678
|
const value = props.value || props.change.previousValue;
|
|
5679
5679
|
return jsx("div", {
|
|
5680
5680
|
css: productAttributeValuesStyles,
|
|
5681
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5681
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.removeParcelLabel), {}, {
|
|
5682
5682
|
values: {
|
|
5683
5683
|
parcelDate: value?.createdAt ? formatDateTime('datetime', value?.createdAt, {
|
|
5684
5684
|
locale: intl.locale
|
|
@@ -5691,7 +5691,7 @@ const OrderChanges = props => {
|
|
|
5691
5691
|
case ResourceChangeInput.SetDeliveryAddress:
|
|
5692
5692
|
{
|
|
5693
5693
|
return jsx(ComposedChange, {
|
|
5694
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5694
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.deliveryLabel), {}, {
|
|
5695
5695
|
values: {
|
|
5696
5696
|
b: getBoldText,
|
|
5697
5697
|
delivery: props.change.deliveryId
|
|
@@ -5728,13 +5728,13 @@ const OrderChanges = props => {
|
|
|
5728
5728
|
case ResourceChangeInput.UpdateSyncInfo:
|
|
5729
5729
|
{
|
|
5730
5730
|
return jsx(ComposedChange, {
|
|
5731
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5731
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.syncedChannelLabel), {}, {
|
|
5732
5732
|
values: {
|
|
5733
5733
|
channel: props.value.channel.key || props.value.channel.id
|
|
5734
5734
|
}
|
|
5735
5735
|
})),
|
|
5736
5736
|
previousValue: props.change.previousValue ? jsx("div", {
|
|
5737
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5737
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.syncedAtLabel), {}, {
|
|
5738
5738
|
values: {
|
|
5739
5739
|
syncedAt: formatDateTime('datetime', props.change.previousValue.syncedAt, {
|
|
5740
5740
|
locale: intl.locale
|
|
@@ -5743,7 +5743,7 @@ const OrderChanges = props => {
|
|
|
5743
5743
|
}))
|
|
5744
5744
|
}) : jsx(NoValueLabel, {}),
|
|
5745
5745
|
nextValue: props.change.nextValue ? jsx("div", {
|
|
5746
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5746
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.syncedAtLabel), {}, {
|
|
5747
5747
|
values: {
|
|
5748
5748
|
syncedAt: formatDateTime('datetime', props.change.nextValue.syncedAt, {
|
|
5749
5749
|
locale: intl.locale
|
|
@@ -5756,7 +5756,7 @@ const OrderChanges = props => {
|
|
|
5756
5756
|
case ResourceChangeInput.AddReturnInfo:
|
|
5757
5757
|
return jsx("div", {
|
|
5758
5758
|
css: productAttributeValuesStyles,
|
|
5759
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
5759
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.addReturnLabel), {}, {
|
|
5760
5760
|
values: {
|
|
5761
5761
|
returnDate: formatDateTime('datetime', props.change.nextValue.returnDate, {
|
|
5762
5762
|
locale: intl.locale
|
|
@@ -5796,18 +5796,18 @@ const OrderChanges = props => {
|
|
|
5796
5796
|
return jsxs("div", {
|
|
5797
5797
|
css: productAttributeValuesStyles,
|
|
5798
5798
|
children: [props?.change?.change === 'transitionCustomLineItemState' ? getCustomLineItemLabel(props.change, language, languages) : getLineItemLabel(props.change, language, languages), jsx(ComposedChange, {
|
|
5799
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
5799
|
+
label: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.stateLabel), {}, {
|
|
5800
5800
|
values: {
|
|
5801
5801
|
b: getBoldText,
|
|
5802
5802
|
state: stateLabel
|
|
5803
5803
|
}
|
|
5804
5804
|
})),
|
|
5805
|
-
nextValue: nextState ? jsx(FormattedMessage, _objectSpread$
|
|
5805
|
+
nextValue: nextState ? jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.stateQuantityLabel), {}, {
|
|
5806
5806
|
values: {
|
|
5807
5807
|
quantity: nextState.quantity
|
|
5808
5808
|
}
|
|
5809
5809
|
})) : jsx(NoValueLabel, {}),
|
|
5810
|
-
previousValue: prevState ? jsx(FormattedMessage, _objectSpread$
|
|
5810
|
+
previousValue: prevState ? jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.stateQuantityLabel), {}, {
|
|
5811
5811
|
values: {
|
|
5812
5812
|
quantity: prevState.quantity
|
|
5813
5813
|
}
|
|
@@ -5969,7 +5969,7 @@ const OrderChanges = props => {
|
|
|
5969
5969
|
scale: "s",
|
|
5970
5970
|
children: [jsxs(Spacings.Stack, {
|
|
5971
5971
|
scale: "xs",
|
|
5972
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
5972
|
+
children: [jsx(FormattedMessage, _objectSpread$11({}, messages$1l.taxRateLabel)), jsxs(Spacings.Inline, {
|
|
5973
5973
|
scale: "l",
|
|
5974
5974
|
children: [jsx("div", {}), jsx(TaxRateChange, {
|
|
5975
5975
|
value: props.value.taxRate
|
|
@@ -5977,7 +5977,7 @@ const OrderChanges = props => {
|
|
|
5977
5977
|
})]
|
|
5978
5978
|
}), jsxs(Spacings.Stack, {
|
|
5979
5979
|
scale: "xs",
|
|
5980
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
5980
|
+
children: [jsx(FormattedMessage, _objectSpread$11({}, messages$1l.taxedPriceLabel)), jsxs(Spacings.Inline, {
|
|
5981
5981
|
scale: "l",
|
|
5982
5982
|
children: [jsx("div", {}), jsx(TaxedPriceChange, {
|
|
5983
5983
|
value: props.value.taxedPrice
|
|
@@ -6016,13 +6016,13 @@ const OrderChanges = props => {
|
|
|
6016
6016
|
nextValue: props.change.nextValue ? jsxs(Spacings.Stack, {
|
|
6017
6017
|
scale: "xs",
|
|
6018
6018
|
children: [jsx(Text.Detail, {
|
|
6019
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6019
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.stateQuantityLabel), {}, {
|
|
6020
6020
|
values: {
|
|
6021
6021
|
quantity: props.change.nextValue.quantity
|
|
6022
6022
|
}
|
|
6023
6023
|
}))
|
|
6024
6024
|
}), jsx(Text.Detail, {
|
|
6025
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6025
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.discountedPriceLabel), {}, {
|
|
6026
6026
|
values: {
|
|
6027
6027
|
discountedPrice: formatMoney(props.change.nextValue.discountedPrice.value, intl)
|
|
6028
6028
|
}
|
|
@@ -6032,13 +6032,13 @@ const OrderChanges = props => {
|
|
|
6032
6032
|
previousValue: props.change.previousValue ? jsxs(Spacings.Stack, {
|
|
6033
6033
|
scale: "xs",
|
|
6034
6034
|
children: [jsx(Text.Detail, {
|
|
6035
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6035
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.stateQuantityLabel), {}, {
|
|
6036
6036
|
values: {
|
|
6037
6037
|
quantity: props.change.previousValue.quantity
|
|
6038
6038
|
}
|
|
6039
6039
|
}))
|
|
6040
6040
|
}), jsx(Text.Detail, {
|
|
6041
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6041
|
+
children: jsx(FormattedMessage, _objectSpread$11(_objectSpread$11({}, messages$1l.discountedPriceLabel), {}, {
|
|
6042
6042
|
values: {
|
|
6043
6043
|
discountedPrice: formatMoney(props.change.previousValue.discountedPrice.value, intl)
|
|
6044
6044
|
}
|
|
@@ -6363,8 +6363,8 @@ const ProductSelectionChanges = props => {
|
|
|
6363
6363
|
};
|
|
6364
6364
|
ProductSelectionChanges.displayName = 'ProductSelectionChanges';
|
|
6365
6365
|
|
|
6366
|
-
function ownKeys$
|
|
6367
|
-
function _objectSpread$
|
|
6366
|
+
function ownKeys$10(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6367
|
+
function _objectSpread$10(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$10(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$10(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6368
6368
|
const ProductTypeChanges = props => {
|
|
6369
6369
|
const _useApplicationContex = useApplicationContext(applicationContext => ({
|
|
6370
6370
|
language: applicationContext.dataLocale,
|
|
@@ -6389,7 +6389,7 @@ const ProductTypeChanges = props => {
|
|
|
6389
6389
|
{
|
|
6390
6390
|
return jsx("div", {
|
|
6391
6391
|
css: productAttributeValuesStyles,
|
|
6392
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6392
|
+
children: jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeNameLabel), {}, {
|
|
6393
6393
|
values: {
|
|
6394
6394
|
attributeName: props.change.previousValue?.name
|
|
6395
6395
|
}
|
|
@@ -6400,7 +6400,7 @@ const ProductTypeChanges = props => {
|
|
|
6400
6400
|
{
|
|
6401
6401
|
return jsx("div", {
|
|
6402
6402
|
css: productAttributeValuesStyles,
|
|
6403
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6403
|
+
children: jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeNameLabel), {}, {
|
|
6404
6404
|
values: {
|
|
6405
6405
|
attributeName: props.value.name
|
|
6406
6406
|
}
|
|
@@ -6412,7 +6412,7 @@ const ProductTypeChanges = props => {
|
|
|
6412
6412
|
{
|
|
6413
6413
|
return jsxs("div", {
|
|
6414
6414
|
css: productAttributeValuesStyles,
|
|
6415
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
6415
|
+
children: [jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeChangeLabel), {}, {
|
|
6416
6416
|
values: {
|
|
6417
6417
|
b: getBoldText,
|
|
6418
6418
|
attribute: props.change.attributeName
|
|
@@ -6433,7 +6433,7 @@ const ProductTypeChanges = props => {
|
|
|
6433
6433
|
}) : props.change.previousValue?.label;
|
|
6434
6434
|
return jsxs("div", {
|
|
6435
6435
|
css: productAttributeValuesStyles,
|
|
6436
|
-
children: [jsx(FormattedMessage, _objectSpread$
|
|
6436
|
+
children: [jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeChangeLabel), {}, {
|
|
6437
6437
|
values: {
|
|
6438
6438
|
b: getBoldText,
|
|
6439
6439
|
attribute: props.change.attributeName
|
|
@@ -6450,7 +6450,7 @@ const ProductTypeChanges = props => {
|
|
|
6450
6450
|
case ResourceChangeInput.ChangeInputHint:
|
|
6451
6451
|
{
|
|
6452
6452
|
return jsx(ComposedChange, {
|
|
6453
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
6453
|
+
label: jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeChangeLabel), {}, {
|
|
6454
6454
|
values: {
|
|
6455
6455
|
b: getBoldText,
|
|
6456
6456
|
attribute: props.change.attributeName
|
|
@@ -6464,7 +6464,7 @@ const ProductTypeChanges = props => {
|
|
|
6464
6464
|
case ResourceChangeInput.ChangePlainEnumValueLabel:
|
|
6465
6465
|
{
|
|
6466
6466
|
return jsx(ComposedChange, {
|
|
6467
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
6467
|
+
label: jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeChangeLabel), {}, {
|
|
6468
6468
|
values: {
|
|
6469
6469
|
b: getBoldText,
|
|
6470
6470
|
attribute: props.change.attributeName
|
|
@@ -6477,7 +6477,7 @@ const ProductTypeChanges = props => {
|
|
|
6477
6477
|
case ResourceChangeInput.ChangeLocalizedEnumValueLabel:
|
|
6478
6478
|
{
|
|
6479
6479
|
return jsx(ComposedChange, {
|
|
6480
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
6480
|
+
label: jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeChangeLabel), {}, {
|
|
6481
6481
|
values: {
|
|
6482
6482
|
b: getBoldText,
|
|
6483
6483
|
attribute: props.change.attributeName
|
|
@@ -6517,7 +6517,7 @@ const ProductTypeChanges = props => {
|
|
|
6517
6517
|
}));
|
|
6518
6518
|
}
|
|
6519
6519
|
return jsx(ComposedChange, {
|
|
6520
|
-
label: jsx(FormattedMessage, _objectSpread$
|
|
6520
|
+
label: jsx(FormattedMessage, _objectSpread$10(_objectSpread$10({}, messages$1l.attributeChangeLabel), {}, {
|
|
6521
6521
|
values: {
|
|
6522
6522
|
b: getBoldText,
|
|
6523
6523
|
attribute: props.change.attributeName
|
|
@@ -6572,8 +6572,8 @@ const ProductTypeChanges = props => {
|
|
|
6572
6572
|
};
|
|
6573
6573
|
ProductTypeChanges.displayName = 'ProductTypeChanges';
|
|
6574
6574
|
|
|
6575
|
-
function ownKeys
|
|
6576
|
-
function _objectSpread
|
|
6575
|
+
function ownKeys$$(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6576
|
+
function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$$(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$$(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6577
6577
|
const getAttributeType = value => {
|
|
6578
6578
|
if (value.typeId && value.id) {
|
|
6579
6579
|
return 'reference';
|
|
@@ -6607,7 +6607,7 @@ const AttributeChange = props => {
|
|
|
6607
6607
|
const hasNextValues = hasValues(props.change.nextValue?.filter(Boolean));
|
|
6608
6608
|
return jsxs("div", {
|
|
6609
6609
|
css: productAttributeValuesStyles,
|
|
6610
|
-
children: [jsx(FormattedMessage, _objectSpread
|
|
6610
|
+
children: [jsx(FormattedMessage, _objectSpread$$(_objectSpread$$({}, messages$1l.variantLabel), {}, {
|
|
6611
6611
|
values: {
|
|
6612
6612
|
b: getBoldText,
|
|
6613
6613
|
variant: props.change.variant
|
|
@@ -6618,7 +6618,7 @@ const AttributeChange = props => {
|
|
|
6618
6618
|
const nextValue = getValue$2(v.name, props.change.nextValue?.filter(Boolean));
|
|
6619
6619
|
return jsxs("div", {
|
|
6620
6620
|
css: productAttributeValuesStyles,
|
|
6621
|
-
children: [jsx(FormattedMessage, _objectSpread
|
|
6621
|
+
children: [jsx(FormattedMessage, _objectSpread$$(_objectSpread$$({}, messages$1l.attributeLabel), {}, {
|
|
6622
6622
|
values: {
|
|
6623
6623
|
b: getBoldText,
|
|
6624
6624
|
attribute: v.name
|
|
@@ -6683,8 +6683,8 @@ const AttributeChange = props => {
|
|
|
6683
6683
|
};
|
|
6684
6684
|
AttributeChange.displayName = 'AttributeChange';
|
|
6685
6685
|
|
|
6686
|
-
function ownKeys
|
|
6687
|
-
function _objectSpread
|
|
6686
|
+
function ownKeys$_(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6687
|
+
function _objectSpread$_(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$_(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$_(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6688
6688
|
const getPriceAttribute = attribute => {
|
|
6689
6689
|
if (_includesInstanceProperty(attribute).call(attribute, 'customerGroup')) return 'customerGroup';
|
|
6690
6690
|
if (_includesInstanceProperty(attribute).call(attribute, 'custom')) return 'custom';
|
|
@@ -6719,12 +6719,12 @@ function renderAttribute(changedAttribute, value, intl) {
|
|
|
6719
6719
|
scale: "s",
|
|
6720
6720
|
children: [jsxs(Spacings.Inline, {
|
|
6721
6721
|
scale: "xs",
|
|
6722
|
-
children: [jsx(FormattedMessage, _objectSpread
|
|
6722
|
+
children: [jsx(FormattedMessage, _objectSpread$_({}, messages$1l.customTypeLabel)), value.custom ? jsx("span", {
|
|
6723
6723
|
children: _JSON$stringify(value.custom.type.id, null, 2)
|
|
6724
6724
|
}) : jsx(NoValueLabel, {})]
|
|
6725
6725
|
}), jsxs(Spacings.Inline, {
|
|
6726
6726
|
scale: "xs",
|
|
6727
|
-
children: [jsx(FormattedMessage, _objectSpread
|
|
6727
|
+
children: [jsx(FormattedMessage, _objectSpread$_({}, messages$1l.customFieldsLabel)), value.custom ? jsx("span", {
|
|
6728
6728
|
children: _JSON$stringify(value.custom.fields, null, 2)
|
|
6729
6729
|
}) : jsx(NoValueLabel, {})]
|
|
6730
6730
|
})]
|
|
@@ -6732,7 +6732,7 @@ function renderAttribute(changedAttribute, value, intl) {
|
|
|
6732
6732
|
if (_includesInstanceProperty(changedAttribute).call(changedAttribute, 'tiers')) return value.tiers ? jsx(Spacings.Stack, {
|
|
6733
6733
|
scale: "s",
|
|
6734
6734
|
children: _mapInstanceProperty(_context = value.tiers).call(_context, tier => jsx("div", {
|
|
6735
|
-
children: jsx(FormattedMessage, _objectSpread
|
|
6735
|
+
children: jsx(FormattedMessage, _objectSpread$_(_objectSpread$_({}, messages$1l.priceTierLabel), {}, {
|
|
6736
6736
|
values: {
|
|
6737
6737
|
price: formatMoney(tier.value, intl),
|
|
6738
6738
|
quantity: tier.minimumQuantity
|
|
@@ -6759,14 +6759,14 @@ const PriceChangeAttributes = _ref => {
|
|
|
6759
6759
|
PriceChangeAttributes.displayName = 'PriceChangeAttributes';
|
|
6760
6760
|
var PriceChangeAttributes$1 = injectIntl(PriceChangeAttributes);
|
|
6761
6761
|
|
|
6762
|
-
function ownKeys$
|
|
6763
|
-
function _objectSpread$
|
|
6762
|
+
function ownKeys$Z(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6763
|
+
function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$Z(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$Z(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6764
6764
|
const VariantAvailabilityChange = props => {
|
|
6765
6765
|
var _context;
|
|
6766
6766
|
return jsxs("div", {
|
|
6767
6767
|
css: productAttributeValuesStyles,
|
|
6768
6768
|
children: [props.value.availableQuantity !== undefined && jsx("div", {
|
|
6769
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6769
|
+
children: jsx(FormattedMessage, _objectSpread$Z(_objectSpread$Z({}, messages$1l.variantAvailabilityLabel), {}, {
|
|
6770
6770
|
values: {
|
|
6771
6771
|
isOnStock: _JSON$stringify(props.value.isOnStock),
|
|
6772
6772
|
availableQuantity: props.value.availableQuantity,
|
|
@@ -6779,14 +6779,14 @@ const VariantAvailabilityChange = props => {
|
|
|
6779
6779
|
channelInfo = _ref2[1];
|
|
6780
6780
|
return jsxs(Fragment$1, {
|
|
6781
6781
|
children: [jsx("div", {
|
|
6782
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6782
|
+
children: jsx(FormattedMessage, _objectSpread$Z(_objectSpread$Z({}, messages$1l.channelLabel), {}, {
|
|
6783
6783
|
values: {
|
|
6784
6784
|
channel: channelId
|
|
6785
6785
|
}
|
|
6786
6786
|
}))
|
|
6787
6787
|
}), jsx("div", {
|
|
6788
6788
|
css: productAttributeValuesStyles,
|
|
6789
|
-
children: jsx(FormattedMessage, _objectSpread$
|
|
6789
|
+
children: jsx(FormattedMessage, _objectSpread$Z(_objectSpread$Z({}, messages$1l.variantAvailabilityLabel), {}, {
|
|
6790
6790
|
values: {
|
|
6791
6791
|
isOnStock: _JSON$stringify(channelInfo.isOnStock),
|
|
6792
6792
|
availableQuantity: channelInfo.availableQuantity,
|
|
@@ -6801,224 +6801,11 @@ const VariantAvailabilityChange = props => {
|
|
|
6801
6801
|
VariantAvailabilityChange.displayName = 'VariantAvailabilityChange';
|
|
6802
6802
|
|
|
6803
6803
|
const _excluded$d = ["label", "className", "size", "useExternalIconAsFallback"];
|
|
6804
|
-
function ownKeys$Z(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6805
|
-
function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$Z(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$Z(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6806
6804
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$m() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
6807
|
-
var BrokenIcon =
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
id: "a",
|
|
6812
|
-
d: "M0 0h50v50H0z"
|
|
6813
|
-
}), jsx("path", {
|
|
6814
|
-
d: "M45 5 5 45",
|
|
6815
|
-
id: "c"
|
|
6816
|
-
})]
|
|
6817
|
-
}), jsxs("g", {
|
|
6818
|
-
fill: "none",
|
|
6819
|
-
fillRule: "evenodd",
|
|
6820
|
-
children: [jsx("path", {
|
|
6821
|
-
d: "M0 0h50v50H0z",
|
|
6822
|
-
fill: "#D8D8D8",
|
|
6823
|
-
fillRule: "nonzero"
|
|
6824
|
-
}), jsxs("g", {
|
|
6825
|
-
children: [jsx("mask", {
|
|
6826
|
-
id: "b",
|
|
6827
|
-
fill: "#fff",
|
|
6828
|
-
children: jsx("use", {
|
|
6829
|
-
xlinkHref: "#a"
|
|
6830
|
-
})
|
|
6831
|
-
}), jsxs("g", {
|
|
6832
|
-
fillRule: "nonzero",
|
|
6833
|
-
mask: "url(#b)",
|
|
6834
|
-
children: [jsx("path", {
|
|
6835
|
-
d: "M-4.545 3.27C-4.545 1.464-2.963 0-1.01 0h51.262c1.953 0 3.536 1.464 3.536 3.27v43.46c0 1.806-1.583 3.27-3.536 3.27H-1.01c-1.953 0-3.535-1.464-3.535-3.27V3.27Z",
|
|
6836
|
-
fill: "#B4E1FD"
|
|
6837
|
-
}), jsx("path", {
|
|
6838
|
-
d: "M21.97 12.879a5.303 5.303 0 1 1-10.606 0 5.303 5.303 0 0 1 10.606 0Z",
|
|
6839
|
-
fill: "#E8F3FC"
|
|
6840
|
-
}), jsx("path", {
|
|
6841
|
-
d: "M11.951 26.917-4.545 46.42V50h58.333V33.83L41.094 19.103c-1.062-1.231-3.03-1.23-4.09.003L25.334 32.69c-1.047 1.218-2.985 1.237-4.057.04l-5.255-5.868c-1.077-1.204-3.028-1.178-4.07.055Z",
|
|
6842
|
-
fill: "#E8F4FC"
|
|
6843
|
-
})]
|
|
6844
|
-
})]
|
|
6845
|
-
}), jsxs("g", {
|
|
6846
|
-
strokeLinecap: "round",
|
|
6847
|
-
strokeLinejoin: "round",
|
|
6848
|
-
children: [jsx("use", {
|
|
6849
|
-
stroke: "#FFF",
|
|
6850
|
-
strokeWidth: "6",
|
|
6851
|
-
xlinkHref: "#c"
|
|
6852
|
-
}), jsx("use", {
|
|
6853
|
-
stroke: "#E60050",
|
|
6854
|
-
strokeWidth: "2",
|
|
6855
|
-
xlinkHref: "#c"
|
|
6856
|
-
})]
|
|
6857
|
-
})]
|
|
6858
|
-
})]
|
|
6859
|
-
}));
|
|
6860
|
-
};
|
|
6861
|
-
BrokenIcon.defaultProps = {
|
|
6862
|
-
width: "50",
|
|
6863
|
-
height: "50",
|
|
6864
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6865
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
6866
|
-
};
|
|
6867
|
-
var BrokenExternalIcon = function BrokenExternalIcon(props) {
|
|
6868
|
-
return jsxs("svg", _objectSpread$Z(_objectSpread$Z({}, props), {}, {
|
|
6869
|
-
children: [jsx("defs", {
|
|
6870
|
-
children: jsx("path", {
|
|
6871
|
-
id: "a",
|
|
6872
|
-
d: "M0 0h50v50H0z"
|
|
6873
|
-
})
|
|
6874
|
-
}), jsxs("g", {
|
|
6875
|
-
fill: "none",
|
|
6876
|
-
fillRule: "evenodd",
|
|
6877
|
-
children: [jsx("path", {
|
|
6878
|
-
d: "M0 0h50v50H0z",
|
|
6879
|
-
fill: "#D8D8D8",
|
|
6880
|
-
fillRule: "nonzero"
|
|
6881
|
-
}), jsxs("g", {
|
|
6882
|
-
children: [jsx("mask", {
|
|
6883
|
-
id: "b",
|
|
6884
|
-
fill: "#fff",
|
|
6885
|
-
children: jsx("use", {
|
|
6886
|
-
xlinkHref: "#a"
|
|
6887
|
-
})
|
|
6888
|
-
}), jsxs("g", {
|
|
6889
|
-
fillRule: "nonzero",
|
|
6890
|
-
mask: "url(#b)",
|
|
6891
|
-
children: [jsx("path", {
|
|
6892
|
-
d: "M-4.545 3.27C-4.545 1.464-2.963 0-1.01 0h51.262c1.953 0 3.536 1.464 3.536 3.27v43.46c0 1.806-1.583 3.27-3.536 3.27H-1.01c-1.953 0-3.535-1.464-3.535-3.27V3.27Z",
|
|
6893
|
-
fill: "#B4E1FD"
|
|
6894
|
-
}), jsx("path", {
|
|
6895
|
-
d: "M21.97 12.879a5.303 5.303 0 1 1-10.606 0 5.303 5.303 0 0 1 10.606 0Z",
|
|
6896
|
-
fill: "#E8F3FC"
|
|
6897
|
-
}), jsx("path", {
|
|
6898
|
-
d: "M11.951 26.917-4.545 46.42V50h58.333V33.83L41.094 19.103c-1.062-1.231-3.03-1.23-4.09.003L25.334 32.69c-1.047 1.218-2.985 1.237-4.057.04l-5.255-5.868c-1.077-1.204-3.028-1.178-4.07.055Z",
|
|
6899
|
-
fill: "#E8F4FC"
|
|
6900
|
-
})]
|
|
6901
|
-
})]
|
|
6902
|
-
}), jsxs("g", {
|
|
6903
|
-
transform: "translate(22 22)",
|
|
6904
|
-
children: [jsx("circle", {
|
|
6905
|
-
fill: "#E60050",
|
|
6906
|
-
cx: "12",
|
|
6907
|
-
cy: "12",
|
|
6908
|
-
r: "12"
|
|
6909
|
-
}), jsx("path", {
|
|
6910
|
-
d: "m14.458 12.082-1.092-1.074h1.092c.146 0 .276.051.392.155a.483.483 0 0 1 .173.373.511.511 0 0 1-.173.382.554.554 0 0 1-.392.164Zm2.931 2.931-1.001-.983a2.659 2.659 0 0 0 1.53-.865c.4-.455.6-.986.6-1.593 0-.716-.237-1.314-.71-1.793-.473-.48-1.068-.72-1.784-.72h-2.167a.612.612 0 0 1-.437-.172.588.588 0 0 1-.182-.446c0-.182.061-.33.182-.446a.612.612 0 0 1 .437-.173h2.149c1.068 0 1.963.36 2.685 1.083.722.722 1.083 1.611 1.083 2.667 0 .801-.23 1.505-.692 2.112a4.08 4.08 0 0 1-1.693 1.329Zm.62 3.805L5.172 6A.637.637 0 0 1 5 5.591a.534.534 0 0 1 .173-.409.566.566 0 0 1 .41-.182c.152 0 .288.06.41.182l12.834 12.835a.557.557 0 0 1 .183.4c0 .146-.061.28-.183.4a.519.519 0 0 1-.4.183.576.576 0 0 1-.419-.182Zm-6.791-3.55H8.796c-1.068 0-1.963-.361-2.685-1.083s-1.083-1.612-1.083-2.667c0-.899.267-1.681.8-2.349a3.605 3.605 0 0 1 2.058-1.293l1.129 1.13h-.219c-.728 0-1.329.239-1.802.718-.473.48-.71 1.077-.71 1.794 0 .716.237 1.313.71 1.793s1.074.719 1.802.719h2.422c.17 0 .315.058.437.173a.588.588 0 0 1 .182.446c0 .182-.061.33-.182.446a.612.612 0 0 1-.437.173Zm.892-3.186h-1.748a.585.585 0 0 1-.419-.155.537.537 0 0 1-.164-.41c0-.17.055-.306.164-.41a.585.585 0 0 1 .419-.154h.6l1.148 1.129Z",
|
|
6911
|
-
fill: "#FFF",
|
|
6912
|
-
fillRule: "nonzero"
|
|
6913
|
-
})]
|
|
6914
|
-
})]
|
|
6915
|
-
})]
|
|
6916
|
-
}));
|
|
6917
|
-
};
|
|
6918
|
-
BrokenExternalIcon.defaultProps = {
|
|
6919
|
-
width: "50",
|
|
6920
|
-
height: "50",
|
|
6921
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6922
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
6923
|
-
};
|
|
6924
|
-
var ExternalIcon = function ExternalIcon(props) {
|
|
6925
|
-
return jsxs("svg", _objectSpread$Z(_objectSpread$Z({}, props), {}, {
|
|
6926
|
-
children: [jsx("defs", {
|
|
6927
|
-
children: jsx("path", {
|
|
6928
|
-
id: "a",
|
|
6929
|
-
d: "M0 0h50v50H0z"
|
|
6930
|
-
})
|
|
6931
|
-
}), jsxs("g", {
|
|
6932
|
-
fill: "none",
|
|
6933
|
-
fillRule: "evenodd",
|
|
6934
|
-
children: [jsx("path", {
|
|
6935
|
-
d: "M0 0h50v50H0z",
|
|
6936
|
-
fill: "#D8D8D8",
|
|
6937
|
-
fillRule: "nonzero"
|
|
6938
|
-
}), jsxs("g", {
|
|
6939
|
-
children: [jsx("mask", {
|
|
6940
|
-
id: "b",
|
|
6941
|
-
fill: "#fff",
|
|
6942
|
-
children: jsx("use", {
|
|
6943
|
-
xlinkHref: "#a"
|
|
6944
|
-
})
|
|
6945
|
-
}), jsxs("g", {
|
|
6946
|
-
fillRule: "nonzero",
|
|
6947
|
-
mask: "url(#b)",
|
|
6948
|
-
children: [jsx("path", {
|
|
6949
|
-
d: "M-4.545 3.27C-4.545 1.464-2.963 0-1.01 0h51.262c1.953 0 3.536 1.464 3.536 3.27v43.46c0 1.806-1.583 3.27-3.536 3.27H-1.01c-1.953 0-3.535-1.464-3.535-3.27V3.27Z",
|
|
6950
|
-
fill: "#B4E1FD"
|
|
6951
|
-
}), jsx("path", {
|
|
6952
|
-
d: "M21.97 12.879a5.303 5.303 0 1 1-10.606 0 5.303 5.303 0 0 1 10.606 0Z",
|
|
6953
|
-
fill: "#E8F3FC"
|
|
6954
|
-
}), jsx("path", {
|
|
6955
|
-
d: "M11.951 26.917-4.545 46.42V50h58.333V33.83L41.094 19.103c-1.062-1.231-3.03-1.23-4.09.003L25.334 32.69c-1.047 1.218-2.985 1.237-4.057.04l-5.255-5.868c-1.077-1.204-3.028-1.178-4.07.055Z",
|
|
6956
|
-
fill: "#E8F4FC"
|
|
6957
|
-
})]
|
|
6958
|
-
})]
|
|
6959
|
-
}), jsxs("g", {
|
|
6960
|
-
transform: "translate(22 22)",
|
|
6961
|
-
children: [jsx("circle", {
|
|
6962
|
-
fill: "#078CDF",
|
|
6963
|
-
cx: "12",
|
|
6964
|
-
cy: "12",
|
|
6965
|
-
r: "12"
|
|
6966
|
-
}), jsx("path", {
|
|
6967
|
-
d: "M8.625 15c-.934 0-1.73-.33-2.387-.988a3.251 3.251 0 0 1-.988-2.387c0-.934.33-1.73.988-2.388a3.252 3.252 0 0 1 2.387-.987h2.025c.191 0 .352.065.481.194.13.13.194.29.194.481a.653.653 0 0 1-.194.48.654.654 0 0 1-.481.195H8.625c-.562 0-1.04.197-1.434.59-.394.394-.591.873-.591 1.435s.197 1.04.59 1.434c.394.394.873.591 1.435.591h2.025c.191 0 .352.065.481.194.13.13.194.29.194.481a.653.653 0 0 1-.194.48.654.654 0 0 1-.481.195H8.625Zm1.35-2.7a.651.651 0 0 1-.48-.194.651.651 0 0 1-.195-.481c0-.191.065-.352.194-.481.13-.13.29-.194.481-.194h4.05c.191 0 .352.065.481.194.13.13.194.29.194.481a.653.653 0 0 1-.194.48.654.654 0 0 1-.481.195h-4.05ZM13.35 15a.651.651 0 0 1-.48-.194.651.651 0 0 1-.195-.481c0-.191.065-.352.194-.481.13-.13.29-.194.481-.194h2.025c.562 0 1.04-.197 1.434-.59.394-.394.591-.873.591-1.435s-.197-1.04-.59-1.434a1.953 1.953 0 0 0-1.435-.591H13.35a.651.651 0 0 1-.48-.194.651.651 0 0 1-.195-.481c0-.191.065-.352.194-.481.13-.13.29-.194.481-.194h2.025c.934 0 1.73.329 2.388.987.658.658.987 1.454.987 2.388 0 .934-.329 1.73-.987 2.387a3.253 3.253 0 0 1-2.388.988H13.35Z",
|
|
6968
|
-
fill: "#FFF"
|
|
6969
|
-
})]
|
|
6970
|
-
})]
|
|
6971
|
-
})]
|
|
6972
|
-
}));
|
|
6973
|
-
};
|
|
6974
|
-
ExternalIcon.defaultProps = {
|
|
6975
|
-
width: "50",
|
|
6976
|
-
height: "50",
|
|
6977
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6978
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
6979
|
-
};
|
|
6980
|
-
var NoImageIcon$1 = function NoImageIcon(props) {
|
|
6981
|
-
return jsxs("svg", _objectSpread$Z(_objectSpread$Z({}, props), {}, {
|
|
6982
|
-
children: [jsx("defs", {
|
|
6983
|
-
children: jsx("path", {
|
|
6984
|
-
id: "a",
|
|
6985
|
-
d: "M0 0h66v66H0z"
|
|
6986
|
-
})
|
|
6987
|
-
}), jsxs("g", {
|
|
6988
|
-
fill: "none",
|
|
6989
|
-
fillRule: "evenodd",
|
|
6990
|
-
children: [jsx("mask", {
|
|
6991
|
-
id: "b",
|
|
6992
|
-
fill: "#fff",
|
|
6993
|
-
children: jsx("use", {
|
|
6994
|
-
xlinkHref: "#a"
|
|
6995
|
-
})
|
|
6996
|
-
}), jsx("use", {
|
|
6997
|
-
fill: "#D8D8D8",
|
|
6998
|
-
xlinkHref: "#a"
|
|
6999
|
-
}), jsxs("g", {
|
|
7000
|
-
mask: "url(#b)",
|
|
7001
|
-
fillRule: "nonzero",
|
|
7002
|
-
children: [jsx("path", {
|
|
7003
|
-
d: "M-6 4.316C-6 1.932-3.91 0-1.333 0h67.666C68.911 0 71 1.932 71 4.316v57.368C71 64.067 68.91 66 66.333 66H-1.333C-3.911 66-6 64.067-6 61.684V4.316Z",
|
|
7004
|
-
fill: "#B4E1FD"
|
|
7005
|
-
}), jsx("path", {
|
|
7006
|
-
d: "M29 17a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z",
|
|
7007
|
-
fill: "#E8F3FC"
|
|
7008
|
-
}), jsx("path", {
|
|
7009
|
-
d: "M15.776 35.53-6 61.276V66h77V44.654L54.244 25.218c-1.401-1.626-4-1.624-5.398.004L33.44 43.15c-1.381 1.607-3.94 1.632-5.355.052l-6.936-7.746c-1.422-1.588-3.997-1.553-5.372.073Z",
|
|
7010
|
-
fill: "#E8F4FC"
|
|
7011
|
-
})]
|
|
7012
|
-
})]
|
|
7013
|
-
})]
|
|
7014
|
-
}));
|
|
7015
|
-
};
|
|
7016
|
-
NoImageIcon$1.defaultProps = {
|
|
7017
|
-
width: "66",
|
|
7018
|
-
height: "66",
|
|
7019
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7020
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
7021
|
-
};
|
|
6805
|
+
var BrokenIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJCcm9rZW5JY29uLXBhdGgtMSIgZD0iTTAgMGg1MHY1M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nZUljb24tbWFzay0yKSIgZmlsbC1ydWxlPSJub256ZXJvIiBpZD0iTm9JbWFnZUljb24tUGF0aCI+PHBhdGggZD0iTTAgNC4zMTZDMCAxLjkzMiAyLjA5IDAgNC42NjcgMGg2Ny42NjZDNzQuOTExIDAgNzcgMS45MzIgNzcgNC4zMTZ2NTcuMzY4Qzc3IDY0LjA2NyA3NC45MSA2NiA3Mi4zMzMgNjZINC42NjdDMi4wODkgNjYgMCA2NC4wNjcgMCA2MS42ODRWNC4zMTZ6IiBmaWxsPSIjQjRFMUZEIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNikiLz48cGF0aCBkPSJNMzUgMTdhNyA3IDAgMTEtMTQgMCA3IDcgMCAwMTE0IDB6IiBmaWxsPSIjRThGM0ZDIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNikiLz48cGF0aCBkPSJNMjEuNzc2IDM1LjUzTDAgNjEuMjc2VjY2aDc3VjQ0LjY1NEw2MC4yNDQgMjUuMjE4Yy0xLjQwMS0xLjYyNi00LTEuNjI0LTUuMzk4LjAwNEwzOS40NCA0My4xNWMtMS4zODEgMS42MDctMy45NCAxLjYzMi01LjM1NS4wNTJsLTYuOTM2LTcuNzQ2Yy0xLjQyMi0xLjU4OC0zLjk5Ny0xLjU1My01LjM3Mi4wNzN6IiBmaWxsPSIjRThGNEZDIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNikiLz48L2c+PC9nPjwvZz48L2c+PC9zdmc+";
|
|
7022
6809
|
const imgExtRegex = /.[^.]+$/;
|
|
7023
6810
|
const imageStyles$1 = process.env.NODE_ENV === "production" ? {
|
|
7024
6811
|
name: "18vlefn",
|
|
@@ -7159,48 +6946,7 @@ const _excluded$c = ["children"],
|
|
|
7159
6946
|
_excluded2$1 = ["url", "size"];
|
|
7160
6947
|
function ownKeys$Y(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7161
6948
|
function _objectSpread$Y(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$Y(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$Y(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7162
|
-
var NoImageIcon =
|
|
7163
|
-
return jsxs("svg", _objectSpread$Y(_objectSpread$Y({}, props), {}, {
|
|
7164
|
-
children: [jsx("defs", {
|
|
7165
|
-
children: jsx("path", {
|
|
7166
|
-
id: "a",
|
|
7167
|
-
d: "M0 0h66v66H0z"
|
|
7168
|
-
})
|
|
7169
|
-
}), jsxs("g", {
|
|
7170
|
-
fill: "none",
|
|
7171
|
-
fillRule: "evenodd",
|
|
7172
|
-
children: [jsx("mask", {
|
|
7173
|
-
id: "b",
|
|
7174
|
-
fill: "#fff",
|
|
7175
|
-
children: jsx("use", {
|
|
7176
|
-
xlinkHref: "#a"
|
|
7177
|
-
})
|
|
7178
|
-
}), jsx("use", {
|
|
7179
|
-
fill: "#D8D8D8",
|
|
7180
|
-
xlinkHref: "#a"
|
|
7181
|
-
}), jsxs("g", {
|
|
7182
|
-
mask: "url(#b)",
|
|
7183
|
-
fillRule: "nonzero",
|
|
7184
|
-
children: [jsx("path", {
|
|
7185
|
-
d: "M-6 4.316C-6 1.932-3.91 0-1.333 0h67.666C68.911 0 71 1.932 71 4.316v57.368C71 64.067 68.91 66 66.333 66H-1.333C-3.911 66-6 64.067-6 61.684V4.316Z",
|
|
7186
|
-
fill: "#B4E1FD"
|
|
7187
|
-
}), jsx("path", {
|
|
7188
|
-
d: "M29 17a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z",
|
|
7189
|
-
fill: "#E8F3FC"
|
|
7190
|
-
}), jsx("path", {
|
|
7191
|
-
d: "M15.776 35.53-6 61.276V66h77V44.654L54.244 25.218c-1.401-1.626-4-1.624-5.398.004L33.44 43.15c-1.381 1.607-3.94 1.632-5.355.052l-6.936-7.746c-1.422-1.588-3.997-1.553-5.372.073Z",
|
|
7192
|
-
fill: "#E8F4FC"
|
|
7193
|
-
})]
|
|
7194
|
-
})]
|
|
7195
|
-
})]
|
|
7196
|
-
}));
|
|
7197
|
-
};
|
|
7198
|
-
NoImageIcon.defaultProps = {
|
|
7199
|
-
width: "66",
|
|
7200
|
-
height: "66",
|
|
7201
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7202
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
7203
|
-
};
|
|
6949
|
+
var NoImageIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjYiIGhlaWdodD0iNjYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJOb0ltYWdlSWNvbi1wYXRoLTEiIGQ9Ik0wIDBoNjZ2NjZIMHoiLz48L2RlZnM+PGcgaWQ9Ik5vSW1hZ2VJY29uLUFMTC1jb21wb25lbnRzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBpZD0iTm9JbWFnZUljb24tU2hhcmVkLS8tSW1hZ2UtY29udGFpbmVyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzAyIC0yMzIpIj48ZyBpZD0iTm9JbWFnZUljb24tdGh1bWJuYWlsLTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcwMiAyMzIpIj48bWFzayBpZ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ref, ref) => {
|
|
7205
6951
|
let children = _ref.children,
|
|
7206
6952
|
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
@@ -12852,19 +12598,19 @@ const getStorage = storageType => storageType === 'session' ? sessionStorage : l
|
|
|
12852
12598
|
const isNil = value => typeof value === 'undefined' || value === null;
|
|
12853
12599
|
const useStorage = (storageKey, initialStorageValue, options) => {
|
|
12854
12600
|
var _context;
|
|
12855
|
-
const
|
|
12601
|
+
const storageOptions = _objectSpread$L(_objectSpread$L({}, defaultOptions), options);
|
|
12856
12602
|
const _useApplicationContex = useApplicationContext(context => ({
|
|
12857
12603
|
userId: context.user?.id,
|
|
12858
12604
|
projectKey: context.project?.key
|
|
12859
12605
|
})),
|
|
12860
12606
|
userId = _useApplicationContex.userId,
|
|
12861
12607
|
projectKey = _useApplicationContex.projectKey;
|
|
12862
|
-
const scopedStorageKey = _filterInstanceProperty(_context = [
|
|
12608
|
+
const scopedStorageKey = _filterInstanceProperty(_context = [storageOptions.segregateByUser && userId, storageOptions.segregateByProject && projectKey, storageKey]).call(_context, Boolean).join('/');
|
|
12863
12609
|
const removeFromStorage = useCallback(() => {
|
|
12864
|
-
getStorage(
|
|
12865
|
-
}, [
|
|
12610
|
+
getStorage(storageOptions.storageType).removeItem(scopedStorageKey);
|
|
12611
|
+
}, [storageOptions.storageType, scopedStorageKey]);
|
|
12866
12612
|
const readFromStorage = useCallback(() => {
|
|
12867
|
-
const encodedStorageValue = getStorage(
|
|
12613
|
+
const encodedStorageValue = getStorage(storageOptions.storageType).getItem(scopedStorageKey);
|
|
12868
12614
|
const storageValue = encodedStorageValue ? decode(encodedStorageValue) : null;
|
|
12869
12615
|
/**
|
|
12870
12616
|
* NOTE:
|
|
@@ -12877,9 +12623,10 @@ const useStorage = (storageKey, initialStorageValue, options) => {
|
|
|
12877
12623
|
return null;
|
|
12878
12624
|
}
|
|
12879
12625
|
return storageValue;
|
|
12880
|
-
}, [
|
|
12626
|
+
}, [storageOptions.storageType, removeFromStorage, scopedStorageKey]);
|
|
12881
12627
|
const initializeStorageValue = () => {
|
|
12882
|
-
//
|
|
12628
|
+
// Default to the currently stored value.
|
|
12629
|
+
// If no stored value, default to the initial value.
|
|
12883
12630
|
return readFromStorage() ?? initialStorageValue ?? null;
|
|
12884
12631
|
};
|
|
12885
12632
|
const _useState = useState(initializeStorageValue),
|
|
@@ -12888,23 +12635,21 @@ const useStorage = (storageKey, initialStorageValue, options) => {
|
|
|
12888
12635
|
setStorageValue = _useState2[1];
|
|
12889
12636
|
const writeToStorage = useCallback(nextStorageValue => {
|
|
12890
12637
|
if (nextStorageValue) {
|
|
12891
|
-
getStorage(
|
|
12638
|
+
getStorage(storageOptions.storageType).setItem(scopedStorageKey, encode(nextStorageValue));
|
|
12892
12639
|
} else {
|
|
12893
12640
|
removeFromStorage();
|
|
12894
12641
|
}
|
|
12895
12642
|
setStorageValue(nextStorageValue);
|
|
12896
|
-
}, [
|
|
12643
|
+
}, [storageOptions.storageType, removeFromStorage, scopedStorageKey]);
|
|
12897
12644
|
|
|
12898
|
-
//
|
|
12899
|
-
//
|
|
12900
|
-
//
|
|
12901
|
-
// https://beta.reactjs.org/apis/react/useState#my-initializer-or-updater-function-runs-twice
|
|
12645
|
+
// Set the initial storage value in the storage. This should not be done in
|
|
12646
|
+
// initializeStorageValue because the state initializer function should be pure.
|
|
12647
|
+
// https://react.dev/reference/react/useState#my-initializer-or-updater-function-runs-twice
|
|
12902
12648
|
useEffect(() => {
|
|
12903
12649
|
if (isNil(readFromStorage()) && !isNil(initialStorageValue) && storageValue !== initialStorageValue) {
|
|
12904
|
-
|
|
12905
|
-
setStorageValue(initialStorageValue);
|
|
12650
|
+
writeToStorage(initialStorageValue);
|
|
12906
12651
|
}
|
|
12907
|
-
}, []);
|
|
12652
|
+
}, [storageValue, initialStorageValue, readFromStorage, writeToStorage, storageOptions.storageType, scopedStorageKey]);
|
|
12908
12653
|
return [storageValue, writeToStorage, readFromStorage];
|
|
12909
12654
|
};
|
|
12910
12655
|
|
|
@@ -13020,14 +12765,15 @@ function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var _
|
|
|
13020
12765
|
// NOTE: The `version` can be updated to bust existing search queries in case of conflicting migrations.
|
|
13021
12766
|
const VERSION_KEY = '__version';
|
|
13022
12767
|
const OLD_SAVED_SEARCH_VERSION = 2;
|
|
13023
|
-
const
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
12768
|
+
const SAVED_SEARCH_VERSION = 3;
|
|
12769
|
+
const getCurrentVersion = useOldVersion => {
|
|
12770
|
+
if (!useOldVersion) {
|
|
12771
|
+
return SAVED_SEARCH_VERSION;
|
|
12772
|
+
}
|
|
13027
12773
|
return OLD_SAVED_SEARCH_VERSION;
|
|
13028
12774
|
};
|
|
13029
12775
|
const augmentWithVersion = (searchQuery, useOldVersion) => _objectSpread$J({
|
|
13030
|
-
[VERSION_KEY]: getCurrentVersion()
|
|
12776
|
+
[VERSION_KEY]: getCurrentVersion(useOldVersion)
|
|
13031
12777
|
}, searchQuery);
|
|
13032
12778
|
const omitVersion = searchQuery => {
|
|
13033
12779
|
var _context;
|
|
@@ -13037,27 +12783,29 @@ const omitVersion = searchQuery => {
|
|
|
13037
12783
|
};
|
|
13038
12784
|
|
|
13039
12785
|
// This will get rid of any filters that may have been deprecated at some point
|
|
13040
|
-
const omitUnknownFilters = searchQuery =>
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
return _includesInstanceProperty(_context2 = _Object$values(FILTER_OPTION_KEYS)).call(_context2, key);
|
|
13044
|
-
})), {}, {
|
|
13045
|
-
[FILTER_OPTION_KEYS.DATE_RANGE]: searchQuery.filters[FILTER_OPTION_KEYS.DATE_RANGE] || []
|
|
13046
|
-
})
|
|
13047
|
-
});
|
|
13048
|
-
const isStoredSearchQueryInvalid = (storedSearchQuery, useOldVersion) => {
|
|
13049
|
-
if (!storedSearchQuery) {
|
|
13050
|
-
return false;
|
|
12786
|
+
const omitUnknownFilters = searchQuery => {
|
|
12787
|
+
if (!searchQuery) {
|
|
12788
|
+
return null;
|
|
13051
12789
|
}
|
|
13052
|
-
return
|
|
12790
|
+
return _objectSpread$J(_objectSpread$J({}, searchQuery), searchQuery?.filters && {
|
|
12791
|
+
filters: _objectSpread$J(_objectSpread$J({}, pickBy(searchQuery.filters, (_value, key) => {
|
|
12792
|
+
var _context2;
|
|
12793
|
+
return _includesInstanceProperty(_context2 = _Object$values(FILTER_OPTION_KEYS)).call(_context2, key);
|
|
12794
|
+
})), {}, {
|
|
12795
|
+
[FILTER_OPTION_KEYS.DATE_RANGE]: searchQuery.filters[FILTER_OPTION_KEYS.DATE_RANGE] || []
|
|
12796
|
+
})
|
|
12797
|
+
});
|
|
12798
|
+
};
|
|
12799
|
+
const isStoredSearchQueryValid = (storedSearchQuery, useOldVersion) => {
|
|
12800
|
+
return !!storedSearchQuery && storedSearchQuery.__version === getCurrentVersion(useOldVersion);
|
|
13053
12801
|
};
|
|
13054
12802
|
const useSearchQueryState = _ref => {
|
|
13055
12803
|
let storageSlice = _ref.storageSlice,
|
|
13056
|
-
|
|
12804
|
+
defaultSearchQuery = _ref.defaultSearchQuery;
|
|
13057
12805
|
const location = useLocation();
|
|
13058
12806
|
const history = useHistory();
|
|
13059
|
-
useAlFilterRedesign();
|
|
13060
|
-
const _useStorage = useStorage(storageSlice,
|
|
12807
|
+
const isFilterRedesignEnabled = useAlFilterRedesign();
|
|
12808
|
+
const _useStorage = useStorage(storageSlice, null),
|
|
13061
12809
|
_useStorage2 = _slicedToArray(_useStorage, 2),
|
|
13062
12810
|
storedSearchQuery = _useStorage2[0],
|
|
13063
12811
|
setStoredSearchQuery = _useStorage2[1];
|
|
@@ -13071,46 +12819,53 @@ const useSearchQueryState = _ref => {
|
|
|
13071
12819
|
}
|
|
13072
12820
|
};
|
|
13073
12821
|
const setSearchQuery = nextSearchQuery => {
|
|
13074
|
-
setStoredSearchQuery(nextSearchQuery ? augmentWithVersion(nextSearchQuery) : null);
|
|
12822
|
+
setStoredSearchQuery(nextSearchQuery ? augmentWithVersion(nextSearchQuery, !isFilterRedesignEnabled) : null);
|
|
13075
12823
|
updateHistory(nextSearchQuery);
|
|
13076
12824
|
};
|
|
13077
|
-
const resetSearchQuery = () => {
|
|
13078
|
-
setStoredSearchQuery(null);
|
|
13079
|
-
updateHistory(initialSearchQuery);
|
|
13080
|
-
};
|
|
13081
12825
|
const getSearchQuery = () => {
|
|
13082
12826
|
let currentSearchQuery = null;
|
|
13083
|
-
let isReset = false;
|
|
13084
12827
|
try {
|
|
12828
|
+
// Pull from browser history first, then local storage
|
|
13085
12829
|
if (locationHasSearchQuery()) {
|
|
13086
|
-
currentSearchQuery = decode(location
|
|
13087
|
-
} else {
|
|
13088
|
-
currentSearchQuery =
|
|
12830
|
+
currentSearchQuery = decode(location.state.search);
|
|
12831
|
+
} else if (storedSearchQuery) {
|
|
12832
|
+
currentSearchQuery = omitVersion(_objectSpread$J(_objectSpread$J({}, defaultSearchQuery), storedSearchQuery));
|
|
13089
12833
|
}
|
|
12834
|
+
|
|
12835
|
+
// Just remove anything legacy that may accidentally be in there
|
|
12836
|
+
currentSearchQuery = omitUnknownFilters(currentSearchQuery);
|
|
13090
12837
|
} catch (e) {
|
|
13091
12838
|
reportErrorToSentry(new Error('SearchViewRouterQuery: failed to parse stored search query. Defaulting to initial query.'), {
|
|
13092
12839
|
extra: {
|
|
13093
12840
|
rawQuery: location.state?.search,
|
|
13094
|
-
version: getCurrentVersion()
|
|
12841
|
+
version: getCurrentVersion(!isFilterRedesignEnabled)
|
|
13095
12842
|
}
|
|
13096
12843
|
});
|
|
13097
|
-
isReset = true;
|
|
13098
12844
|
}
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
12845
|
+
let isReset = false;
|
|
12846
|
+
// We don't store version with the history, so if we have location, assume we are good. Otherwise...
|
|
12847
|
+
if (locationHasSearchQuery() && currentSearchQuery === null) {
|
|
12848
|
+
// There was history, but it failed to decode, so set to default
|
|
12849
|
+
currentSearchQuery = defaultSearchQuery;
|
|
12850
|
+
updateHistory(defaultSearchQuery);
|
|
12851
|
+
} else if (!locationHasSearchQuery()) {
|
|
12852
|
+
if (storedSearchQuery && isStoredSearchQueryValid(storedSearchQuery, !isFilterRedesignEnabled)) {
|
|
12853
|
+
// No history but valid stored search, so update history
|
|
12854
|
+
updateHistory(currentSearchQuery);
|
|
12855
|
+
} else if (storedSearchQuery) {
|
|
12856
|
+
// No history and invalid stored search, so set to default and clear local storage
|
|
13102
12857
|
isReset = true;
|
|
12858
|
+
setStoredSearchQuery(null); // This will make it so local storage value is removed
|
|
13103
12859
|
} else {
|
|
13104
|
-
// No history
|
|
13105
|
-
|
|
12860
|
+
// No history and no stored search, so set to default
|
|
12861
|
+
isReset = true;
|
|
13106
12862
|
}
|
|
13107
12863
|
}
|
|
13108
12864
|
if (isReset) {
|
|
13109
|
-
currentSearchQuery =
|
|
13110
|
-
|
|
12865
|
+
currentSearchQuery = defaultSearchQuery;
|
|
12866
|
+
updateHistory(defaultSearchQuery);
|
|
13111
12867
|
}
|
|
13112
|
-
|
|
13113
|
-
return filteredSearchQuery;
|
|
12868
|
+
return currentSearchQuery;
|
|
13114
12869
|
};
|
|
13115
12870
|
return {
|
|
13116
12871
|
searchQuery: getSearchQuery(),
|
|
@@ -17405,89 +17160,7 @@ function ownKeys$l(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySy
|
|
|
17405
17160
|
function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$l(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$l(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17406
17161
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17407
17162
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
17408
|
-
var UnexpectedErrorSVG =
|
|
17409
|
-
return jsxs("svg", _objectSpread$l(_objectSpread$l({}, props), {}, {
|
|
17410
|
-
children: [jsxs("defs", {
|
|
17411
|
-
children: [jsx("rect", {
|
|
17412
|
-
id: "c",
|
|
17413
|
-
x: "0",
|
|
17414
|
-
y: "226.694",
|
|
17415
|
-
width: "248.775",
|
|
17416
|
-
height: "2.451",
|
|
17417
|
-
rx: "1.225"
|
|
17418
|
-
}), jsx("path", {
|
|
17419
|
-
id: "a",
|
|
17420
|
-
d: "M0 0h250v226.694H0z"
|
|
17421
|
-
})]
|
|
17422
|
-
}), jsxs("g", {
|
|
17423
|
-
fill: "none",
|
|
17424
|
-
fillRule: "evenodd",
|
|
17425
|
-
children: [jsxs("g", {
|
|
17426
|
-
transform: "translate(0 -3)",
|
|
17427
|
-
children: [jsx("mask", {
|
|
17428
|
-
id: "b",
|
|
17429
|
-
fill: "#fff",
|
|
17430
|
-
children: jsx("use", {
|
|
17431
|
-
xlinkHref: "#a"
|
|
17432
|
-
})
|
|
17433
|
-
}), jsx("ellipse", {
|
|
17434
|
-
fill: "#F2F2F2",
|
|
17435
|
-
mask: "url(#b)",
|
|
17436
|
-
cx: "124.387",
|
|
17437
|
-
cy: "126.213",
|
|
17438
|
-
rx: "123.162",
|
|
17439
|
-
ry: "122.537"
|
|
17440
|
-
})]
|
|
17441
|
-
}), jsxs("g", {
|
|
17442
|
-
transform: "translate(0 -3)",
|
|
17443
|
-
children: [jsx("use", {
|
|
17444
|
-
fill: "#000",
|
|
17445
|
-
xlinkHref: "#c"
|
|
17446
|
-
}), jsx("rect", {
|
|
17447
|
-
stroke: "#000",
|
|
17448
|
-
x: ".5",
|
|
17449
|
-
y: "227.194",
|
|
17450
|
-
width: "247.775",
|
|
17451
|
-
height: "1.451",
|
|
17452
|
-
rx: ".725"
|
|
17453
|
-
})]
|
|
17454
|
-
}), jsx("path", {
|
|
17455
|
-
d: "M160.922 215.16c0-4.66-3.826-8.473-8.502-8.473h-6.498c11.232-9.168 18.4-23.096 18.4-38.694 0-27.61-22.457-49.993-50.16-49.993C86.457 118 64 140.383 64 167.993c0 18.441 10.02 34.548 24.93 43.213H73.068c-4.676 0-8.502 3.813-8.502 8.474 0 4.66-1.842 3.954 2.834 3.954h85.02c24.371 1.13 8.501 0 8.501-8.473",
|
|
17456
|
-
fill: "#00B49F"
|
|
17457
|
-
}), jsx("path", {
|
|
17458
|
-
d: "M95.652 189.2c0 2.48-2.04 4.51-4.534 4.51h-1.7c-2.494 0-4.535-2.03-4.535-4.51v-20.29c0 2.48-2.04 4.508-4.534 4.508h-1.7c-2.495 0-4.535-2.029-4.535-4.509V152c0 2.48-2.04 4.509-4.535 4.509h-1.7c-.86 0-1.661-.245-2.348-.662A49.7 49.7 0 0 0 64 168.117c0 18.4 10.02 34.472 24.93 43.118H73.069c-4.676 0-8.502 3.804-8.502 8.454s-1.842 3.946 2.834 3.946h85.02c24.371 1.127 8.501 0 8.501-8.455 0-4.65-3.826-8.455-8.502-8.455h-6.498c11.232-9.147 18.401-23.044 18.401-38.608 0-.472-.008-.941-.021-1.41h-.83c-2.493 0-4.534-2.029-4.534-4.508v12.4c0 2.48-2.04 4.508-4.534 4.508h-1.7c-2.494 0-4.535-2.029-4.535-4.509v-7.89c0 2.48-2.04 4.509-4.534 4.509h-1.7c-2.494 0-4.535-2.03-4.535-4.51v25.364c0 2.48-2.04 4.51-4.534 4.51h-1.7c-2.495 0-4.535-2.03-4.535-4.51v-23.109c0 2.48-2.04 4.51-4.534 4.51h-1.7c-1.63 0-3.063-.87-3.862-2.163v6.706c0 2.48-2.04 4.51-4.535 4.51h-1.7c-2.494 0-4.534-2.03-4.534-4.51v-16.288a4.544 4.544 0 0 1-3.862 2.162h-1.7c-2.494 0-4.534-2.029-4.534-4.509",
|
|
17459
|
-
fill: "#A8DBD5"
|
|
17460
|
-
}), jsx("path", {
|
|
17461
|
-
d: "M160.975 216.16c0-4.66-3.787-8.473-8.417-8.473h-6.433c11.12-9.168 18.217-23.096 18.217-38.694 0-27.61-22.233-49.993-49.66-49.993-1.238 0-2.466.048-3.682.137 25.74 1.927 46.047 24.268 46.047 51.548 0 16.126-11.586 30.526-22.706 40.005h10.923c4.63 0 8.417 3.942 8.417 8.76 0 2.25 1.036 3.997 2.167 5.334 19.32.85 5.127-.569 5.127-8.623",
|
|
17462
|
-
fill: "#FFF"
|
|
17463
|
-
}), jsx("path", {
|
|
17464
|
-
d: "M67.522 222.383h84.795c4.647.214 9.386.436 11.609.345l-.021-.02c-1.585-1.45-4.24-3.88-4.24-7.65 0-4.04-3.296-7.327-7.348-7.327h-9.646l2.448-1.999c11.4-9.308 17.939-23.06 17.939-37.73 0-26.88-21.936-48.748-48.899-48.748-26.962 0-48.898 21.868-48.898 48.747 0 17.276 9.313 33.423 24.303 42.138l3.613 2.1H73.175c-4.052 0-7.349 3.287-7.349 7.327 0 1.304-.139 2.238-.244 2.85.103-.002.21-.004.318-.008.428-.01.96-.025 1.622-.025M162.59 225c-2.12 0-5.346-.133-10.324-.363H67.522c-.637 0-1.15.014-1.563.025-1.221.03-1.891.049-2.398-.538-.48-.555-.366-1.196-.245-1.875.1-.56.25-1.405.25-2.683 0-5.283 4.31-9.58 9.61-9.58h11.936C71.382 200.515 63 184.765 63 168c0-28.12 22.95-51 51.16-51 28.21 0 51.159 22.879 51.159 51.001 0 14.331-5.962 27.823-16.46 37.476h3.458c5.299 0 9.61 4.298 9.61 9.58 0 2.78 2.111 4.713 3.508 5.991 1.013.928 1.887 1.729 1.45 2.777-.348.833-.897 1.175-4.296 1.175",
|
|
17465
|
-
fill: "#000"
|
|
17466
|
-
}), jsx("path", {
|
|
17467
|
-
d: "m178.728 31.282-75.405 74.574c-3.804 3.763-2.794 10.167 1.99 12.554 11.591 5.783 31.878 16.381 52.437 29.379 4.58 2.896 10.637.346 11.772-4.965l22.29-104.342c1.62-7.585-7.578-12.646-13.084-7.2",
|
|
17468
|
-
fill: "#A8DBD5"
|
|
17469
|
-
}), jsx("path", {
|
|
17470
|
-
fill: "#FFF",
|
|
17471
|
-
d: "M168.832 142 146 62.632l2.167-.632L171 141.368zm-23.038 0L128 80.63l2.206-.63L148 141.37zm-19.9-11L113 95.767l2.107-.767L128 130.233zm53.017-35L161 48.817l2.089-.817L181 95.183zm6.967-37L177 32.711l2.122-.711L188 58.289z"
|
|
17472
|
-
}), jsx("path", {
|
|
17473
|
-
fill: "#FFF",
|
|
17474
|
-
d: "M118.334 92 118 89.767 183.666 80l.334 2.233zm-17.167 18-.167-2.246L178.833 102l.167 2.246zm72.831 15L115 124.95l.002-1.95 58.998.05zm-30.805-58L143 64.769 187.807 61l.193 2.231zm20.197-19-.39-2.234L190.61 41l.39 2.234z"
|
|
17475
|
-
}), jsx("path", {
|
|
17476
|
-
d: "m179.432 32.215-75.197 74.406a6.613 6.613 0 0 0-1.898 5.803 6.576 6.576 0 0 0 3.592 4.907c10.564 5.274 31.418 16.103 52.393 29.369a6.544 6.544 0 0 0 6.128.506 6.567 6.567 0 0 0 3.91-4.74l22.23-104.107c.765-3.582-1.3-6.14-3.3-7.242-2-1.1-5.26-1.474-7.858 1.098M161.85 150a8.815 8.815 0 0 1-4.728-1.39c-20.891-13.213-41.67-24.002-52.195-29.257-2.6-1.298-4.354-3.694-4.813-6.573-.459-2.885.467-5.715 2.54-7.766l75.197-74.407c2.865-2.834 6.996-3.41 10.52-1.47 3.526 1.943 5.26 5.748 4.418 9.695L170.56 142.938c-.617 2.889-2.526 5.203-5.239 6.349a8.893 8.893 0 0 1-3.471.713",
|
|
17477
|
-
fill: "#000"
|
|
17478
|
-
}), jsx("path", {
|
|
17479
|
-
d: "m88.322 148.347 1.331 1.331c.43.43 1.132.43 1.561 0l5.464-5.464c.43-.429.43-1.131 0-1.56l-1.331-1.332a1.107 1.107 0 0 0-1.561 0l-5.464 5.464a1.105 1.105 0 0 0 0 1.56m39.971 2.148 1.213 1.213a1.009 1.009 0 0 0 1.423 0l1.778-1.778a1.009 1.009 0 0 0 0-1.423l-1.214-1.213a1.008 1.008 0 0 0-1.422 0l-1.778 1.778a1.009 1.009 0 0 0 0 1.423m-20 7.999 1.213 1.214a1.009 1.009 0 0 0 1.423 0l1.778-1.778a1.01 1.01 0 0 0 0-1.422l-1.214-1.214a1.008 1.008 0 0 0-1.422 0l-1.778 1.778a1.008 1.008 0 0 0 0 1.422m5.995-18.257 1.26 1.406c.406.453 1.097.48 1.535.06l5.571-5.35c.438-.42.464-1.135.058-1.588l-1.26-1.406a1.063 1.063 0 0 0-1.535-.06l-5.571 5.35a1.155 1.155 0 0 0-.058 1.588m27 29.001 1.26 1.405c.406.453 1.097.48 1.535.06l5.57-5.35c.439-.42.465-1.136.059-1.589l-1.26-1.405a1.063 1.063 0 0 0-1.535-.06l-5.57 5.35a1.155 1.155 0 0 0-.059 1.589m-21.108-12.77-.998 1.523c-.323.49-.204 1.169.262 1.507l5.94 4.312a1.002 1.002 0 0 0 1.435-.276l1-1.522c.322-.49.203-1.17-.264-1.509l-5.94-4.311a1.003 1.003 0 0 0-1.434.276m-25.001-31-.998 1.522c-.323.491-.204 1.17.262 1.508l5.94 4.312a1.003 1.003 0 0 0 1.435-.276l1-1.522c.322-.49.203-1.17-.264-1.509l-5.94-4.311a1.003 1.003 0 0 0-1.434.276",
|
|
17480
|
-
fill: "#FFF"
|
|
17481
|
-
})]
|
|
17482
|
-
})]
|
|
17483
|
-
}));
|
|
17484
|
-
};
|
|
17485
|
-
UnexpectedErrorSVG.defaultProps = {
|
|
17486
|
-
width: "249",
|
|
17487
|
-
height: "227",
|
|
17488
|
-
xmlns: "http://www.w3.org/2000/svg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xMmExLjAwMiAxLjAwMiAwIDAwMS40MzUtLjI3NmwxLTEuNTIyYy4zMjItLjQ5LjIwMy0xLjE3LS4yNjQtMS41MDlsLTUuOTQtNC4zMTFhMS4wMDMgMS4wMDMgMCAwMC0xLjQzNC4yNzZtLTI1LjAwMS0zMWwtLjk5OCAxLjUyMmMtLjMyMy40OTEtLjIwNCAxLjE3LjI2MiAxLjUwOGw1Ljk0IDQuMzEyYTEuMDAzIDEuMDAzIDAgMDAxLjQzNS0uMjc2bDEtMS41MjJjLjMyMi0uNDkuMjAzLTEuMTctLjI2NC0xLjUwOWwtNS45NC00LjMxMWExLjAwMyAxLjAwMyAwIDAwLTEuNDM0LjI3NiIgZmlsbD0iI0ZGRiIvPjwvZz48L3N2Zz4=";
|
|
17491
17164
|
let ErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
17492
17165
|
function ErrorBoundary() {
|
|
17493
17166
|
var _this;
|
|
@@ -20143,7 +19816,7 @@ const ChangeHistoryList = props => {
|
|
|
20143
19816
|
const _useVersionTier = useVersionTier(),
|
|
20144
19817
|
tier = _useVersionTier.tier;
|
|
20145
19818
|
const storageSlice = props.storageSlice || SEARCH_SLICE_NAME_CHANGE_HISTORY;
|
|
20146
|
-
const
|
|
19819
|
+
const defaultSearchQuery = {
|
|
20147
19820
|
page: 1,
|
|
20148
19821
|
perPage: 20,
|
|
20149
19822
|
filters: {
|
|
@@ -20164,7 +19837,7 @@ const ChangeHistoryList = props => {
|
|
|
20164
19837
|
}
|
|
20165
19838
|
};
|
|
20166
19839
|
const _useSearchQueryState = useSearchQueryState({
|
|
20167
|
-
|
|
19840
|
+
defaultSearchQuery,
|
|
20168
19841
|
storageSlice
|
|
20169
19842
|
}),
|
|
20170
19843
|
searchQuery = _useSearchQueryState.searchQuery,
|
|
@@ -20525,7 +20198,7 @@ const benefitsAPIStyles = process.env.NODE_ENV === "production" ? {
|
|
|
20525
20198
|
styles: "margin-bottom:70px"
|
|
20526
20199
|
} : {
|
|
20527
20200
|
name: "15r0sul-benefitsAPIStyles",
|
|
20528
|
-
styles: "margin-bottom:70px;label:benefitsAPIStyles;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
20201
|
+
styles: "margin-bottom:70px;label:benefitsAPIStyles;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlbmVmaXRzLWFwaS1sb2dnaW5nLnN0eWxlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFb0MiLCJmaWxlIjoiYmVuZWZpdHMtYXBpLWxvZ2dpbmcuc3R5bGVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5leHBvcnQgY29uc3QgYmVuZWZpdHNBUElTdHlsZXMgPSBjc3NgXG4gIG1hcmdpbi1ib3R0b206IDcwcHg7XG5gO1xuXG5leHBvcnQgY29uc3QgYmVuZWZpdHNBUElTdHlsZXNIZWFkbGluZSA9IGNzc2BcbiAgcGFkZGluZy1ib3R0b206IDIwcHg7XG4gIG1hcmdpbi1ib3R0b206IDMycHg7XG4gIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCB2YXIoLS1jb2xvci1uZXV0cmFsLTkwKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBmZWF0dXJlQ2FyZFN0eWxlcyA9IGNzc2BcbiAgaGVpZ2h0OiAxMDAlO1xuYDtcbiJdfQ== */",
|
|
20529
20202
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
|
|
20530
20203
|
};
|
|
20531
20204
|
const benefitsAPIStylesHeadline = process.env.NODE_ENV === "production" ? {
|
|
@@ -20533,15 +20206,15 @@ const benefitsAPIStylesHeadline = process.env.NODE_ENV === "production" ? {
|
|
|
20533
20206
|
styles: "padding-bottom:20px;margin-bottom:32px;border-bottom:2px solid var(--color-neutral-90)"
|
|
20534
20207
|
} : {
|
|
20535
20208
|
name: "g0owf9-benefitsAPIStylesHeadline",
|
|
20536
|
-
styles: "padding-bottom:20px;margin-bottom:32px;border-bottom:2px solid var(--color-neutral-90);label:benefitsAPIStylesHeadline;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
20209
|
+
styles: "padding-bottom:20px;margin-bottom:32px;border-bottom:2px solid var(--color-neutral-90);label:benefitsAPIStylesHeadline;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlbmVmaXRzLWFwaS1sb2dnaW5nLnN0eWxlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNNEMiLCJmaWxlIjoiYmVuZWZpdHMtYXBpLWxvZ2dpbmcuc3R5bGVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5leHBvcnQgY29uc3QgYmVuZWZpdHNBUElTdHlsZXMgPSBjc3NgXG4gIG1hcmdpbi1ib3R0b206IDcwcHg7XG5gO1xuXG5leHBvcnQgY29uc3QgYmVuZWZpdHNBUElTdHlsZXNIZWFkbGluZSA9IGNzc2BcbiAgcGFkZGluZy1ib3R0b206IDIwcHg7XG4gIG1hcmdpbi1ib3R0b206IDMycHg7XG4gIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCB2YXIoLS1jb2xvci1uZXV0cmFsLTkwKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBmZWF0dXJlQ2FyZFN0eWxlcyA9IGNzc2BcbiAgaGVpZ2h0OiAxMDAlO1xuYDtcbiJdfQ== */",
|
|
20537
20210
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
|
|
20538
20211
|
};
|
|
20539
20212
|
const featureCardStyles = process.env.NODE_ENV === "production" ? {
|
|
20540
|
-
name: "
|
|
20541
|
-
styles: "
|
|
20213
|
+
name: "13udsys",
|
|
20214
|
+
styles: "height:100%"
|
|
20542
20215
|
} : {
|
|
20543
|
-
name: "
|
|
20544
|
-
styles: "
|
|
20216
|
+
name: "14j7pvv-featureCardStyles",
|
|
20217
|
+
styles: "height:100%;label:featureCardStyles;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJlbmVmaXRzLWFwaS1sb2dnaW5nLnN0eWxlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZb0MiLCJmaWxlIjoiYmVuZWZpdHMtYXBpLWxvZ2dpbmcuc3R5bGVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5leHBvcnQgY29uc3QgYmVuZWZpdHNBUElTdHlsZXMgPSBjc3NgXG4gIG1hcmdpbi1ib3R0b206IDcwcHg7XG5gO1xuXG5leHBvcnQgY29uc3QgYmVuZWZpdHNBUElTdHlsZXNIZWFkbGluZSA9IGNzc2BcbiAgcGFkZGluZy1ib3R0b206IDIwcHg7XG4gIG1hcmdpbi1ib3R0b206IDMycHg7XG4gIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCB2YXIoLS1jb2xvci1uZXV0cmFsLTkwKTtcbmA7XG5cbmV4cG9ydCBjb25zdCBmZWF0dXJlQ2FyZFN0eWxlcyA9IGNzc2BcbiAgaGVpZ2h0OiAxMDAlO1xuYDtcbiJdfQ== */",
|
|
20545
20218
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
|
|
20546
20219
|
};
|
|
20547
20220
|
|
|
@@ -20557,23 +20230,24 @@ const BenefitsApiLogging = () => {
|
|
|
20557
20230
|
})
|
|
20558
20231
|
}), jsx("div", {
|
|
20559
20232
|
css: benefitsAPIStyles,
|
|
20560
|
-
children: jsx(
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
justifyContent: "space-between",
|
|
20233
|
+
children: jsx(Grid, {
|
|
20234
|
+
gridGap: designTokens$1.spacingM,
|
|
20235
|
+
gridTemplateColumns: "repeat(4, 1fr)",
|
|
20564
20236
|
children: _mapInstanceProperty(featureCards).call(featureCards, (_ref, index) => {
|
|
20565
20237
|
let cardContent = _ref.cardContent,
|
|
20566
20238
|
icon = _ref.icon,
|
|
20567
20239
|
iconColor = _ref.iconColor;
|
|
20568
|
-
return jsx(
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20240
|
+
return jsx(Grid.Item, {
|
|
20241
|
+
children: jsx(FeatureCard, {
|
|
20242
|
+
css: featureCardStyles,
|
|
20243
|
+
content: cardContent,
|
|
20244
|
+
icon: jsx(LeadingIcon, {
|
|
20245
|
+
color: iconColor,
|
|
20246
|
+
icon: icon
|
|
20247
|
+
}),
|
|
20248
|
+
layout: "vertical"
|
|
20249
|
+
})
|
|
20250
|
+
}, `feature-card${index}`);
|
|
20577
20251
|
})
|
|
20578
20252
|
})
|
|
20579
20253
|
})]
|