@schukai/monster 3.80.2 → 3.80.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
  3. package/source/components/content/copy.mjs +7 -4
  4. package/source/components/datatable/change-button.mjs +1 -1
  5. package/source/components/datatable/columnbar.mjs +1 -1
  6. package/source/components/datatable/dataset.mjs +3 -3
  7. package/source/components/datatable/datasource/dom.mjs +2 -2
  8. package/source/components/datatable/datasource/rest.mjs +7 -7
  9. package/source/components/datatable/datasource.mjs +3 -3
  10. package/source/components/datatable/datatable/header.mjs +11 -11
  11. package/source/components/datatable/datatable.mjs +15 -15
  12. package/source/components/datatable/embedded-pagination.mjs +2 -2
  13. package/source/components/datatable/filter/date-range.mjs +5 -5
  14. package/source/components/datatable/filter/input.mjs +2 -2
  15. package/source/components/datatable/filter/range.mjs +3 -3
  16. package/source/components/datatable/filter/settings.mjs +5 -5
  17. package/source/components/datatable/filter/util.mjs +3 -3
  18. package/source/components/datatable/filter-button.mjs +1 -1
  19. package/source/components/datatable/filter.mjs +11 -11
  20. package/source/components/datatable/pagination.mjs +3 -3
  21. package/source/components/datatable/save-button.mjs +1 -1
  22. package/source/components/datatable/status.mjs +1 -1
  23. package/source/components/form/action-button.mjs +2 -2
  24. package/source/components/form/api-button.mjs +1 -1
  25. package/source/components/form/button-bar.mjs +3 -3
  26. package/source/components/form/confirm-button.mjs +4 -4
  27. package/source/components/form/context-error.mjs +4 -4
  28. package/source/components/form/context-help.mjs +1 -1
  29. package/source/components/form/field-set.mjs +2 -2
  30. package/source/components/form/form.mjs +3 -3
  31. package/source/components/form/message-state-button.mjs +6 -6
  32. package/source/components/form/popper-button.mjs +1 -1
  33. package/source/components/form/reload.mjs +5 -22
  34. package/source/components/form/select.mjs +2015 -1958
  35. package/source/components/form/shadow-reload.mjs +1 -1
  36. package/source/components/form/state-button.mjs +1 -1
  37. package/source/components/form/style/select.pcss +3 -1
  38. package/source/components/form/stylesheet/select.mjs +7 -14
  39. package/source/components/form/template.mjs +4 -4
  40. package/source/components/form/toggle-switch.mjs +1 -1
  41. package/source/components/form/tree-select.mjs +1 -1
  42. package/source/components/form/util/floating-ui.mjs +1 -1
  43. package/source/components/host/call-button.mjs +1 -1
  44. package/source/components/host/config-manager.mjs +6 -6
  45. package/source/components/host/host.mjs +8 -8
  46. package/source/components/host/overlay.mjs +13 -13
  47. package/source/components/host/toggle-button.mjs +1 -1
  48. package/source/components/host/util.mjs +1 -1
  49. package/source/components/host/viewer.mjs +5 -5
  50. package/source/components/layout/collapse.mjs +20 -19
  51. package/source/components/layout/details.mjs +5 -5
  52. package/source/components/layout/iframe.mjs +2 -2
  53. package/source/components/layout/panel.mjs +3 -3
  54. package/source/components/layout/popper.mjs +1 -1
  55. package/source/components/layout/slider.mjs +6 -6
  56. package/source/components/layout/split-panel.mjs +3 -3
  57. package/source/components/layout/tabs.mjs +3 -9
  58. package/source/components/layout/width-toggle.mjs +4 -4
  59. package/source/components/navigation/table-of-content.mjs +3 -3
  60. package/source/components/notify/message.mjs +0 -1
  61. package/source/components/state/log/entry.mjs +6 -6
  62. package/source/components/state/log.mjs +3 -39
  63. package/source/components/state/state.mjs +1 -1
  64. package/source/components/tree-menu/dragable-tree-menu.mjs +2 -2
  65. package/source/components/tree-menu/tree-menu.mjs +1 -1
  66. package/source/constraints/abstract.mjs +2 -2
  67. package/source/constraints/abstractoperator.mjs +1 -1
  68. package/source/constraints/andoperator.mjs +5 -5
  69. package/source/constraints/invalid.mjs +5 -5
  70. package/source/constraints/isarray.mjs +5 -5
  71. package/source/constraints/isobject.mjs +5 -5
  72. package/source/constraints/oroperator.mjs +5 -5
  73. package/source/constraints/valid.mjs +4 -4
  74. package/source/data/buildmap.mjs +2 -1
  75. package/source/data/datasource/dom.mjs +1 -1
  76. package/source/data/datasource/server/restapi/data-fetch-error.mjs +1 -1
  77. package/source/data/datasource/server/restapi/writeerror.mjs +1 -1
  78. package/source/data/datasource/server/restapi.mjs +2 -2
  79. package/source/data/datasource/server/webconnect.mjs +4 -4
  80. package/source/data/datasource/server.mjs +5 -5
  81. package/source/data/datasource/storage/localstorage.mjs +1 -1
  82. package/source/data/datasource/storage/sessionstorage.mjs +1 -1
  83. package/source/data/datasource/storage.mjs +1 -1
  84. package/source/data/datasource.mjs +4 -5
  85. package/source/data/pathfinder.mjs +10 -9
  86. package/source/data/pipe.mjs +5 -4
  87. package/source/data/transformer.mjs +23 -11
  88. package/source/dom/assembler.mjs +2 -2
  89. package/source/dom/attributes.mjs +2 -2
  90. package/source/dom/customcontrol.mjs +1 -1
  91. package/source/dom/customelement.mjs +36 -67
  92. package/source/dom/dimension.mjs +3 -3
  93. package/source/dom/focusmanager.mjs +1 -1
  94. package/source/dom/locale.mjs +1 -1
  95. package/source/dom/resource/data.mjs +1 -1
  96. package/source/dom/resource/link/stylesheet.mjs +1 -1
  97. package/source/dom/resource/link.mjs +1 -1
  98. package/source/dom/resource/script.mjs +1 -1
  99. package/source/dom/template.mjs +2 -2
  100. package/source/dom/theme.mjs +2 -2
  101. package/source/dom/updater.mjs +5 -6
  102. package/source/dom/util/extract-keys.mjs +1 -1
  103. package/source/dom/util/init-options-from-attributes.mjs +1 -1
  104. package/source/dom/util/set-option-from-attribute.mjs +1 -1
  105. package/source/dom/util.mjs +9 -9
  106. package/source/i18n/formatter.mjs +1 -1
  107. package/source/i18n/locale.mjs +2 -2
  108. package/source/i18n/provider.mjs +1 -1
  109. package/source/i18n/providers/embed.mjs +1 -3
  110. package/source/i18n/translations.mjs +2 -2
  111. package/source/logging/handler/console.mjs +1 -1
  112. package/source/logging/handler.mjs +11 -11
  113. package/source/logging/logentry.mjs +2 -2
  114. package/source/logging/logger.mjs +11 -11
  115. package/source/math/random.mjs +2 -2
  116. package/source/monster.mjs +1 -0
  117. package/source/net/webconnect/message.mjs +3 -3
  118. package/source/net/webconnect.mjs +10 -10
  119. package/source/text/bracketed-key-value-hash.mjs +2 -2
  120. package/source/text/generate-range-comparison-expression.mjs +1 -1
  121. package/source/types/base.mjs +4 -4
  122. package/source/types/basewithoptions.mjs +3 -4
  123. package/source/types/dataurl.mjs +6 -8
  124. package/source/types/global.mjs +2 -2
  125. package/source/types/internal.mjs +3 -3
  126. package/source/types/is.mjs +10 -20
  127. package/source/types/mediatype.mjs +1 -1
  128. package/source/types/node.mjs +1 -1
  129. package/source/types/nodelist.mjs +7 -7
  130. package/source/types/observablequeue.mjs +7 -7
  131. package/source/types/observer.mjs +6 -6
  132. package/source/types/proxyobserver.mjs +8 -8
  133. package/source/types/queue.mjs +3 -3
  134. package/source/types/stack.mjs +3 -3
  135. package/source/types/tokenlist.mjs +12 -12
  136. package/source/types/uniquequeue.mjs +2 -2
  137. package/source/types/version.mjs +4 -4
  138. package/source/util/clone.mjs +2 -2
  139. package/source/util/comparator.mjs +1 -2
  140. package/source/util/deadmansswitch.mjs +7 -5
  141. package/source/util/freeze.mjs +1 -1
  142. package/source/util/processing.mjs +2 -2
  143. package/source/util/runtime.mjs +1 -1
@@ -48,7 +48,7 @@ export { parseBracketedKeyValueHash, createBracketedKeyValueHash };
48
48
  *
49
49
  * @since 3.37.0
50
50
  * @param {string} hashString - The string to parse, containing bracketed key-value pairs.
51
- * @returns {Object} - An object representing the parsed result, with keys representing the selectors and values representing the key-value pairs associated with each selector.
51
+ * @return {Object} - An object representing the parsed result, with keys representing the selectors and values representing the key-value pairs associated with each selector.
52
52
  * - Returns an empty object if there was an error during parsing. */
53
53
  function parseBracketedKeyValueHash(hashString) {
54
54
  const selectors = {};
@@ -207,7 +207,7 @@ function parseBracketedKeyValueHash(hashString) {
207
207
  *
208
208
  * @param {Object} object - The object containing selectors and key-value pairs.
209
209
  * @param {boolean} addHashPrefix - Whether to add the hash prefix # to the beginning of the string.
210
- * @returns {string} The hash selector string.
210
+ * @return {string} The hash selector string.
211
211
  * @since 3.37.0
212
212
  */
213
213
  function createBracketedKeyValueHash(object, addHashPrefix = true) {
@@ -58,7 +58,7 @@ export { generateRangeComparisonExpression };
58
58
  * @param {string} [options.eqOp='=='] - The comparison operator for equality to use.
59
59
  * @param {string} [options.geOp='>='] - The comparison operator for greater than or equal to to use.
60
60
  * @param {string} [options.leOp='<='] - The comparison operator for less than or equal to to use.
61
- * @returns {string} The generated comparison expression.
61
+ * @return {string} The generated comparison expression.
62
62
  * @throws {Error} If the input is invalid.
63
63
  * @memberOf Monster.Text
64
64
  * @summary Generates a comparison expression based on a range of values.
@@ -43,7 +43,7 @@ export { Base };
43
43
  */
44
44
  class Base extends Object {
45
45
  /**
46
- * @returns {string}
46
+ * @return {string}
47
47
  */
48
48
  toString() {
49
49
  return JSON.stringify(this);
@@ -51,7 +51,7 @@ class Base extends Object {
51
51
 
52
52
  /**
53
53
  * This method is called by the `instanceof` operator.
54
- * @returns {symbol}
54
+ * @return {symbol}
55
55
  * @since 2.1.0
56
56
  */
57
57
  static get [instanceSymbol]() {
@@ -61,7 +61,7 @@ class Base extends Object {
61
61
  /**
62
62
  * This method is called by the `instanceof` operator.
63
63
  * @param that
64
- * @returns {boolean}
64
+ * @return {boolean}
65
65
  * @since 2.1.0
66
66
  */
67
67
  static [Symbol.hasInstance](that) {
@@ -96,7 +96,7 @@ class Base extends Object {
96
96
  *
97
97
  * @private
98
98
  * @param obj
99
- * @returns {boolean|any|boolean}
99
+ * @return {boolean|any|boolean}
100
100
  * @since 2.1.0
101
101
  */
102
102
  function checkInstanceSymbol(obj) {
@@ -26,13 +26,12 @@ export { BaseWithOptions };
26
26
  * This class is actually only used as a base class.
27
27
  *
28
28
  * Classes that require the possibility of options can be derived directly from this class.
29
- * Derived classes almost always override the `defaul` getter with their own values.
29
+ * Derived classes almost always override the `default` getter with their own values.
30
30
  *
31
- * @externalExample ../../example/types/basewithoptions.mjs
32
31
  * @license AGPLv3
33
32
  * @since 1.13.0
34
33
  * @copyright schukai GmbH
35
- * @deprecated since 3.15.0 use `BaseWithOptions` instead of `BaseWithOptions`
34
+ * @deprecated since 3.15.0
36
35
  */
37
36
  class BaseWithOptions extends Base {
38
37
  /**
@@ -51,7 +50,7 @@ class BaseWithOptions extends Base {
51
50
 
52
51
  /**
53
52
  * This getter provides the options. Derived classes overwrite
54
- * this getter with their own values. It is good karma to always include
53
+ * this getter with their own values. It is a good karma to always include
55
54
  * the values from the parent class.
56
55
  *
57
56
  * ```javascript
@@ -30,12 +30,11 @@ export { DataUrl, parseDataURL };
30
30
  const internal = Symbol("internal");
31
31
 
32
32
  /**
33
- * You can create an object via the monster namespace `new Monster.Types.DataUrl()`.
33
+ * You can create an object via the monster namespace `new DataUrl()`.
34
34
  *
35
35
  * @license AGPLv3
36
36
  * @since 1.8.0
37
37
  * @copyright schukai GmbH
38
- * @memberOf Monster.Types
39
38
  * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
40
39
  * @see https://datatracker.ietf.org/doc/html/rfc2397
41
40
  */
@@ -43,7 +42,7 @@ class DataUrl extends Base {
43
42
  /**
44
43
  *
45
44
  * @param {String} content
46
- * @param {String|Monster.Types.MediaType} mediatype
45
+ * @param {String|MediaType} mediatype
47
46
  * @param {boolean} base64=true
48
47
  */
49
48
  constructor(content, mediatype, base64) {
@@ -62,7 +61,7 @@ class DataUrl extends Base {
62
61
 
63
62
  /**
64
63
  * This method is called by the `instanceof` operator.
65
- * @returns {symbol}
64
+ * @return {symbol}
66
65
  * @since 2.1.0
67
66
  */
68
67
  static get [instanceSymbol]() {
@@ -98,7 +97,7 @@ class DataUrl extends Base {
98
97
  }
99
98
 
100
99
  /**
101
- * You can call the function via the monster namespace `Monster.Types.parseDataURL()`.
100
+ * You can call the function via the monster namespace `parseDataURL()`.
102
101
  *
103
102
  * Specification:
104
103
  *
@@ -109,13 +108,12 @@ class DataUrl extends Base {
109
108
  * parameter := attribute "=" value
110
109
  * ```
111
110
  *
112
- * @param {String} dataurl
113
- * @return {Monster.Types.DataUrl}
114
111
  * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
115
112
  * @see https://datatracker.ietf.org/doc/html/rfc2397
116
113
  * @throws {TypeError} incorrect or missing data protocol
117
114
  * @throws {TypeError} malformed data url
118
- * @memberOf Monster.Types
115
+ * @param {string} dataurl
116
+ * @return {DataUrl}
119
117
  */
120
118
  function parseDataURL(dataurl) {
121
119
  validateString(dataurl);
@@ -74,7 +74,7 @@ let globalReference;
74
74
  * @license AGPLv3
75
75
  * @since 1.6.0
76
76
  * @memberOf Monster.Types
77
- * @returns {object} globalThis
77
+ * @return {object} globalThis
78
78
  */
79
79
  function getGlobal() {
80
80
  return globalReference;
@@ -107,7 +107,7 @@ function getGlobal() {
107
107
  * @since 1.6.0
108
108
  * @memberOf Monster.Types
109
109
  * @param {string} name
110
- * @returns {object}
110
+ * @return {object}
111
111
  * @throws {Error} the object is not defined
112
112
  * @throws {TypeError} value is not a object
113
113
  * @throws {TypeError} value is not a string
@@ -63,7 +63,7 @@ function equipWithInternal() {
63
63
  * Attach a new observer
64
64
  *
65
65
  * @param {Observer} observer
66
- * @returns {ProxyObserver}
66
+ * @return {ProxyObserver}
67
67
  */
68
68
  this["attachInternalObserver"] = (observer) => {
69
69
  this[internalSymbol].attachObserver(observer);
@@ -74,7 +74,7 @@ function equipWithInternal() {
74
74
  * Detach a observer
75
75
  *
76
76
  * @param {Observer} observer
77
- * @returns {ProxyObserver}
77
+ * @return {ProxyObserver}
78
78
  */
79
79
  this["detachInternalObserver"] = (observer) => {
80
80
  this[internalSymbol].detachObserver(observer);
@@ -85,7 +85,7 @@ function equipWithInternal() {
85
85
  * Check if a observer is attached
86
86
  *
87
87
  * @param {Observer} observer
88
- * @returns {boolean}
88
+ * @return {boolean}
89
89
  */
90
90
  this["containsInternalObserver"] = (observer) => {
91
91
  return this[internalSymbol].containsObserver(observer);
@@ -34,11 +34,10 @@ export {
34
34
  *
35
35
  * @externalExample ../../example/types/is-1.mjs
36
36
  * @param {*} value
37
- * @returns {boolean}
37
+ * @return {boolean}
38
38
  * @license AGPLv3
39
39
  * @since 1.2.0
40
40
  * @copyright schukai GmbH
41
- * @memberOf Monster.Types
42
41
  */
43
42
  function isIterable(value) {
44
43
  if (value === undefined) return false;
@@ -53,11 +52,10 @@ function isIterable(value) {
53
52
  *
54
53
  * @externalExample ../../example/types/is-2.mjs
55
54
  * @param {*} value
56
- * @returns {boolean}
55
+ * @return {boolean}
57
56
  * @license AGPLv3
58
57
  * @since 1.0.0
59
58
  * @copyright schukai GmbH
60
- * @memberOf Monster.Types
61
59
  */
62
60
  function isPrimitive(value) {
63
61
  var type;
@@ -87,11 +85,10 @@ function isPrimitive(value) {
87
85
  *
88
86
  * @externalExample ../../example/types/is-3.mjs
89
87
  * @param {*} value
90
- * @returns {boolean}
88
+ * @return {boolean}
91
89
  * @license AGPLv3
92
90
  * @since 1.9.0
93
91
  * @copyright schukai GmbH
94
- * @memberOf Monster.Types
95
92
  */
96
93
  function isSymbol(value) {
97
94
  return "symbol" === typeof value ? true : false;
@@ -104,11 +101,10 @@ function isSymbol(value) {
104
101
  *
105
102
  * @externalExample ../../example/types/is-4.mjs
106
103
  * @param {*} value
107
- * @returns {boolean}
104
+ * @return {boolean}
108
105
  * @license AGPLv3
109
106
  * @since 1.0.0
110
107
  * @copyright schukai GmbH
111
- * @memberOf Monster.Types
112
108
  */
113
109
  function isBoolean(value) {
114
110
  if (value === true || value === false) {
@@ -125,11 +121,10 @@ function isBoolean(value) {
125
121
  *
126
122
  * @externalExample ../../example/types/is-5.mjs
127
123
  * @param {*} value
128
- * @returns {boolean}
124
+ * @return {boolean}
129
125
  * @license AGPLv3
130
126
  * @since 1.0.0
131
127
  * @copyright schukai GmbH
132
- * @memberOf Monster.Types
133
128
  */
134
129
  function isString(value) {
135
130
  if (value === undefined || typeof value !== "string") {
@@ -145,11 +140,10 @@ function isString(value) {
145
140
  *
146
141
  * @externalExample ../../example/types/is-6.mjs
147
142
  * @param {*} value
148
- * @returns {boolean}
143
+ * @return {boolean}
149
144
  * @license AGPLv3
150
145
  * @since 1.0.0
151
146
  * @copyright schukai GmbH
152
- * @memberOf Monster.Types
153
147
  */
154
148
  function isObject(value) {
155
149
  if (isArray(value)) return false;
@@ -170,11 +164,10 @@ function isObject(value) {
170
164
  * @externalExample ../../example/types/is-7.mjs
171
165
  * @param {*} value
172
166
  * @param {*} instance
173
- * @returns {boolean}
167
+ * @return {boolean}
174
168
  * @license AGPLv3
175
169
  * @since 1.5.0
176
170
  * @copyright schukai GmbH
177
- * @memberOf Monster.Types
178
171
  */
179
172
  function isInstance(value, instance) {
180
173
  if (!isObject(value)) return false;
@@ -190,11 +183,10 @@ function isInstance(value, instance) {
190
183
  *
191
184
  * @externalExample ../../example/types/is-8.mjs
192
185
  * @param {*} value
193
- * @returns {boolean}
186
+ * @return {boolean}
194
187
  * @license AGPLv3
195
188
  * @since 1.0.0
196
189
  * @copyright schukai GmbH
197
- * @memberOf Monster.Types
198
190
  * @see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
199
191
  */
200
192
  function isArray(value) {
@@ -208,11 +200,10 @@ function isArray(value) {
208
200
  *
209
201
  * @externalExample ../../example/types/is-9.mjs
210
202
  * @param {*} value
211
- * @returns {boolean}
203
+ * @return {boolean}
212
204
  * @license AGPLv3
213
205
  * @since 1.0.0
214
206
  * @copyright schukai GmbH
215
- * @memberOf Monster.Types
216
207
  */
217
208
  function isFunction(value) {
218
209
  if (isArray(value)) return false;
@@ -232,11 +223,10 @@ function isFunction(value) {
232
223
  *
233
224
  * @externalExample ../../example/types/is-10.mjs
234
225
  * @param {*} value
235
- * @returns {boolean}
226
+ * @return {boolean}
236
227
  * @license AGPLv3
237
228
  * @since 1.4.0
238
229
  * @copyright schukai GmbH
239
- * @memberOf Monster.Types
240
230
  */
241
231
  function isInteger(value) {
242
232
  return Number.isInteger(value);
@@ -62,7 +62,7 @@ class MediaType extends Base {
62
62
 
63
63
  /**
64
64
  * This method is called by the `instanceof` operator.
65
- * @returns {symbol}
65
+ * @return {symbol}
66
66
  * @since 2.1.0
67
67
  */
68
68
  static get [instanceSymbol]() {
@@ -59,7 +59,7 @@ class Node extends Base {
59
59
 
60
60
  /**
61
61
  * This method is called by the `instanceof` operator.
62
- * @returns {symbol}
62
+ * @return {symbol}
63
63
  * @since 2.1.0
64
64
  */
65
65
  static get [instanceSymbol]() {
@@ -49,7 +49,7 @@ class NodeList extends Set {
49
49
 
50
50
  /**
51
51
  * This method is called by the `instanceof` operator.
52
- * @returns {symbol}
52
+ * @return {symbol}
53
53
  * @since 2.1.0
54
54
  */
55
55
  static get [instanceSymbol]() {
@@ -68,7 +68,7 @@ class NodeList extends Set {
68
68
 
69
69
  /**
70
70
  * @param {Node} node
71
- * @returns {NodeList}
71
+ * @return {NodeList}
72
72
  */
73
73
  remove(node) {
74
74
  super.delete(validateInstance(node, Node));
@@ -77,14 +77,14 @@ class NodeList extends Set {
77
77
 
78
78
  /**
79
79
  * @param {Node} node
80
- * @returns {boolean}
80
+ * @return {boolean}
81
81
  */
82
82
  has(node) {
83
83
  return super.has(validateInstance(node, Node));
84
84
  }
85
85
 
86
86
  /**
87
- * @returns {NodeList}
87
+ * @return {NodeList}
88
88
  */
89
89
  clear() {
90
90
  super.clear();
@@ -92,21 +92,21 @@ class NodeList extends Set {
92
92
  }
93
93
 
94
94
  /**
95
- * @returns {NodeList}
95
+ * @return {NodeList}
96
96
  */
97
97
  toArray() {
98
98
  return Array.from(this);
99
99
  }
100
100
 
101
101
  /**
102
- * @returns {NodeList}
102
+ * @return {NodeList}
103
103
  */
104
104
  toJSON() {
105
105
  return this.toArray();
106
106
  }
107
107
 
108
108
  /**
109
- * @returns {NodeList}
109
+ * @return {NodeList}
110
110
  */
111
111
  toString() {
112
112
  const parts = [];
@@ -40,7 +40,7 @@ class ObservableQueue extends Queue {
40
40
 
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/types/observablequeue");
@@ -50,7 +50,7 @@ class ObservableQueue extends Queue {
50
50
  * Add a new element to the end of the queue.
51
51
  *
52
52
  * @param {*} value
53
- * @returns {Queue}
53
+ * @return {Queue}
54
54
  */
55
55
  add(value) {
56
56
  super.add(value);
@@ -61,7 +61,7 @@ class ObservableQueue extends Queue {
61
61
  /**
62
62
  * remove all entries
63
63
  *
64
- * @returns {Queue}
64
+ * @return {Queue}
65
65
  */
66
66
  clear() {
67
67
  super.clear();
@@ -73,7 +73,7 @@ class ObservableQueue extends Queue {
73
73
  * Attach a new observer
74
74
  *
75
75
  * @param {Observer} observer
76
- * @returns {ProxyObserver}
76
+ * @return {ProxyObserver}
77
77
  */
78
78
  attachObserver(observer) {
79
79
  this[internalSymbol].observers.attach(observer);
@@ -84,7 +84,7 @@ class ObservableQueue extends Queue {
84
84
  * Detach a observer
85
85
  *
86
86
  * @param {Observer} observer
87
- * @returns {ProxyObserver}
87
+ * @return {ProxyObserver}
88
88
  */
89
89
  detachObserver(observer) {
90
90
  this[internalSymbol].observers.detach(observer);
@@ -94,7 +94,7 @@ class ObservableQueue extends Queue {
94
94
  /**
95
95
  * Notify all observer
96
96
  *
97
- * @returns {Promise}
97
+ * @return {Promise}
98
98
  */
99
99
  notifyObservers() {
100
100
  return this[internalSymbol].observers.notify(this);
@@ -102,7 +102,7 @@ class ObservableQueue extends Queue {
102
102
 
103
103
  /**
104
104
  * @param {Observer} observer
105
- * @returns {boolean}
105
+ * @return {boolean}
106
106
  */
107
107
  containsObserver(observer) {
108
108
  return this[internalSymbol].observers.contains(observer);
@@ -77,7 +77,7 @@ class Observer extends Base {
77
77
 
78
78
  /**
79
79
  * This method is called by the `instanceof` operator.
80
- * @returns {symbol}
80
+ * @return {symbol}
81
81
  * @since 2.1.0
82
82
  */
83
83
  static get [instanceSymbol]() {
@@ -87,7 +87,7 @@ class Observer extends Base {
87
87
  /**
88
88
  *
89
89
  * @param {string} tag
90
- * @returns {Observer}
90
+ * @return {Observer}
91
91
  */
92
92
  addTag(tag) {
93
93
  this.tags.add(tag);
@@ -97,7 +97,7 @@ class Observer extends Base {
97
97
  /**
98
98
  *
99
99
  * @param {string} tag
100
- * @returns {Observer}
100
+ * @return {Observer}
101
101
  */
102
102
  removeTag(tag) {
103
103
  this.tags.remove(tag);
@@ -106,7 +106,7 @@ class Observer extends Base {
106
106
 
107
107
  /**
108
108
  *
109
- * @returns {Array}
109
+ * @return {Array}
110
110
  */
111
111
  getTags() {
112
112
  return this.tags.entries();
@@ -115,7 +115,7 @@ class Observer extends Base {
115
115
  /**
116
116
  *
117
117
  * @param {string} tag
118
- * @returns {boolean}
118
+ * @return {boolean}
119
119
  */
120
120
  hasTag(tag) {
121
121
  return this.tags.contains(tag);
@@ -124,7 +124,7 @@ class Observer extends Base {
124
124
  /**
125
125
  *
126
126
  * @param {object} subject
127
- * @returns {Promise}
127
+ * @return {Promise}
128
128
  */
129
129
  update(subject) {
130
130
  const self = this;
@@ -57,7 +57,7 @@ class ProxyObserver extends Base {
57
57
 
58
58
  /**
59
59
  * This method is called by the `instanceof` operator.
60
- * @returns {symbol}
60
+ * @return {symbol}
61
61
  * @since 2.1.0
62
62
  */
63
63
  static get [instanceSymbol]() {
@@ -65,7 +65,7 @@ class ProxyObserver extends Base {
65
65
  }
66
66
 
67
67
  /**
68
- * @returns {object}
68
+ * @return {object}
69
69
  */
70
70
  getSubject() {
71
71
  return this.subject;
@@ -93,7 +93,7 @@ class ProxyObserver extends Base {
93
93
  *
94
94
  * Changes to this object are not noticed by the observers, so you can make a large number of changes and inform the observers later.
95
95
  *
96
- * @returns {object}
96
+ * @return {object}
97
97
  */
98
98
  getRealSubject() {
99
99
  return this.realSubject;
@@ -103,7 +103,7 @@ class ProxyObserver extends Base {
103
103
  * attach a new observer
104
104
  *
105
105
  * @param {Observer} observer
106
- * @returns {ProxyObserver}
106
+ * @return {ProxyObserver}
107
107
  */
108
108
  attachObserver(observer) {
109
109
  this.observers.attach(observer);
@@ -114,7 +114,7 @@ class ProxyObserver extends Base {
114
114
  * detach a observer
115
115
  *
116
116
  * @param {Observer} observer
117
- * @returns {ProxyObserver}
117
+ * @return {ProxyObserver}
118
118
  */
119
119
  detachObserver(observer) {
120
120
  this.observers.detach(observer);
@@ -124,7 +124,7 @@ class ProxyObserver extends Base {
124
124
  /**
125
125
  * notify all observer
126
126
  *
127
- * @returns {Promise}
127
+ * @return {Promise}
128
128
  */
129
129
  notifyObservers() {
130
130
  return this.observers.notify(this);
@@ -132,7 +132,7 @@ class ProxyObserver extends Base {
132
132
 
133
133
  /**
134
134
  * @param {Observer} observer
135
- * @returns {boolean}
135
+ * @return {boolean}
136
136
  */
137
137
  containsObserver(observer) {
138
138
  return this.observers.contains(observer);
@@ -141,7 +141,7 @@ class ProxyObserver extends Base {
141
141
 
142
142
  /**
143
143
  *
144
- * @returns {{defineProperty: (function(*=, *=, *=): *), setPrototypeOf: (function(*, *=): boolean), set: (function(*, *, *, *): boolean), get: ((function(*=, *=, *=): (undefined))|*), deleteProperty: ((function(*, *): (boolean))|*)}}
144
+ * @return {{defineProperty: (function(*=, *=, *=): *), setPrototypeOf: (function(*, *=): boolean), set: (function(*, *, *, *): boolean), get: ((function(*=, *=, *=): (undefined))|*), deleteProperty: ((function(*, *): (boolean))|*)}}
145
145
  * @private
146
146
  * @see {@link https://gitlab.schukai.com/-/snippets/49}
147
147
  */
@@ -41,7 +41,7 @@ class Queue extends Base {
41
41
 
42
42
  /**
43
43
  * This method is called by the `instanceof` operator.
44
- * @returns {symbol}
44
+ * @return {symbol}
45
45
  * @since 2.1.0
46
46
  */
47
47
  static get [instanceSymbol]() {
@@ -72,7 +72,7 @@ class Queue extends Base {
72
72
  * Add a new element to the end of the queue.
73
73
  *
74
74
  * @param {*} value
75
- * @returns {Queue}
75
+ * @return {Queue}
76
76
  */
77
77
  add(value) {
78
78
  this.data.push(value);
@@ -82,7 +82,7 @@ class Queue extends Base {
82
82
  /**
83
83
  * remove all entries
84
84
  *
85
- * @returns {Queue}
85
+ * @return {Queue}
86
86
  */
87
87
  clear() {
88
88
  this.data = [];
@@ -34,7 +34,7 @@ class Stack extends Base {
34
34
 
35
35
  /**
36
36
  * This method is called by the `instanceof` operator.
37
- * @returns {symbol}
37
+ * @return {symbol}
38
38
  * @since 2.1.0
39
39
  */
40
40
  static get [instanceSymbol]() {
@@ -65,7 +65,7 @@ class Stack extends Base {
65
65
  * pushes an item onto the top of this stack.
66
66
  *
67
67
  * @param {*} value
68
- * @returns {Queue}
68
+ * @return {Queue}
69
69
  */
70
70
  push(value) {
71
71
  this.data.push(value);
@@ -75,7 +75,7 @@ class Stack extends Base {
75
75
  /**
76
76
  * remove all entries
77
77
  *
78
- * @returns {Queue}
78
+ * @return {Queue}
79
79
  */
80
80
  clear() {
81
81
  this.data = [];