ide-assi 0.508.0 → 0.510.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.
@@ -202963,22 +202963,21 @@ class IdeDiffPopup extends HTMLElement
202963
202963
  let params = [];
202964
202964
 
202965
202965
  for (const o of this.#changedSource) {
202966
- console.log(o);
202967
- const type = Object.keys(o)[0];
202968
202966
 
202967
+ const type = Object.keys(o)[0];
202969
202968
  const diff = ninegrid.querySelector(`ide-diff.${type}`, this.shadowRoot);
202970
202969
 
202971
- console.log(diff);
202972
-
202973
202970
  params.push({
202974
- path: o.tobePath,
202971
+ path: o[type].tobePath,
202975
202972
  contents: diff.getContents(),
202976
202973
  });
202977
202974
  }
202978
202975
 
202979
202976
  console.log(params);
202980
202977
 
202981
- api.post(`/api/source/generateRealFile`, { list: params });
202978
+ api.post(`/api/source/generateRealFile`, { list: params }).then(res => {
202979
+ ninegrid.confirm("소스를 변경하였습니다.");
202980
+ });
202982
202981
  }
202983
202982
 
202984
202983
 
@@ -202959,22 +202959,21 @@ class IdeDiffPopup extends HTMLElement
202959
202959
  let params = [];
202960
202960
 
202961
202961
  for (const o of this.#changedSource) {
202962
- console.log(o);
202963
- const type = Object.keys(o)[0];
202964
202962
 
202963
+ const type = Object.keys(o)[0];
202965
202964
  const diff = ninegrid.querySelector(`ide-diff.${type}`, this.shadowRoot);
202966
202965
 
202967
- console.log(diff);
202968
-
202969
202966
  params.push({
202970
- path: o.tobePath,
202967
+ path: o[type].tobePath,
202971
202968
  contents: diff.getContents(),
202972
202969
  });
202973
202970
  }
202974
202971
 
202975
202972
  console.log(params);
202976
202973
 
202977
- api.post(`/api/source/generateRealFile`, { list: params });
202974
+ api.post(`/api/source/generateRealFile`, { list: params }).then(res => {
202975
+ ninegrid.confirm("소스를 변경하였습니다.");
202976
+ });
202978
202977
  }
202979
202978
 
202980
202979
 
@@ -70,22 +70,21 @@ class IdeDiffPopup extends HTMLElement
70
70
  let params = [];
71
71
 
72
72
  for (const o of this.#changedSource) {
73
- console.log(o);
74
- const type = Object.keys(o)[0];
75
73
 
74
+ const type = Object.keys(o)[0];
76
75
  const diff = ninegrid.querySelector(`ide-diff.${type}`, this.shadowRoot);
77
76
 
78
- console.log(diff);
79
-
80
77
  params.push({
81
- path: o.tobePath,
78
+ path: o[type].tobePath,
82
79
  contents: diff.getContents(),
83
80
  })
84
81
  }
85
82
 
86
83
  console.log(params);
87
84
 
88
- api.post(`/api/source/generateRealFile`, { list: params });
85
+ api.post(`/api/source/generateRealFile`, { list: params }).then(res => {
86
+ ninegrid.confirm("소스를 변경하였습니다.");
87
+ });
89
88
  }
90
89
 
91
90
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.508.0",
4
+ "version": "0.510.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -70,22 +70,21 @@ class IdeDiffPopup extends HTMLElement
70
70
  let params = [];
71
71
 
72
72
  for (const o of this.#changedSource) {
73
- console.log(o);
74
- const type = Object.keys(o)[0];
75
73
 
74
+ const type = Object.keys(o)[0];
76
75
  const diff = ninegrid.querySelector(`ide-diff.${type}`, this.shadowRoot);
77
76
 
78
- console.log(diff);
79
-
80
77
  params.push({
81
- path: o.tobePath,
78
+ path: o[type].tobePath,
82
79
  contents: diff.getContents(),
83
80
  })
84
81
  }
85
82
 
86
83
  console.log(params);
87
84
 
88
- api.post(`/api/source/generateRealFile`, { list: params });
85
+ api.post(`/api/source/generateRealFile`, { list: params }).then(res => {
86
+ ninegrid.confirm("소스를 변경하였습니다.");
87
+ });
89
88
  }
90
89
 
91
90