@design.estate/dees-wcctools 1.0.100 → 1.0.101
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_bundle/bundle.js +5 -6
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/wcc-dashboard.d.ts +3 -2
- package/dist_ts_web/elements/wcc-dashboard.js +7 -9
- package/dist_watch/bundle.js +224 -5
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/wcc-dashboard.ts +9 -6
package/dist_bundle/bundle.js
CHANGED
|
@@ -43574,6 +43574,7 @@ var WccDashboard2 = class extends DeesElement {
|
|
|
43574
43574
|
this.frameScrollY = 0;
|
|
43575
43575
|
this.sidebarScrollY = 0;
|
|
43576
43576
|
this.scrollPositionsApplied = false;
|
|
43577
|
+
this.scrollListenersAttached = false;
|
|
43577
43578
|
if (elementsArg) {
|
|
43578
43579
|
this.elements = elementsArg;
|
|
43579
43580
|
console.log("got elements:");
|
|
@@ -43721,6 +43722,9 @@ var WccDashboard2 = class extends DeesElement {
|
|
|
43721
43722
|
this.domtools.router.pushUrl(fullUrl);
|
|
43722
43723
|
}
|
|
43723
43724
|
async setupScrollListeners() {
|
|
43725
|
+
if (this.scrollListenersAttached) {
|
|
43726
|
+
return;
|
|
43727
|
+
}
|
|
43724
43728
|
const wccFrame = await this.wccFrame;
|
|
43725
43729
|
const wccSidebar = this.shadowRoot.querySelector("wcc-sidebar");
|
|
43726
43730
|
if (wccFrame) {
|
|
@@ -43728,6 +43732,7 @@ var WccDashboard2 = class extends DeesElement {
|
|
|
43728
43732
|
this.frameScrollY = wccFrame.scrollTop;
|
|
43729
43733
|
this.debouncedScrollUpdate();
|
|
43730
43734
|
});
|
|
43735
|
+
this.scrollListenersAttached = true;
|
|
43731
43736
|
}
|
|
43732
43737
|
if (wccSidebar) {
|
|
43733
43738
|
wccSidebar.addEventListener("scroll", () => {
|
|
@@ -43794,12 +43799,6 @@ __decorateClass([
|
|
|
43794
43799
|
__decorateClass([
|
|
43795
43800
|
n4()
|
|
43796
43801
|
], WccDashboard2.prototype, "warning", 2);
|
|
43797
|
-
__decorateClass([
|
|
43798
|
-
n4()
|
|
43799
|
-
], WccDashboard2.prototype, "frameScrollY", 2);
|
|
43800
|
-
__decorateClass([
|
|
43801
|
-
n4()
|
|
43802
|
-
], WccDashboard2.prototype, "sidebarScrollY", 2);
|
|
43803
43802
|
__decorateClass([
|
|
43804
43803
|
r6("wcc-frame")
|
|
43805
43804
|
], WccDashboard2.prototype, "wccFrame", 2);
|