@fileverse-dev/fortune-react 1.2.13 → 1.2.14
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.
|
@@ -161,6 +161,9 @@ var DropDownList = function DropDownList() {
|
|
|
161
161
|
onClick: function onClick() {
|
|
162
162
|
var _a;
|
|
163
163
|
(_a = window === null || window === void 0 ? void 0 : window.dataVerificationClick) === null || _a === void 0 ? void 0 : _a.call(window);
|
|
164
|
+
setContext(function (ctx) {
|
|
165
|
+
ctx.dataVerificationDropDownList = false;
|
|
166
|
+
});
|
|
164
167
|
}
|
|
165
168
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
166
169
|
icon: "Pencil",
|
|
@@ -328,6 +328,13 @@ var DataVerification = function DataVerification() {
|
|
|
328
328
|
}, /*#__PURE__*/React.createElement("span", {
|
|
329
329
|
className: "data-verification-checkbox-label"
|
|
330
330
|
}, dataVerification.notSelected), /*#__PURE__*/React.createElement(TextField, {
|
|
331
|
+
onMouseDown: function onMouseDown(e) {
|
|
332
|
+
e.stopPropagation();
|
|
333
|
+
e.target.focus();
|
|
334
|
+
},
|
|
335
|
+
onKeyDown: function onKeyDown(e) {
|
|
336
|
+
e.stopPropagation();
|
|
337
|
+
},
|
|
331
338
|
value: (_j = (_h = context.dataVerification) === null || _h === void 0 ? void 0 : _h.dataRegulation) === null || _j === void 0 ? void 0 : _j.value2,
|
|
332
339
|
placeholder: dataVerification.placeholder2,
|
|
333
340
|
onChange: function onChange(e) {
|
|
@@ -170,6 +170,9 @@ var DropDownList = function DropDownList() {
|
|
|
170
170
|
onClick: function onClick() {
|
|
171
171
|
var _a;
|
|
172
172
|
(_a = window === null || window === void 0 ? void 0 : window.dataVerificationClick) === null || _a === void 0 ? void 0 : _a.call(window);
|
|
173
|
+
setContext(function (ctx) {
|
|
174
|
+
ctx.dataVerificationDropDownList = false;
|
|
175
|
+
});
|
|
173
176
|
}
|
|
174
177
|
}, /*#__PURE__*/_react.default.createElement(_ui.IconButton, {
|
|
175
178
|
icon: "Pencil",
|
|
@@ -337,6 +337,13 @@ var DataVerification = function DataVerification() {
|
|
|
337
337
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
338
338
|
className: "data-verification-checkbox-label"
|
|
339
339
|
}, dataVerification.notSelected), /*#__PURE__*/_react.default.createElement(_ui.TextField, {
|
|
340
|
+
onMouseDown: function onMouseDown(e) {
|
|
341
|
+
e.stopPropagation();
|
|
342
|
+
e.target.focus();
|
|
343
|
+
},
|
|
344
|
+
onKeyDown: function onKeyDown(e) {
|
|
345
|
+
e.stopPropagation();
|
|
346
|
+
},
|
|
340
347
|
value: (_j = (_h = context.dataVerification) === null || _h === void 0 ? void 0 : _h.dataRegulation) === null || _j === void 0 ? void 0 : _j.value2,
|
|
341
348
|
placeholder: dataVerification.placeholder2,
|
|
342
349
|
onChange: function onChange(e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"tsc": "tsc"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@fileverse-dev/fortune-core": "1.2.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.2.14",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-21",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|