@schukai/monster 1.21.0 → 1.21.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +12 -0
- package/README.md +3 -3
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constraints/abstract.js +1 -1
- package/dist/modules/constraints/abstractoperator.js +1 -1
- package/dist/modules/constraints/andoperator.js +1 -1
- package/dist/modules/constraints/invalid.js +1 -1
- package/dist/modules/constraints/isarray.js +1 -1
- package/dist/modules/constraints/isobject.js +1 -1
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +1 -1
- package/dist/modules/constraints/valid.js +1 -1
- package/dist/modules/data/buildmap.js +1 -1
- package/dist/modules/data/diff.js +1 -1
- package/dist/modules/data/extend.js +1 -1
- package/dist/modules/data/namespace.js +1 -1
- package/dist/modules/data/pathfinder.js +1 -1
- package/dist/modules/data/pipe.js +1 -1
- package/dist/modules/data/transformer.js +1 -1
- package/dist/modules/dom/assembler.js +1 -1
- package/dist/modules/dom/attributes.js +1 -1
- package/dist/modules/dom/constants.js +1 -1
- package/dist/modules/dom/customcontrol.js +1 -1
- package/dist/modules/dom/customelement.js +1 -1
- package/dist/modules/dom/events.js +1 -1
- package/dist/modules/dom/locale.js +1 -1
- package/dist/modules/dom/namespace.js +1 -1
- package/dist/modules/dom/template.js +1 -1
- package/dist/modules/dom/theme.js +1 -1
- package/dist/modules/dom/updater.js +1 -1
- package/dist/modules/dom/util.js +1 -1
- package/dist/modules/i18n/locale.js +1 -1
- package/dist/modules/i18n/namespace.js +1 -1
- package/dist/modules/i18n/provider.js +1 -1
- package/dist/modules/i18n/providers/fetch.js +1 -1
- package/dist/modules/i18n/providers/namespace.js +1 -1
- package/dist/modules/i18n/translations.js +1 -1
- package/dist/modules/logging/handler/console.js +1 -1
- package/dist/modules/logging/handler/namespace.js +1 -1
- package/dist/modules/logging/handler.js +1 -1
- package/dist/modules/logging/logentry.js +1 -1
- package/dist/modules/logging/logger.js +1 -1
- package/dist/modules/logging/namespace.js +1 -1
- package/dist/modules/math/namespace.js +1 -1
- package/dist/modules/math/random.js +1 -1
- package/dist/modules/monster.js +1 -1
- package/dist/modules/namespace.js +1 -1
- package/dist/modules/text/formatter.js +1 -1
- package/dist/modules/text/namespace.js +1 -1
- package/dist/modules/types/base.js +1 -1
- package/dist/modules/types/basewithoptions.js +1 -1
- package/dist/modules/types/binary.js +1 -1
- package/dist/modules/types/dataurl.js +1 -1
- package/dist/modules/types/global.js +1 -1
- package/dist/modules/types/id.js +1 -1
- package/dist/modules/types/is.js +1 -1
- package/dist/modules/types/mediatype.js +1 -1
- package/dist/modules/types/namespace.js +1 -1
- package/dist/modules/types/observer.js +1 -1
- package/dist/modules/types/observerlist.js +1 -1
- package/dist/modules/types/proxyobserver.js +1 -1
- package/dist/modules/types/queue.js +1 -1
- package/dist/modules/types/randomid.js +1 -1
- package/dist/modules/types/stack.js +1 -1
- package/dist/modules/types/tokenlist.js +1 -1
- package/dist/modules/types/typeof.js +1 -1
- package/dist/modules/types/uniquequeue.js +1 -1
- package/dist/modules/types/validate.js +1 -1
- package/dist/modules/types/version.js +2 -2
- package/dist/modules/util/clone.js +1 -1
- package/dist/modules/util/comparator.js +1 -1
- package/dist/modules/util/freeze.js +1 -1
- package/dist/modules/util/namespace.js +1 -1
- package/dist/modules/util/processing.js +1 -1
- package/dist/monster.dev.js +212 -212
- package/dist/monster.dev.js.map +1 -1
- package/dist/monster.js +2 -2
- package/package.json +1 -5
- package/source/constraints/andoperator.js +5 -5
- package/source/constraints/invalid.js +3 -3
- package/source/constraints/isarray.js +3 -3
- package/source/constraints/isobject.js +3 -3
- package/source/constraints/oroperator.js +5 -5
- package/source/constraints/valid.js +3 -3
- package/source/data/buildmap.js +4 -4
- package/source/data/diff.js +3 -3
- package/source/data/extend.js +2 -2
- package/source/data/pathfinder.js +4 -4
- package/source/data/pipe.js +3 -3
- package/source/data/transformer.js +3 -3
- package/source/dom/assembler.js +2 -2
- package/source/dom/attributes.js +24 -24
- package/source/dom/customcontrol.js +2 -2
- package/source/dom/customelement.js +2 -2
- package/source/dom/events.js +4 -4
- package/source/dom/locale.js +2 -2
- package/source/dom/template.js +4 -4
- package/source/dom/theme.js +3 -3
- package/source/dom/updater.js +3 -3
- package/source/dom/util.js +6 -6
- package/source/i18n/locale.js +4 -4
- package/source/i18n/provider.js +2 -2
- package/source/i18n/providers/fetch.js +2 -2
- package/source/i18n/translations.js +2 -2
- package/source/logging/handler/console.js +2 -2
- package/source/logging/handler.js +2 -2
- package/source/logging/logentry.js +2 -2
- package/source/logging/logger.js +2 -2
- package/source/math/random.js +2 -2
- package/source/namespace.js +1 -1
- package/source/text/formatter.js +2 -2
- package/source/types/base.js +2 -2
- package/source/types/basewithoptions.js +2 -2
- package/source/types/binary.js +4 -4
- package/source/types/dataurl.js +4 -4
- package/source/types/global.js +4 -4
- package/source/types/id.js +2 -2
- package/source/types/is.js +20 -20
- package/source/types/mediatype.js +4 -4
- package/source/types/observer.js +3 -3
- package/source/types/observerlist.js +2 -2
- package/source/types/proxyobserver.js +5 -5
- package/source/types/queue.js +3 -3
- package/source/types/randomid.js +2 -2
- package/source/types/stack.js +2 -2
- package/source/types/tokenlist.js +2 -2
- package/source/types/typeof.js +3 -3
- package/source/types/uniquequeue.js +2 -2
- package/source/types/validate.js +20 -20
- package/source/types/version.js +6 -6
- package/source/util/clone.js +2 -2
- package/source/util/comparator.js +3 -3
- package/source/util/freeze.js +2 -2
- package/source/util/processing.js +15 -16
- package/test/cases/monster.js +1 -1
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +2 -2
- package/test/web/tests.js +1 -1
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.21.
|
1
|
+
/** Monster 1.21.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
4
4
|
module.exports = factory();
|
@@ -132,7 +132,7 @@ var Monster = new Namespace("Monster");
|
|
132
132
|
*
|
133
133
|
* ```
|
134
134
|
* <script type="module">
|
135
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
135
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/namespace.js';
|
136
136
|
* function hello() {
|
137
137
|
* console.log('Hello World!');
|
138
138
|
* }
|
@@ -374,7 +374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
374
374
|
*
|
375
375
|
* ```
|
376
376
|
* <script type="module">
|
377
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/base.js';
|
378
378
|
* console.log(new Monster.Types.Base())
|
379
379
|
* </script>
|
380
380
|
* ```
|
@@ -383,7 +383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
383
383
|
*
|
384
384
|
* ```
|
385
385
|
* <script type="module">
|
386
|
-
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
386
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/base.js';
|
387
387
|
* console.log(new Base())
|
388
388
|
* </script>
|
389
389
|
* ```
|
@@ -546,7 +546,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
546
546
|
*
|
547
547
|
* ```
|
548
548
|
* <script type="module">
|
549
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
549
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/andoperator.js';
|
550
550
|
* new Monster.Constraint.AndOperator();
|
551
551
|
* </script>
|
552
552
|
* ```
|
@@ -555,16 +555,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
555
555
|
*
|
556
556
|
* ```
|
557
557
|
* <script type="module">
|
558
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
558
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/andoperator.js';
|
559
559
|
* new AndOperator();
|
560
560
|
* </script>
|
561
561
|
* ```
|
562
562
|
*
|
563
563
|
* @example
|
564
564
|
*
|
565
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
566
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
567
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
565
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
566
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
567
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/andoperator.js';
|
568
568
|
*
|
569
569
|
* new AndOperator(
|
570
570
|
* new Valid(), new Valid()).isValid()
|
@@ -661,7 +661,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
661
661
|
*
|
662
662
|
* ```
|
663
663
|
* <script type="module">
|
664
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
664
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
665
665
|
* new Monster.Constraint.Invalid();
|
666
666
|
* </script>
|
667
667
|
* ```
|
@@ -670,14 +670,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
670
670
|
*
|
671
671
|
* ```
|
672
672
|
* <script type="module">
|
673
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
673
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
674
674
|
* new Invalid();
|
675
675
|
* </script>
|
676
676
|
* ```
|
677
677
|
*
|
678
678
|
* @example
|
679
679
|
*
|
680
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
680
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
681
681
|
*
|
682
682
|
* new Invalid().isValid()
|
683
683
|
* .then(()=>console.log(true))
|
@@ -767,7 +767,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
767
767
|
*
|
768
768
|
* ```
|
769
769
|
* <script type="module">
|
770
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
770
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isarray.js';
|
771
771
|
* console.log(new Monster.Constraint.IsArray())
|
772
772
|
* </script>
|
773
773
|
* ```
|
@@ -776,14 +776,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
776
776
|
*
|
777
777
|
* ```
|
778
778
|
* <script type="module">
|
779
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
779
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isarray.js';
|
780
780
|
* console.log(new IsArray())
|
781
781
|
* </script>
|
782
782
|
* ```
|
783
783
|
*
|
784
784
|
* @example
|
785
785
|
*
|
786
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
786
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isarray.js';
|
787
787
|
*
|
788
788
|
* new IsArray()
|
789
789
|
* .isValid([])
|
@@ -869,7 +869,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
869
869
|
*
|
870
870
|
* ```
|
871
871
|
* <script type="module">
|
872
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
872
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
873
873
|
* console.log(Monster.Types.isIterable(null)) // ↦ false
|
874
874
|
* console.log(Monster.Types.isIterable('hello')) // ↦ true
|
875
875
|
* console.log(Monster.Types.isIterable([])) // ↦ true
|
@@ -880,7 +880,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
880
880
|
*
|
881
881
|
* ```
|
882
882
|
* <script type="module">
|
883
|
-
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
883
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
884
884
|
* console.log(isIterable(null)) // ↦ false
|
885
885
|
* console.log(isIterable('hello')) // ↦ true
|
886
886
|
* console.log(isIterable([])) // ↦ true
|
@@ -906,7 +906,7 @@ function isIterable(value) {
|
|
906
906
|
*
|
907
907
|
* ```
|
908
908
|
* <script type="module">
|
909
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
909
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
910
910
|
* console.log(Monster.Types.isPrimitive('2')) // ↦ false
|
911
911
|
* console.log(Monster.Types.isPrimitive([])) // ↦ true
|
912
912
|
* </script>
|
@@ -916,7 +916,7 @@ function isIterable(value) {
|
|
916
916
|
*
|
917
917
|
* ```
|
918
918
|
* <script type="module">
|
919
|
-
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
919
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
920
920
|
* console.log(isPrimitive('2')) // ↦ true
|
921
921
|
* console.log(isPrimitive([])) // ↦ false
|
922
922
|
* </script>
|
@@ -952,7 +952,7 @@ function isPrimitive(value) {
|
|
952
952
|
*
|
953
953
|
* ```
|
954
954
|
* <script type="module">
|
955
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
955
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
956
956
|
* console.log(Monster.Types.isSymbol('2')) // ↦ false
|
957
957
|
* console.log(Monster.Types.isSymbol(Symbol('test')) // ↦ true
|
958
958
|
* </script>
|
@@ -962,7 +962,7 @@ function isPrimitive(value) {
|
|
962
962
|
*
|
963
963
|
* ```
|
964
964
|
* <script type="module">
|
965
|
-
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
965
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
966
966
|
* console.log(isSymbol(Symbol('a'))) // ↦ true
|
967
967
|
* console.log(isSymbol([]) // ↦ false
|
968
968
|
* </script>
|
@@ -986,7 +986,7 @@ function isSymbol(value) {
|
|
986
986
|
*
|
987
987
|
* ```
|
988
988
|
* <script type="module">
|
989
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
989
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
990
990
|
* console.log(Monster.Types.isBoolean('2')) // ↦ false
|
991
991
|
* console.log(Monster.Types.isBoolean([])) // ↦ false
|
992
992
|
* console.log(Monster.Types.isBoolean(true)) // ↦ true
|
@@ -997,7 +997,7 @@ function isSymbol(value) {
|
|
997
997
|
*
|
998
998
|
* ```
|
999
999
|
* <script type="module">
|
1000
|
-
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1000
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1001
1001
|
* console.log(isBoolean('2')) // ↦ false
|
1002
1002
|
* console.log(isBoolean([])) // ↦ false
|
1003
1003
|
* console.log(isBoolean(2>4)) // ↦ true
|
@@ -1026,7 +1026,7 @@ function isBoolean(value) {
|
|
1026
1026
|
*
|
1027
1027
|
* ```
|
1028
1028
|
* <script type="module">
|
1029
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1029
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1030
1030
|
* console.log(Monster.Types.isString('2')) // ↦ true
|
1031
1031
|
* console.log(Monster.Types.isString([])) // ↦ false
|
1032
1032
|
* </script>
|
@@ -1036,7 +1036,7 @@ function isBoolean(value) {
|
|
1036
1036
|
*
|
1037
1037
|
* ```
|
1038
1038
|
* <script type="module">
|
1039
|
-
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1039
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1040
1040
|
* console.log(isString('2')) // ↦ true
|
1041
1041
|
* console.log(isString([])) // ↦ false
|
1042
1042
|
* </script>
|
@@ -1064,7 +1064,7 @@ function isString(value) {
|
|
1064
1064
|
*
|
1065
1065
|
* ```
|
1066
1066
|
* <script type="module">
|
1067
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1067
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1068
1068
|
* console.log(Monster.Types.isObject('2')) // ↦ false
|
1069
1069
|
* console.log(Monster.Types.isObject([])) // ↦ false
|
1070
1070
|
* console.log(Monster.Types.isObject({})) // ↦ true
|
@@ -1075,7 +1075,7 @@ function isString(value) {
|
|
1075
1075
|
*
|
1076
1076
|
* ```
|
1077
1077
|
* <script type="module">
|
1078
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1078
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1079
1079
|
* console.log(isObject('2')) // ↦ false
|
1080
1080
|
* console.log(isObject([])) // ↦ false
|
1081
1081
|
* </script>
|
@@ -1106,7 +1106,7 @@ function isObject(value) {
|
|
1106
1106
|
*
|
1107
1107
|
* ```
|
1108
1108
|
* <script type="module">
|
1109
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1109
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1110
1110
|
* console.log(Monster.Types.isInstance('2')) // ↦ false
|
1111
1111
|
* console.log(Monster.Types.isInstance([])) // ↦ false
|
1112
1112
|
* console.log(Monster.Types.isInstance({})) // ↦ true
|
@@ -1117,7 +1117,7 @@ function isObject(value) {
|
|
1117
1117
|
*
|
1118
1118
|
* ```
|
1119
1119
|
* <script type="module">
|
1120
|
-
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1120
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1121
1121
|
* console.log(isInstance('2')) // ↦ false
|
1122
1122
|
* console.log(isInstance([])) // ↦ false
|
1123
1123
|
* </script>
|
@@ -1145,7 +1145,7 @@ function isInstance(value, instance) {
|
|
1145
1145
|
*
|
1146
1146
|
* ```
|
1147
1147
|
* <script type="module">
|
1148
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1148
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1149
1149
|
* console.log(Monster.Types.isArray('2')) // ↦ false
|
1150
1150
|
* console.log(Monster.Types.isArray([])) // ↦ true
|
1151
1151
|
* </script>
|
@@ -1155,7 +1155,7 @@ function isInstance(value, instance) {
|
|
1155
1155
|
*
|
1156
1156
|
* ```
|
1157
1157
|
* <script type="module">
|
1158
|
-
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1158
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1159
1159
|
* console.log(isArray('2')) // ↦ false
|
1160
1160
|
* console.log(isArray([])) // ↦ true
|
1161
1161
|
* </script>
|
@@ -1183,7 +1183,7 @@ function isArray(value) {
|
|
1183
1183
|
*
|
1184
1184
|
* ```
|
1185
1185
|
* <script type="module">
|
1186
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1186
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1187
1187
|
* console.log(Monster.Types.isFunction(()=>{})) // ↦ true
|
1188
1188
|
* console.log(Monster.Types.isFunction('2')) // ↦ false
|
1189
1189
|
* console.log(Monster.Types.isFunction([])) // ↦ false
|
@@ -1194,7 +1194,7 @@ function isArray(value) {
|
|
1194
1194
|
*
|
1195
1195
|
* ```
|
1196
1196
|
* <script type="module">
|
1197
|
-
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1197
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1198
1198
|
* console.log(isFunction(()=>{})) // ↦ true
|
1199
1199
|
* console.log(isFunction('2')) // ↦ false
|
1200
1200
|
* console.log(isFunction([])) // ↦ false
|
@@ -1226,7 +1226,7 @@ function isFunction(value) {
|
|
1226
1226
|
*
|
1227
1227
|
* ```
|
1228
1228
|
* <script type="module">
|
1229
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1229
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1230
1230
|
* console.log(Monster.Types.isInteger(()=>{})) // ↦ true
|
1231
1231
|
* console.log(Monster.Types.isInteger('2')) // ↦ false
|
1232
1232
|
* console.log(Monster.Types.isInteger(2)) // ↦ true
|
@@ -1237,7 +1237,7 @@ function isFunction(value) {
|
|
1237
1237
|
*
|
1238
1238
|
* ```
|
1239
1239
|
* <script type="module">
|
1240
|
-
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1240
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
1241
1241
|
* console.log(isInteger(()=>{})) // ↦ true
|
1242
1242
|
* console.log(isInteger('2')) // ↦ false
|
1243
1243
|
* console.log(isInteger(2)) // ↦ true
|
@@ -1306,7 +1306,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1306
1306
|
*
|
1307
1307
|
* ```
|
1308
1308
|
* <script type="module">
|
1309
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1309
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isobject.js';
|
1310
1310
|
* console.log(new Monster.Constraint.IsObject())
|
1311
1311
|
* </script>
|
1312
1312
|
* ```
|
@@ -1315,14 +1315,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1315
1315
|
*
|
1316
1316
|
* ```
|
1317
1317
|
* <script type="module">
|
1318
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1318
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isobject.js';
|
1319
1319
|
* console.log(new IsObject())
|
1320
1320
|
* </script>
|
1321
1321
|
* ```
|
1322
1322
|
*
|
1323
1323
|
* @example
|
1324
1324
|
*
|
1325
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1325
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/isobject.js';
|
1326
1326
|
*
|
1327
1327
|
* new IsObject()
|
1328
1328
|
* .isValid({})
|
@@ -1420,7 +1420,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1420
1420
|
*
|
1421
1421
|
* ```
|
1422
1422
|
* <script type="module">
|
1423
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1423
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraint/oroperator.js';
|
1424
1424
|
* new Monster.Constraint.OrOperator();
|
1425
1425
|
* </script>
|
1426
1426
|
* ```
|
@@ -1429,16 +1429,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1429
1429
|
*
|
1430
1430
|
* ```
|
1431
1431
|
* <script type="module">
|
1432
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1432
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraint/oroperator.js';
|
1433
1433
|
* new OrOperator();
|
1434
1434
|
* </script>
|
1435
1435
|
* ```
|
1436
1436
|
*
|
1437
1437
|
* @example
|
1438
1438
|
*
|
1439
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1440
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1441
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1439
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1440
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/invalid.js';
|
1441
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/oroperator.js';
|
1442
1442
|
*
|
1443
1443
|
* new OrOperator(
|
1444
1444
|
* new Valid(), new Invalid()).isValid()
|
@@ -1558,7 +1558,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1558
1558
|
*
|
1559
1559
|
* ```
|
1560
1560
|
* <script type="module">
|
1561
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1561
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1562
1562
|
* new Monster.Constraint.Valid();
|
1563
1563
|
* </script>
|
1564
1564
|
* ```
|
@@ -1567,14 +1567,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1567
1567
|
*
|
1568
1568
|
* ```
|
1569
1569
|
* <script type="module">
|
1570
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1570
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1571
1571
|
* new Valid();
|
1572
1572
|
* </script>
|
1573
1573
|
* ```
|
1574
1574
|
*
|
1575
1575
|
* @example
|
1576
1576
|
*
|
1577
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1577
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/constraints/valid.js';
|
1578
1578
|
*
|
1579
1579
|
* new Valid().isValid()
|
1580
1580
|
* .then(()=>console.log(true))
|
@@ -1681,7 +1681,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1681
1681
|
*
|
1682
1682
|
* ```
|
1683
1683
|
* <script type="module">
|
1684
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1684
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1685
1685
|
* console.log(Monster.Data.buildMap())
|
1686
1686
|
* </script>
|
1687
1687
|
* ```
|
@@ -1690,7 +1690,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1690
1690
|
*
|
1691
1691
|
* ```
|
1692
1692
|
* <script type="module">
|
1693
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1693
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1694
1694
|
* console.log(buildMap())
|
1695
1695
|
* </script>
|
1696
1696
|
* ```
|
@@ -1701,7 +1701,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1701
1701
|
*
|
1702
1702
|
* @example
|
1703
1703
|
*
|
1704
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1704
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1705
1705
|
* // a typical data structure as reported by an api
|
1706
1706
|
*
|
1707
1707
|
* let map;
|
@@ -1916,7 +1916,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
|
|
1916
1916
|
* Alternatively to a string selector a callback can be specified. this must return a map.
|
1917
1917
|
*
|
1918
1918
|
* @example
|
1919
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
1919
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/buildmap.js';
|
1920
1920
|
*
|
1921
1921
|
* let obj = {
|
1922
1922
|
* "data": [
|
@@ -2119,7 +2119,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2119
2119
|
*
|
2120
2120
|
* ```
|
2121
2121
|
* <script type="module">
|
2122
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2122
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2123
2123
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
2124
2124
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
2125
2125
|
* </script>
|
@@ -2129,7 +2129,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2129
2129
|
*
|
2130
2130
|
* ```
|
2131
2131
|
* <script type="module">
|
2132
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2132
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2133
2133
|
* console.log(validateIterable('2')) // ↦ TypeError
|
2134
2134
|
* console.log(validateIterable([])) // ↦ value
|
2135
2135
|
* </script>
|
@@ -2160,7 +2160,7 @@ function validateIterable(value) {
|
|
2160
2160
|
*
|
2161
2161
|
* ```
|
2162
2162
|
* <script type="module">
|
2163
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2163
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2164
2164
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
2165
2165
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
2166
2166
|
* </script>
|
@@ -2170,7 +2170,7 @@ function validateIterable(value) {
|
|
2170
2170
|
*
|
2171
2171
|
* ```
|
2172
2172
|
* <script type="module">
|
2173
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2173
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2174
2174
|
* console.log(validatePrimitive('2')) // ↦ value
|
2175
2175
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
2176
2176
|
* </script>
|
@@ -2202,7 +2202,7 @@ function validatePrimitive(value) {
|
|
2202
2202
|
*
|
2203
2203
|
* ```
|
2204
2204
|
* <script type="module">
|
2205
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2205
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2206
2206
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
2207
2207
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
2208
2208
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
@@ -2213,7 +2213,7 @@ function validatePrimitive(value) {
|
|
2213
2213
|
*
|
2214
2214
|
* ```
|
2215
2215
|
* <script type="module">
|
2216
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2216
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2217
2217
|
* console.log(validateBoolean(false)) // ↦ value
|
2218
2218
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
2219
2219
|
* console.log(validateBoolean([])) // ↦ TypeError
|
@@ -2244,7 +2244,7 @@ function validateBoolean(value) {
|
|
2244
2244
|
*
|
2245
2245
|
* ```
|
2246
2246
|
* <script type="module">
|
2247
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2247
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2248
2248
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
2249
2249
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
2250
2250
|
* </script>
|
@@ -2254,7 +2254,7 @@ function validateBoolean(value) {
|
|
2254
2254
|
*
|
2255
2255
|
* ```
|
2256
2256
|
* <script type="module">
|
2257
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2257
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2258
2258
|
* console.log(validateString('2')) // ↦ value
|
2259
2259
|
* console.log(validateString([])) // ↦ TypeError
|
2260
2260
|
* </script>
|
@@ -2283,7 +2283,7 @@ function validateString(value) {
|
|
2283
2283
|
*
|
2284
2284
|
* ```
|
2285
2285
|
* <script type="module">
|
2286
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2286
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2287
2287
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
2288
2288
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
2289
2289
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
@@ -2294,7 +2294,7 @@ function validateString(value) {
|
|
2294
2294
|
*
|
2295
2295
|
* ```
|
2296
2296
|
* <script type="module">
|
2297
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2297
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2298
2298
|
* console.log(validateObject({})) // ↦ value
|
2299
2299
|
* console.log(validateObject('2')) // ↦ TypeError
|
2300
2300
|
* console.log(validateObject([])) // ↦ TypeError
|
@@ -2324,7 +2324,7 @@ function validateObject(value) {
|
|
2324
2324
|
*
|
2325
2325
|
* ```
|
2326
2326
|
* <script type="module">
|
2327
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2327
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2328
2328
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
2329
2329
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
2330
2330
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
@@ -2335,7 +2335,7 @@ function validateObject(value) {
|
|
2335
2335
|
*
|
2336
2336
|
* ```
|
2337
2337
|
* <script type="module">
|
2338
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2338
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2339
2339
|
* console.log(validateInstance({}, Object)) // ↦ value
|
2340
2340
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
2341
2341
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
@@ -2375,7 +2375,7 @@ function validateInstance(value, instance) {
|
|
2375
2375
|
*
|
2376
2376
|
* ```
|
2377
2377
|
* <script type="module">
|
2378
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2378
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2379
2379
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
2380
2380
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
2381
2381
|
* </script>
|
@@ -2385,7 +2385,7 @@ function validateInstance(value, instance) {
|
|
2385
2385
|
*
|
2386
2386
|
* ```
|
2387
2387
|
* <script type="module">
|
2388
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2388
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2389
2389
|
* console.log(validateArray('2')) // ↦ TypeError
|
2390
2390
|
* console.log(validateArray([])) // ↦ value
|
2391
2391
|
* </script>
|
@@ -2414,7 +2414,7 @@ function validateArray(value) {
|
|
2414
2414
|
*
|
2415
2415
|
* ```
|
2416
2416
|
* <script type="module">
|
2417
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2417
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2418
2418
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
2419
2419
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
2420
2420
|
* </script>
|
@@ -2424,7 +2424,7 @@ function validateArray(value) {
|
|
2424
2424
|
*
|
2425
2425
|
* ```
|
2426
2426
|
* <script type="module">
|
2427
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2427
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2428
2428
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
2429
2429
|
* console.log(validateSymbol()) // ↦ value
|
2430
2430
|
* </script>
|
@@ -2453,7 +2453,7 @@ function validateSymbol(value) {
|
|
2453
2453
|
*
|
2454
2454
|
* ```
|
2455
2455
|
* <script type="module">
|
2456
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2456
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2457
2457
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
2458
2458
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
2459
2459
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
@@ -2464,7 +2464,7 @@ function validateSymbol(value) {
|
|
2464
2464
|
*
|
2465
2465
|
* ```
|
2466
2466
|
* <script type="module">
|
2467
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2467
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2468
2468
|
* console.log(validateFunction(()=>{})) // ↦ value
|
2469
2469
|
* console.log(validateFunction('2')) // ↦ TypeError
|
2470
2470
|
* console.log(validateFunction([])) // ↦ TypeError
|
@@ -2494,7 +2494,7 @@ function validateFunction(value) {
|
|
2494
2494
|
*
|
2495
2495
|
* ```
|
2496
2496
|
* <script type="module">
|
2497
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2497
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2498
2498
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
2499
2499
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
2500
2500
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
@@ -2505,7 +2505,7 @@ function validateFunction(value) {
|
|
2505
2505
|
*
|
2506
2506
|
* ```
|
2507
2507
|
* <script type="module">
|
2508
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2508
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/validate.js';
|
2509
2509
|
* console.log(validateInteger(true)) // ↦ TypeError
|
2510
2510
|
* console.log(validateInteger('2')) // ↦ TypeError
|
2511
2511
|
* console.log(validateInteger(2)) // ↦ value
|
@@ -2571,7 +2571,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2571
2571
|
*
|
2572
2572
|
* ```
|
2573
2573
|
* <script type="module">
|
2574
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2574
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/clone.js';
|
2575
2575
|
* console.log(Monster.Util.clone({}))
|
2576
2576
|
* </script>
|
2577
2577
|
* ```
|
@@ -2580,7 +2580,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2580
2580
|
*
|
2581
2581
|
* ```
|
2582
2582
|
* <script type="module">
|
2583
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2583
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/clone.js';
|
2584
2584
|
* console.log(clone({}))
|
2585
2585
|
* </script>
|
2586
2586
|
* ```
|
@@ -2793,7 +2793,7 @@ function getGlobal() {
|
|
2793
2793
|
*
|
2794
2794
|
* ```
|
2795
2795
|
* <script type="module">
|
2796
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2796
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2797
2797
|
* console.log(Monster.Types.getGlobalObject('document')) // ↦ { }
|
2798
2798
|
* </script>
|
2799
2799
|
* ```
|
@@ -2802,7 +2802,7 @@ function getGlobal() {
|
|
2802
2802
|
*
|
2803
2803
|
* ```
|
2804
2804
|
* <script type="module">
|
2805
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2805
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2806
2806
|
* console.log(getGlobalObject('document')) // ↦ { }
|
2807
2807
|
* </script>
|
2808
2808
|
* ```
|
@@ -2833,7 +2833,7 @@ function getGlobalObject(name) {
|
|
2833
2833
|
*
|
2834
2834
|
* ```
|
2835
2835
|
* <script type="module">
|
2836
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2836
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2837
2837
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2838
2838
|
* </script>
|
2839
2839
|
* ```
|
@@ -2842,7 +2842,7 @@ function getGlobalObject(name) {
|
|
2842
2842
|
*
|
2843
2843
|
* ```
|
2844
2844
|
* <script type="module">
|
2845
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2845
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/global.js';
|
2846
2846
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
2847
2847
|
* </script>
|
2848
2848
|
* ```
|
@@ -2893,7 +2893,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
2893
2893
|
*
|
2894
2894
|
* ```
|
2895
2895
|
* <script type="module">
|
2896
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2896
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/typeof.js';
|
2897
2897
|
* console.log(Monster.Types.typeOf())
|
2898
2898
|
* </script>
|
2899
2899
|
* ```
|
@@ -2902,14 +2902,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
2902
2902
|
*
|
2903
2903
|
* ```
|
2904
2904
|
* <script type="module">
|
2905
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2905
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/typeof.js';
|
2906
2906
|
* console.log(typeOf())
|
2907
2907
|
* </script>
|
2908
2908
|
* ```
|
2909
2909
|
*
|
2910
2910
|
* @example
|
2911
2911
|
*
|
2912
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
2912
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/typeof.js';
|
2913
2913
|
*
|
2914
2914
|
* console.log(typeOf(undefined)); // ↦ undefined
|
2915
2915
|
* console.log(typeOf("")); // ↦ string
|
@@ -3028,7 +3028,7 @@ var WILDCARD = '*';
|
|
3028
3028
|
*
|
3029
3029
|
* ```
|
3030
3030
|
* <script type="module">
|
3031
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3031
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
3032
3032
|
* console.log(new Monster.Data.Pathfinder())
|
3033
3033
|
* </script>
|
3034
3034
|
* ```
|
@@ -3037,7 +3037,7 @@ var WILDCARD = '*';
|
|
3037
3037
|
*
|
3038
3038
|
* ```
|
3039
3039
|
* <script type="module">
|
3040
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3040
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
3041
3041
|
* console.log(new Pathfinder())
|
3042
3042
|
* </script>
|
3043
3043
|
* ```
|
@@ -3079,7 +3079,7 @@ var WILDCARD = '*';
|
|
3079
3079
|
*
|
3080
3080
|
* @example
|
3081
3081
|
*
|
3082
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3082
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
3083
3083
|
*
|
3084
3084
|
* let value = new Pathfinder({
|
3085
3085
|
* a: {
|
@@ -3105,7 +3105,7 @@ var WILDCARD = '*';
|
|
3105
3105
|
*
|
3106
3106
|
* @example
|
3107
3107
|
*
|
3108
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3108
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pathfinder.js';
|
3109
3109
|
*
|
3110
3110
|
* let p = new Pathfinder({
|
3111
3111
|
* a: {
|
@@ -3516,7 +3516,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3516
3516
|
*
|
3517
3517
|
* ```
|
3518
3518
|
* <script type="module">
|
3519
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3519
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/stack.js';
|
3520
3520
|
* console.log(new Monster.Types.Stack())
|
3521
3521
|
* </script>
|
3522
3522
|
* ```
|
@@ -3525,7 +3525,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3525
3525
|
*
|
3526
3526
|
* ```
|
3527
3527
|
* <script type="module">
|
3528
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3528
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/stack.js';
|
3529
3529
|
* console.log(new Stack())
|
3530
3530
|
* </script>
|
3531
3531
|
* ```
|
@@ -3660,7 +3660,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3660
3660
|
*
|
3661
3661
|
* ```
|
3662
3662
|
* <script type="module">
|
3663
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3663
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/diff.js';
|
3664
3664
|
* console.log(Monster.Data.Diff(a, b))
|
3665
3665
|
* </script>
|
3666
3666
|
* ```
|
@@ -3669,14 +3669,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
3669
3669
|
*
|
3670
3670
|
* ```
|
3671
3671
|
* <script type="module">
|
3672
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3672
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/diff.js';
|
3673
3673
|
* console.log(Diff(a, b))
|
3674
3674
|
* </script>
|
3675
3675
|
* ```
|
3676
3676
|
*
|
3677
3677
|
* @example
|
3678
3678
|
*
|
3679
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3679
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/diff.js';
|
3680
3680
|
*
|
3681
3681
|
* // given are two objects x and y.
|
3682
3682
|
*
|
@@ -3922,7 +3922,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3922
3922
|
*
|
3923
3923
|
* ```
|
3924
3924
|
* <script type="module">
|
3925
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3925
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/extend.js';
|
3926
3926
|
* console.log(Monster.Data.extend(a, b))
|
3927
3927
|
* </script>
|
3928
3928
|
* ```
|
@@ -3931,7 +3931,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3931
3931
|
*
|
3932
3932
|
* ```
|
3933
3933
|
* <script type="module">
|
3934
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
3934
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/extend.js';
|
3935
3935
|
* console.log(extend(a, b))
|
3936
3936
|
* </script>
|
3937
3937
|
* ```
|
@@ -4060,7 +4060,7 @@ var DELIMITER = '|';
|
|
4060
4060
|
*
|
4061
4061
|
* ```
|
4062
4062
|
* <script type="module">
|
4063
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4063
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pipe.js';
|
4064
4064
|
* console.log(new Monster.Data.Pipe())
|
4065
4065
|
* </script>
|
4066
4066
|
* ```
|
@@ -4069,7 +4069,7 @@ var DELIMITER = '|';
|
|
4069
4069
|
*
|
4070
4070
|
* ```
|
4071
4071
|
* <script type="module">
|
4072
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4072
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pipe.js';
|
4073
4073
|
* console.log(new Pipe())
|
4074
4074
|
* </script>
|
4075
4075
|
* ```
|
@@ -4080,7 +4080,7 @@ var DELIMITER = '|';
|
|
4080
4080
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
4081
4081
|
*
|
4082
4082
|
* @example
|
4083
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4083
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/pipe.js';
|
4084
4084
|
*
|
4085
4085
|
* let obj = {
|
4086
4086
|
* a: {
|
@@ -4242,7 +4242,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4242
4242
|
*
|
4243
4243
|
* ```
|
4244
4244
|
* <script type="module">
|
4245
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4245
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/transformer.js';
|
4246
4246
|
* console.log(new Monster.Data.Transformer())
|
4247
4247
|
* </script>
|
4248
4248
|
* ```
|
@@ -4251,7 +4251,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4251
4251
|
*
|
4252
4252
|
* ```
|
4253
4253
|
* <script type="module">
|
4254
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4254
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/transformer.js';
|
4255
4255
|
* console.log(new Transformer())
|
4256
4256
|
* </script>
|
4257
4257
|
* ```
|
@@ -4330,7 +4330,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4330
4330
|
*
|
4331
4331
|
* @example
|
4332
4332
|
*
|
4333
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4333
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/data/transformer.js';
|
4334
4334
|
*
|
4335
4335
|
* const transformer = new Transformer("tolower")
|
4336
4336
|
*
|
@@ -4763,7 +4763,7 @@ var internalCounter = new Map();
|
|
4763
4763
|
*
|
4764
4764
|
* ```
|
4765
4765
|
* <script type="module">
|
4766
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4766
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/id.js';
|
4767
4767
|
* console.log(new Monster.Types.ID())
|
4768
4768
|
* </script>
|
4769
4769
|
* ```
|
@@ -4772,7 +4772,7 @@ var internalCounter = new Map();
|
|
4772
4772
|
*
|
4773
4773
|
* ```
|
4774
4774
|
* <script type="module">
|
4775
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4775
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/id.js';
|
4776
4776
|
* console.log(new ID())
|
4777
4777
|
* </script>
|
4778
4778
|
* ```
|
@@ -4892,7 +4892,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
4892
4892
|
*
|
4893
4893
|
* ```
|
4894
4894
|
* <script type="module">
|
4895
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4895
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/assembler.js';
|
4896
4896
|
* console.log(new Monster.DOM.Assembler())
|
4897
4897
|
* </script>
|
4898
4898
|
* ```
|
@@ -4901,7 +4901,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
4901
4901
|
*
|
4902
4902
|
* ```
|
4903
4903
|
* <script type="module">
|
4904
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
4904
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/assembler.js';
|
4905
4905
|
* console.log(new Assembler())
|
4906
4906
|
* </script>
|
4907
4907
|
* ```
|
@@ -5040,7 +5040,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5040
5040
|
*
|
5041
5041
|
* ```
|
5042
5042
|
* <script type="module">
|
5043
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5043
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/proxyobserver.js';
|
5044
5044
|
* console.log(new Monster.Types.ProxyObserver())
|
5045
5045
|
* </script>
|
5046
5046
|
* ```
|
@@ -5049,7 +5049,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5049
5049
|
*
|
5050
5050
|
* ```
|
5051
5051
|
* <script type="module">
|
5052
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5052
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/proxyobserver.js';
|
5053
5053
|
* console.log(new ProxyObserver())
|
5054
5054
|
* </script>
|
5055
5055
|
* ```
|
@@ -5060,9 +5060,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5060
5060
|
*
|
5061
5061
|
* @example
|
5062
5062
|
*
|
5063
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5064
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5065
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5063
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/proxyobserver.js';
|
5064
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5065
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/is.js';
|
5066
5066
|
*
|
5067
5067
|
* const o = new Observer(function () {
|
5068
5068
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
@@ -5369,7 +5369,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5369
5369
|
*
|
5370
5370
|
* ```
|
5371
5371
|
* <script type="module">
|
5372
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5372
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5373
5373
|
* console.log(new Monster.Types.Observer())
|
5374
5374
|
* </script>
|
5375
5375
|
* ```
|
@@ -5378,7 +5378,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5378
5378
|
*
|
5379
5379
|
* ```
|
5380
5380
|
* <script type="module">
|
5381
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5381
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5382
5382
|
* console.log(new Observer())
|
5383
5383
|
* </script>
|
5384
5384
|
* ```
|
@@ -5412,7 +5412,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5412
5412
|
*
|
5413
5413
|
* @example
|
5414
5414
|
*
|
5415
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5415
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observer.js';
|
5416
5416
|
*
|
5417
5417
|
* const observer = new Observer(function(a, b, c) {
|
5418
5418
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
@@ -5612,7 +5612,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5612
5612
|
*
|
5613
5613
|
* ```
|
5614
5614
|
* <script type="module">
|
5615
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5615
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/tokenlist.js';
|
5616
5616
|
* console.log(new Monster.Types.TokenList("myclass row"))
|
5617
5617
|
* console.log(new Monster.Types.TokenList("myclass row"))
|
5618
5618
|
* </script>
|
@@ -5622,7 +5622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5622
5622
|
*
|
5623
5623
|
* ```
|
5624
5624
|
* <script type="module">
|
5625
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
5625
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/tokenlist.js';
|
5626
5626
|
* console.log(new TokenList("myclass row"))
|
5627
5627
|
* console.log(new TokenList("myclass row"))
|
5628
5628
|
* </script>
|
@@ -6045,7 +6045,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6045
6045
|
*
|
6046
6046
|
* ```
|
6047
6047
|
* <script type="module">
|
6048
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6048
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/uniquequeue.js';
|
6049
6049
|
* console.log(new Monster.Types.UniqueQueue())
|
6050
6050
|
* </script>
|
6051
6051
|
* ```
|
@@ -6054,7 +6054,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6054
6054
|
*
|
6055
6055
|
* ```
|
6056
6056
|
* <script type="module">
|
6057
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6057
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/uniquequeue.js';
|
6058
6058
|
* console.log(new UniqueQueue())
|
6059
6059
|
* </script>
|
6060
6060
|
* ```
|
@@ -6189,7 +6189,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6189
6189
|
*
|
6190
6190
|
* ```
|
6191
6191
|
* <script type="module">
|
6192
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6192
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/queue.js';
|
6193
6193
|
* console.log(new Monster.Types.Queue())
|
6194
6194
|
* </script>
|
6195
6195
|
* ```
|
@@ -6198,14 +6198,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6198
6198
|
*
|
6199
6199
|
* ```
|
6200
6200
|
* <script type="module">
|
6201
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6201
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/queue.js';
|
6202
6202
|
* console.log(new Queue())
|
6203
6203
|
* </script>
|
6204
6204
|
* ```
|
6205
6205
|
*
|
6206
6206
|
* @example
|
6207
6207
|
*
|
6208
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6208
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/queue.js';
|
6209
6209
|
*
|
6210
6210
|
* const queue = new Queue;
|
6211
6211
|
*
|
@@ -6374,7 +6374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6374
6374
|
*
|
6375
6375
|
* ```
|
6376
6376
|
* <script type="module">
|
6377
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observerlist.js';
|
6378
6378
|
* console.log(new Monster.Types.ObserverList())
|
6379
6379
|
* console.log(new Monster.Types.ObserverList())
|
6380
6380
|
* </script>
|
@@ -6384,7 +6384,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6384
6384
|
*
|
6385
6385
|
* ```
|
6386
6386
|
* <script type="module">
|
6387
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6387
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/observerlist.js';
|
6388
6388
|
* console.log(ObserverList())
|
6389
6389
|
* console.log(ObserverList())
|
6390
6390
|
* </script>
|
@@ -6543,7 +6543,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6543
6543
|
*
|
6544
6544
|
* ```
|
6545
6545
|
* <script type="module">
|
6546
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6546
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
6547
6547
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6548
6548
|
* </script>
|
6549
6549
|
* ```
|
@@ -6552,7 +6552,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6552
6552
|
*
|
6553
6553
|
* ```
|
6554
6554
|
* <script type="module">
|
6555
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6555
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
6556
6556
|
* console.log(findClosestObjectLink())
|
6557
6557
|
* </script>
|
6558
6558
|
* ```
|
@@ -6573,7 +6573,7 @@ function findClosestObjectLink(element) {
|
|
6573
6573
|
*
|
6574
6574
|
* ```
|
6575
6575
|
* <script type="module">
|
6576
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6576
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6577
6577
|
* Monster.DOM.addToObjectLink();
|
6578
6578
|
* </script>
|
6579
6579
|
* ```
|
@@ -6582,7 +6582,7 @@ function findClosestObjectLink(element) {
|
|
6582
6582
|
*
|
6583
6583
|
* ```
|
6584
6584
|
* <script type="module">
|
6585
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6585
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6586
6586
|
* addToObjectLink();
|
6587
6587
|
* </script>
|
6588
6588
|
* ```
|
@@ -6614,7 +6614,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6614
6614
|
*
|
6615
6615
|
* ```
|
6616
6616
|
* <script type="module">
|
6617
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6617
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6618
6618
|
* Monster.DOM.removeObjectLink();
|
6619
6619
|
* </script>
|
6620
6620
|
* ```
|
@@ -6623,7 +6623,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6623
6623
|
*
|
6624
6624
|
* ```
|
6625
6625
|
* <script type="module">
|
6626
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6626
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6627
6627
|
* removeObjectLink();
|
6628
6628
|
* </script>
|
6629
6629
|
* ```
|
@@ -6654,7 +6654,7 @@ function removeObjectLink(element, symbol) {
|
|
6654
6654
|
*
|
6655
6655
|
* ```
|
6656
6656
|
* <script type="module">
|
6657
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6657
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6658
6658
|
* Monster.DOM.hasObjectLink();
|
6659
6659
|
* </script>
|
6660
6660
|
* ```
|
@@ -6663,7 +6663,7 @@ function removeObjectLink(element, symbol) {
|
|
6663
6663
|
*
|
6664
6664
|
* ```
|
6665
6665
|
* <script type="module">
|
6666
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6666
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6667
6667
|
* hasObjectLink();
|
6668
6668
|
* </script>
|
6669
6669
|
* ```
|
@@ -6699,7 +6699,7 @@ function hasObjectLink(element, symbol) {
|
|
6699
6699
|
*
|
6700
6700
|
* ```
|
6701
6701
|
* <script type="module">
|
6702
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6702
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6703
6703
|
* Monster.DOM.getLinkedObjects();
|
6704
6704
|
* </script>
|
6705
6705
|
* ```
|
@@ -6708,7 +6708,7 @@ function hasObjectLink(element, symbol) {
|
|
6708
6708
|
*
|
6709
6709
|
* ```
|
6710
6710
|
* <script type="module">
|
6711
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6711
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6712
6712
|
* getLinkedObjects();
|
6713
6713
|
* </script>
|
6714
6714
|
* ```
|
@@ -6742,7 +6742,7 @@ function getLinkedObjects(element, symbol) {
|
|
6742
6742
|
*
|
6743
6743
|
* ```
|
6744
6744
|
* <script type="module">
|
6745
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6745
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6746
6746
|
* Monster.DOM.toggleAttributeToken();
|
6747
6747
|
* </script>
|
6748
6748
|
* ```
|
@@ -6751,7 +6751,7 @@ function getLinkedObjects(element, symbol) {
|
|
6751
6751
|
*
|
6752
6752
|
* ```
|
6753
6753
|
* <script type="module">
|
6754
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6754
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6755
6755
|
* toggleAttributeToken();
|
6756
6756
|
* </script>
|
6757
6757
|
* ```
|
@@ -6786,7 +6786,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6786
6786
|
*
|
6787
6787
|
* ```
|
6788
6788
|
* <script type="module">
|
6789
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6789
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6790
6790
|
* Monster.DOM.addAttributeToken();
|
6791
6791
|
* </script>
|
6792
6792
|
* ```
|
@@ -6795,7 +6795,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6795
6795
|
*
|
6796
6796
|
* ```
|
6797
6797
|
* <script type="module">
|
6798
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6798
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6799
6799
|
* addAttributeToken();
|
6800
6800
|
* </script>
|
6801
6801
|
* ```
|
@@ -6832,7 +6832,7 @@ function addAttributeToken(element, key, token) {
|
|
6832
6832
|
*
|
6833
6833
|
* ```
|
6834
6834
|
* <script type="module">
|
6835
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6835
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6836
6836
|
* Monster.DOM.removeAttributeToken();
|
6837
6837
|
* </script>
|
6838
6838
|
* ```
|
@@ -6841,7 +6841,7 @@ function addAttributeToken(element, key, token) {
|
|
6841
6841
|
*
|
6842
6842
|
* ```
|
6843
6843
|
* <script type="module">
|
6844
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6844
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6845
6845
|
* removeAttributeToken();
|
6846
6846
|
* </script>
|
6847
6847
|
* ```
|
@@ -6877,7 +6877,7 @@ function removeAttributeToken(element, key, token) {
|
|
6877
6877
|
*
|
6878
6878
|
* ```
|
6879
6879
|
* <script type="module">
|
6880
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6880
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6881
6881
|
* Monster.DOM.containsAttributeToken();
|
6882
6882
|
* </script>
|
6883
6883
|
* ```
|
@@ -6886,7 +6886,7 @@ function removeAttributeToken(element, key, token) {
|
|
6886
6886
|
*
|
6887
6887
|
* ```
|
6888
6888
|
* <script type="module">
|
6889
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6889
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6890
6890
|
* containsAttributeToken();
|
6891
6891
|
* </script>
|
6892
6892
|
* ```
|
@@ -6919,7 +6919,7 @@ function containsAttributeToken(element, key, token) {
|
|
6919
6919
|
*
|
6920
6920
|
* ```
|
6921
6921
|
* <script type="module">
|
6922
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6922
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6923
6923
|
* Monster.DOM.replaceAttributeToken();
|
6924
6924
|
* </script>
|
6925
6925
|
* ```
|
@@ -6928,7 +6928,7 @@ function containsAttributeToken(element, key, token) {
|
|
6928
6928
|
*
|
6929
6929
|
* ```
|
6930
6930
|
* <script type="module">
|
6931
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6931
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6932
6932
|
* replaceAttributeToken();
|
6933
6933
|
* </script>
|
6934
6934
|
* ```
|
@@ -6964,7 +6964,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
6964
6964
|
*
|
6965
6965
|
* ```
|
6966
6966
|
* <script type="module">
|
6967
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6967
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6968
6968
|
* Monster.DOM.clearAttributeTokens();
|
6969
6969
|
* </script>
|
6970
6970
|
* ```
|
@@ -6973,7 +6973,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
6973
6973
|
*
|
6974
6974
|
* ```
|
6975
6975
|
* <script type="module">
|
6976
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
6976
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
6977
6977
|
* clearAttributeTokens();
|
6978
6978
|
* </script>
|
6979
6979
|
* ```
|
@@ -7003,7 +7003,7 @@ function clearAttributeTokens(element, key) {
|
|
7003
7003
|
*
|
7004
7004
|
* ```
|
7005
7005
|
* <script type="module">
|
7006
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
7006
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
7007
7007
|
* Monster.DOM.findClosestByAttribute();
|
7008
7008
|
* </script>
|
7009
7009
|
* ```
|
@@ -7012,7 +7012,7 @@ function clearAttributeTokens(element, key) {
|
|
7012
7012
|
*
|
7013
7013
|
* ```
|
7014
7014
|
* <script type="module">
|
7015
|
-
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
7015
|
+
* import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/attributes.js';
|
7016
7016
|
* findClosestByAttribute();
|
7017
7017
|
* </script>
|
7018
7018
|
* ```
|
@@ -7248,7 +7248,7 @@ var internalSymbol = Symbol('internalSymbol');
|
|
7248
7248
|
*
|
7249
7249
|
* ```
|
7250
7250
|
* <script type="module">
|
7251
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
7251
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customcontrol.js';
|
7252
7252
|
* console.log(new Monster.DOM.CustomControl())
|
7253
7253
|
* </script>
|
7254
7254
|
* ```
|
@@ -7257,7 +7257,7 @@ var internalSymbol = Symbol('internalSymbol');
|
|
7257
7257
|
*
|
7258
7258
|
* ```
|
7259
7259
|
* <script type="module">
|
7260
|
-
* import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
7260
|
+
* import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customcontrol.js';
|
7261
7261
|
* console.log(new CustomControl())
|
7262
7262
|
* </script>
|
7263
7263
|
* ```
|
@@ -7758,7 +7758,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
|
|
7758
7758
|
*
|
7759
7759
|
* ```
|
7760
7760
|
* <script type="module">
|
7761
|
-
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
7761
|
+
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customelement.js';
|
7762
7762
|
* console.log(new Monster.DOM.CustomElement())
|
7763
7763
|
* </script>
|
7764
7764
|
* ```
|
@@ -7767,7 +7767,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
|
|
7767
7767
|
*
|
7768
7768
|
* ```
|
7769
7769
|
* <script type="module">
|
7770
|
-
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
7770
|
+
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/customelement.js';
|
7771
7771
|
* console.log(new CustomElement())
|
7772
7772
|
* </script>
|
7773
7773
|
* ```
|
@@ -8581,7 +8581,7 @@ var internal = Symbol('internal');
|
|
8581
8581
|
*
|
8582
8582
|
* ```
|
8583
8583
|
* <script type="module">
|
8584
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8584
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8585
8585
|
* console.log(new Monster.Types.DataUrl())
|
8586
8586
|
* </script>
|
8587
8587
|
* ```
|
@@ -8590,7 +8590,7 @@ var internal = Symbol('internal');
|
|
8590
8590
|
*
|
8591
8591
|
* ```
|
8592
8592
|
* <script type="module">
|
8593
|
-
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8593
|
+
* import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8594
8594
|
* console.log(new DataUrl())
|
8595
8595
|
* </script>
|
8596
8596
|
* ```
|
@@ -8670,7 +8670,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
8670
8670
|
*
|
8671
8671
|
* ```
|
8672
8672
|
* <script type="module">
|
8673
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8673
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8674
8674
|
* console.log(Monster.Types.parseDataURL())
|
8675
8675
|
* </script>
|
8676
8676
|
* ```
|
@@ -8679,7 +8679,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
|
|
8679
8679
|
*
|
8680
8680
|
* ```
|
8681
8681
|
* <script type="module">
|
8682
|
-
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8682
|
+
* import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8683
8683
|
* console.log(parseDataURL())
|
8684
8684
|
* </script>
|
8685
8685
|
* ```
|
@@ -8817,7 +8817,7 @@ var internal = Symbol('internal');
|
|
8817
8817
|
*
|
8818
8818
|
* ```
|
8819
8819
|
* <script type="module">
|
8820
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8820
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/mediatype.js';
|
8821
8821
|
* console.log(new Monster.Types.MediaType())
|
8822
8822
|
* </script>
|
8823
8823
|
* ```
|
@@ -8826,7 +8826,7 @@ var internal = Symbol('internal');
|
|
8826
8826
|
*
|
8827
8827
|
* ```
|
8828
8828
|
* <script type="module">
|
8829
|
-
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8829
|
+
* import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/mediatype.js';
|
8830
8830
|
* console.log(new MediaType())
|
8831
8831
|
* </script>
|
8832
8832
|
* ```
|
@@ -8944,7 +8944,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
8944
8944
|
*
|
8945
8945
|
* ```
|
8946
8946
|
* <script type="module">
|
8947
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8947
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8948
8948
|
* console.log(Monster.Types.parseMediaType())
|
8949
8949
|
* </script>
|
8950
8950
|
* ```
|
@@ -8953,7 +8953,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
|
|
8953
8953
|
*
|
8954
8954
|
* ```
|
8955
8955
|
* <script type="module">
|
8956
|
-
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
8956
|
+
* import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/dataurl.js';
|
8957
8957
|
* console.log(parseMediaType())
|
8958
8958
|
* </script>
|
8959
8959
|
* ```
|
@@ -9090,7 +9090,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9090
9090
|
*
|
9091
9091
|
* ```
|
9092
9092
|
* <script type="module">
|
9093
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9093
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9094
9094
|
* console.log(new Monster.DOM.Template())
|
9095
9095
|
* </script>
|
9096
9096
|
* ```
|
@@ -9099,7 +9099,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9099
9099
|
*
|
9100
9100
|
* ```
|
9101
9101
|
* <script type="module">
|
9102
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9102
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9103
9103
|
* console.log(new Template())
|
9104
9104
|
* </script>
|
9105
9105
|
* ```
|
@@ -9177,7 +9177,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9177
9177
|
*
|
9178
9178
|
* ```
|
9179
9179
|
* <script type="module">
|
9180
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9180
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9181
9181
|
* console.log(Monster.DOM.findDocumentTemplate())
|
9182
9182
|
* </script>
|
9183
9183
|
* ```
|
@@ -9186,7 +9186,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
9186
9186
|
*
|
9187
9187
|
* ```
|
9188
9188
|
* <script type="module">
|
9189
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9189
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/template.js';
|
9190
9190
|
* console.log(findDocumentTemplate())
|
9191
9191
|
* </script>
|
9192
9192
|
* ```
|
@@ -9296,7 +9296,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9296
9296
|
*
|
9297
9297
|
* ```
|
9298
9298
|
* <script type="module">
|
9299
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9299
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/theme.js';
|
9300
9300
|
* console.log(new Monster.DOM.Theme())
|
9301
9301
|
* </script>
|
9302
9302
|
* ```
|
@@ -9305,14 +9305,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9305
9305
|
*
|
9306
9306
|
* ```
|
9307
9307
|
* <script type="module">
|
9308
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9308
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/theme.js';
|
9309
9309
|
* console.log(new Theme())
|
9310
9310
|
* </script>
|
9311
9311
|
* ```
|
9312
9312
|
*
|
9313
9313
|
* @example
|
9314
9314
|
*
|
9315
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9315
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/theme.js';
|
9316
9316
|
*
|
9317
9317
|
* const theme = getDocumentTheme();
|
9318
9318
|
* console.log(theme.getName());
|
@@ -9483,7 +9483,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9483
9483
|
*
|
9484
9484
|
* ```
|
9485
9485
|
* <script type="module">
|
9486
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9486
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
9487
9487
|
* console.log(new Monster.DOM.Updater())
|
9488
9488
|
* </script>
|
9489
9489
|
* ```
|
@@ -9492,14 +9492,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
9492
9492
|
*
|
9493
9493
|
* ```
|
9494
9494
|
* <script type="module">
|
9495
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9495
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
9496
9496
|
* console.log(new Updater())
|
9497
9497
|
* </script>
|
9498
9498
|
* ```
|
9499
9499
|
*
|
9500
9500
|
* @example
|
9501
9501
|
*
|
9502
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
9502
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/updater.js';
|
9503
9503
|
*
|
9504
9504
|
* // First we prepare the html document.
|
9505
9505
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -10338,7 +10338,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
10338
10338
|
*
|
10339
10339
|
* ```
|
10340
10340
|
* <script type="module">
|
10341
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10341
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10342
10342
|
* console.log(Monster.DOM.getDocument())
|
10343
10343
|
* </script>
|
10344
10344
|
* ```
|
@@ -10347,7 +10347,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
10347
10347
|
*
|
10348
10348
|
* ```
|
10349
10349
|
* <script type="module">
|
10350
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10350
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10351
10351
|
* console.log(getDocument())
|
10352
10352
|
* </script>
|
10353
10353
|
* ```
|
@@ -10402,7 +10402,7 @@ function getDocument() {
|
|
10402
10402
|
*
|
10403
10403
|
* ```
|
10404
10404
|
* <script type="module">
|
10405
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10405
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10406
10406
|
* console.log(Monster.DOM.getWindow())
|
10407
10407
|
* </script>
|
10408
10408
|
* ```
|
@@ -10411,7 +10411,7 @@ function getDocument() {
|
|
10411
10411
|
*
|
10412
10412
|
* ```
|
10413
10413
|
* <script type="module">
|
10414
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10414
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10415
10415
|
* console.log(getWindow(null))
|
10416
10416
|
* </script>
|
10417
10417
|
* ```
|
@@ -10471,7 +10471,7 @@ function getWindow() {
|
|
10471
10471
|
*
|
10472
10472
|
* ```
|
10473
10473
|
* <script type="module">
|
10474
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10474
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10475
10475
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
10476
10476
|
* </script>
|
10477
10477
|
* ```
|
@@ -10480,7 +10480,7 @@ function getWindow() {
|
|
10480
10480
|
*
|
10481
10481
|
* ```
|
10482
10482
|
* <script type="module">
|
10483
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10483
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/util.js';
|
10484
10484
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
10485
10485
|
* </script>
|
10486
10486
|
* ```
|
@@ -10566,7 +10566,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
10566
10566
|
*
|
10567
10567
|
* ```
|
10568
10568
|
* <script type="module">
|
10569
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10569
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10570
10570
|
* console.log(new Monster.DOM.fireEvent())
|
10571
10571
|
* </script>
|
10572
10572
|
* ```
|
@@ -10575,7 +10575,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
10575
10575
|
*
|
10576
10576
|
* ```
|
10577
10577
|
* <script type="module">
|
10578
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10578
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10579
10579
|
* console.log(fireEvent())
|
10580
10580
|
* </script>
|
10581
10581
|
* ```
|
@@ -10631,7 +10631,7 @@ function fireEvent(element, type) {
|
|
10631
10631
|
*
|
10632
10632
|
* ```
|
10633
10633
|
* <script type="module">
|
10634
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10634
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10635
10635
|
* console.log(new Monster.DOM.findTargetElementFromEvent())
|
10636
10636
|
* </script>
|
10637
10637
|
* ```
|
@@ -10640,7 +10640,7 @@ function fireEvent(element, type) {
|
|
10640
10640
|
*
|
10641
10641
|
* ```
|
10642
10642
|
* <script type="module">
|
10643
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10643
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/events.js';
|
10644
10644
|
* console.log(findTargetElementFromEvent())
|
10645
10645
|
* </script>
|
10646
10646
|
* ```
|
@@ -10718,7 +10718,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
10718
10718
|
*
|
10719
10719
|
* ```
|
10720
10720
|
* <script type="module">
|
10721
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10721
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/locale.js';
|
10722
10722
|
* console.log(new Monster.DOM.getLocaleOfDocument())
|
10723
10723
|
* </script>
|
10724
10724
|
* ```
|
@@ -10727,7 +10727,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
10727
10727
|
*
|
10728
10728
|
* ```
|
10729
10729
|
* <script type="module">
|
10730
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10730
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/dom/locale.js';
|
10731
10731
|
* console.log(new getLocaleOfDocument())
|
10732
10732
|
* </script>
|
10733
10733
|
* ```
|
@@ -10820,7 +10820,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
10820
10820
|
*
|
10821
10821
|
* ```
|
10822
10822
|
* <script type="module">
|
10823
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10823
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
10824
10824
|
* console.log(new Monster.I18n.Locale())
|
10825
10825
|
* </script>
|
10826
10826
|
* ```
|
@@ -10829,7 +10829,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
10829
10829
|
*
|
10830
10830
|
* ```
|
10831
10831
|
* <script type="module">
|
10832
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
10832
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
10833
10833
|
* console.log(new Locale())
|
10834
10834
|
* </script>
|
10835
10835
|
* ```
|
@@ -11020,7 +11020,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
11020
11020
|
*
|
11021
11021
|
* ```
|
11022
11022
|
* <script type="module">
|
11023
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11023
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
11024
11024
|
* console.log(new Monster.I18n.createLocale())
|
11025
11025
|
* </script>
|
11026
11026
|
* ```
|
@@ -11029,7 +11029,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
11029
11029
|
*
|
11030
11030
|
* ```
|
11031
11031
|
* <script type="module">
|
11032
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11032
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/locale.js';
|
11033
11033
|
* console.log(createLocale())
|
11034
11034
|
* </script>
|
11035
11035
|
* ```
|
@@ -11205,7 +11205,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11205
11205
|
*
|
11206
11206
|
* ```
|
11207
11207
|
* <script type="module">
|
11208
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11208
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/provider.js';
|
11209
11209
|
* console.log(new Monster.I18n.Provider())
|
11210
11210
|
* </script>
|
11211
11211
|
* ```
|
@@ -11214,7 +11214,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11214
11214
|
*
|
11215
11215
|
* ```
|
11216
11216
|
* <script type="module">
|
11217
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11217
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/provider.js';
|
11218
11218
|
* console.log(new Provider())
|
11219
11219
|
* </script>
|
11220
11220
|
* ```
|
@@ -11322,7 +11322,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11322
11322
|
*
|
11323
11323
|
* ```
|
11324
11324
|
* <script type="module">
|
11325
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11325
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/basewithoptions.js';
|
11326
11326
|
* console.log(new Monster.Types.BaseWithOptions())
|
11327
11327
|
* </script>
|
11328
11328
|
* ```
|
@@ -11331,7 +11331,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11331
11331
|
*
|
11332
11332
|
* ```
|
11333
11333
|
* <script type="module">
|
11334
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11334
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/basewithoptions.js';
|
11335
11335
|
* console.log(new BaseWithOptions())
|
11336
11336
|
* </script>
|
11337
11337
|
* ```
|
@@ -11472,7 +11472,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11472
11472
|
*
|
11473
11473
|
* ```
|
11474
11474
|
* <script type="module">
|
11475
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11475
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/translations.js';
|
11476
11476
|
* console.log(new Monster.I18n.Translations())
|
11477
11477
|
* </script>
|
11478
11478
|
* ```
|
@@ -11481,7 +11481,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11481
11481
|
*
|
11482
11482
|
* ```
|
11483
11483
|
* <script type="module">
|
11484
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11484
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/translations.js';
|
11485
11485
|
* console.log(new Translations())
|
11486
11486
|
* </script>
|
11487
11487
|
* ```
|
@@ -11757,7 +11757,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11757
11757
|
*
|
11758
11758
|
* ```
|
11759
11759
|
* <script type="module">
|
11760
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11760
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/providers/fetch.js';
|
11761
11761
|
* console.log(new Monster.I18n.Providers.Fetch())
|
11762
11762
|
* </script>
|
11763
11763
|
* ```
|
@@ -11766,7 +11766,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
11766
11766
|
*
|
11767
11767
|
* ```
|
11768
11768
|
* <script type="module">
|
11769
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11769
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/i18n/providers/fetch.js';
|
11770
11770
|
* console.log(new Fetch())
|
11771
11771
|
* </script>
|
11772
11772
|
* ```
|
@@ -11935,7 +11935,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11935
11935
|
*
|
11936
11936
|
* ```
|
11937
11937
|
* <script type="module">
|
11938
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11938
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/text/formatter.js';
|
11939
11939
|
* console.log(new Monster.Text.Formatter())
|
11940
11940
|
* </script>
|
11941
11941
|
* ```
|
@@ -11944,7 +11944,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11944
11944
|
*
|
11945
11945
|
* ```
|
11946
11946
|
* <script type="module">
|
11947
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
11947
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/text/formatter.js';
|
11948
11948
|
* console.log(new Formatter())
|
11949
11949
|
* </script>
|
11950
11950
|
* ```
|
@@ -12127,7 +12127,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12127
12127
|
*
|
12128
12128
|
* ```
|
12129
12129
|
* <script type="module">
|
12130
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12130
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler.js';
|
12131
12131
|
* console.log(new Monster.Logging.Handler())
|
12132
12132
|
* </script>
|
12133
12133
|
* ```
|
@@ -12136,7 +12136,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12136
12136
|
*
|
12137
12137
|
* ```
|
12138
12138
|
* <script type="module">
|
12139
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12139
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler.js';
|
12140
12140
|
* console.log(new Handler())
|
12141
12141
|
* </script>
|
12142
12142
|
* ```
|
@@ -12374,7 +12374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12374
12374
|
*
|
12375
12375
|
* ```
|
12376
12376
|
* <script type="module">
|
12377
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logentry.js';
|
12378
12378
|
* console.log(new Monster.Logging.LogEntry())
|
12379
12379
|
* </script>
|
12380
12380
|
* ```
|
@@ -12383,7 +12383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12383
12383
|
*
|
12384
12384
|
* ```
|
12385
12385
|
* <script type="module">
|
12386
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12386
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logentry.js';
|
12387
12387
|
* console.log(new LogEntry())
|
12388
12388
|
* </script>
|
12389
12389
|
* ```
|
@@ -12569,7 +12569,7 @@ var OFF = 0;
|
|
12569
12569
|
*
|
12570
12570
|
* ```
|
12571
12571
|
* <script type="module">
|
12572
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12572
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logger.js';
|
12573
12573
|
* console.log(new Monster.Logging.Logger())
|
12574
12574
|
* </script>
|
12575
12575
|
* ```
|
@@ -12578,7 +12578,7 @@ var OFF = 0;
|
|
12578
12578
|
*
|
12579
12579
|
* ```
|
12580
12580
|
* <script type="module">
|
12581
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12581
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/logger.js';
|
12582
12582
|
* console.log(new Logger())
|
12583
12583
|
* </script>
|
12584
12584
|
* ```
|
@@ -12878,7 +12878,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12878
12878
|
*
|
12879
12879
|
* ```
|
12880
12880
|
* <script type="module">
|
12881
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12881
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler/console.js';
|
12882
12882
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
12883
12883
|
* </script>
|
12884
12884
|
* ```
|
@@ -12887,7 +12887,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12887
12887
|
*
|
12888
12888
|
* ```
|
12889
12889
|
* <script type="module">
|
12890
|
-
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12890
|
+
* import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/logging/handler/console.js';
|
12891
12891
|
* console.log(new ConsoleHandler())
|
12892
12892
|
* </script>
|
12893
12893
|
* ```
|
@@ -12963,7 +12963,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
12963
12963
|
*
|
12964
12964
|
* ```
|
12965
12965
|
* <script type="module">
|
12966
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12966
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/math/random.js';
|
12967
12967
|
* console.log(Monster.Math.random(1,10)) // ↦ 5
|
12968
12968
|
* </script>
|
12969
12969
|
* ```
|
@@ -12972,7 +12972,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
12972
12972
|
*
|
12973
12973
|
* ```
|
12974
12974
|
* <script type="module">
|
12975
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
12975
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/math/random.js';
|
12976
12976
|
* console.log(random(1,10)) // ↦ 5
|
12977
12977
|
* </script>
|
12978
12978
|
* ```
|
@@ -13124,7 +13124,7 @@ var internalCounter = 0;
|
|
13124
13124
|
*
|
13125
13125
|
* ```
|
13126
13126
|
* <script type="module">
|
13127
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13127
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/randomid.js';
|
13128
13128
|
* console.log(new Monster.Types.RandomID())
|
13129
13129
|
* </script>
|
13130
13130
|
* ```
|
@@ -13133,7 +13133,7 @@ var internalCounter = 0;
|
|
13133
13133
|
*
|
13134
13134
|
* ```
|
13135
13135
|
* <script type="module">
|
13136
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13136
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/randomid.js';
|
13137
13137
|
* console.log(new RandomID())
|
13138
13138
|
* </script>
|
13139
13139
|
* ```
|
@@ -13216,7 +13216,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13216
13216
|
*
|
13217
13217
|
* ```
|
13218
13218
|
* <script type="module">
|
13219
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13219
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13220
13220
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
13221
13221
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
13222
13222
|
* </script>
|
@@ -13226,7 +13226,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13226
13226
|
*
|
13227
13227
|
* ```
|
13228
13228
|
* <script type="module">
|
13229
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13229
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13230
13230
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
13231
13231
|
* console.log(new Version('1')) // ↦ 1.0.0
|
13232
13232
|
* </script>
|
@@ -13234,7 +13234,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13234
13234
|
*
|
13235
13235
|
* @example
|
13236
13236
|
*
|
13237
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13237
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13238
13238
|
*
|
13239
13239
|
* new Version('1.0.0') // ↦ 1.0.0
|
13240
13240
|
* new Version(1) // ↦ 1.0.0
|
@@ -13368,7 +13368,7 @@ var monsterVersion;
|
|
13368
13368
|
*
|
13369
13369
|
* ```
|
13370
13370
|
* <script type="module">
|
13371
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13371
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13372
13372
|
* console.log(Monster.getVersion())
|
13373
13373
|
* </script>
|
13374
13374
|
* ```
|
@@ -13377,7 +13377,7 @@ var monsterVersion;
|
|
13377
13377
|
*
|
13378
13378
|
* ```
|
13379
13379
|
* <script type="module">
|
13380
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13380
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/types/version.js';
|
13381
13381
|
* console.log(getVersion())
|
13382
13382
|
* </script>
|
13383
13383
|
* ```
|
@@ -13396,7 +13396,7 @@ function getVersion() {
|
|
13396
13396
|
/**#@+ dont touch, replaced by make with package.json version */
|
13397
13397
|
|
13398
13398
|
|
13399
|
-
monsterVersion = new Version('1.21.
|
13399
|
+
monsterVersion = new Version('1.21.1');
|
13400
13400
|
/**#@-*/
|
13401
13401
|
|
13402
13402
|
return monsterVersion;
|
@@ -13452,7 +13452,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13452
13452
|
*
|
13453
13453
|
* ```
|
13454
13454
|
* <script type="module">
|
13455
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13455
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/comparator.js';
|
13456
13456
|
* console.log(new Monster.Util.Comparator())
|
13457
13457
|
* </script>
|
13458
13458
|
* ```
|
@@ -13461,7 +13461,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13461
13461
|
*
|
13462
13462
|
* ```
|
13463
13463
|
* <script type="module">
|
13464
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13464
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/comparator.js';
|
13465
13465
|
* console.log(new Comparator())
|
13466
13466
|
* </script>
|
13467
13467
|
* ```
|
@@ -13486,7 +13486,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
13486
13486
|
*
|
13487
13487
|
* @example
|
13488
13488
|
*
|
13489
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13489
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/comparator.js';
|
13490
13490
|
*
|
13491
13491
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
13492
13492
|
* // ↦ true
|
@@ -13699,7 +13699,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
13699
13699
|
*
|
13700
13700
|
* ```
|
13701
13701
|
* <script type="module">
|
13702
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13702
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/freeze.js';
|
13703
13703
|
* console.log(Monster.Util.deepFreeze({}))
|
13704
13704
|
* </script>
|
13705
13705
|
* ```
|
@@ -13708,7 +13708,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
13708
13708
|
*
|
13709
13709
|
* ```
|
13710
13710
|
* <script type="module">
|
13711
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.
|
13711
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.21.1/dist/modules/util/freeze.js';
|
13712
13712
|
* console.log(deepFreeze({}))
|
13713
13713
|
* </script>
|
13714
13714
|
* ```
|