ide-assi 0.732.0 → 0.734.0
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/bundle.cjs.js
CHANGED
|
@@ -202447,8 +202447,12 @@ window.jQuery = window.$ = $$1;
|
|
|
202447
202447
|
|
|
202448
202448
|
class IdeFetch {
|
|
202449
202449
|
|
|
202450
|
+
static contextPath = "";
|
|
202451
|
+
|
|
202450
202452
|
static #request = (method, url, data = {}) => {
|
|
202451
202453
|
|
|
202454
|
+
url = `${IdeFetch.contextPath}${url}`;
|
|
202455
|
+
|
|
202452
202456
|
ninegrid.loading.show();
|
|
202453
202457
|
//console.log(method, url, data);
|
|
202454
202458
|
|
|
@@ -202465,13 +202469,15 @@ class IdeFetch {
|
|
|
202465
202469
|
|
|
202466
202470
|
return fetch(url, options)
|
|
202467
202471
|
.then(res => {
|
|
202472
|
+
|
|
202468
202473
|
if (url !== "/api/source/query") ninegrid.loading.hide();
|
|
202474
|
+
//if (!res) return null;
|
|
202469
202475
|
if (!res.ok) {
|
|
202470
202476
|
return res.text().then(text => {
|
|
202471
202477
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
202472
202478
|
});
|
|
202473
202479
|
}
|
|
202474
|
-
return res
|
|
202480
|
+
return res.json();
|
|
202475
202481
|
})
|
|
202476
202482
|
.catch(err => {
|
|
202477
202483
|
ninegrid.loading.hide();
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202443,8 +202443,12 @@ window.jQuery = window.$ = $$1;
|
|
|
202443
202443
|
|
|
202444
202444
|
class IdeFetch {
|
|
202445
202445
|
|
|
202446
|
+
static contextPath = "";
|
|
202447
|
+
|
|
202446
202448
|
static #request = (method, url, data = {}) => {
|
|
202447
202449
|
|
|
202450
|
+
url = `${IdeFetch.contextPath}${url}`;
|
|
202451
|
+
|
|
202448
202452
|
ninegrid.loading.show();
|
|
202449
202453
|
//console.log(method, url, data);
|
|
202450
202454
|
|
|
@@ -202461,13 +202465,15 @@ class IdeFetch {
|
|
|
202461
202465
|
|
|
202462
202466
|
return fetch(url, options)
|
|
202463
202467
|
.then(res => {
|
|
202468
|
+
|
|
202464
202469
|
if (url !== "/api/source/query") ninegrid.loading.hide();
|
|
202470
|
+
//if (!res) return null;
|
|
202465
202471
|
if (!res.ok) {
|
|
202466
202472
|
return res.text().then(text => {
|
|
202467
202473
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
202468
202474
|
});
|
|
202469
202475
|
}
|
|
202470
|
-
return res
|
|
202476
|
+
return res.json();
|
|
202471
202477
|
})
|
|
202472
202478
|
.catch(err => {
|
|
202473
202479
|
ninegrid.loading.hide();
|
|
@@ -2,8 +2,12 @@ import ninegrid from "ninegrid2";
|
|
|
2
2
|
|
|
3
3
|
export class IdeFetch {
|
|
4
4
|
|
|
5
|
+
static contextPath = "";
|
|
6
|
+
|
|
5
7
|
static #request = (method, url, data = {}) => {
|
|
6
8
|
|
|
9
|
+
url = `${IdeFetch.contextPath}${url}`;
|
|
10
|
+
|
|
7
11
|
ninegrid.loading.show();
|
|
8
12
|
//console.log(method, url, data);
|
|
9
13
|
|
|
@@ -20,13 +24,15 @@ export class IdeFetch {
|
|
|
20
24
|
|
|
21
25
|
return fetch(url, options)
|
|
22
26
|
.then(res => {
|
|
27
|
+
|
|
23
28
|
if (url !== "/api/source/query") ninegrid.loading.hide();
|
|
29
|
+
//if (!res) return null;
|
|
24
30
|
if (!res.ok) {
|
|
25
31
|
return res.text().then(text => {
|
|
26
32
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
27
33
|
});
|
|
28
34
|
}
|
|
29
|
-
return res
|
|
35
|
+
return res.json();
|
|
30
36
|
})
|
|
31
37
|
.catch(err => {
|
|
32
38
|
ninegrid.loading.hide();
|
package/package.json
CHANGED
|
@@ -2,8 +2,12 @@ import ninegrid from "ninegrid2";
|
|
|
2
2
|
|
|
3
3
|
export class IdeFetch {
|
|
4
4
|
|
|
5
|
+
static contextPath = "";
|
|
6
|
+
|
|
5
7
|
static #request = (method, url, data = {}) => {
|
|
6
8
|
|
|
9
|
+
url = `${IdeFetch.contextPath}${url}`;
|
|
10
|
+
|
|
7
11
|
ninegrid.loading.show();
|
|
8
12
|
//console.log(method, url, data);
|
|
9
13
|
|
|
@@ -20,13 +24,15 @@ export class IdeFetch {
|
|
|
20
24
|
|
|
21
25
|
return fetch(url, options)
|
|
22
26
|
.then(res => {
|
|
27
|
+
|
|
23
28
|
if (url !== "/api/source/query") ninegrid.loading.hide();
|
|
29
|
+
//if (!res) return null;
|
|
24
30
|
if (!res.ok) {
|
|
25
31
|
return res.text().then(text => {
|
|
26
32
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
27
33
|
});
|
|
28
34
|
}
|
|
29
|
-
return res
|
|
35
|
+
return res.json();
|
|
30
36
|
})
|
|
31
37
|
.catch(err => {
|
|
32
38
|
ninegrid.loading.hide();
|