@cocreate/elements 1.13.15 → 1.13.17
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 +15 -0
- package/package.json +7 -7
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.13.17](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.16...v1.13.17) (2022-12-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([86869d5](https://github.com/CoCreate-app/CoCreate-elements/commit/86869d52f986bd8b7eeb40ca3f82781e543ebe93))
|
|
7
|
+
|
|
8
|
+
## [1.13.16](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.15...v1.13.16) (2022-12-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* bump @cocreate/crud-client ([fdca75a](https://github.com/CoCreate-app/CoCreate-elements/commit/fdca75a85287a2953c820b8054704d73794914a8))
|
|
14
|
+
* crud.getValueFromObject ([027c24a](https://github.com/CoCreate-app/CoCreate-elements/commit/027c24a13c87c4c54ff7b1ae4ec84c9f38dc57ba))
|
|
15
|
+
|
|
1
16
|
## [1.13.15](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.14...v1.13.15) (2022-12-02)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/elements",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.17",
|
|
4
4
|
"description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"elements",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"webpack-log": "^3.0.1"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@cocreate/actions": "^1.5.
|
|
65
|
-
"@cocreate/crud-client": "^1.15.
|
|
66
|
-
"@cocreate/docs": "^1.4.
|
|
67
|
-
"@cocreate/element-prototype": "^1.1.
|
|
68
|
-
"@cocreate/observer": "^1.5.
|
|
69
|
-
"@cocreate/utils": "^1.13.
|
|
64
|
+
"@cocreate/actions": "^1.5.29",
|
|
65
|
+
"@cocreate/crud-client": "^1.15.12",
|
|
66
|
+
"@cocreate/docs": "^1.4.13",
|
|
67
|
+
"@cocreate/element-prototype": "^1.1.16",
|
|
68
|
+
"@cocreate/observer": "^1.5.33",
|
|
69
|
+
"@cocreate/utils": "^1.13.1"
|
|
70
70
|
}
|
|
71
71
|
}
|
package/src/index.js
CHANGED
|
@@ -139,7 +139,7 @@ function setData(elements, data) {
|
|
|
139
139
|
value = JSON.stringify(data.document[0][name])
|
|
140
140
|
value = decodeURIComponent(value)
|
|
141
141
|
} else
|
|
142
|
-
value = crud.
|
|
142
|
+
value = crud.getValueFromObject(data.document[0], name);
|
|
143
143
|
|
|
144
144
|
el.setValue(value);
|
|
145
145
|
|