@schukai/monster 3.86.1 → 3.86.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,6 @@ const dotsContainerElementSymbol = Symbol("dotsContainerElement");
55
55
  */
56
56
  const popperInstanceSymbol = Symbol("popperInstance");
57
57
 
58
-
59
58
  /**
60
59
  * A column bar for a datatable
61
60
  *
@@ -140,15 +139,15 @@ function initControlReferences() {
140
139
  this[settingsButtonElementSymbol] = this.shadowRoot.querySelector(
141
140
  "[data-monster-role=settings-button]",
142
141
  );
143
-
142
+
144
143
  this[settingsLayerElementSymbol] = this.shadowRoot.querySelector(
145
144
  "[data-monster-role=settings-layer]",
146
145
  );
147
-
146
+
148
147
  this[dotsContainerElementSymbol] = this.shadowRoot.querySelector(
149
148
  "[data-monster-role=dots]",
150
149
  );
151
-
150
+
152
151
  return this;
153
152
  }
154
153
 
@@ -176,7 +175,6 @@ function initEventHandler() {
176
175
  );
177
176
 
178
177
  self[dotsContainerElementSymbol].addEventListener("click", function (event) {
179
-
180
178
  const element = findTargetElementFromEvent(
181
179
  event,
182
180
  "data-monster-role",
@@ -198,7 +196,6 @@ function initEventHandler() {
198
196
  });
199
197
 
200
198
  self[settingsButtonEventHandlerSymbol] = (event) => {
201
-
202
199
  const clickTarget = event.composedPath()?.[0];
203
200
  if (
204
201
  self[settingsLayerElementSymbol] === clickTarget ||
@@ -206,7 +203,7 @@ function initEventHandler() {
206
203
  ) {
207
204
  return;
208
205
  }
209
-
206
+
210
207
  document.body.removeEventListener(
211
208
  "click",
212
209
  self[settingsButtonEventHandlerSymbol],
@@ -287,7 +284,7 @@ function getTemplate() {
287
284
  <div data-monster-insert="column path:columns" data-monster-role="settings-popup-list">
288
285
  </div>
289
286
  </div>
290
- </div>
287
+ </div>
291
288
  `;
292
289
  }
293
290
 
@@ -143,7 +143,6 @@ function initEventHandler() {
143
143
  function updateDataSource() {
144
144
  let data = null;
145
145
  getSlottedElements.call(this).forEach((element) => {
146
-
147
146
  if (!(element instanceof HTMLScriptElement)) {
148
147
  return;
149
148
  }