Skip to content

Commit

Permalink
Update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE authored and github-actions[bot] committed Feb 25, 2025
1 parent 0a378c1 commit 8d6b15c
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 28 deletions.
14 changes: 8 additions & 6 deletions priv/static/phoenix_live_view.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions priv/static/phoenix_live_view.cjs.js.map

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions priv/static/phoenix_live_view.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions priv/static/phoenix_live_view.esm.js.map

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions priv/static/phoenix_live_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2217,6 +2217,9 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
dom_default.applyStickyOperations(fromEl);
return false;
}
if (this.undoRef && dom_default.private(toEl, PHX_REF_LOCK)) {
dom_default.putPrivate(fromEl, PHX_REF_LOCK, dom_default.private(toEl, PHX_REF_LOCK));
}
dom_default.copyPrivates(toEl, fromEl);
if (isFocusedFormEl && fromEl.type !== "hidden" && !focusedSelectChanged) {
this.trackBefore("updated", fromEl, toEl);
Expand Down Expand Up @@ -2262,12 +2265,8 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
});
if (isJoinPatch) {
dom_default.all(this.container, `[${phxUpdate}=${PHX_STREAM}]`, (el) => {
this.liveSocket.owner(el, (view2) => {
if (view2 === this.view) {
Array.from(el.children).forEach((child) => {
this.removeStreamChildElement(child);
});
}
Array.from(el.children).forEach((child) => {
this.removeStreamChildElement(child);
});
});
}
Expand Down Expand Up @@ -2313,6 +2312,9 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
}
}
removeStreamChildElement(child) {
if (!this.view.ownsElement(child)) {
return;
}
if (this.streamInserts[child.id]) {
this.streamComponentRestore[child.id] = child;
child.remove();
Expand Down
8 changes: 4 additions & 4 deletions priv/static/phoenix_live_view.min.js

Large diffs are not rendered by default.

0 comments on commit 8d6b15c

Please sign in to comment.