@commercetools-frontend-extensions/change-history 9.4.0 → 9.4.2
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.
|
@@ -135,7 +135,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
|
135
135
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
136
136
|
|
|
137
137
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
138
|
-
var version = "9.4.
|
|
138
|
+
var version = "9.4.2";
|
|
139
139
|
|
|
140
140
|
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 } } } };
|
|
141
141
|
/**
|
|
@@ -7105,8 +7105,8 @@ const createModal = (change, label, modifiedAt, onClose) => {
|
|
|
7105
7105
|
changeName: change.change,
|
|
7106
7106
|
headerFields: headerFields,
|
|
7107
7107
|
onClose: onClose,
|
|
7108
|
-
children: [change.previousValue && jsxRuntime.jsx(ChangePanel, {
|
|
7109
|
-
intlMessage: change.nextValue ? messages$13.expandedViewFromLabel : messages$13.expandedViewPropertyLabel,
|
|
7108
|
+
children: [change.previousValue != null && jsxRuntime.jsx(ChangePanel, {
|
|
7109
|
+
intlMessage: change.nextValue != null ? messages$13.expandedViewFromLabel : messages$13.expandedViewPropertyLabel,
|
|
7110
7110
|
children: jsxRuntime.jsx(ReactJson__default["default"], {
|
|
7111
7111
|
src: change.previousValue,
|
|
7112
7112
|
enableClipboard: false,
|
|
@@ -7119,8 +7119,8 @@ const createModal = (change, label, modifiedAt, onClose) => {
|
|
|
7119
7119
|
onAdd: false,
|
|
7120
7120
|
name: false
|
|
7121
7121
|
})
|
|
7122
|
-
}), change.nextValue && jsxRuntime.jsx(ChangePanel, {
|
|
7123
|
-
intlMessage: change.previousValue ? messages$13.expandedViewToLabel : messages$13.expandedViewPropertyLabel,
|
|
7122
|
+
}), change.nextValue != null && jsxRuntime.jsx(ChangePanel, {
|
|
7123
|
+
intlMessage: change.previousValue != null ? messages$13.expandedViewToLabel : messages$13.expandedViewPropertyLabel,
|
|
7124
7124
|
children: jsxRuntime.jsx(ReactJson__default["default"], {
|
|
7125
7125
|
src: change.nextValue,
|
|
7126
7126
|
enableClipboard: false,
|
|
@@ -7566,7 +7566,7 @@ const GetChangesColumn = props => {
|
|
|
7566
7566
|
if (value === undefined && !isComposedValue(change.change)) {
|
|
7567
7567
|
return jsxRuntime.jsx(NoValueLabel, {});
|
|
7568
7568
|
}
|
|
7569
|
-
if (value === '' && change.change !== ResourceChangeInput.SetCustomField) {
|
|
7569
|
+
if (value === '' && change.change !== ResourceChangeInput.SetCustomField && !isComposedValue(change.change)) {
|
|
7570
7570
|
return jsxRuntime.jsx(NoValueLabel, {});
|
|
7571
7571
|
}
|
|
7572
7572
|
if (isChangesWithoutValue(change.change)) {
|
|
@@ -12576,7 +12576,7 @@ var FetchStandalonePriceChangeHistory = { kind: "Document", definitions: [{ kind
|
|
|
12576
12576
|
const config$5 = {
|
|
12577
12577
|
label: messages$r.standalonePriceType,
|
|
12578
12578
|
entityLabel: getStandalonePriceLabel,
|
|
12579
|
-
currentEntityLink: '
|
|
12579
|
+
currentEntityLink: 'standalone-prices/{id}',
|
|
12580
12580
|
changeHistoryQuery: FetchStandalonePriceChangeHistory,
|
|
12581
12581
|
changes: [{
|
|
12582
12582
|
value: ResourceChangeInput.ChangeActive,
|
|
@@ -135,7 +135,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
|
135
135
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
136
136
|
|
|
137
137
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
138
|
-
var version = "9.4.
|
|
138
|
+
var version = "9.4.2";
|
|
139
139
|
|
|
140
140
|
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 } } } };
|
|
141
141
|
/**
|
|
@@ -7047,8 +7047,8 @@ const createModal = (change, label, modifiedAt, onClose) => {
|
|
|
7047
7047
|
changeName: change.change,
|
|
7048
7048
|
headerFields: headerFields,
|
|
7049
7049
|
onClose: onClose,
|
|
7050
|
-
children: [change.previousValue && jsxRuntime.jsx(ChangePanel, {
|
|
7051
|
-
intlMessage: change.nextValue ? messages$13.expandedViewFromLabel : messages$13.expandedViewPropertyLabel,
|
|
7050
|
+
children: [change.previousValue != null && jsxRuntime.jsx(ChangePanel, {
|
|
7051
|
+
intlMessage: change.nextValue != null ? messages$13.expandedViewFromLabel : messages$13.expandedViewPropertyLabel,
|
|
7052
7052
|
children: jsxRuntime.jsx(ReactJson__default["default"], {
|
|
7053
7053
|
src: change.previousValue,
|
|
7054
7054
|
enableClipboard: false,
|
|
@@ -7061,8 +7061,8 @@ const createModal = (change, label, modifiedAt, onClose) => {
|
|
|
7061
7061
|
onAdd: false,
|
|
7062
7062
|
name: false
|
|
7063
7063
|
})
|
|
7064
|
-
}), change.nextValue && jsxRuntime.jsx(ChangePanel, {
|
|
7065
|
-
intlMessage: change.previousValue ? messages$13.expandedViewToLabel : messages$13.expandedViewPropertyLabel,
|
|
7064
|
+
}), change.nextValue != null && jsxRuntime.jsx(ChangePanel, {
|
|
7065
|
+
intlMessage: change.previousValue != null ? messages$13.expandedViewToLabel : messages$13.expandedViewPropertyLabel,
|
|
7066
7066
|
children: jsxRuntime.jsx(ReactJson__default["default"], {
|
|
7067
7067
|
src: change.nextValue,
|
|
7068
7068
|
enableClipboard: false,
|
|
@@ -7508,7 +7508,7 @@ const GetChangesColumn = props => {
|
|
|
7508
7508
|
if (value === undefined && !isComposedValue(change.change)) {
|
|
7509
7509
|
return jsxRuntime.jsx(NoValueLabel, {});
|
|
7510
7510
|
}
|
|
7511
|
-
if (value === '' && change.change !== ResourceChangeInput.SetCustomField) {
|
|
7511
|
+
if (value === '' && change.change !== ResourceChangeInput.SetCustomField && !isComposedValue(change.change)) {
|
|
7512
7512
|
return jsxRuntime.jsx(NoValueLabel, {});
|
|
7513
7513
|
}
|
|
7514
7514
|
if (isChangesWithoutValue(change.change)) {
|
|
@@ -12518,7 +12518,7 @@ var FetchStandalonePriceChangeHistory = { kind: "Document", definitions: [{ kind
|
|
|
12518
12518
|
const config$5 = {
|
|
12519
12519
|
label: messages$r.standalonePriceType,
|
|
12520
12520
|
entityLabel: getStandalonePriceLabel,
|
|
12521
|
-
currentEntityLink: '
|
|
12521
|
+
currentEntityLink: 'standalone-prices/{id}',
|
|
12522
12522
|
changeHistoryQuery: FetchStandalonePriceChangeHistory,
|
|
12523
12523
|
changes: [{
|
|
12524
12524
|
value: ResourceChangeInput.ChangeActive,
|
|
@@ -80,7 +80,7 @@ import { oneLineTrim } from 'common-tags';
|
|
|
80
80
|
import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
|
|
81
81
|
|
|
82
82
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
83
|
-
var version = "9.4.
|
|
83
|
+
var version = "9.4.2";
|
|
84
84
|
|
|
85
85
|
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 } } } };
|
|
86
86
|
/**
|
|
@@ -7050,8 +7050,8 @@ const createModal = (change, label, modifiedAt, onClose) => {
|
|
|
7050
7050
|
changeName: change.change,
|
|
7051
7051
|
headerFields: headerFields,
|
|
7052
7052
|
onClose: onClose,
|
|
7053
|
-
children: [change.previousValue && jsx(ChangePanel, {
|
|
7054
|
-
intlMessage: change.nextValue ? messages$13.expandedViewFromLabel : messages$13.expandedViewPropertyLabel,
|
|
7053
|
+
children: [change.previousValue != null && jsx(ChangePanel, {
|
|
7054
|
+
intlMessage: change.nextValue != null ? messages$13.expandedViewFromLabel : messages$13.expandedViewPropertyLabel,
|
|
7055
7055
|
children: jsx(ReactJson, {
|
|
7056
7056
|
src: change.previousValue,
|
|
7057
7057
|
enableClipboard: false,
|
|
@@ -7064,8 +7064,8 @@ const createModal = (change, label, modifiedAt, onClose) => {
|
|
|
7064
7064
|
onAdd: false,
|
|
7065
7065
|
name: false
|
|
7066
7066
|
})
|
|
7067
|
-
}), change.nextValue && jsx(ChangePanel, {
|
|
7068
|
-
intlMessage: change.previousValue ? messages$13.expandedViewToLabel : messages$13.expandedViewPropertyLabel,
|
|
7067
|
+
}), change.nextValue != null && jsx(ChangePanel, {
|
|
7068
|
+
intlMessage: change.previousValue != null ? messages$13.expandedViewToLabel : messages$13.expandedViewPropertyLabel,
|
|
7069
7069
|
children: jsx(ReactJson, {
|
|
7070
7070
|
src: change.nextValue,
|
|
7071
7071
|
enableClipboard: false,
|
|
@@ -7511,7 +7511,7 @@ const GetChangesColumn = props => {
|
|
|
7511
7511
|
if (value === undefined && !isComposedValue(change.change)) {
|
|
7512
7512
|
return jsx(NoValueLabel, {});
|
|
7513
7513
|
}
|
|
7514
|
-
if (value === '' && change.change !== ResourceChangeInput.SetCustomField) {
|
|
7514
|
+
if (value === '' && change.change !== ResourceChangeInput.SetCustomField && !isComposedValue(change.change)) {
|
|
7515
7515
|
return jsx(NoValueLabel, {});
|
|
7516
7516
|
}
|
|
7517
7517
|
if (isChangesWithoutValue(change.change)) {
|
|
@@ -12521,7 +12521,7 @@ var FetchStandalonePriceChangeHistory = { kind: "Document", definitions: [{ kind
|
|
|
12521
12521
|
const config$5 = {
|
|
12522
12522
|
label: messages$r.standalonePriceType,
|
|
12523
12523
|
entityLabel: getStandalonePriceLabel,
|
|
12524
|
-
currentEntityLink: '
|
|
12524
|
+
currentEntityLink: 'standalone-prices/{id}',
|
|
12525
12525
|
changeHistoryQuery: FetchStandalonePriceChangeHistory,
|
|
12526
12526
|
changes: [{
|
|
12527
12527
|
value: ResourceChangeInput.ChangeActive,
|
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": "9.4.
|
|
4
|
+
"version": "9.4.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@commercetools-frontend/application-shell-connectors": "27.0.0",
|
|
42
42
|
"@commercetools-frontend/assets": "27.0.0",
|
|
43
43
|
"@commercetools-frontend/constants": "27.0.0",
|
|
44
|
-
"@commercetools-frontend/experimental-components": "8.2.
|
|
44
|
+
"@commercetools-frontend/experimental-components": "8.2.1",
|
|
45
45
|
"@commercetools-frontend/i18n": "27.0.0",
|
|
46
46
|
"@commercetools-frontend/l10n": "27.0.0",
|
|
47
47
|
"@commercetools-frontend/mc-scripts": "27.0.0",
|