@schukai/monster 1.17.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/CHANGELOG +32 -0
  2. package/README.md +4 -4
  3. package/dist/modules/constants.js +1 -1
  4. package/dist/modules/constraints/abstract.js +1 -1
  5. package/dist/modules/constraints/abstractoperator.js +1 -1
  6. package/dist/modules/constraints/andoperator.js +1 -1
  7. package/dist/modules/constraints/invalid.js +1 -1
  8. package/dist/modules/constraints/isarray.js +1 -1
  9. package/dist/modules/constraints/isobject.js +1 -1
  10. package/dist/modules/constraints/namespace.js +1 -1
  11. package/dist/modules/constraints/oroperator.js +1 -1
  12. package/dist/modules/constraints/valid.js +1 -1
  13. package/dist/modules/data/buildmap.js +1 -1
  14. package/dist/modules/data/diff.js +2 -2
  15. package/dist/modules/data/extend.js +1 -1
  16. package/dist/modules/data/namespace.js +1 -1
  17. package/dist/modules/data/pathfinder.js +1 -1
  18. package/dist/modules/data/pipe.js +1 -1
  19. package/dist/modules/data/transformer.js +1 -1
  20. package/dist/modules/dom/assembler.js +1 -1
  21. package/dist/modules/dom/attributes.js +1 -1
  22. package/dist/modules/dom/constants.js +1 -1
  23. package/dist/modules/dom/customcontrol.js +1 -1
  24. package/dist/modules/dom/customelement.js +2 -2
  25. package/dist/modules/dom/events.js +2 -2
  26. package/dist/modules/dom/locale.js +1 -1
  27. package/dist/modules/dom/namespace.js +1 -1
  28. package/dist/modules/dom/template.js +1 -1
  29. package/dist/modules/dom/theme.js +1 -1
  30. package/dist/modules/dom/updater.js +1 -1
  31. package/dist/modules/dom/util.js +1 -1
  32. package/dist/modules/i18n/locale.js +1 -1
  33. package/dist/modules/i18n/namespace.js +1 -1
  34. package/dist/modules/i18n/provider.js +1 -1
  35. package/dist/modules/i18n/providers/fetch.js +1 -1
  36. package/dist/modules/i18n/providers/namespace.js +1 -1
  37. package/dist/modules/i18n/translations.js +1 -1
  38. package/dist/modules/logging/handler/console.js +1 -1
  39. package/dist/modules/logging/handler/namespace.js +1 -1
  40. package/dist/modules/logging/handler.js +1 -1
  41. package/dist/modules/logging/logentry.js +1 -1
  42. package/dist/modules/logging/logger.js +1 -1
  43. package/dist/modules/logging/namespace.js +1 -1
  44. package/dist/modules/math/namespace.js +1 -1
  45. package/dist/modules/math/random.js +1 -1
  46. package/dist/modules/monster.js +1 -1
  47. package/dist/modules/namespace.js +1 -1
  48. package/dist/modules/text/formatter.js +1 -1
  49. package/dist/modules/text/namespace.js +1 -1
  50. package/dist/modules/types/base.js +1 -1
  51. package/dist/modules/types/basewithoptions.js +1 -1
  52. package/dist/modules/types/binary.js +2 -0
  53. package/dist/modules/types/dataurl.js +2 -0
  54. package/dist/modules/types/global.js +1 -1
  55. package/dist/modules/types/id.js +1 -1
  56. package/dist/modules/types/is.js +2 -2
  57. package/dist/modules/types/mediatype.js +2 -0
  58. package/dist/modules/types/namespace.js +1 -1
  59. package/dist/modules/types/observer.js +1 -1
  60. package/dist/modules/types/observerlist.js +1 -1
  61. package/dist/modules/types/proxyobserver.js +1 -1
  62. package/dist/modules/types/queue.js +1 -1
  63. package/dist/modules/types/randomid.js +1 -1
  64. package/dist/modules/types/stack.js +1 -1
  65. package/dist/modules/types/tokenlist.js +1 -1
  66. package/dist/modules/types/typeof.js +1 -1
  67. package/dist/modules/types/uniquequeue.js +1 -1
  68. package/dist/modules/types/validate.js +1 -1
  69. package/dist/modules/types/version.js +2 -2
  70. package/dist/modules/util/clone.js +1 -1
  71. package/dist/modules/util/comparator.js +1 -1
  72. package/dist/modules/util/freeze.js +1 -1
  73. package/dist/modules/util/namespace.js +1 -1
  74. package/dist/monster.dev.js +1018 -341
  75. package/dist/monster.dev.js.map +1 -1
  76. package/dist/monster.js +2 -2
  77. package/package.json +6 -1
  78. package/source/constraints/andoperator.js +5 -5
  79. package/source/constraints/invalid.js +3 -3
  80. package/source/constraints/isarray.js +3 -3
  81. package/source/constraints/isobject.js +3 -3
  82. package/source/constraints/oroperator.js +5 -5
  83. package/source/constraints/valid.js +3 -3
  84. package/source/data/buildmap.js +6 -6
  85. package/source/data/diff.js +4 -4
  86. package/source/data/extend.js +2 -2
  87. package/source/data/pathfinder.js +4 -4
  88. package/source/data/pipe.js +3 -3
  89. package/source/data/transformer.js +3 -3
  90. package/source/dom/assembler.js +3 -2
  91. package/source/dom/attributes.js +27 -27
  92. package/source/dom/customcontrol.js +22 -13
  93. package/source/dom/customelement.js +126 -6
  94. package/source/dom/events.js +21 -9
  95. package/source/dom/locale.js +3 -2
  96. package/source/dom/template.js +18 -6
  97. package/source/dom/theme.js +4 -3
  98. package/source/dom/updater.js +9 -6
  99. package/source/dom/util.js +6 -6
  100. package/source/i18n/locale.js +4 -4
  101. package/source/i18n/provider.js +3 -3
  102. package/source/i18n/providers/fetch.js +5 -5
  103. package/source/i18n/translations.js +2 -2
  104. package/source/logging/handler/console.js +2 -2
  105. package/source/logging/handler.js +2 -2
  106. package/source/logging/logentry.js +2 -2
  107. package/source/logging/logger.js +2 -2
  108. package/source/math/random.js +2 -2
  109. package/source/namespace.js +1 -1
  110. package/source/text/formatter.js +2 -2
  111. package/source/types/base.js +2 -2
  112. package/source/types/basewithoptions.js +2 -2
  113. package/source/types/binary.js +92 -0
  114. package/source/types/dataurl.js +176 -0
  115. package/source/types/global.js +4 -4
  116. package/source/types/id.js +2 -2
  117. package/source/types/is.js +21 -21
  118. package/source/types/mediatype.js +236 -0
  119. package/source/types/observer.js +3 -3
  120. package/source/types/observerlist.js +2 -2
  121. package/source/types/package.d.ts +1 -0
  122. package/source/types/proxyobserver.js +5 -5
  123. package/source/types/queue.js +4 -3
  124. package/source/types/randomid.js +3 -2
  125. package/source/types/stack.js +2 -2
  126. package/source/types/tokenlist.js +2 -2
  127. package/source/types/typeof.js +3 -3
  128. package/source/types/uniquequeue.js +3 -2
  129. package/source/types/validate.js +20 -20
  130. package/source/types/version.js +7 -6
  131. package/source/util/clone.js +2 -2
  132. package/source/util/comparator.js +3 -3
  133. package/source/util/freeze.js +2 -2
  134. package/test/cases/data/diff.js +29 -2
  135. package/test/cases/dom/customelement.js +85 -12
  136. package/test/cases/dom/events.js +5 -3
  137. package/test/cases/monster.js +1 -1
  138. package/test/cases/types/binary.js +27 -0
  139. package/test/cases/types/dataurl.js +58 -0
  140. package/test/cases/types/mediatype.js +60 -0
  141. package/test/web/import.js +3 -0
  142. package/test/web/monster-dev.html +3 -3
  143. package/test/web/monster.html +2 -2
  144. package/test/web/test.html +3 -3
  145. package/test/web/tests.js +3 -3
@@ -1,4 +1,4 @@
1
- /** Monster 1.17.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
1
+ /** Monster 1.20.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -132,7 +132,7 @@ var Monster = new Namespace("Monster");
132
132
  *
133
133
  * ```
134
134
  * <script type="module">
135
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/namespace.js';
135
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/namespace.js';
136
136
  * function hello() {
137
137
  * console.log('Hello World!');
138
138
  * }
@@ -374,7 +374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
374
374
  *
375
375
  * ```
376
376
  * <script type="module">
377
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/base.js';
377
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/base.js';
378
378
  * console.log(new Monster.Types.Base())
379
379
  * </script>
380
380
  * ```
@@ -383,7 +383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
383
383
  *
384
384
  * ```
385
385
  * <script type="module">
386
- * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/base.js';
386
+ * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/base.js';
387
387
  * console.log(new Base())
388
388
  * </script>
389
389
  * ```
@@ -546,7 +546,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
546
546
  *
547
547
  * ```
548
548
  * <script type="module">
549
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/andoperator.js';
549
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/andoperator.js';
550
550
  * new Monster.Constraint.AndOperator();
551
551
  * </script>
552
552
  * ```
@@ -555,16 +555,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
555
555
  *
556
556
  * ```
557
557
  * <script type="module">
558
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/andoperator.js';
558
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/andoperator.js';
559
559
  * new AndOperator();
560
560
  * </script>
561
561
  * ```
562
562
  *
563
563
  * @example
564
564
  *
565
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
566
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
567
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/andoperator.js';
565
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/valid.js';
566
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/invalid.js';
567
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/andoperator.js';
568
568
  *
569
569
  * new AndOperator(
570
570
  * new Valid(), new Valid()).isValid()
@@ -661,7 +661,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
661
661
  *
662
662
  * ```
663
663
  * <script type="module">
664
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
664
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/invalid.js';
665
665
  * new Monster.Constraint.Invalid();
666
666
  * </script>
667
667
  * ```
@@ -670,14 +670,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
670
670
  *
671
671
  * ```
672
672
  * <script type="module">
673
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
673
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/invalid.js';
674
674
  * new Invalid();
675
675
  * </script>
676
676
  * ```
677
677
  *
678
678
  * @example
679
679
  *
680
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
680
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/invalid.js';
681
681
  *
682
682
  * new Invalid().isValid()
683
683
  * .then(()=>console.log(true))
@@ -767,7 +767,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
767
767
  *
768
768
  * ```
769
769
  * <script type="module">
770
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isarray.js';
770
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/isarray.js';
771
771
  * console.log(new Monster.Constraint.IsArray())
772
772
  * </script>
773
773
  * ```
@@ -776,14 +776,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
776
776
  *
777
777
  * ```
778
778
  * <script type="module">
779
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isarray.js';
779
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/isarray.js';
780
780
  * console.log(new IsArray())
781
781
  * </script>
782
782
  * ```
783
783
  *
784
784
  * @example
785
785
  *
786
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isarray.js';
786
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/isarray.js';
787
787
  *
788
788
  * new IsArray()
789
789
  * .isValid([])
@@ -869,7 +869,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
869
869
  *
870
870
  * ```
871
871
  * <script type="module">
872
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
872
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
873
873
  * console.log(Monster.Types.isIterable(null)) // ↦ false
874
874
  * console.log(Monster.Types.isIterable('hello')) // ↦ true
875
875
  * console.log(Monster.Types.isIterable([])) // ↦ true
@@ -880,7 +880,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
880
880
  *
881
881
  * ```
882
882
  * <script type="module">
883
- * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
883
+ * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
884
884
  * console.log(isIterable(null)) // ↦ false
885
885
  * console.log(isIterable('hello')) // ↦ true
886
886
  * console.log(isIterable([])) // ↦ true
@@ -906,7 +906,7 @@ function isIterable(value) {
906
906
  *
907
907
  * ```
908
908
  * <script type="module">
909
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
909
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
910
910
  * console.log(Monster.Types.isPrimitive('2')) // ↦ false
911
911
  * console.log(Monster.Types.isPrimitive([])) // ↦ true
912
912
  * </script>
@@ -916,7 +916,7 @@ function isIterable(value) {
916
916
  *
917
917
  * ```
918
918
  * <script type="module">
919
- * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
919
+ * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
920
920
  * console.log(isPrimitive('2')) // ↦ true
921
921
  * console.log(isPrimitive([])) // ↦ false
922
922
  * </script>
@@ -933,7 +933,7 @@ function isIterable(value) {
933
933
  function isPrimitive(value) {
934
934
  var type;
935
935
 
936
- if (value === undefined || value === null || value === NaN) {
936
+ if (value === undefined || value === null) {
937
937
  return true;
938
938
  }
939
939
 
@@ -952,7 +952,7 @@ function isPrimitive(value) {
952
952
  *
953
953
  * ```
954
954
  * <script type="module">
955
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
955
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
956
956
  * console.log(Monster.Types.isSymbol('2')) // ↦ false
957
957
  * console.log(Monster.Types.isSymbol(Symbol('test')) // ↦ true
958
958
  * </script>
@@ -962,7 +962,7 @@ function isPrimitive(value) {
962
962
  *
963
963
  * ```
964
964
  * <script type="module">
965
- * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
965
+ * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
966
966
  * console.log(isSymbol(Symbol('a'))) // ↦ true
967
967
  * console.log(isSymbol([]) // ↦ false
968
968
  * </script>
@@ -986,7 +986,7 @@ function isSymbol(value) {
986
986
  *
987
987
  * ```
988
988
  * <script type="module">
989
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
989
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
990
990
  * console.log(Monster.Types.isBoolean('2')) // ↦ false
991
991
  * console.log(Monster.Types.isBoolean([])) // ↦ false
992
992
  * console.log(Monster.Types.isBoolean(true)) // ↦ true
@@ -997,7 +997,7 @@ function isSymbol(value) {
997
997
  *
998
998
  * ```
999
999
  * <script type="module">
1000
- * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1000
+ * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1001
1001
  * console.log(isBoolean('2')) // ↦ false
1002
1002
  * console.log(isBoolean([])) // ↦ false
1003
1003
  * console.log(isBoolean(2>4)) // ↦ true
@@ -1026,7 +1026,7 @@ function isBoolean(value) {
1026
1026
  *
1027
1027
  * ```
1028
1028
  * <script type="module">
1029
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1029
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1030
1030
  * console.log(Monster.Types.isString('2')) // ↦ true
1031
1031
  * console.log(Monster.Types.isString([])) // ↦ false
1032
1032
  * </script>
@@ -1036,7 +1036,7 @@ function isBoolean(value) {
1036
1036
  *
1037
1037
  * ```
1038
1038
  * <script type="module">
1039
- * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1039
+ * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1040
1040
  * console.log(isString('2')) // ↦ true
1041
1041
  * console.log(isString([])) // ↦ false
1042
1042
  * </script>
@@ -1064,7 +1064,7 @@ function isString(value) {
1064
1064
  *
1065
1065
  * ```
1066
1066
  * <script type="module">
1067
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1067
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1068
1068
  * console.log(Monster.Types.isObject('2')) // ↦ false
1069
1069
  * console.log(Monster.Types.isObject([])) // ↦ false
1070
1070
  * console.log(Monster.Types.isObject({})) // ↦ true
@@ -1075,7 +1075,7 @@ function isString(value) {
1075
1075
  *
1076
1076
  * ```
1077
1077
  * <script type="module">
1078
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1078
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1079
1079
  * console.log(isObject('2')) // ↦ false
1080
1080
  * console.log(isObject([])) // ↦ false
1081
1081
  * </script>
@@ -1106,7 +1106,7 @@ function isObject(value) {
1106
1106
  *
1107
1107
  * ```
1108
1108
  * <script type="module">
1109
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1109
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1110
1110
  * console.log(Monster.Types.isInstance('2')) // ↦ false
1111
1111
  * console.log(Monster.Types.isInstance([])) // ↦ false
1112
1112
  * console.log(Monster.Types.isInstance({})) // ↦ true
@@ -1117,7 +1117,7 @@ function isObject(value) {
1117
1117
  *
1118
1118
  * ```
1119
1119
  * <script type="module">
1120
- * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1120
+ * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1121
1121
  * console.log(isInstance('2')) // ↦ false
1122
1122
  * console.log(isInstance([])) // ↦ false
1123
1123
  * </script>
@@ -1145,7 +1145,7 @@ function isInstance(value, instance) {
1145
1145
  *
1146
1146
  * ```
1147
1147
  * <script type="module">
1148
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1148
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1149
1149
  * console.log(Monster.Types.isArray('2')) // ↦ false
1150
1150
  * console.log(Monster.Types.isArray([])) // ↦ true
1151
1151
  * </script>
@@ -1155,7 +1155,7 @@ function isInstance(value, instance) {
1155
1155
  *
1156
1156
  * ```
1157
1157
  * <script type="module">
1158
- * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1158
+ * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1159
1159
  * console.log(isArray('2')) // ↦ false
1160
1160
  * console.log(isArray([])) // ↦ true
1161
1161
  * </script>
@@ -1183,7 +1183,7 @@ function isArray(value) {
1183
1183
  *
1184
1184
  * ```
1185
1185
  * <script type="module">
1186
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1186
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1187
1187
  * console.log(Monster.Types.isFunction(()=>{})) // ↦ true
1188
1188
  * console.log(Monster.Types.isFunction('2')) // ↦ false
1189
1189
  * console.log(Monster.Types.isFunction([])) // ↦ false
@@ -1194,7 +1194,7 @@ function isArray(value) {
1194
1194
  *
1195
1195
  * ```
1196
1196
  * <script type="module">
1197
- * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1197
+ * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1198
1198
  * console.log(isFunction(()=>{})) // ↦ true
1199
1199
  * console.log(isFunction('2')) // ↦ false
1200
1200
  * console.log(isFunction([])) // ↦ false
@@ -1226,7 +1226,7 @@ function isFunction(value) {
1226
1226
  *
1227
1227
  * ```
1228
1228
  * <script type="module">
1229
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1229
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1230
1230
  * console.log(Monster.Types.isInteger(()=>{})) // ↦ true
1231
1231
  * console.log(Monster.Types.isInteger('2')) // ↦ false
1232
1232
  * console.log(Monster.Types.isInteger(2)) // ↦ true
@@ -1237,7 +1237,7 @@ function isFunction(value) {
1237
1237
  *
1238
1238
  * ```
1239
1239
  * <script type="module">
1240
- * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1240
+ * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
1241
1241
  * console.log(isInteger(()=>{})) // ↦ true
1242
1242
  * console.log(isInteger('2')) // ↦ false
1243
1243
  * console.log(isInteger(2)) // ↦ true
@@ -1306,7 +1306,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1306
1306
  *
1307
1307
  * ```
1308
1308
  * <script type="module">
1309
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isobject.js';
1309
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/isobject.js';
1310
1310
  * console.log(new Monster.Constraint.IsObject())
1311
1311
  * </script>
1312
1312
  * ```
@@ -1315,14 +1315,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1315
1315
  *
1316
1316
  * ```
1317
1317
  * <script type="module">
1318
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isobject.js';
1318
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/isobject.js';
1319
1319
  * console.log(new IsObject())
1320
1320
  * </script>
1321
1321
  * ```
1322
1322
  *
1323
1323
  * @example
1324
1324
  *
1325
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isobject.js';
1325
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/isobject.js';
1326
1326
  *
1327
1327
  * new IsObject()
1328
1328
  * .isValid({})
@@ -1420,7 +1420,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1420
1420
  *
1421
1421
  * ```
1422
1422
  * <script type="module">
1423
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraint/oroperator.js';
1423
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraint/oroperator.js';
1424
1424
  * new Monster.Constraint.OrOperator();
1425
1425
  * </script>
1426
1426
  * ```
@@ -1429,16 +1429,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1429
1429
  *
1430
1430
  * ```
1431
1431
  * <script type="module">
1432
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraint/oroperator.js';
1432
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraint/oroperator.js';
1433
1433
  * new OrOperator();
1434
1434
  * </script>
1435
1435
  * ```
1436
1436
  *
1437
1437
  * @example
1438
1438
  *
1439
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1440
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
1441
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/oroperator.js';
1439
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/valid.js';
1440
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/invalid.js';
1441
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/oroperator.js';
1442
1442
  *
1443
1443
  * new OrOperator(
1444
1444
  * new Valid(), new Invalid()).isValid()
@@ -1558,7 +1558,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1558
1558
  *
1559
1559
  * ```
1560
1560
  * <script type="module">
1561
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1561
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/valid.js';
1562
1562
  * new Monster.Constraint.Valid();
1563
1563
  * </script>
1564
1564
  * ```
@@ -1567,14 +1567,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1567
1567
  *
1568
1568
  * ```
1569
1569
  * <script type="module">
1570
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1570
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/valid.js';
1571
1571
  * new Valid();
1572
1572
  * </script>
1573
1573
  * ```
1574
1574
  *
1575
1575
  * @example
1576
1576
  *
1577
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1577
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/constraints/valid.js';
1578
1578
  *
1579
1579
  * new Valid().isValid()
1580
1580
  * .then(()=>console.log(true))
@@ -1681,7 +1681,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1681
1681
  *
1682
1682
  * ```
1683
1683
  * <script type="module">
1684
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1684
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/buildmap.js';
1685
1685
  * console.log(Monster.Data.buildMap())
1686
1686
  * </script>
1687
1687
  * ```
@@ -1690,7 +1690,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1690
1690
  *
1691
1691
  * ```
1692
1692
  * <script type="module">
1693
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1693
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/buildmap.js';
1694
1694
  * console.log(buildMap())
1695
1695
  * </script>
1696
1696
  * ```
@@ -1701,7 +1701,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1701
1701
  *
1702
1702
  * @example
1703
1703
  *
1704
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1704
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/buildmap.js';
1705
1705
  * // a typical data structure as reported by an api
1706
1706
  *
1707
1707
  * let map;
@@ -1909,14 +1909,14 @@ function buildFlatMap(subject, selector, key, parentMap) {
1909
1909
  * @param {*} value Value
1910
1910
  * @param {string} key Key
1911
1911
  * @memberOf Monster.Data
1912
- * @see Monster.Data.buildMap
1912
+ * @see {@link Monster.Data.buildMap}
1913
1913
  */
1914
1914
 
1915
1915
  /**
1916
1916
  * Alternatively to a string selector a callback can be specified. this must return a map.
1917
1917
  *
1918
1918
  * @example
1919
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1919
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/buildmap.js';
1920
1920
  *
1921
1921
  * let obj = {
1922
1922
  * "data": [
@@ -2041,7 +2041,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
2041
2041
  * @return Map
2042
2042
  * @since 1.17.0
2043
2043
  * @memberOf Monster.Data
2044
- * @see Monster.Data.buildMap
2044
+ * @see {@link Monster.Data.buildMap}
2045
2045
  */
2046
2046
 
2047
2047
  /**
@@ -2119,7 +2119,7 @@ __webpack_require__.r(__webpack_exports__);
2119
2119
  *
2120
2120
  * ```
2121
2121
  * <script type="module">
2122
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2122
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2123
2123
  * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
2124
2124
  * console.log(Monster.Types.validateIterable([])) // ↦ value
2125
2125
  * </script>
@@ -2129,7 +2129,7 @@ __webpack_require__.r(__webpack_exports__);
2129
2129
  *
2130
2130
  * ```
2131
2131
  * <script type="module">
2132
- * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2132
+ * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2133
2133
  * console.log(validateIterable('2')) // ↦ TypeError
2134
2134
  * console.log(validateIterable([])) // ↦ value
2135
2135
  * </script>
@@ -2160,7 +2160,7 @@ function validateIterable(value) {
2160
2160
  *
2161
2161
  * ```
2162
2162
  * <script type="module">
2163
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2163
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2164
2164
  * console.log(Monster.Types.validatePrimitive('2')) // ↦ value
2165
2165
  * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
2166
2166
  * </script>
@@ -2170,7 +2170,7 @@ function validateIterable(value) {
2170
2170
  *
2171
2171
  * ```
2172
2172
  * <script type="module">
2173
- * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2173
+ * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2174
2174
  * console.log(validatePrimitive('2')) // ↦ value
2175
2175
  * console.log(validatePrimitive([])) // ↦ TypeError
2176
2176
  * </script>
@@ -2202,7 +2202,7 @@ function validatePrimitive(value) {
2202
2202
  *
2203
2203
  * ```
2204
2204
  * <script type="module">
2205
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2205
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2206
2206
  * console.log(Monster.Types.validateBoolean(true)) // ↦ value
2207
2207
  * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
2208
2208
  * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
@@ -2213,7 +2213,7 @@ function validatePrimitive(value) {
2213
2213
  *
2214
2214
  * ```
2215
2215
  * <script type="module">
2216
- * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2216
+ * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2217
2217
  * console.log(validateBoolean(false)) // ↦ value
2218
2218
  * console.log(validateBoolean('2')) // ↦ TypeError
2219
2219
  * console.log(validateBoolean([])) // ↦ TypeError
@@ -2244,7 +2244,7 @@ function validateBoolean(value) {
2244
2244
  *
2245
2245
  * ```
2246
2246
  * <script type="module">
2247
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2247
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2248
2248
  * console.log(Monster.Types.validateString('2')) // ↦ value
2249
2249
  * console.log(Monster.Types.validateString([])) // ↦ TypeError
2250
2250
  * </script>
@@ -2254,7 +2254,7 @@ function validateBoolean(value) {
2254
2254
  *
2255
2255
  * ```
2256
2256
  * <script type="module">
2257
- * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2257
+ * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2258
2258
  * console.log(validateString('2')) // ↦ value
2259
2259
  * console.log(validateString([])) // ↦ TypeError
2260
2260
  * </script>
@@ -2283,7 +2283,7 @@ function validateString(value) {
2283
2283
  *
2284
2284
  * ```
2285
2285
  * <script type="module">
2286
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2286
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2287
2287
  * console.log(Monster.Types.validateObject({})) // ↦ value
2288
2288
  * console.log(Monster.Types.validateObject('2')) // ↦ TypeError
2289
2289
  * console.log(Monster.Types.validateObject([])) // ↦ TypeError
@@ -2294,7 +2294,7 @@ function validateString(value) {
2294
2294
  *
2295
2295
  * ```
2296
2296
  * <script type="module">
2297
- * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2297
+ * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2298
2298
  * console.log(validateObject({})) // ↦ value
2299
2299
  * console.log(validateObject('2')) // ↦ TypeError
2300
2300
  * console.log(validateObject([])) // ↦ TypeError
@@ -2324,7 +2324,7 @@ function validateObject(value) {
2324
2324
  *
2325
2325
  * ```
2326
2326
  * <script type="module">
2327
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2327
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2328
2328
  * console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
2329
2329
  * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
2330
2330
  * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
@@ -2335,7 +2335,7 @@ function validateObject(value) {
2335
2335
  *
2336
2336
  * ```
2337
2337
  * <script type="module">
2338
- * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2338
+ * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2339
2339
  * console.log(validateInstance({}, Object)) // ↦ value
2340
2340
  * console.log(validateInstance('2', Object)) // ↦ TypeError
2341
2341
  * console.log(validateInstance([], Object)) // ↦ TypeError
@@ -2375,7 +2375,7 @@ function validateInstance(value, instance) {
2375
2375
  *
2376
2376
  * ```
2377
2377
  * <script type="module">
2378
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2378
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2379
2379
  * console.log(Monster.Types.validateArray('2')) // ↦ TypeError
2380
2380
  * console.log(Monster.Types.validateArray([])) // ↦ value
2381
2381
  * </script>
@@ -2385,7 +2385,7 @@ function validateInstance(value, instance) {
2385
2385
  *
2386
2386
  * ```
2387
2387
  * <script type="module">
2388
- * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2388
+ * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2389
2389
  * console.log(validateArray('2')) // ↦ TypeError
2390
2390
  * console.log(validateArray([])) // ↦ value
2391
2391
  * </script>
@@ -2414,7 +2414,7 @@ function validateArray(value) {
2414
2414
  *
2415
2415
  * ```
2416
2416
  * <script type="module">
2417
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2417
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2418
2418
  * console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
2419
2419
  * console.log(Monster.Types.validateSymbol([])) // ↦ value
2420
2420
  * </script>
@@ -2424,7 +2424,7 @@ function validateArray(value) {
2424
2424
  *
2425
2425
  * ```
2426
2426
  * <script type="module">
2427
- * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2427
+ * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2428
2428
  * console.log(validateSymbol('2')) // ↦ TypeError
2429
2429
  * console.log(validateSymbol()) // ↦ value
2430
2430
  * </script>
@@ -2453,7 +2453,7 @@ function validateSymbol(value) {
2453
2453
  *
2454
2454
  * ```
2455
2455
  * <script type="module">
2456
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2456
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2457
2457
  * console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
2458
2458
  * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
2459
2459
  * console.log(Monster.Types.validateFunction([])) // ↦ TypeError
@@ -2464,7 +2464,7 @@ function validateSymbol(value) {
2464
2464
  *
2465
2465
  * ```
2466
2466
  * <script type="module">
2467
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2467
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2468
2468
  * console.log(validateFunction(()=>{})) // ↦ value
2469
2469
  * console.log(validateFunction('2')) // ↦ TypeError
2470
2470
  * console.log(validateFunction([])) // ↦ TypeError
@@ -2494,7 +2494,7 @@ function validateFunction(value) {
2494
2494
  *
2495
2495
  * ```
2496
2496
  * <script type="module">
2497
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2497
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2498
2498
  * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
2499
2499
  * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
2500
2500
  * console.log(Monster.Types.validateInteger(2)) // ↦ value
@@ -2505,7 +2505,7 @@ function validateFunction(value) {
2505
2505
  *
2506
2506
  * ```
2507
2507
  * <script type="module">
2508
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2508
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/validate.js';
2509
2509
  * console.log(validateInteger(true)) // ↦ TypeError
2510
2510
  * console.log(validateInteger('2')) // ↦ TypeError
2511
2511
  * console.log(validateInteger(2)) // ↦ value
@@ -2567,7 +2567,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2567
2567
  *
2568
2568
  * ```
2569
2569
  * <script type="module">
2570
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/clone.js';
2570
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/clone.js';
2571
2571
  * console.log(Monster.Util.clone({}))
2572
2572
  * </script>
2573
2573
  * ```
@@ -2576,7 +2576,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2576
2576
  *
2577
2577
  * ```
2578
2578
  * <script type="module">
2579
- * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/clone.js';
2579
+ * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/clone.js';
2580
2580
  * console.log(clone({}))
2581
2581
  * </script>
2582
2582
  * ```
@@ -2782,7 +2782,7 @@ function getGlobal() {
2782
2782
  *
2783
2783
  * ```
2784
2784
  * <script type="module">
2785
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2785
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/global.js';
2786
2786
  * console.log(Monster.Types.getGlobalObject('document')) // ↦ { }
2787
2787
  * </script>
2788
2788
  * ```
@@ -2791,7 +2791,7 @@ function getGlobal() {
2791
2791
  *
2792
2792
  * ```
2793
2793
  * <script type="module">
2794
- * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2794
+ * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/global.js';
2795
2795
  * console.log(getGlobalObject('document')) // ↦ { }
2796
2796
  * </script>
2797
2797
  * ```
@@ -2822,7 +2822,7 @@ function getGlobalObject(name) {
2822
2822
  *
2823
2823
  * ```
2824
2824
  * <script type="module">
2825
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2825
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/global.js';
2826
2826
  * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2827
2827
  * </script>
2828
2828
  * ```
@@ -2831,7 +2831,7 @@ function getGlobalObject(name) {
2831
2831
  *
2832
2832
  * ```
2833
2833
  * <script type="module">
2834
- * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2834
+ * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/global.js';
2835
2835
  * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2836
2836
  * </script>
2837
2837
  * ```
@@ -2946,7 +2946,7 @@ var WILDCARD = '*';
2946
2946
  *
2947
2947
  * ```
2948
2948
  * <script type="module">
2949
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
2949
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pathfinder.js';
2950
2950
  * console.log(new Monster.Data.Pathfinder())
2951
2951
  * </script>
2952
2952
  * ```
@@ -2955,7 +2955,7 @@ var WILDCARD = '*';
2955
2955
  *
2956
2956
  * ```
2957
2957
  * <script type="module">
2958
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
2958
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pathfinder.js';
2959
2959
  * console.log(new Pathfinder())
2960
2960
  * </script>
2961
2961
  * ```
@@ -2997,7 +2997,7 @@ var WILDCARD = '*';
2997
2997
  *
2998
2998
  * @example
2999
2999
  *
3000
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
3000
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pathfinder.js';
3001
3001
  *
3002
3002
  * let value = new Pathfinder({
3003
3003
  * a: {
@@ -3023,7 +3023,7 @@ var WILDCARD = '*';
3023
3023
  *
3024
3024
  * @example
3025
3025
  *
3026
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
3026
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pathfinder.js';
3027
3027
  *
3028
3028
  * let p = new Pathfinder({
3029
3029
  * a: {
@@ -3434,7 +3434,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3434
3434
  *
3435
3435
  * ```
3436
3436
  * <script type="module">
3437
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/stack.js';
3437
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/stack.js';
3438
3438
  * console.log(new Monster.Types.Stack())
3439
3439
  * </script>
3440
3440
  * ```
@@ -3443,7 +3443,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3443
3443
  *
3444
3444
  * ```
3445
3445
  * <script type="module">
3446
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/stack.js';
3446
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/stack.js';
3447
3447
  * console.log(new Stack())
3448
3448
  * </script>
3449
3449
  * ```
@@ -3578,7 +3578,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3578
3578
  *
3579
3579
  * ```
3580
3580
  * <script type="module">
3581
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/diff.js';
3581
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/diff.js';
3582
3582
  * console.log(Monster.Data.Diff(a, b))
3583
3583
  * </script>
3584
3584
  * ```
@@ -3587,14 +3587,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3587
3587
  *
3588
3588
  * ```
3589
3589
  * <script type="module">
3590
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/diff.js';
3590
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/diff.js';
3591
3591
  * console.log(Diff(a, b))
3592
3592
  * </script>
3593
3593
  * ```
3594
3594
  *
3595
3595
  * @example
3596
3596
  *
3597
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/diff.js';
3597
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/diff.js';
3598
3598
  *
3599
3599
  * // given are two objects x and y.
3600
3600
  *
@@ -3681,8 +3681,7 @@ function doDiff(a, b, path, diff) {
3681
3681
  var currPath = path || [];
3682
3682
  var currDiff = diff || [];
3683
3683
 
3684
- if (typeA === typeB && typeA === 'object') {
3685
- // array is object too
3684
+ if (typeA === typeB && (typeA === 'object' || typeA === 'array')) {
3686
3685
  getKeys(a, b, typeA).forEach(function (v) {
3687
3686
  if (!Object.prototype.hasOwnProperty.call(a, v)) {
3688
3687
  currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v)));
@@ -3836,7 +3835,7 @@ __webpack_require__.r(__webpack_exports__);
3836
3835
  *
3837
3836
  * ```
3838
3837
  * <script type="module">
3839
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/typeof.js';
3838
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/typeof.js';
3840
3839
  * console.log(Monster.Types.typeOf())
3841
3840
  * </script>
3842
3841
  * ```
@@ -3845,14 +3844,14 @@ __webpack_require__.r(__webpack_exports__);
3845
3844
  *
3846
3845
  * ```
3847
3846
  * <script type="module">
3848
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/typeof.js';
3847
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/typeof.js';
3849
3848
  * console.log(typeOf())
3850
3849
  * </script>
3851
3850
  * ```
3852
3851
  *
3853
3852
  * @example
3854
3853
  *
3855
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/typeof.js';
3854
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/typeof.js';
3856
3855
  *
3857
3856
  * console.log(typeOf(undefined)); // ↦ undefined
3858
3857
  * console.log(typeOf("")); // ↦ string
@@ -3912,7 +3911,7 @@ __webpack_require__.r(__webpack_exports__);
3912
3911
  *
3913
3912
  * ```
3914
3913
  * <script type="module">
3915
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/extend.js';
3914
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/extend.js';
3916
3915
  * console.log(Monster.Data.extend(a, b))
3917
3916
  * </script>
3918
3917
  * ```
@@ -3921,7 +3920,7 @@ __webpack_require__.r(__webpack_exports__);
3921
3920
  *
3922
3921
  * ```
3923
3922
  * <script type="module">
3924
- * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/extend.js';
3923
+ * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/extend.js';
3925
3924
  * console.log(extend(a, b))
3926
3925
  * </script>
3927
3926
  * ```
@@ -4050,7 +4049,7 @@ var DELIMITER = '|';
4050
4049
  *
4051
4050
  * ```
4052
4051
  * <script type="module">
4053
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pipe.js';
4052
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pipe.js';
4054
4053
  * console.log(new Monster.Data.Pipe())
4055
4054
  * </script>
4056
4055
  * ```
@@ -4059,7 +4058,7 @@ var DELIMITER = '|';
4059
4058
  *
4060
4059
  * ```
4061
4060
  * <script type="module">
4062
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pipe.js';
4061
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pipe.js';
4063
4062
  * console.log(new Pipe())
4064
4063
  * </script>
4065
4064
  * ```
@@ -4070,7 +4069,7 @@ var DELIMITER = '|';
4070
4069
  * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
4071
4070
  *
4072
4071
  * @example
4073
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pipe.js';
4072
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/pipe.js';
4074
4073
  *
4075
4074
  * let obj = {
4076
4075
  * a: {
@@ -4232,7 +4231,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4232
4231
  *
4233
4232
  * ```
4234
4233
  * <script type="module">
4235
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/transformer.js';
4234
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/transformer.js';
4236
4235
  * console.log(new Monster.Data.Transformer())
4237
4236
  * </script>
4238
4237
  * ```
@@ -4241,7 +4240,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4241
4240
  *
4242
4241
  * ```
4243
4242
  * <script type="module">
4244
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/transformer.js';
4243
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/transformer.js';
4245
4244
  * console.log(new Transformer())
4246
4245
  * </script>
4247
4246
  * ```
@@ -4320,7 +4319,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4320
4319
  *
4321
4320
  * @example
4322
4321
  *
4323
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/transformer.js';
4322
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/data/transformer.js';
4324
4323
  *
4325
4324
  * const transformer = new Transformer("tolower")
4326
4325
  *
@@ -4753,7 +4752,7 @@ var internalCounter = new Map();
4753
4752
  *
4754
4753
  * ```
4755
4754
  * <script type="module">
4756
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/id.js';
4755
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/id.js';
4757
4756
  * console.log(new Monster.Types.ID())
4758
4757
  * </script>
4759
4758
  * ```
@@ -4762,7 +4761,7 @@ var internalCounter = new Map();
4762
4761
  *
4763
4762
  * ```
4764
4763
  * <script type="module">
4765
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/id.js';
4764
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/id.js';
4766
4765
  * console.log(new ID())
4767
4766
  * </script>
4768
4767
  * ```
@@ -4882,7 +4881,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
4882
4881
  *
4883
4882
  * ```
4884
4883
  * <script type="module">
4885
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/assembler.js';
4884
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/assembler.js';
4886
4885
  * console.log(new Monster.DOM.Assembler())
4887
4886
  * </script>
4888
4887
  * ```
@@ -4891,7 +4890,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
4891
4890
  *
4892
4891
  * ```
4893
4892
  * <script type="module">
4894
- * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/assembler.js';
4893
+ * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/assembler.js';
4895
4894
  * console.log(new Assembler())
4896
4895
  * </script>
4897
4896
  * ```
@@ -4899,6 +4898,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
4899
4898
  * @since 1.6.0
4900
4899
  * @copyright schukai GmbH
4901
4900
  * @memberOf Monster.DOM
4901
+ * @summary Allows you to build an html fragment
4902
4902
  */
4903
4903
 
4904
4904
  var Assembler = /*#__PURE__*/function (_Base) {
@@ -5029,7 +5029,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5029
5029
  *
5030
5030
  * ```
5031
5031
  * <script type="module">
5032
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/proxyobserver.js';
5032
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/proxyobserver.js';
5033
5033
  * console.log(new Monster.Types.ProxyObserver())
5034
5034
  * </script>
5035
5035
  * ```
@@ -5038,7 +5038,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5038
5038
  *
5039
5039
  * ```
5040
5040
  * <script type="module">
5041
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/proxyobserver.js';
5041
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/proxyobserver.js';
5042
5042
  * console.log(new ProxyObserver())
5043
5043
  * </script>
5044
5044
  * ```
@@ -5049,9 +5049,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5049
5049
  *
5050
5050
  * @example
5051
5051
  *
5052
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/proxyobserver.js';
5053
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5054
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
5052
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/proxyobserver.js';
5053
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/observer.js';
5054
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/is.js';
5055
5055
  *
5056
5056
  * const o = new Observer(function () {
5057
5057
  * if (isObject(this) && this instanceof ProxyObserver) {
@@ -5358,7 +5358,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5358
5358
  *
5359
5359
  * ```
5360
5360
  * <script type="module">
5361
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5361
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/observer.js';
5362
5362
  * console.log(new Monster.Types.Observer())
5363
5363
  * </script>
5364
5364
  * ```
@@ -5367,7 +5367,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5367
5367
  *
5368
5368
  * ```
5369
5369
  * <script type="module">
5370
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5370
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/observer.js';
5371
5371
  * console.log(new Observer())
5372
5372
  * </script>
5373
5373
  * ```
@@ -5401,7 +5401,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5401
5401
  *
5402
5402
  * @example
5403
5403
  *
5404
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5404
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/observer.js';
5405
5405
  *
5406
5406
  * const observer = new Observer(function(a, b, c) {
5407
5407
  * console.log(this, a, b, c); // ↦ "a", 2, true
@@ -5601,7 +5601,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5601
5601
  *
5602
5602
  * ```
5603
5603
  * <script type="module">
5604
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/tokenlist.js';
5604
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/tokenlist.js';
5605
5605
  * console.log(new Monster.Types.TokenList("myclass row"))
5606
5606
  * console.log(new Monster.Types.TokenList("myclass row"))
5607
5607
  * </script>
@@ -5611,7 +5611,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5611
5611
  *
5612
5612
  * ```
5613
5613
  * <script type="module">
5614
- * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/tokenlist.js';
5614
+ * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/tokenlist.js';
5615
5615
  * console.log(new TokenList("myclass row"))
5616
5616
  * console.log(new TokenList("myclass row"))
5617
5617
  * </script>
@@ -6034,7 +6034,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6034
6034
  *
6035
6035
  * ```
6036
6036
  * <script type="module">
6037
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/uniquequeue.js';
6037
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/uniquequeue.js';
6038
6038
  * console.log(new Monster.Types.UniqueQueue())
6039
6039
  * </script>
6040
6040
  * ```
@@ -6043,7 +6043,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6043
6043
  *
6044
6044
  * ```
6045
6045
  * <script type="module">
6046
- * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/uniquequeue.js';
6046
+ * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/uniquequeue.js';
6047
6047
  * console.log(new UniqueQueue())
6048
6048
  * </script>
6049
6049
  * ```
@@ -6051,6 +6051,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6051
6051
  * @since 1.4.0
6052
6052
  * @copyright schukai GmbH
6053
6053
  * @memberOf Monster.Types
6054
+ * @summary A queue for unique values
6054
6055
  */
6055
6056
 
6056
6057
  var UniqueQueue = /*#__PURE__*/function (_Queue) {
@@ -6177,7 +6178,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6177
6178
  *
6178
6179
  * ```
6179
6180
  * <script type="module">
6180
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/queue.js';
6181
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/queue.js';
6181
6182
  * console.log(new Monster.Types.Queue())
6182
6183
  * </script>
6183
6184
  * ```
@@ -6186,14 +6187,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6186
6187
  *
6187
6188
  * ```
6188
6189
  * <script type="module">
6189
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/queue.js';
6190
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/queue.js';
6190
6191
  * console.log(new Queue())
6191
6192
  * </script>
6192
6193
  * ```
6193
6194
  *
6194
6195
  * @example
6195
6196
  *
6196
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/queue.js';
6197
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/queue.js';
6197
6198
  *
6198
6199
  * const queue = new Queue;
6199
6200
  *
@@ -6217,6 +6218,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6217
6218
  * @since 1.4.0
6218
6219
  * @copyright schukai GmbH
6219
6220
  * @memberOf Monster.Types
6221
+ * @summary A Queue (Fifo)
6220
6222
  */
6221
6223
 
6222
6224
  var Queue = /*#__PURE__*/function (_Base) {
@@ -6361,7 +6363,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6361
6363
  *
6362
6364
  * ```
6363
6365
  * <script type="module">
6364
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observerlist.js';
6366
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/observerlist.js';
6365
6367
  * console.log(new Monster.Types.ObserverList())
6366
6368
  * console.log(new Monster.Types.ObserverList())
6367
6369
  * </script>
@@ -6371,7 +6373,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6371
6373
  *
6372
6374
  * ```
6373
6375
  * <script type="module">
6374
- * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observerlist.js';
6376
+ * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/observerlist.js';
6375
6377
  * console.log(ObserverList())
6376
6378
  * console.log(ObserverList())
6377
6379
  * </script>
@@ -6521,7 +6523,7 @@ __webpack_require__.r(__webpack_exports__);
6521
6523
 
6522
6524
 
6523
6525
  /**
6524
- * get the closest object link of a node
6526
+ * Get the closest object link of a node
6525
6527
  *
6526
6528
  * if a node is specified without a object link, a recursive search upwards is performed until the corresponding
6527
6529
  * object link is found, or undefined is returned.
@@ -6530,7 +6532,7 @@ __webpack_require__.r(__webpack_exports__);
6530
6532
  *
6531
6533
  * ```
6532
6534
  * <script type="module">
6533
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
6535
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/updater.js';
6534
6536
  * console.log(Monster.DOM.findClosestObjectLink())
6535
6537
  * </script>
6536
6538
  * ```
@@ -6539,7 +6541,7 @@ __webpack_require__.r(__webpack_exports__);
6539
6541
  *
6540
6542
  * ```
6541
6543
  * <script type="module">
6542
- * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
6544
+ * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/updater.js';
6543
6545
  * console.log(findClosestObjectLink())
6544
6546
  * </script>
6545
6547
  * ```
@@ -6560,7 +6562,7 @@ function findClosestObjectLink(element) {
6560
6562
  *
6561
6563
  * ```
6562
6564
  * <script type="module">
6563
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6565
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6564
6566
  * Monster.DOM.addToObjectLink();
6565
6567
  * </script>
6566
6568
  * ```
@@ -6569,7 +6571,7 @@ function findClosestObjectLink(element) {
6569
6571
  *
6570
6572
  * ```
6571
6573
  * <script type="module">
6572
- * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6574
+ * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6573
6575
  * addToObjectLink();
6574
6576
  * </script>
6575
6577
  * ```
@@ -6601,7 +6603,7 @@ function addToObjectLink(element, symbol, object) {
6601
6603
  *
6602
6604
  * ```
6603
6605
  * <script type="module">
6604
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6606
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6605
6607
  * Monster.DOM.removeObjectLink();
6606
6608
  * </script>
6607
6609
  * ```
@@ -6610,7 +6612,7 @@ function addToObjectLink(element, symbol, object) {
6610
6612
  *
6611
6613
  * ```
6612
6614
  * <script type="module">
6613
- * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6615
+ * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6614
6616
  * removeObjectLink();
6615
6617
  * </script>
6616
6618
  * ```
@@ -6641,7 +6643,7 @@ function removeObjectLink(element, symbol) {
6641
6643
  *
6642
6644
  * ```
6643
6645
  * <script type="module">
6644
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6646
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6645
6647
  * Monster.DOM.hasObjectLink();
6646
6648
  * </script>
6647
6649
  * ```
@@ -6650,7 +6652,7 @@ function removeObjectLink(element, symbol) {
6650
6652
  *
6651
6653
  * ```
6652
6654
  * <script type="module">
6653
- * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6655
+ * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6654
6656
  * hasObjectLink();
6655
6657
  * </script>
6656
6658
  * ```
@@ -6676,17 +6678,17 @@ function hasObjectLink(element, symbol) {
6676
6678
  }
6677
6679
  /**
6678
6680
  * The ObjectLink can be used to attach objects to HTMLElements. The elements are kept in a set under a unique
6679
- * symbol and can be read via an iterator {@see getLinkedObjects}.
6681
+ * symbol and can be read via an iterator {@see {@link getLinkedObjects}}.
6680
6682
  *
6681
6683
  * In addition, elements with an objectLink receive the attribute `data-monster-objectlink`.
6682
6684
  *
6683
- * With the method {@see addToObjectLink} the objects can be added.
6685
+ * With the method {@see {@link addToObjectLink}} the objects can be added.
6684
6686
  *
6685
6687
  * You can call the method via the monster namespace `new Monster.DOM.getLinkedObjects()`.
6686
6688
  *
6687
6689
  * ```
6688
6690
  * <script type="module">
6689
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6691
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6690
6692
  * Monster.DOM.getLinkedObjects();
6691
6693
  * </script>
6692
6694
  * ```
@@ -6695,7 +6697,7 @@ function hasObjectLink(element, symbol) {
6695
6697
  *
6696
6698
  * ```
6697
6699
  * <script type="module">
6698
- * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6700
+ * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6699
6701
  * getLinkedObjects();
6700
6702
  * </script>
6701
6703
  * ```
@@ -6729,7 +6731,7 @@ function getLinkedObjects(element, symbol) {
6729
6731
  *
6730
6732
  * ```
6731
6733
  * <script type="module">
6732
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6734
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6733
6735
  * Monster.DOM.toggleAttributeToken();
6734
6736
  * </script>
6735
6737
  * ```
@@ -6738,7 +6740,7 @@ function getLinkedObjects(element, symbol) {
6738
6740
  *
6739
6741
  * ```
6740
6742
  * <script type="module">
6741
- * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6743
+ * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6742
6744
  * toggleAttributeToken();
6743
6745
  * </script>
6744
6746
  * ```
@@ -6773,7 +6775,7 @@ function toggleAttributeToken(element, key, token) {
6773
6775
  *
6774
6776
  * ```
6775
6777
  * <script type="module">
6776
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6778
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6777
6779
  * Monster.DOM.addAttributeToken();
6778
6780
  * </script>
6779
6781
  * ```
@@ -6782,7 +6784,7 @@ function toggleAttributeToken(element, key, token) {
6782
6784
  *
6783
6785
  * ```
6784
6786
  * <script type="module">
6785
- * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6787
+ * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6786
6788
  * addAttributeToken();
6787
6789
  * </script>
6788
6790
  * ```
@@ -6819,7 +6821,7 @@ function addAttributeToken(element, key, token) {
6819
6821
  *
6820
6822
  * ```
6821
6823
  * <script type="module">
6822
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6824
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6823
6825
  * Monster.DOM.removeAttributeToken();
6824
6826
  * </script>
6825
6827
  * ```
@@ -6828,7 +6830,7 @@ function addAttributeToken(element, key, token) {
6828
6830
  *
6829
6831
  * ```
6830
6832
  * <script type="module">
6831
- * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6833
+ * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6832
6834
  * removeAttributeToken();
6833
6835
  * </script>
6834
6836
  * ```
@@ -6864,7 +6866,7 @@ function removeAttributeToken(element, key, token) {
6864
6866
  *
6865
6867
  * ```
6866
6868
  * <script type="module">
6867
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6869
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6868
6870
  * Monster.DOM.containsAttributeToken();
6869
6871
  * </script>
6870
6872
  * ```
@@ -6873,7 +6875,7 @@ function removeAttributeToken(element, key, token) {
6873
6875
  *
6874
6876
  * ```
6875
6877
  * <script type="module">
6876
- * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6878
+ * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6877
6879
  * containsAttributeToken();
6878
6880
  * </script>
6879
6881
  * ```
@@ -6906,7 +6908,7 @@ function containsAttributeToken(element, key, token) {
6906
6908
  *
6907
6909
  * ```
6908
6910
  * <script type="module">
6909
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6911
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6910
6912
  * Monster.DOM.replaceAttributeToken();
6911
6913
  * </script>
6912
6914
  * ```
@@ -6915,7 +6917,7 @@ function containsAttributeToken(element, key, token) {
6915
6917
  *
6916
6918
  * ```
6917
6919
  * <script type="module">
6918
- * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6920
+ * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6919
6921
  * replaceAttributeToken();
6920
6922
  * </script>
6921
6923
  * ```
@@ -6951,7 +6953,7 @@ function replaceAttributeToken(element, key, from, to) {
6951
6953
  *
6952
6954
  * ```
6953
6955
  * <script type="module">
6954
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6956
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6955
6957
  * Monster.DOM.clearAttributeTokens();
6956
6958
  * </script>
6957
6959
  * ```
@@ -6960,7 +6962,7 @@ function replaceAttributeToken(element, key, from, to) {
6960
6962
  *
6961
6963
  * ```
6962
6964
  * <script type="module">
6963
- * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6965
+ * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6964
6966
  * clearAttributeTokens();
6965
6967
  * </script>
6966
6968
  * ```
@@ -6990,7 +6992,7 @@ function clearAttributeTokens(element, key) {
6990
6992
  *
6991
6993
  * ```
6992
6994
  * <script type="module">
6993
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6995
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
6994
6996
  * Monster.DOM.findClosestByAttribute();
6995
6997
  * </script>
6996
6998
  * ```
@@ -6999,7 +7001,7 @@ function clearAttributeTokens(element, key) {
6999
7001
  *
7000
7002
  * ```
7001
7003
  * <script type="module">
7002
- * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
7004
+ * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/attributes.js';
7003
7005
  * findClosestByAttribute();
7004
7006
  * </script>
7005
7007
  * ```
@@ -7226,6 +7228,8 @@ var internalSymbol = Symbol('internalSymbol');
7226
7228
  * IMPORTANT: after defining a `CustomElement`, the `registerCustomElement` method must be called
7227
7229
  * with the new class name. only then will the tag defined via the `getTag` method be made known to the DOM.
7228
7230
  *
7231
+ * <img src="./images/customcontrol-class.png">
7232
+ *
7229
7233
  * This control uses `attachInternals()` to integrate the control into a form.
7230
7234
  * If the target environment does not support this method, the [polyfill](https://www.npmjs.com/package/element-internals-polyfill ) can be used.
7231
7235
  *
@@ -7233,7 +7237,7 @@ var internalSymbol = Symbol('internalSymbol');
7233
7237
  *
7234
7238
  * ```
7235
7239
  * <script type="module">
7236
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customcontrol.js';
7240
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/customcontrol.js';
7237
7241
  * console.log(new Monster.DOM.CustomControl())
7238
7242
  * </script>
7239
7243
  * ```
@@ -7242,15 +7246,22 @@ var internalSymbol = Symbol('internalSymbol');
7242
7246
  *
7243
7247
  * ```
7244
7248
  * <script type="module">
7245
- * import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customcontrol.js';
7249
+ * import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/customcontrol.js';
7246
7250
  * console.log(new CustomControl())
7247
7251
  * </script>
7248
7252
  * ```
7249
- *
7250
- * @summary A base class for customcontrols
7251
- * @see https://www.npmjs.com/package/element-internals-polyfill
7252
- * @see https://github.com/WICG/webcomponents
7253
- * @see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements
7253
+ *
7254
+ * @startuml customcontrol-class.png
7255
+ * skinparam monochrome true
7256
+ * skinparam shadowing false
7257
+ * HTMLElement <|-- CustomElement
7258
+ * CustomElement <|-- CustomControl
7259
+ * @enduml
7260
+ *
7261
+ * @summary A base class for customcontrols based on CustomElement
7262
+ * @see {@link https://www.npmjs.com/package/element-internals-polyfill}
7263
+ * @see {@link https://github.com/WICG/webcomponents}
7264
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements}
7254
7265
  * @since 1.14.0
7255
7266
  * @copyright schukai GmbH
7256
7267
  * @memberOf Monster.DOM
@@ -7287,7 +7298,7 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7287
7298
  }
7288
7299
  /**
7289
7300
  *
7290
- * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
7301
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals}
7291
7302
  * @since 1.14.0
7292
7303
  * @return {boolean}
7293
7304
  */
@@ -7307,8 +7318,8 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7307
7318
  * }
7308
7319
  * ```
7309
7320
  *
7310
- * @see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example
7311
- * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals
7321
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example}
7322
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals}
7312
7323
  * @return {object}
7313
7324
  * @since 1.14.0
7314
7325
  */
@@ -7347,7 +7358,7 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7347
7358
  *
7348
7359
  * @return {NodeList}
7349
7360
  * @since 1.14.0
7350
- * @see https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels
7361
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/labels}
7351
7362
  * @throws {Error} the ElementInternals is not supported and a polyfill is necessary
7352
7363
  */
7353
7364
 
@@ -7385,8 +7396,8 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7385
7396
  *
7386
7397
  * @return {ValidityState}
7387
7398
  * @throws {Error} the ElementInternals is not supported and a polyfill is necessary
7388
- * @see https://developer.mozilla.org/en-US/docs/Web/API/ValidityState
7389
- * @see https://developer.mozilla.org/en-US/docs/Web/API/validity
7399
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/ValidityState}
7400
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/validity}
7390
7401
  */
7391
7402
 
7392
7403
  }, {
@@ -7583,16 +7594,17 @@ __webpack_require__.r(__webpack_exports__);
7583
7594
  /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
7584
7595
  /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
7585
7596
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
7586
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16);
7587
- /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
7588
- /* harmony import */ var _types_observer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(27);
7589
- /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26);
7590
- /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14);
7591
- /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(15);
7592
- /* harmony import */ var _attributes_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(32);
7593
- /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33);
7594
- /* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(36);
7595
- /* harmony import */ var _updater_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38);
7597
+ /* harmony import */ var _types_dataurl_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
7598
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16);
7599
+ /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9);
7600
+ /* harmony import */ var _types_observer_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(27);
7601
+ /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26);
7602
+ /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(14);
7603
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15);
7604
+ /* harmony import */ var _attributes_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(32);
7605
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(33);
7606
+ /* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38);
7607
+ /* harmony import */ var _updater_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(40);
7596
7608
 
7597
7609
 
7598
7610
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -7655,6 +7667,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
7655
7667
 
7656
7668
 
7657
7669
 
7670
+
7658
7671
  /**
7659
7672
  * @private
7660
7673
  * @type {symbol}
@@ -7666,7 +7679,7 @@ var internalDataSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.P
7666
7679
  * @type {symbol}
7667
7680
  */
7668
7681
 
7669
- var objectLinkSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_11__.OBJECTLINK_KEY_UPDATER);
7682
+ var objectLinkSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_12__.OBJECTLINK_KEY_UPDATER);
7670
7683
  /**
7671
7684
  * @memberOf Monster.DOM
7672
7685
  * @type {symbol}
@@ -7683,6 +7696,43 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7683
7696
  * HTMLElement
7684
7697
  * @external HTMLElement
7685
7698
  * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
7699
+ *
7700
+ * @startuml customelement-sequencediagram.png
7701
+ * skinparam monochrome true
7702
+ * skinparam shadowing false
7703
+ *
7704
+ * autonumber
7705
+ *
7706
+ * Script -> DOM: element = document.createElement('my-element')
7707
+ * DOM -> CustomElement: constructor()
7708
+ * CustomElement -> CustomElement: [initMethodSymbol]()
7709
+ *
7710
+ * CustomElement --> DOM: Element
7711
+ * DOM --> Script : element
7712
+ *
7713
+ *
7714
+ * Script -> DOM: document.querySelector('body').append(element)
7715
+ *
7716
+ * DOM -> CustomElement : connectedCallback()
7717
+ *
7718
+ * note right CustomElement: is only called at\nthe first connection
7719
+ * CustomElement -> CustomElement : [assembleMethodSymbol]()
7720
+ *
7721
+ * ... ...
7722
+ *
7723
+ * autonumber
7724
+ *
7725
+ * Script -> DOM: document.querySelector('monster-confirm-button').parentNode.removeChild(element)
7726
+ * DOM -> CustomElement: disconnectedCallback()
7727
+ *
7728
+ *
7729
+ * @enduml
7730
+ *
7731
+ * @startuml customelement-class.png
7732
+ * skinparam monochrome true
7733
+ * skinparam shadowing false
7734
+ * HTMLElement <|-- CustomElement
7735
+ * @enduml
7686
7736
  */
7687
7737
 
7688
7738
  /**
@@ -7691,11 +7741,13 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7691
7741
  * IMPORTANT: after defining a `CustomElement`, the `registerCustomElement` method must be called
7692
7742
  * with the new class name. only then will the tag defined via the `getTag` method be made known to the DOM.
7693
7743
  *
7744
+ * <img src="./images/customelement-class.png">
7745
+ *
7694
7746
  * You can create the object via the monster namespace `new Monster.DOM.CustomElement()`.
7695
7747
  *
7696
7748
  * ```
7697
7749
  * <script type="module">
7698
- * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customelement.js';
7750
+ * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/customelement.js';
7699
7751
  * console.log(new Monster.DOM.CustomElement())
7700
7752
  * </script>
7701
7753
  * ```
@@ -7704,11 +7756,15 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7704
7756
  *
7705
7757
  * ```
7706
7758
  * <script type="module">
7707
- * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customelement.js';
7759
+ * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/customelement.js';
7708
7760
  * console.log(new CustomElement())
7709
7761
  * </script>
7710
7762
  * ```
7711
7763
  *
7764
+ * ## Interaction
7765
+ *
7766
+ * <img src="./images/customelement-sequencediagram.png">
7767
+ *
7712
7768
  * ## Styling
7713
7769
  *
7714
7770
  * For optimal display of custom-elements the pseudo-class :defined can be used.
@@ -7791,6 +7847,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7791
7847
  * @copyright schukai GmbH
7792
7848
  * @memberOf Monster.DOM
7793
7849
  * @extends external:HTMLElement
7850
+ * @summary A base class for HTML5 customcontrols
7794
7851
  */
7795
7852
 
7796
7853
  var CustomElement = /*#__PURE__*/function (_HTMLElement) {
@@ -7811,7 +7868,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7811
7868
  _classCallCheck(this, CustomElement);
7812
7869
 
7813
7870
  _this = _super.call(this);
7814
- _this[internalDataSymbol] = new _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_7__.ProxyObserver({
7871
+ _this[internalDataSymbol] = new _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_8__.ProxyObserver({
7815
7872
  'options': (0,_data_extend_js__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _this.defaults, getOptionsFromAttributes.call(_assertThisInitialized(_this)))
7816
7873
  });
7817
7874
  initOptionObserver.call(_assertThisInitialized(_this));
@@ -7832,7 +7889,6 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7832
7889
  key: "defaults",
7833
7890
  get:
7834
7891
  /**
7835
- *
7836
7892
  * Derived classes can override and extend this method as follows.
7837
7893
  *
7838
7894
  * ```
@@ -7843,6 +7899,21 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7843
7899
  * }
7844
7900
  * ```
7845
7901
  *
7902
+ * to set the options via the html tag the attribute data-monster-options must be set.
7903
+ * As value a JSON object with the desired values must be defined.
7904
+ *
7905
+ * Since 1.18.0 the JSON can be specified as a DataURI.
7906
+ *
7907
+ * ```
7908
+ * new Monster.Types.DataUrl(btoa(JSON.stringify({
7909
+ * shadowMode: 'open',
7910
+ * delegatesFocus: true,
7911
+ * templates: {
7912
+ * main: undefined
7913
+ * }
7914
+ * })),'application/json',true).toString()
7915
+ * ```
7916
+ *
7846
7917
  * @property {string} shadowMode=open `open` Elements of the shadow root are accessible from JavaScript outside the root, for example using. `close` Denies access to the node(s) of a closed shadow root from JavaScript outside it
7847
7918
  * @property {Boolean} delegatesFocus=true A boolean that, when set to true, specifies behavior that mitigates custom element issues around focusability. When a non-focusable part of the shadow DOM is clicked, the first focusable part is given focus, and the shadow host is given any available :focus styling.
7848
7919
  * @property {Object} templates Templates
@@ -7952,7 +8023,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7952
8023
  }, {
7953
8024
  key: "setOptions",
7954
8025
  value: function setOptions(options) {
7955
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(options)) {
8026
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(options)) {
7956
8027
  options = parseOptionsJSON(options);
7957
8028
  }
7958
8029
 
@@ -8000,7 +8071,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8000
8071
  }
8001
8072
 
8002
8073
  var updater = new Set();
8003
- (0,_attributes_js__WEBPACK_IMPORTED_MODULE_10__.addToObjectLink)(this, objectLinkSymbol, updater);
8074
+ (0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.addToObjectLink)(this, objectLinkSymbol, updater);
8004
8075
 
8005
8076
  var _loop = function _loop() {
8006
8077
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
@@ -8008,7 +8079,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8008
8079
 
8009
8080
  if (!(element instanceof HTMLElement)) return "continue";
8010
8081
  if (element instanceof HTMLTemplateElement) return "continue";
8011
- var u = new _updater_js__WEBPACK_IMPORTED_MODULE_13__.Updater(element, (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_9__.clone)(self[internalDataSymbol].getRealSubject()['options']));
8082
+ var u = new _updater_js__WEBPACK_IMPORTED_MODULE_14__.Updater(element, (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_10__.clone)(self[internalDataSymbol].getRealSubject()['options']));
8012
8083
  updater.add(u);
8013
8084
  u.run().then(function () {
8014
8085
  u.enableEventProcessing();
@@ -8036,7 +8107,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8036
8107
  value: function connectedCallback() {
8037
8108
  var self = this;
8038
8109
 
8039
- if (!(0,_attributes_js__WEBPACK_IMPORTED_MODULE_10__.hasObjectLink)(self, objectLinkSymbol)) {
8110
+ if (!(0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.hasObjectLink)(self, objectLinkSymbol)) {
8040
8111
  self[assembleMethodSymbol]();
8041
8112
  }
8042
8113
  }
@@ -8077,14 +8148,37 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8077
8148
  value: function attributeChangedCallback(attrName, oldVal, newVal) {
8078
8149
  var self = this;
8079
8150
 
8080
- if (attrName === _constants_js__WEBPACK_IMPORTED_MODULE_11__.ATTRIBUTE_OPTIONS) {
8151
+ if (attrName === _constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS) {
8081
8152
  self.setOptions(newVal);
8082
8153
  }
8083
8154
  }
8155
+ /**
8156
+ *
8157
+ * @param {Node} node
8158
+ * @return {boolean}
8159
+ * @throws {TypeError} value is not an instance of
8160
+ * @since 1.19.0
8161
+ */
8162
+
8163
+ }, {
8164
+ key: "hasNode",
8165
+ value: function hasNode(node) {
8166
+ var self = this;
8167
+
8168
+ if (containChildNode.call(self, (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateInstance)(node, Node))) {
8169
+ return true;
8170
+ }
8171
+
8172
+ if (!(self.shadowRoot instanceof ShadowRoot)) {
8173
+ return false;
8174
+ }
8175
+
8176
+ return containChildNode.call(self.shadowRoot, node);
8177
+ }
8084
8178
  }], [{
8085
8179
  key: "observedAttributes",
8086
8180
  get: function get() {
8087
- return [_constants_js__WEBPACK_IMPORTED_MODULE_11__.ATTRIBUTE_OPTIONS];
8181
+ return [_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS];
8088
8182
  }
8089
8183
  }, {
8090
8184
  key: "getTag",
@@ -8111,7 +8205,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8111
8205
  * ;
8112
8206
  * ```
8113
8207
  *
8114
- * @return {CSSStyleSheet|undefined}
8208
+ * @return {CSSStyleSheet|CSSStyleSheet[]|string|undefined}
8115
8209
  */
8116
8210
 
8117
8211
  }, {
@@ -8123,6 +8217,33 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8123
8217
 
8124
8218
  return CustomElement;
8125
8219
  }( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
8220
+ /**
8221
+ * @private
8222
+ * @param {Node} node
8223
+ * @return {boolean}
8224
+ */
8225
+
8226
+
8227
+ function containChildNode(node) {
8228
+ var self = this;
8229
+
8230
+ if (self.contains(node)) {
8231
+ return true;
8232
+ }
8233
+
8234
+ for (var _i2 = 0, _Object$entries2 = Object.entries(self.childNodes); _i2 < _Object$entries2.length; _i2++) {
8235
+ var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),
8236
+ e = _Object$entries2$_i[1];
8237
+
8238
+ if (e.contains(node)) {
8239
+ return true;
8240
+ }
8241
+
8242
+ containChildNode.call(e, node);
8243
+ }
8244
+
8245
+ return false;
8246
+ }
8126
8247
  /**
8127
8248
  * @since 1.15.0
8128
8249
  * @private
@@ -8132,14 +8253,14 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8132
8253
 
8133
8254
  function initOptionObserver() {
8134
8255
  var self = this;
8135
- self.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_6__.Observer(function () {
8256
+ self.attachObserver(new _types_observer_js__WEBPACK_IMPORTED_MODULE_7__.Observer(function () {
8136
8257
  // not initialised
8137
- if (!(0,_attributes_js__WEBPACK_IMPORTED_MODULE_10__.hasObjectLink)(self, Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_11__.OBJECTLINK_KEY_UPDATER))) {
8258
+ if (!(0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.hasObjectLink)(self, Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_12__.OBJECTLINK_KEY_UPDATER))) {
8138
8259
  return;
8139
8260
  } // inform every element
8140
8261
 
8141
8262
 
8142
- var updaters = (0,_attributes_js__WEBPACK_IMPORTED_MODULE_10__.getLinkedObjects)(self, Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_11__.OBJECTLINK_KEY_UPDATER));
8263
+ var updaters = (0,_attributes_js__WEBPACK_IMPORTED_MODULE_11__.getLinkedObjects)(self, Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_12__.OBJECTLINK_KEY_UPDATER));
8143
8264
 
8144
8265
  var _iterator = _createForOfIteratorHelper(updaters),
8145
8266
  _step;
@@ -8154,7 +8275,7 @@ function initOptionObserver() {
8154
8275
  try {
8155
8276
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
8156
8277
  var updater = _step2.value;
8157
- var d = (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_9__.clone)(self[internalDataSymbol].getRealSubject()['options']);
8278
+ var d = (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_10__.clone)(self[internalDataSymbol].getRealSubject()['options']);
8158
8279
  Object.assign(updater.getSubject(), d);
8159
8280
  }
8160
8281
  } catch (err) {
@@ -8178,22 +8299,34 @@ function initOptionObserver() {
8178
8299
 
8179
8300
 
8180
8301
  function getOptionsFromAttributes() {
8181
- if (this.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_11__.ATTRIBUTE_OPTIONS)) {
8302
+ if (this.hasAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS)) {
8182
8303
  try {
8183
- return parseOptionsJSON(this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_11__.ATTRIBUTE_OPTIONS));
8304
+ return parseOptionsJSON(this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS));
8184
8305
  } catch (e) {
8185
- throw new Error('the options attribute ' + _constants_js__WEBPACK_IMPORTED_MODULE_11__.ATTRIBUTE_OPTIONS + ' does not contain a valid json definition (actual: ' + this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_11__.ATTRIBUTE_OPTIONS) + ').');
8306
+ throw new Error('the options attribute ' + _constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS + ' does not contain a valid json definition (actual: ' + this.getAttribute(_constants_js__WEBPACK_IMPORTED_MODULE_12__.ATTRIBUTE_OPTIONS) + ').');
8186
8307
  }
8187
8308
  }
8188
8309
 
8189
8310
  return {};
8190
8311
  }
8312
+ /**
8313
+ * @private
8314
+ * @param data
8315
+ * @return {Object}
8316
+ */
8317
+
8191
8318
 
8192
8319
  function parseOptionsJSON(data) {
8193
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(data)) {
8320
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(data)) {
8321
+ // the configuration can be specified as a data url.
8322
+ try {
8323
+ var dataUrl = (0,_types_dataurl_js__WEBPACK_IMPORTED_MODULE_4__.parseDataURL)(data);
8324
+ data = dataUrl.content;
8325
+ } catch (e) {}
8326
+
8194
8327
  try {
8195
8328
  var obj = JSON.parse(data);
8196
- (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_8__.validateObject)(obj);
8329
+ (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateObject)(obj);
8197
8330
  return obj;
8198
8331
  } catch (e) {
8199
8332
  throw new Error('the options does not contain a valid json definition (actual: ' + data + ').');
@@ -8210,12 +8343,12 @@ function parseOptionsJSON(data) {
8210
8343
 
8211
8344
  function initHtmlContent() {
8212
8345
  try {
8213
- var template = (0,_template_js__WEBPACK_IMPORTED_MODULE_12__.findDocumentTemplate)(this.constructor.getTag());
8346
+ var template = (0,_template_js__WEBPACK_IMPORTED_MODULE_13__.findDocumentTemplate)(this.constructor.getTag());
8214
8347
  this.appendChild(template.createDocumentFragment());
8215
8348
  } catch (e) {
8216
8349
  var html = this.getOption('templates.main', '');
8217
8350
 
8218
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(html) && html.length > 0) {
8351
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(html) && html.length > 0) {
8219
8352
  this.innerHTML = html;
8220
8353
  }
8221
8354
  }
@@ -8242,9 +8375,9 @@ function initCSSStylesheet() {
8242
8375
 
8243
8376
  if (styleSheet instanceof CSSStyleSheet) {
8244
8377
  this.shadowRoot.adoptedStyleSheets = [styleSheet];
8245
- } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isArray)(styleSheet)) {
8378
+ } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isArray)(styleSheet)) {
8246
8379
  this.shadowRoot.adoptedStyleSheets = styleSheet;
8247
- } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(styleSheet)) {
8380
+ } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(styleSheet)) {
8248
8381
  var style = self.shadowRoot.createElement('<style>');
8249
8382
  style.innerText = styleSheet;
8250
8383
  this.shadowRoot.adoptedStyleSheets = styleSheet;
@@ -8266,11 +8399,11 @@ function initShadowRoot() {
8266
8399
  var template, html;
8267
8400
 
8268
8401
  try {
8269
- template = (0,_template_js__WEBPACK_IMPORTED_MODULE_12__.findDocumentTemplate)(this.constructor.getTag());
8402
+ template = (0,_template_js__WEBPACK_IMPORTED_MODULE_13__.findDocumentTemplate)(this.constructor.getTag());
8270
8403
  } catch (e) {
8271
8404
  html = this.getOption('templates.main', '');
8272
8405
 
8273
- if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(html) || html === undefined || html === "") {
8406
+ if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(html) || html === undefined || html === "") {
8274
8407
  throw new Error("html is not set.");
8275
8408
  }
8276
8409
  }
@@ -8280,7 +8413,7 @@ function initShadowRoot() {
8280
8413
  delegatesFocus: this.getOption('delegatesFocus', true)
8281
8414
  });
8282
8415
 
8283
- if (template instanceof _template_js__WEBPACK_IMPORTED_MODULE_12__.Template) {
8416
+ if (template instanceof _template_js__WEBPACK_IMPORTED_MODULE_13__.Template) {
8284
8417
  this.shadowRoot.appendChild(template.createDocumentFragment());
8285
8418
  return this;
8286
8419
  }
@@ -8301,8 +8434,8 @@ function initShadowRoot() {
8301
8434
 
8302
8435
 
8303
8436
  function registerCustomElement(element) {
8304
- (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_8__.validateFunction)(element);
8305
- (0,_types_global_js__WEBPACK_IMPORTED_MODULE_4__.getGlobalObject)('customElements').define(element.getTag(), element);
8437
+ (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateFunction)(element);
8438
+ (0,_types_global_js__WEBPACK_IMPORTED_MODULE_5__.getGlobalObject)('customElements').define(element.getTag(), element);
8306
8439
  }
8307
8440
 
8308
8441
  (0,_namespace_js__WEBPACK_IMPORTED_MODULE_3__.assignToNamespace)('Monster.DOM', CustomElement, registerCustomElement);
@@ -8312,6 +8445,522 @@ function registerCustomElement(element) {
8312
8445
  /* 36 */
8313
8446
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8314
8447
 
8448
+ __webpack_require__.r(__webpack_exports__);
8449
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8450
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _base_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
8451
+ /* harmony export */ "parseDataURL": function() { return /* binding */ parseDataURL; },
8452
+ /* harmony export */ "DataUrl": function() { return /* binding */ DataUrl; }
8453
+ /* harmony export */ });
8454
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
8455
+ /* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
8456
+ /* harmony import */ var _is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
8457
+ /* harmony import */ var _mediatype_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37);
8458
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
8459
+
8460
+
8461
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
8462
+
8463
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8464
+
8465
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
8466
+
8467
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
8468
+
8469
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
8470
+
8471
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
8472
+
8473
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8474
+
8475
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
8476
+
8477
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
8478
+
8479
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
8480
+
8481
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
8482
+
8483
+
8484
+ /**
8485
+ * @author schukai GmbH
8486
+ */
8487
+
8488
+
8489
+
8490
+
8491
+
8492
+ /**
8493
+ * @private
8494
+ * @type {symbol}
8495
+ */
8496
+
8497
+ var internal = Symbol('internal');
8498
+ /**
8499
+ * You can create an object via the monster namespace `new Monster.Types.DataUrl()`.
8500
+ *
8501
+ * ```
8502
+ * <script type="module">
8503
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/dataurl.js';
8504
+ * console.log(new Monster.Types.DataUrl())
8505
+ * </script>
8506
+ * ```
8507
+ *
8508
+ * Alternatively, you can also integrate this function individually.
8509
+ *
8510
+ * ```
8511
+ * <script type="module">
8512
+ * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/dataurl.js';
8513
+ * console.log(new DataUrl())
8514
+ * </script>
8515
+ * ```
8516
+ *
8517
+ * @since 1.8.0
8518
+ * @copyright schukai GmbH
8519
+ * @memberOf Monster.Types
8520
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
8521
+ * @see https://datatracker.ietf.org/doc/html/rfc2397
8522
+ */
8523
+
8524
+ var DataUrl = /*#__PURE__*/function (_Base) {
8525
+ _inherits(DataUrl, _Base);
8526
+
8527
+ var _super = _createSuper(DataUrl);
8528
+
8529
+ /**
8530
+ *
8531
+ * @param {String} content
8532
+ * @param {String|Monster.Types.MediaType} mediatype
8533
+ * @param {boolean} base64=true
8534
+ */
8535
+ function DataUrl(content, mediatype, base64) {
8536
+ var _this;
8537
+
8538
+ _classCallCheck(this, DataUrl);
8539
+
8540
+ _this = _super.call(this);
8541
+
8542
+ if ((0,_is_js__WEBPACK_IMPORTED_MODULE_2__.isString)(mediatype)) {
8543
+ mediatype = (0,_mediatype_js__WEBPACK_IMPORTED_MODULE_3__.parseMediaType)(mediatype);
8544
+ }
8545
+
8546
+ _this[internal] = {
8547
+ content: (0,_validate_js__WEBPACK_IMPORTED_MODULE_4__.validateString)(content),
8548
+ mediatype: (0,_validate_js__WEBPACK_IMPORTED_MODULE_4__.validateInstance)(mediatype, _mediatype_js__WEBPACK_IMPORTED_MODULE_3__.MediaType),
8549
+ base64: (0,_validate_js__WEBPACK_IMPORTED_MODULE_4__.validateBoolean)(base64 === undefined ? true : base64)
8550
+ };
8551
+ return _this;
8552
+ }
8553
+
8554
+ _createClass(DataUrl, [{
8555
+ key: "content",
8556
+ get: function get() {
8557
+ return this[internal].base64 ? atob(this[internal].content) : this[internal].content;
8558
+ }
8559
+ }, {
8560
+ key: "mediatype",
8561
+ get: function get() {
8562
+ return this[internal].mediatype;
8563
+ }
8564
+ /**
8565
+ *
8566
+ * @return {string}
8567
+ * @see https://datatracker.ietf.org/doc/html/rfc2397
8568
+ */
8569
+
8570
+ }, {
8571
+ key: "toString",
8572
+ value: function toString() {
8573
+ var content = this[internal].content;
8574
+
8575
+ if (this[internal].base64 === true) {
8576
+ content = ';base64,' + content;
8577
+ } else {
8578
+ content = ',' + encodeURIComponent(content);
8579
+ }
8580
+
8581
+ return 'data:' + this[internal].mediatype.toString() + content;
8582
+ }
8583
+ }]);
8584
+
8585
+ return DataUrl;
8586
+ }(_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
8587
+ /**
8588
+ * You can call the function via the monster namespace `Monster.Types.parseDataURL()`.
8589
+ *
8590
+ * ```
8591
+ * <script type="module">
8592
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/dataurl.js';
8593
+ * console.log(Monster.Types.parseDataURL())
8594
+ * </script>
8595
+ * ```
8596
+ *
8597
+ * Alternatively, you can also integrate this function individually.
8598
+ *
8599
+ * ```
8600
+ * <script type="module">
8601
+ * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/dataurl.js';
8602
+ * console.log(parseDataURL())
8603
+ * </script>
8604
+ * ```
8605
+ *
8606
+ * Specification:
8607
+ *
8608
+ * ```
8609
+ * dataurl := "data:" [ mediatype ] [ ";base64" ] "," data
8610
+ * mediatype := [ type "/" subtype ] *( ";" parameter )
8611
+ * data := *urlchar
8612
+ * parameter := attribute "=" value
8613
+ * ```
8614
+ *
8615
+ * @param {String} dataurl
8616
+ * @return {Monster.Types.DataUrl}
8617
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
8618
+ * @see https://datatracker.ietf.org/doc/html/rfc2397
8619
+ * @throws {TypeError} incorrect or missing data protocol
8620
+ * @throws {TypeError} malformed data url
8621
+ * @memberOf Monster.Types
8622
+ */
8623
+
8624
+
8625
+ function parseDataURL(dataurl) {
8626
+ (0,_validate_js__WEBPACK_IMPORTED_MODULE_4__.validateString)(dataurl);
8627
+ dataurl = dataurl.trim();
8628
+
8629
+ if (dataurl.substring(0, 5) !== 'data:') {
8630
+ throw new TypeError('incorrect or missing data protocol');
8631
+ }
8632
+
8633
+ dataurl = dataurl.substring(5);
8634
+ var p = dataurl.indexOf(',');
8635
+
8636
+ if (p === -1) {
8637
+ throw new TypeError('malformed data url');
8638
+ }
8639
+
8640
+ var content = dataurl.substring(p + 1);
8641
+ var mediatypeAndBase64 = dataurl.substring(0, p).trim();
8642
+ var mediatype = 'text/plain;charset=US-ASCII';
8643
+ var base64Flag = false;
8644
+
8645
+ if (mediatypeAndBase64 !== "") {
8646
+ mediatype = mediatypeAndBase64;
8647
+
8648
+ if (mediatypeAndBase64.endsWith('base64')) {
8649
+ var i = mediatypeAndBase64.lastIndexOf(';');
8650
+ mediatype = mediatypeAndBase64.substring(0, i);
8651
+ base64Flag = true;
8652
+ } else {
8653
+ content = decodeURIComponent(content);
8654
+ }
8655
+
8656
+ mediatype = (0,_mediatype_js__WEBPACK_IMPORTED_MODULE_3__.parseMediaType)(mediatype);
8657
+ } else {
8658
+ content = decodeURIComponent(content);
8659
+ }
8660
+
8661
+ return new DataUrl(content, mediatype, base64Flag);
8662
+ }
8663
+
8664
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', parseDataURL, DataUrl);
8665
+
8666
+
8667
+ /***/ }),
8668
+ /* 37 */
8669
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8670
+
8671
+ __webpack_require__.r(__webpack_exports__);
8672
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8673
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _base_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
8674
+ /* harmony export */ "parseMediaType": function() { return /* binding */ parseMediaType; },
8675
+ /* harmony export */ "MediaType": function() { return /* binding */ MediaType; }
8676
+ /* harmony export */ });
8677
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
8678
+ /* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
8679
+ /* harmony import */ var _is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
8680
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
8681
+
8682
+
8683
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
8684
+
8685
+ function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); _groups.set(_this, groups || _groups.get(re)); return _setPrototypeOf(_this, BabelRegExp.prototype); } _inherits(BabelRegExp, RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === "string") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { return "$" + groups[name]; })); } else if (typeof substitution === "function") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; if (_typeof(args[args.length - 1]) !== "object") { args = [].slice.call(args); args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); }
8686
+
8687
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
8688
+
8689
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8690
+
8691
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8692
+
8693
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8694
+
8695
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
8696
+
8697
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
8698
+
8699
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
8700
+
8701
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
8702
+
8703
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8704
+
8705
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
8706
+
8707
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
8708
+
8709
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
8710
+
8711
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
8712
+
8713
+
8714
+ /**
8715
+ * @author schukai GmbH
8716
+ */
8717
+
8718
+
8719
+
8720
+
8721
+ /**
8722
+ * @private
8723
+ * @type {symbol}
8724
+ */
8725
+
8726
+ var internal = Symbol('internal');
8727
+ /**
8728
+ * @typedef {Object} Parameter
8729
+ * @property {string} key
8730
+ * @property {string} value
8731
+ * @memberOf Monster.Types
8732
+ */
8733
+
8734
+ /**
8735
+ * You can create an object via the monster namespace `new Monster.Types.MediaType()`.
8736
+ *
8737
+ * ```
8738
+ * <script type="module">
8739
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/mediatype.js';
8740
+ * console.log(new Monster.Types.MediaType())
8741
+ * </script>
8742
+ * ```
8743
+ *
8744
+ * Alternatively, you can also integrate this function individually.
8745
+ *
8746
+ * ```
8747
+ * <script type="module">
8748
+ * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/mediatype.js';
8749
+ * console.log(new MediaType())
8750
+ * </script>
8751
+ * ```
8752
+ *
8753
+ * @since 1.8.0
8754
+ * @copyright schukai GmbH
8755
+ * @memberOf Monster.Types
8756
+ */
8757
+
8758
+ var MediaType = /*#__PURE__*/function (_Base) {
8759
+ _inherits(MediaType, _Base);
8760
+
8761
+ var _super = _createSuper(MediaType);
8762
+
8763
+ /**
8764
+ *
8765
+ * @param {String} type
8766
+ * @param {String} subtype
8767
+ * @param {Monster.Types.Parameter[]} parameter
8768
+ */
8769
+ function MediaType(type, subtype, parameter) {
8770
+ var _this;
8771
+
8772
+ _classCallCheck(this, MediaType);
8773
+
8774
+ _this = _super.call(this);
8775
+ _this[internal] = {
8776
+ type: (0,_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(type).toLowerCase(),
8777
+ subtype: (0,_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(subtype).toLowerCase(),
8778
+ parameter: []
8779
+ };
8780
+
8781
+ if (parameter !== undefined) {
8782
+ _this[internal]['parameter'] = (0,_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateArray)(parameter);
8783
+ }
8784
+
8785
+ return _this;
8786
+ }
8787
+ /**
8788
+ * @return {String}
8789
+ */
8790
+
8791
+
8792
+ _createClass(MediaType, [{
8793
+ key: "type",
8794
+ get: function get() {
8795
+ return this[internal].type;
8796
+ }
8797
+ /**
8798
+ * @return {String}
8799
+ */
8800
+
8801
+ }, {
8802
+ key: "subtype",
8803
+ get: function get() {
8804
+ return this[internal].subtype;
8805
+ }
8806
+ /**
8807
+ * @return {Monster.Types.Parameter[]}
8808
+ */
8809
+
8810
+ }, {
8811
+ key: "parameter",
8812
+ get:
8813
+ /**
8814
+ *
8815
+ *
8816
+ * @return {Map}
8817
+ */
8818
+ function get() {
8819
+ var result = new Map();
8820
+ this[internal]['parameter'].forEach(function (p) {
8821
+ var value = p.value; // internally special values are partly stored with quotes, this function removes them.
8822
+
8823
+ if (value.startsWith('"') && value.endsWith('"')) {
8824
+ value = value.substring(1, value.length - 1);
8825
+ }
8826
+
8827
+ result.set(p.key, value);
8828
+ });
8829
+ return result;
8830
+ }
8831
+ /**
8832
+ *
8833
+ * @return {string}
8834
+ */
8835
+
8836
+ }, {
8837
+ key: "toString",
8838
+ value: function toString() {
8839
+ var parameter = [];
8840
+
8841
+ var _iterator = _createForOfIteratorHelper(this[internal].parameter),
8842
+ _step;
8843
+
8844
+ try {
8845
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
8846
+ var a = _step.value;
8847
+ parameter.push(a.key + '=' + a.value);
8848
+ }
8849
+ } catch (err) {
8850
+ _iterator.e(err);
8851
+ } finally {
8852
+ _iterator.f();
8853
+ }
8854
+
8855
+ return this[internal].type + '/' + this[internal].subtype + (parameter.length > 0 ? ';' + parameter.join(';') : '');
8856
+ }
8857
+ }]);
8858
+
8859
+ return MediaType;
8860
+ }(_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
8861
+ /**
8862
+ * You can call the function via the monster namespace `Monster.Types.parseMediaType()`.
8863
+ *
8864
+ * ```
8865
+ * <script type="module">
8866
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/dataurl.js';
8867
+ * console.log(Monster.Types.parseMediaType())
8868
+ * </script>
8869
+ * ```
8870
+ *
8871
+ * Alternatively, you can also integrate this function individually.
8872
+ *
8873
+ * ```
8874
+ * <script type="module">
8875
+ * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/dataurl.js';
8876
+ * console.log(parseMediaType())
8877
+ * </script>
8878
+ * ```
8879
+ *
8880
+ * Specification:
8881
+ *
8882
+ * ```
8883
+ * dataurl := "data:" [ mediatype ] [ ";base64" ] "," data
8884
+ * mediatype := [ type "/" subtype ] *( ";" parameter )
8885
+ * data := *urlchar
8886
+ * parameter := attribute "=" value
8887
+ * ```
8888
+ *
8889
+ * @param {String} mediatype
8890
+ * @return {Monster.Types.MediaType}
8891
+ * @see https://datatracker.ietf.org/doc/html/rfc2045#section-5.1
8892
+ * @throws {TypeError} the mimetype can not be parsed
8893
+ * @throws {TypeError} blank value is not allowed
8894
+ * @throws {TypeError} malformed data url
8895
+ * @memberOf Monster.Types
8896
+ */
8897
+
8898
+
8899
+ function parseMediaType(mediatype) {
8900
+ var regex = /*#__PURE__*/_wrapRegExp(/([A-Za-z]+|\*)\/(([\+\x2D\.0-9A-Z_a-z]+)|\*|)([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*([0-9A-Za-z]+)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(=[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*("?[\x2D0-9A-Z_a-z]+"?))?)*/g, {
8901
+ type: 1,
8902
+ subtype: 2,
8903
+ parameter: 4
8904
+ });
8905
+
8906
+ var result = regex.exec((0,_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(mediatype));
8907
+ var groups = result === null || result === void 0 ? void 0 : result['groups'];
8908
+
8909
+ if (groups === undefined) {
8910
+ throw new TypeError('the mimetype can not be parsed');
8911
+ }
8912
+
8913
+ var type = groups === null || groups === void 0 ? void 0 : groups['type'];
8914
+ var subtype = groups === null || groups === void 0 ? void 0 : groups['subtype'];
8915
+ var parameter = groups === null || groups === void 0 ? void 0 : groups['parameter'];
8916
+
8917
+ if (subtype === "" || type === "") {
8918
+ throw new TypeError('blank value is not allowed');
8919
+ }
8920
+
8921
+ return new MediaType(type, subtype, parseParameter(parameter));
8922
+ }
8923
+ /**
8924
+ * @private
8925
+ * @since 1.18.0
8926
+ * @param {String} parameter
8927
+ * @return {Monster.Types.Parameter[]|undefined}
8928
+ * @memberOf Monster.Types
8929
+ */
8930
+
8931
+
8932
+ function parseParameter(parameter) {
8933
+ if (!(0,_is_js__WEBPACK_IMPORTED_MODULE_2__.isString)(parameter)) {
8934
+ return undefined;
8935
+ }
8936
+
8937
+ var result = [];
8938
+ parameter.split(';').forEach(function (entry) {
8939
+ entry = entry.trim();
8940
+
8941
+ if (entry === "") {
8942
+ return;
8943
+ }
8944
+
8945
+ var kv = entry.split('=');
8946
+ var key = (0,_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(kv === null || kv === void 0 ? void 0 : kv[0]).trim();
8947
+ var value = (0,_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(kv === null || kv === void 0 ? void 0 : kv[1]).trim(); // if values are quoted, they remain so internally
8948
+
8949
+ result.push({
8950
+ key: key,
8951
+ value: value
8952
+ });
8953
+ });
8954
+ return result;
8955
+ }
8956
+
8957
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', parseMediaType, MediaType);
8958
+
8959
+
8960
+ /***/ }),
8961
+ /* 38 */
8962
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8963
+
8315
8964
  __webpack_require__.r(__webpack_exports__);
8316
8965
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8317
8966
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
@@ -8322,7 +8971,7 @@ __webpack_require__.r(__webpack_exports__);
8322
8971
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
8323
8972
  /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
8324
8973
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
8325
- /* harmony import */ var _theme_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37);
8974
+ /* harmony import */ var _theme_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(39);
8326
8975
 
8327
8976
  /**
8328
8977
  * @author schukai GmbH
@@ -8360,7 +9009,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8360
9009
  *
8361
9010
  * ```
8362
9011
  * <script type="module">
8363
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
9012
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/template.js';
8364
9013
  * console.log(new Monster.DOM.Template())
8365
9014
  * </script>
8366
9015
  * ```
@@ -8369,7 +9018,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8369
9018
  *
8370
9019
  * ```
8371
9020
  * <script type="module">
8372
- * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
9021
+ * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/template.js';
8373
9022
  * console.log(new Template())
8374
9023
  * </script>
8375
9024
  * ```
@@ -8377,6 +9026,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8377
9026
  * @since 1.6.0
8378
9027
  * @copyright schukai GmbH
8379
9028
  * @memberOf Monster.DOM
9029
+ * @summary A template class
8380
9030
  */
8381
9031
 
8382
9032
  var Template = /*#__PURE__*/function (_Base) {
@@ -8429,13 +9079,24 @@ var Template = /*#__PURE__*/function (_Base) {
8429
9079
  return Template;
8430
9080
  }(_types_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
8431
9081
  /**
9082
+ * This method loads a template with the given ID and returns it.
8432
9083
  *
9084
+ * To do this, it first fetches the theme of the document and looks for the `data-monster-theme-name` attribute in the HTML tag.
8433
9085
  *
8434
- * you can call the method via the monster namespace `Monster.DOM.findDocumentTemplate()`.
9086
+ * ```
9087
+ * <html data-monster-theme-name="my-theme">
9088
+ * ```
9089
+ *
9090
+ * If no theme was specified, the default theme is `monster`.
9091
+ *
9092
+ * Now it is looked if there is a template with the given ID and theme `id-theme` and if yes it is returned.
9093
+ * If there is no template a search for a template with the given ID `id` is done. If this is also not found, an error is thrown.
9094
+ *
9095
+ * You can call the method via the monster namespace `Monster.DOM.findDocumentTemplate()`.
8435
9096
  *
8436
9097
  * ```
8437
9098
  * <script type="module">
8438
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
9099
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/template.js';
8439
9100
  * console.log(Monster.DOM.findDocumentTemplate())
8440
9101
  * </script>
8441
9102
  * ```
@@ -8444,14 +9105,14 @@ var Template = /*#__PURE__*/function (_Base) {
8444
9105
  *
8445
9106
  * ```
8446
9107
  * <script type="module">
8447
- * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
9108
+ * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/template.js';
8448
9109
  * console.log(findDocumentTemplate())
8449
9110
  * </script>
8450
9111
  * ```
8451
9112
  *
8452
9113
  * @param {string} id
8453
9114
  * @param {Node} currentNode
8454
- * @return {Template}
9115
+ * @return {Monster.DOM.Template}
8455
9116
  * @since 1.7.0
8456
9117
  * @copyright schukai GmbH
8457
9118
  * @memberOf Monster.DOM
@@ -8503,7 +9164,7 @@ function findDocumentTemplate(id, currentNode) {
8503
9164
 
8504
9165
 
8505
9166
  /***/ }),
8506
- /* 37 */
9167
+ /* 39 */
8507
9168
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8508
9169
 
8509
9170
  __webpack_require__.r(__webpack_exports__);
@@ -8554,7 +9215,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8554
9215
  *
8555
9216
  * ```
8556
9217
  * <script type="module">
8557
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/theme.js';
9218
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/theme.js';
8558
9219
  * console.log(new Monster.DOM.Theme())
8559
9220
  * </script>
8560
9221
  * ```
@@ -8563,14 +9224,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8563
9224
  *
8564
9225
  * ```
8565
9226
  * <script type="module">
8566
- * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/theme.js';
9227
+ * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/theme.js';
8567
9228
  * console.log(new Theme())
8568
9229
  * </script>
8569
9230
  * ```
8570
9231
  *
8571
9232
  * @example
8572
9233
  *
8573
- * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/theme.js';
9234
+ * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/theme.js';
8574
9235
  *
8575
9236
  * const theme = getDocumentTheme();
8576
9237
  * console.log(theme.getName());
@@ -8579,6 +9240,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8579
9240
  * @since 1.7.0
8580
9241
  * @copyright schukai GmbH
8581
9242
  * @memberOf Monster.DOM
9243
+ * @summary A theme class
8582
9244
  */
8583
9245
 
8584
9246
  var Theme = /*#__PURE__*/function (_Base) {
@@ -8654,7 +9316,7 @@ function getDocumentTheme() {
8654
9316
 
8655
9317
 
8656
9318
  /***/ }),
8657
- /* 38 */
9319
+ /* 40 */
8658
9320
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8659
9321
 
8660
9322
  __webpack_require__.r(__webpack_exports__);
@@ -8673,8 +9335,8 @@ __webpack_require__.r(__webpack_exports__);
8673
9335
  /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26);
8674
9336
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(14);
8675
9337
  /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15);
8676
- /* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(36);
8677
- /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(39);
9338
+ /* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(38);
9339
+ /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(41);
8678
9340
 
8679
9341
 
8680
9342
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -8731,15 +9393,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8731
9393
 
8732
9394
 
8733
9395
  /**
8734
- * The updater class connects an object with the dom. in this way, structures and contents in the DOM can be programmatically adapted via attributes.
9396
+ * The updater class connects an object with the dom. In this way, structures and contents in the DOM can be programmatically adapted via attributes.
8735
9397
  *
8736
- * For example, to include a string from an object, the attribute `data-monster-replace` can be used.
9398
+ * For example, to include a string from an object, the attribute `data-monster-replace` can be used.
9399
+ * a further explanation can be found under {@tutorial dom-based-templating-implementation}.
8737
9400
  *
8738
9401
  * you can call the method via the monster namespace `new Monster.DOM.Updater()`.
8739
9402
  *
8740
9403
  * ```
8741
9404
  * <script type="module">
8742
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
9405
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/updater.js';
8743
9406
  * console.log(new Monster.DOM.Updater())
8744
9407
  * </script>
8745
9408
  * ```
@@ -8748,14 +9411,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8748
9411
  *
8749
9412
  * ```
8750
9413
  * <script type="module">
8751
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
9414
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/updater.js';
8752
9415
  * console.log(new Updater())
8753
9416
  * </script>
8754
9417
  * ```
8755
9418
  *
8756
9419
  * @example
8757
9420
  *
8758
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
9421
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/updater.js';
8759
9422
  *
8760
9423
  * // First we prepare the html document.
8761
9424
  * // This is done here via script, but can also be inserted into the document as pure html.
@@ -8788,6 +9451,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8788
9451
  * @throws {Error} the maximum depth for the recursion is reached.
8789
9452
  * @throws {TypeError} value is not a object
8790
9453
  * @throws {TypeError} value is not an instance of HTMLElement
9454
+ * @summary The updater class connects an object with the dom
8791
9455
  */
8792
9456
 
8793
9457
  var Updater = /*#__PURE__*/function (_Base) {
@@ -8801,6 +9465,7 @@ var Updater = /*#__PURE__*/function (_Base) {
8801
9465
  * @param {object|ProxyObserver|undefined} subject
8802
9466
  * @throws {TypeError} value is not a object
8803
9467
  * @throws {TypeError} value is not an instance of HTMLElement
9468
+ * @see {@link Monster.DOM.findDocumentTemplate}
8804
9469
  */
8805
9470
  function Updater(element, subject) {
8806
9471
  var _this;
@@ -8851,7 +9516,7 @@ var Updater = /*#__PURE__*/function (_Base) {
8851
9516
  /**
8852
9517
  * Defaults: 'keyup', 'click', 'change', 'drop', 'touchend'
8853
9518
  *
8854
- * @see https://developer.mozilla.org/de/docs/Web/Events
9519
+ * @see {@link https://developer.mozilla.org/de/docs/Web/Events}
8855
9520
  * @since 1.9.0
8856
9521
  * @param {Array} types
8857
9522
  * @return {Updater}
@@ -9564,7 +10229,7 @@ function handleInputControlAttributeUpdate(element, name, value) {
9564
10229
 
9565
10230
 
9566
10231
  /***/ }),
9567
- /* 39 */
10232
+ /* 41 */
9568
10233
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9569
10234
 
9570
10235
  __webpack_require__.r(__webpack_exports__);
@@ -9592,7 +10257,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
9592
10257
  *
9593
10258
  * ```
9594
10259
  * <script type="module">
9595
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
10260
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/util.js';
9596
10261
  * console.log(Monster.DOM.getDocument())
9597
10262
  * </script>
9598
10263
  * ```
@@ -9601,7 +10266,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
9601
10266
  *
9602
10267
  * ```
9603
10268
  * <script type="module">
9604
- * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
10269
+ * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/util.js';
9605
10270
  * console.log(getDocument())
9606
10271
  * </script>
9607
10272
  * ```
@@ -9656,7 +10321,7 @@ function getDocument() {
9656
10321
  *
9657
10322
  * ```
9658
10323
  * <script type="module">
9659
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
10324
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/util.js';
9660
10325
  * console.log(Monster.DOM.getWindow())
9661
10326
  * </script>
9662
10327
  * ```
@@ -9665,7 +10330,7 @@ function getDocument() {
9665
10330
  *
9666
10331
  * ```
9667
10332
  * <script type="module">
9668
- * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
10333
+ * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/util.js';
9669
10334
  * console.log(getWindow(null))
9670
10335
  * </script>
9671
10336
  * ```
@@ -9725,7 +10390,7 @@ function getWindow() {
9725
10390
  *
9726
10391
  * ```
9727
10392
  * <script type="module">
9728
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
10393
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/util.js';
9729
10394
  * console.log(Monster.DOM.getDocumentFragmentFromString())
9730
10395
  * </script>
9731
10396
  * ```
@@ -9734,7 +10399,7 @@ function getWindow() {
9734
10399
  *
9735
10400
  * ```
9736
10401
  * <script type="module">
9737
- * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
10402
+ * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/util.js';
9738
10403
  * console.log(getDocumentFragmentFromString('<div></div>'))
9739
10404
  * </script>
9740
10405
  * ```
@@ -9787,7 +10452,7 @@ function getDocumentFragmentFromString(html) {
9787
10452
 
9788
10453
 
9789
10454
  /***/ }),
9790
- /* 40 */
10455
+ /* 42 */
9791
10456
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9792
10457
 
9793
10458
  __webpack_require__.r(__webpack_exports__);
@@ -9797,9 +10462,9 @@ __webpack_require__.r(__webpack_exports__);
9797
10462
  /* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; }
9798
10463
  /* harmony export */ });
9799
10464
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
9800
- /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
9801
- /* harmony import */ var _attributes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32);
9802
- /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
10465
+ /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
10466
+ /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
10467
+ /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41);
9803
10468
 
9804
10469
  /**
9805
10470
  * @author schukai GmbH
@@ -9820,7 +10485,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
9820
10485
  *
9821
10486
  * ```
9822
10487
  * <script type="module">
9823
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
10488
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/events.js';
9824
10489
  * console.log(new Monster.DOM.fireEvent())
9825
10490
  * </script>
9826
10491
  * ```
@@ -9829,7 +10494,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
9829
10494
  *
9830
10495
  * ```
9831
10496
  * <script type="module">
9832
- * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
10497
+ * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/events.js';
9833
10498
  * console.log(fireEvent())
9834
10499
  * </script>
9835
10500
  * ```
@@ -9841,6 +10506,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
9841
10506
  * @copyright schukai GmbH
9842
10507
  * @memberOf Monster.DOM
9843
10508
  * @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
10509
+ * @summary Construct and send and event
9844
10510
  */
9845
10511
 
9846
10512
  function fireEvent(element, type) {
@@ -9852,7 +10518,7 @@ function fireEvent(element, type) {
9852
10518
  return;
9853
10519
  }
9854
10520
 
9855
- var event = new Event((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateString)(type), {
10521
+ var event = new Event((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(type), {
9856
10522
  bubbles: true,
9857
10523
  cancelable: true
9858
10524
  });
@@ -9877,13 +10543,14 @@ function fireEvent(element, type) {
9877
10543
  }
9878
10544
  /**
9879
10545
  * This function gets the path `Event.composedPath()` from an event and tries to find the next element
9880
- * up the tree `element.closest()` with the attribute and value. If no value is specified, only the attribute is searched.
10546
+ * up the tree `element.closest()` with the attribute and value. If no value, or a value that is undefined or null,
10547
+ * is specified, only the attribute is searched.
9881
10548
  *
9882
10549
  * You can call the function via the monster namespace `new Monster.DOM.findTargetElementFromEvent()`.
9883
10550
  *
9884
10551
  * ```
9885
10552
  * <script type="module">
9886
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
10553
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/events.js';
9887
10554
  * console.log(new Monster.DOM.findTargetElementFromEvent())
9888
10555
  * </script>
9889
10556
  * ```
@@ -9892,7 +10559,7 @@ function fireEvent(element, type) {
9892
10559
  *
9893
10560
  * ```
9894
10561
  * <script type="module">
9895
- * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
10562
+ * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/events.js';
9896
10563
  * console.log(findTargetElementFromEvent())
9897
10564
  * </script>
9898
10565
  * ```
@@ -9900,26 +10567,33 @@ function fireEvent(element, type) {
9900
10567
  * @since 1.14.0
9901
10568
  * @param {Event} event
9902
10569
  * @param {string} attributeName
9903
- * @param {string|null} attributeValue
10570
+ * @param {string|null|undefined} attributeValue
9904
10571
  * @throws {Error} unsupported event
9905
10572
  * @memberOf Monster.DOM
9906
10573
  * @throws {TypeError} value is not a string
9907
10574
  * @throws {TypeError} value is not an instance of HTMLElement
10575
+ * @summary Help function to find the appropriate control
9908
10576
  */
9909
10577
 
9910
10578
 
9911
10579
  function findTargetElementFromEvent(event, attributeName, attributeValue) {
9912
- (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateInstance)(event, Event);
10580
+ (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateInstance)(event, Event);
9913
10581
 
9914
10582
  if (typeof event.composedPath !== 'function') {
9915
10583
  throw new Error('unsupported event');
9916
10584
  }
9917
10585
 
9918
10586
  var path = event.composedPath();
9919
- var element = path === null || path === void 0 ? void 0 : path[0];
10587
+ var element = path === null || path === void 0 ? void 0 : path[0]; // closest cannot be used here, because closest is not correct for slotted elements
9920
10588
 
9921
- if (element instanceof HTMLElement) {
9922
- return (0,_attributes_js__WEBPACK_IMPORTED_MODULE_2__.findClosestByAttribute)(element, attributeName, attributeValue);
10589
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isArray)(path)) {
10590
+ for (var i = 0; i < path.length; i++) {
10591
+ var o = path[i];
10592
+
10593
+ if (o instanceof HTMLElement && o.hasAttribute(attributeName) && (attributeValue === undefined || o.getAttribute(attributeName) === attributeValue)) {
10594
+ return o;
10595
+ }
10596
+ }
9923
10597
  }
9924
10598
 
9925
10599
  return undefined;
@@ -9929,7 +10603,7 @@ function findTargetElementFromEvent(event, attributeName, attributeValue) {
9929
10603
 
9930
10604
 
9931
10605
  /***/ }),
9932
- /* 41 */
10606
+ /* 43 */
9933
10607
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9934
10608
 
9935
10609
  __webpack_require__.r(__webpack_exports__);
@@ -9937,9 +10611,9 @@ __webpack_require__.r(__webpack_exports__);
9937
10611
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
9938
10612
  /* harmony export */ "getLocaleOfDocument": function() { return /* binding */ getLocaleOfDocument; }
9939
10613
  /* harmony export */ });
9940
- /* harmony import */ var _i18n_locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
10614
+ /* harmony import */ var _i18n_locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
9941
10615
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
9942
- /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39);
10616
+ /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41);
9943
10617
 
9944
10618
 
9945
10619
 
@@ -9963,7 +10637,7 @@ var DEFAULT_LANGUAGE = 'en';
9963
10637
  *
9964
10638
  * ```
9965
10639
  * <script type="module">
9966
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/locale.js';
10640
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/locale.js';
9967
10641
  * console.log(new Monster.DOM.getLocaleOfDocument())
9968
10642
  * </script>
9969
10643
  * ```
@@ -9972,7 +10646,7 @@ var DEFAULT_LANGUAGE = 'en';
9972
10646
  *
9973
10647
  * ```
9974
10648
  * <script type="module">
9975
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/locale.js';
10649
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/dom/locale.js';
9976
10650
  * console.log(new getLocaleOfDocument())
9977
10651
  * </script>
9978
10652
  * ```
@@ -9982,6 +10656,7 @@ var DEFAULT_LANGUAGE = 'en';
9982
10656
  * @memberOf Monster.DOM
9983
10657
  * @throws {TypeError} value is not a string
9984
10658
  * @throws {Error} unsupported locale
10659
+ * @summary Tries to determine the locale used
9985
10660
  */
9986
10661
 
9987
10662
  function getLocaleOfDocument() {
@@ -10003,7 +10678,7 @@ function getLocaleOfDocument() {
10003
10678
 
10004
10679
 
10005
10680
  /***/ }),
10006
- /* 42 */
10681
+ /* 44 */
10007
10682
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10008
10683
 
10009
10684
  __webpack_require__.r(__webpack_exports__);
@@ -10064,7 +10739,7 @@ var localeStringSymbol = Symbol('localeString');
10064
10739
  *
10065
10740
  * ```
10066
10741
  * <script type="module">
10067
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
10742
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/locale.js';
10068
10743
  * console.log(new Monster.I18n.Locale())
10069
10744
  * </script>
10070
10745
  * ```
@@ -10073,7 +10748,7 @@ var localeStringSymbol = Symbol('localeString');
10073
10748
  *
10074
10749
  * ```
10075
10750
  * <script type="module">
10076
- * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
10751
+ * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/locale.js';
10077
10752
  * console.log(new Locale())
10078
10753
  * </script>
10079
10754
  * ```
@@ -10264,7 +10939,7 @@ var Locale = /*#__PURE__*/function (_Base) {
10264
10939
  *
10265
10940
  * ```
10266
10941
  * <script type="module">
10267
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
10942
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/locale.js';
10268
10943
  * console.log(new Monster.I18n.createLocale())
10269
10944
  * </script>
10270
10945
  * ```
@@ -10273,7 +10948,7 @@ var Locale = /*#__PURE__*/function (_Base) {
10273
10948
  *
10274
10949
  * ```
10275
10950
  * <script type="module">
10276
- * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
10951
+ * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/locale.js';
10277
10952
  * console.log(createLocale())
10278
10953
  * </script>
10279
10954
  * ```
@@ -10399,7 +11074,7 @@ function parseLocale(locale) {
10399
11074
 
10400
11075
 
10401
11076
  /***/ }),
10402
- /* 43 */
11077
+ /* 45 */
10403
11078
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10404
11079
 
10405
11080
  __webpack_require__.r(__webpack_exports__);
@@ -10408,9 +11083,9 @@ __webpack_require__.r(__webpack_exports__);
10408
11083
  /* harmony export */ "Provider": function() { return /* binding */ Provider; }
10409
11084
  /* harmony export */ });
10410
11085
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
10411
- /* harmony import */ var _types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44);
10412
- /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(42);
10413
- /* harmony import */ var _translations_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45);
11086
+ /* harmony import */ var _types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46);
11087
+ /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44);
11088
+ /* harmony import */ var _translations_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47);
10414
11089
 
10415
11090
  /**
10416
11091
  * @author schukai GmbH
@@ -10449,7 +11124,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10449
11124
  *
10450
11125
  * ```
10451
11126
  * <script type="module">
10452
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/provider.js';
11127
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/provider.js';
10453
11128
  * console.log(new Monster.I18n.Provider())
10454
11129
  * </script>
10455
11130
  * ```
@@ -10458,7 +11133,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10458
11133
  *
10459
11134
  * ```
10460
11135
  * <script type="module">
10461
- * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/provider.js';
11136
+ * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/provider.js';
10462
11137
  * console.log(new Provider())
10463
11138
  * </script>
10464
11139
  * ```
@@ -10466,7 +11141,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10466
11141
  * @since 1.13.0
10467
11142
  * @copyright schukai GmbH
10468
11143
  * @memberOf Monster.I18n
10469
- * @see https://datatracker.ietf.org/doc/html/rfc3066
11144
+ * @see {@link https://datatracker.ietf.org/doc/html/rfc3066}
10470
11145
  */
10471
11146
 
10472
11147
  var Provider = /*#__PURE__*/function (_BaseWithOptions) {
@@ -10505,7 +11180,7 @@ var Provider = /*#__PURE__*/function (_BaseWithOptions) {
10505
11180
 
10506
11181
 
10507
11182
  /***/ }),
10508
- /* 44 */
11183
+ /* 46 */
10509
11184
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10510
11185
 
10511
11186
  __webpack_require__.r(__webpack_exports__);
@@ -10566,7 +11241,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10566
11241
  *
10567
11242
  * ```
10568
11243
  * <script type="module">
10569
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/basewithoptions.js';
11244
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/basewithoptions.js';
10570
11245
  * console.log(new Monster.Types.BaseWithOptions())
10571
11246
  * </script>
10572
11247
  * ```
@@ -10575,7 +11250,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10575
11250
  *
10576
11251
  * ```
10577
11252
  * <script type="module">
10578
- * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/basewithoptions.js';
11253
+ * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/basewithoptions.js';
10579
11254
  * console.log(new BaseWithOptions())
10580
11255
  * </script>
10581
11256
  * ```
@@ -10652,7 +11327,7 @@ var BaseWithOptions = /*#__PURE__*/function (_Base) {
10652
11327
 
10653
11328
 
10654
11329
  /***/ }),
10655
- /* 45 */
11330
+ /* 47 */
10656
11331
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10657
11332
 
10658
11333
  __webpack_require__.r(__webpack_exports__);
@@ -10664,7 +11339,7 @@ __webpack_require__.r(__webpack_exports__);
10664
11339
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
10665
11340
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
10666
11341
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
10667
- /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42);
11342
+ /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44);
10668
11343
 
10669
11344
  /**
10670
11345
  * @author schukai GmbH
@@ -10716,7 +11391,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10716
11391
  *
10717
11392
  * ```
10718
11393
  * <script type="module">
10719
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/translations.js';
11394
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/translations.js';
10720
11395
  * console.log(new Monster.I18n.Translations())
10721
11396
  * </script>
10722
11397
  * ```
@@ -10725,7 +11400,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10725
11400
  *
10726
11401
  * ```
10727
11402
  * <script type="module">
10728
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/translations.js';
11403
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/translations.js';
10729
11404
  * console.log(new Translations())
10730
11405
  * </script>
10731
11406
  * ```
@@ -10928,7 +11603,7 @@ var Translations = /*#__PURE__*/function (_Base) {
10928
11603
 
10929
11604
 
10930
11605
  /***/ }),
10931
- /* 46 */
11606
+ /* 48 */
10932
11607
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10933
11608
 
10934
11609
  __webpack_require__.r(__webpack_exports__);
@@ -10939,13 +11614,13 @@ __webpack_require__.r(__webpack_exports__);
10939
11614
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
10940
11615
  /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
10941
11616
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
10942
- /* harmony import */ var _text_formatter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47);
11617
+ /* harmony import */ var _text_formatter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49);
10943
11618
  /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16);
10944
11619
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
10945
11620
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
10946
- /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(42);
10947
- /* harmony import */ var _provider_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(43);
10948
- /* harmony import */ var _translations_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(45);
11621
+ /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(44);
11622
+ /* harmony import */ var _provider_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45);
11623
+ /* harmony import */ var _translations_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(47);
10949
11624
 
10950
11625
 
10951
11626
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -11001,7 +11676,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
11001
11676
  *
11002
11677
  * ```
11003
11678
  * <script type="module">
11004
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/providers/fetch.js';
11679
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/providers/fetch.js';
11005
11680
  * console.log(new Monster.I18n.Providers.Fetch())
11006
11681
  * </script>
11007
11682
  * ```
@@ -11010,7 +11685,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
11010
11685
  *
11011
11686
  * ```
11012
11687
  * <script type="module">
11013
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/providers/fetch.js';
11688
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/i18n/providers/fetch.js';
11014
11689
  * console.log(new Fetch())
11015
11690
  * </script>
11016
11691
  * ```
@@ -11018,7 +11693,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
11018
11693
  * @since 1.13.0
11019
11694
  * @copyright schukai GmbH
11020
11695
  * @memberOf Monster.I18n.Providers
11021
- * @see https://datatracker.ietf.org/doc/html/rfc3066
11696
+ * @see {@link https://datatracker.ietf.org/doc/html/rfc3066}
11022
11697
  */
11023
11698
 
11024
11699
  var Fetch = /*#__PURE__*/function (_Provider) {
@@ -11031,7 +11706,7 @@ var Fetch = /*#__PURE__*/function (_Provider) {
11031
11706
  *
11032
11707
  * @param {string|URL} url
11033
11708
  * @param {Object} options see {@link Monster.I18n.Providers.Fetch#defaults}
11034
- * @see https://developer.mozilla.org/en-US/docs/Web/API/fetch
11709
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/fetch}
11035
11710
  */
11036
11711
  function Fetch(url, options) {
11037
11712
  var _thisSuper, _this;
@@ -11073,7 +11748,7 @@ var Fetch = /*#__PURE__*/function (_Provider) {
11073
11748
  * @property {String} fetch.redirect=follow
11074
11749
  * @property {String} fetch.referrerPolicy=no-referrer
11075
11750
  *
11076
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
11751
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API}
11077
11752
  */
11078
11753
 
11079
11754
 
@@ -11126,7 +11801,7 @@ var Fetch = /*#__PURE__*/function (_Provider) {
11126
11801
 
11127
11802
 
11128
11803
  /***/ }),
11129
- /* 47 */
11804
+ /* 49 */
11130
11805
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
11131
11806
 
11132
11807
  __webpack_require__.r(__webpack_exports__);
@@ -11179,7 +11854,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11179
11854
  *
11180
11855
  * ```
11181
11856
  * <script type="module">
11182
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/text/formatter.js';
11857
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/text/formatter.js';
11183
11858
  * console.log(new Monster.Text.Formatter())
11184
11859
  * </script>
11185
11860
  * ```
@@ -11188,7 +11863,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11188
11863
  *
11189
11864
  * ```
11190
11865
  * <script type="module">
11191
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/text/formatter.js';
11866
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/text/formatter.js';
11192
11867
  * console.log(new Formatter())
11193
11868
  * </script>
11194
11869
  * ```
@@ -11321,7 +11996,7 @@ function tokenizer(text) {
11321
11996
 
11322
11997
 
11323
11998
  /***/ }),
11324
- /* 48 */
11999
+ /* 50 */
11325
12000
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
11326
12001
 
11327
12002
  __webpack_require__.r(__webpack_exports__);
@@ -11332,8 +12007,8 @@ __webpack_require__.r(__webpack_exports__);
11332
12007
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
11333
12008
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
11334
12009
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
11335
- /* harmony import */ var _logentry_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49);
11336
- /* harmony import */ var _logger_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50);
12010
+ /* harmony import */ var _logentry_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(51);
12011
+ /* harmony import */ var _logger_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52);
11337
12012
 
11338
12013
  /**
11339
12014
  * @author schukai GmbH
@@ -11371,7 +12046,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11371
12046
  *
11372
12047
  * ```
11373
12048
  * <script type="module">
11374
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler.js';
12049
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/handler.js';
11375
12050
  * console.log(new Monster.Logging.Handler())
11376
12051
  * </script>
11377
12052
  * ```
@@ -11380,7 +12055,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11380
12055
  *
11381
12056
  * ```
11382
12057
  * <script type="module">
11383
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler.js';
12058
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/handler.js';
11384
12059
  * console.log(new Handler())
11385
12060
  * </script>
11386
12061
  * ```
@@ -11572,7 +12247,7 @@ var Handler = /*#__PURE__*/function (_Base) {
11572
12247
 
11573
12248
 
11574
12249
  /***/ }),
11575
- /* 49 */
12250
+ /* 51 */
11576
12251
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
11577
12252
 
11578
12253
  __webpack_require__.r(__webpack_exports__);
@@ -11618,7 +12293,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11618
12293
  *
11619
12294
  * ```
11620
12295
  * <script type="module">
11621
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logentry.js';
12296
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/logentry.js';
11622
12297
  * console.log(new Monster.Logging.LogEntry())
11623
12298
  * </script>
11624
12299
  * ```
@@ -11627,7 +12302,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11627
12302
  *
11628
12303
  * ```
11629
12304
  * <script type="module">
11630
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logentry.js';
12305
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/logentry.js';
11631
12306
  * console.log(new LogEntry())
11632
12307
  * </script>
11633
12308
  * ```
@@ -11693,7 +12368,7 @@ var LogEntry = /*#__PURE__*/function (_Base) {
11693
12368
 
11694
12369
 
11695
12370
  /***/ }),
11696
- /* 50 */
12371
+ /* 52 */
11697
12372
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
11698
12373
 
11699
12374
  __webpack_require__.r(__webpack_exports__);
@@ -11709,8 +12384,8 @@ __webpack_require__.r(__webpack_exports__);
11709
12384
  /* harmony export */ "FATAL": function() { return /* binding */ FATAL; },
11710
12385
  /* harmony export */ "OFF": function() { return /* binding */ OFF; }
11711
12386
  /* harmony export */ });
11712
- /* harmony import */ var _logging_handler_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48);
11713
- /* harmony import */ var _logging_logentry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
12387
+ /* harmony import */ var _logging_handler_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(50);
12388
+ /* harmony import */ var _logging_logentry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51);
11714
12389
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
11715
12390
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
11716
12391
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
@@ -11813,7 +12488,7 @@ var OFF = 0;
11813
12488
  *
11814
12489
  * ```
11815
12490
  * <script type="module">
11816
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logger.js';
12491
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/logger.js';
11817
12492
  * console.log(new Monster.Logging.Logger())
11818
12493
  * </script>
11819
12494
  * ```
@@ -11822,7 +12497,7 @@ var OFF = 0;
11822
12497
  *
11823
12498
  * ```
11824
12499
  * <script type="module">
11825
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logger.js';
12500
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/logger.js';
11826
12501
  * console.log(new Logger())
11827
12502
  * </script>
11828
12503
  * ```
@@ -12068,7 +12743,7 @@ function triggerLog(loglevel) {
12068
12743
  }
12069
12744
 
12070
12745
  /***/ }),
12071
- /* 51 */
12746
+ /* 53 */
12072
12747
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12073
12748
 
12074
12749
  __webpack_require__.r(__webpack_exports__);
@@ -12079,8 +12754,8 @@ __webpack_require__.r(__webpack_exports__);
12079
12754
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
12080
12755
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
12081
12756
  /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
12082
- /* harmony import */ var _handler_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48);
12083
- /* harmony import */ var _logentry_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49);
12757
+ /* harmony import */ var _handler_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50);
12758
+ /* harmony import */ var _logentry_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51);
12084
12759
 
12085
12760
  /**
12086
12761
  * @author schukai GmbH
@@ -12122,7 +12797,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12122
12797
  *
12123
12798
  * ```
12124
12799
  * <script type="module">
12125
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler/console.js';
12800
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/handler/console.js';
12126
12801
  * console.log(new Monster.Logging.Handler.ConsoleHandler())
12127
12802
  * </script>
12128
12803
  * ```
@@ -12131,7 +12806,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12131
12806
  *
12132
12807
  * ```
12133
12808
  * <script type="module">
12134
- * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler/console.js';
12809
+ * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/logging/handler/console.js';
12135
12810
  * console.log(new ConsoleHandler())
12136
12811
  * </script>
12137
12812
  * ```
@@ -12183,7 +12858,7 @@ var ConsoleHandler = /*#__PURE__*/function (_Handler) {
12183
12858
 
12184
12859
 
12185
12860
  /***/ }),
12186
- /* 52 */
12861
+ /* 54 */
12187
12862
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12188
12863
 
12189
12864
  __webpack_require__.r(__webpack_exports__);
@@ -12207,7 +12882,7 @@ __webpack_require__.r(__webpack_exports__);
12207
12882
  *
12208
12883
  * ```
12209
12884
  * <script type="module">
12210
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/math/random.js';
12885
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/math/random.js';
12211
12886
  * console.log(Monster.Math.random(1,10)) // ↦ 5
12212
12887
  * </script>
12213
12888
  * ```
@@ -12216,7 +12891,7 @@ __webpack_require__.r(__webpack_exports__);
12216
12891
  *
12217
12892
  * ```
12218
12893
  * <script type="module">
12219
- * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/math/random.js';
12894
+ * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/math/random.js';
12220
12895
  * console.log(random(1,10)) // ↦ 5
12221
12896
  * </script>
12222
12897
  * ```
@@ -12317,7 +12992,7 @@ function create(min, max) {
12317
12992
 
12318
12993
 
12319
12994
  /***/ }),
12320
- /* 53 */
12995
+ /* 55 */
12321
12996
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12322
12997
 
12323
12998
  __webpack_require__.r(__webpack_exports__);
@@ -12325,7 +13000,7 @@ __webpack_require__.r(__webpack_exports__);
12325
13000
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
12326
13001
  /* harmony export */ "RandomID": function() { return /* binding */ RandomID; }
12327
13002
  /* harmony export */ });
12328
- /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
13003
+ /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54);
12329
13004
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
12330
13005
  /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
12331
13006
  /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24);
@@ -12368,7 +13043,7 @@ var internalCounter = 0;
12368
13043
  *
12369
13044
  * ```
12370
13045
  * <script type="module">
12371
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/randomid.js';
13046
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/randomid.js';
12372
13047
  * console.log(new Monster.Types.RandomID())
12373
13048
  * </script>
12374
13049
  * ```
@@ -12377,7 +13052,7 @@ var internalCounter = 0;
12377
13052
  *
12378
13053
  * ```
12379
13054
  * <script type="module">
12380
- * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/randomid.js';
13055
+ * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/randomid.js';
12381
13056
  * console.log(new RandomID())
12382
13057
  * </script>
12383
13058
  * ```
@@ -12385,6 +13060,7 @@ var internalCounter = 0;
12385
13060
  * @since 1.6.0
12386
13061
  * @copyright schukai GmbH
12387
13062
  * @memberOf Monster.Types
13063
+ * @summary class to generate random numbers
12388
13064
  */
12389
13065
 
12390
13066
  var RandomID = /*#__PURE__*/function (_ID) {
@@ -12415,7 +13091,7 @@ var RandomID = /*#__PURE__*/function (_ID) {
12415
13091
 
12416
13092
 
12417
13093
  /***/ }),
12418
- /* 54 */
13094
+ /* 56 */
12419
13095
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12420
13096
 
12421
13097
  __webpack_require__.r(__webpack_exports__);
@@ -12459,7 +13135,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12459
13135
  *
12460
13136
  * ```
12461
13137
  * <script type="module">
12462
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
13138
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/version.js';
12463
13139
  * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
12464
13140
  * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
12465
13141
  * </script>
@@ -12469,7 +13145,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12469
13145
  *
12470
13146
  * ```
12471
13147
  * <script type="module">
12472
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
13148
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/version.js';
12473
13149
  * console.log(new Version('1.2.3')) // ↦ 1.2.3
12474
13150
  * console.log(new Version('1')) // ↦ 1.0.0
12475
13151
  * </script>
@@ -12477,7 +13153,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12477
13153
  *
12478
13154
  * @example
12479
13155
  *
12480
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
13156
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/version.js';
12481
13157
  *
12482
13158
  * new Version('1.0.0') // ↦ 1.0.0
12483
13159
  * new Version(1) // ↦ 1.0.0
@@ -12488,6 +13164,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12488
13164
  * @author schukai GmbH
12489
13165
  * @copyright schukai GmbH
12490
13166
  * @memberOf Monster.Types
13167
+ * @summary The version object contains a sematic version number
12491
13168
  */
12492
13169
 
12493
13170
  var Version = /*#__PURE__*/function (_Base) {
@@ -12610,7 +13287,7 @@ var monsterVersion;
12610
13287
  *
12611
13288
  * ```
12612
13289
  * <script type="module">
12613
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
13290
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/version.js';
12614
13291
  * console.log(Monster.getVersion())
12615
13292
  * </script>
12616
13293
  * ```
@@ -12619,7 +13296,7 @@ var monsterVersion;
12619
13296
  *
12620
13297
  * ```
12621
13298
  * <script type="module">
12622
- * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
13299
+ * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/types/version.js';
12623
13300
  * console.log(getVersion())
12624
13301
  * </script>
12625
13302
  * ```
@@ -12638,7 +13315,7 @@ function getVersion() {
12638
13315
  /**#@+ dont touch, replaced by make with package.json version */
12639
13316
 
12640
13317
 
12641
- monsterVersion = new Version('1.17.1');
13318
+ monsterVersion = new Version('1.20.0');
12642
13319
  /**#@-*/
12643
13320
 
12644
13321
  return monsterVersion;
@@ -12648,7 +13325,7 @@ function getVersion() {
12648
13325
 
12649
13326
 
12650
13327
  /***/ }),
12651
- /* 55 */
13328
+ /* 57 */
12652
13329
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12653
13330
 
12654
13331
  __webpack_require__.r(__webpack_exports__);
@@ -12694,7 +13371,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12694
13371
  *
12695
13372
  * ```
12696
13373
  * <script type="module">
12697
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/comparator.js';
13374
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/comparator.js';
12698
13375
  * console.log(new Monster.Util.Comparator())
12699
13376
  * </script>
12700
13377
  * ```
@@ -12703,7 +13380,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12703
13380
  *
12704
13381
  * ```
12705
13382
  * <script type="module">
12706
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/comparator.js';
13383
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/comparator.js';
12707
13384
  * console.log(new Comparator())
12708
13385
  * </script>
12709
13386
  * ```
@@ -12728,7 +13405,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12728
13405
  *
12729
13406
  * @example
12730
13407
  *
12731
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/comparator.js';
13408
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/comparator.js';
12732
13409
  *
12733
13410
  * console.log(new Comparator().lessThanOrEqual(2, 5))
12734
13411
  * // ↦ true
@@ -12909,7 +13586,7 @@ var Comparator = /*#__PURE__*/function (_Base) {
12909
13586
 
12910
13587
 
12911
13588
  /***/ }),
12912
- /* 56 */
13589
+ /* 58 */
12913
13590
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12914
13591
 
12915
13592
  __webpack_require__.r(__webpack_exports__);
@@ -12941,7 +13618,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
12941
13618
  *
12942
13619
  * ```
12943
13620
  * <script type="module">
12944
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/freeze.js';
13621
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/freeze.js';
12945
13622
  * console.log(Monster.Util.deepFreeze({}))
12946
13623
  * </script>
12947
13624
  * ```
@@ -12950,7 +13627,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
12950
13627
  *
12951
13628
  * ```
12952
13629
  * <script type="module">
12953
- * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/freeze.js';
13630
+ * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.20.0/dist/modules/util/freeze.js';
12954
13631
  * console.log(deepFreeze({}))
12955
13632
  * </script>
12956
13633
  * ```
@@ -13073,25 +13750,25 @@ __webpack_require__.r(__webpack_exports__);
13073
13750
  /* harmony import */ var _dom_constants_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33);
13074
13751
  /* harmony import */ var _dom_customcontrol_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(34);
13075
13752
  /* harmony import */ var _dom_customelement_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(35);
13076
- /* harmony import */ var _dom_events_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(40);
13077
- /* harmony import */ var _dom_locale_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(41);
13078
- /* harmony import */ var _dom_template_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(36);
13079
- /* harmony import */ var _dom_theme_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(37);
13080
- /* harmony import */ var _dom_updater_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(38);
13081
- /* harmony import */ var _dom_util_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(39);
13082
- /* harmony import */ var _i18n_locale_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(42);
13083
- /* harmony import */ var _i18n_provider_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(43);
13084
- /* harmony import */ var _i18n_providers_fetch_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(46);
13085
- /* harmony import */ var _i18n_translations_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(45);
13086
- /* harmony import */ var _logging_handler_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(48);
13087
- /* harmony import */ var _logging_handler_console_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(51);
13088
- /* harmony import */ var _logging_logentry_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(49);
13089
- /* harmony import */ var _logging_logger_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(50);
13090
- /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(52);
13753
+ /* harmony import */ var _dom_events_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(42);
13754
+ /* harmony import */ var _dom_locale_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(43);
13755
+ /* harmony import */ var _dom_template_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(38);
13756
+ /* harmony import */ var _dom_theme_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(39);
13757
+ /* harmony import */ var _dom_updater_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(40);
13758
+ /* harmony import */ var _dom_util_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(41);
13759
+ /* harmony import */ var _i18n_locale_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(44);
13760
+ /* harmony import */ var _i18n_provider_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(45);
13761
+ /* harmony import */ var _i18n_providers_fetch_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(48);
13762
+ /* harmony import */ var _i18n_translations_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(47);
13763
+ /* harmony import */ var _logging_handler_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(50);
13764
+ /* harmony import */ var _logging_handler_console_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(53);
13765
+ /* harmony import */ var _logging_logentry_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(51);
13766
+ /* harmony import */ var _logging_logger_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(52);
13767
+ /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(54);
13091
13768
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(2);
13092
- /* harmony import */ var _text_formatter_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(47);
13769
+ /* harmony import */ var _text_formatter_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(49);
13093
13770
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(4);
13094
- /* harmony import */ var _types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(44);
13771
+ /* harmony import */ var _types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(46);
13095
13772
  /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(16);
13096
13773
  /* harmony import */ var _types_id_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(24);
13097
13774
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(9);
@@ -13099,16 +13776,16 @@ __webpack_require__.r(__webpack_exports__);
13099
13776
  /* harmony import */ var _types_observerlist_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(31);
13100
13777
  /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(26);
13101
13778
  /* harmony import */ var _types_queue_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(30);
13102
- /* harmony import */ var _types_randomid_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(53);
13779
+ /* harmony import */ var _types_randomid_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(55);
13103
13780
  /* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(18);
13104
13781
  /* harmony import */ var _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(28);
13105
13782
  /* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(20);
13106
13783
  /* harmony import */ var _types_uniquequeue_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(29);
13107
13784
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(14);
13108
- /* harmony import */ var _types_version_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(54);
13785
+ /* harmony import */ var _types_version_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(56);
13109
13786
  /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(15);
13110
- /* harmony import */ var _util_comparator_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(55);
13111
- /* harmony import */ var _util_freeze_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(56);
13787
+ /* harmony import */ var _util_comparator_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(57);
13788
+ /* harmony import */ var _util_freeze_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(58);
13112
13789
  /**
13113
13790
  * @license
13114
13791
  * Copyright 2021 schukai GmbH