pawajs 1.4.17 → 1.4.19
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 +1 -1
- package/index.js +2 -0
- package/normal/component.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,4 +6,4 @@ CHANGELOG.md
|
|
|
6
6
|
+ version 1.4.11 - added more event modifiers
|
|
7
7
|
+ version 1.4.12 - fixed pluginsMap pawaAttribute to pawa-ssr 1.3.3
|
|
8
8
|
+ version 1.4.13 - 1.4.16 fixed issues for resuming component
|
|
9
|
-
+ version 1.4.18 fixed issue with component inside template and added event modifiers
|
|
9
|
+
+ version 1.4.18 - 1.4.19 fixed issue with component inside template and added event modifiers
|
package/index.js
CHANGED
|
@@ -336,6 +336,7 @@ let stateContext = {
|
|
|
336
336
|
_template: '',
|
|
337
337
|
_serializedData:{},
|
|
338
338
|
_static: [],
|
|
339
|
+
_id:""
|
|
339
340
|
}
|
|
340
341
|
|
|
341
342
|
export const getCurrentContext = () => {
|
|
@@ -1233,6 +1234,7 @@ export const render = (el, contexts = {}, notRender, isName) => {
|
|
|
1233
1234
|
number.index = isIndex
|
|
1234
1235
|
isIndex++
|
|
1235
1236
|
if (number.notRender !== null && isIndex <= number.notRender) return
|
|
1237
|
+
if (child.hasAttribute('by'))return
|
|
1236
1238
|
render(child, context, number, isName)
|
|
1237
1239
|
})
|
|
1238
1240
|
el._callMount()
|
package/normal/component.js
CHANGED
|
@@ -178,7 +178,7 @@ export const normal_component=(el,stateContext,setStateContext,mapsPlugin,former
|
|
|
178
178
|
|
|
179
179
|
if (child !== null ) {
|
|
180
180
|
if (child) {
|
|
181
|
-
endComment.parentElement
|
|
181
|
+
endComment.parentElement?.insertBefore(child, endComment)
|
|
182
182
|
|
|
183
183
|
stateContexts?._error?.forEach((error) => {
|
|
184
184
|
throw Error(error)
|