@schukai/monster 3.86.0 → 3.86.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/source/components/content/copy.mjs +357 -359
  4. package/source/components/datatable/columnbar.mjs +5 -8
  5. package/source/components/datatable/datasource/dom.mjs +0 -1
  6. package/source/components/datatable/datatable.mjs +741 -741
  7. package/source/components/datatable/style/column-bar.pcss +27 -19
  8. package/source/components/datatable/style/datatable.pcss +6 -1
  9. package/source/components/datatable/stylesheet/column-bar.mjs +1 -1
  10. package/source/components/datatable/stylesheet/datatable.mjs +14 -7
  11. package/source/components/datatable/util.mjs +0 -1
  12. package/source/components/form/button-bar.mjs +1 -3
  13. package/source/components/form/style/field-set.pcss +41 -56
  14. package/source/components/form/stylesheet/button-bar.mjs +13 -6
  15. package/source/components/form/stylesheet/button.mjs +13 -6
  16. package/source/components/form/stylesheet/confirm-button.mjs +13 -6
  17. package/source/components/form/stylesheet/field-set.mjs +1 -1
  18. package/source/components/form/stylesheet/message-state-button.mjs +13 -6
  19. package/source/components/form/stylesheet/popper-button.mjs +13 -6
  20. package/source/components/form/stylesheet/select.mjs +13 -6
  21. package/source/components/form/stylesheet/state-button.mjs +13 -6
  22. package/source/components/layout/details.mjs +2 -2
  23. package/source/components/layout/stylesheet/panel.mjs +13 -6
  24. package/source/types/version.mjs +1 -1
  25. package/test/cases/monster.mjs +1 -1
  26. package/test/web/test.html +2 -2
  27. package/test/web/tests.js +192 -270
@@ -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
  }