bwin 0.4.0 → 0.4.1
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/dist/bwin.js +3 -8
- package/package.json +1 -1
package/dist/bwin.js
CHANGED
|
@@ -878,12 +878,7 @@ var de = {
|
|
|
878
878
|
width: o,
|
|
879
879
|
height: s
|
|
880
880
|
}), l = n.getAttribute("sash-id"), u = t.rootSash.getById(l), d = u.parent.getChildSiblingById(l).id;
|
|
881
|
-
|
|
882
|
-
else {
|
|
883
|
-
let e = document.createElement("bw-glass-title");
|
|
884
|
-
c.headerElement.prepend(e), e.replaceWith(i);
|
|
885
|
-
}
|
|
886
|
-
t.removePane(l);
|
|
881
|
+
c.domNode.bwOriginalSiblingSashId = d, c.domNode.bwOriginalPosition = n.getAttribute("position"), c.domNode.bwOriginalRelativeSize = u.getRelativeSize(), c.contentElement.replaceWith(r), c.titleElement.replaceWith(i), t.removePane(l);
|
|
887
882
|
}
|
|
888
883
|
}, V = [
|
|
889
884
|
L,
|
|
@@ -897,9 +892,9 @@ var de = {
|
|
|
897
892
|
build() {
|
|
898
893
|
let e = document.createElement("bw-glass-header");
|
|
899
894
|
if (Array.isArray(this.tabs) && this.tabs.length > 0) e.append(this.createTabs());
|
|
900
|
-
else
|
|
895
|
+
else {
|
|
901
896
|
let t = document.createElement("bw-glass-title");
|
|
902
|
-
t.append(c(this.title)), e.append(t);
|
|
897
|
+
this.title && t.append(c(this.title)), e.append(t);
|
|
903
898
|
}
|
|
904
899
|
e.setAttribute("can-drag", this.draggable), e.append(this.createActions());
|
|
905
900
|
let t = document.createElement("bw-glass-content"), n = c(this.content);
|