@cocreate/api 1.5.27 → 1.5.29

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.5.29](https://github.com/CoCreate-app/CoCreate-api/compare/v1.5.28...v1.5.29) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([9017a0b](https://github.com/CoCreate-app/CoCreate-api/commit/9017a0b930db1352457ead69696d0be9c1eda9fe))
7
+
8
+ ## [1.5.28](https://github.com/CoCreate-app/CoCreate-api/compare/v1.5.27...v1.5.28) (2022-12-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update demos and bump dependencies ([423dfd1](https://github.com/CoCreate-app/CoCreate-api/commit/423dfd10e5e1e585978e3b4d49f8d0521cc578fd))
14
+
1
15
  ## [1.5.27](https://github.com/CoCreate-app/CoCreate-api/compare/v1.5.26...v1.5.27) (2022-12-21)
2
16
 
3
17
 
package/docs/form.html CHANGED
@@ -177,30 +177,28 @@
177
177
  </div>
178
178
 
179
179
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
180
- <!-- SandBox -->
181
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
182
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
183
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
184
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
185
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
186
- </div>
187
- <div class="svRow">
188
-
189
- <div class="svColumn">
190
-
191
- <div class="svPanel" id="view">
192
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
193
- </div>
194
- <div class="svSplitter svHorizontal"> </div>
195
-
196
- <div class="svPanel">
197
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
198
- </div>
199
-
200
- </div>
201
- </div>
202
- </div>
203
- <!-- End SandBox -->
180
+ <!-- SandBox -->
181
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
182
+
183
+ <div id="demo-code" resizable class="position:relative height:50%">
184
+ <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
185
+ <div resize="bottom" class="background:lightgrey"></div>
186
+ </div>
187
+
188
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
189
+ <div get-value="#demo" class="padding:20px"></div>
190
+ </div>
191
+
192
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
193
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
194
+ <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
195
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
196
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
197
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
198
+ </div>
199
+
200
+ </div>
201
+ <!-- End SandBox -->
204
202
  </div>
205
203
  </div>
206
204
  </div>
package/docs/index.html CHANGED
@@ -203,30 +203,28 @@
203
203
  </span>
204
204
  </div>
205
205
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
206
- <!-- SandBox -->
207
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
208
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
209
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
210
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
211
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
212
- </div>
213
- <div class="svRow">
214
-
215
- <div class="svColumn">
216
-
217
- <div class="svPanel" id="view">
218
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
219
- </div>
220
- <div class="svSplitter svHorizontal"> </div>
221
-
222
- <div class="svPanel">
223
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
224
- </div>
225
-
226
- </div>
227
- </div>
228
- </div>
229
- <!-- End SandBox -->
206
+ <!-- SandBox -->
207
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
208
+
209
+ <div id="demo-code" resizable class="position:relative height:50%">
210
+ <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
211
+ <div resize="bottom" class="background:lightgrey"></div>
212
+ </div>
213
+
214
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
215
+ <div get-value="#demo" class="padding:20px"></div>
216
+ </div>
217
+
218
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
219
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
220
+ <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
221
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
222
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
223
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
224
+ </div>
225
+
226
+ </div>
227
+ <!-- End SandBox -->
230
228
  </div>
231
229
  </div>
232
230
  </div>
package/docs/module.html CHANGED
@@ -167,30 +167,28 @@
167
167
 
168
168
 
169
169
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
170
- <!-- SandBox -->
171
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
172
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
173
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
174
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
175
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
176
- </div>
177
- <div class="svRow">
178
-
179
- <div class="svColumn">
180
-
181
- <div class="svPanel" id="view">
182
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
183
- </div>
184
- <div class="svSplitter svHorizontal"> </div>
185
-
186
- <div class="svPanel">
187
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
188
- </div>
189
-
190
- </div>
191
- </div>
192
- </div>
193
- <!-- End SandBox -->
170
+ <!-- SandBox -->
171
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
172
+
173
+ <div id="demo-code" resizable class="position:relative height:50%">
174
+ <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
175
+ <div resize="bottom" class="background:lightgrey"></div>
176
+ </div>
177
+
178
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
179
+ <div get-value="#demo" class="padding:20px"></div>
180
+ </div>
181
+
182
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
183
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
184
+ <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
185
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
186
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
187
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
188
+ </div>
189
+
190
+ </div>
191
+ <!-- End SandBox -->
194
192
  </div>
195
193
  </div>
196
194
  </div>
package/docs/server.html CHANGED
@@ -178,30 +178,28 @@
178
178
  </div>
179
179
 
180
180
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
181
- <!-- SandBox -->
182
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
183
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
184
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
185
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
186
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
187
- </div>
188
- <div class="svRow">
189
-
190
- <div class="svColumn">
191
-
192
- <div class="svPanel" id="view">
193
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
194
- </div>
195
- <div class="svSplitter svHorizontal"> </div>
196
-
197
- <div class="svPanel">
198
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
199
- </div>
200
-
201
- </div>
202
- </div>
203
- </div>
204
- <!-- End SandBox -->
181
+ <!-- SandBox -->
182
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
183
+
184
+ <div id="demo-code" resizable class="position:relative height:50%">
185
+ <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
186
+ <div resize="bottom" class="background:lightgrey"></div>
187
+ </div>
188
+
189
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
190
+ <div get-value="#demo" class="padding:20px"></div>
191
+ </div>
192
+
193
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
194
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
195
+ <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
196
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
197
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
198
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
199
+ </div>
200
+
201
+ </div>
202
+ <!-- End SandBox -->
205
203
  </div>
206
204
  </div>
207
205
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.5.27",
3
+ "version": "1.5.29",
4
4
  "description": "A simple api helper component in vanilla javascript used by JavaScript developers to create thirdparty api intergrations. CoCreate-api includes the client component and server side for api processing. Thirdparty apis can be accessible using HTML5 attributes and/or JavaScript API. ",
5
5
  "keywords": [
6
6
  "thirdparty-api-intergration",
@@ -61,12 +61,12 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.5.39",
65
- "@cocreate/crud-client": "^1.16.18",
66
- "@cocreate/docs": "^1.4.21",
67
- "@cocreate/element-prototype": "^1.2.7",
68
- "@cocreate/hosting": "^1.6.22",
69
- "@cocreate/render": "^1.17.5",
70
- "@cocreate/socket-client": "^1.13.18"
64
+ "@cocreate/actions": "^1.5.41",
65
+ "@cocreate/crud-client": "^1.16.20",
66
+ "@cocreate/docs": "^1.4.23",
67
+ "@cocreate/element-prototype": "^1.2.9",
68
+ "@cocreate/hosting": "^1.6.24",
69
+ "@cocreate/render": "^1.17.7",
70
+ "@cocreate/socket-client": "^1.13.20"
71
71
  }
72
72
  }
package/webpack.config.js CHANGED
@@ -15,7 +15,6 @@ module.exports = {
15
15
  libraryExport: "default",
16
16
  library: ["CoCreate", "api"],
17
17
  globalObject: "this",
18
- // publicPath: 'https://server.cocreate.app/CoCreateJS/dist/'
19
18
  },
20
19
 
21
20
  plugins: [