ninegrid2 6.644.0 → 6.645.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/.idea/misc.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
4
+ <output url="file://$PROJECT_DIR$/out" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/ninegrid.iml" filepath="$PROJECT_DIR$/.idea/ninegrid.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>
@@ -193163,11 +193163,34 @@ class ideAssi extends HTMLElement
193163
193163
  }
193164
193164
  `;
193165
193165
 
193166
+ const js = `
193167
+ const Home = () => {
193168
+ const wrapStyle = {
193169
+ backgroundColor: "white",
193170
+ color: "black",
193171
+ padding: "0px",
193172
+ textAlign: "center",
193173
+ fontSize: "18px",
193174
+ height: "100%",
193175
+ };
193176
+
193177
+ return (
193178
+ <div style={wrapStyle}>
193179
+ 11111
193180
+ </div>
193181
+ );
193182
+ };
193183
+
193184
+ export default Home;
193185
+ `;
193186
+
193187
+
193166
193188
  await fetch("/api/files/java", {
193167
193189
  method: "POST",
193168
193190
  headers: { "Content-Type": "application/json" },
193169
193191
  body: JSON.stringify({
193170
- filename: "HelloWorld.java",
193192
+ //filename: "HelloWorld.java",
193193
+ filename: "Test.jsx",
193171
193194
  content: code
193172
193195
  })
193173
193196
  });
@@ -193159,11 +193159,34 @@ class ideAssi extends HTMLElement
193159
193159
  }
193160
193160
  `;
193161
193161
 
193162
+ const js = `
193163
+ const Home = () => {
193164
+ const wrapStyle = {
193165
+ backgroundColor: "white",
193166
+ color: "black",
193167
+ padding: "0px",
193168
+ textAlign: "center",
193169
+ fontSize: "18px",
193170
+ height: "100%",
193171
+ };
193172
+
193173
+ return (
193174
+ <div style={wrapStyle}>
193175
+ 11111
193176
+ </div>
193177
+ );
193178
+ };
193179
+
193180
+ export default Home;
193181
+ `;
193182
+
193183
+
193162
193184
  await fetch("/api/files/java", {
193163
193185
  method: "POST",
193164
193186
  headers: { "Content-Type": "application/json" },
193165
193187
  body: JSON.stringify({
193166
- filename: "HelloWorld.java",
193188
+ //filename: "HelloWorld.java",
193189
+ filename: "Test.jsx",
193167
193190
  content: code
193168
193191
  })
193169
193192
  });
@@ -99,11 +99,34 @@ class ideAssi extends HTMLElement
99
99
  }
100
100
  `;
101
101
 
102
+ const js = `
103
+ const Home = () => {
104
+ const wrapStyle = {
105
+ backgroundColor: "white",
106
+ color: "black",
107
+ padding: "0px",
108
+ textAlign: "center",
109
+ fontSize: "18px",
110
+ height: "100%",
111
+ };
112
+
113
+ return (
114
+ <div style={wrapStyle}>
115
+ 11111
116
+ </div>
117
+ );
118
+ };
119
+
120
+ export default Home;
121
+ `;
122
+
123
+
102
124
  await fetch("/api/files/java", {
103
125
  method: "POST",
104
126
  headers: { "Content-Type": "application/json" },
105
127
  body: JSON.stringify({
106
- filename: "HelloWorld.java",
128
+ //filename: "HelloWorld.java",
129
+ filename: "Test.jsx",
107
130
  content: code
108
131
  })
109
132
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.644.0",
4
+ "version": "6.645.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -99,11 +99,34 @@ class ideAssi extends HTMLElement
99
99
  }
100
100
  `;
101
101
 
102
+ const js = `
103
+ const Home = () => {
104
+ const wrapStyle = {
105
+ backgroundColor: "white",
106
+ color: "black",
107
+ padding: "0px",
108
+ textAlign: "center",
109
+ fontSize: "18px",
110
+ height: "100%",
111
+ };
112
+
113
+ return (
114
+ <div style={wrapStyle}>
115
+ 11111
116
+ </div>
117
+ );
118
+ };
119
+
120
+ export default Home;
121
+ `;
122
+
123
+
102
124
  await fetch("/api/files/java", {
103
125
  method: "POST",
104
126
  headers: { "Content-Type": "application/json" },
105
127
  body: JSON.stringify({
106
- filename: "HelloWorld.java",
128
+ //filename: "HelloWorld.java",
129
+ filename: "Test.jsx",
107
130
  content: code
108
131
  })
109
132
  });