ywana-core8 0.0.33 → 0.0.37
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/dist/index.cjs +0 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +0 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +0 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.css +0 -3
- package/src/domain/CreateContentDialog.js +4 -4
- package/src/domain/EditContentDialog.js +6 -1
- package/src/domain/TablePage.js +8 -17
- package/src/upload/UploadArea.js +18 -0
- package/src/upload/uploader.css +1 -0
- package/src/upload/uploader.js +68 -51
package/dist/index.modern.js
CHANGED
@@ -4446,17 +4446,14 @@ var TableAPI = function TableAPI(url) {
|
|
4446
4446
|
var queryParams = "?";
|
4447
4447
|
|
4448
4448
|
if (filters) {
|
4449
|
-
console.log('filters', filters);
|
4450
4449
|
var filterQuery = Object.keys(filters).reduce(function (query, key) {
|
4451
4450
|
var value = filters[key];
|
4452
|
-
console.log(value);
|
4453
4451
|
|
4454
4452
|
if (typeof value === 'boolean') {
|
4455
4453
|
return query.concat(key + "=" + value + "&");
|
4456
4454
|
} else if (Array.isArray(value)) {
|
4457
4455
|
var param = value.length === 0 ? '' : value.reduce(function (param, item) {
|
4458
4456
|
param = param.concat(key + "=" + item + "&");
|
4459
|
-
console.log(item, param);
|
4460
4457
|
return param;
|
4461
4458
|
}, "");
|
4462
4459
|
console.log(param);
|
@@ -4465,7 +4462,6 @@ var TableAPI = function TableAPI(url) {
|
|
4465
4462
|
return query.concat(key + "=%" + filters[key] + "%&");
|
4466
4463
|
}
|
4467
4464
|
}, "");
|
4468
|
-
console.log('filterQuery');
|
4469
4465
|
queryParams = queryParams.concat(filterQuery);
|
4470
4466
|
}
|
4471
4467
|
|