@vtx/components 4.0.0-beta.37 → 4.0.0-beta.38

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.
@@ -298,7 +298,9 @@ var VtxExportAsync = function VtxExportAsync(props) {
298
298
  subtitle: TextEnum.modalTitleText
299
299
  }) : TextEnum.modalTitleText,
300
300
  open: state.visible,
301
- maskClosable: false,
301
+ mask: {
302
+ closable: false
303
+ },
302
304
  onCancel: close,
303
305
  footer: [/*#__PURE__*/_jsx(Button, {
304
306
  onClick: close,
@@ -328,7 +328,10 @@ function VtxImport(props) {
328
328
  onCancel: function onCancel() {
329
329
  return closeModal();
330
330
  },
331
- maskClosable: false,
331
+ // maskClosable: false,
332
+ mask: {
333
+ closable: false
334
+ },
332
335
  footer: [templateURL ? /*#__PURE__*/_jsx(Button, {
333
336
  onClick: function onClick() {
334
337
  window.open(templateURL);
@@ -40,7 +40,10 @@ function VtxImportResult(props) {
40
40
  }
41
41
  },
42
42
  width: state.modalWidth,
43
- maskClosable: false,
43
+ // maskClosable: false,
44
+ mask: {
45
+ closable: false
46
+ },
44
47
  footer: [/*#__PURE__*/_jsx(Button, {
45
48
  onClick: function onClick() {
46
49
  if (typeof props.hideVisible === 'function') {
@@ -371,7 +371,10 @@ var VtxImport2 = function VtxImport2(props) {
371
371
  var modelProps = {
372
372
  open: visible,
373
373
  width: width || 392,
374
- maskClosable: false,
374
+ // maskClosable: false,
375
+ mask: {
376
+ closable: false
377
+ },
375
378
  footer: [/*#__PURE__*/_jsx(Button, {
376
379
  onClick: close,
377
380
  children: "".concat(TextEnum.btnCloseText).concat(status === 1 && result ? '(' + countdown + ')' : '')
@@ -195,7 +195,10 @@ function VtxModal(props) {
195
195
  destroyOnHidden: (_props$destroyOnClose = props.destroyOnClose) !== null && _props$destroyOnClose !== void 0 ? _props$destroyOnClose : true
196
196
  };
197
197
  var newProps = _objectSpread(_objectSpread(_objectSpread({
198
- maskClosable: false,
198
+ // maskClosable: false,
199
+ mask: {
200
+ closable: false
201
+ },
199
202
  // destroyOnClose: true,
200
203
  width: 700
201
204
  }, props), legacyProps), {}, {
@@ -306,7 +306,9 @@ var VtxExportAsync = exports.VtxExportAsync = function VtxExportAsync(props) {
306
306
  subtitle: TextEnum.modalTitleText
307
307
  }) : TextEnum.modalTitleText,
308
308
  open: state.visible,
309
- maskClosable: false,
309
+ mask: {
310
+ closable: false
311
+ },
310
312
  onCancel: close,
311
313
  footer: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Button, {
312
314
  onClick: close,
@@ -337,7 +337,10 @@ function VtxImport(props) {
337
337
  onCancel: function onCancel() {
338
338
  return closeModal();
339
339
  },
340
- maskClosable: false,
340
+ // maskClosable: false,
341
+ mask: {
342
+ closable: false
343
+ },
341
344
  footer: [templateURL ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Button, {
342
345
  onClick: function onClick() {
343
346
  window.open(templateURL);
@@ -47,7 +47,10 @@ function VtxImportResult(props) {
47
47
  }
48
48
  },
49
49
  width: state.modalWidth,
50
- maskClosable: false,
50
+ // maskClosable: false,
51
+ mask: {
52
+ closable: false
53
+ },
51
54
  footer: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Button, {
52
55
  onClick: function onClick() {
53
56
  if (typeof props.hideVisible === 'function') {
@@ -377,7 +377,10 @@ var VtxImport2 = exports.VtxImport2 = function VtxImport2(props) {
377
377
  var modelProps = {
378
378
  open: visible,
379
379
  width: width || 392,
380
- maskClosable: false,
380
+ // maskClosable: false,
381
+ mask: {
382
+ closable: false
383
+ },
381
384
  footer: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Button, {
382
385
  onClick: close,
383
386
  children: "".concat(TextEnum.btnCloseText).concat(status === 1 && result ? '(' + countdown + ')' : '')
@@ -202,7 +202,10 @@ function VtxModal(props) {
202
202
  destroyOnHidden: (_props$destroyOnClose = props.destroyOnClose) !== null && _props$destroyOnClose !== void 0 ? _props$destroyOnClose : true
203
203
  };
204
204
  var newProps = _objectSpread(_objectSpread(_objectSpread({
205
- maskClosable: false,
205
+ // maskClosable: false,
206
+ mask: {
207
+ closable: false
208
+ },
206
209
  // destroyOnClose: true,
207
210
  width: 700
208
211
  }, props), legacyProps), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/components",
3
- "version": "4.0.0-beta.37",
3
+ "version": "4.0.0-beta.38",
4
4
  "description": "React components for Vortex",
5
5
  "keywords": [
6
6
  "react",