@schukai/monster 4.55.0 → 4.57.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 (331) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +2 -2
  3. package/package.json +1 -1
  4. package/source/components/accessibility/locale-picker.mjs +3 -3
  5. package/source/components/accessibility/locale-select.mjs +3 -3
  6. package/source/components/accessibility/stylesheet/locale-picker.mjs +2 -2
  7. package/source/components/constants.mjs +2 -2
  8. package/source/components/content/camera-capture.mjs +3 -3
  9. package/source/components/content/copy.mjs +3 -3
  10. package/source/components/content/fetch-box.mjs +3 -3
  11. package/source/components/content/stylesheet/camera-capture.mjs +2 -2
  12. package/source/components/content/stylesheet/copy.mjs +2 -2
  13. package/source/components/content/stylesheet/fetch-box.mjs +2 -2
  14. package/source/components/content/stylesheet/viewer.mjs +2 -2
  15. package/source/components/content/viewer/html.mjs +3 -3
  16. package/source/components/content/viewer/message.mjs +3 -3
  17. package/source/components/content/viewer/stylesheet/html.mjs +2 -2
  18. package/source/components/content/viewer/stylesheet/message.mjs +2 -2
  19. package/source/components/content/viewer.mjs +3 -3
  20. package/source/components/data/kpi-tile.mjs +3 -3
  21. package/source/components/data/metric-graph.mjs +3 -3
  22. package/source/components/data/metric.mjs +3 -3
  23. package/source/components/data/stylesheet/kpi-tile.mjs +2 -2
  24. package/source/components/data/stylesheet/metric-graph.mjs +2 -2
  25. package/source/components/data/stylesheet/metric.mjs +2 -2
  26. package/source/components/datatable/change-button.mjs +3 -3
  27. package/source/components/datatable/columnbar.mjs +3 -3
  28. package/source/components/datatable/constants.mjs +2 -2
  29. package/source/components/datatable/dataset.mjs +13 -3
  30. package/source/components/datatable/datasource/dom.mjs +3 -3
  31. package/source/components/datatable/datasource/rest.mjs +3 -3
  32. package/source/components/datatable/datasource.mjs +11 -4
  33. package/source/components/datatable/datatable/header.mjs +3 -3
  34. package/source/components/datatable/datatable.mjs +3 -3
  35. package/source/components/datatable/embedded-pagination.mjs +3 -3
  36. package/source/components/datatable/filter/abstract-base.mjs +3 -3
  37. package/source/components/datatable/filter/date-range.mjs +3 -3
  38. package/source/components/datatable/filter/input.mjs +3 -3
  39. package/source/components/datatable/filter/range.mjs +3 -3
  40. package/source/components/datatable/filter/select.mjs +3 -3
  41. package/source/components/datatable/filter/settings.mjs +3 -3
  42. package/source/components/datatable/filter/util.mjs +2 -2
  43. package/source/components/datatable/filter-button.mjs +3 -3
  44. package/source/components/datatable/filter.mjs +3 -3
  45. package/source/components/datatable/pagination.mjs +3 -3
  46. package/source/components/datatable/save-button.mjs +3 -3
  47. package/source/components/datatable/status.mjs +3 -3
  48. package/source/components/datatable/stylesheet/change-button.mjs +2 -2
  49. package/source/components/datatable/stylesheet/column-bar.mjs +2 -2
  50. package/source/components/datatable/stylesheet/dataset.mjs +2 -2
  51. package/source/components/datatable/stylesheet/datasource.mjs +2 -2
  52. package/source/components/datatable/stylesheet/datatable.mjs +2 -2
  53. package/source/components/datatable/stylesheet/embedded-pagination.mjs +2 -2
  54. package/source/components/datatable/stylesheet/filter-button.mjs +2 -2
  55. package/source/components/datatable/stylesheet/filter-controls-defaults.mjs +2 -2
  56. package/source/components/datatable/stylesheet/filter-date-range.mjs +2 -2
  57. package/source/components/datatable/stylesheet/filter-range.mjs +2 -2
  58. package/source/components/datatable/stylesheet/filter-select.mjs +2 -2
  59. package/source/components/datatable/stylesheet/filter.mjs +2 -2
  60. package/source/components/datatable/stylesheet/pagination.mjs +2 -2
  61. package/source/components/datatable/stylesheet/save-button.mjs +2 -2
  62. package/source/components/datatable/stylesheet/status.mjs +2 -2
  63. package/source/components/datatable/util.mjs +2 -2
  64. package/source/components/form/action-button.mjs +3 -3
  65. package/source/components/form/api-bar.mjs +3 -3
  66. package/source/components/form/api-button.mjs +4 -4
  67. package/source/components/form/button-bar.mjs +6 -4
  68. package/source/components/form/button.mjs +3 -3
  69. package/source/components/form/confirm-button.mjs +3 -3
  70. package/source/components/form/constants.mjs +2 -2
  71. package/source/components/form/context-error.mjs +3 -3
  72. package/source/components/form/context-help.mjs +3 -3
  73. package/source/components/form/digits.mjs +3 -3
  74. package/source/components/form/field-set.mjs +3 -3
  75. package/source/components/form/form.mjs +10 -3
  76. package/source/components/form/input-group.mjs +3 -3
  77. package/source/components/form/login.mjs +3 -3
  78. package/source/components/form/message-state-button.mjs +3 -3
  79. package/source/components/form/password.mjs +3 -3
  80. package/source/components/form/popper-button.mjs +3 -3
  81. package/source/components/form/popper.mjs +3 -3
  82. package/source/components/form/quantity.mjs +3 -3
  83. package/source/components/form/reload.mjs +3 -3
  84. package/source/components/form/select.mjs +3 -3
  85. package/source/components/form/shadow-reload.mjs +3 -3
  86. package/source/components/form/state-button.mjs +3 -3
  87. package/source/components/form/stylesheet/action-button.mjs +2 -2
  88. package/source/components/form/stylesheet/api-bar.mjs +2 -2
  89. package/source/components/form/stylesheet/api-button.mjs +2 -2
  90. package/source/components/form/stylesheet/button-bar.mjs +2 -2
  91. package/source/components/form/stylesheet/button.mjs +2 -2
  92. package/source/components/form/stylesheet/confirm-button.mjs +2 -2
  93. package/source/components/form/stylesheet/context-error.mjs +2 -2
  94. package/source/components/form/stylesheet/context-help.mjs +2 -2
  95. package/source/components/form/stylesheet/digits.mjs +2 -2
  96. package/source/components/form/stylesheet/field-set.mjs +2 -2
  97. package/source/components/form/stylesheet/form.mjs +2 -2
  98. package/source/components/form/stylesheet/input-group.mjs +2 -2
  99. package/source/components/form/stylesheet/invalid.mjs +2 -2
  100. package/source/components/form/stylesheet/login.mjs +2 -2
  101. package/source/components/form/stylesheet/message-state-button.mjs +2 -2
  102. package/source/components/form/stylesheet/password.mjs +2 -2
  103. package/source/components/form/stylesheet/popper-button.mjs +2 -2
  104. package/source/components/form/stylesheet/quantity.mjs +2 -2
  105. package/source/components/form/stylesheet/select.mjs +2 -2
  106. package/source/components/form/stylesheet/state-button.mjs +2 -2
  107. package/source/components/form/stylesheet/toggle-switch.mjs +2 -2
  108. package/source/components/form/stylesheet/tree-select.mjs +2 -2
  109. package/source/components/form/tabs.mjs +3 -3
  110. package/source/components/form/template.mjs +3 -3
  111. package/source/components/form/toggle-switch.mjs +3 -3
  112. package/source/components/form/tree-select.mjs +3 -3
  113. package/source/components/form/types/state.mjs +3 -3
  114. package/source/components/form/util/fetch.mjs +2 -2
  115. package/source/components/form/util/floating-ui.mjs +2 -2
  116. package/source/components/form/util/popper.mjs +2 -2
  117. package/source/components/host/call-button.mjs +3 -3
  118. package/source/components/host/collapse.mjs +3 -3
  119. package/source/components/host/config-manager.mjs +3 -3
  120. package/source/components/host/constants.mjs +2 -2
  121. package/source/components/host/details.mjs +3 -3
  122. package/source/components/host/host.mjs +3 -3
  123. package/source/components/host/overlay.mjs +3 -3
  124. package/source/components/host/stylesheet/call-button.mjs +2 -2
  125. package/source/components/host/stylesheet/config-manager.mjs +2 -2
  126. package/source/components/host/stylesheet/host.mjs +2 -2
  127. package/source/components/host/stylesheet/toggle-button.mjs +2 -2
  128. package/source/components/host/toggle-button.mjs +3 -3
  129. package/source/components/host/util.mjs +2 -2
  130. package/source/components/host/viewer.mjs +3 -3
  131. package/source/components/layout/board.mjs +3 -3
  132. package/source/components/layout/collapse.mjs +3 -3
  133. package/source/components/layout/details.mjs +3 -3
  134. package/source/components/layout/full-screen.mjs +3 -3
  135. package/source/components/layout/iframe.mjs +3 -3
  136. package/source/components/layout/overlay.mjs +3 -3
  137. package/source/components/layout/panel.mjs +3 -3
  138. package/source/components/layout/popper.mjs +3 -3
  139. package/source/components/layout/slider.mjs +3 -3
  140. package/source/components/layout/split-panel.mjs +3 -3
  141. package/source/components/layout/stylesheet/board.mjs +2 -2
  142. package/source/components/layout/stylesheet/collapse.mjs +2 -2
  143. package/source/components/layout/stylesheet/details.mjs +2 -2
  144. package/source/components/layout/stylesheet/full-screen.mjs +2 -2
  145. package/source/components/layout/stylesheet/iframe.mjs +2 -2
  146. package/source/components/layout/stylesheet/overlay.mjs +2 -2
  147. package/source/components/layout/stylesheet/panel.mjs +2 -2
  148. package/source/components/layout/stylesheet/popper.mjs +2 -2
  149. package/source/components/layout/stylesheet/slider.mjs +2 -2
  150. package/source/components/layout/stylesheet/split-panel.mjs +2 -2
  151. package/source/components/layout/stylesheet/tabs.mjs +2 -2
  152. package/source/components/layout/stylesheet/width-toggle.mjs +2 -2
  153. package/source/components/layout/tabs.mjs +3 -3
  154. package/source/components/layout/width-toggle.mjs +3 -3
  155. package/source/components/navigation/site-navigation.mjs +2 -2
  156. package/source/components/navigation/stylesheet/site-navigation.mjs +2 -2
  157. package/source/components/navigation/stylesheet/table-of-content.mjs +2 -2
  158. package/source/components/navigation/stylesheet/wizard-navigation.mjs +2 -2
  159. package/source/components/navigation/table-of-content.mjs +3 -3
  160. package/source/components/navigation/wizard-navigation.mjs +1 -1
  161. package/source/components/notify/constants.mjs +2 -2
  162. package/source/components/notify/message.mjs +3 -3
  163. package/source/components/notify/monitor-attribute-errors.mjs +3 -3
  164. package/source/components/notify/notify.mjs +3 -3
  165. package/source/components/notify/stylesheet/message.mjs +2 -2
  166. package/source/components/notify/stylesheet/monitor-attribute-errors.mjs +2 -2
  167. package/source/components/notify/stylesheet/notify.mjs +2 -2
  168. package/source/components/state/log/entry.mjs +3 -3
  169. package/source/components/state/log.mjs +3 -3
  170. package/source/components/state/state.mjs +3 -3
  171. package/source/components/state/stylesheet/log.mjs +2 -2
  172. package/source/components/state/stylesheet/state.mjs +2 -2
  173. package/source/components/stylesheet/accessibility.mjs +2 -2
  174. package/source/components/stylesheet/badge.mjs +2 -2
  175. package/source/components/stylesheet/border.mjs +2 -2
  176. package/source/components/stylesheet/button.mjs +2 -2
  177. package/source/components/stylesheet/card.mjs +2 -2
  178. package/source/components/stylesheet/color.mjs +2 -2
  179. package/source/components/stylesheet/common.mjs +2 -2
  180. package/source/components/stylesheet/control.mjs +2 -2
  181. package/source/components/stylesheet/data-grid.mjs +2 -2
  182. package/source/components/stylesheet/display.mjs +2 -2
  183. package/source/components/stylesheet/floating-ui.mjs +2 -2
  184. package/source/components/stylesheet/form.mjs +2 -2
  185. package/source/components/stylesheet/host.mjs +2 -2
  186. package/source/components/stylesheet/icons.mjs +2 -2
  187. package/source/components/stylesheet/link.mjs +2 -2
  188. package/source/components/stylesheet/mixin/badge.mjs +2 -2
  189. package/source/components/stylesheet/mixin/button.mjs +2 -2
  190. package/source/components/stylesheet/mixin/hover.mjs +2 -2
  191. package/source/components/stylesheet/mixin/icon.mjs +2 -2
  192. package/source/components/stylesheet/mixin/media.mjs +2 -2
  193. package/source/components/stylesheet/mixin/property.mjs +2 -2
  194. package/source/components/stylesheet/mixin/skeleton.mjs +2 -2
  195. package/source/components/stylesheet/mixin/spinner.mjs +2 -2
  196. package/source/components/stylesheet/mixin/typography.mjs +2 -2
  197. package/source/components/stylesheet/normalize.mjs +2 -2
  198. package/source/components/stylesheet/popper.mjs +2 -2
  199. package/source/components/stylesheet/property.mjs +2 -2
  200. package/source/components/stylesheet/ripple.mjs +2 -2
  201. package/source/components/stylesheet/skeleton.mjs +2 -2
  202. package/source/components/stylesheet/space.mjs +2 -2
  203. package/source/components/stylesheet/spinner.mjs +2 -2
  204. package/source/components/stylesheet/table.mjs +2 -2
  205. package/source/components/stylesheet/theme.mjs +2 -2
  206. package/source/components/stylesheet/tree-menu.mjs +2 -2
  207. package/source/components/stylesheet/typography.mjs +2 -2
  208. package/source/components/time/day.mjs +3 -3
  209. package/source/components/time/month-calendar.mjs +3 -3
  210. package/source/components/time/stylesheet/day.mjs +2 -2
  211. package/source/components/time/stylesheet/month-calendar.mjs +2 -2
  212. package/source/components/time/timeline/appointment.mjs +3 -3
  213. package/source/components/time/timeline/segment.mjs +3 -3
  214. package/source/components/time/timeline/stylesheet/appointment.mjs +2 -2
  215. package/source/components/time/timeline/stylesheet/segment.mjs +2 -2
  216. package/source/components/tree-menu/dragable-tree-menu.mjs +3 -3
  217. package/source/components/tree-menu/stylesheet/tree-menu.mjs +2 -2
  218. package/source/components/tree-menu/tree-menu.mjs +2 -2
  219. package/source/constants.mjs +2 -2
  220. package/source/constraints/abstract.mjs +20 -20
  221. package/source/constraints/abstractoperator.mjs +3 -3
  222. package/source/constraints/andoperator.mjs +3 -3
  223. package/source/constraints/invalid.mjs +3 -3
  224. package/source/constraints/isarray.mjs +3 -3
  225. package/source/constraints/isobject.mjs +3 -3
  226. package/source/constraints/oroperator.mjs +3 -3
  227. package/source/constraints/valid.mjs +3 -3
  228. package/source/data/buildmap.mjs +2 -2
  229. package/source/data/buildtree.mjs +2 -2
  230. package/source/data/datasource/dom.mjs +3 -3
  231. package/source/data/datasource/server/restapi/data-fetch-error.mjs +3 -3
  232. package/source/data/datasource/server/restapi/writeerror.mjs +3 -3
  233. package/source/data/datasource/server/restapi.mjs +3 -3
  234. package/source/data/datasource/server/webconnect.mjs +3 -3
  235. package/source/data/datasource/server.mjs +3 -3
  236. package/source/data/datasource/storage/localstorage.mjs +3 -3
  237. package/source/data/datasource/storage/sessionstorage.mjs +3 -3
  238. package/source/data/datasource/storage.mjs +3 -3
  239. package/source/data/datasource.mjs +3 -3
  240. package/source/data/diff.mjs +3 -3
  241. package/source/data/extend.mjs +3 -3
  242. package/source/data/pathfinder.mjs +3 -3
  243. package/source/data/pipe.mjs +3 -3
  244. package/source/data/transformer.mjs +3 -3
  245. package/source/dom/assembler.mjs +3 -3
  246. package/source/dom/attributes.mjs +15 -15
  247. package/source/dom/constants.mjs +2 -2
  248. package/source/dom/customcontrol.mjs +2 -2
  249. package/source/dom/customelement.mjs +4 -4
  250. package/source/dom/dimension.mjs +3 -3
  251. package/source/dom/error.mjs +3 -3
  252. package/source/dom/events.mjs +4 -4
  253. package/source/dom/focusmanager.mjs +3 -3
  254. package/source/dom/locale.mjs +3 -3
  255. package/source/dom/ready.mjs +2 -2
  256. package/source/dom/resource/data.mjs +3 -3
  257. package/source/dom/resource/link/stylesheet.mjs +3 -3
  258. package/source/dom/resource/link.mjs +3 -3
  259. package/source/dom/resource/script.mjs +3 -3
  260. package/source/dom/resource.mjs +3 -3
  261. package/source/dom/resourcemanager.mjs +3 -3
  262. package/source/dom/slotted.mjs +2 -2
  263. package/source/dom/template.mjs +4 -4
  264. package/source/dom/theme.mjs +3 -3
  265. package/source/dom/updater.mjs +3 -3
  266. package/source/dom/util/extract-keys.mjs +2 -2
  267. package/source/dom/util/init-options-from-attributes.mjs +2 -2
  268. package/source/dom/util/set-option-from-attribute.mjs +2 -2
  269. package/source/dom/util.mjs +6 -6
  270. package/source/dom/worker/factory.mjs +3 -3
  271. package/source/i18n/formatter.mjs +3 -3
  272. package/source/i18n/internal.mjs +2 -2
  273. package/source/i18n/locale.mjs +4 -4
  274. package/source/i18n/map/languages.mjs +2 -2
  275. package/source/i18n/provider.mjs +3 -3
  276. package/source/i18n/providers/embed.mjs +3 -3
  277. package/source/i18n/providers/fetch.mjs +3 -3
  278. package/source/i18n/time-ago.mjs +2 -2
  279. package/source/i18n/translations.mjs +3 -3
  280. package/source/i18n/util.mjs +2 -2
  281. package/source/logging/handler/console.mjs +3 -3
  282. package/source/logging/handler.mjs +3 -3
  283. package/source/logging/logentry.mjs +3 -3
  284. package/source/logging/logger.mjs +3 -3
  285. package/source/math/random.mjs +3 -3
  286. package/source/monster.mjs +4 -4
  287. package/source/net/webconnect/message.mjs +3 -3
  288. package/source/net/webconnect.mjs +3 -3
  289. package/source/text/bracketed-key-value-hash.mjs +2 -2
  290. package/source/text/formatter.mjs +3 -3
  291. package/source/text/generate-range-comparison-expression.mjs +3 -3
  292. package/source/text/markdown-parser.mjs +2 -2
  293. package/source/text/util.mjs +2 -2
  294. package/source/types/base.mjs +3 -3
  295. package/source/types/basewithoptions.mjs +3 -3
  296. package/source/types/binary.mjs +2 -2
  297. package/source/types/dataurl.mjs +3 -3
  298. package/source/types/global.mjs +2 -2
  299. package/source/types/has.mjs +2 -2
  300. package/source/types/id.mjs +3 -3
  301. package/source/types/internal.mjs +3 -3
  302. package/source/types/is.mjs +12 -12
  303. package/source/types/mediatype.mjs +3 -3
  304. package/source/types/node.mjs +3 -3
  305. package/source/types/nodelist.mjs +3 -3
  306. package/source/types/noderecursiveiterator.mjs +2 -2
  307. package/source/types/observablequeue.mjs +3 -3
  308. package/source/types/observer.mjs +2 -2
  309. package/source/types/observerlist.mjs +2 -2
  310. package/source/types/proxyobserver.mjs +3 -3
  311. package/source/types/queue.mjs +2 -2
  312. package/source/types/randomid.mjs +3 -3
  313. package/source/types/regex.mjs +3 -3
  314. package/source/types/stack.mjs +3 -3
  315. package/source/types/tokenlist.mjs +3 -3
  316. package/source/types/typeof.mjs +3 -3
  317. package/source/types/uniquequeue.mjs +3 -3
  318. package/source/types/uuid.mjs +3 -3
  319. package/source/types/validate.mjs +12 -12
  320. package/source/types/version.mjs +6 -6
  321. package/source/util/accessiblecolor.mjs +2 -2
  322. package/source/util/clone.mjs +3 -3
  323. package/source/util/comparator.mjs +2 -2
  324. package/source/util/deadmansswitch.mjs +3 -3
  325. package/source/util/freeze.mjs +3 -3
  326. package/source/util/processing/callback.mjs +2 -2
  327. package/source/util/processing.mjs +3 -3
  328. package/source/util/runtime.mjs +2 -2
  329. package/source/util/sleep.mjs +2 -2
  330. package/source/util/trimspaces.mjs +3 -3
  331. package/test/cases/components/form/button-bar.mjs +62 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -21,7 +21,7 @@ export { Stack };
21
21
  *
22
22
  * @license AGPLv3
23
23
  * @since 1.4.0
24
- * @copyright schukai GmbH
24
+ * @copyright Volker Schukai
25
25
  */
26
26
  class Stack extends Base {
27
27
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -27,7 +27,7 @@ export { TokenList };
27
27
  *
28
28
  * @license AGPLv3
29
29
  * @since 1.2.0
30
- * @copyright schukai GmbH
30
+ * @copyright Volker Schukai
31
31
  */
32
32
  class TokenList extends Base {
33
33
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -22,7 +22,7 @@ export { typeOf };
22
22
  * @return {string}
23
23
  * @license AGPLv3
24
24
  * @since 1.7.0
25
- * @copyright schukai GmbH
25
+ * @copyright Volker Schukai
26
26
  * @throws {TypeError} value is not a primitive
27
27
  */
28
28
  function typeOf(value) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -23,7 +23,7 @@ export { UniqueQueue };
23
23
  *
24
24
  * @license AGPLv3
25
25
  * @since 1.4.0
26
- * @copyright schukai GmbH
26
+ * @copyright Volker Schukai
27
27
  * @summary A queue for unique values
28
28
  */
29
29
  class UniqueQueue extends Queue {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -25,7 +25,7 @@ export { UUID };
25
25
  *
26
26
  * @license AGPLv3
27
27
  * @since 1.25.0
28
- * @copyright schukai GmbH
28
+ * @copyright Volker Schukai
29
29
  * @throws {Error} unsupported
30
30
  */
31
31
  class UUID extends Base {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -53,7 +53,7 @@ export {
53
53
  * @return {*}
54
54
  * @license AGPLv3
55
55
  * @since 1.2.0
56
- * @copyright schukai GmbH
56
+ * @copyright Volker Schukai
57
57
  * @throws {TypeError} value is not a primitive
58
58
  * @see {@link isPrimitive}
59
59
  * @see {@link Monster.Types.isPrimitive}
@@ -81,7 +81,7 @@ function validateIterable(value) {
81
81
  * @return {*}
82
82
  * @license AGPLv3
83
83
  * @since 1.0.0
84
- * @copyright schukai GmbH
84
+ * @copyright Volker Schukai
85
85
  * @throws {TypeError} value is not a primitive
86
86
  * @see {@link isPrimitive}
87
87
  * @see {@link Monster.Types.isPrimitive}
@@ -110,7 +110,7 @@ function validatePrimitive(value) {
110
110
  * @return {*}
111
111
  * @license AGPLv3
112
112
  * @since 1.0.0
113
- * @copyright schukai GmbH
113
+ * @copyright Volker Schukai
114
114
 
115
115
  * @throws {TypeError} value is not primitive
116
116
  */
@@ -136,7 +136,7 @@ function validateBoolean(value) {
136
136
  * @return {*}
137
137
  * @license AGPLv3
138
138
  * @since 1.0.0
139
- * @copyright schukai GmbH
139
+ * @copyright Volker Schukai
140
140
  * @throws {TypeError} value is not a string
141
141
  */
142
142
  function validateString(value) {
@@ -162,7 +162,7 @@ function validateString(value) {
162
162
  * @return {*}
163
163
  * @license AGPLv3
164
164
  * @since 1.0.0
165
- * @copyright schukai GmbH
165
+ * @copyright Volker Schukai
166
166
  * @throws {TypeError} value is not a object
167
167
  */
168
168
  function validateObject(value) {
@@ -189,7 +189,7 @@ function validateObject(value) {
189
189
  * @return {*}
190
190
  * @license AGPLv3
191
191
  * @since 1.5.0
192
- * @copyright schukai GmbH
192
+ * @copyright Volker Schukai
193
193
  * @throws {TypeError} value is not an instance of
194
194
  */
195
195
  function validateInstance(value, instance) {
@@ -223,7 +223,7 @@ function validateInstance(value, instance) {
223
223
  * @return {*}
224
224
  * @license AGPLv3
225
225
  * @since 1.0.0
226
- * @copyright schukai GmbH
226
+ * @copyright Volker Schukai
227
227
  * @throws {TypeError} value is not an array
228
228
  */
229
229
  function validateArray(value) {
@@ -248,7 +248,7 @@ function validateArray(value) {
248
248
  * @return {*}
249
249
  * @license AGPLv3
250
250
  * @since 1.9.0
251
- * @copyright schukai GmbH
251
+ * @copyright Volker Schukai
252
252
  * @throws {TypeError} value is not an symbol
253
253
  */
254
254
  function validateSymbol(value) {
@@ -274,7 +274,7 @@ function validateSymbol(value) {
274
274
  * @return {*}
275
275
  * @license AGPLv3
276
276
  * @since 1.0.0
277
- * @copyright schukai GmbH
277
+ * @copyright Volker Schukai
278
278
  * @throws {TypeError} value is not a function
279
279
  */
280
280
  function validateFunction(value) {
@@ -300,7 +300,7 @@ function validateFunction(value) {
300
300
  * @return {*}
301
301
  * @license AGPLv3
302
302
  * @since 1.4.0
303
- * @copyright schukai GmbH
303
+ * @copyright Volker Schukai
304
304
  * @throws {TypeError} value is not an integer
305
305
  */
306
306
  function validateInteger(value) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -23,8 +23,8 @@ export { Version, getMonsterVersion };
23
23
  * @externalExample ../../example/types/version-1.mjs
24
24
  * @license AGPLv3
25
25
  * @since 1.0.0
26
- * @author schukai GmbH
27
- * @copyright schukai GmbH
26
+ * @author Volker Schukai
27
+ * @copyright Volker Schukai
28
28
  * @summary The version object contains a semantic version number
29
29
  */
30
30
  class Version extends Base {
@@ -147,8 +147,8 @@ let monsterVersion;
147
147
  * @return {Version}
148
148
  * @license AGPLv3
149
149
  * @since 1.0.0
150
- * @copyright schukai GmbH
151
- * @author schukai GmbH
150
+ * @copyright Volker Schukai
151
+ * @author Volker Schukai
152
152
  */
153
153
  function getMonsterVersion() {
154
154
  if (monsterVersion instanceof Version) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -38,7 +38,7 @@ export { clone };
38
38
  * @return {*}
39
39
  * @license AGPLv3
40
40
  * @since 1.0.0
41
- * @copyright schukai GmbH
41
+ * @copyright Volker Schukai
42
42
  * @throws {Error} unable to clone obj! its type isn't supported.
43
43
  */
44
44
  function clone(obj) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -25,7 +25,7 @@ export { DeadMansSwitch };
25
25
  * and again within a defined period of time.
26
26
  *
27
27
  * @example /example/util/deadmansswitch/simple/ Simple example
28
- * @copyright schukai GmbH
28
+ * @copyright Volker Schukai
29
29
  * @license AGPLv3
30
30
  * @since 1.29.0
31
31
  * @summary Class to be able to execute function chains
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -23,7 +23,7 @@ export { deepFreeze };
23
23
  * @license AGPLv3
24
24
  * @since 1.0.0
25
25
  * @return {object}
26
- * @copyright schukai GmbH
26
+ * @copyright Volker Schukai
27
27
  * @throws {TypeError} value is not a object
28
28
  */
29
29
  function deepFreeze(object) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -36,7 +36,7 @@ export { Processing };
36
36
  *
37
37
  * @example /examples/libraries/util/processing/simple/ A simple example
38
38
  *
39
- * @copyright schukai GmbH
39
+ * @copyright Volker Schukai
40
40
  * @license AGPLv3
41
41
  * @since 1.21.0
42
42
  * @summary Class to be able to execute function chains
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright © schukai GmbH and all contributing authors, {{copyRightYear}}. All rights reserved.
2
+ * Copyright © Volker Schukai and all contributing authors, {{copyRightYear}}. All rights reserved.
3
3
  * Node module: @schukai/monster
4
4
  *
5
5
  * This source code is licensed under the GNU Affero General Public License version 3 (AGPLv3).
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * For those who do not wish to adhere to the AGPLv3, a commercial license is available.
9
9
  * Acquiring a commercial license allows you to use this software without complying with the AGPLv3 terms.
10
- * For more information about purchasing a commercial license, please contact schukai GmbH.
10
+ * For more information about purchasing a commercial license, please contact Volker Schukai.
11
11
  *
12
12
  * SPDX-License-Identifier: AGPL-3.0
13
13
  */
@@ -37,7 +37,7 @@ export { trimSpaces };
37
37
  *
38
38
  * @license AGPLv3
39
39
  * @since 1.24.0
40
- * @copyright schukai GmbH
40
+ * @copyright Volker Schukai
41
41
  * @param {string} value
42
42
  * @return {string}
43
43
  * @throws {TypeError} value is not a string
@@ -0,0 +1,62 @@
1
+ import * as chai from "chai";
2
+ import { chaiDom } from "../../../util/chai-dom.mjs";
3
+ import { initJSDOM } from "../../../util/jsdom.mjs";
4
+
5
+ let expect = chai.expect;
6
+ chai.use(chaiDom);
7
+
8
+ const html = `
9
+ <div id="test1">
10
+ <monster-button-bar id="bar"></monster-button-bar>
11
+ </div>
12
+ `;
13
+
14
+ let ButtonBar;
15
+
16
+ describe("ButtonBar", function () {
17
+ before(function (done) {
18
+ initJSDOM()
19
+ .then(() => {
20
+ import("../../../../source/components/form/button-bar.mjs")
21
+ .then((m) => {
22
+ ButtonBar = m.ButtonBar;
23
+ done();
24
+ })
25
+ .catch((e) => done(e));
26
+ })
27
+ .catch((e) => done(e));
28
+ });
29
+
30
+ beforeEach(() => {
31
+ const mocks = document.getElementById("mocks");
32
+ mocks.innerHTML = html;
33
+ });
34
+
35
+ afterEach(() => {
36
+ const mocks = document.getElementById("mocks");
37
+ mocks.innerHTML = "";
38
+ });
39
+
40
+ it("should create a button bar element", function () {
41
+ const bar = document.getElementById("bar");
42
+ expect(bar).to.be.instanceof(ButtonBar);
43
+ });
44
+
45
+ it("should keep the popper switch hidden when no buttons are slotted", function (done) {
46
+ const bar = document.getElementById("bar");
47
+
48
+ setTimeout(() => {
49
+ try {
50
+ const switchButton = bar.shadowRoot.querySelector(
51
+ '[data-monster-role="switch"]',
52
+ );
53
+ expect(switchButton).to.be.instanceof(HTMLButtonElement);
54
+ expect(switchButton.hasAttribute("hidden")).to.be.true;
55
+ expect(switchButton.classList.contains("hidden")).to.be.true;
56
+ done();
57
+ } catch (e) {
58
+ done(e);
59
+ }
60
+ }, 50);
61
+ });
62
+ });