@schukai/monster 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. package/CHANGELOG +15 -0
  2. package/README.md +3 -3
  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 +2 -2
  14. package/dist/modules/data/buildtree.js +2 -0
  15. package/dist/modules/data/datasource/namespace.js +1 -1
  16. package/dist/modules/data/datasource/restapi/writeerror.js +1 -1
  17. package/dist/modules/data/datasource/restapi.js +1 -1
  18. package/dist/modules/data/datasource/storage/localstorage.js +1 -1
  19. package/dist/modules/data/datasource/storage/namespace.js +1 -1
  20. package/dist/modules/data/datasource/storage/sessionstorage.js +1 -1
  21. package/dist/modules/data/datasource/storage.js +1 -1
  22. package/dist/modules/data/datasource.js +1 -1
  23. package/dist/modules/data/diff.js +1 -1
  24. package/dist/modules/data/extend.js +1 -1
  25. package/dist/modules/data/namespace.js +1 -1
  26. package/dist/modules/data/pathfinder.js +1 -1
  27. package/dist/modules/data/pipe.js +1 -1
  28. package/dist/modules/data/transformer.js +1 -1
  29. package/dist/modules/dom/assembler.js +1 -1
  30. package/dist/modules/dom/attributes.js +1 -1
  31. package/dist/modules/dom/constants.js +1 -1
  32. package/dist/modules/dom/customcontrol.js +1 -1
  33. package/dist/modules/dom/customelement.js +1 -1
  34. package/dist/modules/dom/events.js +1 -1
  35. package/dist/modules/dom/focusmanager.js +1 -1
  36. package/dist/modules/dom/locale.js +1 -1
  37. package/dist/modules/dom/namespace.js +1 -1
  38. package/dist/modules/dom/resource/data.js +1 -1
  39. package/dist/modules/dom/resource/link/stylesheet.js +1 -1
  40. package/dist/modules/dom/resource/link.js +1 -1
  41. package/dist/modules/dom/resource/script.js +1 -1
  42. package/dist/modules/dom/resource.js +1 -1
  43. package/dist/modules/dom/resourcemanager.js +1 -1
  44. package/dist/modules/dom/template.js +1 -1
  45. package/dist/modules/dom/theme.js +1 -1
  46. package/dist/modules/dom/updater.js +2 -2
  47. package/dist/modules/dom/util.js +1 -1
  48. package/dist/modules/dom/worker/factory.js +1 -1
  49. package/dist/modules/i18n/formatter.js +2 -0
  50. package/dist/modules/i18n/locale.js +1 -1
  51. package/dist/modules/i18n/namespace.js +1 -1
  52. package/dist/modules/i18n/provider.js +1 -1
  53. package/dist/modules/i18n/providers/fetch.js +1 -1
  54. package/dist/modules/i18n/providers/namespace.js +1 -1
  55. package/dist/modules/i18n/translations.js +1 -1
  56. package/dist/modules/logging/handler/console.js +1 -1
  57. package/dist/modules/logging/handler/namespace.js +1 -1
  58. package/dist/modules/logging/handler.js +1 -1
  59. package/dist/modules/logging/logentry.js +1 -1
  60. package/dist/modules/logging/logger.js +1 -1
  61. package/dist/modules/logging/namespace.js +1 -1
  62. package/dist/modules/math/namespace.js +1 -1
  63. package/dist/modules/math/random.js +1 -1
  64. package/dist/modules/monster.js +1 -1
  65. package/dist/modules/namespace.js +1 -1
  66. package/dist/modules/text/formatter.js +2 -2
  67. package/dist/modules/text/namespace.js +1 -1
  68. package/dist/modules/types/base.js +1 -1
  69. package/dist/modules/types/basewithoptions.js +1 -1
  70. package/dist/modules/types/binary.js +1 -1
  71. package/dist/modules/types/dataurl.js +1 -1
  72. package/dist/modules/types/global.js +1 -1
  73. package/dist/modules/types/id.js +1 -1
  74. package/dist/modules/types/is.js +2 -2
  75. package/dist/modules/types/mediatype.js +1 -1
  76. package/dist/modules/types/namespace.js +1 -1
  77. package/dist/modules/types/node.js +2 -0
  78. package/dist/modules/types/nodelist.js +2 -0
  79. package/dist/modules/types/noderecursiveiterator.js +2 -0
  80. package/dist/modules/types/observer.js +1 -1
  81. package/dist/modules/types/observerlist.js +1 -1
  82. package/dist/modules/types/proxyobserver.js +1 -1
  83. package/dist/modules/types/queue.js +1 -1
  84. package/dist/modules/types/randomid.js +1 -1
  85. package/dist/modules/types/regex.js +2 -0
  86. package/dist/modules/types/stack.js +1 -1
  87. package/dist/modules/types/tokenlist.js +1 -1
  88. package/dist/modules/types/typeof.js +1 -1
  89. package/dist/modules/types/uniquequeue.js +1 -1
  90. package/dist/modules/types/uuid.js +1 -1
  91. package/dist/modules/types/validate.js +1 -1
  92. package/dist/modules/types/version.js +2 -2
  93. package/dist/modules/util/clone.js +1 -1
  94. package/dist/modules/util/comparator.js +1 -1
  95. package/dist/modules/util/freeze.js +1 -1
  96. package/dist/modules/util/namespace.js +1 -1
  97. package/dist/modules/util/processing.js +1 -1
  98. package/dist/modules/util/trimspaces.js +1 -1
  99. package/dist/monster.dev.js +620 -361
  100. package/dist/monster.dev.js.map +1 -1
  101. package/dist/monster.js +2 -2
  102. package/package.json +13 -2
  103. package/source/constraints/abstract.js +5 -0
  104. package/source/constraints/abstractoperator.js +5 -0
  105. package/source/constraints/andoperator.js +10 -5
  106. package/source/constraints/invalid.js +8 -3
  107. package/source/constraints/isarray.js +9 -4
  108. package/source/constraints/isobject.js +8 -3
  109. package/source/constraints/oroperator.js +10 -5
  110. package/source/constraints/valid.js +8 -3
  111. package/source/data/buildmap.js +25 -9
  112. package/source/data/buildtree.js +95 -0
  113. package/source/data/datasource/restapi.js +3 -3
  114. package/source/data/datasource/storage/localstorage.js +2 -2
  115. package/source/data/datasource/storage/sessionstorage.js +2 -2
  116. package/source/data/datasource/storage.js +3 -3
  117. package/source/data/datasource.js +3 -3
  118. package/source/data/diff.js +3 -3
  119. package/source/data/extend.js +2 -2
  120. package/source/data/pathfinder.js +4 -4
  121. package/source/data/pipe.js +3 -3
  122. package/source/data/transformer.js +3 -3
  123. package/source/dom/assembler.js +2 -2
  124. package/source/dom/attributes.js +24 -24
  125. package/source/dom/customcontrol.js +1 -1
  126. package/source/dom/customelement.js +1 -1
  127. package/source/dom/events.js +4 -4
  128. package/source/dom/focusmanager.js +6 -7
  129. package/source/dom/locale.js +8 -4
  130. package/source/dom/resource/data.js +2 -2
  131. package/source/dom/resource/link/stylesheet.js +2 -2
  132. package/source/dom/resource/link.js +2 -2
  133. package/source/dom/resource/script.js +2 -2
  134. package/source/dom/resource.js +2 -2
  135. package/source/dom/resourcemanager.js +2 -2
  136. package/source/dom/template.js +5 -5
  137. package/source/dom/theme.js +3 -3
  138. package/source/dom/updater.js +5 -5
  139. package/source/dom/util.js +6 -6
  140. package/source/dom/worker/factory.js +2 -2
  141. package/source/i18n/formatter.js +140 -0
  142. package/source/i18n/locale.js +6 -4
  143. package/source/i18n/provider.js +2 -2
  144. package/source/i18n/providers/fetch.js +18 -3
  145. package/source/i18n/translations.js +18 -9
  146. package/source/logging/handler/console.js +2 -2
  147. package/source/logging/handler.js +2 -2
  148. package/source/logging/logentry.js +2 -2
  149. package/source/logging/logger.js +2 -2
  150. package/source/math/random.js +2 -2
  151. package/source/namespace.js +1 -1
  152. package/source/text/formatter.js +190 -48
  153. package/source/types/base.js +2 -2
  154. package/source/types/basewithoptions.js +2 -2
  155. package/source/types/binary.js +4 -4
  156. package/source/types/dataurl.js +4 -4
  157. package/source/types/global.js +4 -4
  158. package/source/types/id.js +6 -3
  159. package/source/types/is.js +100 -82
  160. package/source/types/mediatype.js +4 -4
  161. package/source/types/node.js +179 -0
  162. package/source/types/nodelist.js +125 -0
  163. package/source/types/noderecursiveiterator.js +126 -0
  164. package/source/types/observer.js +3 -3
  165. package/source/types/observerlist.js +2 -2
  166. package/source/types/proxyobserver.js +5 -5
  167. package/source/types/queue.js +4 -4
  168. package/source/types/randomid.js +2 -2
  169. package/source/types/regex.js +49 -0
  170. package/source/types/stack.js +2 -2
  171. package/source/types/tokenlist.js +2 -2
  172. package/source/types/typeof.js +3 -3
  173. package/source/types/uniquequeue.js +2 -2
  174. package/source/types/uuid.js +2 -2
  175. package/source/types/validate.js +20 -20
  176. package/source/types/version.js +6 -6
  177. package/source/util/clone.js +2 -2
  178. package/source/util/comparator.js +3 -3
  179. package/source/util/freeze.js +2 -2
  180. package/source/util/processing.js +3 -3
  181. package/source/util/trimspaces.js +2 -2
  182. package/test/cases/data/buildtree.js +149 -0
  183. package/test/cases/dom/attributes.js +18 -14
  184. package/test/cases/dom/resource/link/stylesheet.js +1 -1
  185. package/test/cases/i18n/formatter.js +66 -0
  186. package/test/cases/monster.js +1 -1
  187. package/test/cases/text/formatter.js +36 -5
  188. package/test/cases/types/node.js +196 -0
  189. package/test/cases/types/nodelist.js +64 -0
  190. package/test/cases/types/noderecursiveiterator.js +54 -0
  191. package/test/cases/types/regex.js +32 -0
  192. package/test/util/jsdom.js +0 -1
  193. package/test/web/import.js +6 -0
  194. package/test/web/monster-dev.html +3 -3
  195. package/test/web/monster.html +2 -2
  196. package/test/web/test.html +2 -2
  197. package/test/web/tests.js +3 -3
@@ -1,4 +1,4 @@
1
- /** Monster 1.25.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
1
+ /** Monster 1.26.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();
@@ -140,7 +140,7 @@ var Monster = new Namespace("Monster");
140
140
  *
141
141
  * ```
142
142
  * <script type="module">
143
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/namespace.js';
143
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
144
144
  * function hello() {
145
145
  * console.log('Hello World!');
146
146
  * }
@@ -288,6 +288,10 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
288
288
 
289
289
 
290
290
  /**
291
+ * Constraints are used to define conditions that must be met by the value of a variable.
292
+ *
293
+ * The uniform API of the constraints allows chains to be formed.
294
+ *
291
295
  * The abstract constraint defines the api for all constraints. mainly the method isValid() is defined.
292
296
  *
293
297
  * derived classes must implement the method isValid().
@@ -295,6 +299,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
295
299
  * @since 1.3.0
296
300
  * @copyright schukai GmbH
297
301
  * @memberOf Monster.Constraints
302
+ * @summary The abstract constraint
298
303
  */
299
304
 
300
305
  var AbstractConstraint = /*#__PURE__*/function (_Base) {
@@ -382,7 +387,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
382
387
  *
383
388
  * ```
384
389
  * <script type="module">
385
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/base.js';
390
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
386
391
  * new Monster.Types.Base()
387
392
  * </script>
388
393
  * ```
@@ -391,7 +396,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
391
396
  *
392
397
  * ```
393
398
  * <script type="module">
394
- * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/base.js';
399
+ * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/base.js';
395
400
  * new Base()
396
401
  * </script>
397
402
  * ```
@@ -469,11 +474,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
469
474
 
470
475
 
471
476
  /**
477
+ * Constraints are used to define conditions that must be met by the value of a variable.
478
+ *
479
+ * The uniform API of the constraints allows chains to be formed.
480
+ *
472
481
  * Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together.
473
482
  *
474
483
  * @since 1.3.0
475
484
  * @copyright schukai GmbH
476
485
  * @memberOf Monster.Constraints
486
+ * @summary The abstract operator constraint
477
487
  */
478
488
 
479
489
  var AbstractOperator = /*#__PURE__*/function (_AbstractConstraint) {
@@ -550,11 +560,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
550
560
 
551
561
 
552
562
  /**
563
+ * Constraints are used to define conditions that must be met by the value of a variable.
564
+ *
565
+ * The uniform API of the constraints allows chains to be formed.
566
+ *
553
567
  * The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled.
554
568
  *
555
569
  * ```
556
570
  * <script type="module">
557
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/andoperator.js';
571
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
558
572
  * new Monster.Constraint.AndOperator();
559
573
  * </script>
560
574
  * ```
@@ -563,16 +577,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
563
577
  *
564
578
  * ```
565
579
  * <script type="module">
566
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/andoperator.js';
580
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/andoperator.js';
567
581
  * new AndOperator();
568
582
  * </script>
569
583
  * ```
570
584
  *
571
585
  * @example
572
586
  *
573
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/valid.js';
574
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/invalid.js';
575
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/andoperator.js';
587
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/valid.js';
588
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/invalid.js';
589
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/andoperator.js';
576
590
  *
577
591
  * new AndOperator(
578
592
  * new Valid(), new Valid()).isValid()
@@ -589,6 +603,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
589
603
  * @since 1.3.0
590
604
  * @copyright schukai GmbH
591
605
  * @memberOf Monster.Constraints
606
+ * @summary A and operator constraint
592
607
  */
593
608
 
594
609
  var AndOperator = /*#__PURE__*/function (_AbstractOperator) {
@@ -663,13 +678,17 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
663
678
 
664
679
 
665
680
  /**
681
+ * Constraints are used to define conditions that must be met by the value of a variable.
682
+ *
683
+ * The uniform API of the constraints allows chains to be formed.
684
+ *
666
685
  * The invalid constraint allows an always invalid query to be performed. this constraint is mainly intended for testing.
667
686
  *
668
687
  * You can call the method via the monster namespace `new Monster.Constraint.Invalid()`.
669
688
  *
670
689
  * ```
671
690
  * <script type="module">
672
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/invalid.js';
691
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
673
692
  * new Monster.Constraint.Invalid();
674
693
  * </script>
675
694
  * ```
@@ -678,14 +697,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
678
697
  *
679
698
  * ```
680
699
  * <script type="module">
681
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/invalid.js';
700
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/invalid.js';
682
701
  * new Invalid();
683
702
  * </script>
684
703
  * ```
685
704
  *
686
705
  * @example
687
706
  *
688
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/invalid.js';
707
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/invalid.js';
689
708
  *
690
709
  * new Invalid().isValid()
691
710
  * .then(()=>console.log(true))
@@ -695,6 +714,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
695
714
  * @since 1.3.0
696
715
  * @copyright schukai GmbH
697
716
  * @memberOf Monster.Constraints
717
+ * @summary A constraint that always invalid
698
718
  */
699
719
 
700
720
  var Invalid = /*#__PURE__*/function (_AbstractConstraint) {
@@ -771,12 +791,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
771
791
 
772
792
 
773
793
  /**
794
+ * Constraints are used to define conditions that must be met by the value of a variable.
795
+ *
796
+ * The uniform API of the constraints allows chains to be formed.
797
+ *
774
798
  * You can call the method via the monster namespace `new Monster.Constraint.IsObject()`.
775
799
  *
776
800
  * ```
777
801
  * <script type="module">
778
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/isarray.js';
779
- * console.log(new Monster.Constraint.IsArray())
802
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
803
+ * new Monster.Constraint.IsArray()
780
804
  * </script>
781
805
  * ```
782
806
  *
@@ -784,14 +808,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
784
808
  *
785
809
  * ```
786
810
  * <script type="module">
787
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/isarray.js';
811
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/isarray.js';
788
812
  * console.log(new IsArray())
789
813
  * </script>
790
814
  * ```
791
815
  *
792
816
  * @example
793
817
  *
794
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/isarray.js';
818
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/isarray.js';
795
819
  *
796
820
  * new IsArray()
797
821
  * .isValid([])
@@ -806,6 +830,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
806
830
  * @since 1.3.0
807
831
  * @copyright schukai GmbH
808
832
  * @memberOf Monster.Constraints
833
+ * @summary A constraint to check if a value is an array
809
834
  */
810
835
 
811
836
  var IsArray = /*#__PURE__*/function (_AbstractConstraint) {
@@ -871,16 +896,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
871
896
 
872
897
 
873
898
  /**
874
- * With this function you can check if a value is iterable
899
+ * With this function you can check if a value is iterable.
900
+ *
901
+ * This method is used in the library to have consistent names.
875
902
  *
876
903
  * You can call the method via the monster namespace `Monster.Types.isPrimitive()`.
877
904
  *
878
905
  * ```
879
906
  * <script type="module">
880
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
881
- * console.log(Monster.Types.isIterable(null)) // ↦ false
882
- * console.log(Monster.Types.isIterable('hello')) // ↦ true
883
- * console.log(Monster.Types.isIterable([])) // ↦ true
907
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
908
+ * Monster.Types.isIterable(null) // ↦ false
909
+ * Monster.Types.isIterable('hello') // ↦ true
910
+ * Monster.Types.isIterable([]) // ↦ true
884
911
  * </script>
885
912
  * ```
886
913
  *
@@ -888,7 +915,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
888
915
  *
889
916
  * ```
890
917
  * <script type="module">
891
- * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
918
+ * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
892
919
  * isIterable(null) // ↦ false
893
920
  * isIterable('hello') // ↦ true
894
921
  * isIterable([]) // ↦ true
@@ -909,14 +936,16 @@ function isIterable(value) {
909
936
  }
910
937
  /**
911
938
  * Checks whether the value passed is a primitive (string, number, boolean, NaN, undefined, null or symbol)
939
+ *
940
+ * This method is used in the library to have consistent names.
912
941
  *
913
942
  * You can call the method via the monster namespace `Monster.Types.isPrimitive()`.
914
943
  *
915
944
  * ```
916
945
  * <script type="module">
917
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
918
- * console.log(Monster.Types.isPrimitive('2')) // ↦ false
919
- * console.log(Monster.Types.isPrimitive([])) // ↦ true
946
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
947
+ * Monster.Types.isPrimitive('2') // ↦ false
948
+ * Monster.Types.isPrimitive([]) // ↦ true
920
949
  * </script>
921
950
  * ```
922
951
  *
@@ -924,9 +953,9 @@ function isIterable(value) {
924
953
  *
925
954
  * ```
926
955
  * <script type="module">
927
- * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
928
- * console.log(isPrimitive('2')) // ↦ true
929
- * console.log(isPrimitive([])) // ↦ false
956
+ * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
957
+ * isPrimitive('2')) // ↦ true
958
+ * isPrimitive([])) // ↦ false
930
959
  * </script>
931
960
  * ```
932
961
  *
@@ -955,14 +984,16 @@ function isPrimitive(value) {
955
984
  }
956
985
  /**
957
986
  * Checks whether the value passed is a symbol
987
+ *
988
+ * This method is used in the library to have consistent names.
958
989
  *
959
990
  * You can call the method via the monster namespace `Monster.Types.isSymbol()`.
960
991
  *
961
992
  * ```
962
993
  * <script type="module">
963
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
964
- * console.log(Monster.Types.isSymbol('2')) // ↦ false
965
- * console.log(Monster.Types.isSymbol(Symbol('test')) // ↦ true
994
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
995
+ * Monster.Types.isSymbol('2') // ↦ false
996
+ * Monster.Types.isSymbol(Symbol('test') // ↦ true
966
997
  * </script>
967
998
  * ```
968
999
  *
@@ -970,9 +1001,9 @@ function isPrimitive(value) {
970
1001
  *
971
1002
  * ```
972
1003
  * <script type="module">
973
- * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
974
- * console.log(isSymbol(Symbol('a'))) // ↦ true
975
- * console.log(isSymbol([]) // ↦ false
1004
+ * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1005
+ * isSymbol(Symbol('a'))) // ↦ true
1006
+ * isSymbol([]) // ↦ false
976
1007
  * </script>
977
1008
  * ```
978
1009
  *
@@ -988,16 +1019,18 @@ function isSymbol(value) {
988
1019
  return 'symbol' === _typeof(value) ? true : false;
989
1020
  }
990
1021
  /**
991
- * Checks whether the value passed is a boolean
1022
+ * Checks whether the value passed is a boolean.
1023
+ *
1024
+ * This method is used in the library to have consistent names.
992
1025
  *
993
1026
  * You can call the method via the monster namespace `Monster.Types.isBoolean()`.
994
1027
  *
995
1028
  * ```
996
1029
  * <script type="module">
997
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
998
- * console.log(Monster.Types.isBoolean('2')) // ↦ false
999
- * console.log(Monster.Types.isBoolean([])) // ↦ false
1000
- * console.log(Monster.Types.isBoolean(true)) // ↦ true
1030
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1031
+ * Monster.Types.isBoolean('2') // ↦ false
1032
+ * Monster.Types.isBoolean([]) // ↦ false
1033
+ * Monster.Types.isBoolean(true) // ↦ true
1001
1034
  * </script>
1002
1035
  * ```
1003
1036
  *
@@ -1005,10 +1038,10 @@ function isSymbol(value) {
1005
1038
  *
1006
1039
  * ```
1007
1040
  * <script type="module">
1008
- * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1009
- * console.log(isBoolean('2')) // ↦ false
1010
- * console.log(isBoolean([])) // ↦ false
1011
- * console.log(isBoolean(2>4)) // ↦ true
1041
+ * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1042
+ * isBoolean('2')) // ↦ false
1043
+ * isBoolean([])) // ↦ false
1044
+ * isBoolean(2>4)) // ↦ true
1012
1045
  * </script>
1013
1046
  * ```
1014
1047
  *
@@ -1028,15 +1061,17 @@ function isBoolean(value) {
1028
1061
  return false;
1029
1062
  }
1030
1063
  /**
1031
- * checks whether the value passed is a string
1064
+ * Checks whether the value passed is a string
1065
+ *
1066
+ * This method is used in the library to have consistent names.
1032
1067
  *
1033
- * you can call the method via the monster namespace `Monster.Types.isString()`.
1068
+ * You can call the method via the monster namespace `Monster.Types.isString()`.
1034
1069
  *
1035
1070
  * ```
1036
1071
  * <script type="module">
1037
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1038
- * console.log(Monster.Types.isString('2')) // ↦ true
1039
- * console.log(Monster.Types.isString([])) // ↦ false
1072
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1073
+ * Monster.Types.isString('2') // ↦ true
1074
+ * Monster.Types.isString([]) // ↦ false
1040
1075
  * </script>
1041
1076
  * ```
1042
1077
  *
@@ -1044,9 +1079,9 @@ function isBoolean(value) {
1044
1079
  *
1045
1080
  * ```
1046
1081
  * <script type="module">
1047
- * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1048
- * console.log(isString('2')) // ↦ true
1049
- * console.log(isString([])) // ↦ false
1082
+ * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1083
+ * isString('2')) // ↦ true
1084
+ * isString([])) // ↦ false
1050
1085
  * </script>
1051
1086
  * ```
1052
1087
  *
@@ -1066,16 +1101,18 @@ function isString(value) {
1066
1101
  return true;
1067
1102
  }
1068
1103
  /**
1069
- * checks whether the value passed is a object
1104
+ * Checks whether the value passed is a object
1105
+ *
1106
+ * This method is used in the library to have consistent names.
1070
1107
  *
1071
- * you can call the method via the monster namespace `Monster.Types.isObject()`.
1108
+ * You can call the method via the monster namespace `Monster.Types.isObject()`.
1072
1109
  *
1073
1110
  * ```
1074
1111
  * <script type="module">
1075
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1076
- * console.log(Monster.Types.isObject('2')) // ↦ false
1077
- * console.log(Monster.Types.isObject([])) // ↦ false
1078
- * console.log(Monster.Types.isObject({})) // ↦ true
1112
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1113
+ * Monster.Types.isObject('2') // ↦ false
1114
+ * Monster.Types.isObject([]) // ↦ false
1115
+ * Monster.Types.isObject({}) // ↦ true
1079
1116
  * </script>
1080
1117
  * ```
1081
1118
  *
@@ -1083,9 +1120,9 @@ function isString(value) {
1083
1120
  *
1084
1121
  * ```
1085
1122
  * <script type="module">
1086
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1087
- * console.log(isObject('2')) // ↦ false
1088
- * console.log(isObject([])) // ↦ false
1123
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1124
+ * isObject('2')) // ↦ false
1125
+ * isObject([])) // ↦ false
1089
1126
  * </script>
1090
1127
  * ```
1091
1128
  *
@@ -1108,16 +1145,18 @@ function isObject(value) {
1108
1145
  return false;
1109
1146
  }
1110
1147
  /**
1111
- * checks whether the value passed is a object and instance of instance
1148
+ * Checks whether the value passed is a object and instance of instance.
1149
+ *
1150
+ * This method is used in the library to have consistent names.
1112
1151
  *
1113
1152
  * you can call the method via the monster namespace `Monster.Types.isInstance()`.
1114
1153
  *
1115
1154
  * ```
1116
1155
  * <script type="module">
1117
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1118
- * console.log(Monster.Types.isInstance('2')) // ↦ false
1119
- * console.log(Monster.Types.isInstance([])) // ↦ false
1120
- * console.log(Monster.Types.isInstance({})) // ↦ true
1156
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1157
+ * Monster.Types.isInstance('2') // ↦ false
1158
+ * Monster.Types.isInstance([]) // ↦ false
1159
+ * Monster.Types.isInstance({}) // ↦ true
1121
1160
  * </script>
1122
1161
  * ```
1123
1162
  *
@@ -1125,9 +1164,9 @@ function isObject(value) {
1125
1164
  *
1126
1165
  * ```
1127
1166
  * <script type="module">
1128
- * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1129
- * console.log(isInstance('2')) // ↦ false
1130
- * console.log(isInstance([])) // ↦ false
1167
+ * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1168
+ * isInstance('2')) // ↦ false
1169
+ * isInstance([])) // ↦ false
1131
1170
  * </script>
1132
1171
  * ```
1133
1172
  *
@@ -1147,15 +1186,17 @@ function isInstance(value, instance) {
1147
1186
  return value instanceof instance ? true : false;
1148
1187
  }
1149
1188
  /**
1150
- * checks whether the value passed is a array
1189
+ * Checks whether the value passed is a array
1190
+ *
1191
+ * This method is used in the library to have consistent names.
1151
1192
  *
1152
1193
  * you can call the method via the monster namespace `Monster.Types.isArray()`.
1153
1194
  *
1154
1195
  * ```
1155
1196
  * <script type="module">
1156
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1157
- * console.log(Monster.Types.isArray('2')) // ↦ false
1158
- * console.log(Monster.Types.isArray([])) // ↦ true
1197
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1198
+ * Monster.Types.isArray('2') // ↦ false
1199
+ * Monster.Types.isArray([]) // ↦ true
1159
1200
  * </script>
1160
1201
  * ```
1161
1202
  *
@@ -1163,9 +1204,9 @@ function isInstance(value, instance) {
1163
1204
  *
1164
1205
  * ```
1165
1206
  * <script type="module">
1166
- * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1167
- * console.log(isArray('2')) // ↦ false
1168
- * console.log(isArray([])) // ↦ true
1207
+ * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1208
+ * isArray('2')) // ↦ false
1209
+ * isArray([])) // ↦ true
1169
1210
  * </script>
1170
1211
  * ```
1171
1212
  *
@@ -1174,27 +1215,26 @@ function isInstance(value, instance) {
1174
1215
  * @since 1.0.0
1175
1216
  * @copyright schukai GmbH
1176
1217
  * @memberOf Monster.Types
1218
+ * @see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
1177
1219
  */
1178
1220
 
1179
1221
 
1180
1222
  function isArray(value) {
1181
- if (Array.isArray(value)) {
1182
- return true;
1183
- }
1184
-
1185
- return false;
1223
+ return Array.isArray(value);
1186
1224
  }
1187
1225
  /**
1188
- * checks whether the value passed is a function
1226
+ * Checks whether the value passed is a function
1227
+ *
1228
+ * This method is used in the library to have consistent names.
1189
1229
  *
1190
1230
  * you can call the method via the monster namespace `Monster.Types.isFunction()`.
1191
1231
  *
1192
1232
  * ```
1193
1233
  * <script type="module">
1194
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1195
- * console.log(Monster.Types.isFunction(()=>{})) // ↦ true
1196
- * console.log(Monster.Types.isFunction('2')) // ↦ false
1197
- * console.log(Monster.Types.isFunction([])) // ↦ false
1234
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1235
+ * Monster.Types.isFunction(()=>{}) // ↦ true
1236
+ * Monster.Types.isFunction('2') // ↦ false
1237
+ * Monster.Types.isFunction([]) // ↦ false
1198
1238
  * </script>
1199
1239
  * ```
1200
1240
  *
@@ -1202,10 +1242,10 @@ function isArray(value) {
1202
1242
  *
1203
1243
  * ```
1204
1244
  * <script type="module">
1205
- * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1206
- * console.log(isFunction(()=>{})) // ↦ true
1207
- * console.log(isFunction('2')) // ↦ false
1208
- * console.log(isFunction([])) // ↦ false
1245
+ * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1246
+ * isFunction(()=>{}) // ↦ true
1247
+ * isFunction('2')) // ↦ false
1248
+ * isFunction([])) // ↦ false
1209
1249
  * </script>
1210
1250
  * ```
1211
1251
  *
@@ -1228,16 +1268,18 @@ function isFunction(value) {
1228
1268
  return false;
1229
1269
  }
1230
1270
  /**
1231
- * checks whether the value passed is an integer
1271
+ * Checks whether the value passed is an integer.
1272
+ *
1273
+ * This method is used in the library to have consistent names.
1232
1274
  *
1233
- * you can call the method via the monster namespace `Monster.Types.isFunction()`.
1275
+ * You can call the method via the monster namespace `Monster.Types.isFunction()`.
1234
1276
  *
1235
1277
  * ```
1236
1278
  * <script type="module">
1237
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1238
- * console.log(Monster.Types.isInteger(()=>{})) // ↦ true
1239
- * console.log(Monster.Types.isInteger('2')) // ↦ false
1240
- * console.log(Monster.Types.isInteger(2)) // ↦ true
1279
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1280
+ * Monster.Types.isInteger(()=>{}) // ↦ true
1281
+ * Monster.Types.isInteger('2') // ↦ false
1282
+ * Monster.Types.isInteger(2) // ↦ true
1241
1283
  * </script>
1242
1284
  * ```
1243
1285
  *
@@ -1245,10 +1287,10 @@ function isFunction(value) {
1245
1287
  *
1246
1288
  * ```
1247
1289
  * <script type="module">
1248
- * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
1249
- * console.log(isInteger(()=>{})) // ↦ true
1250
- * console.log(isInteger('2')) // ↦ false
1251
- * console.log(isInteger(2)) // ↦ true
1290
+ * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
1291
+ * isInteger(()=>{}) // ↦ true
1292
+ * isInteger('2')) // ↦ false
1293
+ * isInteger(2)) // ↦ true
1252
1294
  * </script>
1253
1295
  * ```
1254
1296
  *
@@ -1310,11 +1352,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1310
1352
 
1311
1353
 
1312
1354
  /**
1355
+ * Constraints are used to define conditions that must be met by the value of a variable.
1356
+ *
1357
+ * The uniform API of the constraints allows chains to be formed.
1358
+ *
1313
1359
  * You can call the method via the monster namespace `new Monster.Constraint.IsObject()`.
1314
1360
  *
1315
1361
  * ```
1316
1362
  * <script type="module">
1317
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/isobject.js';
1363
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1318
1364
  * console.log(new Monster.Constraint.IsObject())
1319
1365
  * </script>
1320
1366
  * ```
@@ -1323,14 +1369,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1323
1369
  *
1324
1370
  * ```
1325
1371
  * <script type="module">
1326
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/isobject.js';
1372
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/isobject.js';
1327
1373
  * console.log(new IsObject())
1328
1374
  * </script>
1329
1375
  * ```
1330
1376
  *
1331
1377
  * @example
1332
1378
  *
1333
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/isobject.js';
1379
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/isobject.js';
1334
1380
  *
1335
1381
  * new IsObject()
1336
1382
  * .isValid({})
@@ -1346,6 +1392,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1346
1392
  * @since 1.3.0
1347
1393
  * @copyright schukai GmbH
1348
1394
  * @memberOf Monster.Constraints
1395
+ * @summary A constraint to check if a value is an object
1349
1396
  */
1350
1397
 
1351
1398
  var IsObject = /*#__PURE__*/function (_AbstractConstraint) {
@@ -1424,11 +1471,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1424
1471
 
1425
1472
 
1426
1473
  /**
1474
+ * Constraints are used to define conditions that must be met by the value of a variable.
1475
+ *
1476
+ * The uniform API of the constraints allows chains to be formed.
1477
+ *
1427
1478
  * The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled.
1428
1479
  *
1429
1480
  * ```
1430
1481
  * <script type="module">
1431
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraint/oroperator.js';
1482
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1432
1483
  * new Monster.Constraint.OrOperator();
1433
1484
  * </script>
1434
1485
  * ```
@@ -1437,16 +1488,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1437
1488
  *
1438
1489
  * ```
1439
1490
  * <script type="module">
1440
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraint/oroperator.js';
1491
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraint/oroperator.js';
1441
1492
  * new OrOperator();
1442
1493
  * </script>
1443
1494
  * ```
1444
1495
  *
1445
1496
  * @example
1446
1497
  *
1447
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/valid.js';
1448
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/invalid.js';
1449
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/oroperator.js';
1498
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/valid.js';
1499
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/invalid.js';
1500
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/oroperator.js';
1450
1501
  *
1451
1502
  * new OrOperator(
1452
1503
  * new Valid(), new Invalid()).isValid()
@@ -1463,6 +1514,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1463
1514
  * @since 1.3.0
1464
1515
  * @copyright schukai GmbH
1465
1516
  * @memberOf Monster.Constraints
1517
+ * @summary A or operator
1466
1518
  */
1467
1519
 
1468
1520
  var OrOperator = /*#__PURE__*/function (_AbstractOperator) {
@@ -1560,13 +1612,17 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1560
1612
 
1561
1613
 
1562
1614
  /**
1615
+ * Constraints are used to define conditions that must be met by the value of a variable.
1616
+ *
1617
+ * The uniform API of the constraints allows chains to be formed.
1618
+ *
1563
1619
  * The valid constraint allows an always valid query to be performed. this constraint is mainly intended for testing.
1564
1620
  *
1565
1621
  * You can call the method via the monster namespace `new Monster.Constraint.Valid()`.
1566
1622
  *
1567
1623
  * ```
1568
1624
  * <script type="module">
1569
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/valid.js';
1625
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1570
1626
  * new Monster.Constraint.Valid();
1571
1627
  * </script>
1572
1628
  * ```
@@ -1575,14 +1631,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1575
1631
  *
1576
1632
  * ```
1577
1633
  * <script type="module">
1578
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/valid.js';
1634
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/valid.js';
1579
1635
  * new Valid();
1580
1636
  * </script>
1581
1637
  * ```
1582
1638
  *
1583
1639
  * @example
1584
1640
  *
1585
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/constraints/valid.js';
1641
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/constraints/valid.js';
1586
1642
  *
1587
1643
  * new Valid().isValid()
1588
1644
  * .then(()=>console.log(true))
@@ -1592,6 +1648,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1592
1648
  * @since 1.3.0
1593
1649
  * @copyright schukai GmbH
1594
1650
  * @memberOf Monster.Constraints
1651
+ * @summary A constraint that always valid
1595
1652
  */
1596
1653
 
1597
1654
  var Valid = /*#__PURE__*/function (_AbstractConstraint) {
@@ -1632,7 +1689,8 @@ var Valid = /*#__PURE__*/function (_AbstractConstraint) {
1632
1689
  __webpack_require__.r(__webpack_exports__);
1633
1690
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1634
1691
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
1635
- /* harmony export */ "buildMap": function() { return /* binding */ buildMap; }
1692
+ /* harmony export */ "buildMap": function() { return /* binding */ buildMap; },
1693
+ /* harmony export */ "assembleParts": function() { return /* binding */ assembleParts; }
1636
1694
  /* harmony export */ });
1637
1695
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1638
1696
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
@@ -1689,7 +1747,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1689
1747
  *
1690
1748
  * ```
1691
1749
  * <script type="module">
1692
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/buildmap.js';
1750
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
1693
1751
  * console.log(Monster.Data.buildMap())
1694
1752
  * </script>
1695
1753
  * ```
@@ -1698,7 +1756,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1698
1756
  *
1699
1757
  * ```
1700
1758
  * <script type="module">
1701
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/buildmap.js';
1759
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/buildmap.js';
1702
1760
  * console.log(buildMap())
1703
1761
  * </script>
1704
1762
  * ```
@@ -1709,7 +1767,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1709
1767
  *
1710
1768
  * @example
1711
1769
  *
1712
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/buildmap.js';
1770
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/buildmap.js';
1713
1771
  * // a typical data structure as reported by an api
1714
1772
  *
1715
1773
  * let map;
@@ -1789,6 +1847,23 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1789
1847
  */
1790
1848
 
1791
1849
  function buildMap(subject, selector, valueTemplate, keyTemplate, filter) {
1850
+ return assembleParts(subject, selector, filter, function (v, k, m) {
1851
+ k = build(v, keyTemplate, k);
1852
+ v = build(v, valueTemplate);
1853
+ this.set(k, v);
1854
+ });
1855
+ }
1856
+ /**
1857
+ * @private
1858
+ * @param {*} subject
1859
+ * @param {string|Monster.Data~exampleSelectorCallback} selector
1860
+ * @param {Monster.Data~exampleFilterCallback} [filter]
1861
+ * @param {function} callback
1862
+ * @return {*}
1863
+ */
1864
+
1865
+
1866
+ function assembleParts(subject, selector, filter, callback) {
1792
1867
  var result = new Map();
1793
1868
  var map;
1794
1869
 
@@ -1814,9 +1889,7 @@ function buildMap(subject, selector, valueTemplate, keyTemplate, filter) {
1814
1889
  if (filter.call(m, v, k) !== true) return;
1815
1890
  }
1816
1891
 
1817
- k = build(v, keyTemplate, k);
1818
- v = build(v, valueTemplate);
1819
- result.set(k, v);
1892
+ callback.call(result, v, k, m);
1820
1893
  });
1821
1894
  return result;
1822
1895
  }
@@ -1924,7 +1997,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
1924
1997
  * Alternatively to a string selector a callback can be specified. this must return a map.
1925
1998
  *
1926
1999
  * @example
1927
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/buildmap.js';
2000
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/buildmap.js';
1928
2001
  *
1929
2002
  * let obj = {
1930
2003
  * "data": [
@@ -2127,7 +2200,7 @@ __webpack_require__.r(__webpack_exports__);
2127
2200
  *
2128
2201
  * ```
2129
2202
  * <script type="module">
2130
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2203
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2131
2204
  * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
2132
2205
  * console.log(Monster.Types.validateIterable([])) // ↦ value
2133
2206
  * </script>
@@ -2137,7 +2210,7 @@ __webpack_require__.r(__webpack_exports__);
2137
2210
  *
2138
2211
  * ```
2139
2212
  * <script type="module">
2140
- * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2213
+ * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2141
2214
  * console.log(validateIterable('2')) // ↦ TypeError
2142
2215
  * console.log(validateIterable([])) // ↦ value
2143
2216
  * </script>
@@ -2168,7 +2241,7 @@ function validateIterable(value) {
2168
2241
  *
2169
2242
  * ```
2170
2243
  * <script type="module">
2171
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2244
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2172
2245
  * console.log(Monster.Types.validatePrimitive('2')) // ↦ value
2173
2246
  * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
2174
2247
  * </script>
@@ -2178,7 +2251,7 @@ function validateIterable(value) {
2178
2251
  *
2179
2252
  * ```
2180
2253
  * <script type="module">
2181
- * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2254
+ * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2182
2255
  * console.log(validatePrimitive('2')) // ↦ value
2183
2256
  * console.log(validatePrimitive([])) // ↦ TypeError
2184
2257
  * </script>
@@ -2210,7 +2283,7 @@ function validatePrimitive(value) {
2210
2283
  *
2211
2284
  * ```
2212
2285
  * <script type="module">
2213
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2286
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2214
2287
  * console.log(Monster.Types.validateBoolean(true)) // ↦ value
2215
2288
  * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
2216
2289
  * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
@@ -2221,7 +2294,7 @@ function validatePrimitive(value) {
2221
2294
  *
2222
2295
  * ```
2223
2296
  * <script type="module">
2224
- * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2297
+ * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2225
2298
  * console.log(validateBoolean(false)) // ↦ value
2226
2299
  * console.log(validateBoolean('2')) // ↦ TypeError
2227
2300
  * console.log(validateBoolean([])) // ↦ TypeError
@@ -2252,7 +2325,7 @@ function validateBoolean(value) {
2252
2325
  *
2253
2326
  * ```
2254
2327
  * <script type="module">
2255
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2328
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2256
2329
  * console.log(Monster.Types.validateString('2')) // ↦ value
2257
2330
  * console.log(Monster.Types.validateString([])) // ↦ TypeError
2258
2331
  * </script>
@@ -2262,7 +2335,7 @@ function validateBoolean(value) {
2262
2335
  *
2263
2336
  * ```
2264
2337
  * <script type="module">
2265
- * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2338
+ * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2266
2339
  * console.log(validateString('2')) // ↦ value
2267
2340
  * console.log(validateString([])) // ↦ TypeError
2268
2341
  * </script>
@@ -2291,7 +2364,7 @@ function validateString(value) {
2291
2364
  *
2292
2365
  * ```
2293
2366
  * <script type="module">
2294
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2367
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2295
2368
  * console.log(Monster.Types.validateObject({})) // ↦ value
2296
2369
  * console.log(Monster.Types.validateObject('2')) // ↦ TypeError
2297
2370
  * console.log(Monster.Types.validateObject([])) // ↦ TypeError
@@ -2302,7 +2375,7 @@ function validateString(value) {
2302
2375
  *
2303
2376
  * ```
2304
2377
  * <script type="module">
2305
- * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2378
+ * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2306
2379
  * console.log(validateObject({})) // ↦ value
2307
2380
  * console.log(validateObject('2')) // ↦ TypeError
2308
2381
  * console.log(validateObject([])) // ↦ TypeError
@@ -2332,7 +2405,7 @@ function validateObject(value) {
2332
2405
  *
2333
2406
  * ```
2334
2407
  * <script type="module">
2335
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2408
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2336
2409
  * console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
2337
2410
  * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
2338
2411
  * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
@@ -2343,7 +2416,7 @@ function validateObject(value) {
2343
2416
  *
2344
2417
  * ```
2345
2418
  * <script type="module">
2346
- * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2419
+ * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2347
2420
  * console.log(validateInstance({}, Object)) // ↦ value
2348
2421
  * console.log(validateInstance('2', Object)) // ↦ TypeError
2349
2422
  * console.log(validateInstance([], Object)) // ↦ TypeError
@@ -2383,7 +2456,7 @@ function validateInstance(value, instance) {
2383
2456
  *
2384
2457
  * ```
2385
2458
  * <script type="module">
2386
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2459
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2387
2460
  * console.log(Monster.Types.validateArray('2')) // ↦ TypeError
2388
2461
  * console.log(Monster.Types.validateArray([])) // ↦ value
2389
2462
  * </script>
@@ -2393,7 +2466,7 @@ function validateInstance(value, instance) {
2393
2466
  *
2394
2467
  * ```
2395
2468
  * <script type="module">
2396
- * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2469
+ * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2397
2470
  * console.log(validateArray('2')) // ↦ TypeError
2398
2471
  * console.log(validateArray([])) // ↦ value
2399
2472
  * </script>
@@ -2422,7 +2495,7 @@ function validateArray(value) {
2422
2495
  *
2423
2496
  * ```
2424
2497
  * <script type="module">
2425
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2498
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2426
2499
  * console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
2427
2500
  * console.log(Monster.Types.validateSymbol([])) // ↦ value
2428
2501
  * </script>
@@ -2432,7 +2505,7 @@ function validateArray(value) {
2432
2505
  *
2433
2506
  * ```
2434
2507
  * <script type="module">
2435
- * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2508
+ * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2436
2509
  * console.log(validateSymbol('2')) // ↦ TypeError
2437
2510
  * console.log(validateSymbol()) // ↦ value
2438
2511
  * </script>
@@ -2461,7 +2534,7 @@ function validateSymbol(value) {
2461
2534
  *
2462
2535
  * ```
2463
2536
  * <script type="module">
2464
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2537
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2465
2538
  * console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
2466
2539
  * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
2467
2540
  * console.log(Monster.Types.validateFunction([])) // ↦ TypeError
@@ -2472,7 +2545,7 @@ function validateSymbol(value) {
2472
2545
  *
2473
2546
  * ```
2474
2547
  * <script type="module">
2475
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2548
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2476
2549
  * console.log(validateFunction(()=>{})) // ↦ value
2477
2550
  * console.log(validateFunction('2')) // ↦ TypeError
2478
2551
  * console.log(validateFunction([])) // ↦ TypeError
@@ -2502,7 +2575,7 @@ function validateFunction(value) {
2502
2575
  *
2503
2576
  * ```
2504
2577
  * <script type="module">
2505
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2578
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2506
2579
  * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
2507
2580
  * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
2508
2581
  * console.log(Monster.Types.validateInteger(2)) // ↦ value
@@ -2513,7 +2586,7 @@ function validateFunction(value) {
2513
2586
  *
2514
2587
  * ```
2515
2588
  * <script type="module">
2516
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/validate.js';
2589
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/validate.js';
2517
2590
  * console.log(validateInteger(true)) // ↦ TypeError
2518
2591
  * console.log(validateInteger('2')) // ↦ TypeError
2519
2592
  * console.log(validateInteger(2)) // ↦ value
@@ -2579,7 +2652,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2579
2652
  *
2580
2653
  * ```
2581
2654
  * <script type="module">
2582
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/clone.js';
2655
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2583
2656
  * Monster.Util.clone({})
2584
2657
  * </script>
2585
2658
  * ```
@@ -2588,7 +2661,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2588
2661
  *
2589
2662
  * ```
2590
2663
  * <script type="module">
2591
- * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/clone.js';
2664
+ * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/util/clone.js';
2592
2665
  * clone({})
2593
2666
  * </script>
2594
2667
  * ```
@@ -2800,7 +2873,7 @@ function getGlobal() {
2800
2873
  *
2801
2874
  * ```
2802
2875
  * <script type="module">
2803
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/global.js';
2876
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2804
2877
  * Monster.Types.getGlobalObject('document')
2805
2878
  * // ↦ { }
2806
2879
  * </script>
@@ -2810,7 +2883,7 @@ function getGlobal() {
2810
2883
  *
2811
2884
  * ```
2812
2885
  * <script type="module">
2813
- * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/global.js';
2886
+ * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/global.js';
2814
2887
  * getGlobalObject('document')
2815
2888
  * // ↦ { }
2816
2889
  * </script>
@@ -2842,7 +2915,7 @@ function getGlobalObject(name) {
2842
2915
  *
2843
2916
  * ```
2844
2917
  * <script type="module">
2845
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/global.js';
2918
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2846
2919
  * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2847
2920
  * </script>
2848
2921
  * ```
@@ -2851,7 +2924,7 @@ function getGlobalObject(name) {
2851
2924
  *
2852
2925
  * ```
2853
2926
  * <script type="module">
2854
- * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/global.js';
2927
+ * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/global.js';
2855
2928
  * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2856
2929
  * </script>
2857
2930
  * ```
@@ -2902,7 +2975,7 @@ __webpack_require__.r(__webpack_exports__);
2902
2975
  *
2903
2976
  * ```
2904
2977
  * <script type="module">
2905
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/typeof.js';
2978
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
2906
2979
  * console.log(Monster.Types.typeOf())
2907
2980
  * </script>
2908
2981
  * ```
@@ -2911,14 +2984,14 @@ __webpack_require__.r(__webpack_exports__);
2911
2984
  *
2912
2985
  * ```
2913
2986
  * <script type="module">
2914
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/typeof.js';
2987
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/typeof.js';
2915
2988
  * console.log(typeOf())
2916
2989
  * </script>
2917
2990
  * ```
2918
2991
  *
2919
2992
  * @example
2920
2993
  *
2921
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/typeof.js';
2994
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/typeof.js';
2922
2995
  *
2923
2996
  * console.log(typeOf(undefined)); // ↦ undefined
2924
2997
  * console.log(typeOf("")); // ↦ string
@@ -3037,7 +3110,7 @@ var WILDCARD = '*';
3037
3110
  *
3038
3111
  * ```
3039
3112
  * <script type="module">
3040
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pathfinder.js';
3113
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
3041
3114
  * console.log(new Monster.Data.Pathfinder())
3042
3115
  * </script>
3043
3116
  * ```
@@ -3046,7 +3119,7 @@ var WILDCARD = '*';
3046
3119
  *
3047
3120
  * ```
3048
3121
  * <script type="module">
3049
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pathfinder.js';
3122
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/pathfinder.js';
3050
3123
  * console.log(new Pathfinder())
3051
3124
  * </script>
3052
3125
  * ```
@@ -3088,7 +3161,7 @@ var WILDCARD = '*';
3088
3161
  *
3089
3162
  * @example
3090
3163
  *
3091
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pathfinder.js';
3164
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/pathfinder.js';
3092
3165
  *
3093
3166
  * let value = new Pathfinder({
3094
3167
  * a: {
@@ -3114,7 +3187,7 @@ var WILDCARD = '*';
3114
3187
  *
3115
3188
  * @example
3116
3189
  *
3117
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pathfinder.js';
3190
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/pathfinder.js';
3118
3191
  *
3119
3192
  * let p = new Pathfinder({
3120
3193
  * a: {
@@ -3529,7 +3602,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3529
3602
  *
3530
3603
  * ```
3531
3604
  * <script type="module">
3532
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/stack.js';
3605
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
3533
3606
  * console.log(new Monster.Types.Stack())
3534
3607
  * </script>
3535
3608
  * ```
@@ -3538,7 +3611,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3538
3611
  *
3539
3612
  * ```
3540
3613
  * <script type="module">
3541
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/stack.js';
3614
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/stack.js';
3542
3615
  * console.log(new Stack())
3543
3616
  * </script>
3544
3617
  * ```
@@ -3673,7 +3746,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3673
3746
  *
3674
3747
  * ```
3675
3748
  * <script type="module">
3676
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/diff.js';
3749
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
3677
3750
  * Monster.Data.Diff(a, b)
3678
3751
  * </script>
3679
3752
  * ```
@@ -3682,14 +3755,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3682
3755
  *
3683
3756
  * ```
3684
3757
  * <script type="module">
3685
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/diff.js';
3758
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/diff.js';
3686
3759
  * Diff(a, b)
3687
3760
  * </script>
3688
3761
  * ```
3689
3762
  *
3690
3763
  * @example
3691
3764
  *
3692
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/diff.js';
3765
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/diff.js';
3693
3766
  *
3694
3767
  * // given are two objects x and y.
3695
3768
  *
@@ -3935,7 +4008,7 @@ __webpack_require__.r(__webpack_exports__);
3935
4008
  *
3936
4009
  * ```
3937
4010
  * <script type="module">
3938
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/extend.js';
4011
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
3939
4012
  * Monster.Data.extend(a, b)
3940
4013
  * </script>
3941
4014
  * ```
@@ -3944,7 +4017,7 @@ __webpack_require__.r(__webpack_exports__);
3944
4017
  *
3945
4018
  * ```
3946
4019
  * <script type="module">
3947
- * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/extend.js';
4020
+ * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/extend.js';
3948
4021
  * extend(a, b)
3949
4022
  * </script>
3950
4023
  * ```
@@ -4073,7 +4146,7 @@ var DELIMITER = '|';
4073
4146
  *
4074
4147
  * ```
4075
4148
  * <script type="module">
4076
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pipe.js';
4149
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
4077
4150
  * new Monster.Data.Pipe()
4078
4151
  * </script>
4079
4152
  * ```
@@ -4082,7 +4155,7 @@ var DELIMITER = '|';
4082
4155
  *
4083
4156
  * ```
4084
4157
  * <script type="module">
4085
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pipe.js';
4158
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/pipe.js';
4086
4159
  * new Pipe()
4087
4160
  * </script>
4088
4161
  * ```
@@ -4093,7 +4166,7 @@ var DELIMITER = '|';
4093
4166
  * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
4094
4167
  *
4095
4168
  * @example
4096
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/pipe.js';
4169
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/pipe.js';
4097
4170
  *
4098
4171
  * let obj = {
4099
4172
  * a: {
@@ -4255,7 +4328,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4255
4328
  *
4256
4329
  * ```
4257
4330
  * <script type="module">
4258
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/transformer.js';
4331
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
4259
4332
  * new Monster.Data.Transformer()
4260
4333
  * </script>
4261
4334
  * ```
@@ -4264,7 +4337,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4264
4337
  *
4265
4338
  * ```
4266
4339
  * <script type="module">
4267
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/transformer.js';
4340
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/transformer.js';
4268
4341
  * new Transformer()
4269
4342
  * </script>
4270
4343
  * ```
@@ -4350,7 +4423,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4350
4423
  *
4351
4424
  * @example
4352
4425
  *
4353
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/data/transformer.js';
4426
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/data/transformer.js';
4354
4427
  *
4355
4428
  * const transformer = new Transformer("tolower")
4356
4429
  *
@@ -4883,7 +4956,7 @@ var internalCounter = new Map();
4883
4956
  *
4884
4957
  * ```
4885
4958
  * <script type="module">
4886
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/id.js';
4959
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
4887
4960
  * console.log(new Monster.Types.ID())
4888
4961
  * </script>
4889
4962
  * ```
@@ -4892,7 +4965,7 @@ var internalCounter = new Map();
4892
4965
  *
4893
4966
  * ```
4894
4967
  * <script type="module">
4895
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/id.js';
4968
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/id.js';
4896
4969
  * console.log(new ID())
4897
4970
  * </script>
4898
4971
  * ```
@@ -4902,6 +4975,7 @@ var internalCounter = new Map();
4902
4975
  * @since 1.0.0
4903
4976
  * @copyright schukai GmbH
4904
4977
  * @memberOf Monster.Types
4978
+ * @summary Automatic generation of ids
4905
4979
  */
4906
4980
 
4907
4981
  var ID = /*#__PURE__*/function (_Base) {
@@ -4910,7 +4984,9 @@ var ID = /*#__PURE__*/function (_Base) {
4910
4984
  var _super = _createSuper(ID);
4911
4985
 
4912
4986
  /**
4913
- * create new object
4987
+ * create new id with prefix
4988
+ *
4989
+ * @param {string} prefix
4914
4990
  */
4915
4991
  function ID(prefix) {
4916
4992
  var _this;
@@ -5012,7 +5088,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
5012
5088
  *
5013
5089
  * ```
5014
5090
  * <script type="module">
5015
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/assembler.js';
5091
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
5016
5092
  * console.log(new Monster.DOM.Assembler())
5017
5093
  * </script>
5018
5094
  * ```
@@ -5021,7 +5097,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
5021
5097
  *
5022
5098
  * ```
5023
5099
  * <script type="module">
5024
- * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/assembler.js';
5100
+ * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/assembler.js';
5025
5101
  * console.log(new Assembler())
5026
5102
  * </script>
5027
5103
  * ```
@@ -5162,7 +5238,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5162
5238
  *
5163
5239
  * ```
5164
5240
  * <script type="module">
5165
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/proxyobserver.js';
5241
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
5166
5242
  * new Monster.Types.ProxyObserver()
5167
5243
  * </script>
5168
5244
  * ```
@@ -5171,7 +5247,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5171
5247
  *
5172
5248
  * ```
5173
5249
  * <script type="module">
5174
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/proxyobserver.js';
5250
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/proxyobserver.js';
5175
5251
  * new ProxyObserver()
5176
5252
  * </script>
5177
5253
  * ```
@@ -5182,9 +5258,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5182
5258
  *
5183
5259
  * @example
5184
5260
  *
5185
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/proxyobserver.js';
5186
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/observer.js';
5187
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/is.js';
5261
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/proxyobserver.js';
5262
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/observer.js';
5263
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/is.js';
5188
5264
  *
5189
5265
  * const o = new Observer(function () {
5190
5266
  * if (isObject(this) && this instanceof ProxyObserver) {
@@ -5510,7 +5586,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5510
5586
  *
5511
5587
  * ```
5512
5588
  * <script type="module">
5513
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/observer.js';
5589
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
5514
5590
  * console.log(new Monster.Types.Observer())
5515
5591
  * </script>
5516
5592
  * ```
@@ -5519,7 +5595,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5519
5595
  *
5520
5596
  * ```
5521
5597
  * <script type="module">
5522
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/observer.js';
5598
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/observer.js';
5523
5599
  * console.log(new Observer())
5524
5600
  * </script>
5525
5601
  * ```
@@ -5553,7 +5629,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5553
5629
  *
5554
5630
  * @example
5555
5631
  *
5556
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/observer.js';
5632
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/observer.js';
5557
5633
  *
5558
5634
  * const observer = new Observer(function(a, b, c) {
5559
5635
  * console.log(this, a, b, c); // ↦ "a", 2, true
@@ -5753,7 +5829,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5753
5829
  *
5754
5830
  * ```
5755
5831
  * <script type="module">
5756
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/tokenlist.js';
5832
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
5757
5833
  * new Monster.Types.TokenList("myclass row")
5758
5834
  * </script>
5759
5835
  * ```
@@ -5762,7 +5838,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5762
5838
  *
5763
5839
  * ```
5764
5840
  * <script type="module">
5765
- * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/tokenlist.js';
5841
+ * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/tokenlist.js';
5766
5842
  * new TokenList("myclass row")
5767
5843
  * </script>
5768
5844
  * ```
@@ -6185,7 +6261,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6185
6261
  *
6186
6262
  * ```
6187
6263
  * <script type="module">
6188
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/uniquequeue.js';
6264
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6189
6265
  * new Monster.Types.UniqueQueue()
6190
6266
  * </script>
6191
6267
  * ```
@@ -6194,7 +6270,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6194
6270
  *
6195
6271
  * ```
6196
6272
  * <script type="module">
6197
- * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/uniquequeue.js';
6273
+ * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/uniquequeue.js';
6198
6274
  * new UniqueQueue()
6199
6275
  * </script>
6200
6276
  * ```
@@ -6325,11 +6401,11 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6325
6401
 
6326
6402
 
6327
6403
  /**
6328
- * You can call the method via the monster namespace `new Monster.Types.Queue()`.
6404
+ * You can create the instance via the monster namespace `new Monster.Types.Queue()`.
6329
6405
  *
6330
6406
  * ```
6331
6407
  * <script type="module">
6332
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/queue.js';
6408
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6333
6409
  * new Monster.Types.Queue()
6334
6410
  * </script>
6335
6411
  * ```
@@ -6338,14 +6414,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6338
6414
  *
6339
6415
  * ```
6340
6416
  * <script type="module">
6341
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/queue.js';
6417
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/queue.js';
6342
6418
  * new Queue()
6343
6419
  * </script>
6344
6420
  * ```
6345
6421
  *
6346
6422
  * @example
6347
6423
  *
6348
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/queue.js';
6424
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/queue.js';
6349
6425
  *
6350
6426
  * const queue = new Queue;
6351
6427
  *
@@ -6514,7 +6590,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6514
6590
  *
6515
6591
  * ```
6516
6592
  * <script type="module">
6517
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/observerlist.js';
6593
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6518
6594
  * console.log(new Monster.Types.ObserverList())
6519
6595
  * console.log(new Monster.Types.ObserverList())
6520
6596
  * </script>
@@ -6524,7 +6600,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6524
6600
  *
6525
6601
  * ```
6526
6602
  * <script type="module">
6527
- * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/observerlist.js';
6603
+ * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/observerlist.js';
6528
6604
  * console.log(ObserverList())
6529
6605
  * console.log(ObserverList())
6530
6606
  * </script>
@@ -6683,7 +6759,7 @@ __webpack_require__.r(__webpack_exports__);
6683
6759
  *
6684
6760
  * ```
6685
6761
  * <script type="module">
6686
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/updater.js';
6762
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6687
6763
  * console.log(Monster.DOM.findClosestObjectLink())
6688
6764
  * </script>
6689
6765
  * ```
@@ -6692,7 +6768,7 @@ __webpack_require__.r(__webpack_exports__);
6692
6768
  *
6693
6769
  * ```
6694
6770
  * <script type="module">
6695
- * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/updater.js';
6771
+ * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/updater.js';
6696
6772
  * console.log(findClosestObjectLink())
6697
6773
  * </script>
6698
6774
  * ```
@@ -6713,7 +6789,7 @@ function findClosestObjectLink(element) {
6713
6789
  *
6714
6790
  * ```
6715
6791
  * <script type="module">
6716
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6792
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6717
6793
  * Monster.DOM.addToObjectLink();
6718
6794
  * </script>
6719
6795
  * ```
@@ -6722,7 +6798,7 @@ function findClosestObjectLink(element) {
6722
6798
  *
6723
6799
  * ```
6724
6800
  * <script type="module">
6725
- * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6801
+ * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6726
6802
  * addToObjectLink();
6727
6803
  * </script>
6728
6804
  * ```
@@ -6754,7 +6830,7 @@ function addToObjectLink(element, symbol, object) {
6754
6830
  *
6755
6831
  * ```
6756
6832
  * <script type="module">
6757
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6833
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6758
6834
  * Monster.DOM.removeObjectLink();
6759
6835
  * </script>
6760
6836
  * ```
@@ -6763,7 +6839,7 @@ function addToObjectLink(element, symbol, object) {
6763
6839
  *
6764
6840
  * ```
6765
6841
  * <script type="module">
6766
- * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6842
+ * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6767
6843
  * removeObjectLink();
6768
6844
  * </script>
6769
6845
  * ```
@@ -6794,7 +6870,7 @@ function removeObjectLink(element, symbol) {
6794
6870
  *
6795
6871
  * ```
6796
6872
  * <script type="module">
6797
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6873
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6798
6874
  * Monster.DOM.hasObjectLink();
6799
6875
  * </script>
6800
6876
  * ```
@@ -6803,7 +6879,7 @@ function removeObjectLink(element, symbol) {
6803
6879
  *
6804
6880
  * ```
6805
6881
  * <script type="module">
6806
- * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6882
+ * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6807
6883
  * hasObjectLink();
6808
6884
  * </script>
6809
6885
  * ```
@@ -6839,7 +6915,7 @@ function hasObjectLink(element, symbol) {
6839
6915
  *
6840
6916
  * ```
6841
6917
  * <script type="module">
6842
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6918
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6843
6919
  * Monster.DOM.getLinkedObjects();
6844
6920
  * </script>
6845
6921
  * ```
@@ -6848,7 +6924,7 @@ function hasObjectLink(element, symbol) {
6848
6924
  *
6849
6925
  * ```
6850
6926
  * <script type="module">
6851
- * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6927
+ * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6852
6928
  * getLinkedObjects();
6853
6929
  * </script>
6854
6930
  * ```
@@ -6882,7 +6958,7 @@ function getLinkedObjects(element, symbol) {
6882
6958
  *
6883
6959
  * ```
6884
6960
  * <script type="module">
6885
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6961
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6886
6962
  * Monster.DOM.toggleAttributeToken();
6887
6963
  * </script>
6888
6964
  * ```
@@ -6891,7 +6967,7 @@ function getLinkedObjects(element, symbol) {
6891
6967
  *
6892
6968
  * ```
6893
6969
  * <script type="module">
6894
- * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
6970
+ * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6895
6971
  * toggleAttributeToken();
6896
6972
  * </script>
6897
6973
  * ```
@@ -6926,7 +7002,7 @@ function toggleAttributeToken(element, key, token) {
6926
7002
  *
6927
7003
  * ```
6928
7004
  * <script type="module">
6929
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7005
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6930
7006
  * Monster.DOM.addAttributeToken();
6931
7007
  * </script>
6932
7008
  * ```
@@ -6935,7 +7011,7 @@ function toggleAttributeToken(element, key, token) {
6935
7011
  *
6936
7012
  * ```
6937
7013
  * <script type="module">
6938
- * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7014
+ * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6939
7015
  * addAttributeToken();
6940
7016
  * </script>
6941
7017
  * ```
@@ -6972,7 +7048,7 @@ function addAttributeToken(element, key, token) {
6972
7048
  *
6973
7049
  * ```
6974
7050
  * <script type="module">
6975
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7051
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
6976
7052
  * Monster.DOM.removeAttributeToken();
6977
7053
  * </script>
6978
7054
  * ```
@@ -6981,7 +7057,7 @@ function addAttributeToken(element, key, token) {
6981
7057
  *
6982
7058
  * ```
6983
7059
  * <script type="module">
6984
- * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7060
+ * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
6985
7061
  * removeAttributeToken();
6986
7062
  * </script>
6987
7063
  * ```
@@ -7017,7 +7093,7 @@ function removeAttributeToken(element, key, token) {
7017
7093
  *
7018
7094
  * ```
7019
7095
  * <script type="module">
7020
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7096
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
7021
7097
  * Monster.DOM.containsAttributeToken();
7022
7098
  * </script>
7023
7099
  * ```
@@ -7026,7 +7102,7 @@ function removeAttributeToken(element, key, token) {
7026
7102
  *
7027
7103
  * ```
7028
7104
  * <script type="module">
7029
- * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7105
+ * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
7030
7106
  * containsAttributeToken();
7031
7107
  * </script>
7032
7108
  * ```
@@ -7059,7 +7135,7 @@ function containsAttributeToken(element, key, token) {
7059
7135
  *
7060
7136
  * ```
7061
7137
  * <script type="module">
7062
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7138
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
7063
7139
  * Monster.DOM.replaceAttributeToken();
7064
7140
  * </script>
7065
7141
  * ```
@@ -7068,7 +7144,7 @@ function containsAttributeToken(element, key, token) {
7068
7144
  *
7069
7145
  * ```
7070
7146
  * <script type="module">
7071
- * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7147
+ * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
7072
7148
  * replaceAttributeToken();
7073
7149
  * </script>
7074
7150
  * ```
@@ -7104,7 +7180,7 @@ function replaceAttributeToken(element, key, from, to) {
7104
7180
  *
7105
7181
  * ```
7106
7182
  * <script type="module">
7107
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7183
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
7108
7184
  * Monster.DOM.clearAttributeTokens();
7109
7185
  * </script>
7110
7186
  * ```
@@ -7113,7 +7189,7 @@ function replaceAttributeToken(element, key, from, to) {
7113
7189
  *
7114
7190
  * ```
7115
7191
  * <script type="module">
7116
- * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7192
+ * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
7117
7193
  * clearAttributeTokens();
7118
7194
  * </script>
7119
7195
  * ```
@@ -7143,7 +7219,7 @@ function clearAttributeTokens(element, key) {
7143
7219
  *
7144
7220
  * ```
7145
7221
  * <script type="module">
7146
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7222
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
7147
7223
  * Monster.DOM.findClosestByAttribute();
7148
7224
  * </script>
7149
7225
  * ```
@@ -7152,7 +7228,7 @@ function clearAttributeTokens(element, key) {
7152
7228
  *
7153
7229
  * ```
7154
7230
  * <script type="module">
7155
- * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/attributes.js';
7231
+ * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/attributes.js';
7156
7232
  * findClosestByAttribute();
7157
7233
  * </script>
7158
7234
  * ```
@@ -7670,7 +7746,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
7670
7746
  *
7671
7747
  * ```
7672
7748
  * <script type="module">
7673
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/customcontrol.js';
7749
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
7674
7750
  * document.createElement('monster-')
7675
7751
  * </script>
7676
7752
  * ```
@@ -8205,7 +8281,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
8205
8281
  *
8206
8282
  * ```
8207
8283
  * <script type="module">
8208
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/customelement.js';
8284
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
8209
8285
  * document.createElement('monster-')
8210
8286
  * </script>
8211
8287
  * ```
@@ -9071,7 +9147,7 @@ var internal = Symbol('internal');
9071
9147
  *
9072
9148
  * ```
9073
9149
  * <script type="module">
9074
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/dataurl.js';
9150
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9075
9151
  * new Monster.Types.DataUrl()
9076
9152
  * </script>
9077
9153
  * ```
@@ -9080,7 +9156,7 @@ var internal = Symbol('internal');
9080
9156
  *
9081
9157
  * ```
9082
9158
  * <script type="module">
9083
- * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/dataurl.js';
9159
+ * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/dataurl.js';
9084
9160
  * new DataUrl()
9085
9161
  * </script>
9086
9162
  * ```
@@ -9160,7 +9236,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
9160
9236
  *
9161
9237
  * ```
9162
9238
  * <script type="module">
9163
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/dataurl.js';
9239
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9164
9240
  * console.log(Monster.Types.parseDataURL())
9165
9241
  * </script>
9166
9242
  * ```
@@ -9169,7 +9245,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
9169
9245
  *
9170
9246
  * ```
9171
9247
  * <script type="module">
9172
- * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/dataurl.js';
9248
+ * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/dataurl.js';
9173
9249
  * console.log(parseDataURL())
9174
9250
  * </script>
9175
9251
  * ```
@@ -9307,7 +9383,7 @@ var internal = Symbol('internal');
9307
9383
  *
9308
9384
  * ```
9309
9385
  * <script type="module">
9310
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/mediatype.js';
9386
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9311
9387
  * console.log(new Monster.Types.MediaType())
9312
9388
  * </script>
9313
9389
  * ```
@@ -9316,7 +9392,7 @@ var internal = Symbol('internal');
9316
9392
  *
9317
9393
  * ```
9318
9394
  * <script type="module">
9319
- * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/mediatype.js';
9395
+ * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/mediatype.js';
9320
9396
  * console.log(new MediaType())
9321
9397
  * </script>
9322
9398
  * ```
@@ -9434,7 +9510,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
9434
9510
  *
9435
9511
  * ```
9436
9512
  * <script type="module">
9437
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/dataurl.js';
9513
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9438
9514
  * console.log(Monster.Types.parseMediaType())
9439
9515
  * </script>
9440
9516
  * ```
@@ -9443,7 +9519,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
9443
9519
  *
9444
9520
  * ```
9445
9521
  * <script type="module">
9446
- * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/dataurl.js';
9522
+ * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/dataurl.js';
9447
9523
  * console.log(parseMediaType())
9448
9524
  * </script>
9449
9525
  * ```
@@ -9580,7 +9656,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9580
9656
  *
9581
9657
  * ```
9582
9658
  * <script type="module">
9583
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/template.js';
9659
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9584
9660
  * new Monster.DOM.Template()
9585
9661
  * </script>
9586
9662
  * ```
@@ -9589,7 +9665,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9589
9665
  *
9590
9666
  * ```
9591
9667
  * <script type="module">
9592
- * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/template.js';
9668
+ * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/template.js';
9593
9669
  * new Template()
9594
9670
  * </script>
9595
9671
  * ```
@@ -9667,7 +9743,7 @@ var Template = /*#__PURE__*/function (_Base) {
9667
9743
  *
9668
9744
  * ```
9669
9745
  * <script type="module">
9670
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/template.js';
9746
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9671
9747
  * Monster.DOM.findDocumentTemplate()
9672
9748
  * </script>
9673
9749
  * ```
@@ -9676,14 +9752,14 @@ var Template = /*#__PURE__*/function (_Base) {
9676
9752
  *
9677
9753
  * ```
9678
9754
  * <script type="module">
9679
- * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/template.js';
9755
+ * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/template.js';
9680
9756
  * findDocumentTemplate()
9681
9757
  * </script>
9682
9758
  * ```
9683
9759
  *
9684
9760
  * @example
9685
9761
  *
9686
- * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/template.js";
9762
+ * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/template.js";
9687
9763
  *
9688
9764
  * const template = document.createElement("template");
9689
9765
  * template.id = "myTemplate";
@@ -9816,7 +9892,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9816
9892
  *
9817
9893
  * ```
9818
9894
  * <script type="module">
9819
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/theme.js';
9895
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
9820
9896
  * console.log(new Monster.DOM.Theme())
9821
9897
  * </script>
9822
9898
  * ```
@@ -9825,14 +9901,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9825
9901
  *
9826
9902
  * ```
9827
9903
  * <script type="module">
9828
- * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/theme.js';
9904
+ * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/theme.js';
9829
9905
  * console.log(new Theme())
9830
9906
  * </script>
9831
9907
  * ```
9832
9908
  *
9833
9909
  * @example
9834
9910
  *
9835
- * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/theme.js';
9911
+ * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/theme.js';
9836
9912
  *
9837
9913
  * const theme = getDocumentTheme();
9838
9914
  * console.log(theme.getName());
@@ -10012,7 +10088,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10012
10088
  *
10013
10089
  * ```
10014
10090
  * <script type="module">
10015
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/updater.js';
10091
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
10016
10092
  * new Monster.DOM.Updater()
10017
10093
  * </script>
10018
10094
  * ```
@@ -10021,14 +10097,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10021
10097
  *
10022
10098
  * ```
10023
10099
  * <script type="module">
10024
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/updater.js';
10100
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/updater.js';
10025
10101
  * new Updater()
10026
10102
  * </script>
10027
10103
  * ```
10028
10104
  *
10029
10105
  * @example
10030
10106
  *
10031
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/updater.js';
10107
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/updater.js';
10032
10108
  *
10033
10109
  * // First we prepare the html document.
10034
10110
  * // This is done here via script, but can also be inserted into the document as pure html.
@@ -10574,13 +10650,13 @@ function applyRecursive(node, key, path) {
10574
10650
  if (node instanceof HTMLElement) {
10575
10651
  if (node.hasAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_REPLACE)) {
10576
10652
  var value = node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_REPLACE);
10577
- node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_REPLACE, value.replace("path:" + key, "path:" + path));
10653
+ node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_REPLACE, value.replaceAll("path:" + key, "path:" + path));
10578
10654
  }
10579
10655
 
10580
10656
  if (node.hasAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_ATTRIBUTES)) {
10581
10657
  var _value = node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_ATTRIBUTES);
10582
10658
 
10583
- node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_ATTRIBUTES, _value.replace("path:" + key, "path:" + path));
10659
+ node.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_3__.ATTRIBUTE_UPDATER_ATTRIBUTES, _value.replaceAll("path:" + key, "path:" + path));
10584
10660
  }
10585
10661
 
10586
10662
  for (var _i6 = 0, _Object$entries5 = Object.entries(node.childNodes); _i6 < _Object$entries5.length; _i6++) {
@@ -10897,7 +10973,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
10897
10973
  *
10898
10974
  * ```
10899
10975
  * <script type="module">
10900
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/trimspaces.js';
10976
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
10901
10977
  * Monster.Util.trimSpaces(" hello ")
10902
10978
  * </script>
10903
10979
  * ```
@@ -10906,7 +10982,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
10906
10982
  *
10907
10983
  * ```
10908
10984
  * <script type="module">
10909
- * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/trimspaces.js';
10985
+ * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/util/trimspaces.js';
10910
10986
  * trimSpaces(' hello \\ ')
10911
10987
  * </script>
10912
10988
  * ```
@@ -11005,7 +11081,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11005
11081
  *
11006
11082
  * ```
11007
11083
  * <script type="module">
11008
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/util.js';
11084
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11009
11085
  * console.log(Monster.DOM.getDocument())
11010
11086
  * </script>
11011
11087
  * ```
@@ -11014,7 +11090,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11014
11090
  *
11015
11091
  * ```
11016
11092
  * <script type="module">
11017
- * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/util.js';
11093
+ * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/util.js';
11018
11094
  * console.log(getDocument())
11019
11095
  * </script>
11020
11096
  * ```
@@ -11069,7 +11145,7 @@ function getDocument() {
11069
11145
  *
11070
11146
  * ```
11071
11147
  * <script type="module">
11072
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/util.js';
11148
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11073
11149
  * console.log(Monster.DOM.getWindow())
11074
11150
  * </script>
11075
11151
  * ```
@@ -11078,7 +11154,7 @@ function getDocument() {
11078
11154
  *
11079
11155
  * ```
11080
11156
  * <script type="module">
11081
- * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/util.js';
11157
+ * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/util.js';
11082
11158
  * console.log(getWindow(null))
11083
11159
  * </script>
11084
11160
  * ```
@@ -11138,7 +11214,7 @@ function getWindow() {
11138
11214
  *
11139
11215
  * ```
11140
11216
  * <script type="module">
11141
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/util.js';
11217
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11142
11218
  * console.log(Monster.DOM.getDocumentFragmentFromString())
11143
11219
  * </script>
11144
11220
  * ```
@@ -11147,7 +11223,7 @@ function getWindow() {
11147
11223
  *
11148
11224
  * ```
11149
11225
  * <script type="module">
11150
- * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/util.js';
11226
+ * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/util.js';
11151
11227
  * console.log(getDocumentFragmentFromString('<div></div>'))
11152
11228
  * </script>
11153
11229
  * ```
@@ -11233,7 +11309,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11233
11309
  *
11234
11310
  * ```
11235
11311
  * <script type="module">
11236
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/events.js';
11312
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11237
11313
  * console.log(new Monster.DOM.fireEvent())
11238
11314
  * </script>
11239
11315
  * ```
@@ -11242,7 +11318,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11242
11318
  *
11243
11319
  * ```
11244
11320
  * <script type="module">
11245
- * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/events.js';
11321
+ * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/events.js';
11246
11322
  * console.log(fireEvent())
11247
11323
  * </script>
11248
11324
  * ```
@@ -11298,7 +11374,7 @@ function fireEvent(element, type) {
11298
11374
  *
11299
11375
  * ```
11300
11376
  * <script type="module">
11301
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/events.js';
11377
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11302
11378
  * console.log(new Monster.DOM.findTargetElementFromEvent())
11303
11379
  * </script>
11304
11380
  * ```
@@ -11307,7 +11383,7 @@ function fireEvent(element, type) {
11307
11383
  *
11308
11384
  * ```
11309
11385
  * <script type="module">
11310
- * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/events.js';
11386
+ * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/events.js';
11311
11387
  * console.log(findTargetElementFromEvent())
11312
11388
  * </script>
11313
11389
  * ```
@@ -11379,13 +11455,17 @@ var DEFAULT_LANGUAGE = 'en';
11379
11455
  /**
11380
11456
  * With this function you can read the language version set by the document.
11381
11457
  * For this the attribute `lang` in the html tag is read. If no attribute is set, `en` is used as default.
11458
+ *
11459
+ * ```html
11460
+ * <html lang="en">
11461
+ * ```
11382
11462
  *
11383
11463
  * You can call the function via the monster namespace `new Monster.DOM.getLocaleOfDocument()`.
11384
11464
  *
11385
11465
  * ```
11386
11466
  * <script type="module">
11387
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/locale.js';
11388
- * console.log(new Monster.DOM.getLocaleOfDocument())
11467
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11468
+ * new Monster.DOM.getLocaleOfDocument()
11389
11469
  * </script>
11390
11470
  * ```
11391
11471
  *
@@ -11393,8 +11473,8 @@ var DEFAULT_LANGUAGE = 'en';
11393
11473
  *
11394
11474
  * ```
11395
11475
  * <script type="module">
11396
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/dom/locale.js';
11397
- * console.log(new getLocaleOfDocument())
11476
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/dom/locale.js';
11477
+ * new getLocaleOfDocument()
11398
11478
  * </script>
11399
11479
  * ```
11400
11480
  *
@@ -11486,7 +11566,7 @@ var localeStringSymbol = Symbol('localeString');
11486
11566
  *
11487
11567
  * ```
11488
11568
  * <script type="module">
11489
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/locale.js';
11569
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11490
11570
  * new Monster.I18n.Locale()
11491
11571
  * </script>
11492
11572
  * ```
@@ -11495,7 +11575,7 @@ var localeStringSymbol = Symbol('localeString');
11495
11575
  *
11496
11576
  * ```
11497
11577
  * <script type="module">
11498
- * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/locale.js';
11578
+ * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/locale.js';
11499
11579
  * new Locale()
11500
11580
  * </script>
11501
11581
  * ```
@@ -11654,6 +11734,8 @@ var Locale = /*#__PURE__*/function (_Base) {
11654
11734
  return "" + this.localeString;
11655
11735
  }
11656
11736
  /**
11737
+ * The structure has the following: language, script, region, variants, extlang, privateUse
11738
+ *
11657
11739
  * @return {Monster.I18n.LocaleMap}
11658
11740
  */
11659
11741
 
@@ -11686,7 +11768,7 @@ var Locale = /*#__PURE__*/function (_Base) {
11686
11768
  *
11687
11769
  * ```
11688
11770
  * <script type="module">
11689
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/locale.js';
11771
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11690
11772
  * new Monster.I18n.createLocale()
11691
11773
  * </script>
11692
11774
  * ```
@@ -11695,7 +11777,7 @@ var Locale = /*#__PURE__*/function (_Base) {
11695
11777
  *
11696
11778
  * ```
11697
11779
  * <script type="module">
11698
- * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/locale.js';
11780
+ * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/locale.js';
11699
11781
  * createLocale()
11700
11782
  * </script>
11701
11783
  * ```
@@ -11871,7 +11953,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11871
11953
  *
11872
11954
  * ```
11873
11955
  * <script type="module">
11874
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/provider.js';
11956
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11875
11957
  * new Monster.I18n.Provider()
11876
11958
  * </script>
11877
11959
  * ```
@@ -11880,7 +11962,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11880
11962
  *
11881
11963
  * ```
11882
11964
  * <script type="module">
11883
- * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/provider.js';
11965
+ * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/provider.js';
11884
11966
  * new Provider()
11885
11967
  * </script>
11886
11968
  * ```
@@ -11981,7 +12063,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11981
12063
  *
11982
12064
  * ```
11983
12065
  * <script type="module">
11984
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/basewithoptions.js';
12066
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
11985
12067
  * new Monster.Types.BaseWithOptions()
11986
12068
  * </script>
11987
12069
  * ```
@@ -11990,7 +12072,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11990
12072
  *
11991
12073
  * ```
11992
12074
  * <script type="module">
11993
- * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/basewithoptions.js';
12075
+ * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/basewithoptions.js';
11994
12076
  * new BaseWithOptions()
11995
12077
  * </script>
11996
12078
  * ```
@@ -12131,7 +12213,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12131
12213
  *
12132
12214
  * ```
12133
12215
  * <script type="module">
12134
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/translations.js';
12216
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
12135
12217
  * new Monster.I18n.Translations()
12136
12218
  * </script>
12137
12219
  * ```
@@ -12140,23 +12222,33 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12140
12222
  *
12141
12223
  * ```
12142
12224
  * <script type="module">
12143
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/translations.js';
12225
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/translations.js';
12144
12226
  * new Translations()
12145
12227
  * </script>
12146
12228
  * ```
12147
12229
  *
12148
12230
  * @example
12149
12231
  *
12150
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/translations.js';
12232
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/translations.js';
12233
+ * import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/locale.js';
12234
+ *
12151
12235
  * const translation = new Translations(parseLocale('en-GB'));
12152
12236
  *
12153
12237
  * translation.assignTranslations({
12154
- * text1: "abc",
12155
- * text2: {'other': 'xyz'}
12156
- * });
12238
+ * text1: "click",
12239
+ * text2: {
12240
+ * 'one': 'click once',
12241
+ * 'other': 'click n times'
12242
+ * }
12243
+ * });
12244
+ *
12245
+ * console.log(translation.getText('text1'));
12246
+ * // ↦ click
12157
12247
  *
12158
- * translation.getText('text1);
12159
- * translation.getPluralRuleText('text2',2);
12248
+ * console.log(translation.getPluralRuleText('text2',1));
12249
+ * // -> click once
12250
+ * console.log(translation.getPluralRuleText('text2',2));
12251
+ * // -> click n times
12160
12252
  *
12161
12253
  * @since 1.13.0
12162
12254
  * @copyright schukai GmbH
@@ -12410,7 +12502,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12410
12502
  *
12411
12503
  * ```
12412
12504
  * <script type="module">
12413
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/providers/fetch.js';
12505
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
12414
12506
  * new Monster.I18n.Providers.Fetch()
12415
12507
  * </script>
12416
12508
  * ```
@@ -12419,15 +12511,24 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12419
12511
  *
12420
12512
  * ```
12421
12513
  * <script type="module">
12422
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/i18n/providers/fetch.js';
12514
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/providers/fetch.js';
12423
12515
  * new Fetch()
12424
12516
  * </script>
12425
12517
  * ```
12518
+ *
12519
+ * @example <caption>das ist ein test</caption>
12520
+ *
12521
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/i18n/providers/fetch.js';
12522
+ *
12523
+ * // fetch from API
12524
+ * const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
12525
+ * // ↦ https://example.com/en.json
12426
12526
  *
12427
12527
  * @since 1.13.0
12428
12528
  * @copyright schukai GmbH
12429
12529
  * @memberOf Monster.I18n.Providers
12430
12530
  * @see {@link https://datatracker.ietf.org/doc/html/rfc3066}
12531
+ * @tutorial i18n-locale-and-formatter
12431
12532
  */
12432
12533
 
12433
12534
  var Fetch = /*#__PURE__*/function (_Provider) {
@@ -12437,7 +12538,13 @@ var Fetch = /*#__PURE__*/function (_Provider) {
12437
12538
 
12438
12539
  /**
12439
12540
  * As options the key `fetch` can be passed. This config object is passed to the fetch method as init.
12440
- *
12541
+ *
12542
+ * The url may contain placeholders (language, script, region, variants, extlang, privateUse), so you can specify one url for all translations.
12543
+ *
12544
+ * ```
12545
+ * new Fetch('https://www.example.com/assets/${language}.json')
12546
+ * ```
12547
+ *
12441
12548
  * @param {string|URL} url
12442
12549
  * @param {Object} options see {@link Monster.I18n.Providers.Fetch#defaults}
12443
12550
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/fetch}
@@ -12540,14 +12647,20 @@ var Fetch = /*#__PURE__*/function (_Provider) {
12540
12647
 
12541
12648
  __webpack_require__.r(__webpack_exports__);
12542
12649
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12543
- /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
12650
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_3__.Monster; },
12544
12651
  /* harmony export */ "Formatter": function() { return /* binding */ Formatter; }
12545
12652
  /* harmony export */ });
12546
- /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22);
12547
- /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
12548
- /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
12549
- /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
12653
+ /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
12654
+ /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
12655
+ /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
12656
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
12657
+ /* harmony import */ var _types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47);
12658
+ /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
12659
+ /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
12550
12660
 
12661
+ /**
12662
+ * @author schukai GmbH
12663
+ */
12551
12664
 
12552
12665
  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); }
12553
12666
 
@@ -12571,6 +12684,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
12571
12684
 
12572
12685
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
12573
12686
 
12687
+ function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
12688
+
12689
+ function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
12690
+
12574
12691
  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); }
12575
12692
 
12576
12693
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -12586,23 +12703,52 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
12586
12703
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12587
12704
 
12588
12705
 
12706
+
12707
+
12708
+
12709
+
12710
+
12711
+
12589
12712
  /**
12590
- * @author schukai GmbH
12713
+ * @private
12714
+ * @type {symbol}
12591
12715
  */
12592
12716
 
12717
+ var internalObjectSymbol = Symbol('internalObject');
12718
+ /**
12719
+ * @private
12720
+ * @type {symbol}
12721
+ */
12593
12722
 
12723
+ var watchdogSymbol = Symbol('watchdog');
12724
+ /**
12725
+ * @private
12726
+ * @type {symbol}
12727
+ */
12728
+
12729
+ var markerOpenIndexSymbol = Symbol('markerOpenIndex');
12730
+ /**
12731
+ * @private
12732
+ * @type {symbol}
12733
+ */
12594
12734
 
12735
+ var markerCloseIndexSymbol = Symbol('markercloseIndex');
12736
+ /**
12737
+ * @private
12738
+ * @type {symbol}
12739
+ */
12595
12740
 
12741
+ var workingDataSymbol = Symbol('workingData');
12596
12742
  /**
12597
12743
  * Messages can be formatted with the formatter. To do this, an object with the values must be passed to the formatter. The message can then contain placeholders.
12598
12744
  *
12599
12745
  * Look at the example below. The placeholders use the logic of Pipe.
12600
12746
  *
12601
- * You can call the method via the monster namespace `new Monster.Text.Formatter()`.
12747
+ * You can create an instance via the monster namespace `new Monster.Text.Formatter()`.
12602
12748
  *
12603
12749
  * ```
12604
12750
  * <script type="module">
12605
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/text/formatter.js';
12751
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
12606
12752
  * new Monster.Text.Formatter()
12607
12753
  * </script>
12608
12754
  * ```
@@ -12611,19 +12757,42 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12611
12757
  *
12612
12758
  * ```
12613
12759
  * <script type="module">
12614
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/text/formatter.js';
12760
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/text/formatter.js';
12615
12761
  * new Formatter()
12616
12762
  * </script>
12617
12763
  * ```
12618
12764
  *
12619
12765
  * ## Marker in marker
12620
12766
  *
12621
- * Markers can be nested. Here, the inner marker is resolved first and then the outer marker.
12767
+ * Markers can be nested. Here, the inner marker is resolved first `${subkey} ↦ 1 = ${mykey2}` and then the outer marker `${mykey2}`.
12622
12768
  *
12623
12769
  * ```
12770
+ * const text = '${mykey${subkey}}';
12771
+ * let obj = {
12772
+ * mykey2: "1",
12773
+ * subkey: "2"
12774
+ * };
12624
12775
  *
12776
+ * new Formatter(obj).format(text);
12777
+ * // ↦ 1
12625
12778
  * ```
12626
12779
  *
12780
+ * ## Callbacks
12781
+ *
12782
+ * The values in a formatter can be adjusted via the commands of the `Transformer` or the`Pipe`.
12783
+ * There is also the possibility to use callbacks.
12784
+ *
12785
+ * const formatter = new Formatter({x: '1'}, {
12786
+ * callbacks: {
12787
+ * quote: (value) => {
12788
+ * return '"' + value + '"'
12789
+ * }
12790
+ * }
12791
+ * });
12792
+ *
12793
+ * formatter.format('${x | call:quote}'))
12794
+ * // ↦ "1"
12795
+ *
12627
12796
  * ## Marker with parameter
12628
12797
  *
12629
12798
  * A string can also bring its own values. These must then be separated from the key by a separator `::`.
@@ -12633,7 +12802,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12633
12802
  *
12634
12803
  * @example
12635
12804
  *
12636
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/text/formatter.js';
12805
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/text/formatter.js';
12637
12806
  *
12638
12807
  * new Formatter({
12639
12808
  * a: {
@@ -12642,7 +12811,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12642
12811
  * },
12643
12812
  * d: "world",
12644
12813
  * }
12645
- * }).format("${a.b.c} ${a.d | ucfirst}!");
12814
+ * }).format("${a.b.c} ${a.d | ucfirst}!"); // with pipe
12646
12815
  *
12647
12816
  * // ↦ Hello World!
12648
12817
  *
@@ -12651,8 +12820,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12651
12820
  * @memberOf Monster.Text
12652
12821
  */
12653
12822
 
12654
- var Formatter = /*#__PURE__*/function (_Base) {
12655
- _inherits(Formatter, _Base);
12823
+ var Formatter = /*#__PURE__*/function (_BaseWithOptions) {
12824
+ _inherits(Formatter, _BaseWithOptions);
12656
12825
 
12657
12826
  var _super = _createSuper(Formatter);
12658
12827
 
@@ -12662,52 +12831,70 @@ var Formatter = /*#__PURE__*/function (_Base) {
12662
12831
  * @param {object} object
12663
12832
  * @throws {TypeError} value is not a object
12664
12833
  */
12665
- function Formatter(object) {
12834
+ function Formatter(object, options) {
12666
12835
  var _this;
12667
12836
 
12668
12837
  _classCallCheck(this, Formatter);
12669
12838
 
12670
- _this = _super.call(this);
12671
-
12672
- if (object === undefined) {
12673
- object = {};
12674
- }
12675
-
12676
- _this.object = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateObject)(object);
12677
- _this.openMarker = '${';
12678
- _this.closeMarker = '}';
12679
- _this.parameterDelimiter = '::';
12680
- _this.parameterAssignment = '=';
12839
+ _this = _super.call(this, options);
12840
+ _this[internalObjectSymbol] = object || {};
12841
+ _this[markerOpenIndexSymbol] = 0;
12842
+ _this[markerCloseIndexSymbol] = 0;
12681
12843
  return _this;
12682
12844
  }
12683
12845
  /**
12684
- * Set new Parameter Character
12685
- *
12686
- * Default values for the chars are `::` and `=`
12687
- *
12688
- * ```
12689
- * formatter.setParameterChars('#');
12690
- * formatter.setParameterChars('[',']');
12691
- * formatter.setParameterChars('i18n{','}');
12692
- * ```
12693
- *
12694
- * @param {string} delimiter
12695
- * @param {string} assignment
12696
- * @return {Formatter}
12697
- * @since 1.24.0
12698
- * @throws {TypeError} value is not a string
12846
+ * @property {object} marker
12847
+ * @property {array} marker.open=["${"]
12848
+ * @property {array} marker.close=["${"]
12849
+ * @property {object} parameter
12850
+ * @property {string} parameter.delimiter="::"
12851
+ * @property {string} parameter.assignment="="
12852
+ * @property {object} callbacks={}
12699
12853
  */
12700
12854
 
12701
12855
 
12702
12856
  _createClass(Formatter, [{
12857
+ key: "defaults",
12858
+ get: function get() {
12859
+ return (0,_data_extend_js__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _get(_getPrototypeOf(Formatter.prototype), "defaults", this), {
12860
+ marker: {
12861
+ open: ['${'],
12862
+ close: ['}']
12863
+ },
12864
+ parameter: {
12865
+ delimiter: '::',
12866
+ assignment: '='
12867
+ },
12868
+ callbacks: {}
12869
+ });
12870
+ }
12871
+ /**
12872
+ * Set new Parameter Character
12873
+ *
12874
+ * Default values for the chars are `::` and `=`
12875
+ *
12876
+ * ```
12877
+ * formatter.setParameterChars('#');
12878
+ * formatter.setParameterChars('[',']');
12879
+ * formatter.setParameterChars('i18n{','}');
12880
+ * ```
12881
+ *
12882
+ * @param {string} delimiter
12883
+ * @param {string} assignment
12884
+ * @return {Formatter}
12885
+ * @since 1.24.0
12886
+ * @throws {TypeError} value is not a string
12887
+ */
12888
+
12889
+ }, {
12703
12890
  key: "setParameterChars",
12704
12891
  value: function setParameterChars(delimiter, assignment) {
12705
12892
  if (delimiter !== undefined) {
12706
- this.parameterDelimiter = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(delimiter);
12893
+ this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['parameter']['delimiter'] = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateString)(delimiter);
12707
12894
  }
12708
12895
 
12709
12896
  if (assignment !== undefined) {
12710
- this.parameterAssignment = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(assignment);
12897
+ this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['parameter']['assignment'] = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateString)(assignment);
12711
12898
  }
12712
12899
 
12713
12900
  return this;
@@ -12723,8 +12910,8 @@ var Formatter = /*#__PURE__*/function (_Base) {
12723
12910
  * formatter.setMarker('i18n{','}');
12724
12911
  * ```
12725
12912
  *
12726
- * @param {string} open
12727
- * @param {string} close
12913
+ * @param {array|string} open
12914
+ * @param {array|string|undefined} close
12728
12915
  * @return {Formatter}
12729
12916
  * @since 1.12.0
12730
12917
  * @throws {TypeError} value is not a string
@@ -12737,8 +12924,10 @@ var Formatter = /*#__PURE__*/function (_Base) {
12737
12924
  close = open;
12738
12925
  }
12739
12926
 
12740
- this.openMarker = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(open);
12741
- this.closeMarker = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(close);
12927
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(open)) open = [open];
12928
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isString)(close)) close = [close];
12929
+ this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['marker']['open'] = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateArray)(open);
12930
+ this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['marker']['close'] = (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateArray)(close);
12742
12931
  return this;
12743
12932
  }
12744
12933
  /**
@@ -12746,17 +12935,58 @@ var Formatter = /*#__PURE__*/function (_Base) {
12746
12935
  * @param {string} text
12747
12936
  * @return {string}
12748
12937
  * @throws {TypeError} value is not a string
12938
+ * @throws {Error} too deep nesting
12749
12939
  */
12750
12940
 
12751
12941
  }, {
12752
12942
  key: "format",
12753
12943
  value: function format(text) {
12754
- return tokenizer.call(this, (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(text));
12944
+ this[watchdogSymbol] = 0;
12945
+ this[markerOpenIndexSymbol] = 0;
12946
+ this[markerCloseIndexSymbol] = 0;
12947
+ this[workingDataSymbol] = {};
12948
+ return _format.call(this, text);
12755
12949
  }
12756
12950
  }]);
12757
12951
 
12758
12952
  return Formatter;
12759
- }(_types_base_js__WEBPACK_IMPORTED_MODULE_2__.Base);
12953
+ }(_types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_4__.BaseWithOptions);
12954
+ /**
12955
+ * @private
12956
+ * @return {string}
12957
+ */
12958
+
12959
+
12960
+ function _format(text) {
12961
+ var _self$internalSymbol$, _self$internalSymbol$2, _self$internalSymbol$3, _self$internalSymbol$4;
12962
+
12963
+ var self = this;
12964
+ self[watchdogSymbol]++;
12965
+
12966
+ if (this[watchdogSymbol] > 20) {
12967
+ throw new Error('too deep nesting');
12968
+ }
12969
+
12970
+ var openMarker = (_self$internalSymbol$ = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['marker']['open']) === null || _self$internalSymbol$ === void 0 ? void 0 : _self$internalSymbol$[this[markerOpenIndexSymbol]];
12971
+ var closeMarker = (_self$internalSymbol$2 = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['marker']['close']) === null || _self$internalSymbol$2 === void 0 ? void 0 : _self$internalSymbol$2[this[markerCloseIndexSymbol]]; // contains no placeholders
12972
+
12973
+ if (text.indexOf(openMarker) === -1 || text.indexOf(closeMarker) === -1) {
12974
+ return text;
12975
+ }
12976
+
12977
+ var result = tokenize.call(this, (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateString)(text), openMarker, closeMarker);
12978
+
12979
+ if ((_self$internalSymbol$3 = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['marker']['open']) !== null && _self$internalSymbol$3 !== void 0 && _self$internalSymbol$3[this[markerOpenIndexSymbol] + 1]) {
12980
+ this[markerOpenIndexSymbol]++;
12981
+ }
12982
+
12983
+ if ((_self$internalSymbol$4 = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['marker']['close']) !== null && _self$internalSymbol$4 !== void 0 && _self$internalSymbol$4[this[markerCloseIndexSymbol] + 1]) {
12984
+ this[markerCloseIndexSymbol]++;
12985
+ }
12986
+
12987
+ result = _format.call(self, result);
12988
+ return result;
12989
+ }
12760
12990
  /**
12761
12991
  * @private
12762
12992
  * @since 1.12.0
@@ -12765,12 +12995,17 @@ var Formatter = /*#__PURE__*/function (_Base) {
12765
12995
  */
12766
12996
 
12767
12997
 
12768
- function tokenizer(text) {
12998
+ function tokenize(text, openMarker, closeMarker) {
12769
12999
  var self = this;
12770
13000
  var formatted = [];
13001
+ var parameterAssignment = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['parameter']['assignment'];
13002
+ var parameterDelimiter = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['parameter']['delimiter'];
13003
+ var callbacks = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol]['callbacks'];
12771
13004
 
12772
13005
  while (true) {
12773
- var startIndex = text.indexOf(self.openMarker); // no marker
13006
+ var _self$workingDataSymb;
13007
+
13008
+ var startIndex = text.indexOf(openMarker); // no marker
12774
13009
 
12775
13010
  if (startIndex === -1) {
12776
13011
  formatted.push(text);
@@ -12780,19 +13015,18 @@ function tokenizer(text) {
12780
13015
  text = text.substring(startIndex);
12781
13016
  }
12782
13017
 
12783
- var endIndex = text.substring(self.openMarker.length).indexOf(self.closeMarker);
12784
- if (endIndex !== -1) endIndex += self.openMarker.length;
12785
- var insideStartIndex = text.substring(self.openMarker.length).indexOf(self.openMarker);
13018
+ var endIndex = text.substring(openMarker.length).indexOf(closeMarker);
13019
+ if (endIndex !== -1) endIndex += openMarker.length;
13020
+ var insideStartIndex = text.substring(openMarker.length).indexOf(openMarker);
12786
13021
 
12787
13022
  if (insideStartIndex !== -1) {
12788
- insideStartIndex += self.openMarker.length;
13023
+ insideStartIndex += openMarker.length;
12789
13024
 
12790
13025
  if (insideStartIndex < endIndex) {
12791
- var sub = text.substring(insideStartIndex);
12792
- var result = tokenizer.call(self, text.substring(insideStartIndex));
13026
+ var result = tokenize.call(self, text.substring(insideStartIndex), openMarker, closeMarker);
12793
13027
  text = text.substring(0, insideStartIndex) + result;
12794
- endIndex = text.substring(self.openMarker.length).indexOf(self.closeMarker);
12795
- if (endIndex !== -1) endIndex += self.openMarker.length;
13028
+ endIndex = text.substring(openMarker.length).indexOf(closeMarker);
13029
+ if (endIndex !== -1) endIndex += openMarker.length;
12796
13030
  }
12797
13031
  }
12798
13032
 
@@ -12801,11 +13035,10 @@ function tokenizer(text) {
12801
13035
  return;
12802
13036
  }
12803
13037
 
12804
- var command = "path:";
12805
- var key = text.substring(self.openMarker.length, endIndex);
12806
- var parts = key.split(self.parameterDelimiter);
12807
- command += parts.shift();
12808
- var temp = self.object;
13038
+ var key = text.substring(openMarker.length, endIndex);
13039
+ var parts = key.split(parameterDelimiter);
13040
+ var currentPipe = parts.shift();
13041
+ self[workingDataSymbol] = (0,_data_extend_js__WEBPACK_IMPORTED_MODULE_1__.extend)({}, self[internalObjectSymbol], self[workingDataSymbol]);
12809
13042
 
12810
13043
  var _iterator = _createForOfIteratorHelper(parts),
12811
13044
  _step;
@@ -12814,12 +13047,12 @@ function tokenizer(text) {
12814
13047
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
12815
13048
  var kv = _step.value;
12816
13049
 
12817
- var _kv$split = kv.split(self.parameterAssignment),
13050
+ var _kv$split = kv.split(parameterAssignment),
12818
13051
  _kv$split2 = _slicedToArray(_kv$split, 2),
12819
13052
  k = _kv$split2[0],
12820
13053
  v = _kv$split2[1];
12821
13054
 
12822
- temp[k] = v;
13055
+ self[workingDataSymbol][k] = v;
12823
13056
  }
12824
13057
  } catch (err) {
12825
13058
  _iterator.e(err);
@@ -12827,14 +13060,40 @@ function tokenizer(text) {
12827
13060
  _iterator.f();
12828
13061
  }
12829
13062
 
12830
- formatted.push((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_3__.validateString)(new _data_pipe_js__WEBPACK_IMPORTED_MODULE_0__.Pipe(command).run(temp)));
12831
- text = text.substring(endIndex + self.closeMarker.length);
13063
+ var t1 = key.split('|').shift().trim(); // pipe symbol
13064
+
13065
+ var t2 = t1.split('::').shift().trim(); // key value delimiter
13066
+
13067
+ var t3 = t2.split('.').shift().trim(); // path delimiter
13068
+
13069
+ var prefix = (_self$workingDataSymb = self[workingDataSymbol]) !== null && _self$workingDataSymb !== void 0 && _self$workingDataSymb[t3] ? 'path:' : 'static:';
13070
+ var command = "";
13071
+
13072
+ if (prefix && key.indexOf(prefix) !== 0 && key.indexOf('path:') !== 0 && key.indexOf('static:') !== 0) {
13073
+ command = prefix;
13074
+ }
13075
+
13076
+ command += currentPipe;
13077
+ var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_2__.Pipe(command);
13078
+
13079
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_5__.isObject)(callbacks)) {
13080
+ for (var _i = 0, _Object$entries = Object.entries(callbacks); _i < _Object$entries.length; _i++) {
13081
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
13082
+ name = _Object$entries$_i[0],
13083
+ callback = _Object$entries$_i[1];
13084
+
13085
+ pipe.setCallback(name, callback);
13086
+ }
13087
+ }
13088
+
13089
+ formatted.push((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateString)(pipe.run(self[workingDataSymbol])));
13090
+ text = text.substring(endIndex + closeMarker.length);
12832
13091
  }
12833
13092
 
12834
13093
  return formatted.join('');
12835
13094
  }
12836
13095
 
12837
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_1__.assignToNamespace)('Monster.Text', Formatter);
13096
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_3__.assignToNamespace)('Monster.Text', Formatter);
12838
13097
 
12839
13098
 
12840
13099
  /***/ }),
@@ -12888,7 +13147,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12888
13147
  *
12889
13148
  * ```
12890
13149
  * <script type="module">
12891
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/handler.js';
13150
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
12892
13151
  * console.log(new Monster.Logging.Handler())
12893
13152
  * </script>
12894
13153
  * ```
@@ -12897,7 +13156,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12897
13156
  *
12898
13157
  * ```
12899
13158
  * <script type="module">
12900
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/handler.js';
13159
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/logging/handler.js';
12901
13160
  * console.log(new Handler())
12902
13161
  * </script>
12903
13162
  * ```
@@ -13135,7 +13394,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13135
13394
  *
13136
13395
  * ```
13137
13396
  * <script type="module">
13138
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/logentry.js';
13397
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
13139
13398
  * console.log(new Monster.Logging.LogEntry())
13140
13399
  * </script>
13141
13400
  * ```
@@ -13144,7 +13403,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13144
13403
  *
13145
13404
  * ```
13146
13405
  * <script type="module">
13147
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/logentry.js';
13406
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/logging/logentry.js';
13148
13407
  * console.log(new LogEntry())
13149
13408
  * </script>
13150
13409
  * ```
@@ -13330,7 +13589,7 @@ var OFF = 0;
13330
13589
  *
13331
13590
  * ```
13332
13591
  * <script type="module">
13333
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/logger.js';
13592
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
13334
13593
  * new Monster.Logging.Logger()
13335
13594
  * </script>
13336
13595
  * ```
@@ -13339,7 +13598,7 @@ var OFF = 0;
13339
13598
  *
13340
13599
  * ```
13341
13600
  * <script type="module">
13342
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/logger.js';
13601
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/logging/logger.js';
13343
13602
  * new Logger()
13344
13603
  * </script>
13345
13604
  * ```
@@ -13639,7 +13898,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13639
13898
  *
13640
13899
  * ```
13641
13900
  * <script type="module">
13642
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/handler/console.js';
13901
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
13643
13902
  * console.log(new Monster.Logging.Handler.ConsoleHandler())
13644
13903
  * </script>
13645
13904
  * ```
@@ -13648,7 +13907,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13648
13907
  *
13649
13908
  * ```
13650
13909
  * <script type="module">
13651
- * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/logging/handler/console.js';
13910
+ * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/logging/handler/console.js';
13652
13911
  * console.log(new ConsoleHandler())
13653
13912
  * </script>
13654
13913
  * ```
@@ -13724,7 +13983,7 @@ __webpack_require__.r(__webpack_exports__);
13724
13983
  *
13725
13984
  * ```
13726
13985
  * <script type="module">
13727
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/math/random.js';
13986
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
13728
13987
  * Monster.Math.random(1,10)
13729
13988
  * // ↦ 5
13730
13989
  * </script>
@@ -13734,7 +13993,7 @@ __webpack_require__.r(__webpack_exports__);
13734
13993
  *
13735
13994
  * ```
13736
13995
  * <script type="module">
13737
- * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/math/random.js';
13996
+ * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/math/random.js';
13738
13997
  * random(1,10)
13739
13998
  * // ↦ 5
13740
13999
  * </script>
@@ -13891,7 +14150,7 @@ var internalCounter = 0;
13891
14150
  *
13892
14151
  * ```
13893
14152
  * <script type="module">
13894
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/randomid.js';
14153
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
13895
14154
  * console.log(new Monster.Types.RandomID())
13896
14155
  * </script>
13897
14156
  * ```
@@ -13900,7 +14159,7 @@ var internalCounter = 0;
13900
14159
  *
13901
14160
  * ```
13902
14161
  * <script type="module">
13903
- * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/randomid.js';
14162
+ * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/randomid.js';
13904
14163
  * console.log(new RandomID())
13905
14164
  * </script>
13906
14165
  * ```
@@ -13983,7 +14242,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13983
14242
  *
13984
14243
  * ```
13985
14244
  * <script type="module">
13986
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/version.js';
14245
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
13987
14246
  * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
13988
14247
  * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
13989
14248
  * </script>
@@ -13993,7 +14252,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13993
14252
  *
13994
14253
  * ```
13995
14254
  * <script type="module">
13996
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/version.js';
14255
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/version.js';
13997
14256
  * console.log(new Version('1.2.3')) // ↦ 1.2.3
13998
14257
  * console.log(new Version('1')) // ↦ 1.0.0
13999
14258
  * </script>
@@ -14001,7 +14260,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14001
14260
  *
14002
14261
  * @example
14003
14262
  *
14004
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/version.js';
14263
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/version.js';
14005
14264
  *
14006
14265
  * new Version('1.0.0') // ↦ 1.0.0
14007
14266
  * new Version(1) // ↦ 1.0.0
@@ -14135,7 +14394,7 @@ var monsterVersion;
14135
14394
  *
14136
14395
  * ```
14137
14396
  * <script type="module">
14138
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/version.js';
14397
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
14139
14398
  * console.log(Monster.getVersion())
14140
14399
  * </script>
14141
14400
  * ```
@@ -14144,7 +14403,7 @@ var monsterVersion;
14144
14403
  *
14145
14404
  * ```
14146
14405
  * <script type="module">
14147
- * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/types/version.js';
14406
+ * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/types/version.js';
14148
14407
  * console.log(getVersion())
14149
14408
  * </script>
14150
14409
  * ```
@@ -14163,7 +14422,7 @@ function getVersion() {
14163
14422
  /**#@+ dont touch, replaced by make with package.json version */
14164
14423
 
14165
14424
 
14166
- monsterVersion = new Version('1.25.0');
14425
+ monsterVersion = new Version('1.26.0');
14167
14426
  /**#@-*/
14168
14427
 
14169
14428
  return monsterVersion;
@@ -14219,7 +14478,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14219
14478
  *
14220
14479
  * ```
14221
14480
  * <script type="module">
14222
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/comparator.js';
14481
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
14223
14482
  * new Monster.Util.Comparator()
14224
14483
  * </script>
14225
14484
  * ```
@@ -14228,7 +14487,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14228
14487
  *
14229
14488
  * ```
14230
14489
  * <script type="module">
14231
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/comparator.js';
14490
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/util/comparator.js';
14232
14491
  * console.log(new Comparator())
14233
14492
  * </script>
14234
14493
  * ```
@@ -14253,7 +14512,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14253
14512
  *
14254
14513
  * @example
14255
14514
  *
14256
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/comparator.js';
14515
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/util/comparator.js';
14257
14516
  *
14258
14517
  * console.log(new Comparator().lessThanOrEqual(2, 5))
14259
14518
  * // ↦ true
@@ -14466,7 +14725,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
14466
14725
  *
14467
14726
  * ```
14468
14727
  * <script type="module">
14469
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/freeze.js';
14728
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/monster.js';
14470
14729
  * Monster.Util.deepFreeze({})
14471
14730
  * </script>
14472
14731
  * ```
@@ -14475,7 +14734,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
14475
14734
  *
14476
14735
  * ```
14477
14736
  * <script type="module">
14478
- * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.25.0/dist/modules/util/freeze.js';
14737
+ * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.26.0/dist/modules/util/freeze.js';
14479
14738
  * deepFreeze({})
14480
14739
  * </script>
14481
14740
  * ```