@cocreate/render 1.24.10 → 1.24.12
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 +14 -0
- package/package.json +7 -7
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.24.12](https://github.com/CoCreate-app/CoCreate-render/compare/v1.24.11...v1.24.12) (2023-05-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* updated dependencies to their latest versions ([1fdc00f](https://github.com/CoCreate-app/CoCreate-render/commit/1fdc00f07b69c27db0e2839246818be7881f727e))
|
|
7
|
+
|
|
8
|
+
## [1.24.11](https://github.com/CoCreate-app/CoCreate-render/compare/v1.24.10...v1.24.11) (2023-05-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update packages to latest version. This commit updates various packages in the dependencies section of the package.json file to their latest published versions, thereby fixing multiple bugs and improving overall performance. ([dfc738c](https://github.com/CoCreate-app/CoCreate-render/commit/dfc738c0eee474f8c3e69ab176191eff523fee32))
|
|
14
|
+
|
|
1
15
|
## [1.24.10](https://github.com/CoCreate-app/CoCreate-render/compare/v1.24.9...v1.24.10) (2023-05-10)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/render",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.12",
|
|
4
4
|
"description": "A simple render component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"render",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"webpack-log": "^3.0.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cocreate/actions": "^1.8.
|
|
63
|
-
"@cocreate/api": "^1.10.
|
|
64
|
-
"@cocreate/docs": "^1.7.
|
|
65
|
-
"@cocreate/element-prototype": "^1.8.
|
|
66
|
-
"@cocreate/observer": "^1.7.
|
|
67
|
-
"@cocreate/utils": "^1.20.
|
|
62
|
+
"@cocreate/actions": "^1.8.11",
|
|
63
|
+
"@cocreate/api": "^1.10.11",
|
|
64
|
+
"@cocreate/docs": "^1.7.11",
|
|
65
|
+
"@cocreate/element-prototype": "^1.8.11",
|
|
66
|
+
"@cocreate/observer": "^1.7.9",
|
|
67
|
+
"@cocreate/utils": "^1.20.9"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/src/index.js
CHANGED
|
@@ -295,7 +295,7 @@ const CoCreateRender = {
|
|
|
295
295
|
else
|
|
296
296
|
attrValue = that.__replaceValue(data, attrValue, renderKey, el);
|
|
297
297
|
|
|
298
|
-
//
|
|
298
|
+
// TODO: support attibute name replace if has {{}}
|
|
299
299
|
// attr_name = that.__replaceValue(data, attr_name, renderKey, el);
|
|
300
300
|
|
|
301
301
|
if (attrValue || attrValue == "") {
|
|
@@ -418,7 +418,7 @@ const CoCreateRender = {
|
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
function renderKey(element, params) {
|
|
421
|
-
//
|
|
421
|
+
// TODO: custom render-keys
|
|
422
422
|
const form = element.closest("form") || document;
|
|
423
423
|
if (!params)
|
|
424
424
|
params = 'render-key'
|