@cocreate/api 1.2.20 → 1.2.24

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,31 @@
1
+ ## [1.2.24](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.23...v1.2.24) (2022-02-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * replaced show and hide class hidden with attribute hidden ([aeda09c](https://github.com/CoCreate-app/CoCreate-api/commit/aeda09c1024963a4cdf6d362c4d67a0c724f9c82))
7
+
8
+ ## [1.2.23](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.22...v1.2.23) (2022-02-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update dependency versions ([022bf0f](https://github.com/CoCreate-app/CoCreate-api/commit/022bf0f89ac7e675b49ffd93288066b35edcbf0d))
14
+
15
+ ## [1.2.22](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.21...v1.2.22) (2022-01-01)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([e36f596](https://github.com/CoCreate-app/CoCreate-api/commit/e36f5961be023c7dbb1eb7643ac2e995f1c6d0c0))
21
+
22
+ ## [1.2.21](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.20...v1.2.21) (2022-01-01)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * removed data- from attributes ([ed63cfd](https://github.com/CoCreate-app/CoCreate-api/commit/ed63cfd6375cba25960fc0a3349ee39ddb98eebc))
28
+
1
29
  ## [1.2.20](https://github.com/CoCreate-app/CoCreate-api/compare/v1.2.19...v1.2.20) (2021-12-31)
2
30
 
3
31
 
package/demo/index.html CHANGED
@@ -10,31 +10,31 @@
10
10
  <h1>Form Demo</h1>
11
11
 
12
12
  <form>
13
- <input data-xxx="xxxCreateRequest.name">
13
+ <input xxx="xxxCreateRequest.name">
14
14
 
15
- <div data-xxx="xxxCreateRequest.address" data-xxx_array="address">
16
- <input data-xxx="address.home.city">
17
- <input data-xxx="address.work">
15
+ <div xxx="xxxCreateRequest.address" xxx_array="address">
16
+ <input xxx="address.home.city">
17
+ <input xxx="address.work">
18
18
  </div>
19
19
 
20
- <div data-xxx="xxxCreateRequest.address" data-xxx_array="address">
21
- <input data-xxx="address.home.city">
22
- <input data-xxx="address.name">
23
- <input data-xxx="address.line1">
24
-
25
- <div data-xxx="address.billing" data-xxx_array="b">
26
- <input data-xxx="b.address1">
27
- <input data-xxx="b.city">
28
- <input data-xxx="b.code.zip">
29
- <input data-xxx="b.code.postal">
20
+ <div xxx="xxxCreateRequest.address" xxx_array="address">
21
+ <input xxx="address.home.city">
22
+ <input xxx="address.name">
23
+ <input xxx="address.line1">
24
+
25
+ <div xxx="address.billing" xxx_array="b">
26
+ <input xxx="b.address1">
27
+ <input xxx="b.city">
28
+ <input xxx="b.code.zip">
29
+ <input xxx="b.code.postal">
30
30
  </div>
31
31
  </div>
32
- <input data-xxx="xxxCreateRequest.email">
32
+ <input xxx="xxxCreateRequest.email">
33
33
 
34
- <div template_id="xxxCreateCard" render-array="data.card" render-key="c" data-xxx="xxxCreateCard.card" data-xxx_array="card">
35
- <input data-xxx="card.number" value="c.number">
36
- <input data-xxx="card.cvv" value="c.cvv">
37
- <input data-xxx="card.expiry" value="c.expiry">
34
+ <div template_id="xxxCreateCard" render-array="data.card" render-key="c" xxx="xxxCreateCard.card" xxx_array="card">
35
+ <input xxx="card.number" value="c.number">
36
+ <input xxx="card.cvv" value="c.cvv">
37
+ <input xxx="card.expiry" value="c.expiry">
38
38
  </div>
39
39
 
40
40
 
package/docs/form.html CHANGED
@@ -181,7 +181,7 @@
181
181
  <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
182
182
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
183
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 hidden" id="preview" show="#code, #view" hide="#preview"><i class="fas fa-code"></i></a>
184
+ <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
185
185
  <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
186
186
  </div>
187
187
  <div class="svRow">
@@ -194,7 +194,7 @@
194
194
  <div class="svSplitter svHorizontal"> </div>
195
195
 
196
196
  <div class="svPanel">
197
- <iframe get-value="demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
197
+ <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
198
198
  </div>
199
199
 
200
200
  </div>
package/docs/index.html CHANGED
@@ -156,22 +156,22 @@
156
156
  <p class="padding:10px_0px line-height:1.5">
157
157
  <pre><code class="language-html">
158
158
  &lt;form&gt;
159
- &lt;input data-stripe=&quot;createCustomer.name&quot;&gt;
160
- &lt;div data-stripe=&quot;createCustomer.address&quot; data-stripe_array=&quot;address&quot;&gt;
161
- &lt;input data-stripe=&quot;address.home.city&quot;&gt;
162
- &lt;input data-stripe=&quot;address.work&quot;&gt;
159
+ &lt;input stripe=&quot;createCustomer.name&quot;&gt;
160
+ &lt;div stripe=&quot;createCustomer.address&quot; stripe_array=&quot;address&quot;&gt;
161
+ &lt;input stripe=&quot;address.home.city&quot;&gt;
162
+ &lt;input stripe=&quot;address.work&quot;&gt;
163
163
  &lt;/div&gt;
164
164
 
165
- &lt;div data-stripe=&quot;createCustomer.address&quot; data-xxx_array=&quot;address&quot;&gt;
166
- &lt;input data-stripe=&quot;address.home.city&quot;&gt;
167
- &lt;input data-stripe=&quot;address.name&quot;&gt;
168
- &lt;input data-stripe=&quot;address.line1&quot;&gt;
165
+ &lt;div stripe=&quot;createCustomer.address&quot; xxx_array=&quot;address&quot;&gt;
166
+ &lt;input stripe=&quot;address.home.city&quot;&gt;
167
+ &lt;input stripe=&quot;address.name&quot;&gt;
168
+ &lt;input stripe=&quot;address.line1&quot;&gt;
169
169
 
170
- &lt;div data-stripe=&quot;address.billing&quot; data-xxx_array=&quot;b&quot;&gt;
171
- &lt;input data-stripe=&quot;b.address1&quot;&gt;
172
- &lt;input data-stripe=&quot;b.city&quot;&gt;
173
- &lt;input data-stripe=&quot;b.code.zip&quot;&gt;
174
- &lt;input data-stripe=&quot;b.code.postal&quot;&gt;
170
+ &lt;div stripe=&quot;address.billing&quot; xxx_array=&quot;b&quot;&gt;
171
+ &lt;input stripe=&quot;b.address1&quot;&gt;
172
+ &lt;input stripe=&quot;b.city&quot;&gt;
173
+ &lt;input stripe=&quot;b.code.zip&quot;&gt;
174
+ &lt;input stripe=&quot;b.code.postal&quot;&gt;
175
175
  &lt;/div&gt;
176
176
  &lt;/div&gt;
177
177
  &lt;button actions=&#39;createCustomer&#39;&gt;Create Form&lt;/button&gt;
@@ -207,7 +207,7 @@
207
207
  <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
208
208
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
209
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 hidden" id="preview" show="#code, #view" hide="#preview"><i class="fas fa-code"></i></a>
210
+ <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
211
211
  <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
212
212
  </div>
213
213
  <div class="svRow">
@@ -220,7 +220,7 @@
220
220
  <div class="svSplitter svHorizontal"> </div>
221
221
 
222
222
  <div class="svPanel">
223
- <iframe get-value="demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
223
+ <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
224
224
  </div>
225
225
 
226
226
  </div>
package/docs/module.html CHANGED
@@ -171,7 +171,7 @@
171
171
  <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
172
172
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
173
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 hidden" id="preview" show="#code, #view" hide="#preview"><i class="fas fa-code"></i></a>
174
+ <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
175
175
  <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
176
176
  </div>
177
177
  <div class="svRow">
@@ -184,7 +184,7 @@
184
184
  <div class="svSplitter svHorizontal"> </div>
185
185
 
186
186
  <div class="svPanel">
187
- <iframe get-value="demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
187
+ <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
188
188
  </div>
189
189
 
190
190
  </div>
package/docs/server.html CHANGED
@@ -182,7 +182,7 @@
182
182
  <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
183
183
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
184
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 hidden" id="preview" show="#code, #view" hide="#preview"><i class="fas fa-code"></i></a>
185
+ <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
186
186
  <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
187
187
  </div>
188
188
  <div class="svRow">
@@ -195,7 +195,7 @@
195
195
  <div class="svSplitter svHorizontal"> </div>
196
196
 
197
197
  <div class="svPanel">
198
- <iframe get-value="demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
198
+ <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
199
199
  </div>
200
200
 
201
201
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.2.20",
3
+ "version": "1.2.24",
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",
@@ -62,12 +62,12 @@
62
62
  "webpack-log": "^3.0.1"
63
63
  },
64
64
  "dependencies": {
65
- "@cocreate/actions": "^1.3.25",
66
- "@cocreate/crud-client": "^1.4.40",
67
- "@cocreate/docs": "^1.2.62",
68
- "@cocreate/elements": "^1.5.0",
69
- "@cocreate/hosting": "^1.2.58",
70
- "@cocreate/render": "^1.3.24",
71
- "@cocreate/socket-client": "^1.4.16"
65
+ "@cocreate/actions": "^1.3.28",
66
+ "@cocreate/crud-client": "^1.4.43",
67
+ "@cocreate/docs": "^1.2.65",
68
+ "@cocreate/elements": "^1.6.5",
69
+ "@cocreate/hosting": "^1.2.60",
70
+ "@cocreate/render": "^1.5.1",
71
+ "@cocreate/socket-client": "^1.4.18"
72
72
  }
73
73
  }