@schukai/monster 3.52.0 → 3.53.0

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/README.md +1 -1
  3. package/example/data/datasource/server/restapi.mjs +7 -1
  4. package/package.json +1 -1
  5. package/source/components/datatable/columnbar.mjs +2 -3
  6. package/source/components/datatable/dataset.mjs +3 -5
  7. package/source/components/datatable/datasource/dom.mjs +5 -8
  8. package/source/components/datatable/datasource/rest.mjs +12 -18
  9. package/source/components/datatable/datasource.mjs +1 -1
  10. package/source/components/datatable/datatable/header.mjs +3 -5
  11. package/source/components/datatable/datatable.mjs +13 -18
  12. package/source/components/datatable/filter/date-range.mjs +15 -27
  13. package/source/components/datatable/filter/input.mjs +3 -5
  14. package/source/components/datatable/filter/range.mjs +10 -17
  15. package/source/components/datatable/filter/settings.mjs +6 -7
  16. package/source/components/datatable/filter.mjs +14 -21
  17. package/source/components/datatable/pagination.mjs +5 -7
  18. package/source/components/datatable/stylesheet/column-bar.mjs +8 -14
  19. package/source/components/datatable/stylesheet/dataset.mjs +8 -14
  20. package/source/components/datatable/stylesheet/datasource.mjs +7 -13
  21. package/source/components/datatable/stylesheet/datatable.mjs +8 -14
  22. package/source/components/datatable/stylesheet/embedded-pagination.mjs +7 -13
  23. package/source/components/datatable/stylesheet/filter-button.mjs +7 -13
  24. package/source/components/datatable/stylesheet/filter-controls-defaults.mjs +7 -13
  25. package/source/components/datatable/stylesheet/filter-date-range.mjs +7 -13
  26. package/source/components/datatable/stylesheet/filter-range.mjs +7 -13
  27. package/source/components/datatable/stylesheet/filter.mjs +8 -14
  28. package/source/components/datatable/stylesheet/pagination.mjs +8 -14
  29. package/source/components/datatable/stylesheet/select-filter.mjs +8 -14
  30. package/source/components/datatable/util.mjs +1 -2
  31. package/source/components/form/action-button.mjs +2 -3
  32. package/source/components/form/api-button.mjs +5 -9
  33. package/source/components/form/button-bar.mjs +15 -27
  34. package/source/components/form/button.mjs +2 -2
  35. package/source/components/form/confirm-button.mjs +9 -12
  36. package/source/components/form/form.mjs +8 -14
  37. package/source/components/form/message-state-button.mjs +4 -5
  38. package/source/components/form/popper-button.mjs +7 -11
  39. package/source/components/form/popper.mjs +7 -11
  40. package/source/components/form/reload.mjs +5 -7
  41. package/source/components/form/select.mjs +42 -74
  42. package/source/components/form/style/tabs.pcss +22 -19
  43. package/source/components/form/stylesheet/action-button.mjs +7 -13
  44. package/source/components/form/stylesheet/api-button.mjs +7 -13
  45. package/source/components/form/stylesheet/button-bar.mjs +8 -14
  46. package/source/components/form/stylesheet/button.mjs +8 -14
  47. package/source/components/form/stylesheet/confirm-button.mjs +7 -13
  48. package/source/components/form/stylesheet/context-help.mjs +7 -13
  49. package/source/components/form/stylesheet/form.mjs +7 -13
  50. package/source/components/form/stylesheet/message-state-button.mjs +7 -13
  51. package/source/components/form/stylesheet/popper-button.mjs +8 -14
  52. package/source/components/form/stylesheet/popper.mjs +7 -13
  53. package/source/components/form/stylesheet/select.mjs +7 -13
  54. package/source/components/form/stylesheet/state-button.mjs +7 -13
  55. package/source/components/form/stylesheet/tabs.mjs +8 -14
  56. package/source/components/form/stylesheet/tree-select.mjs +7 -13
  57. package/source/components/form/tabs.mjs +59 -45
  58. package/source/components/form/template.mjs +6 -9
  59. package/source/components/form/tree-select.mjs +7 -10
  60. package/source/components/form/util/popper.mjs +1 -2
  61. package/source/components/host/call-button.mjs +4 -6
  62. package/source/components/host/collapse.mjs +14 -22
  63. package/source/components/host/config-manager.mjs +7 -9
  64. package/source/components/host/details.mjs +5 -8
  65. package/source/components/host/host.mjs +7 -12
  66. package/source/components/host/overlay.mjs +4 -6
  67. package/source/components/host/stylesheet/call-button.mjs +8 -14
  68. package/source/components/host/stylesheet/collapse.mjs +8 -14
  69. package/source/components/host/stylesheet/config-manager.mjs +7 -13
  70. package/source/components/host/stylesheet/details.mjs +8 -14
  71. package/source/components/host/stylesheet/host.mjs +7 -13
  72. package/source/components/host/stylesheet/overlay.mjs +7 -13
  73. package/source/components/host/stylesheet/toggle-button.mjs +8 -14
  74. package/source/components/host/stylesheet/viewer.mjs +8 -14
  75. package/source/components/host/viewer.mjs +2 -3
  76. package/source/components/notify/message.mjs +10 -13
  77. package/source/components/notify/notify.mjs +4 -6
  78. package/source/components/notify/stylesheet/message.mjs +7 -13
  79. package/source/components/notify/stylesheet/notify.mjs +7 -13
  80. package/source/components/state/log/entry.mjs +1 -1
  81. package/source/components/state/log.mjs +6 -11
  82. package/source/components/state/stylesheet/log.mjs +7 -13
  83. package/source/components/state/stylesheet/state.mjs +8 -14
  84. package/source/components/style/common.pcss +12 -10
  85. package/source/components/style/icons.pcss +110 -0
  86. package/source/components/style/link.pcss +1 -1
  87. package/source/components/style/mixin/button.pcss +0 -2
  88. package/source/components/style/mixin/icon.pcss +43 -0
  89. package/source/components/style/mixin/property.pcss +4 -0
  90. package/source/components/stylesheet/badge.mjs +7 -13
  91. package/source/components/stylesheet/border.mjs +7 -13
  92. package/source/components/stylesheet/button.mjs +8 -14
  93. package/source/components/stylesheet/card.mjs +7 -13
  94. package/source/components/stylesheet/color.mjs +7 -13
  95. package/source/components/stylesheet/common.mjs +8 -14
  96. package/source/components/stylesheet/control.mjs +7 -13
  97. package/source/components/stylesheet/data-grid.mjs +7 -13
  98. package/source/components/stylesheet/display.mjs +7 -13
  99. package/source/components/stylesheet/floating-ui.mjs +7 -13
  100. package/source/components/stylesheet/form.mjs +7 -13
  101. package/source/components/stylesheet/host.mjs +7 -13
  102. package/source/components/stylesheet/icons.mjs +27 -0
  103. package/source/components/stylesheet/link.mjs +8 -14
  104. package/source/components/stylesheet/normalize.mjs +7 -13
  105. package/source/components/stylesheet/popper.mjs +7 -13
  106. package/source/components/stylesheet/property.mjs +7 -13
  107. package/source/components/stylesheet/ripple.mjs +7 -13
  108. package/source/components/stylesheet/skeleton.mjs +7 -13
  109. package/source/components/stylesheet/space.mjs +7 -13
  110. package/source/components/stylesheet/spinner.mjs +7 -13
  111. package/source/components/stylesheet/table.mjs +7 -13
  112. package/source/components/stylesheet/theme.mjs +7 -13
  113. package/source/components/stylesheet/typography.mjs +7 -13
  114. package/source/components/tree-menu/stylesheet/tree-menu.mjs +7 -13
  115. package/source/components/tree-menu/tree-menu.mjs +9 -14
  116. package/source/data/datasource/server/restapi/writeerror.mjs +2 -1
  117. package/source/data/datasource/server.mjs +4 -4
  118. package/source/data/datasource.mjs +1 -1
  119. package/source/data/transformer.mjs +9 -4
  120. package/source/dom/customelement.mjs +1 -1
  121. package/source/dom/util.mjs +4 -5
  122. package/source/monster.mjs +0 -1
  123. package/source/types/observer.mjs +10 -2
  124. package/source/types/version.mjs +1 -1
  125. package/source/util/clone.mjs +1 -1
  126. package/test/cases/monster.mjs +1 -1
  127. package/test/web/test.html +1 -1
@@ -124,7 +124,7 @@ class ActionButton extends PopperButton {
124
124
  * @return {Monster.Components.Form.Popper}
125
125
  */
126
126
  [assembleMethodSymbol]() {
127
- super[assembleMethodSymbol]();;
127
+ super[assembleMethodSymbol]();
128
128
  initControlReferences.call(this);
129
129
  initEventHandler.call(this);
130
130
 
@@ -152,8 +152,7 @@ class ActionButton extends PopperButton {
152
152
  * @private
153
153
  * @return {Monster.Components.Form.Popper}
154
154
  */
155
- function initEventHandler() {;
156
-
155
+ function initEventHandler() {
157
156
  this[containerElementSymbol].addEventListener("click", (event) => {
158
157
  const element = findTargetElementFromEvent(event, ATTRIBUTE_ROLE, "button");
159
158
  const attr = element.getAttribute("data-monster-insert-reference");
@@ -158,8 +158,7 @@ class ApiButton extends ActionButton {
158
158
  *
159
159
  * @return {Promise}
160
160
  */
161
- fetch(url) {;
162
-
161
+ fetch(url) {
163
162
  if (url instanceof URL) {
164
163
  url = url.toString();
165
164
  }
@@ -188,8 +187,7 @@ class ApiButton extends ActionButton {
188
187
  * @throws {Error} map is not iterable
189
188
  * @throws {Error} missing label configuration
190
189
  */
191
- importButtons(data) {;
192
-
190
+ importButtons(data) {
193
191
  const mappingOptions = this.getOption("mapping", {});
194
192
  const selector = mappingOptions?.["selector"];
195
193
  const labelSelector = mappingOptions?.["labelSelector"];
@@ -271,7 +269,7 @@ class ApiButton extends ActionButton {
271
269
  * @return {Monster.Components.Form.Popper}
272
270
  */
273
271
  [assembleMethodSymbol]() {
274
- super[assembleMethodSymbol]();;
272
+ super[assembleMethodSymbol]();
275
273
  initControlReferences.call(this);
276
274
  initEventHandler.call(this);
277
275
 
@@ -450,8 +448,7 @@ function executeAPIButton(event, button, element) {
450
448
  * @throws {TypeError} the result cannot be parsed
451
449
  * @throws {TypeError} unsupported response
452
450
  */
453
- function fetchData(url) {;
454
-
451
+ function fetchData(url) {
455
452
  if (!url) url = this.getOption("url");
456
453
  if (!url) return Promise.resolve();
457
454
 
@@ -481,8 +478,7 @@ function fetchData(url) {;
481
478
  * @private
482
479
  * @return {Monster.Components.Form.Popper}
483
480
  */
484
- function initEventHandler() {;
485
-
481
+ function initEventHandler() {
486
482
  this[containerElementSymbol].addEventListener("click", (event) => {
487
483
  const element = findTargetElementFromEvent(
488
484
  event,
@@ -188,7 +188,7 @@ class ButtonBar extends CustomElement {
188
188
  /**
189
189
  * This method is called internal and should not be called directly.
190
190
  */
191
- [assembleMethodSymbol]() {;
191
+ [assembleMethodSymbol]() {
192
192
  super[assembleMethodSymbol]();
193
193
 
194
194
  this[dimensionsSymbol] = new Pathfinder({ data: {} });
@@ -228,7 +228,7 @@ class ButtonBar extends CustomElement {
228
228
  connectedCallback() {
229
229
  super.connectedCallback();
230
230
 
231
- const document = getDocument();;
231
+ const document = getDocument();
232
232
 
233
233
  for (const [, type] of Object.entries(["click", "touch"])) {
234
234
  // close on outside ui-events
@@ -303,8 +303,7 @@ class ButtonBar extends CustomElement {
303
303
  * @param obj
304
304
  * @returns {*}
305
305
  */
306
- function initDefaultsFromAttributes(obj) {;
307
-
306
+ function initDefaultsFromAttributes(obj) {
308
307
  if (this.hasAttribute(ATTRIBUTE_POPPER_POSITION)) {
309
308
  obj.popper.placement = this.getAttribute(ATTRIBUTE_POPPER_POSITION);
310
309
  }
@@ -375,15 +374,13 @@ function initEventhandler() {
375
374
  initSlotChangedHandler.call(self);
376
375
  }
377
376
 
378
- function initSlotChangedHandler() {;
379
-
377
+ function initSlotChangedHandler() {
380
378
  this[buttonBarElementSymbol].addEventListener("slotchange", () => {
381
379
  updateResizeObserverObservation.call(this);
382
380
  });
383
381
  }
384
382
 
385
- function checkAndRearrangeButtons() {;
386
-
383
+ function checkAndRearrangeButtons() {
387
384
  if (this[dimensionsSymbol].getVia("data.calculated", false) !== true) {
388
385
  calculateButtonBarDimensions.call(this);
389
386
  }
@@ -395,8 +392,7 @@ function checkAndRearrangeButtons() {;
395
392
  * @private
396
393
  * @return {Object}
397
394
  */
398
- function rearrangeButtons() {;
399
-
395
+ function rearrangeButtons() {
400
396
  const switchWidth = this[switchElementSymbol].offsetWidth;
401
397
 
402
398
  let sum = switchWidth;
@@ -476,8 +472,7 @@ function calcBoxWidth(node) {
476
472
  * @private
477
473
  * @return {Object}
478
474
  */
479
- function calculateButtonBarDimensions() {;
480
-
475
+ function calculateButtonBarDimensions() {
481
476
  const computedStyle = getComputedStyle(this.parentElement);
482
477
  if (computedStyle === null) {
483
478
  throw new Error("no computed style");
@@ -546,8 +541,7 @@ function calculateButtonBarDimensions() {;
546
541
  /**
547
542
  * @private
548
543
  */
549
- function updateResizeObserverObservation() {;
550
-
544
+ function updateResizeObserverObservation() {
551
545
  this[resizeObserverSymbol].disconnect();
552
546
 
553
547
  const slottedNodes = getSlottedElements.call(this);
@@ -562,7 +556,7 @@ function updateResizeObserverObservation() {;
562
556
  /**
563
557
  * @private
564
558
  */
565
- function disconnectResizeObserver() {;
559
+ function disconnectResizeObserver() {
566
560
  if (this[resizeObserverSymbol] instanceof ResizeObserver) {
567
561
  this[resizeObserverSymbol].disconnect();
568
562
  }
@@ -582,8 +576,7 @@ function toggle() {
582
576
  /**
583
577
  * @private
584
578
  */
585
- function hide() {;
586
-
579
+ function hide() {
587
580
  this[popperElementSymbol].style.display = "none";
588
581
  removeAttributeToken(this[controlElementSymbol], "class", "open");
589
582
  }
@@ -592,8 +585,7 @@ function hide() {;
592
585
  * @private
593
586
  * @this PopperButton
594
587
  */
595
- function show() {;
596
-
588
+ function show() {
597
589
  if (this.getOption("disabled", false) === true) {
598
590
  return;
599
591
  }
@@ -613,8 +605,7 @@ function show() {;
613
605
  /**
614
606
  * @private
615
607
  */
616
- function updatePopper() {;
617
-
608
+ function updatePopper() {
618
609
  if (this[popperElementSymbol].style.display !== STYLE_DISPLAY_MODE_BLOCK) {
619
610
  return;
620
611
  }
@@ -636,8 +627,7 @@ function updatePopper() {;
636
627
  * @return {Select}
637
628
  * @throws {Error} no shadow-root is defined
638
629
  */
639
- function initControlReferences() {;
640
-
630
+ function initControlReferences() {
641
631
  if (!this.shadowRoot) {
642
632
  throw new Error("no shadow-root is defined");
643
633
  }
@@ -674,8 +664,7 @@ function initControlReferences() {;
674
664
  * @throws {Error} no shadow-root is defined
675
665
  *
676
666
  */
677
- function initButtonBar() {;
678
-
667
+ function initButtonBar() {
679
668
  if (!this.shadowRoot) {
680
669
  throw new Error("no shadow-root is defined");
681
670
  }
@@ -688,8 +677,7 @@ function initButtonBar() {;
688
677
  /**
689
678
  * @private
690
679
  */
691
- function initPopperSwitch() {;
692
-
680
+ function initPopperSwitch() {
693
681
  /**
694
682
  * @param {Event} event
695
683
  */
@@ -84,7 +84,7 @@ class Button extends CustomControl {
84
84
  * @return {Monster.Components.Form.Button}
85
85
  */
86
86
  [assembleMethodSymbol]() {
87
- super[assembleMethodSymbol]();;
87
+ super[assembleMethodSymbol]();
88
88
  initControlReferences.call(this);
89
89
  initEventhandler.call(this);
90
90
  return this;
@@ -327,7 +327,7 @@ function getTemplate() {
327
327
  </div>`;
328
328
  }
329
329
 
330
- function createRipple(event) {;
330
+ function createRipple(event) {
331
331
  const button = this[buttonElementSymbol];
332
332
 
333
333
  const circle = document.createElement("span");
@@ -111,8 +111,7 @@ class ConfirmButton extends PopperButton {
111
111
  * @property {string} popper.placement=top PopperJS placement
112
112
  * @extends {PopperButton}
113
113
  */
114
- get defaults() {;
115
-
114
+ get defaults() {
116
115
  const obj = Object.assign({}, super.defaults, {
117
116
  templates: {
118
117
  main: getTemplate(),
@@ -138,7 +137,7 @@ class ConfirmButton extends PopperButton {
138
137
  return obj;
139
138
  }
140
139
 
141
- hideDialog() {;
140
+ hideDialog() {
142
141
  super.hideDialog();
143
142
  this[confirmButtonElementSymbol].removeState();
144
143
  return this;
@@ -149,7 +148,7 @@ class ConfirmButton extends PopperButton {
149
148
  * @return {Monster.Components.Form.PopperButton}
150
149
  */
151
150
  [assembleMethodSymbol]() {
152
- super[assembleMethodSymbol]();;
151
+ super[assembleMethodSymbol]();
153
152
  initControlReferences.call(this);
154
153
  initEventhandler.call(this);
155
154
  }
@@ -174,7 +173,7 @@ class ConfirmButton extends PopperButton {
174
173
  *
175
174
  * @returns {Monster.Components.Form.PopperButton}
176
175
  */
177
- showDialog() {;
176
+ showDialog() {
178
177
  const confirmButtonClass = this.getOption("classes.confirmButton");
179
178
  if (confirmButtonClass) {
180
179
  this[confirmButtonElementSymbol].setOption(
@@ -201,7 +200,7 @@ class ConfirmButton extends PopperButton {
201
200
  * @param {number} timeout
202
201
  * @returns {Monster.Components.Form.ConfirmButton}
203
202
  */
204
- setConfirmButtonState(state, timeout) {;
203
+ setConfirmButtonState(state, timeout) {
205
204
  this[confirmButtonElementSymbol].setState(state, timeout);
206
205
  return this;
207
206
  }
@@ -213,7 +212,7 @@ class ConfirmButton extends PopperButton {
213
212
  * @param {number} timeout
214
213
  * @returns {Monster.Components.Form.ConfirmButton}
215
214
  */
216
- showConfirmButtonMessage(message, timeout) {;
215
+ showConfirmButtonMessage(message, timeout) {
217
216
  this[confirmButtonElementSymbol].setMessage(message);
218
217
  setTimeout(() => {
219
218
  this[confirmButtonElementSymbol].showMessage(timeout);
@@ -230,8 +229,7 @@ class ConfirmButton extends PopperButton {
230
229
  function getAction(type) {
231
230
  const self = this;
232
231
 
233
- return function (event) {;
234
-
232
+ return function (event) {
235
233
  const callback = self.getOption(`actions.${type}`);
236
234
  if (typeOf(callback) !== "function") {
237
235
  return;
@@ -247,8 +245,7 @@ function getAction(type) {
247
245
  * @fires Monster.Components.Form.PopperButton#monster-confirm
248
246
  * @fires Monster.Components.Form.PopperButton#monster-confirmed
249
247
  */
250
- function initEventhandler() {;
251
-
248
+ function initEventhandler() {
252
249
  this[cancelButtonElementSymbol].setOption(
253
250
  "clickEventType",
254
251
  this.getOption("clickEventType", ["click"]),
@@ -276,7 +273,7 @@ function initEventhandler() {;
276
273
  * @private
277
274
  * @return {Select}
278
275
  */
279
- function initControlReferences() {;
276
+ function initControlReferences() {
280
277
  this[confirmButtonElementSymbol] = this.shadowRoot.querySelector(
281
278
  `[${ATTRIBUTE_ROLE}=confirm]`,
282
279
  );
@@ -200,8 +200,7 @@ class Form extends CustomElement {
200
200
  * @return {Form}
201
201
  * @throws {Error} undefined datasource
202
202
  */
203
- refresh() {;
204
-
203
+ refresh() {
205
204
  try {
206
205
  this.setAttribute(ATTRIBUTE_DISABLED, "");
207
206
  const datasource = this.getOption("datasource");
@@ -235,7 +234,7 @@ class Form extends CustomElement {
235
234
  *
236
235
  * @return {Monster.Components.Form.Form}
237
236
  */
238
- [assembleMethodSymbol]() {;
237
+ [assembleMethodSymbol]() {
239
238
  super[assembleMethodSymbol]();
240
239
 
241
240
  initControlReferences.call(this);
@@ -331,8 +330,7 @@ class Form extends CustomElement {
331
330
  /**
332
331
  * @private
333
332
  */
334
- function initUpdater() {;
335
-
333
+ function initUpdater() {
336
334
  if (!this.shadowRoot) {
337
335
  throw new Error("no shadow-root is defined");
338
336
  }
@@ -370,8 +368,7 @@ function initUpdater() {;
370
368
  /**
371
369
  * @private
372
370
  */
373
- function initDatasource() {;
374
-
371
+ function initDatasource() {
375
372
  if (!this.shadowRoot) {
376
373
  throw new Error("no shadow-root is defined");
377
374
  }
@@ -405,8 +402,7 @@ function initDatasource() {;
405
402
  * @private
406
403
  * @param elements
407
404
  */
408
- function initWriteActions(elements) {;
409
-
405
+ function initWriteActions(elements) {
410
406
  elements.forEach((element) => {
411
407
  if (element instanceof HTMLElement) {
412
408
  element.addEventListener("click", () => {
@@ -437,8 +433,7 @@ function initWriteActions(elements) {;
437
433
  });
438
434
  }
439
435
 
440
- function runWriteCallback(button) {;
441
-
436
+ function runWriteCallback(button) {
442
437
  if (typeof this.reportValidity === "function") {
443
438
  if (this.reportValidity() === false) {
444
439
  if (
@@ -508,7 +503,7 @@ function runWriteCallback(button) {;
508
503
  * @private
509
504
  * @return {object}
510
505
  */
511
- function initOptionsFromArguments() {;
506
+ function initOptionsFromArguments() {
512
507
  const options = {};
513
508
 
514
509
  const datasource = this.getAttribute(ATTRIBUTE_FORM_DATASOURCE);
@@ -569,8 +564,7 @@ function initObserver() {
569
564
  * @private
570
565
  * @return {Monster.Components.Form.Form}
571
566
  */
572
- function initControlReferences() {;
573
-
567
+ function initControlReferences() {
574
568
  if (!this.shadowRoot) {
575
569
  throw new Error("no shadow-root is defined");
576
570
  }
@@ -138,7 +138,7 @@ class MessageStateButton extends Popper {
138
138
  /**
139
139
  */
140
140
  [assembleMethodSymbol]() {
141
- super[assembleMethodSymbol]();;
141
+ super[assembleMethodSymbol]();
142
142
  initControlReferences.call(this);
143
143
 
144
144
  let modes = null;
@@ -221,7 +221,7 @@ class MessageStateButton extends Popper {
221
221
  * @param {number} timeout
222
222
  * @returns {Monster.Components.Form.MessageStateButton}
223
223
  */
224
- showMessage(timeout) {;
224
+ showMessage(timeout) {
225
225
  super.showDialog();
226
226
 
227
227
  if (timeout !== undefined) {
@@ -330,8 +330,7 @@ class MessageStateButton extends Popper {
330
330
  }
331
331
  }
332
332
 
333
- function initEventHandlerByMode(mode) {;
334
-
333
+ function initEventHandlerByMode(mode) {
335
334
  switch (mode) {
336
335
  case "manual":
337
336
  this[buttonElementSymbol].setOption("actions.click", (e) => {
@@ -359,7 +358,7 @@ function initEventHandlerByMode(mode) {;
359
358
  * @private
360
359
  * @return {Select}
361
360
  */
362
- function initControlReferences() {;
361
+ function initControlReferences() {
363
362
  this[buttonElementSymbol] = this.shadowRoot.querySelector(
364
363
  `[${ATTRIBUTE_ROLE}=button]`,
365
364
  );
@@ -142,8 +142,7 @@ class PopperButton extends Popper {
142
142
  * @property {object} popper - The popper options.
143
143
  * @extends {Button.defaults}
144
144
  */
145
- get defaults() {;
146
-
145
+ get defaults() {
147
146
  return Object.assign({}, super.defaults, {
148
147
  templates: {
149
148
  main: getTemplate(),
@@ -169,7 +168,7 @@ class PopperButton extends Popper {
169
168
  * @return {Monster.Components.Form.PopperButton}
170
169
  */
171
170
  [assembleMethodSymbol]() {
172
- super[assembleMethodSymbol]();;
171
+ super[assembleMethodSymbol]();
173
172
  initControlReferences.call(this);
174
173
  initEventhandler.call(this);
175
174
 
@@ -198,7 +197,7 @@ class PopperButton extends Popper {
198
197
  connectedCallback() {
199
198
  super.connectedCallback();
200
199
 
201
- const document = getDocument();;
200
+ const document = getDocument();
202
201
 
203
202
  for (const [, type] of Object.entries(["click", "touch"])) {
204
203
  // close on outside ui-events
@@ -324,8 +323,7 @@ class PopperButton extends Popper {
324
323
  * @private
325
324
  * @return {initEventhandler}
326
325
  */
327
- function initEventhandler() {;
328
-
326
+ function initEventhandler() {
329
327
  this[closeEventHandler] = (event) => {
330
328
  const path = event.composedPath();
331
329
 
@@ -343,8 +341,7 @@ function initEventhandler() {;
343
341
  /**
344
342
  * @private
345
343
  */
346
- function attachResizeObserver() {;
347
-
344
+ function attachResizeObserver() {
348
345
  // against flickering
349
346
  this[resizeObserverSymbol] = new ResizeObserver(() => {
350
347
  if (this[timerCallbackSymbol] instanceof DeadMansSwitch) {
@@ -364,7 +361,7 @@ function attachResizeObserver() {;
364
361
  this[resizeObserverSymbol].observe(this.parentElement);
365
362
  }
366
363
 
367
- function disconnectResizeObserver() {;
364
+ function disconnectResizeObserver() {
368
365
  if (this[resizeObserverSymbol] instanceof ResizeObserver) {
369
366
  this[resizeObserverSymbol].disconnect();
370
367
  }
@@ -373,8 +370,7 @@ function disconnectResizeObserver() {;
373
370
  /**
374
371
  * @private
375
372
  */
376
- function updatePopper() {;
377
-
373
+ function updatePopper() {
378
374
  if (this[popperElementSymbol].style.display !== STYLE_DISPLAY_MODE_BLOCK) {
379
375
  return;
380
376
  }
@@ -164,7 +164,7 @@ class Popper extends CustomControl {
164
164
  * @return {Monster.Components.Form.Popper}
165
165
  */
166
166
  [assembleMethodSymbol]() {
167
- super[assembleMethodSymbol]();;
167
+ super[assembleMethodSymbol]();
168
168
  initControlReferences.call(this);
169
169
  initEventhandler.call(this);
170
170
 
@@ -191,7 +191,7 @@ class Popper extends CustomControl {
191
191
  connectedCallback() {
192
192
  super.connectedCallback();
193
193
 
194
- const document = getDocument();;
194
+ const document = getDocument();
195
195
 
196
196
  for (const [, type] of Object.entries(["click", "touch"])) {
197
197
  // close on outside ui-events
@@ -252,8 +252,7 @@ class Popper extends CustomControl {
252
252
  * @private
253
253
  * @return {Monster.Components.Form.Popper}
254
254
  */
255
- function initEventhandler() {;
256
-
255
+ function initEventhandler() {
257
256
  this[closeEventHandler] = (event) => {
258
257
  const path = event.composedPath();
259
258
 
@@ -287,8 +286,7 @@ function initEventhandler() {;
287
286
  return this;
288
287
  }
289
288
 
290
- function initEventHandlerByMode(mode) {;
291
-
289
+ function initEventHandlerByMode(mode) {
292
290
  switch (mode) {
293
291
  case "manual":
294
292
  break;
@@ -345,8 +343,7 @@ function initEventHandlerByMode(mode) {;
345
343
  /**
346
344
  * @private
347
345
  */
348
- function attachResizeObserver() {;
349
-
346
+ function attachResizeObserver() {
350
347
  // against flickering
351
348
  this[resizeObserverSymbol] = new ResizeObserver((entries) => {
352
349
  if (this[timerCallbackSymbol] instanceof DeadMansSwitch) {
@@ -366,7 +363,7 @@ function attachResizeObserver() {;
366
363
  this[resizeObserverSymbol].observe(this.parentElement);
367
364
  }
368
365
 
369
- function disconnectResizeObserver() {;
366
+ function disconnectResizeObserver() {
370
367
  if (this[resizeObserverSymbol] instanceof ResizeObserver) {
371
368
  this[resizeObserverSymbol].disconnect();
372
369
  }
@@ -427,8 +424,7 @@ function show() {
427
424
  /**
428
425
  * @private
429
426
  */
430
- function updatePopper() {;
431
-
427
+ function updatePopper() {
432
428
  if (this[popperElementSymbol].style.display !== STYLE_DISPLAY_MODE_BLOCK) {
433
429
  return;
434
430
  }
@@ -166,7 +166,7 @@ class Reload extends CustomElement {
166
166
  /**
167
167
  *
168
168
  */
169
- [initMethodSymbol]() {;
169
+ [initMethodSymbol]() {
170
170
  super[initMethodSymbol]();
171
171
 
172
172
  // data-monster-options
@@ -191,7 +191,7 @@ class Reload extends CustomElement {
191
191
  * @fires Monster.Components.Form.event:monster-fetched
192
192
  * @return {Monster.Components.Form.Form}
193
193
  */
194
- [assembleMethodSymbol]() {;
194
+ [assembleMethodSymbol]() {
195
195
  super[assembleMethodSymbol]();
196
196
  initIntersectionObserver.call(this);
197
197
  }
@@ -232,7 +232,7 @@ class Reload extends CustomElement {
232
232
  * @private
233
233
  * @return {object}
234
234
  */
235
- function initOptionsFromArguments() {;
235
+ function initOptionsFromArguments() {
236
236
  const options = {};
237
237
 
238
238
  const url = this.getAttribute(ATTRIBUTE_FORM_URL);
@@ -259,8 +259,7 @@ function initOptionsFromArguments() {;
259
259
  * @throws {Error} undefined status or type
260
260
  * @fires Monster.Components.Form.event:monster-fetched
261
261
  */
262
- function initIntersectionObserver() {;
263
-
262
+ function initIntersectionObserver() {
264
263
  if (this[intersectionObserverWasInitialized] === true) {
265
264
  return;
266
265
  }
@@ -310,8 +309,7 @@ function initIntersectionObserver() {;
310
309
  * @fires Monster.Components.Form.event:monster-fetched
311
310
  * @return {Promise}
312
311
  */
313
- function loadContent() {;
314
-
312
+ function loadContent() {
315
313
  const url = this.getOption("url", undefined);
316
314
  if (!isString(url) || url === "") {
317
315
  throw new Error("missing url");