@cocreate/utils 1.20.10 → 1.21.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/.github/FUNDING.yml +3 -3
- package/.github/workflows/automated.yml +95 -95
- package/.github/workflows/manual.yml +44 -44
- package/CHANGELOG.md +1489 -1470
- package/CoCreate.config.js +26 -26
- package/LICENSE +21 -21
- package/README.md +85 -85
- package/demo/index.html +23 -18
- package/docs/index.html +361 -138
- package/package.json +64 -64
- package/release.config.js +21 -21
- package/src/archive.js +495 -495
- package/src/index.js +13 -13
- package/src/utils.js +606 -608
- package/webpack.config.js +84 -84
package/CoCreate.config.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
"config": {
|
|
3
|
-
"organization_id": "5ff747727005da1c272740ab",
|
|
4
|
-
"key": "2061acef-0451-4545-f754-60cf8160",
|
|
5
|
-
"host": "general.cocreate.app"
|
|
6
|
-
},
|
|
7
|
-
"sources": [
|
|
8
|
-
{
|
|
9
|
-
"collection": "files",
|
|
10
|
-
"document": {
|
|
11
|
-
"_id": "6143fc94829b690010a5f339",
|
|
12
|
-
"name": "index.html",
|
|
13
|
-
"path": "/docs/utils/index.html",
|
|
14
|
-
"src": "{{./docs/index.html}}",
|
|
15
|
-
"hosts": [
|
|
16
|
-
"*",
|
|
17
|
-
"general.cocreate.app"
|
|
18
|
-
],
|
|
19
|
-
"directory": "/docs/utils",
|
|
20
|
-
"parentDirectory": "{{parentDirectory}}",
|
|
21
|
-
"content-type": "{{content-type}}",
|
|
22
|
-
"public": "true",
|
|
23
|
-
"website_id": "644d4bff8036fb9d1d1fd69c"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
]
|
|
1
|
+
module.exports = {
|
|
2
|
+
"config": {
|
|
3
|
+
"organization_id": "5ff747727005da1c272740ab",
|
|
4
|
+
"key": "2061acef-0451-4545-f754-60cf8160",
|
|
5
|
+
"host": "general.cocreate.app"
|
|
6
|
+
},
|
|
7
|
+
"sources": [
|
|
8
|
+
{
|
|
9
|
+
"collection": "files",
|
|
10
|
+
"document": {
|
|
11
|
+
"_id": "6143fc94829b690010a5f339",
|
|
12
|
+
"name": "index.html",
|
|
13
|
+
"path": "/docs/utils/index.html",
|
|
14
|
+
"src": "{{./docs/index.html}}",
|
|
15
|
+
"hosts": [
|
|
16
|
+
"*",
|
|
17
|
+
"general.cocreate.app"
|
|
18
|
+
],
|
|
19
|
+
"directory": "/docs/utils",
|
|
20
|
+
"parentDirectory": "{{parentDirectory}}",
|
|
21
|
+
"content-type": "{{content-type}}",
|
|
22
|
+
"public": "true",
|
|
23
|
+
"website_id": "644d4bff8036fb9d1d1fd69c"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
27
|
}
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 CoCreate LLC
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 CoCreate LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
# CoCreate-utils
|
|
2
|
-
|
|
3
|
-
A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/utils)
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-

|
|
9
|
-

|
|
10
|
-

|
|
11
|
-
|
|
12
|
-

|
|
13
|
-
|
|
14
|
-
## [Docs & Demo](https://cocreate.app/docs/utils)
|
|
15
|
-
|
|
16
|
-
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/utils)
|
|
17
|
-
|
|
18
|
-
## CDN
|
|
19
|
-
|
|
20
|
-
```html
|
|
21
|
-
<script src="https://cdn.cocreate.app/utils/latest/CoCreate-utils.min.js"></script>
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
```html
|
|
25
|
-
<script src="https://cdn.cocreate.app/utils/latest/CoCreate-utils.min.css"></script>
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## NPM
|
|
29
|
-
|
|
30
|
-
```shell
|
|
31
|
-
$ npm i @cocreate/utils
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## yarn
|
|
35
|
-
|
|
36
|
-
```shell
|
|
37
|
-
$ yarn install @cocreate/utils
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
# Table of Contents
|
|
41
|
-
|
|
42
|
-
- [Table of Contents](#table-of-contents)
|
|
43
|
-
- [Announcements](#announcements)
|
|
44
|
-
- [Roadmap](#roadmap)
|
|
45
|
-
- [How to Contribute](#how-to-contribute)
|
|
46
|
-
- [About](#about)
|
|
47
|
-
- [License](#license)
|
|
48
|
-
|
|
49
|
-
<a name="announcements"></a>
|
|
50
|
-
|
|
51
|
-
# Announcements
|
|
52
|
-
|
|
53
|
-
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-utils/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-utils/releases). You may also subscribe to email for releases and breaking changes.
|
|
54
|
-
|
|
55
|
-
<a name="roadmap"></a>
|
|
56
|
-
|
|
57
|
-
# Roadmap
|
|
58
|
-
|
|
59
|
-
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-utils/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-utils/pulls). We would love to hear your feedback.
|
|
60
|
-
|
|
61
|
-
<a name="about"></a>
|
|
62
|
-
|
|
63
|
-
# About
|
|
64
|
-
|
|
65
|
-
CoCreate-utils is guided and supported by the CoCreate Developer Experience Team.
|
|
66
|
-
|
|
67
|
-
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
|
68
|
-
|
|
69
|
-
CoCreate-utils is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
|
70
|
-
|
|
71
|
-
<a name="contribute"></a>
|
|
72
|
-
|
|
73
|
-
# How to Contribute
|
|
74
|
-
|
|
75
|
-
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-utils/blob/master/CONTRIBUTING.md) guide for details.
|
|
76
|
-
|
|
77
|
-
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/CoCreate-utils/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-utils/pulls) or merely upvote or comment on existing issues or pull requests.
|
|
78
|
-
|
|
79
|
-
We appreciate your continued support, thank you!
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<a name="license"></a>
|
|
83
|
-
# License
|
|
84
|
-
|
|
85
|
-
[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-utils/blob/master/LICENSE)
|
|
1
|
+
# CoCreate-utils
|
|
2
|
+
|
|
3
|
+
A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/utils)
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
9
|
+

|
|
10
|
+

|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
## [Docs & Demo](https://cocreate.app/docs/utils)
|
|
15
|
+
|
|
16
|
+
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/utils)
|
|
17
|
+
|
|
18
|
+
## CDN
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<script src="https://cdn.cocreate.app/utils/latest/CoCreate-utils.min.js"></script>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<script src="https://cdn.cocreate.app/utils/latest/CoCreate-utils.min.css"></script>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## NPM
|
|
29
|
+
|
|
30
|
+
```shell
|
|
31
|
+
$ npm i @cocreate/utils
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## yarn
|
|
35
|
+
|
|
36
|
+
```shell
|
|
37
|
+
$ yarn install @cocreate/utils
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
# Table of Contents
|
|
41
|
+
|
|
42
|
+
- [Table of Contents](#table-of-contents)
|
|
43
|
+
- [Announcements](#announcements)
|
|
44
|
+
- [Roadmap](#roadmap)
|
|
45
|
+
- [How to Contribute](#how-to-contribute)
|
|
46
|
+
- [About](#about)
|
|
47
|
+
- [License](#license)
|
|
48
|
+
|
|
49
|
+
<a name="announcements"></a>
|
|
50
|
+
|
|
51
|
+
# Announcements
|
|
52
|
+
|
|
53
|
+
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-utils/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-utils/releases). You may also subscribe to email for releases and breaking changes.
|
|
54
|
+
|
|
55
|
+
<a name="roadmap"></a>
|
|
56
|
+
|
|
57
|
+
# Roadmap
|
|
58
|
+
|
|
59
|
+
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-utils/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-utils/pulls). We would love to hear your feedback.
|
|
60
|
+
|
|
61
|
+
<a name="about"></a>
|
|
62
|
+
|
|
63
|
+
# About
|
|
64
|
+
|
|
65
|
+
CoCreate-utils is guided and supported by the CoCreate Developer Experience Team.
|
|
66
|
+
|
|
67
|
+
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
|
68
|
+
|
|
69
|
+
CoCreate-utils is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
|
70
|
+
|
|
71
|
+
<a name="contribute"></a>
|
|
72
|
+
|
|
73
|
+
# How to Contribute
|
|
74
|
+
|
|
75
|
+
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-utils/blob/master/CONTRIBUTING.md) guide for details.
|
|
76
|
+
|
|
77
|
+
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/CoCreate-utils/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-utils/pulls) or merely upvote or comment on existing issues or pull requests.
|
|
78
|
+
|
|
79
|
+
We appreciate your continued support, thank you!
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
<a name="license"></a>
|
|
83
|
+
# License
|
|
84
|
+
|
|
85
|
+
[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-utils/blob/master/LICENSE)
|
package/demo/index.html
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
</
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Utils | CoCreateJS</title>
|
|
5
|
+
|
|
6
|
+
<!-- CoCreate Favicon -->
|
|
7
|
+
<link
|
|
8
|
+
rel="icon"
|
|
9
|
+
href="https://cdn.cocreate.app/favicon.ico"
|
|
10
|
+
type="image/ico"
|
|
11
|
+
sizes="16x16" />
|
|
12
|
+
<!-- CoCreate CSS CDN -->
|
|
13
|
+
<link
|
|
14
|
+
rel="stylesheet"
|
|
15
|
+
href="https://cdn.cocreate.app/action/latest/CoCreate-action.min.css"
|
|
16
|
+
type="text/css" />
|
|
17
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<!--<script src="../dist/CoCreate-utils.js"></script>-->
|
|
21
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|