@cocreate/indexeddb 1.10.19 → 1.11.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/CHANGELOG.md +27 -0
- package/CoCreate.config.js +2 -2
- package/LICENSE +683 -21
- package/docs/index.html +9 -15
- package/package.json +4 -6
- package/src/index.js +449 -892
- package/test/collections.js +13 -9
- package/test/databases.js +9 -6
- package/test/documents.js +26 -22
- package/test/index.html +1 -1
- package/test/indexes.js +7 -7
- package/webpack.config.js +79 -73
package/docs/index.html
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
sizes="32x32"
|
|
12
12
|
href="https://cocreate.app/images/favicon.ico" />
|
|
13
13
|
<meta
|
|
14
|
-
|
|
14
|
+
key="description"
|
|
15
15
|
content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
|
|
16
16
|
<meta
|
|
17
|
-
|
|
17
|
+
key="keywords"
|
|
18
18
|
content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
19
19
|
<meta name="robots" content="index,follow" />
|
|
20
20
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</head>
|
|
29
29
|
|
|
30
30
|
<body>
|
|
31
|
-
<div
|
|
31
|
+
<div array="" object="" key="" id="cocreate-indexeddb">
|
|
32
32
|
<div
|
|
33
33
|
class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
|
|
34
34
|
<div class="display:flex align-items:center">
|
|
@@ -169,9 +169,9 @@
|
|
|
169
169
|
<textarea
|
|
170
170
|
type="code"
|
|
171
171
|
lang="html"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
array="demos"
|
|
173
|
+
object=""
|
|
174
|
+
key="demo"
|
|
175
175
|
save="false"
|
|
176
176
|
id="demo"
|
|
177
177
|
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
show="#eye-slash"
|
|
195
195
|
hide="#eye, #demo-preview"
|
|
196
196
|
toggle="code-height"
|
|
197
|
-
toggle-
|
|
197
|
+
toggle-selector="#demo-code"
|
|
198
198
|
><i
|
|
199
199
|
class="height:18px fill:#505050"
|
|
200
200
|
src="/assets/svg/eye.svg"></i
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
show="#eye, #demo-preview"
|
|
207
207
|
hide="#eye-slash"
|
|
208
208
|
toggle="code-height"
|
|
209
|
-
toggle-
|
|
209
|
+
toggle-selector="#demo-code"
|
|
210
210
|
><i
|
|
211
211
|
class="height:20px fill:#505050"
|
|
212
212
|
src="/assets/svg/eye-slash.svg"></i
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
<a
|
|
234
234
|
class="margin-right:5px"
|
|
235
235
|
fullscreen
|
|
236
|
-
fullscreen-
|
|
236
|
+
fullscreen-selector="#playground"></a>
|
|
237
237
|
</div>
|
|
238
238
|
</div>
|
|
239
239
|
<!-- End SandBox -->
|
|
@@ -241,12 +241,6 @@
|
|
|
241
241
|
</div>
|
|
242
242
|
</div>
|
|
243
243
|
</div>
|
|
244
|
-
<script>
|
|
245
|
-
var CoCreateConfig = {
|
|
246
|
-
key: "2061acef-0451-4545-f754-60cf8160",
|
|
247
|
-
organization_id: "5ff747727005da1c272740ab",
|
|
248
|
-
};
|
|
249
|
-
</script>
|
|
250
244
|
|
|
251
245
|
<!--CoCreateJS-->
|
|
252
246
|
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/indexeddb",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "A simple indexeddb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"indexeddb",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"start": "npx webpack --config webpack.config.js",
|
|
28
|
-
"build": "
|
|
28
|
+
"build": "npx webpack --mode=production --config webpack.config.js",
|
|
29
29
|
"dev": "npx webpack --config webpack.config.js --watch",
|
|
30
30
|
"postinstall": "node -e \"const { execSync } = require('child_process'); try { execSync('coc --version', { stdio: 'ignore' }); } catch (error) { try { execSync('npm install -g @cocreate/cli', { stdio: 'inherit' }); console.log('Installed \"@cocreate/cli\" globally.'); } catch (error) { console.error('Failed to install \"@cocreate/cli\" globally:', error); } }\""
|
|
31
31
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"url": "git+https://github.com/CoCreate-app/CoCreate-indexeddb.git"
|
|
35
35
|
},
|
|
36
36
|
"author": "CoCreate LLC",
|
|
37
|
-
"license": "
|
|
37
|
+
"license": "AGPL-3.0",
|
|
38
38
|
"bugs": {
|
|
39
39
|
"url": "https://github.com/CoCreate-app/CoCreate-indexeddb/issues"
|
|
40
40
|
},
|
|
@@ -58,8 +58,6 @@
|
|
|
58
58
|
"webpack-log": "^3.0.1"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@cocreate/
|
|
62
|
-
"@cocreate/utils": "^1.21.14",
|
|
63
|
-
"@cocreate/uuid": "^1.4.26"
|
|
61
|
+
"@cocreate/utils": "^1.21.16"
|
|
64
62
|
}
|
|
65
63
|
}
|