@cocreate/crud-server 1.22.0 → 1.22.2

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/README.md CHANGED
@@ -1,66 +1,66 @@
1
- # CoCreate-crud-server
2
- A simple boilerplate component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/boilerplate)
3
-
4
- ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-crud-server?style=flat-square)
5
- ![GitHub contributors](https://img.shields.io/github/contributors/CoCreate-app/CoCreate-crud-server?style=flat-square)
6
- ![License](https://img.shields.io/static/v1?style=flat-square&label=license&message=SSPL&color=green)
7
- ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
8
-
9
- ![CoCreate](https://cdn.cocreate.app/logo.png)
10
-
11
- [CoCreate Docs](https://cocreate.app/docs/boilerplate)
12
-
13
- We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/issues) and [pull requests](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/pulls) or merely upvote or comment on existing issues or pull requests.
14
-
15
- We appreciate your continued support, thank you!
16
-
17
- # Table of Contents
18
-
19
- - [Table of Contents](#table-of-contents)
20
- - [Announcements](#announcements)
21
- - [Roadmap](#roadmap)
22
- - [How to Contribute](#how-to-contribute)
23
- - [About](#about)
24
- - [License](#license)
25
-
26
- <a name="announcements"></a>
27
- # Announcements
28
-
29
- All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-crud-server/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-crud-server/releases). You may also subscribe to email for releases and breaking changes.
30
-
31
- <a name="roadmap"></a>
32
- # Roadmap
33
-
34
- If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-crud-server/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-crud-server/pulls). We would love to hear your feedback.
35
-
36
-
37
- <a name="about"></a>
38
- # About
39
-
40
- CoCreate-crud-server is guided and supported by the CoCreate Developer Experience Team.
41
-
42
- Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
43
-
44
- CoCreate-crud-server is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
45
-
46
- <a name="contribute"></a>
47
- # How to Contribute
48
-
49
- We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-crud-server/blob/master/CONTRIBUTING.md) guide for details.
50
-
51
- <a name="license"></a>
52
- # Dual License
53
- ## Open Source
54
- [Server Side Public License (SSPL)](https://github.com/CoCreate-app/CoCreate-crud-server/blob/master/LICENSE)
55
-
56
- ## Commercial
57
- For-profit companies and individuals intending to use CoCreate-crud-server for
58
- commercial use must purchase a commercial license. This license allows
59
- source code modifications, but does not permit redistribution of
60
- modifications.
61
-
62
- The commercial license is designed for you to use CoCreate-crud-server in commercial
63
- products and applications, without the provisions of the SSPL. With the
64
- commercial license, your code is kept propietary, to yourself. If you
65
- want to use CoCreate-crud-server to develop commercial sites, themes, projects, and
66
- applications, the commercial license is the appropriate license.
1
+ # CoCreate-crud-server
2
+ A simple boilerplate component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/boilerplate)
3
+
4
+ ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-crud-server?style=flat-square)
5
+ ![GitHub contributors](https://img.shields.io/github/contributors/CoCreate-app/CoCreate-crud-server?style=flat-square)
6
+ ![License](https://img.shields.io/static/v1?style=flat-square&label=license&message=SSPL&color=green)
7
+ ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
8
+
9
+ ![CoCreate](https://cdn.cocreate.app/logo.png)
10
+
11
+ [CoCreate Docs](https://cocreate.app/docs/boilerplate)
12
+
13
+ We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/issues) and [pull requests](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/pulls) or merely upvote or comment on existing issues or pull requests.
14
+
15
+ We appreciate your continued support, thank you!
16
+
17
+ # Table of Contents
18
+
19
+ - [Table of Contents](#table-of-contents)
20
+ - [Announcements](#announcements)
21
+ - [Roadmap](#roadmap)
22
+ - [How to Contribute](#how-to-contribute)
23
+ - [About](#about)
24
+ - [License](#license)
25
+
26
+ <a name="announcements"></a>
27
+ # Announcements
28
+
29
+ All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-crud-server/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-crud-server/releases). You may also subscribe to email for releases and breaking changes.
30
+
31
+ <a name="roadmap"></a>
32
+ # Roadmap
33
+
34
+ If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-crud-server/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-crud-server/pulls). We would love to hear your feedback.
35
+
36
+
37
+ <a name="about"></a>
38
+ # About
39
+
40
+ CoCreate-crud-server is guided and supported by the CoCreate Developer Experience Team.
41
+
42
+ Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
43
+
44
+ CoCreate-crud-server is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
45
+
46
+ <a name="contribute"></a>
47
+ # How to Contribute
48
+
49
+ We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-crud-server/blob/master/CONTRIBUTING.md) guide for details.
50
+
51
+ <a name="license"></a>
52
+ # Dual License
53
+ ## Open Source
54
+ [Server Side Public License (SSPL)](https://github.com/CoCreate-app/CoCreate-crud-server/blob/master/LICENSE)
55
+
56
+ ## Commercial
57
+ For-profit companies and individuals intending to use CoCreate-crud-server for
58
+ commercial use must purchase a commercial license. This license allows
59
+ source code modifications, but does not permit redistribution of
60
+ modifications.
61
+
62
+ The commercial license is designed for you to use CoCreate-crud-server in commercial
63
+ products and applications, without the provisions of the SSPL. With the
64
+ commercial license, your code is kept propietary, to yourself. If you
65
+ want to use CoCreate-crud-server to develop commercial sites, themes, projects, and
66
+ applications, the commercial license is the appropriate license.
package/docs/index.html CHANGED
@@ -1,101 +1,229 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width, initial-scale=1">
7
- <title>CoCreate-crud-server Documentation | CoCreateJS </title>
8
- <link rel="icon" type="image/png" sizes="32x32" href="https://cocreate.app/images/favicon.ico">
9
- <meta name="description" content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
10
- <meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <title>CoCreate-crud-server Documentation | CoCreateJS</title>
8
+ <link
9
+ rel="icon"
10
+ type="image/png"
11
+ sizes="32x32"
12
+ href="https://cocreate.app/images/favicon.ico" />
13
+ <meta
14
+ name="description"
15
+ content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
16
+ <meta
17
+ name="keywords"
18
+ content="helper classes, utility classes, css framework, css library, inline style classes" />
11
19
  <meta name="robots" content="index,follow" />
12
-
20
+
13
21
  <!-- CoCreate CSS -->
14
- <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
15
-
22
+ <link
23
+ rel="stylesheet"
24
+ href="https://cdn.cocreate.app/latest/CoCreate.min.css"
25
+ type="text/css" />
16
26
  </head>
17
27
 
18
28
  <body>
19
29
  <div collection="" document_id="" name="" id="cocreate-crud-server">
20
- <div class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
30
+ <div
31
+ class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
21
32
  <div class="display:flex align-items:center">
22
33
  <h2>CoCreate-crud-server</h2>
23
34
  </div>
24
- <div class="display:flex align-items:center font-size:20px" share-height="600" share-width="500" share-media="https://via.placeholder.com/300/09f/fff.png">
25
- <a href="https://github.com/CoCreate-app/CoCreate-crud-server" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
26
- <a class="margin-right:15px share" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
27
- <a class="margin-right:15px share" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
28
- <a class="margin-right:15px share" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
29
- <a class="margin-right:15px share" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
35
+ <div
36
+ class="display:flex align-items:center font-size:20px"
37
+ share-height="600"
38
+ share-width="500"
39
+ share-media="https://via.placeholder.com/300/09f/fff.png">
40
+ <a
41
+ href="https://github.com/CoCreate-app/CoCreate-crud-server"
42
+ target="_blank"
43
+ class="margin-right:15px"
44
+ ><i class="fab fa-github"></i
45
+ ></a>
46
+ <a
47
+ class="margin-right:15px share"
48
+ share-network="twitter"
49
+ title="Share on twitter"
50
+ ><i class="fab fa-twitter"></i
51
+ ></a>
52
+ <a
53
+ class="margin-right:15px share"
54
+ share-network="facebook"
55
+ title="Share on Facebook"
56
+ ><i class="fab fa-facebook"></i
57
+ ></a>
58
+ <a
59
+ class="margin-right:15px share"
60
+ share-network="instagram"
61
+ title="Share on instagram"
62
+ ><i class="fab fa-instagram"></i
63
+ ></a>
64
+ <a
65
+ class="margin-right:15px share"
66
+ share-network="share"
67
+ title="Share on share"
68
+ ><i class="fas fa-share-alt"></i
69
+ ></a>
30
70
  </div>
31
71
  </div>
32
- <p class="max-width:500px margin:20px_10px">A simple HTML5, CSS and pure javascript component. Easy configuration using data-attributes and highly styleable.</h1>
72
+ <h1 class="max-width:500px margin:20px_10px">
73
+ A simple HTML5, CSS and pure javascript component. Easy
74
+ configuration using data-attributes and highly styleable.
75
+ </h1>
33
76
  <div id="crud-server-section" class="display:flex flex-wrap:wrap">
34
- <div class="flex-grow:1 min-width:300px width:50% padding:20px_10px">
35
- <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Install</h2>
36
- <pre class="margin-top:15px"><code class="language-javascript">npm install cocreate-crud-server</code></pre>
77
+ <div
78
+ class="flex-grow:1 min-width:300px width:50% padding:20px_10px">
79
+ <h2
80
+ class="border-bottom:1px_solid_lightgrey padding:5px_0px">
81
+ Install
82
+ </h2>
83
+ <pre
84
+ class="margin-top:15px"><code class="language-javascript">npm install cocreate-crud-server</code></pre>
37
85
  <p class="padding:10px_0px">Or you can use cdn link:</p>
38
86
  <pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-crud-server.min.js</code></pre>
39
-
40
- <h2 class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">Usage</h2>
87
+
88
+ <h2
89
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
90
+ Usage
91
+ </h2>
41
92
  <p class="padding:10px_0px">crud-server usage content</p>
42
93
  <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
43
-
44
- <h2 class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">Reference</h2>
45
- <p class="padding:10px_0px">This is crud-server reference content</p>
94
+
95
+ <h2
96
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
97
+ Reference
98
+ </h2>
99
+ <p class="padding:10px_0px">
100
+ This is crud-server reference content
101
+ </p>
46
102
  <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
47
- <p class="padding:10px_0px">This is crud-server reference content</p>
103
+ <p class="padding:10px_0px">
104
+ This is crud-server reference content
105
+ </p>
48
106
 
49
- <h2 class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">Attributes</h2>
50
- <ul class="list-style-type:none ">
51
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
52
- <h4><span>crud-server</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
107
+ <h2
108
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
109
+ Attributes
110
+ </h2>
111
+ <ul class="list-style-type:none">
112
+ <li
113
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
114
+ <h4>
115
+ <span>crud-server</span>
116
+ <span class="cocreate-badge success"
117
+ >string</span
118
+ >
119
+ <span class="cocreate-badge warning"
120
+ >optional</span
121
+ >
122
+ </h4>
53
123
  <p>crud-server-attribute</p>
54
124
  </li>
55
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
56
- <h4><span>crud-server</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
125
+ <li
126
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
127
+ <h4>
128
+ <span>crud-server</span>
129
+ <span class="cocreate-badge success"
130
+ >string</span
131
+ >
132
+ <span class="cocreate-badge warning"
133
+ >optional</span
134
+ >
135
+ </h4>
57
136
  <p>crud-server-attribute</p>
58
137
  </li>
59
138
  </ul>
60
139
  </div>
61
-
62
- <div class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
63
- <!-- SandBox -->
64
- <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
65
-
66
- <div id="demo-code" resizable class="position:relative height:50%">
67
- <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>
68
- <div resize="bottom" class="background:lightgrey"></div>
69
- </div>
70
-
71
- <div id="demo-preview" class="position:relative overflow:auto background-color:white">
72
- <div get-value="#demo" class="padding:20px"></div>
73
- </div>
74
-
75
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
76
- <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>
77
- <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>
78
- <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
79
- <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
80
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
81
- </div>
82
-
140
+
141
+ <div
142
+ class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
143
+ <!-- SandBox -->
144
+ <div
145
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
146
+ id="playground">
147
+ <div
148
+ id="demo-code"
149
+ resizable
150
+ class="position:relative height:50%">
151
+ <textarea
152
+ type="code"
153
+ lang="html"
154
+ collection="demos"
155
+ document_id=""
156
+ name="demo"
157
+ save="false"
158
+ id="demo"
159
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
160
+ <div
161
+ resize="bottom"
162
+ class="background:lightgrey"></div>
163
+ </div>
164
+
165
+ <div
166
+ id="demo-preview"
167
+ class="position:relative overflow:auto background-color:white">
168
+ <div get-value="#demo" class="padding:20px"></div>
169
+ </div>
170
+
171
+ <div
172
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
173
+ <a
174
+ class="margin-right:10px"
175
+ id="eye"
176
+ show="#eye-slash"
177
+ hide="#eye, #demo-preview"
178
+ toggle="code-height"
179
+ toggle-target="#demo-code"
180
+ ><i class="far fa-eye"></i
181
+ ></a>
182
+ <a
183
+ class="margin-right:10px"
184
+ hidden
185
+ id="eye-slash"
186
+ show="#eye, #demo-preview"
187
+ hide="#eye-slash"
188
+ toggle="code-height"
189
+ toggle-target="#demo-code"
190
+ ><i class="fas fa-eye-slash"></i
191
+ ></a>
192
+ <a
193
+ class="margin-right:10px"
194
+ id="code"
195
+ show="#code-slash"
196
+ hide="#code, #demo-code"
197
+ ><i class="fa fa-code"></i
198
+ ></a>
199
+ <a
200
+ class="margin-right:10px"
201
+ hidden
202
+ id="code-slash"
203
+ show="#code, #demo-code"
204
+ hide="#code-slash"
205
+ ><i class="fas fa-code"></i
206
+ ></a>
207
+ <a
208
+ class="margin-right:5px"
209
+ fullscreen
210
+ target="#playground"
211
+ ><i class="fas fa-expand"></i
212
+ ></a>
83
213
  </div>
84
- <!-- End SandBox -->
85
- </div>
214
+ </div>
215
+ <!-- End SandBox -->
86
216
  </div>
87
-
88
- </div>
217
+ </div>
89
218
  </div>
90
219
  <script>
91
220
  var CoCreateConfig = {
92
- key: '2061acef-0451-4545-f754-60cf8160',
93
- organization_id: '5ff747727005da1c272740ab'
94
- }
221
+ key: "2061acef-0451-4545-f754-60cf8160",
222
+ organization_id: "5ff747727005da1c272740ab",
223
+ };
95
224
  </script>
96
-
225
+
97
226
  <!--CoCreateJS-->
98
227
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
99
-
100
228
  </body>
101
- </html>
229
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/crud-server",
3
- "version": "1.22.0",
3
+ "version": "1.22.2",
4
4
  "description": "CoCreate-crud-server",
5
5
  "keywords": [
6
6
  "cocreate-crud",
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "homepage": "https://cocreate.app/docs/CoCreate-crud-server",
42
42
  "dependencies": {
43
- "@cocreate/docs": "^1.7.11",
44
- "@cocreate/utils": "^1.20.9",
43
+ "@cocreate/docs": "^1.7.13",
44
+ "@cocreate/utils": "^1.20.10",
45
45
  "csvtojson": "^2.0.10",
46
46
  "json-2-csv": "^3.10.3"
47
47
  }
package/release.config.js CHANGED
@@ -1,22 +1,22 @@
1
- module.exports = {
2
- dryRun: false,
3
- branches: ["master"],
4
- plugins: [
5
- "@semantic-release/commit-analyzer",
6
- "@semantic-release/release-notes-generator",
7
- [
8
- "@semantic-release/changelog",
9
- {
10
- changelogFile: "CHANGELOG.md",
11
- },
12
- ],
13
- "@semantic-release/npm",
14
- "@semantic-release/github",
15
- [
16
- "@semantic-release/git",
17
- {
18
- assets: ["CHANGELOG.md", "package.json"],
19
- },
20
- ],
21
- ],
1
+ module.exports = {
2
+ dryRun: false,
3
+ branches: ["master"],
4
+ plugins: [
5
+ "@semantic-release/commit-analyzer",
6
+ "@semantic-release/release-notes-generator",
7
+ [
8
+ "@semantic-release/changelog",
9
+ {
10
+ changelogFile: "CHANGELOG.md",
11
+ },
12
+ ],
13
+ "@semantic-release/npm",
14
+ "@semantic-release/github",
15
+ [
16
+ "@semantic-release/git",
17
+ {
18
+ assets: ["CHANGELOG.md", "package.json"],
19
+ },
20
+ ],
21
+ ],
22
22
  };