@cubejs-client/react 1.5.9 → 1.5.11
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.
|
@@ -324,36 +324,36 @@
|
|
|
324
324
|
_classCallCheck__default['default'](this, QueryBuilder);
|
|
325
325
|
_this = _callSuper(this, QueryBuilder, [props]);
|
|
326
326
|
_defineProperty__default['default'](_this, "fetchMeta", /*#__PURE__*/_asyncToGenerator__default['default'](/*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee() {
|
|
327
|
-
var meta, metaError, richMetaError, metaErrorStack, _error$response, _error$response2;
|
|
328
|
-
return _regeneratorRuntime__default['default'].wrap(function
|
|
327
|
+
var meta, metaError, richMetaError, metaErrorStack, _error$response, _error$response2, _t;
|
|
328
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context) {
|
|
329
329
|
while (1) switch (_context.prev = _context.next) {
|
|
330
330
|
case 0:
|
|
331
331
|
if (_this.cubeApi()) {
|
|
332
|
-
_context.next =
|
|
332
|
+
_context.next = 1;
|
|
333
333
|
break;
|
|
334
334
|
}
|
|
335
335
|
return _context.abrupt("return");
|
|
336
|
-
case
|
|
336
|
+
case 1:
|
|
337
337
|
metaError = null;
|
|
338
338
|
richMetaError = null;
|
|
339
339
|
metaErrorStack = null;
|
|
340
|
-
_context.prev =
|
|
340
|
+
_context.prev = 2;
|
|
341
341
|
_this.setState({
|
|
342
342
|
isFetchingMeta: true
|
|
343
343
|
});
|
|
344
|
-
_context.next =
|
|
344
|
+
_context.next = 3;
|
|
345
345
|
return _this.cubeApi().meta();
|
|
346
|
-
case
|
|
346
|
+
case 3:
|
|
347
347
|
meta = _context.sent;
|
|
348
|
-
_context.next =
|
|
348
|
+
_context.next = 5;
|
|
349
349
|
break;
|
|
350
|
-
case
|
|
351
|
-
_context.prev =
|
|
352
|
-
|
|
353
|
-
metaError = ((_error$response =
|
|
354
|
-
richMetaError =
|
|
355
|
-
metaErrorStack = ((_error$response2 =
|
|
356
|
-
case
|
|
350
|
+
case 4:
|
|
351
|
+
_context.prev = 4;
|
|
352
|
+
_t = _context["catch"](2);
|
|
353
|
+
metaError = ((_error$response = _t.response) === null || _error$response === void 0 ? void 0 : _error$response.plainError) || _t;
|
|
354
|
+
richMetaError = _t;
|
|
355
|
+
metaErrorStack = ((_error$response2 = _t.response) === null || _error$response2 === void 0 || (_error$response2 = _error$response2.stack) === null || _error$response2 === void 0 ? void 0 : _error$response2.replace(_t.message || '', '')) || '';
|
|
356
|
+
case 5:
|
|
357
357
|
_this.setState({
|
|
358
358
|
meta: meta,
|
|
359
359
|
metaError: metaError ? new Error(metaError.message || metaError.toString()) : null,
|
|
@@ -365,11 +365,11 @@
|
|
|
365
365
|
// This will catch any new missing members, and also validate the query against the new meta
|
|
366
366
|
_this.updateQuery({});
|
|
367
367
|
});
|
|
368
|
-
case
|
|
368
|
+
case 6:
|
|
369
369
|
case "end":
|
|
370
370
|
return _context.stop();
|
|
371
371
|
}
|
|
372
|
-
}, _callee, null, [[
|
|
372
|
+
}, _callee, null, [[2, 4]]);
|
|
373
373
|
})));
|
|
374
374
|
_this.state = _objectSpread$4(_objectSpread$4({
|
|
375
375
|
query: props.defaultQuery || props.query,
|
|
@@ -390,13 +390,13 @@
|
|
|
390
390
|
key: "componentDidMount",
|
|
391
391
|
value: function () {
|
|
392
392
|
var _componentDidMount = _asyncToGenerator__default['default'](/*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee2() {
|
|
393
|
-
return _regeneratorRuntime__default['default'].wrap(function
|
|
393
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context2) {
|
|
394
394
|
while (1) switch (_context2.prev = _context2.next) {
|
|
395
395
|
case 0:
|
|
396
396
|
this.prevContext = this.context;
|
|
397
|
-
_context2.next =
|
|
397
|
+
_context2.next = 1;
|
|
398
398
|
return this.fetchMeta();
|
|
399
|
-
case
|
|
399
|
+
case 1:
|
|
400
400
|
case "end":
|
|
401
401
|
return _context2.stop();
|
|
402
402
|
}
|
|
@@ -414,40 +414,40 @@
|
|
|
414
414
|
var _this$prevContext,
|
|
415
415
|
_this$context,
|
|
416
416
|
_this2 = this;
|
|
417
|
-
var _this$props, schemaVersion, onSchemaChange, meta, newMeta;
|
|
418
|
-
return _regeneratorRuntime__default['default'].wrap(function
|
|
417
|
+
var _this$props, schemaVersion, onSchemaChange, meta, newMeta, _t2;
|
|
418
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context4) {
|
|
419
419
|
while (1) switch (_context4.prev = _context4.next) {
|
|
420
420
|
case 0:
|
|
421
421
|
_this$props = this.props, schemaVersion = _this$props.schemaVersion, onSchemaChange = _this$props.onSchemaChange;
|
|
422
422
|
meta = this.state.meta;
|
|
423
423
|
if (!(((_this$prevContext = this.prevContext) === null || _this$prevContext === void 0 ? void 0 : _this$prevContext.cubeApi) !== ((_this$context = this.context) === null || _this$context === void 0 ? void 0 : _this$context.cubeApi))) {
|
|
424
|
-
_context4.next =
|
|
424
|
+
_context4.next = 1;
|
|
425
425
|
break;
|
|
426
426
|
}
|
|
427
427
|
this.prevContext = this.context;
|
|
428
|
-
_context4.next =
|
|
428
|
+
_context4.next = 1;
|
|
429
429
|
return this.fetchMeta();
|
|
430
|
-
case
|
|
430
|
+
case 1:
|
|
431
431
|
if (!(prevProps.schemaVersion !== schemaVersion)) {
|
|
432
|
-
_context4.next =
|
|
432
|
+
_context4.next = 5;
|
|
433
433
|
break;
|
|
434
434
|
}
|
|
435
|
-
_context4.prev =
|
|
436
|
-
_context4.next =
|
|
435
|
+
_context4.prev = 2;
|
|
436
|
+
_context4.next = 3;
|
|
437
437
|
return this.cubeApi().meta();
|
|
438
|
-
case
|
|
438
|
+
case 3:
|
|
439
439
|
newMeta = _context4.sent;
|
|
440
440
|
if (!ramda.equals(newMeta, meta) && typeof onSchemaChange === 'function') {
|
|
441
441
|
onSchemaChange({
|
|
442
442
|
schemaVersion: schemaVersion,
|
|
443
443
|
refresh: function () {
|
|
444
444
|
var _refresh = _asyncToGenerator__default['default'](/*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee3() {
|
|
445
|
-
return _regeneratorRuntime__default['default'].wrap(function
|
|
445
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context3) {
|
|
446
446
|
while (1) switch (_context3.prev = _context3.next) {
|
|
447
447
|
case 0:
|
|
448
|
-
_context3.next =
|
|
448
|
+
_context3.next = 1;
|
|
449
449
|
return _this2.fetchMeta();
|
|
450
|
-
case
|
|
450
|
+
case 1:
|
|
451
451
|
case "end":
|
|
452
452
|
return _context3.stop();
|
|
453
453
|
}
|
|
@@ -460,20 +460,20 @@
|
|
|
460
460
|
}()
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
|
-
_context4.next =
|
|
463
|
+
_context4.next = 5;
|
|
464
464
|
break;
|
|
465
|
-
case
|
|
466
|
-
_context4.prev =
|
|
467
|
-
|
|
465
|
+
case 4:
|
|
466
|
+
_context4.prev = 4;
|
|
467
|
+
_t2 = _context4["catch"](2);
|
|
468
468
|
// eslint-disable-next-line
|
|
469
469
|
this.setState({
|
|
470
|
-
metaError:
|
|
470
|
+
metaError: _t2
|
|
471
471
|
});
|
|
472
|
-
case
|
|
472
|
+
case 5:
|
|
473
473
|
case "end":
|
|
474
474
|
return _context4.stop();
|
|
475
475
|
}
|
|
476
|
-
}, _callee4, this, [[
|
|
476
|
+
}, _callee4, this, [[2, 4]]);
|
|
477
477
|
}));
|
|
478
478
|
function componentDidUpdate(_x) {
|
|
479
479
|
return _componentDidUpdate.apply(this, arguments);
|
|
@@ -763,8 +763,8 @@
|
|
|
763
763
|
value: function () {
|
|
764
764
|
var _updateVizState = _asyncToGenerator__default['default'](/*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee5(state) {
|
|
765
765
|
var _this4 = this;
|
|
766
|
-
var _this$props2, setQuery, setVizState, _this$state2, stateQuery, statePivotConfig, chartType, meta, finalState, vizStateSent, handleVizStateChange, runSetters, shouldFetchDryRun, response, _error$response3;
|
|
767
|
-
return _regeneratorRuntime__default['default'].wrap(function
|
|
766
|
+
var _this$props2, setQuery, setVizState, _this$state2, stateQuery, statePivotConfig, chartType, meta, finalState, vizStateSent, handleVizStateChange, runSetters, shouldFetchDryRun, response, _error$response3, _t3;
|
|
767
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context5) {
|
|
768
768
|
while (1) switch (_context5.prev = _context5.next) {
|
|
769
769
|
case 0:
|
|
770
770
|
_this$props2 = this.props, setQuery = _this$props2.setQuery, setVizState = _this$props2.setVizState;
|
|
@@ -813,15 +813,15 @@
|
|
|
813
813
|
handleVizStateChange(finalState);
|
|
814
814
|
shouldFetchDryRun = !ramda.equals(ramda.pick(['measures', 'dimensions', 'timeDimensions'], stateQuery), ramda.pick(['measures', 'dimensions', 'timeDimensions'], finalState.query));
|
|
815
815
|
if (!(shouldFetchDryRun && core.isQueryPresent(finalState.query) && finalState.missingMembers.length === 0)) {
|
|
816
|
-
_context5.next =
|
|
816
|
+
_context5.next = 4;
|
|
817
817
|
break;
|
|
818
818
|
}
|
|
819
|
-
_context5.prev =
|
|
820
|
-
_context5.next =
|
|
819
|
+
_context5.prev = 1;
|
|
820
|
+
_context5.next = 2;
|
|
821
821
|
return this.cubeApi().dryRun(finalState.query, {
|
|
822
822
|
mutexObj: this.mutexObj
|
|
823
823
|
});
|
|
824
|
-
case
|
|
824
|
+
case 2:
|
|
825
825
|
response = _context5.sent;
|
|
826
826
|
if (finalState.shouldApplyHeuristicOrder) {
|
|
827
827
|
finalState.query.order = (response.queryOrder || []).reduce(function (memo, current) {
|
|
@@ -836,24 +836,24 @@
|
|
|
836
836
|
if (core.isQueryPresent(stateQuery)) {
|
|
837
837
|
runSetters(_objectSpread$4(_objectSpread$4({}, this.state), finalState));
|
|
838
838
|
}
|
|
839
|
-
_context5.next =
|
|
839
|
+
_context5.next = 4;
|
|
840
840
|
break;
|
|
841
|
-
case
|
|
842
|
-
_context5.prev =
|
|
843
|
-
|
|
841
|
+
case 3:
|
|
842
|
+
_context5.prev = 3;
|
|
843
|
+
_t3 = _context5["catch"](1);
|
|
844
844
|
this.setState({
|
|
845
|
-
queryError: new Error(((_error$response3 =
|
|
846
|
-
richQueryError: new Error(
|
|
845
|
+
queryError: new Error(((_error$response3 = _t3.response) === null || _error$response3 === void 0 ? void 0 : _error$response3.plainError) || _t3.message),
|
|
846
|
+
richQueryError: new Error(_t3.message || _t3.toString())
|
|
847
847
|
});
|
|
848
|
-
case
|
|
848
|
+
case 4:
|
|
849
849
|
this.setState(finalState, function () {
|
|
850
850
|
return handleVizStateChange(_this4.state);
|
|
851
851
|
});
|
|
852
|
-
case
|
|
852
|
+
case 5:
|
|
853
853
|
case "end":
|
|
854
854
|
return _context5.stop();
|
|
855
855
|
}
|
|
856
|
-
}, _callee5, this, [[
|
|
856
|
+
}, _callee5, this, [[1, 3]]);
|
|
857
857
|
}));
|
|
858
858
|
function updateVizState(_x2) {
|
|
859
859
|
return _updateVizState.apply(this, arguments);
|
|
@@ -937,9 +937,9 @@
|
|
|
937
937
|
}
|
|
938
938
|
}, {
|
|
939
939
|
key: "resolveMember",
|
|
940
|
-
value: function resolveMember(type,
|
|
941
|
-
var meta =
|
|
942
|
-
query =
|
|
940
|
+
value: function resolveMember(type, _ref0) {
|
|
941
|
+
var meta = _ref0.meta,
|
|
942
|
+
query = _ref0.query;
|
|
943
943
|
if (!meta) {
|
|
944
944
|
return [];
|
|
945
945
|
}
|
|
@@ -1041,8 +1041,9 @@
|
|
|
1041
1041
|
coreOptions,
|
|
1042
1042
|
args,
|
|
1043
1043
|
_response,
|
|
1044
|
-
_args = arguments
|
|
1045
|
-
|
|
1044
|
+
_args = arguments,
|
|
1045
|
+
_t;
|
|
1046
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context) {
|
|
1046
1047
|
while (1) switch (_context.prev = _context.next) {
|
|
1047
1048
|
case 0:
|
|
1048
1049
|
loadOptions = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
@@ -1051,7 +1052,7 @@
|
|
|
1051
1052
|
query = loadOptions.query || options.query;
|
|
1052
1053
|
queryCondition = method === 'meta' ? true : query && core.isQueryPresent(query);
|
|
1053
1054
|
if (!(cubeApi && (ignoreSkip || !skip) && queryCondition)) {
|
|
1054
|
-
_context.next =
|
|
1055
|
+
_context.next = 4;
|
|
1055
1056
|
break;
|
|
1056
1057
|
}
|
|
1057
1058
|
setError(null);
|
|
@@ -1064,30 +1065,30 @@
|
|
|
1064
1065
|
mutexKey: method
|
|
1065
1066
|
};
|
|
1066
1067
|
args = method === 'meta' ? [coreOptions] : [query, coreOptions];
|
|
1067
|
-
_context.prev =
|
|
1068
|
-
_context.next =
|
|
1068
|
+
_context.prev = 1;
|
|
1069
|
+
_context.next = 2;
|
|
1069
1070
|
return cubeApi[method].apply(cubeApi, args);
|
|
1070
|
-
case
|
|
1071
|
+
case 2:
|
|
1071
1072
|
_response = _context.sent;
|
|
1072
1073
|
setResponse({
|
|
1073
1074
|
response: _response,
|
|
1074
1075
|
isLoading: false
|
|
1075
1076
|
});
|
|
1076
|
-
_context.next =
|
|
1077
|
+
_context.next = 4;
|
|
1077
1078
|
break;
|
|
1078
|
-
case
|
|
1079
|
-
_context.prev =
|
|
1080
|
-
|
|
1081
|
-
setError(
|
|
1079
|
+
case 3:
|
|
1080
|
+
_context.prev = 3;
|
|
1081
|
+
_t = _context["catch"](1);
|
|
1082
|
+
setError(_t);
|
|
1082
1083
|
setResponse({
|
|
1083
1084
|
isLoading: false,
|
|
1084
1085
|
response: null
|
|
1085
1086
|
});
|
|
1086
|
-
case
|
|
1087
|
+
case 4:
|
|
1087
1088
|
case "end":
|
|
1088
1089
|
return _context.stop();
|
|
1089
1090
|
}
|
|
1090
|
-
}, _callee, null, [[
|
|
1091
|
+
}, _callee, null, [[1, 3]]);
|
|
1091
1092
|
}));
|
|
1092
1093
|
return _load.apply(this, arguments);
|
|
1093
1094
|
}
|
|
@@ -1154,9 +1155,9 @@
|
|
|
1154
1155
|
progress = _useState8[0],
|
|
1155
1156
|
setProgress = _useState8[1];
|
|
1156
1157
|
var _useState9 = React.useState(null),
|
|
1157
|
-
|
|
1158
|
-
error =
|
|
1159
|
-
setError =
|
|
1158
|
+
_useState0 = _slicedToArray__default['default'](_useState9, 2),
|
|
1159
|
+
error = _useState0[0],
|
|
1160
|
+
setError = _useState0[1];
|
|
1160
1161
|
var context = React.useContext(CubeContext);
|
|
1161
1162
|
var subscribeRequest = null;
|
|
1162
1163
|
var progressCallback = function progressCallback(_ref) {
|
|
@@ -1168,50 +1169,50 @@
|
|
|
1168
1169
|
}
|
|
1169
1170
|
function _fetch() {
|
|
1170
1171
|
_fetch = _asyncToGenerator__default['default'](/*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee2() {
|
|
1171
|
-
var resetResultSetOnChange, cubeApi, _context$options, response;
|
|
1172
|
-
return _regeneratorRuntime__default['default'].wrap(function
|
|
1172
|
+
var resetResultSetOnChange, cubeApi, _context$options, response, _t2;
|
|
1173
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context2) {
|
|
1173
1174
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1174
1175
|
case 0:
|
|
1175
1176
|
resetResultSetOnChange = options.resetResultSetOnChange;
|
|
1176
1177
|
cubeApi = options.cubeApi || (context === null || context === void 0 ? void 0 : context.cubeApi);
|
|
1177
1178
|
if (cubeApi) {
|
|
1178
|
-
_context2.next =
|
|
1179
|
+
_context2.next = 1;
|
|
1179
1180
|
break;
|
|
1180
1181
|
}
|
|
1181
1182
|
throw new Error('Cube API client is not provided');
|
|
1182
|
-
case
|
|
1183
|
+
case 1:
|
|
1183
1184
|
if (resetResultSetOnChange) {
|
|
1184
1185
|
setResultSet(null);
|
|
1185
1186
|
}
|
|
1186
1187
|
setError(null);
|
|
1187
1188
|
setLoading(true);
|
|
1188
|
-
_context2.prev =
|
|
1189
|
-
_context2.next =
|
|
1189
|
+
_context2.prev = 2;
|
|
1190
|
+
_context2.next = 3;
|
|
1190
1191
|
return cubeApi.load(query, {
|
|
1191
1192
|
mutexObj: mutexRef.current,
|
|
1192
1193
|
mutexKey: 'query',
|
|
1193
1194
|
progressCallback: progressCallback,
|
|
1194
1195
|
castNumerics: Boolean(typeof options.castNumerics === 'boolean' ? options.castNumerics : context === null || context === void 0 || (_context$options = context.options) === null || _context$options === void 0 ? void 0 : _context$options.castNumerics)
|
|
1195
1196
|
});
|
|
1196
|
-
case
|
|
1197
|
+
case 3:
|
|
1197
1198
|
response = _context2.sent;
|
|
1198
1199
|
setResultSet(response);
|
|
1199
1200
|
setProgress(null);
|
|
1200
|
-
_context2.next =
|
|
1201
|
+
_context2.next = 5;
|
|
1201
1202
|
break;
|
|
1202
|
-
case
|
|
1203
|
-
_context2.prev =
|
|
1204
|
-
|
|
1205
|
-
setError(
|
|
1203
|
+
case 4:
|
|
1204
|
+
_context2.prev = 4;
|
|
1205
|
+
_t2 = _context2["catch"](2);
|
|
1206
|
+
setError(_t2);
|
|
1206
1207
|
setResultSet(null);
|
|
1207
1208
|
setProgress(null);
|
|
1208
|
-
case
|
|
1209
|
+
case 5:
|
|
1209
1210
|
setLoading(false);
|
|
1210
|
-
case
|
|
1211
|
+
case 6:
|
|
1211
1212
|
case "end":
|
|
1212
1213
|
return _context2.stop();
|
|
1213
1214
|
}
|
|
1214
|
-
}, _callee2, null, [[
|
|
1215
|
+
}, _callee2, null, [[2, 4]]);
|
|
1215
1216
|
}));
|
|
1216
1217
|
return _fetch.apply(this, arguments);
|
|
1217
1218
|
}
|
|
@@ -1228,11 +1229,12 @@
|
|
|
1228
1229
|
}
|
|
1229
1230
|
function _loadQuery() {
|
|
1230
1231
|
_loadQuery = _asyncToGenerator__default['default'](/*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee() {
|
|
1231
|
-
|
|
1232
|
+
var _t;
|
|
1233
|
+
return _regeneratorRuntime__default['default'].wrap(function (_context) {
|
|
1232
1234
|
while (1) switch (_context.prev = _context.next) {
|
|
1233
1235
|
case 0:
|
|
1234
1236
|
if (!(!skip && core.isQueryPresent(query))) {
|
|
1235
|
-
_context.next =
|
|
1237
|
+
_context.next = 7;
|
|
1236
1238
|
break;
|
|
1237
1239
|
}
|
|
1238
1240
|
if (!core.areQueriesEqual(currentQuery, query)) {
|
|
@@ -1243,18 +1245,18 @@
|
|
|
1243
1245
|
}
|
|
1244
1246
|
setError(null);
|
|
1245
1247
|
setLoading(true);
|
|
1246
|
-
_context.prev =
|
|
1248
|
+
_context.prev = 1;
|
|
1247
1249
|
if (!subscribeRequest) {
|
|
1248
|
-
_context.next =
|
|
1250
|
+
_context.next = 3;
|
|
1249
1251
|
break;
|
|
1250
1252
|
}
|
|
1251
|
-
_context.next =
|
|
1253
|
+
_context.next = 2;
|
|
1252
1254
|
return subscribeRequest.unsubscribe();
|
|
1253
|
-
case
|
|
1255
|
+
case 2:
|
|
1254
1256
|
subscribeRequest = null;
|
|
1255
|
-
case
|
|
1257
|
+
case 3:
|
|
1256
1258
|
if (!options.subscribe) {
|
|
1257
|
-
_context.next =
|
|
1259
|
+
_context.next = 4;
|
|
1258
1260
|
break;
|
|
1259
1261
|
}
|
|
1260
1262
|
subscribeRequest = cubeApi.subscribe(query, {
|
|
@@ -1270,26 +1272,26 @@
|
|
|
1270
1272
|
setLoading(false);
|
|
1271
1273
|
setProgress(null);
|
|
1272
1274
|
});
|
|
1273
|
-
_context.next =
|
|
1275
|
+
_context.next = 5;
|
|
1274
1276
|
break;
|
|
1275
|
-
case
|
|
1276
|
-
_context.next =
|
|
1277
|
+
case 4:
|
|
1278
|
+
_context.next = 5;
|
|
1277
1279
|
return fetch();
|
|
1278
|
-
case
|
|
1279
|
-
_context.next =
|
|
1280
|
+
case 5:
|
|
1281
|
+
_context.next = 7;
|
|
1280
1282
|
break;
|
|
1281
|
-
case
|
|
1282
|
-
_context.prev =
|
|
1283
|
-
|
|
1284
|
-
setError(
|
|
1283
|
+
case 6:
|
|
1284
|
+
_context.prev = 6;
|
|
1285
|
+
_t = _context["catch"](1);
|
|
1286
|
+
setError(_t);
|
|
1285
1287
|
setResultSet(null);
|
|
1286
1288
|
setLoading(false);
|
|
1287
1289
|
setProgress(null);
|
|
1288
|
-
case
|
|
1290
|
+
case 7:
|
|
1289
1291
|
case "end":
|
|
1290
1292
|
return _context.stop();
|
|
1291
1293
|
}
|
|
1292
|
-
}, _callee, null, [[
|
|
1294
|
+
}, _callee, null, [[1, 6]]);
|
|
1293
1295
|
}));
|
|
1294
1296
|
return _loadQuery.apply(this, arguments);
|
|
1295
1297
|
}
|