@grapecity/ar-designer
Advanced tools
Comparing version 14.1.1543 to 14.1.1614
@@ -499,14 +499,6 @@ /* eslint-disable prefer-arrow-callback, wrap-iife, no-var, prefer-template, object-shorthand */ | ||
* @param {DataSource} options.dataSource data source | ||
* @param {Function?} options.getErrorMessage function returning error message | ||
* @param {string?} options.reportId report id | ||
*/ | ||
function testDataSourceConnection(options) { | ||
/* | ||
var getErrorMessage = function(res) { | ||
if (!res) return ''; | ||
var getErrorMessageImpl = typeof options.getErrorMessage === 'function' && options.getErrorMessage || null; | ||
var errorMessage = getErrorMessageImpl && getErrorMessageImpl(res) || res.message || ''; | ||
return errorMessage; | ||
}; | ||
*/ | ||
var reportId = options.reportId ? decodeURIComponent(options.reportId) : null; | ||
var url = makeURL('datasource/test'); | ||
@@ -516,2 +508,3 @@ return Promise.resolve().then(function() { | ||
dataSource: options.dataSource, | ||
reportId: reportId, | ||
}).then(function(response) { | ||
@@ -632,14 +625,6 @@ return { | ||
* @param {DataSource} options.dataSource report DataSource | ||
* @param {Function?} options.getErrorMessage function returning error message | ||
* @param {string?} options.reportId report id | ||
*/ | ||
function getDataSetSchema(options) { | ||
/* | ||
var getErrorMessage = function(res) { | ||
if (!res) return ''; | ||
var getErrorMessageImpl = typeof options.getErrorMessage === 'function' && options.getErrorMessage || null; | ||
var errorMessage = getErrorMessageImpl && getErrorMessageImpl(res) || res.message || ''; | ||
return errorMessage; | ||
}; | ||
*/ | ||
var reportId = options.reportId ? decodeURIComponent(options.reportId) : null; | ||
var url = makeURL('dataset/schema'); | ||
@@ -650,2 +635,3 @@ return Promise.resolve().then(function() { | ||
dataSet: options.dataSet, | ||
reportId: reportId, | ||
}); | ||
@@ -652,0 +638,0 @@ }).then(function(response) { |
{ | ||
"name": "@grapecity/ar-designer", | ||
"version": "14.1.1543", | ||
"version": "14.1.1614", | ||
"description": "Modern and intuitive report designer for the web. Works with ActiveReports report definition files.", | ||
@@ -12,3 +12,3 @@ "author": "GrapeCity", | ||
"devDependencies": { | ||
"ar-designer": "4.3.16", | ||
"ar-designer": "4.3.17", | ||
"ar-designer-data-set-picker": "4.3.0", | ||
@@ -15,0 +15,0 @@ "ar-designer-data-source-editor": "4.3.6", |
Sorry, the diff of this file is too big to display
8940293
11958