bkui-vue 1.0.3-beta.11 → 1.0.3-beta.12

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.
@@ -993,6 +993,7 @@ var InfoBox = function InfoBox(config) {
993
993
  name: 'DialogConfirm',
994
994
  setup: function setup(_props, _ref) {
995
995
  var expose = _ref.expose;
996
+ var isLoading = false;
996
997
  var beforeHiddenFn = [];
997
998
  var resolveUserCallbackFnBeforeClose = /*#__PURE__*/function () {
998
999
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(userCallbackFn) {
@@ -1049,8 +1050,12 @@ var InfoBox = function InfoBox(config) {
1049
1050
  return regenerator_default().wrap(function _callee3$(_context3) {
1050
1051
  while (1) switch (_context3.prev = _context3.next) {
1051
1052
  case 0:
1052
- resolveUserCallbackFnBeforeClose((_modalFuncProps$value2 = modalFuncProps.value) === null || _modalFuncProps$value2 === void 0 ? void 0 : _modalFuncProps$value2.onConfirm);
1053
- case 1:
1053
+ isLoading = true;
1054
+ _context3.next = 3;
1055
+ return resolveUserCallbackFnBeforeClose((_modalFuncProps$value2 = modalFuncProps.value) === null || _modalFuncProps$value2 === void 0 ? void 0 : _modalFuncProps$value2.onConfirm);
1056
+ case 3:
1057
+ isLoading = false;
1058
+ case 4:
1054
1059
  case "end":
1055
1060
  return _context3.stop();
1056
1061
  }
@@ -1104,7 +1109,8 @@ var InfoBox = function InfoBox(config) {
1104
1109
  "class": resolveClassName('info-wrapper'),
1105
1110
  headerAlign: 'center',
1106
1111
  footerAlign: 'center',
1107
- fullscreen: false
1112
+ fullscreen: false,
1113
+ isLoading: isLoading
1108
1114
  }, modalFuncProps.value), {}, {
1109
1115
  isShow: isShow.value,
1110
1116
  transfer: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "1.0.3-beta.11",
3
+ "version": "1.0.3-beta.12",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",