vxe-table 3.6.6 → 3.6.8

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.
Files changed (230) hide show
  1. package/lib/all.js +11 -82
  2. package/lib/all.min.js +1 -1
  3. package/lib/button/index.js +0 -3
  4. package/lib/button/src/button.js +39 -82
  5. package/lib/button/src/button.min.js +1 -1
  6. package/lib/button/style/style.css +475 -349
  7. package/lib/button/style/style.min.css +1 -1
  8. package/lib/checkbox/index.js +0 -3
  9. package/lib/checkbox/src/checkbox.js +15 -29
  10. package/lib/checkbox/src/checkbox.min.js +1 -1
  11. package/lib/checkbox/src/group.js +4 -12
  12. package/lib/checkbox/style/style.css +158 -128
  13. package/lib/checkbox/style/style.min.css +1 -1
  14. package/lib/checkbox-group/index.js +0 -3
  15. package/lib/checkbox-group/style/style.css +1 -1
  16. package/lib/colgroup/index.js +2 -5
  17. package/lib/colgroup/style/style.css +1 -1
  18. package/lib/column/index.js +2 -5
  19. package/lib/column/style/style.css +1 -1
  20. package/lib/edit/index.js +0 -6
  21. package/lib/edit/src/mixin.js +91 -252
  22. package/lib/edit/src/mixin.min.js +1 -1
  23. package/lib/edit/style/style.css +1 -1
  24. package/lib/export/index.js +1 -16
  25. package/lib/export/index.min.js +1 -1
  26. package/lib/export/src/export-panel.js +16 -41
  27. package/lib/export/src/export-panel.min.js +1 -1
  28. package/lib/export/src/import-panel.js +5 -19
  29. package/lib/export/src/import-panel.min.js +1 -1
  30. package/lib/export/src/mixin.js +105 -387
  31. package/lib/export/src/mixin.min.js +1 -1
  32. package/lib/export/style/style.css +138 -105
  33. package/lib/filter/index.js +0 -8
  34. package/lib/filter/src/mixin.js +18 -66
  35. package/lib/filter/src/mixin.min.js +1 -1
  36. package/lib/filter/src/panel.js +10 -22
  37. package/lib/filter/src/panel.min.js +1 -1
  38. package/lib/filter/style/style.css +105 -81
  39. package/lib/footer/index.js +0 -3
  40. package/lib/footer/src/footer.js +52 -84
  41. package/lib/footer/src/footer.min.js +1 -1
  42. package/lib/footer/style/style.css +1 -1
  43. package/lib/form/index.js +0 -3
  44. package/lib/form/src/form-config-item.js +23 -40
  45. package/lib/form/src/form-config-item.min.js +1 -1
  46. package/lib/form/src/form-gather.js +0 -5
  47. package/lib/form/src/form-item.js +18 -35
  48. package/lib/form/src/form-item.min.js +1 -1
  49. package/lib/form/src/form.js +45 -137
  50. package/lib/form/src/form.min.js +1 -1
  51. package/lib/form/src/render.js +7 -22
  52. package/lib/form/src/render.min.js +1 -1
  53. package/lib/form/src/util.js +9 -42
  54. package/lib/form/src/util.min.js +1 -1
  55. package/lib/form/style/style.css +227 -185
  56. package/lib/form-gather/index.js +0 -3
  57. package/lib/form-gather/style/style.css +1 -1
  58. package/lib/form-item/index.js +0 -3
  59. package/lib/form-item/style/style.css +1 -1
  60. package/lib/grid/index.js +0 -4
  61. package/lib/grid/src/grid.js +87 -261
  62. package/lib/grid/src/grid.min.js +1 -1
  63. package/lib/grid/style/style.css +62 -50
  64. package/lib/header/index.js +0 -3
  65. package/lib/header/src/header.js +54 -87
  66. package/lib/header/src/header.min.js +1 -1
  67. package/lib/header/src/util.js +0 -17
  68. package/lib/header/src/util.min.js +1 -1
  69. package/lib/header/style/style.css +1 -1
  70. package/lib/icon/index.js +0 -3
  71. package/lib/icon/style/iconfont.1669391208345.ttf +0 -0
  72. package/lib/icon/style/iconfont.1669391208345.woff +0 -0
  73. package/lib/icon/style/iconfont.1669391208345.woff2 +0 -0
  74. package/lib/icon/style/style.css +384 -197
  75. package/lib/icon/style/style.min.css +738 -1
  76. package/lib/iconfont.1669391208345.ttf +0 -0
  77. package/lib/iconfont.1669391208345.woff +0 -0
  78. package/lib/iconfont.1669391208345.woff2 +0 -0
  79. package/lib/index.common.js +1 -7
  80. package/lib/index.common.min.js +1 -1
  81. package/lib/index.css +1 -1
  82. package/lib/index.umd.js +11884 -13141
  83. package/lib/index.umd.min.js +1 -1
  84. package/lib/input/index.js +0 -3
  85. package/lib/input/src/date.js +0 -10
  86. package/lib/input/src/date.min.js +1 -1
  87. package/lib/input/src/input.js +208 -473
  88. package/lib/input/src/input.min.js +1 -1
  89. package/lib/input/src/number.js +0 -5
  90. package/lib/input/style/style.css +820 -611
  91. package/lib/keyboard/index.js +0 -6
  92. package/lib/keyboard/src/mixin.js +35 -111
  93. package/lib/keyboard/src/mixin.min.js +1 -1
  94. package/lib/keyboard/style/style.css +1 -1
  95. package/lib/list/index.js +0 -3
  96. package/lib/list/src/list.js +23 -64
  97. package/lib/list/src/list.min.js +1 -1
  98. package/lib/list/style/style.css +19 -14
  99. package/lib/loading/index.js +0 -3
  100. package/lib/loading/index.min.js +1 -1
  101. package/lib/loading/src/loading.js +1 -4
  102. package/lib/loading/style/style.css +60 -45
  103. package/lib/locale/lang/zh-HK.js +0 -3
  104. package/lib/locale/lang/zh-MO.js +0 -3
  105. package/lib/locale/lang/zh-TW.js +0 -3
  106. package/lib/menu/index.js +0 -8
  107. package/lib/menu/src/mixin.js +38 -100
  108. package/lib/menu/src/mixin.min.js +1 -1
  109. package/lib/menu/src/panel.js +2 -5
  110. package/lib/menu/style/style.css +74 -55
  111. package/lib/mixins/size.js +1 -1
  112. package/lib/modal/index.js +3 -21
  113. package/lib/modal/index.min.js +1 -1
  114. package/lib/modal/src/modal.js +97 -254
  115. package/lib/modal/src/modal.min.js +1 -1
  116. package/lib/modal/style/style.css +346 -280
  117. package/lib/modal/style/style.min.css +1 -1
  118. package/lib/optgroup/index.js +0 -3
  119. package/lib/optgroup/style/style.css +1 -1
  120. package/lib/option/index.js +0 -3
  121. package/lib/option/style/style.css +1 -1
  122. package/lib/pager/index.js +0 -3
  123. package/lib/pager/src/pager.js +13 -41
  124. package/lib/pager/src/pager.min.js +1 -1
  125. package/lib/pager/style/style.css +314 -262
  126. package/lib/pulldown/index.js +0 -3
  127. package/lib/pulldown/src/pulldown.js +29 -72
  128. package/lib/pulldown/src/pulldown.min.js +1 -1
  129. package/lib/pulldown/style/style.css +51 -39
  130. package/lib/radio/index.js +0 -3
  131. package/lib/radio/src/button.js +11 -22
  132. package/lib/radio/src/group.js +2 -6
  133. package/lib/radio/src/radio.js +11 -23
  134. package/lib/radio/style/style.css +186 -152
  135. package/lib/radio/style/style.min.css +1 -1
  136. package/lib/radio-button/index.js +0 -3
  137. package/lib/radio-button/style/style.css +1 -1
  138. package/lib/radio-group/index.js +0 -3
  139. package/lib/radio-group/style/style.css +1 -1
  140. package/lib/select/index.js +0 -5
  141. package/lib/select/src/optgroup.js +0 -2
  142. package/lib/select/src/optgroup.min.js +1 -1
  143. package/lib/select/src/option.js +0 -2
  144. package/lib/select/src/option.min.js +1 -1
  145. package/lib/select/src/select.js +79 -211
  146. package/lib/select/src/select.min.js +1 -1
  147. package/lib/select/src/util.js +5 -24
  148. package/lib/select/src/util.min.js +1 -1
  149. package/lib/select/style/style.css +120 -89
  150. package/lib/style.css +1 -1
  151. package/lib/style.min.css +1 -1
  152. package/lib/switch/index.js +0 -3
  153. package/lib/switch/src/switch.js +7 -20
  154. package/lib/switch/src/switch.min.js +1 -1
  155. package/lib/switch/style/style.css +92 -71
  156. package/lib/table/index.js +0 -9
  157. package/lib/table/src/body.js +167 -261
  158. package/lib/table/src/body.min.js +1 -1
  159. package/lib/table/src/cell.js +107 -222
  160. package/lib/table/src/cell.min.js +1 -1
  161. package/lib/table/src/column.js +2 -4
  162. package/lib/table/src/column.min.js +1 -1
  163. package/lib/table/src/columnInfo.js +6 -35
  164. package/lib/table/src/columnInfo.min.js +1 -1
  165. package/lib/table/src/group.js +0 -3
  166. package/lib/table/src/methods.js +570 -1461
  167. package/lib/table/src/methods.min.js +1 -1
  168. package/lib/table/src/table.js +123 -231
  169. package/lib/table/src/table.min.js +1 -1
  170. package/lib/table/src/util.js +28 -105
  171. package/lib/table/src/util.min.js +1 -1
  172. package/lib/table/style/style.css +1080 -863
  173. package/lib/table/style/style.min.css +1 -1
  174. package/lib/textarea/index.js +0 -3
  175. package/lib/textarea/src/textarea.js +23 -55
  176. package/lib/textarea/src/textarea.min.js +1 -1
  177. package/lib/textarea/style/style.css +66 -45
  178. package/lib/toolbar/index.js +0 -3
  179. package/lib/toolbar/src/toolbar.js +43 -117
  180. package/lib/toolbar/src/toolbar.min.js +1 -1
  181. package/lib/toolbar/style/style.css +232 -187
  182. package/lib/tools/dom.js +7 -42
  183. package/lib/tools/dom.min.js +1 -1
  184. package/lib/tools/event.js +4 -14
  185. package/lib/tools/event.min.js +1 -1
  186. package/lib/tools/log.js +1 -6
  187. package/lib/tools/log.min.js +1 -1
  188. package/lib/tools/resize.js +3 -24
  189. package/lib/tools/resize.min.js +1 -1
  190. package/lib/tools/utils.js +7 -29
  191. package/lib/tools/utils.min.js +1 -1
  192. package/lib/tools/vn.js +0 -4
  193. package/lib/tooltip/index.js +0 -4
  194. package/lib/tooltip/src/tooltip.js +29 -76
  195. package/lib/tooltip/src/tooltip.min.js +1 -1
  196. package/lib/tooltip/style/style.css +88 -64
  197. package/lib/v-x-e-table/index.js +6 -41
  198. package/lib/v-x-e-table/index.min.js +1 -1
  199. package/lib/v-x-e-table/src/commands.js +0 -4
  200. package/lib/v-x-e-table/src/conf.js +30 -18
  201. package/lib/v-x-e-table/src/formats.js +0 -4
  202. package/lib/v-x-e-table/src/interceptor.js +4 -15
  203. package/lib/v-x-e-table/src/menus.js +0 -4
  204. package/lib/v-x-e-table/src/renderer.js +62 -169
  205. package/lib/v-x-e-table/src/renderer.min.js +1 -1
  206. package/lib/v-x-e-table/src/setup.js +0 -4
  207. package/lib/v-x-e-table/src/store.js +3 -16
  208. package/lib/v-x-e-table/src/store.min.js +1 -1
  209. package/lib/v-x-e-table/style/style.css +444 -242
  210. package/lib/v-x-e-table/style/style.min.css +1 -1
  211. package/lib/validator/index.js +0 -6
  212. package/lib/validator/src/mixin.js +31 -100
  213. package/lib/validator/src/mixin.min.js +1 -1
  214. package/lib/validator/style/style.css +1 -1
  215. package/lib/vxe-table/style/style.css +1 -1
  216. package/package.json +28 -29
  217. package/packages/export/src/mixin.js +2 -1
  218. package/packages/filter/src/mixin.js +1 -1
  219. package/packages/form/src/form.js +5 -4
  220. package/packages/grid/src/grid.js +14 -14
  221. package/packages/table/src/column.js +2 -0
  222. package/packages/table/src/columnInfo.js +1 -0
  223. package/packages/table/src/methods.js +18 -18
  224. package/styles/icon/iconfont.ttf +0 -0
  225. package/styles/icon/iconfont.woff +0 -0
  226. package/styles/icon/iconfont.woff2 +0 -0
  227. package/styles/icon.scss +9 -1
  228. package/styles/table.scss +1 -1
  229. package/styles/variable.scss +2 -2
  230. package/types/column.d.ts +3 -0
@@ -1,27 +1,19 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
-
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.modal = exports.default = exports.Modal = void 0;
9
-
10
8
  var _xeUtils = _interopRequireDefault(require("xe-utils"));
11
-
12
9
  var _modal = _interopRequireWildcard(require("./src/modal"));
13
-
14
10
  var _vXETable = _interopRequireDefault(require("../v-x-e-table"));
15
-
16
11
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
-
20
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
14
  /* eslint-disable @typescript-eslint/no-use-before-define */
23
- var ModalClass = null;
24
15
 
16
+ var ModalClass = null;
25
17
  function openModal(opts) {
26
18
  var options = Object.assign({}, opts, {
27
19
  transfer: true
@@ -38,7 +30,6 @@ function openModal(opts) {
38
30
  if (events.hide) {
39
31
  events.hide.call(this, params);
40
32
  }
41
-
42
33
  setTimeout(function () {
43
34
  return $modal.$destroy();
44
35
  }, $modal.isMsg ? 500 : 100);
@@ -59,13 +50,12 @@ function openModal(opts) {
59
50
  }
60
51
  });
61
52
  }
53
+
62
54
  /**
63
55
  * 全局关闭动态的活动窗口(只能用于关闭动态的创建的活动窗口)
64
56
  * 如果传 id 则关闭指定的窗口
65
57
  * 如果不传则关闭所有窗口
66
58
  */
67
-
68
-
69
59
  function closeModal(id) {
70
60
  var modals = arguments.length ? [getModal(id)] : _modal.allActivedModals;
71
61
  modals.forEach(function ($modal) {
@@ -76,13 +66,11 @@ function closeModal(id) {
76
66
  });
77
67
  return Promise.resolve();
78
68
  }
79
-
80
69
  function getModal(id) {
81
70
  return _xeUtils.default.find(_modal.allActivedModals, function ($modal) {
82
71
  return $modal.id === id;
83
72
  });
84
73
  }
85
-
86
74
  var ModalController = {
87
75
  get: getModal,
88
76
  close: closeModal,
@@ -101,14 +89,11 @@ shortcutTypes.forEach(function (type, index) {
101
89
  };
102
90
  defOpts.type = type;
103
91
  defOpts.dblclickZoom = false;
104
-
105
92
  if (index === 1) {
106
93
  defOpts.status = 'question';
107
94
  }
108
-
109
95
  ModalController[type] = function (content, title, options) {
110
96
  var opts = {};
111
-
112
97
  if (_xeUtils.default.isObject(content)) {
113
98
  opts = content;
114
99
  } else {
@@ -119,10 +104,8 @@ shortcutTypes.forEach(function (type, index) {
119
104
  title: title
120
105
  };
121
106
  }
122
-
123
107
  opts.content = _xeUtils.default.toValueString(content);
124
108
  }
125
-
126
109
  return openModal(Object.assign({
127
110
  type: type
128
111
  }, defOpts, opts, options));
@@ -134,7 +117,6 @@ var Modal = Object.assign(_modal.default, {
134
117
  Vue.component(_modal.default.name, _modal.default);
135
118
  ModalClass = Vue.extend(_modal.default);
136
119
  _vXETable.default.modal = ModalController;
137
-
138
120
  if (!Vue.prototype.$vxe) {
139
121
  Vue.prototype.$vxe = {
140
122
  modal: ModalController
@@ -1 +1 @@
1
- "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.modal=exports.default=exports.Modal=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils")),_modal=_interopRequireWildcard(require("./src/modal")),_vXETable=_interopRequireDefault(require("../v-x-e-table"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var o,l,r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&((l=a?Object.getOwnPropertyDescriptor(e,o):null)&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=e[o]);return r.default=e,t&&t.set(e,r),r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var ModalClass=null;function openModal(e){var r=Object.assign({},e,{transfer:!0});return new Promise(function(t){var o,l;r&&r.id&&_modal.allActivedModals.some(function(e){return e.id===r.id})?t("exist"):(o=r.events||{},r.events=Object.assign({},o,{hide:function(e){o.hide&&o.hide.call(this,e),setTimeout(function(){return l.$destroy()},l.isMsg?500:100),t(e.type)}}),l=new ModalClass({el:document.createElement("div"),propsData:r}),setTimeout(function(){l.isDestroy?l.close():l.open()}))})}function closeModal(e){return(arguments.length?[getModal(e)]:_modal.allActivedModals).forEach(function(e){e&&(e.isDestroy=!0,e.close("close"))}),Promise.resolve()}function getModal(t){return _xeUtils.default.find(_modal.allActivedModals,function(e){return e.id===t})}var ModalController={get:getModal,close:closeModal,open:openModal},modal=ModalController;exports.modal=modal;var shortcutTypes=["alert","confirm","message"];shortcutTypes.forEach(function(r,a){var n=2===a?{mask:!1,lockView:!1,showHeader:!1}:{showFooter:!0};n.type=r,n.dblclickZoom=!1,1===a&&(n.status="question"),ModalController[r]=function(e,t,o){var l={};return _xeUtils.default.isObject(e)?l=e:(l=t?2===a?{status:t}:{title:t}:l).content=_xeUtils.default.toValueString(e),openModal(Object.assign({type:r},n,l,o))}});var Modal=Object.assign(_modal.default,{install:function(e){_vXETable.default._modal=1,e.component(_modal.default.name,_modal.default),ModalClass=e.extend(_modal.default),_vXETable.default.modal=ModalController,e.prototype.$vxe?e.prototype.$vxe.modal=ModalController:e.prototype.$vxe={modal:ModalController}}}),_default=exports.Modal=Modal;exports.default=_default;
1
+ "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.modal=exports.default=exports.Modal=void 0;var _xeUtils=_interopRequireDefault(require("xe-utils")),_modal=_interopRequireWildcard(require("./src/modal")),_vXETable=_interopRequireDefault(require("../v-x-e-table"));function _getRequireWildcardCache(e){var t,o;return"function"!=typeof WeakMap?null:(t=new WeakMap,o=new WeakMap,(_getRequireWildcardCache=function(e){return e?o:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var o,l,r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&((l=a?Object.getOwnPropertyDescriptor(e,o):null)&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=e[o]);return r.default=e,t&&t.set(e,r),r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var ModalClass=null;function openModal(e){var r=Object.assign({},e,{transfer:!0});return new Promise(function(t){var o,l;r&&r.id&&_modal.allActivedModals.some(function(e){return e.id===r.id})?t("exist"):(o=r.events||{},r.events=Object.assign({},o,{hide:function(e){o.hide&&o.hide.call(this,e),setTimeout(function(){return l.$destroy()},l.isMsg?500:100),t(e.type)}}),l=new ModalClass({el:document.createElement("div"),propsData:r}),setTimeout(function(){l.isDestroy?l.close():l.open()}))})}function closeModal(e){return(arguments.length?[getModal(e)]:_modal.allActivedModals).forEach(function(e){e&&(e.isDestroy=!0,e.close("close"))}),Promise.resolve()}function getModal(t){return _xeUtils.default.find(_modal.allActivedModals,function(e){return e.id===t})}var ModalController={get:getModal,close:closeModal,open:openModal},modal=ModalController,shortcutTypes=(exports.modal=modal,["alert","confirm","message"]),Modal=(shortcutTypes.forEach(function(r,a){var n=2===a?{mask:!1,lockView:!1,showHeader:!1}:{showFooter:!0};n.type=r,n.dblclickZoom=!1,1===a&&(n.status="question"),ModalController[r]=function(e,t,o){var l={};return _xeUtils.default.isObject(e)?l=e:(l=t?2===a?{status:t}:{title:t}:l).content=_xeUtils.default.toValueString(e),openModal(Object.assign({type:r},n,l,o))}}),Object.assign(_modal.default,{install:function(e){_vXETable.default._modal=1,e.component(_modal.default.name,_modal.default),ModalClass=e.extend(_modal.default),_vXETable.default.modal=ModalController,e.prototype.$vxe?e.prototype.$vxe.modal=ModalController:e.prototype.$vxe={modal:ModalController}}})),_default=exports.Modal=Modal;exports.default=_default;