@vtx/components 4.0.0-beta.36 → 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.
- package/es/vtx-datagrid/style/index.js +1 -1
- package/es/vtx-export-async/index.js +3 -1
- package/es/vtx-import/index.js +4 -1
- package/es/vtx-import/result.js +4 -1
- package/es/vtx-import2/index.js +4 -1
- package/es/vtx-modal/index.js +4 -1
- package/lib/vtx-datagrid/style/index.js +1 -1
- package/lib/vtx-export-async/index.js +3 -1
- package/lib/vtx-import/index.js +4 -1
- package/lib/vtx-import/result.js +4 -1
- package/lib/vtx-import2/index.js +4 -1
- package/lib/vtx-modal/index.js +4 -1
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
28
28
|
scrollbarWidth: "thin"
|
|
29
29
|
}), '.ant-table-content', _defineProperty({}, 'table', {
|
|
30
30
|
// height: '100%',
|
|
31
|
-
|
|
31
|
+
minWidth: "calc(100% - 1px) !important"
|
|
32
32
|
})))))), '.ant-table', _defineProperty(_defineProperty(_defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
|
|
33
33
|
'>tr>th': {
|
|
34
34
|
background: token.colorBgContainer
|
|
@@ -298,7 +298,9 @@ var VtxExportAsync = function VtxExportAsync(props) {
|
|
|
298
298
|
subtitle: TextEnum.modalTitleText
|
|
299
299
|
}) : TextEnum.modalTitleText,
|
|
300
300
|
open: state.visible,
|
|
301
|
-
|
|
301
|
+
mask: {
|
|
302
|
+
closable: false
|
|
303
|
+
},
|
|
302
304
|
onCancel: close,
|
|
303
305
|
footer: [/*#__PURE__*/_jsx(Button, {
|
|
304
306
|
onClick: close,
|
package/es/vtx-import/index.js
CHANGED
|
@@ -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);
|
package/es/vtx-import/result.js
CHANGED
|
@@ -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') {
|
package/es/vtx-import2/index.js
CHANGED
|
@@ -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 + ')' : '')
|
package/es/vtx-modal/index.js
CHANGED
|
@@ -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), {}, {
|
|
@@ -34,7 +34,7 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
34
34
|
scrollbarWidth: "thin"
|
|
35
35
|
}), '.ant-table-content', _defineProperty({}, 'table', {
|
|
36
36
|
// height: '100%',
|
|
37
|
-
|
|
37
|
+
minWidth: "calc(100% - 1px) !important"
|
|
38
38
|
})))))), '.ant-table', _defineProperty(_defineProperty(_defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
|
|
39
39
|
'>tr>th': {
|
|
40
40
|
background: token.colorBgContainer
|
|
@@ -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
|
-
|
|
309
|
+
mask: {
|
|
310
|
+
closable: false
|
|
311
|
+
},
|
|
310
312
|
onCancel: close,
|
|
311
313
|
footer: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Button, {
|
|
312
314
|
onClick: close,
|
package/lib/vtx-import/index.js
CHANGED
|
@@ -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);
|
package/lib/vtx-import/result.js
CHANGED
|
@@ -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') {
|
package/lib/vtx-import2/index.js
CHANGED
|
@@ -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 + ')' : '')
|
package/lib/vtx-modal/index.js
CHANGED
|
@@ -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), {}, {
|