@configuratorware/configurator-admingui 1.50.3 → 1.51.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.
@@ -46,8 +46,10 @@ var ConnectedTextField = function ConnectedTextField(_ref) {
46
46
  }
47
47
  }, /*#__PURE__*/_react["default"].createElement(_Text["default"], _extends({}, props, {
48
48
  readOnly: true,
49
- value: apiKey
49
+ value: apiKey,
50
+ helperText: !apiKey ? (0, _i18n.t)('apiKeys.apiKeyHelperText') : null
50
51
  })), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
52
+ disabled: !apiKey,
51
53
  onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
52
54
  var newUserData;
53
55
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13,7 +13,8 @@ require("../../App/i18n").use({
13
13
  apiKeys: {
14
14
  addButtonlabel: 'API Key hinzufügen',
15
15
  mailHelperText: 'Die E-Mail Adresse muss einzigartig und keinem bestehenden API Key oder adminarea Nutzer zugeordnet sein',
16
- userHelperText: 'Der Nutzername muss einzigartig und keinem bestehenden Nutzer zugeordnet sein'
16
+ userHelperText: 'Der Nutzername muss einzigartig und keinem bestehenden Nutzer zugeordnet sein',
17
+ apiKeyHelperText: 'Der API Key wird beim Speichern automatisch generiert'
17
18
  }
18
19
  },
19
20
  en: {
@@ -24,7 +25,8 @@ require("../../App/i18n").use({
24
25
  apiKeys: {
25
26
  addButtonlabel: 'Add API Key',
26
27
  mailHelperText: 'The e-mail address has to be unique and must not be used by an existing API key or adminarea user',
27
- userHelperText: 'The username has to be unique and must not be used by an existing API key or adminarea user'
28
+ userHelperText: 'The username has to be unique and must not be used by an existing API key or adminarea user',
29
+ apiKeyHelperText: 'The API key will be generated automatically on save'
28
30
  }
29
31
  }
30
32
  }, true);
@@ -797,7 +797,7 @@ var FormProductionMethods = /*#__PURE__*/function (_React$Component) {
797
797
  value: 'isDefault',
798
798
  color: "primary"
799
799
  }),
800
- label: (0, _i18n.t)('isDefault')
800
+ label: (0, _i18n.t)('isDefaultForDesignArea')
801
801
  })), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
802
802
  item: true,
803
803
  xs: 12,
@@ -4,7 +4,7 @@ require("../../../../App/i18n").use({
4
4
  en: {
5
5
  designareas: 'Designareas',
6
6
  varyingDimensions: 'Varying Dimensions',
7
- isDefault: 'default',
7
+ isDefaultForDesignArea: 'Is default: the selected designarea with this productionmethod is initially selected',
8
8
  allowBulkNames: 'Allow bulk names',
9
9
  varyingDefaultColors: 'Varying Default Color',
10
10
  EngravingBackgroundColorPlaceholder: 'Color value',
@@ -75,7 +75,7 @@ require("../../../../App/i18n").use({
75
75
  Price: 'Preis',
76
76
  PriceNet: 'Nettopreis',
77
77
  varyingDimensions: 'abweichende Maße',
78
- isDefault: 'Standard',
78
+ isDefaultForDesignArea: 'Ist Standard: die gewählte Designfläche mit diesem Produktionsverfahren ist initial gewählt',
79
79
  allowBulkNames: 'Einzelnamen erlauben',
80
80
  varyingDefaultColors: 'abweichende Standardfarbe',
81
81
  EngravingBackgroundColorPlaceholder: 'Farbwert',
@@ -36,7 +36,7 @@ require("../../../../App/i18n").use({
36
36
  pointEditMode: 'Punkte bearbeiten'
37
37
  },
38
38
  designArea: {
39
- isDefaultView: 'Ist Standardansicht'
39
+ isDefaultView: 'Ist Standardansicht für die gewählte Designfläche'
40
40
  }
41
41
  }
42
42
  },
@@ -75,7 +75,7 @@ require("../../../../App/i18n").use({
75
75
  pointEditMode: 'Edit points'
76
76
  },
77
77
  designArea: {
78
- isDefaultView: 'Is default view'
78
+ isDefaultView: 'Is default view for the selected designarea'
79
79
  }
80
80
  }
81
81
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@configuratorware/configurator-admingui",
3
- "version": "1.50.3",
3
+ "version": "1.51.0",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@babel/polyfill": "^7.12.1",
8
- "@configuratorware/scripts": "1.50.3",
8
+ "@configuratorware/scripts": "1.51.0",
9
9
  "@material-ui/core": "^3.9.4",
10
10
  "@material-ui/icons": "^3.0.2",
11
11
  "@tweenjs/tween.js": "^17.6.0",
@@ -29,7 +29,7 @@
29
29
  "react-redux-i18n": "^1.9.3",
30
30
  "react-router": "^3.2.6",
31
31
  "react-sortable-hoc": "^1.11.0",
32
- "redhotmagma-visualization": "1.50.3",
32
+ "redhotmagma-visualization": "1.51.0",
33
33
  "redux": "^4.1.0",
34
34
  "redux-logger": "^3.0.6",
35
35
  "redux-persist": "^5.10.0",