@commercetools-frontend-extensions/change-history 8.20.4 → 8.20.6
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.
|
@@ -154,7 +154,7 @@ var kebabCase__default = /*#__PURE__*/_interopDefault(kebabCase);
|
|
|
154
154
|
var LeadingIcon__default = /*#__PURE__*/_interopDefault(LeadingIcon);
|
|
155
155
|
|
|
156
156
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
157
|
-
var version = "8.20.
|
|
157
|
+
var version = "8.20.6";
|
|
158
158
|
|
|
159
159
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
160
160
|
/**
|
|
@@ -18517,22 +18517,11 @@ const SingleFilterTag = props => {
|
|
|
18517
18517
|
children: jsxRuntime.jsxs("div", {
|
|
18518
18518
|
css: tagBodyStyles,
|
|
18519
18519
|
"data-testid": "single-filter-tag",
|
|
18520
|
-
children: [jsxRuntime.
|
|
18520
|
+
children: [jsxRuntime.jsxs("div", {
|
|
18521
18521
|
css: boldStyles,
|
|
18522
|
-
children:
|
|
18523
|
-
|
|
18524
|
-
|
|
18525
|
-
children: jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
18526
|
-
children: [props.fieldLabel, ':']
|
|
18527
|
-
})
|
|
18528
|
-
})
|
|
18529
|
-
}), jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
18530
|
-
as: "span",
|
|
18531
|
-
children: jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
18532
|
-
children: jsxRuntime.jsx("div", {
|
|
18533
|
-
children: props.filterTypeLabel
|
|
18534
|
-
})
|
|
18535
|
-
})
|
|
18522
|
+
children: [props.fieldLabel, ':']
|
|
18523
|
+
}), jsxRuntime.jsx("div", {
|
|
18524
|
+
children: props.filterTypeLabel
|
|
18536
18525
|
}), jsxRuntime.jsx("div", {
|
|
18537
18526
|
css: boldStyles,
|
|
18538
18527
|
children: props.renderValue(props.value)
|
|
@@ -18609,13 +18598,9 @@ const DateSingleFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
18609
18598
|
fieldLabel: props.fieldLabel,
|
|
18610
18599
|
filterTypeLabel: props.filterTypeLabel,
|
|
18611
18600
|
value: props.value,
|
|
18612
|
-
renderValue: value => jsxRuntime.jsx(
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
children: jsxRuntime.jsx(FormattedDateTime$1, {
|
|
18616
|
-
type: "date",
|
|
18617
|
-
value: value
|
|
18618
|
-
})
|
|
18601
|
+
renderValue: value => jsxRuntime.jsx(FormattedDateTime$1, {
|
|
18602
|
+
type: "date",
|
|
18603
|
+
value: value
|
|
18619
18604
|
}),
|
|
18620
18605
|
onRemove: props.onRemove,
|
|
18621
18606
|
onClick: props.onClick
|
|
@@ -18631,13 +18616,9 @@ DateSingleFilterTag.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
18631
18616
|
const DateRangeFilterTag = props => jsxRuntime.jsx(RangeFilterTag, {
|
|
18632
18617
|
fieldLabel: props.fieldLabel,
|
|
18633
18618
|
value: props.value,
|
|
18634
|
-
renderValue: value => jsxRuntime.jsx(
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
children: jsxRuntime.jsx(FormattedDateTime$1, {
|
|
18638
|
-
type: "date",
|
|
18639
|
-
value: value
|
|
18640
|
-
})
|
|
18619
|
+
renderValue: value => jsxRuntime.jsx(FormattedDateTime$1, {
|
|
18620
|
+
type: "date",
|
|
18621
|
+
value: value
|
|
18641
18622
|
}),
|
|
18642
18623
|
onRemove: props.onRemove,
|
|
18643
18624
|
onClick: props.onClick
|
|
@@ -18657,11 +18638,7 @@ const TextSingleFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
18657
18638
|
fieldLabel: props.fieldLabel,
|
|
18658
18639
|
filterTypeLabel: props.filterTypeLabel,
|
|
18659
18640
|
value: props.value,
|
|
18660
|
-
renderValue: value =>
|
|
18661
|
-
as: "span",
|
|
18662
|
-
isBold: true,
|
|
18663
|
-
children: value
|
|
18664
|
-
}),
|
|
18641
|
+
renderValue: value => value,
|
|
18665
18642
|
onRemove: props.onRemove,
|
|
18666
18643
|
onClick: props.onClick
|
|
18667
18644
|
});
|
|
@@ -20274,11 +20251,7 @@ const EnumSingleFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
20274
20251
|
fieldLabel: props.fieldLabel,
|
|
20275
20252
|
filterTypeLabel: props.filterTypeLabel,
|
|
20276
20253
|
value: props.value,
|
|
20277
|
-
renderValue: option =>
|
|
20278
|
-
as: "span",
|
|
20279
|
-
isBold: true,
|
|
20280
|
-
children: _Array$isArray__default["default"](option) ? option.join(', ') : "".concat(option.value)
|
|
20281
|
-
}),
|
|
20254
|
+
renderValue: option => _Array$isArray__default["default"](option) ? option.join(', ') : "".concat(option.value),
|
|
20282
20255
|
onRemove: props.onRemove,
|
|
20283
20256
|
onClick: props.onClick
|
|
20284
20257
|
});
|
|
@@ -20300,11 +20273,7 @@ const EnumSingleOptionFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
20300
20273
|
fieldLabel: props.fieldLabel,
|
|
20301
20274
|
filterTypeLabel: props.filterTypeLabel,
|
|
20302
20275
|
value: props.value,
|
|
20303
|
-
renderValue: option =>
|
|
20304
|
-
as: "span",
|
|
20305
|
-
isBold: true,
|
|
20306
|
-
children: _Array$isArray__default["default"](option) ? _mapInstanceProperty__default["default"](option).call(option, value => value.label).join(', ') : "".concat(option.value.label)
|
|
20307
|
-
}),
|
|
20276
|
+
renderValue: option => _Array$isArray__default["default"](option) ? _mapInstanceProperty__default["default"](option).call(option, value => value.label).join(', ') : "".concat(option.value.label),
|
|
20308
20277
|
onRemove: props.onRemove,
|
|
20309
20278
|
onClick: props.onClick
|
|
20310
20279
|
});
|
|
@@ -20312,10 +20281,10 @@ EnumSingleOptionFilterTag.displayName = 'EnumSingleOptionFilterTag';
|
|
|
20312
20281
|
EnumSingleOptionFilterTag.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
20313
20282
|
fieldLabel: PropTypes__default["default"].string.isRequired,
|
|
20314
20283
|
filterTypeLabel: PropTypes__default["default"].string.isRequired,
|
|
20315
|
-
value: PropTypes__default["default"].shape({
|
|
20284
|
+
value: PropTypes__default["default"].arrayOf(PropTypes__default["default"].shape({
|
|
20316
20285
|
key: PropTypes__default["default"].any,
|
|
20317
20286
|
label: PropTypes__default["default"].string.isRequired
|
|
20318
|
-
}),
|
|
20287
|
+
})).isRequired,
|
|
20319
20288
|
onRemove: PropTypes__default["default"].func.isRequired,
|
|
20320
20289
|
onClick: PropTypes__default["default"].func.isRequired
|
|
20321
20290
|
} : {};
|
|
@@ -20336,7 +20305,7 @@ const EnumSingleFilterLabelTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
20336
20305
|
}).join(', ');
|
|
20337
20306
|
}
|
|
20338
20307
|
const selectedOption = _findInstanceProperty__default["default"](_context2 = props.options).call(_context2, propOption => propOption.value === option.value);
|
|
20339
|
-
return jsxRuntime.jsx(uiKit.Text.
|
|
20308
|
+
return jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
20340
20309
|
as: "span",
|
|
20341
20310
|
isBold: true,
|
|
20342
20311
|
children: selectedOption.label || "".concat(option.value)
|
|
@@ -20373,7 +20342,7 @@ var messages$5 = reactIntl.defineMessages({
|
|
|
20373
20342
|
|
|
20374
20343
|
function ownKeys$f(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20375
20344
|
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$f(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$f(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
20376
|
-
const GetBoldText = msg => jsxRuntime.jsx(uiKit.Text.
|
|
20345
|
+
const GetBoldText = msg => jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
20377
20346
|
as: "span",
|
|
20378
20347
|
isBold: true,
|
|
20379
20348
|
children: msg
|
|
@@ -20386,7 +20355,7 @@ const ResourceChangeFilterTag = props => {
|
|
|
20386
20355
|
fieldLabel: formatMessage(messages$5.fieldLabel),
|
|
20387
20356
|
filterTypeLabel: props.filterTypeLabel,
|
|
20388
20357
|
value: props.value,
|
|
20389
|
-
renderValue: value => jsxRuntime.jsx(uiKit.Text.
|
|
20358
|
+
renderValue: value => jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
20390
20359
|
as: "span",
|
|
20391
20360
|
intlMessage: _objectSpread$f(_objectSpread$f({}, messages$5.tagTxt), {}, {
|
|
20392
20361
|
values: _objectSpread$f(_objectSpread$f({}, value), {}, {
|
|
@@ -154,7 +154,7 @@ var kebabCase__default = /*#__PURE__*/_interopDefault(kebabCase);
|
|
|
154
154
|
var LeadingIcon__default = /*#__PURE__*/_interopDefault(LeadingIcon);
|
|
155
155
|
|
|
156
156
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
157
|
-
var version = "8.20.
|
|
157
|
+
var version = "8.20.6";
|
|
158
158
|
|
|
159
159
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
160
160
|
/**
|
|
@@ -17440,22 +17440,11 @@ const SingleFilterTag = props => {
|
|
|
17440
17440
|
children: jsxRuntime.jsxs("div", {
|
|
17441
17441
|
css: tagBodyStyles,
|
|
17442
17442
|
"data-testid": "single-filter-tag",
|
|
17443
|
-
children: [jsxRuntime.
|
|
17443
|
+
children: [jsxRuntime.jsxs("div", {
|
|
17444
17444
|
css: boldStyles,
|
|
17445
|
-
children:
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
children: jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
17449
|
-
children: [props.fieldLabel, ':']
|
|
17450
|
-
})
|
|
17451
|
-
})
|
|
17452
|
-
}), jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
17453
|
-
as: "span",
|
|
17454
|
-
children: jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
17455
|
-
children: jsxRuntime.jsx("div", {
|
|
17456
|
-
children: props.filterTypeLabel
|
|
17457
|
-
})
|
|
17458
|
-
})
|
|
17445
|
+
children: [props.fieldLabel, ':']
|
|
17446
|
+
}), jsxRuntime.jsx("div", {
|
|
17447
|
+
children: props.filterTypeLabel
|
|
17459
17448
|
}), jsxRuntime.jsx("div", {
|
|
17460
17449
|
css: boldStyles,
|
|
17461
17450
|
children: props.renderValue(props.value)
|
|
@@ -17510,13 +17499,9 @@ const DateSingleFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
17510
17499
|
fieldLabel: props.fieldLabel,
|
|
17511
17500
|
filterTypeLabel: props.filterTypeLabel,
|
|
17512
17501
|
value: props.value,
|
|
17513
|
-
renderValue: value => jsxRuntime.jsx(
|
|
17514
|
-
|
|
17515
|
-
|
|
17516
|
-
children: jsxRuntime.jsx(FormattedDateTime$1, {
|
|
17517
|
-
type: "date",
|
|
17518
|
-
value: value
|
|
17519
|
-
})
|
|
17502
|
+
renderValue: value => jsxRuntime.jsx(FormattedDateTime$1, {
|
|
17503
|
+
type: "date",
|
|
17504
|
+
value: value
|
|
17520
17505
|
}),
|
|
17521
17506
|
onRemove: props.onRemove,
|
|
17522
17507
|
onClick: props.onClick
|
|
@@ -17526,13 +17511,9 @@ DateSingleFilterTag.propTypes = {};
|
|
|
17526
17511
|
const DateRangeFilterTag = props => jsxRuntime.jsx(RangeFilterTag, {
|
|
17527
17512
|
fieldLabel: props.fieldLabel,
|
|
17528
17513
|
value: props.value,
|
|
17529
|
-
renderValue: value => jsxRuntime.jsx(
|
|
17530
|
-
|
|
17531
|
-
|
|
17532
|
-
children: jsxRuntime.jsx(FormattedDateTime$1, {
|
|
17533
|
-
type: "date",
|
|
17534
|
-
value: value
|
|
17535
|
-
})
|
|
17514
|
+
renderValue: value => jsxRuntime.jsx(FormattedDateTime$1, {
|
|
17515
|
+
type: "date",
|
|
17516
|
+
value: value
|
|
17536
17517
|
}),
|
|
17537
17518
|
onRemove: props.onRemove,
|
|
17538
17519
|
onClick: props.onClick
|
|
@@ -17544,11 +17525,7 @@ const TextSingleFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
17544
17525
|
fieldLabel: props.fieldLabel,
|
|
17545
17526
|
filterTypeLabel: props.filterTypeLabel,
|
|
17546
17527
|
value: props.value,
|
|
17547
|
-
renderValue: value =>
|
|
17548
|
-
as: "span",
|
|
17549
|
-
isBold: true,
|
|
17550
|
-
children: value
|
|
17551
|
-
}),
|
|
17528
|
+
renderValue: value => value,
|
|
17552
17529
|
onRemove: props.onRemove,
|
|
17553
17530
|
onClick: props.onClick
|
|
17554
17531
|
});
|
|
@@ -18873,11 +18850,7 @@ const EnumSingleFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
18873
18850
|
fieldLabel: props.fieldLabel,
|
|
18874
18851
|
filterTypeLabel: props.filterTypeLabel,
|
|
18875
18852
|
value: props.value,
|
|
18876
|
-
renderValue: option =>
|
|
18877
|
-
as: "span",
|
|
18878
|
-
isBold: true,
|
|
18879
|
-
children: _Array$isArray__default["default"](option) ? option.join(', ') : "".concat(option.value)
|
|
18880
|
-
}),
|
|
18853
|
+
renderValue: option => _Array$isArray__default["default"](option) ? option.join(', ') : "".concat(option.value),
|
|
18881
18854
|
onRemove: props.onRemove,
|
|
18882
18855
|
onClick: props.onClick
|
|
18883
18856
|
});
|
|
@@ -18887,11 +18860,7 @@ const EnumSingleOptionFilterTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
18887
18860
|
fieldLabel: props.fieldLabel,
|
|
18888
18861
|
filterTypeLabel: props.filterTypeLabel,
|
|
18889
18862
|
value: props.value,
|
|
18890
|
-
renderValue: option =>
|
|
18891
|
-
as: "span",
|
|
18892
|
-
isBold: true,
|
|
18893
|
-
children: _Array$isArray__default["default"](option) ? _mapInstanceProperty__default["default"](option).call(option, value => value.label).join(', ') : "".concat(option.value.label)
|
|
18894
|
-
}),
|
|
18863
|
+
renderValue: option => _Array$isArray__default["default"](option) ? _mapInstanceProperty__default["default"](option).call(option, value => value.label).join(', ') : "".concat(option.value.label),
|
|
18895
18864
|
onRemove: props.onRemove,
|
|
18896
18865
|
onClick: props.onClick
|
|
18897
18866
|
});
|
|
@@ -18914,7 +18883,7 @@ const EnumSingleFilterLabelTag = props => jsxRuntime.jsx(SingleFilterTag, {
|
|
|
18914
18883
|
}).join(', ');
|
|
18915
18884
|
}
|
|
18916
18885
|
const selectedOption = _findInstanceProperty__default["default"](_context2 = props.options).call(_context2, propOption => propOption.value === option.value);
|
|
18917
|
-
return jsxRuntime.jsx(uiKit.Text.
|
|
18886
|
+
return jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
18918
18887
|
as: "span",
|
|
18919
18888
|
isBold: true,
|
|
18920
18889
|
children: selectedOption.label || "".concat(option.value)
|
|
@@ -18941,7 +18910,7 @@ var messages$5 = reactIntl.defineMessages({
|
|
|
18941
18910
|
|
|
18942
18911
|
function ownKeys$f(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18943
18912
|
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$f(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$f(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
18944
|
-
const GetBoldText = msg => jsxRuntime.jsx(uiKit.Text.
|
|
18913
|
+
const GetBoldText = msg => jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
18945
18914
|
as: "span",
|
|
18946
18915
|
isBold: true,
|
|
18947
18916
|
children: msg
|
|
@@ -18954,7 +18923,7 @@ const ResourceChangeFilterTag = props => {
|
|
|
18954
18923
|
fieldLabel: formatMessage(messages$5.fieldLabel),
|
|
18955
18924
|
filterTypeLabel: props.filterTypeLabel,
|
|
18956
18925
|
value: props.value,
|
|
18957
|
-
renderValue: value => jsxRuntime.jsx(uiKit.Text.
|
|
18926
|
+
renderValue: value => jsxRuntime.jsx(uiKit.Text.Detail, {
|
|
18958
18927
|
as: "span",
|
|
18959
18928
|
intlMessage: _objectSpread$f(_objectSpread$f({}, messages$5.tagTxt), {}, {
|
|
18960
18929
|
values: _objectSpread$f(_objectSpread$f({}, value), {}, {
|
|
@@ -92,7 +92,7 @@ import LeadingIcon from '@commercetools-uikit/icons/leading-icon';
|
|
|
92
92
|
import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
|
|
93
93
|
|
|
94
94
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
95
|
-
var version = "8.20.
|
|
95
|
+
var version = "8.20.6";
|
|
96
96
|
|
|
97
97
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
98
98
|
/**
|
|
@@ -18455,22 +18455,11 @@ const SingleFilterTag = props => {
|
|
|
18455
18455
|
children: jsxs("div", {
|
|
18456
18456
|
css: tagBodyStyles,
|
|
18457
18457
|
"data-testid": "single-filter-tag",
|
|
18458
|
-
children: [
|
|
18458
|
+
children: [jsxs("div", {
|
|
18459
18459
|
css: boldStyles,
|
|
18460
|
-
children:
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
children: jsxs(Fragment, {
|
|
18464
|
-
children: [props.fieldLabel, ':']
|
|
18465
|
-
})
|
|
18466
|
-
})
|
|
18467
|
-
}), jsx(Text.Detail, {
|
|
18468
|
-
as: "span",
|
|
18469
|
-
children: jsx(Fragment, {
|
|
18470
|
-
children: jsx("div", {
|
|
18471
|
-
children: props.filterTypeLabel
|
|
18472
|
-
})
|
|
18473
|
-
})
|
|
18460
|
+
children: [props.fieldLabel, ':']
|
|
18461
|
+
}), jsx("div", {
|
|
18462
|
+
children: props.filterTypeLabel
|
|
18474
18463
|
}), jsx("div", {
|
|
18475
18464
|
css: boldStyles,
|
|
18476
18465
|
children: props.renderValue(props.value)
|
|
@@ -18547,13 +18536,9 @@ const DateSingleFilterTag = props => jsx(SingleFilterTag, {
|
|
|
18547
18536
|
fieldLabel: props.fieldLabel,
|
|
18548
18537
|
filterTypeLabel: props.filterTypeLabel,
|
|
18549
18538
|
value: props.value,
|
|
18550
|
-
renderValue: value => jsx(
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
children: jsx(FormattedDateTime$1, {
|
|
18554
|
-
type: "date",
|
|
18555
|
-
value: value
|
|
18556
|
-
})
|
|
18539
|
+
renderValue: value => jsx(FormattedDateTime$1, {
|
|
18540
|
+
type: "date",
|
|
18541
|
+
value: value
|
|
18557
18542
|
}),
|
|
18558
18543
|
onRemove: props.onRemove,
|
|
18559
18544
|
onClick: props.onClick
|
|
@@ -18569,13 +18554,9 @@ DateSingleFilterTag.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
18569
18554
|
const DateRangeFilterTag = props => jsx(RangeFilterTag, {
|
|
18570
18555
|
fieldLabel: props.fieldLabel,
|
|
18571
18556
|
value: props.value,
|
|
18572
|
-
renderValue: value => jsx(
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
children: jsx(FormattedDateTime$1, {
|
|
18576
|
-
type: "date",
|
|
18577
|
-
value: value
|
|
18578
|
-
})
|
|
18557
|
+
renderValue: value => jsx(FormattedDateTime$1, {
|
|
18558
|
+
type: "date",
|
|
18559
|
+
value: value
|
|
18579
18560
|
}),
|
|
18580
18561
|
onRemove: props.onRemove,
|
|
18581
18562
|
onClick: props.onClick
|
|
@@ -18595,11 +18576,7 @@ const TextSingleFilterTag = props => jsx(SingleFilterTag, {
|
|
|
18595
18576
|
fieldLabel: props.fieldLabel,
|
|
18596
18577
|
filterTypeLabel: props.filterTypeLabel,
|
|
18597
18578
|
value: props.value,
|
|
18598
|
-
renderValue: value =>
|
|
18599
|
-
as: "span",
|
|
18600
|
-
isBold: true,
|
|
18601
|
-
children: value
|
|
18602
|
-
}),
|
|
18579
|
+
renderValue: value => value,
|
|
18603
18580
|
onRemove: props.onRemove,
|
|
18604
18581
|
onClick: props.onClick
|
|
18605
18582
|
});
|
|
@@ -20212,11 +20189,7 @@ const EnumSingleFilterTag = props => jsx(SingleFilterTag, {
|
|
|
20212
20189
|
fieldLabel: props.fieldLabel,
|
|
20213
20190
|
filterTypeLabel: props.filterTypeLabel,
|
|
20214
20191
|
value: props.value,
|
|
20215
|
-
renderValue: option =>
|
|
20216
|
-
as: "span",
|
|
20217
|
-
isBold: true,
|
|
20218
|
-
children: _Array$isArray(option) ? option.join(', ') : "".concat(option.value)
|
|
20219
|
-
}),
|
|
20192
|
+
renderValue: option => _Array$isArray(option) ? option.join(', ') : "".concat(option.value),
|
|
20220
20193
|
onRemove: props.onRemove,
|
|
20221
20194
|
onClick: props.onClick
|
|
20222
20195
|
});
|
|
@@ -20238,11 +20211,7 @@ const EnumSingleOptionFilterTag = props => jsx(SingleFilterTag, {
|
|
|
20238
20211
|
fieldLabel: props.fieldLabel,
|
|
20239
20212
|
filterTypeLabel: props.filterTypeLabel,
|
|
20240
20213
|
value: props.value,
|
|
20241
|
-
renderValue: option =>
|
|
20242
|
-
as: "span",
|
|
20243
|
-
isBold: true,
|
|
20244
|
-
children: _Array$isArray(option) ? _mapInstanceProperty(option).call(option, value => value.label).join(', ') : "".concat(option.value.label)
|
|
20245
|
-
}),
|
|
20214
|
+
renderValue: option => _Array$isArray(option) ? _mapInstanceProperty(option).call(option, value => value.label).join(', ') : "".concat(option.value.label),
|
|
20246
20215
|
onRemove: props.onRemove,
|
|
20247
20216
|
onClick: props.onClick
|
|
20248
20217
|
});
|
|
@@ -20250,10 +20219,10 @@ EnumSingleOptionFilterTag.displayName = 'EnumSingleOptionFilterTag';
|
|
|
20250
20219
|
EnumSingleOptionFilterTag.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
20251
20220
|
fieldLabel: PropTypes.string.isRequired,
|
|
20252
20221
|
filterTypeLabel: PropTypes.string.isRequired,
|
|
20253
|
-
value: PropTypes.shape({
|
|
20222
|
+
value: PropTypes.arrayOf(PropTypes.shape({
|
|
20254
20223
|
key: PropTypes.any,
|
|
20255
20224
|
label: PropTypes.string.isRequired
|
|
20256
|
-
}),
|
|
20225
|
+
})).isRequired,
|
|
20257
20226
|
onRemove: PropTypes.func.isRequired,
|
|
20258
20227
|
onClick: PropTypes.func.isRequired
|
|
20259
20228
|
} : {};
|
|
@@ -20274,7 +20243,7 @@ const EnumSingleFilterLabelTag = props => jsx(SingleFilterTag, {
|
|
|
20274
20243
|
}).join(', ');
|
|
20275
20244
|
}
|
|
20276
20245
|
const selectedOption = _findInstanceProperty(_context2 = props.options).call(_context2, propOption => propOption.value === option.value);
|
|
20277
|
-
return jsx(Text.
|
|
20246
|
+
return jsx(Text.Detail, {
|
|
20278
20247
|
as: "span",
|
|
20279
20248
|
isBold: true,
|
|
20280
20249
|
children: selectedOption.label || "".concat(option.value)
|
|
@@ -20311,7 +20280,7 @@ var messages$5 = defineMessages({
|
|
|
20311
20280
|
|
|
20312
20281
|
function ownKeys$f(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; }
|
|
20313
20282
|
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$f(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$f(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20314
|
-
const GetBoldText = msg => jsx(Text.
|
|
20283
|
+
const GetBoldText = msg => jsx(Text.Detail, {
|
|
20315
20284
|
as: "span",
|
|
20316
20285
|
isBold: true,
|
|
20317
20286
|
children: msg
|
|
@@ -20324,7 +20293,7 @@ const ResourceChangeFilterTag = props => {
|
|
|
20324
20293
|
fieldLabel: formatMessage(messages$5.fieldLabel),
|
|
20325
20294
|
filterTypeLabel: props.filterTypeLabel,
|
|
20326
20295
|
value: props.value,
|
|
20327
|
-
renderValue: value => jsx(Text.
|
|
20296
|
+
renderValue: value => jsx(Text.Detail, {
|
|
20328
20297
|
as: "span",
|
|
20329
20298
|
intlMessage: _objectSpread$f(_objectSpread$f({}, messages$5.tagTxt), {}, {
|
|
20330
20299
|
values: _objectSpread$f(_objectSpread$f({}, value), {}, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend-extensions/change-history",
|
|
3
3
|
"description": "Change history shared components and utilities",
|
|
4
|
-
"version": "8.20.
|
|
4
|
+
"version": "8.20.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@apollo/client": "3.8.5",
|
|
19
19
|
"@babel/runtime": "7.24.1",
|
|
20
20
|
"@babel/runtime-corejs3": "7.24.1",
|
|
21
|
-
"@commercetools-frontend/ui-kit": "19.
|
|
21
|
+
"@commercetools-frontend/ui-kit": "19.3.0",
|
|
22
22
|
"@commercetools-uikit/data-table": "^19.1.0",
|
|
23
23
|
"@commercetools-uikit/data-table-manager": "^19.1.0",
|
|
24
24
|
"@commercetools-uikit/design-system": "^19.1.0",
|
|
@@ -56,20 +56,20 @@
|
|
|
56
56
|
"@commercetools-frontend/permissions": "22.23.3",
|
|
57
57
|
"@commercetools-frontend/sdk": "22.23.3",
|
|
58
58
|
"@commercetools-frontend/sentry": "22.23.3",
|
|
59
|
-
"@commercetools-frontend/ui-kit": "19.
|
|
59
|
+
"@commercetools-frontend/ui-kit": "19.3.0",
|
|
60
60
|
"@faker-js/faker": "7.6.0",
|
|
61
|
-
"@formatjs/cli": "6.2.
|
|
61
|
+
"@formatjs/cli": "6.2.9",
|
|
62
62
|
"@preconstruct/cli": "2.8.3",
|
|
63
63
|
"@testing-library/react": "12.1.5",
|
|
64
64
|
"@testing-library/react-hooks": "8.0.1",
|
|
65
65
|
"babel-plugin-import-graphql": "2.8.1",
|
|
66
66
|
"babel-plugin-inline-svg": "1.2.0",
|
|
67
67
|
"cross-env": "7.0.3",
|
|
68
|
-
"jest-date-mock": "1.0.
|
|
68
|
+
"jest-date-mock": "1.0.10",
|
|
69
69
|
"msw": "1.3.3",
|
|
70
70
|
"react": "17.0.2",
|
|
71
71
|
"react-dom": "17.0.2",
|
|
72
|
-
"react-intl": "6.6.
|
|
72
|
+
"react-intl": "6.6.5",
|
|
73
73
|
"react-redux": "7.2.9",
|
|
74
74
|
"react-router-dom": "5.3.4",
|
|
75
75
|
"react-test-renderer": "17.0.2",
|