@sis-cc/dotstatsuite-visions 10.26.2 → 10.28.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.
- package/es/Contact/Contact.js +39 -17
- package/es/Share/Mode.js +5 -1
- package/lib/Contact/Contact.js +39 -17
- package/lib/Share/Mode.js +5 -1
- package/package.json +1 -1
- package/umd/@sis-cc/dotstatsuite-visions.js +46 -20
- package/umd/@sis-cc/dotstatsuite-visions.min.js +3 -3
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
package/es/Contact/Contact.js
CHANGED
|
@@ -69,25 +69,29 @@ var Contact = function Contact(_ref) {
|
|
|
69
69
|
email = _useState5[0],
|
|
70
70
|
setEmail = _useState5[1];
|
|
71
71
|
|
|
72
|
-
var _useState6 = useState(
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
var _useState6 = useState(''),
|
|
73
|
+
subject = _useState6[0],
|
|
74
|
+
setSubject = _useState6[1];
|
|
75
75
|
|
|
76
|
-
var _useState7 = useState(
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
var _useState7 = useState(false),
|
|
77
|
+
emailHasError = _useState7[0],
|
|
78
|
+
setEmailError = _useState7[1];
|
|
79
79
|
|
|
80
|
-
var _useState8 = useState(
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
var _useState8 = useState(''),
|
|
81
|
+
details = _useState8[0],
|
|
82
|
+
setDetails = _useState8[1];
|
|
83
83
|
|
|
84
|
-
var _useState9 = useState(
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
var _useState9 = useState(false),
|
|
85
|
+
checked = _useState9[0],
|
|
86
|
+
setChecked = _useState9[1];
|
|
87
87
|
|
|
88
|
-
var _useState10 = useState(
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
var _useState10 = useState(true),
|
|
89
|
+
isSendDisable = _useState10[0],
|
|
90
|
+
setSendDisable = _useState10[1];
|
|
91
|
+
|
|
92
|
+
var _useState11 = useState(false),
|
|
93
|
+
detailsHasError = _useState11[0],
|
|
94
|
+
setDetailsError = _useState11[1];
|
|
91
95
|
|
|
92
96
|
var checkEmail = function checkEmail(email) {
|
|
93
97
|
if (getIsValidEmail(email) && R.test(/^\S+@\S+\.\S+$/, email)) {
|
|
@@ -111,7 +115,8 @@ var Contact = function Contact(_ref) {
|
|
|
111
115
|
organisation: organisation,
|
|
112
116
|
email: email,
|
|
113
117
|
details: details,
|
|
114
|
-
checkbox: checked
|
|
118
|
+
checkbox: checked,
|
|
119
|
+
subject: subject
|
|
115
120
|
});
|
|
116
121
|
};
|
|
117
122
|
|
|
@@ -225,6 +230,22 @@ var Contact = function Contact(_ref) {
|
|
|
225
230
|
R.prop('message')(R.find(R.propEq('value', mode))(modes))
|
|
226
231
|
)
|
|
227
232
|
),
|
|
233
|
+
React.createElement(
|
|
234
|
+
Grid,
|
|
235
|
+
{ item: true, xs: 12, md: 12 },
|
|
236
|
+
React.createElement(Input, {
|
|
237
|
+
variant: 'outlined',
|
|
238
|
+
isControlled: true,
|
|
239
|
+
label: labels.subject,
|
|
240
|
+
name: 'subject',
|
|
241
|
+
type: 'text',
|
|
242
|
+
onChange: function onChange(e) {
|
|
243
|
+
return setSubject(e.target.value);
|
|
244
|
+
},
|
|
245
|
+
value: subject,
|
|
246
|
+
fullWidth: true
|
|
247
|
+
})
|
|
248
|
+
),
|
|
228
249
|
React.createElement(
|
|
229
250
|
Grid,
|
|
230
251
|
{ item: true, xs: 12, md: 12 },
|
|
@@ -321,7 +342,8 @@ Contact.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
321
342
|
submit: PropTypes.string,
|
|
322
343
|
email: PropTypes.string,
|
|
323
344
|
details: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
324
|
-
contactForHelp: PropTypes.oneOfType([PropTypes.string, PropTypes.element])
|
|
345
|
+
contactForHelp: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
346
|
+
subject: PropTypes.oneOfType([PropTypes.string, PropTypes.element])
|
|
325
347
|
})
|
|
326
348
|
} : {};
|
|
327
349
|
export default Contact;
|
package/es/Share/Mode.js
CHANGED
|
@@ -98,10 +98,13 @@ var Mode = function Mode(_ref2) {
|
|
|
98
98
|
R.map(function (_ref3) {
|
|
99
99
|
var label = _ref3.label,
|
|
100
100
|
value = _ref3.value,
|
|
101
|
+
_ref3$disabled = _ref3.disabled,
|
|
102
|
+
disabled = _ref3$disabled === undefined ? false : _ref3$disabled,
|
|
101
103
|
warningMessage = _ref3.warningMessage;
|
|
102
104
|
return React.createElement(FormControlLabel, {
|
|
103
105
|
classes: { label: classes.label },
|
|
104
106
|
key: value,
|
|
107
|
+
disabled: disabled,
|
|
105
108
|
control: React.createElement(Radio, { variant: 'outlined', color: 'primary' }),
|
|
106
109
|
label: React.createElement(
|
|
107
110
|
'span',
|
|
@@ -123,7 +126,8 @@ Mode.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
123
126
|
modes: PropTypes.arrayOf(PropTypes.shape({
|
|
124
127
|
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
125
128
|
value: PropTypes.string,
|
|
126
|
-
warningMessage: PropTypes.string
|
|
129
|
+
warningMessage: PropTypes.string,
|
|
130
|
+
disabled: PropTypes.bool
|
|
127
131
|
})),
|
|
128
132
|
title: PropTypes.oneOfType([PropTypes.string, PropTypes.element])
|
|
129
133
|
} : {};
|
package/lib/Contact/Contact.js
CHANGED
|
@@ -98,25 +98,29 @@ var Contact = function Contact(_ref) {
|
|
|
98
98
|
email = _useState5[0],
|
|
99
99
|
setEmail = _useState5[1];
|
|
100
100
|
|
|
101
|
-
var _useState6 = (0, _react.useState)(
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
var _useState6 = (0, _react.useState)(''),
|
|
102
|
+
subject = _useState6[0],
|
|
103
|
+
setSubject = _useState6[1];
|
|
104
104
|
|
|
105
|
-
var _useState7 = (0, _react.useState)(
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
var _useState7 = (0, _react.useState)(false),
|
|
106
|
+
emailHasError = _useState7[0],
|
|
107
|
+
setEmailError = _useState7[1];
|
|
108
108
|
|
|
109
|
-
var _useState8 = (0, _react.useState)(
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
var _useState8 = (0, _react.useState)(''),
|
|
110
|
+
details = _useState8[0],
|
|
111
|
+
setDetails = _useState8[1];
|
|
112
112
|
|
|
113
|
-
var _useState9 = (0, _react.useState)(
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
var _useState9 = (0, _react.useState)(false),
|
|
114
|
+
checked = _useState9[0],
|
|
115
|
+
setChecked = _useState9[1];
|
|
116
116
|
|
|
117
|
-
var _useState10 = (0, _react.useState)(
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
var _useState10 = (0, _react.useState)(true),
|
|
118
|
+
isSendDisable = _useState10[0],
|
|
119
|
+
setSendDisable = _useState10[1];
|
|
120
|
+
|
|
121
|
+
var _useState11 = (0, _react.useState)(false),
|
|
122
|
+
detailsHasError = _useState11[0],
|
|
123
|
+
setDetailsError = _useState11[1];
|
|
120
124
|
|
|
121
125
|
var checkEmail = function checkEmail(email) {
|
|
122
126
|
if ((0, _isemail.validate)(email) && R.test(/^\S+@\S+\.\S+$/, email)) {
|
|
@@ -140,7 +144,8 @@ var Contact = function Contact(_ref) {
|
|
|
140
144
|
organisation: organisation,
|
|
141
145
|
email: email,
|
|
142
146
|
details: details,
|
|
143
|
-
checkbox: checked
|
|
147
|
+
checkbox: checked,
|
|
148
|
+
subject: subject
|
|
144
149
|
});
|
|
145
150
|
};
|
|
146
151
|
|
|
@@ -254,6 +259,22 @@ var Contact = function Contact(_ref) {
|
|
|
254
259
|
R.prop('message')(R.find(R.propEq('value', mode))(modes))
|
|
255
260
|
)
|
|
256
261
|
),
|
|
262
|
+
_react2.default.createElement(
|
|
263
|
+
_core.Grid,
|
|
264
|
+
{ item: true, xs: 12, md: 12 },
|
|
265
|
+
_react2.default.createElement(_Input2.default, {
|
|
266
|
+
variant: 'outlined',
|
|
267
|
+
isControlled: true,
|
|
268
|
+
label: labels.subject,
|
|
269
|
+
name: 'subject',
|
|
270
|
+
type: 'text',
|
|
271
|
+
onChange: function onChange(e) {
|
|
272
|
+
return setSubject(e.target.value);
|
|
273
|
+
},
|
|
274
|
+
value: subject,
|
|
275
|
+
fullWidth: true
|
|
276
|
+
})
|
|
277
|
+
),
|
|
257
278
|
_react2.default.createElement(
|
|
258
279
|
_core.Grid,
|
|
259
280
|
{ item: true, xs: 12, md: 12 },
|
|
@@ -350,7 +371,8 @@ Contact.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
350
371
|
submit: _propTypes2.default.string,
|
|
351
372
|
email: _propTypes2.default.string,
|
|
352
373
|
details: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),
|
|
353
|
-
contactForHelp: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element])
|
|
374
|
+
contactForHelp: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),
|
|
375
|
+
subject: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element])
|
|
354
376
|
})
|
|
355
377
|
} : {};
|
|
356
378
|
exports.default = Contact;
|
package/lib/Share/Mode.js
CHANGED
|
@@ -134,10 +134,13 @@ var Mode = function Mode(_ref2) {
|
|
|
134
134
|
R.map(function (_ref3) {
|
|
135
135
|
var label = _ref3.label,
|
|
136
136
|
value = _ref3.value,
|
|
137
|
+
_ref3$disabled = _ref3.disabled,
|
|
138
|
+
disabled = _ref3$disabled === undefined ? false : _ref3$disabled,
|
|
137
139
|
warningMessage = _ref3.warningMessage;
|
|
138
140
|
return _react2.default.createElement(_FormControlLabel2.default, {
|
|
139
141
|
classes: { label: classes.label },
|
|
140
142
|
key: value,
|
|
143
|
+
disabled: disabled,
|
|
141
144
|
control: _react2.default.createElement(_Radio2.default, { variant: 'outlined', color: 'primary' }),
|
|
142
145
|
label: _react2.default.createElement(
|
|
143
146
|
'span',
|
|
@@ -159,7 +162,8 @@ Mode.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
159
162
|
modes: _propTypes2.default.arrayOf(_propTypes2.default.shape({
|
|
160
163
|
label: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element]),
|
|
161
164
|
value: _propTypes2.default.string,
|
|
162
|
-
warningMessage: _propTypes2.default.string
|
|
165
|
+
warningMessage: _propTypes2.default.string,
|
|
166
|
+
disabled: _propTypes2.default.bool
|
|
163
167
|
})),
|
|
164
168
|
title: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.element])
|
|
165
169
|
} : {};
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @sis-cc/dotstatsuite-visions v10.
|
|
2
|
+
* @sis-cc/dotstatsuite-visions v10.28.0 - https://visions-qa.siscc.org/#o
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -6697,7 +6697,7 @@ function removeClassName(el
|
|
|
6697
6697
|
/* 119 */
|
|
6698
6698
|
/***/ (function(module) {
|
|
6699
6699
|
|
|
6700
|
-
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.
|
|
6700
|
+
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.28.0","description":"Library of visual components","author":"OECD","homepage":"https://visions-qa.siscc.org/#o","license":"MIT","repository":"https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-visions","main":"lib/index.js","module":"es/index.js","engines":{"node":">=14"},"files":["css","es","lib","umd"],"scripts":{"build":"nwb build-react-component --copy-files --no-demo && node scripts/doc && nwb build-demo","build:dev":"nwb build-react-component --copy-files --no-demo","clean":"nwb clean-module && nwb clean-demo","prepublishOnly":"npm run build","start":"nwb serve-react-demo","test":"jest","test:watch":"jest --watch --no-cache","lint":"eslint src/ --color","precommit":"lint-staged"},"dependencies":{"@react-hook/size":"^2.1.1","classnames":"^2.2.6","date-fns":"^1.30.1","isemail":"^3.2.0","numeral":"^2.0.6","prop-types":"^15.7.2","ramda":"^0.27.0","react-beautiful-dnd":"^13.0.0","react-draggable":"^4.4.5","react-error-boundary":"^4.0.10","react-virtualized":"^9.21.2"},"peerDependencies":{"@material-ui/core":"^4","@material-ui/icons":"^4","@sis-cc/dotstatsuite-sdmxjs":"^8.x","react":"^18","react-dom":"^18"},"devDependencies":{"@babel/eslint-parser":"^7.5.4","@babel/plugin-syntax-dynamic-import":"^7.2.0","@cfaester/enzyme-adapter-react-18":"^0.7.0","@material-ui/core":"^4","@material-ui/icons":"^4","@sis-cc/dotstatsuite-sdmxjs":"*","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","babel-jest":"^24.8.0","babel-preset-react-app":"^9.0.0","dox":"^0.9.0","eslint":"^8.39.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","husky":"^2.7.0","identity-obj-proxy":"^3.0.0","jest":"^24.8.0","jss":"^10.10.0","jss-rtl":"^0.2.3","lint-staged":"^8.2.1","mutationobserver-shim":"^0.3.7","nwb":"0.23.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","react":"^18","react-a11y":"^1.1.0","react-dom":"^18","react-helmet":"^5.2.1","react-scrollable-anchor":"^0.6.1","react-syntax-highlighter":"^10.2.1","sanitize-html":"2.7.0","webpack":"^5.68.0","webpack-cli":"^4.9.2","webpack-dev-server":"^4.7.4"},"jest":{"verbose":true,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.{js,jsx,ts,tsx}","!src/ScopeList/*.{js,jsx,ts,tsx}","!src/**/*.d.ts"],"setupFilesAfterEnv":["<rootDir>/tests/setup.js"],"testMatch":["**/tests/**/*.{spec,test}.{js,jsx,ts,tsx}","!**/tests/ScopeList.test.js"],"testEnvironment":"jsdom","transform":{"^.+\\.(js|jsx|ts|tsx)$":"<rootDir>/node_modules/babel-jest"},"transformIgnorePatterns":["[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$","^.+\\.module\\.(css|sass|scss)$"],"modulePaths":[],"moduleNameMapper":{"^react-native$":"react-native-web","^.+\\.module\\.(css|sass|scss)$":"identity-obj-proxy","\\.(jpg|jpeg|png)$":"identity-obj-proxy"},"moduleFileExtensions":["web.js","js","web.ts","ts","web.tsx","tsx","json","web.jsx","jsx","node"]},"babel":{"presets":["react-app"],"plugins":["@babel/plugin-syntax-dynamic-import"]},"eslintConfig":{"env":{"browser":true,"jest":true,"node":true,"es6":true},"extends":["eslint:recommended","plugin:react/recommended","plugin:jsx-a11y/recommended"],"parser":"@babel/eslint-parser","parserOptions":{"babelOptions":{"presets":[["babel-preset-react-app",false],"babel-preset-react-app/test"]},"ecmaFeatures":{"experimentalObjectRestSpread":true,"jsx":true},"sourceType":"module"},"plugins":["prettier","react","import","react-hooks","jsx-a11y"],"rules":{"no-console":"warn","no-unused-vars":"error","react/display-name":"off","react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"warn","no-use-before-define":"error"}},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.{js,css}":["prettier --write","git add","yarn lint"]},"prettier":{"endOfLine":"lf","useTabs":false,"printWidth":100,"tabWidth":2,"singleQuote":true,"trailingComma":"all","bracketSameLine":false,"bracketSpacing":true,"parser":"babel","semi":true,"arrowParens":"avoid"}};
|
|
6701
6701
|
|
|
6702
6702
|
/***/ }),
|
|
6703
6703
|
/* 120 */
|
|
@@ -44916,25 +44916,29 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
44916
44916
|
email = _useState5[0],
|
|
44917
44917
|
setEmail = _useState5[1];
|
|
44918
44918
|
|
|
44919
|
-
var _useState6 = Object(react["useState"])(
|
|
44920
|
-
|
|
44921
|
-
|
|
44919
|
+
var _useState6 = Object(react["useState"])(''),
|
|
44920
|
+
subject = _useState6[0],
|
|
44921
|
+
setSubject = _useState6[1];
|
|
44922
44922
|
|
|
44923
|
-
var _useState7 = Object(react["useState"])(
|
|
44924
|
-
|
|
44925
|
-
|
|
44923
|
+
var _useState7 = Object(react["useState"])(false),
|
|
44924
|
+
emailHasError = _useState7[0],
|
|
44925
|
+
setEmailError = _useState7[1];
|
|
44926
44926
|
|
|
44927
|
-
var _useState8 = Object(react["useState"])(
|
|
44928
|
-
|
|
44929
|
-
|
|
44927
|
+
var _useState8 = Object(react["useState"])(''),
|
|
44928
|
+
details = _useState8[0],
|
|
44929
|
+
setDetails = _useState8[1];
|
|
44930
44930
|
|
|
44931
|
-
var _useState9 = Object(react["useState"])(
|
|
44932
|
-
|
|
44933
|
-
|
|
44931
|
+
var _useState9 = Object(react["useState"])(false),
|
|
44932
|
+
checked = _useState9[0],
|
|
44933
|
+
setChecked = _useState9[1];
|
|
44934
44934
|
|
|
44935
|
-
var _useState10 = Object(react["useState"])(
|
|
44936
|
-
|
|
44937
|
-
|
|
44935
|
+
var _useState10 = Object(react["useState"])(true),
|
|
44936
|
+
isSendDisable = _useState10[0],
|
|
44937
|
+
setSendDisable = _useState10[1];
|
|
44938
|
+
|
|
44939
|
+
var _useState11 = Object(react["useState"])(false),
|
|
44940
|
+
detailsHasError = _useState11[0],
|
|
44941
|
+
setDetailsError = _useState11[1];
|
|
44938
44942
|
|
|
44939
44943
|
var checkEmail = function checkEmail(email) {
|
|
44940
44944
|
if (Object(lib["validate"])(email) && es_test(/^\S+@\S+\.\S+$/, email)) {
|
|
@@ -44958,7 +44962,8 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
44958
44962
|
organisation: organisation,
|
|
44959
44963
|
email: email,
|
|
44960
44964
|
details: details,
|
|
44961
|
-
checkbox: checked
|
|
44965
|
+
checkbox: checked,
|
|
44966
|
+
subject: subject
|
|
44962
44967
|
});
|
|
44963
44968
|
};
|
|
44964
44969
|
|
|
@@ -45072,6 +45077,22 @@ var Contact_Contact = function Contact(_ref) {
|
|
|
45072
45077
|
es_prop('message')(es_find(es_propEq('value', mode))(modes))
|
|
45073
45078
|
)
|
|
45074
45079
|
),
|
|
45080
|
+
react_default.a.createElement(
|
|
45081
|
+
esm_Grid_Grid,
|
|
45082
|
+
{ item: true, xs: 12, md: 12 },
|
|
45083
|
+
react_default.a.createElement(Contact_Input, {
|
|
45084
|
+
variant: 'outlined',
|
|
45085
|
+
isControlled: true,
|
|
45086
|
+
label: labels.subject,
|
|
45087
|
+
name: 'subject',
|
|
45088
|
+
type: 'text',
|
|
45089
|
+
onChange: function onChange(e) {
|
|
45090
|
+
return setSubject(e.target.value);
|
|
45091
|
+
},
|
|
45092
|
+
value: subject,
|
|
45093
|
+
fullWidth: true
|
|
45094
|
+
})
|
|
45095
|
+
),
|
|
45075
45096
|
react_default.a.createElement(
|
|
45076
45097
|
esm_Grid_Grid,
|
|
45077
45098
|
{ item: true, xs: 12, md: 12 },
|
|
@@ -45168,7 +45189,8 @@ Contact_Contact.propTypes = {
|
|
|
45168
45189
|
submit: prop_types_default.a.string,
|
|
45169
45190
|
email: prop_types_default.a.string,
|
|
45170
45191
|
details: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element]),
|
|
45171
|
-
contactForHelp: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element])
|
|
45192
|
+
contactForHelp: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element]),
|
|
45193
|
+
subject: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element])
|
|
45172
45194
|
})
|
|
45173
45195
|
};
|
|
45174
45196
|
/* harmony default export */ var src_Contact_Contact = (Contact_Contact);
|
|
@@ -51993,10 +52015,13 @@ var Share_Mode_Mode = function Mode(_ref2) {
|
|
|
51993
52015
|
es_map(function (_ref3) {
|
|
51994
52016
|
var label = _ref3.label,
|
|
51995
52017
|
value = _ref3.value,
|
|
52018
|
+
_ref3$disabled = _ref3.disabled,
|
|
52019
|
+
disabled = _ref3$disabled === undefined ? false : _ref3$disabled,
|
|
51996
52020
|
warningMessage = _ref3.warningMessage;
|
|
51997
52021
|
return react_default.a.createElement(esm_FormControlLabel_FormControlLabel, {
|
|
51998
52022
|
classes: { label: classes.label },
|
|
51999
52023
|
key: value,
|
|
52024
|
+
disabled: disabled,
|
|
52000
52025
|
control: react_default.a.createElement(esm_Radio_Radio, { variant: 'outlined', color: 'primary' }),
|
|
52001
52026
|
label: react_default.a.createElement(
|
|
52002
52027
|
'span',
|
|
@@ -52018,7 +52043,8 @@ Share_Mode_Mode.propTypes = {
|
|
|
52018
52043
|
modes: prop_types_default.a.arrayOf(prop_types_default.a.shape({
|
|
52019
52044
|
label: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element]),
|
|
52020
52045
|
value: prop_types_default.a.string,
|
|
52021
|
-
warningMessage: prop_types_default.a.string
|
|
52046
|
+
warningMessage: prop_types_default.a.string,
|
|
52047
|
+
disabled: prop_types_default.a.bool
|
|
52022
52048
|
})),
|
|
52023
52049
|
title: prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.element])
|
|
52024
52050
|
};
|