@schukai/monster 4.154.1 → 4.154.3

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 (96) hide show
  1. package/CHANGELOG.md +1400 -19
  2. package/package.json +1 -1
  3. package/source/components/accessibility/locale-picker.mjs +6 -6
  4. package/source/components/accessibility/locale-select.mjs +1 -1
  5. package/source/components/content/camera-capture.mjs +3 -3
  6. package/source/components/content/copy.mjs +1 -1
  7. package/source/components/content/fetch-box.mjs +1 -1
  8. package/source/components/content/image-editor.mjs +2 -4
  9. package/source/components/content/viewer/html.mjs +2 -2
  10. package/source/components/content/viewer/message.mjs +3 -3
  11. package/source/components/content/viewer/sanitize-html.mjs +1 -1
  12. package/source/components/data/kpi-tile.mjs +5 -5
  13. package/source/components/data/metric-graph.mjs +2 -2
  14. package/source/components/data/metric.mjs +1 -1
  15. package/source/components/datatable/change-button.mjs +1 -1
  16. package/source/components/datatable/columnbar.mjs +2 -2
  17. package/source/components/datatable/datasource/rest.mjs +2 -4
  18. package/source/components/datatable/datatable.mjs +3 -3
  19. package/source/components/datatable/filter/date-presets.mjs +1 -1
  20. package/source/components/datatable/filter/input.mjs +1 -1
  21. package/source/components/datatable/filter/range.mjs +1 -1
  22. package/source/components/datatable/filter/settings.mjs +1 -3
  23. package/source/components/datatable/filter/text-operator.mjs +1 -1
  24. package/source/components/datatable/filter.mjs +1 -1
  25. package/source/components/datatable/pagination.mjs +2 -4
  26. package/source/components/datatable/status.mjs +1 -1
  27. package/source/components/files/file-manager.mjs +1 -1
  28. package/source/components/form/action-button.mjs +1 -1
  29. package/source/components/form/api-bar.mjs +1 -1
  30. package/source/components/form/buy-box.mjs +1 -1
  31. package/source/components/form/cart-control.mjs +1 -1
  32. package/source/components/form/checklist.mjs +1 -1
  33. package/source/components/form/digits.mjs +4 -4
  34. package/source/components/form/dropzone.mjs +1 -1
  35. package/source/components/form/field-set.mjs +1 -1
  36. package/source/components/form/input-group.mjs +1 -1
  37. package/source/components/form/login.mjs +15 -15
  38. package/source/components/form/password.mjs +1 -1
  39. package/source/components/form/popper.mjs +1 -0
  40. package/source/components/form/repeat-field-set.mjs +1 -1
  41. package/source/components/form/select-link.mjs +3 -0
  42. package/source/components/form/select.mjs +33 -33
  43. package/source/components/form/sheet.mjs +3 -0
  44. package/source/components/form/tabs.mjs +1 -0
  45. package/source/components/form/toggle-switch.mjs +1 -1
  46. package/source/components/form/util/fetch.mjs +3 -3
  47. package/source/components/form/variant-select.mjs +1 -1
  48. package/source/components/form/wizard.mjs +1 -3
  49. package/source/components/host/collapse.mjs +1 -0
  50. package/source/components/host/config-manager.mjs +2 -2
  51. package/source/components/host/details.mjs +1 -0
  52. package/source/components/host/host.mjs +2 -2
  53. package/source/components/host/overlay.mjs +1 -0
  54. package/source/components/host/viewer.mjs +1 -0
  55. package/source/components/layout/board.mjs +1 -1
  56. package/source/components/layout/collapse.mjs +2 -2
  57. package/source/components/layout/details.mjs +1 -1
  58. package/source/components/layout/full-screen.mjs +2 -2
  59. package/source/components/layout/popper.mjs +1 -1
  60. package/source/components/layout/style/tabs.pcss +4 -1
  61. package/source/components/layout/stylesheet/tabs.mjs +9 -3
  62. package/source/components/layout/tabs.mjs +5 -8
  63. package/source/components/layout/utils/attach-tabs-hash-sync.mjs +1 -1
  64. package/source/components/layout/vertical-tabs.mjs +5 -8
  65. package/source/components/navigation/site-navigation.mjs +3 -3
  66. package/source/components/navigation/table-of-content.mjs +1 -1
  67. package/source/components/navigation/wizard-navigation.mjs +9 -11
  68. package/source/components/notify/monitor-attribute-errors.mjs +1 -1
  69. package/source/components/time/day.mjs +1 -1
  70. package/source/components/time/month-calendar.mjs +8 -8
  71. package/source/components/time/timeline/appointment.mjs +1 -1
  72. package/source/components/time/timeline/segment.mjs +1 -1
  73. package/source/components/tree-menu/tree-menu.mjs +0 -1
  74. package/source/data/datasource/dom.mjs +1 -0
  75. package/source/dom/customelement.mjs +13 -13
  76. package/source/dom/sanitize-html.mjs +1 -1
  77. package/source/i18n/internal.mjs +2 -2
  78. package/source/i18n/providers/embed.mjs +1 -1
  79. package/source/i18n/time-ago.mjs +1 -1
  80. package/source/text/formatter.mjs +1 -0
  81. package/source/types/dataurl.mjs +1 -0
  82. package/source/types/has.mjs +1 -1
  83. package/source/types/is.mjs +2 -2
  84. package/source/types/mediatype.mjs +1 -0
  85. package/source/types/observer.mjs +6 -6
  86. package/source/types/observerlist.mjs +1 -0
  87. package/source/types/proxyobserver.mjs +1 -0
  88. package/source/types/stack.mjs +1 -0
  89. package/source/types/tokenlist.mjs +1 -0
  90. package/source/types/uuid.mjs +1 -0
  91. package/source/util/accessiblecolor.mjs +2 -2
  92. package/source/util/comparator.mjs +3 -3
  93. package/source/util/deadmansswitch.mjs +3 -4
  94. package/source/util/processing.mjs +1 -1
  95. package/test/cases/components/datatable/drag-scroll.mjs +10 -0
  96. package/test/cases/components/layout/tabs.mjs +2 -0
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","exports":{".":"./source/monster.mjs","./CHANGELOG.md":"./CHANGELOG.md","./LICENSE":"./LICENSE","./README.md":"./README.md","./package.json":"./package.json","./source/*":"./source/*","./test/*":"./test/*"},"files":["source","test/cases","test/util","CHANGELOG.md"],"homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"sideEffects":["./source/monster.mjs","./source/components/**","./source/i18n/**","./test/**"],"type":"module","version":"4.154.1"}
1
+ {"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","exports":{".":"./source/monster.mjs","./CHANGELOG.md":"./CHANGELOG.md","./LICENSE":"./LICENSE","./README.md":"./README.md","./package.json":"./package.json","./source/*":"./source/*","./test/*":"./test/*"},"files":["source","test/cases","test/util","CHANGELOG.md"],"homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"sideEffects":["./source/monster.mjs","./source/components/**","./source/i18n/**","./test/**"],"type":"module","version":"4.154.3"}
@@ -89,7 +89,7 @@ const detectedLanguagesSymbol = Symbol("detectedLanguages");
89
89
  class LocalePicker extends CustomElement {
90
90
  /**
91
91
  * This method is called by the `instanceof` operator.
92
- * @returns {symbol}
92
+ * @return {symbol}
93
93
  */
94
94
  static get [instanceSymbol]() {
95
95
  return Symbol.for(
@@ -255,7 +255,7 @@ class LocalePicker extends CustomElement {
255
255
  /**
256
256
  * Resets the locale picker by removing the stored value from the local storage.
257
257
  *
258
- * @returns {LocalePicker}
258
+ * @return {LocalePicker}
259
259
  */
260
260
  reset() {
261
261
  sessionStorage.removeItem(buildStorageKey.call(this));
@@ -266,7 +266,7 @@ class LocalePicker extends CustomElement {
266
266
  /**
267
267
  * Hides the locale picker.
268
268
  *
269
- * @returns {LocalePicker}
269
+ * @return {LocalePicker}
270
270
  */
271
271
  hide() {
272
272
  this.style.display = "none";
@@ -281,7 +281,7 @@ class LocalePicker extends CustomElement {
281
281
 
282
282
  /**
283
283
  * Shows the locale picker.
284
- * @returns {LocalePicker}
284
+ * @return {LocalePicker}
285
285
  */
286
286
  show() {
287
287
  this.style.display = "block";
@@ -401,7 +401,7 @@ function initEventHandler() {
401
401
 
402
402
  /**
403
403
  * @private
404
- * @returns {string}
404
+ * @return {string}
405
405
  * Builds the session storage key for the picker.
406
406
  */
407
407
  function buildStorageKey() {
@@ -411,7 +411,7 @@ function buildStorageKey() {
411
411
  /**
412
412
  * @private
413
413
  * @param lang
414
- * @returns {Object}
414
+ * @return {Object}
415
415
  * Returns translations for the given language.
416
416
  */
417
417
  function getTranslations(lang) {
@@ -120,7 +120,7 @@ function getLocalizedLabel() {
120
120
  class LocaleSelect extends CustomElement {
121
121
  /**
122
122
  * Used by the instanceof operator.
123
- * @returns {symbol}
123
+ * @return {symbol}
124
124
  */
125
125
  static get [instanceSymbol]() {
126
126
  return Symbol.for(
@@ -166,7 +166,7 @@ class CameraCapture extends CustomElement {
166
166
  /**
167
167
  * Retrieve the next image from the queue.
168
168
  * If the queue is empty, it returns `null`.
169
- * @returns {string|null}
169
+ * @return {string|null}
170
170
  */
171
171
  getNextImage() {
172
172
  if (!this[queueSymbol].isEmpty()) {
@@ -182,7 +182,7 @@ class CameraCapture extends CustomElement {
182
182
  /**
183
183
  * Capture an image from the camera and add it to the queue.
184
184
  * The image is returned as a data URL.
185
- * @returns {string}
185
+ * @return {string}
186
186
  */
187
187
  capture() {
188
188
  this[canvasElementSymbol].width = this[videoElementSymbol].videoWidth;
@@ -318,7 +318,7 @@ function startCameraWithDeviceId(deviceId) {
318
318
 
319
319
  /**
320
320
  * @private
321
- * @returns {{takePicture: string}}
321
+ * @return {{takePicture: string}}
322
322
  */
323
323
  function getTranslations() {
324
324
  const locale = getLocaleOfDocument();
@@ -452,7 +452,7 @@ function initEventHandler() {
452
452
 
453
453
  /**
454
454
  * @private
455
- * @returns {Set<any>|string}
455
+ * @return {Set<any>|string}
456
456
  */
457
457
  function getSlottedCopyContent() {
458
458
  const self = this;
@@ -44,7 +44,7 @@ export const fetchBoxElementSymbol = Symbol("fetchBoxElement");
44
44
  class FetchBox extends CustomElement {
45
45
  /**
46
46
  * This method is called by the `instanceof` operator.
47
- * @returns {symbol}
47
+ * @return {symbol}
48
48
  */
49
49
  static get [instanceSymbol]() {
50
50
  return Symbol.for(
@@ -476,9 +476,7 @@ class ImageEditor extends CustomElement {
476
476
  * Sets the image source from binary data or a URL.
477
477
  *
478
478
  * @param {(Blob|ArrayBuffer|Uint8Array|string)} data
479
- * @param {Object} [options]
480
- * @param {string} [options.contentType]
481
- * @param {boolean} [options.storeOriginal]
479
+ * @param {Object} [options] Optional content type and original-image storage settings.
482
480
  * @return {Promise<void>}
483
481
  */
484
482
  setImage(data, options = {}) {
@@ -2622,7 +2620,7 @@ function blobToDataUrl(blob) {
2622
2620
 
2623
2621
  /**
2624
2622
  * @private
2625
- * @returns {{save:string,reset:string,crop:string,select:string,filter:string,intensity:string,zoom:string,rotation:string,empty:string,filterNone:string,filterGrayscale:string,filterSepia:string,filterContrast:string,filterSaturate:string,filterInvert:string,filterBlur:string,cropX:string,cropY:string,cropWidth:string,cropHeight:string,applyFilter:string,rotateLeft:string,rotateRight:string,rotateReset:string}}
2623
+ * @return {{save:string,reset:string,crop:string,select:string,filter:string,intensity:string,zoom:string,rotation:string,empty:string,filterNone:string,filterGrayscale:string,filterSepia:string,filterContrast:string,filterSaturate:string,filterInvert:string,filterBlur:string,cropX:string,cropY:string,cropWidth:string,cropHeight:string,applyFilter:string,rotateLeft:string,rotateRight:string,rotateReset:string}}
2626
2624
  */
2627
2625
  function getTranslations() {
2628
2626
  const language = getLocaleOfDocument().language || "en";
@@ -81,7 +81,7 @@ class HtmlContent extends CustomElement {
81
81
 
82
82
  /**
83
83
  * Returns the updater transformer methods for this component.
84
- * @returns {{sanitizeHtml: ((function(*): (*))|*)}}
84
+ * @return {{sanitizeHtml: ((function(*): (*))|*)}}
85
85
  */
86
86
  [updaterTransformerMethodsSymbol]() {
87
87
  return {
@@ -115,7 +115,7 @@ class HtmlContent extends CustomElement {
115
115
  /**
116
116
  * Sets the content of the HtmlContent component.
117
117
  * @param content
118
- * @returns {HtmlContent}
118
+ * @return {HtmlContent}
119
119
  */
120
120
  setContent(content) {
121
121
  this.setOption("content", content);
@@ -158,7 +158,7 @@ class MessageContent extends CustomElement {
158
158
 
159
159
  /**
160
160
  * Returns the updater transformer methods for this component.
161
- * @returns {{sanitizeHtml: ((function(*): (*))|*)}}
161
+ * @return {{sanitizeHtml: ((function(*): (*))|*)}}
162
162
  */
163
163
  [updaterTransformerMethodsSymbol]() {
164
164
  return {
@@ -174,7 +174,7 @@ class MessageContent extends CustomElement {
174
174
  /**
175
175
  * Sets the content of the MessageContent component.
176
176
  * @param {Object} message The message object containing parts, headers, etc.
177
- * @returns {MessageContent}
177
+ * @return {MessageContent}
178
178
  */
179
179
  setMessage(message) {
180
180
  const self = this;
@@ -818,7 +818,7 @@ function downloadAttachmentByIndex(index, attachments) {
818
818
  /**
819
819
  * Initializes the event handler for the MessageContent component.
820
820
  * @private
821
- * @returns {initEventHandler}
821
+ * @return {initEventHandler}
822
822
  */
823
823
  function initEventHandler() {
824
824
  this[showPrivacyImagesSymbol].addEventListener("click", (event) => {
@@ -55,7 +55,7 @@ const SAFE_VIEWER_LINK_PROTOCOLS = new Set([
55
55
  * Sanitizes untrusted HTML specifically for rendering inside Monster viewers.
56
56
  *
57
57
  * @param {string} html Untrusted viewer HTML.
58
- * @returns {string} Sanitized viewer HTML.
58
+ * @return {string} Sanitized viewer HTML.
59
59
  */
60
60
  function sanitizeViewerHtml(html) {
61
61
  const sanitizedHtml = sanitizeHtml(html, {
@@ -40,7 +40,7 @@ class KpiTile extends CustomElement {
40
40
  }
41
41
 
42
42
  /**
43
- * @returns {symbol}
43
+ * @return {symbol}
44
44
  * @summary Returns the instance symbol for the KPI Tile control.
45
45
  */
46
46
  [assembleMethodSymbol]() {
@@ -59,7 +59,7 @@ class KpiTile extends CustomElement {
59
59
  * @property {string} values.small The small value displayed in the tile.
60
60
  * @property {string} values.top The top value displayed in the tile.
61
61
  * @property {string} values.bottom The bottom value displayed in the tile.
62
- * @returns {Object}
62
+ * @return {Object}
63
63
  * @summary Returns the default options for the KPI Tile control.
64
64
  */
65
65
  get defaults() {
@@ -77,7 +77,7 @@ class KpiTile extends CustomElement {
77
77
  }
78
78
 
79
79
  /**
80
- * @returns {string}
80
+ * @return {string}
81
81
  * @summary Returns the role of the control.
82
82
  */
83
83
  static getTag() {
@@ -85,7 +85,7 @@ class KpiTile extends CustomElement {
85
85
  }
86
86
 
87
87
  /**
88
- * @returns {string}
88
+ * @return {string}
89
89
  * @summary Returns the role of the control.
90
90
  */
91
91
  static getCSSStyleSheet() {
@@ -95,7 +95,7 @@ class KpiTile extends CustomElement {
95
95
 
96
96
  /**
97
97
  * @private
98
- * @returns {string}
98
+ * @return {string}
99
99
  * @summary Returns the template for the KPI Tile control.
100
100
  */
101
101
  function getTemplate() {
@@ -54,7 +54,7 @@ export const metricGraphControlElementSymbol = Symbol(
54
54
  class MetricGraph extends CustomElement {
55
55
  /**
56
56
  * This method is called by the `instanceof` operator.
57
- * @returns {symbol}
57
+ * @return {symbol}
58
58
  */
59
59
  static get [instanceSymbol]() {
60
60
  return Symbol.for("@schukai/monster/data/metric-graph@@instance");
@@ -119,7 +119,7 @@ class MetricGraph extends CustomElement {
119
119
 
120
120
  /**
121
121
  *
122
- * @returns {{tosparkline: ((function(*): (string|string))|*)}}
122
+ * @return {{tosparkline: ((function(*): (string|string))|*)}}
123
123
  */
124
124
  [updaterTransformerMethodsSymbol]() {
125
125
  return {
@@ -50,7 +50,7 @@ export const metricControlElementSymbol = Symbol("metricControlElement");
50
50
  class Metric extends CustomElement {
51
51
  /**
52
52
  * This method is called by the `instanceof` operator.
53
- * @returns {symbol}
53
+ * @return {symbol}
54
54
  */
55
55
  static get [instanceSymbol]() {
56
56
  return Symbol.for("@schukai/monster/components/data/metric@@instance");
@@ -229,7 +229,7 @@ function initControlReferences() {
229
229
 
230
230
  /**
231
231
  * @private
232
- * @returns {number}
232
+ * @return {number}
233
233
  * @throws {TypeError}
234
234
  * @throws {Error}
235
235
  */
@@ -151,7 +151,7 @@ class ColumnBar extends CustomElement {
151
151
 
152
152
  /**
153
153
  * This method is called to customize the component.
154
- * @returns {Map<unknown, unknown>}
154
+ * @return {Map<unknown, unknown>}
155
155
  */
156
156
  get customization() {
157
157
  return new Map([...super.customization, ["templateFormatter.i18n", true]]);
@@ -286,7 +286,7 @@ class ColumnBar extends CustomElement {
286
286
 
287
287
  /**
288
288
  * @private
289
- * @returns {{settings: string}}
289
+ * @return {{settings: string}}
290
290
  */
291
291
  function getTranslations() {
292
292
  const locale = getLocaleOfDocument();
@@ -210,9 +210,7 @@ class Rest extends Datasource {
210
210
  * With this method, you can set the parameters for the rest api. The parameters are
211
211
  * used for building the url.
212
212
  *
213
- * @param {string} page
214
- * @param {string} query
215
- * @param {string} order
213
+ * @param {object} parameters Page, query and order parameters.
216
214
  * @return {Rest}
217
215
  */
218
216
  setParameters({ page, query, order }) {
@@ -593,7 +591,7 @@ function initFilter() {
593
591
  * @param json
594
592
  * @param response
595
593
  * @param filterControl
596
- * @returns {Promise<never>|Promise<Awaited<unknown>>}
594
+ * @return {Promise<never>|Promise<Awaited<unknown>>}
597
595
  */
598
596
  function handleIntersectionObserver(json, response, filterControl) {
599
597
  const path = new Pathfinder(json);
@@ -346,7 +346,7 @@ class DataTable extends CustomElement {
346
346
  /**
347
347
  * Get the row number of the selected rows as an array
348
348
  *
349
- * @returns {number[]}
349
+ * @return {number[]}
350
350
  */
351
351
  getSelectedRows() {
352
352
  const rows = this.getGridElements(`[data-monster-role="select-row"]`);
@@ -1350,7 +1350,7 @@ function initEventHandler() {
1350
1350
  * @private
1351
1351
  * @param {HTMLInputElement} checkbox
1352
1352
  * @param {boolean} selected
1353
- * @returns {string|null}
1353
+ * @return {string|null}
1354
1354
  */
1355
1355
  function setRowSelectionState(checkbox, selected) {
1356
1356
  const parentNode = checkbox.parentNode;
@@ -1564,7 +1564,7 @@ function initGridAndStructs(hostConfig, headerOrderMap) {
1564
1564
 
1565
1565
  /**
1566
1566
  * @private
1567
- * @returns {object}
1567
+ * @return {object}
1568
1568
  */
1569
1569
  function getTranslations() {
1570
1570
  const locale = getLocaleOfDocument();
@@ -119,7 +119,7 @@ class DatePresets extends CustomControl {
119
119
 
120
120
  /**
121
121
  * @private
122
- * @returns {Object}
122
+ * @return {Object}
123
123
  */
124
124
  function getTranslations() {
125
125
  const locale = getLocaleOfDocument();
@@ -114,7 +114,7 @@ class Input extends AbstractBase {
114
114
 
115
115
  /**
116
116
  * @private
117
- * @returns {{filter: string}}
117
+ * @return {{filter: string}}
118
118
  */
119
119
  function getTranslations() {
120
120
  const locale = getLocaleOfDocument();
@@ -269,7 +269,7 @@ class Range extends AbstractBase {
269
269
 
270
270
  /**
271
271
  * @private
272
- * @returns {object}
272
+ * @return {object}
273
273
  */
274
274
  function getTranslations() {
275
275
  const locale = getLocaleOfDocument();
@@ -50,9 +50,7 @@ class Settings extends Base {
50
50
  /**
51
51
  * value = "id"
52
52
  *
53
- * @param value
54
- * @param label
55
- * @param visible
53
+ * @param {object} option Value, label and visibility settings.
56
54
  * @return {Settings}
57
55
  */
58
56
  set({ value, label, visible = true }) {
@@ -149,7 +149,7 @@ class TextOperator extends CustomControl {
149
149
 
150
150
  /**
151
151
  * @private
152
- * @returns {Object}
152
+ * @return {Object}
153
153
  */
154
154
  function getTranslations() {
155
155
  const locale = getLocaleOfDocument();
@@ -425,7 +425,7 @@ class Filter extends CustomElement {
425
425
 
426
426
  /**
427
427
  * @private
428
- * @returns {object}
428
+ * @return {object}
429
429
  */
430
430
  function getTranslations() {
431
431
  const locale = getLocaleOfDocument();
@@ -199,9 +199,7 @@ class Pagination extends CustomElement {
199
199
  * Sets the pagination state directly, without requiring a datasource.
200
200
  * This is useful for controlling the component programmatically.
201
201
  *
202
- * @param {object} state - The state object for the pagination.
203
- * @param {number} state.currentPage - The current active page number.
204
- * @param {number} state.totalPages - The total number of available pages.
202
+ * @param {object} state The current page and total page count.
205
203
  * @return {void}
206
204
  */
207
205
  setPaginationState({ currentPage, totalPages }) {
@@ -958,7 +956,7 @@ function buildPagination(current, max) {
958
956
  /**
959
957
  * @private
960
958
  * @param {object} pagination
961
- * @returns {void}
959
+ * @return {void}
962
960
  */
963
961
  function syncPaginationStateToDom(pagination) {
964
962
  if (!this.shadowRoot || !pagination) {
@@ -137,7 +137,7 @@ class DatasourceStatus extends CustomElement {
137
137
  *
138
138
  * @param message
139
139
  * @param timeout
140
- * @returns {DatasourceStatus}
140
+ * @return {DatasourceStatus}
141
141
  */
142
142
  setErrorMessage(message, timeout) {
143
143
  this[errorElementSymbol].setErrorMessage(message, timeout);
@@ -2072,7 +2072,7 @@ function getEmptyStateIcon() {
2072
2072
 
2073
2073
  /**
2074
2074
  * @private
2075
- * @returns {object}
2075
+ * @return {object}
2076
2076
  */
2077
2077
  function getTranslations() {
2078
2078
  const locale = getLocaleOfDocument();
@@ -175,7 +175,7 @@ function initEventHandler() {
175
175
 
176
176
  /**
177
177
  * @private
178
- * @returns {updateButtonsI18n}
178
+ * @return {updateButtonsI18n}
179
179
  */
180
180
  function updateButtonsI18n() {
181
181
  const translations = getDocumentTranslations();
@@ -60,7 +60,7 @@ export { ApiBar };
60
60
  class ApiBar extends ButtonBar {
61
61
  /**
62
62
  * This method is called by the `instanceof` operator.
63
- * @returns {symbol}
63
+ * @return {symbol}
64
64
  */
65
65
  static get [instanceSymbol]() {
66
66
  return Symbol.for("@schukai/monster/components/form/api-bar@@instance");
@@ -2132,7 +2132,7 @@ function getTemplate() {
2132
2132
 
2133
2133
  /**
2134
2134
  * @private
2135
- * @returns {object}
2135
+ * @return {object}
2136
2136
  */
2137
2137
  function getTranslations() {
2138
2138
  const locale = getLocaleOfDocument();
@@ -541,7 +541,7 @@ function getTemplate() {
541
541
 
542
542
  /**
543
543
  * @private
544
- * @returns {object}
544
+ * @return {object}
545
545
  */
546
546
  function getTranslations() {
547
547
  const locale = getLocaleOfDocument();
@@ -96,7 +96,7 @@ class Checklist extends CustomControl {
96
96
  }
97
97
 
98
98
  /**
99
- * @returns {Array}
99
+ * @return {Array}
100
100
  */
101
101
  get value() {
102
102
  return getCheckedIds.call(this);
@@ -52,7 +52,7 @@ class Digits extends CustomControl {
52
52
 
53
53
  /**
54
54
  * This method is called by the `instanceof` operator.
55
- * @returns {symbol}
55
+ * @return {symbol}
56
56
  */
57
57
  static get [instanceSymbol]() {
58
58
  return Symbol.for("@schukai/monster/components/form/digits@@instance");
@@ -260,7 +260,7 @@ function updateDigitControls() {
260
260
  /**
261
261
  * @private
262
262
  * @param value
263
- * @returns {boolean}
263
+ * @return {boolean}
264
264
  */
265
265
  function checkCharacter(value) {
266
266
  const characterSet = this.getOption("characterSet");
@@ -269,7 +269,7 @@ function checkCharacter(value) {
269
269
 
270
270
  /**
271
271
  * @private
272
- * @returns {initEventHandler}
272
+ * @return {initEventHandler}
273
273
  */
274
274
  function initEventHandler() {
275
275
  const self = this;
@@ -381,7 +381,7 @@ function collectValues() {
381
381
  /**
382
382
  * @private
383
383
  * @param {Array<{value:string}>} controls
384
- * @returns {void}
384
+ * @return {void}
385
385
  */
386
386
  function syncInputValues(controls) {
387
387
  if (!this[digitsElementSymbol]) return;
@@ -1051,7 +1051,7 @@ function getTemplate() {
1051
1051
 
1052
1052
  /**
1053
1053
  * @private
1054
- * @returns {object}
1054
+ * @return {object}
1055
1055
  */
1056
1056
  function getTranslations() {
1057
1057
  const locale = getLocaleOfDocument();
@@ -256,7 +256,7 @@ class FieldSet extends CustomControl {
256
256
 
257
257
  /**
258
258
  * @private
259
- * @returns {object}
259
+ * @return {object}
260
260
  */
261
261
  function getTranslations() {
262
262
  const locale = getLocaleOfDocument();
@@ -40,7 +40,7 @@ export const inputGroupElementSymbol = Symbol("inputGroupElement");
40
40
  class InputGroup extends CustomElement {
41
41
  /**
42
42
  * This method is called by the `instanceof` operator.
43
- * @returns {symbol}
43
+ * @return {symbol}
44
44
  */
45
45
  static get [instanceSymbol]() {
46
46
  return Symbol.for("@schukai/monster/components/form/input-group@@instance");